:root {
    color-scheme: dark;
    --legal-bg: #050505;
    --legal-surface: #0c0c0c;
    --legal-surface-raised: #111111;
    --legal-text: rgba(255, 255, 255, 0.9);
    --legal-muted: rgba(255, 255, 255, 0.56);
    --legal-faint: rgba(255, 255, 255, 0.38);
    --legal-line: rgba(255, 255, 255, 0.11);
    --legal-line-strong: rgba(255, 255, 255, 0.18);
    --legal-accent-start: #38bdf8;
    --legal-accent-end: #8b5cf6;
}

* {
    box-sizing: border-box;
}

html {
    background: var(--legal-bg);
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    padding: clamp(24px, 6vw, 72px) clamp(20px, 5vw, 48px);
    background:
        linear-gradient(90deg, var(--legal-accent-start), var(--legal-accent-end)) top / 100% 3px no-repeat,
        var(--legal-bg);
    color: var(--legal-text);
    font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.72;
    text-rendering: optimizeLegibility;
}

.container {
    width: min(100%, 840px);
    margin: 0 auto;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
}

h1,
h2 {
    color: rgba(255, 255, 255, 0.96);
    font-family: "Space Grotesk", Inter, "Segoe UI", system-ui, sans-serif;
}

h1 {
    max-width: 14ch;
    margin: 0 0 18px;
    background: none;
    font-size: clamp(2.25rem, 7vw, 4.5rem);
    font-weight: 650;
    line-height: 0.98;
    letter-spacing: -0.045em;
    -webkit-text-fill-color: currentColor;
}

.company-info {
    margin: 0;
    padding: 0 0 24px;
    border-bottom: 1px solid var(--legal-line);
    color: var(--legal-muted);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.025em;
}

.last-updated {
    margin: 18px 0 clamp(38px, 7vw, 64px);
    color: var(--legal-faint);
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h2 {
    margin: clamp(42px, 8vw, 68px) 0 18px;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--legal-line);
    font-size: clamp(1.2rem, 3.5vw, 1.45rem);
    font-weight: 650;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

p,
li {
    color: var(--legal-text);
}

p {
    margin: 16px 0;
}

ul {
    margin: 18px 0;
    padding-left: 1.35rem;
}

li {
    margin: 9px 0;
    padding-left: 0.25rem;
}

li::marker {
    color: var(--legal-faint);
}

strong {
    color: rgba(255, 255, 255, 0.98);
    font-weight: 650;
}

a,
.highlight {
    color: rgba(255, 255, 255, 0.9);
}

a {
    text-decoration-color: rgba(255, 255, 255, 0.32);
    text-underline-offset: 4px;
}

a:hover {
    color: #ffffff;
    text-decoration-color: rgba(255, 255, 255, 0.72);
}

a:focus-visible {
    outline: 2px solid var(--legal-accent-start);
    outline-offset: 4px;
    border-radius: 2px;
}

.contact-section,
.important-box,
.highlighted-box {
    margin: 28px 0;
    padding: clamp(20px, 4vw, 28px);
    background: var(--legal-surface);
    border: 1px solid var(--legal-line);
    border-radius: 16px;
}

.contact-section {
    margin-top: clamp(54px, 10vw, 84px);
    border-color: var(--legal-line-strong);
}

.contact-section p,
.important-box p,
.highlighted-box p,
.highlighted-box ul {
    margin-top: 8px;
    margin-bottom: 8px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 22px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: var(--legal-muted);
    font-size: 0.85rem;
    font-weight: 650;
}

.back-link:hover,
.back-link:active {
    background: transparent;
    color: #ffffff;
}

@media (max-width: 640px) {
    body {
        padding: 34px 22px 56px;
    }

    h1 {
        font-size: clamp(2.35rem, 13vw, 3.25rem);
    }

    .company-info {
        font-size: 0.75rem;
        line-height: 1.55;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

@media print {
    :root {
        color-scheme: light;
    }

    body {
        padding: 0;
        background: #ffffff;
        color: #111111;
    }

    h1,
    h2,
    p,
    li,
    strong,
    a,
    .highlight {
        color: #111111;
    }

    .company-info,
    .last-updated {
        color: #555555;
    }

    .contact-section,
    .important-box,
    .highlighted-box {
        background: #f5f5f5;
        border-color: #dddddd;
        break-inside: avoid;
    }
}
