:root {
    color-scheme: light;
    --background: #ffffff;
    --surface: #ffffff;
    --surface-strong: #ffffff;
    --text: #111111;
    --text-secondary: #333333;
    --accent: #0066cc;
    --accent-strong: #0055b3;
    --border: rgba(0, 0, 0, 0.12);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
    line-height: 1.68;
    color: var(--text);
    background: var(--background);
    text-rendering: optimizeLegibility;
}

a {
    color: var(--accent);
}

a:visited {
    color: var(--accent);
}

a:hover {
    color: var(--accent-strong);
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(0, 102, 204, 0.34);
    outline-offset: 3px;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 100;
    padding: 10px 14px;
    border-radius: 12px;
    color: #ffffff;
    background: var(--accent-strong);
    transform: translateY(-150%);
    transition: transform 160ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.site-nav {
    width: min(100% - 32px, 1040px);
    min-height: 66px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    color: var(--text);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.025em;
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: var(--accent-strong);
    background: rgba(0, 102, 204, 0.09);
}

.page-shell {
    width: min(100% - 32px, 920px);
    margin: 0 auto;
    padding: 68px 0 54px;
}

.legal-hero {
    padding: 0 6px 34px;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--accent-strong);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-size: clamp(38px, 7vw, 62px);
    line-height: 1.04;
    letter-spacing: -0.052em;
}

.updated {
    margin: 15px 0 0;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 600;
}

.legal-document {
    padding: clamp(24px, 5vw, 54px);
    border: 1px solid var(--border);
    border-radius: 30px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.legal-section + .legal-section {
    margin-top: 38px;
    padding-top: 38px;
    border-top: 1px solid var(--border);
}

h2 {
    margin: 0 0 15px;
    font-size: clamp(20px, 3vw, 25px);
    line-height: 1.25;
    letter-spacing: -0.025em;
}

p {
    margin: 12px 0;
}

ul {
    margin: 14px 0;
    padding-left: 1.25rem;
}

li + li {
    margin-top: 7px;
}

.contact-block {
    font-style: normal;
}

.site-footer {
    padding: 32px 6px 0;
    color: var(--text-secondary);
    font-size: 14px;
    text-align: center;
}

.site-footer nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 9px;
}

.home-shell {
    min-height: calc(100vh - 67px);
    display: grid;
    place-items: center;
    padding: 56px 16px;
}

.home-card {
    width: min(100%, 720px);
    padding: clamp(30px, 7vw, 66px);
    border: 1px solid var(--border);
    border-radius: 34px;
    background: var(--surface);
    box-shadow: var(--shadow);
    text-align: center;
}

.home-card h1 {
    font-size: clamp(46px, 10vw, 76px);
}

.home-card > p {
    max-width: 560px;
    margin: 18px auto 32px;
    color: var(--text-secondary);
    font-size: 18px;
}

.document-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.document-link {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--accent);
    background: var(--surface-strong);
    font-size: 17px;
    font-weight: 750;
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.document-link:hover {
    border-color: rgba(0, 102, 204, 0.42);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

@media (max-width: 620px) {
    .site-nav {
        min-height: 60px;
    }

    .nav-links a {
        padding: 7px 9px;
        font-size: 13px;
    }

    .page-shell {
        padding-top: 46px;
    }

    .legal-document {
        border-radius: 24px;
    }

    .document-links {
        grid-template-columns: 1fr;
    }
}

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

    body {
        color: #000000;
        background: #ffffff;
    }

    .site-header,
    .site-footer,
    .skip-link {
        display: none;
    }

    .page-shell {
        width: 100%;
        padding: 0;
    }

    .legal-document {
        padding: 0;
        border: 0;
        box-shadow: none;
    }

    .legal-section {
        break-inside: avoid;
    }
}
