:root {
    --primary: #f15a24;
    --primary-dark: #c1401a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    color: #222;
    background: #fff;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
}

a { transition: color 0.2s ease, background-color 0.2s ease; }

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(17,17,17,0.95);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(226,232,240,0.12);
}

.header-container {
    max-width: 1400px;
    height: 88px;
    margin: auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo-header { display: block; width: auto; height: 72px; }
.header-container > a picture { display: block; }
nav { display: flex; align-items: center; gap: 28px; }

nav a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

nav a:hover { color: #fff; }

.header-button {
    padding: 12px 18px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff !important;
    text-transform: none;
}

.header-button:hover { background: var(--primary-dark); }

.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 23px;
    height: 2px;
    margin: 5px auto;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu-toggle:hover { color: var(--primary); }
.mobile-menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }

.legal-content {
    flex: 1;
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 60px 30px 80px;
    overflow-wrap: anywhere;
}

h1 {
    margin: 0 0 28px;
    color: var(--primary);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
}

.legal-kicker {
    margin: 0 0 6px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.legal-copy {
    margin: 0;
    color: #333;
    font: inherit;
    font-size: 16px;
    line-height: 1.75;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.legal-section-title {
    margin: 1.8em 0 0.45em;
    color: #222;
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.4;
}

.legal-paragraph { margin: 0 0 1.1em; }

.legal-list {
    margin: 0 0 1.2em;
    padding-left: 1.4em;
}

.legal-list li { padding-left: 0.2em; }

footer {
    padding: 14px 20px;
    background: #111;
    color: rgba(255,255,255,0.78);
    font-size: 13px;
    text-align: center;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 9px;
}

footer a { color: rgba(255,255,255,0.9); text-decoration: none; }
footer a:hover { color: var(--primary); }

@media (max-width: 1000px) {
    .header-container { position: relative; }
    .header-container > nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 20px 18px;
        background: #111;
        border-top: 1px solid rgba(255,255,255,0.1);
        box-shadow: 0 16px 24px rgba(0,0,0,0.2);
    }
    .header-container > nav.is-open { display: flex; }
    .header-container > nav a { display: block; padding: 13px 10px; }
    .header-container > nav .header-button { margin-top: 8px; text-align: center; }
    .mobile-menu-toggle { display: block; }
}

@media (max-width: 600px) {
    .header-container { height: 72px; padding: 0 20px; }
    .site-logo-header { height: 60px; }
    .legal-content { padding: 40px 20px 60px; }
    .legal-copy { font-size: 15px; }
        .legal-section-title { margin-top: 1.5em; }
}