:root {
    color-scheme: dark;
    --background: #090b0d;
    --surface: #111519;
    --border: rgba(255, 255, 255, 0.1);
    --text: #f5f6f7;
    --muted: #b7bec5;
    --accent: #f3aa33;
    --accent-soft: rgba(243, 170, 51, 0.12);
    --max-width: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6.5rem; }
body {
    margin: 0;
    background:
        radial-gradient(circle at 15% 0%, rgba(243, 170, 51, 0.09), transparent 30rem),
        var(--background);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1.75;
}
a { color: var(--accent); text-underline-offset: 0.2em; }
a:hover { color: #ffd188; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 2px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--border);
    background: rgba(9, 11, 13, 0.92);
    backdrop-filter: blur(16px);
}
.nav-shell {
    width: min(calc(100% - 2rem), var(--max-width));
    min-height: 4.75rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--text); text-decoration: none; font-weight: 750; }
.brand img { width: 2.65rem; height: 2.65rem; object-fit: contain; }
.brand span { color: var(--accent); letter-spacing: 0.01em; }
.site-nav { display: flex; align-items: center; gap: 0.3rem; flex-wrap: wrap; justify-content: flex-end; }
.site-nav a { padding: 0.55rem 0.8rem; border-radius: 0.55rem; color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 650; }
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--text); background: var(--accent-soft); }
.language-switch { display: inline-flex; align-items: center; gap: 0.15rem; margin-left: 0.35rem; padding: 0.2rem; border: 1px solid var(--border); border-radius: 0.65rem; background: rgba(255, 255, 255, 0.03); }
.language-switch a,
.language-switch span { min-width: 2.25rem; padding: 0.3rem 0.45rem; border-radius: 0.4rem; text-align: center; font-size: 0.78rem; font-weight: 800; line-height: 1.2; text-decoration: none; }
.language-switch a { color: var(--muted); }
.language-switch a:hover { color: var(--text); background: var(--accent-soft); }
.language-switch span { color: #17100a; background: var(--accent); }

.hero { width: min(calc(100% - 2rem), var(--max-width)); margin: 0 auto; padding: clamp(3.5rem, 8vw, 6.5rem) 0 3rem; }
.eyebrow { margin: 0 0 0.75rem; color: var(--accent); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
h1 { max-width: 850px; margin: 0; font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1.03; letter-spacing: -0.045em; }
.hero-copy { max-width: 720px; margin: 1.35rem 0 0; color: var(--muted); font-size: clamp(1rem, 2vw, 1.18rem); }
.updated { display: inline-flex; margin-top: 1.5rem; padding: 0.45rem 0.75rem; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: 0.85rem; }

.privacy-layout { width: min(calc(100% - 2rem), var(--max-width)); margin: 0 auto 5rem; display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.toc { position: sticky; top: 6.25rem; max-height: calc(100vh - 7.5rem); overflow-y: auto; padding: 1.25rem; border: 1px solid var(--border); border-radius: 1rem; background: rgba(17, 21, 25, 0.86); }
.toc h2 { margin: 0 0 0.8rem; font-size: 0.78rem; color: var(--muted); letter-spacing: 0.11em; text-transform: uppercase; }
.toc ol { margin: 0; padding: 0; list-style: none; }
.toc a { display: block; padding: 0.38rem 0.5rem; border-radius: 0.4rem; color: var(--muted); text-decoration: none; font-size: 0.84rem; line-height: 1.35; }
.toc a:hover { color: var(--text); background: var(--accent-soft); }

.privacy-content { min-width: 0; }
.privacy-section { margin-bottom: 1rem; padding: clamp(1.4rem, 4vw, 2.5rem); border: 1px solid var(--border); border-radius: 1rem; background: linear-gradient(145deg, rgba(23, 28, 33, 0.96), rgba(14, 17, 20, 0.96)); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18); }
.privacy-section h2 { margin: 0 0 1.4rem; color: var(--text); font-size: clamp(1.35rem, 3vw, 1.8rem); line-height: 1.25; letter-spacing: -0.02em; }
.privacy-section h3 { margin: 1.8rem 0 0.65rem; color: var(--accent); font-size: 1.05rem; }
.privacy-section p { margin: 0 0 1rem; color: var(--muted); }
.privacy-section p:last-child { margin-bottom: 0; }
.privacy-section strong { color: var(--text); }
.privacy-section ul { margin: 0.25rem 0 1.25rem; padding-left: 1.25rem; color: var(--muted); }
.privacy-section li { margin: 0.3rem 0; padding-left: 0.25rem; }
.contact-card { padding: 1rem 1.2rem; border-left: 3px solid var(--accent); border-radius: 0 0.65rem 0.65rem 0; background: var(--accent-soft); }
.contact-card address { margin: 0; color: var(--muted); font-style: normal; }
.rights-notice { padding: 1.15rem; border: 1px solid rgba(243, 170, 51, 0.35); border-radius: 0.75rem; background: var(--accent-soft); }
.rights-notice p { color: #e8e1d5; font-size: 0.93rem; font-weight: 650; }
.source-note { margin-top: 2.5rem; padding: 1.25rem 0; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: 0.78rem; }
.source-note img { display: block; max-width: min(240px, 100%); height: auto; }

footer { border-top: 1px solid var(--border); background: #07090a; }
.footer-shell { width: min(calc(100% - 2rem), var(--max-width)); margin: 0 auto; padding: 2rem 0; display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: 0.88rem; }
.footer-links { display: flex; gap: 1rem; flex-wrap: wrap; }

@media (max-width: 850px) {
    .nav-shell { padding: 0.7rem 0; align-items: flex-start; flex-direction: column; }
    .site-nav { width: 100%; justify-content: flex-start; overflow-x: visible; flex-wrap: wrap; padding-bottom: 0.2rem; }
    .site-nav > a, .language-switch { flex: 0 0 auto; }
    .site-nav a { white-space: nowrap; }
    .privacy-layout { grid-template-columns: 1fr; }
    .toc { position: static; max-height: none; }
    .toc ol { columns: 2; }
}
@media (max-width: 560px) {
    h1 { font-size: 2rem; }
    .site-nav { display: grid; grid-template-columns: repeat(3, max-content); }
    .toc ol { columns: 1; }
    .source-note, .footer-shell { align-items: flex-start; flex-direction: column; }
}
@media print {
    :root { color-scheme: light; }
    body { background: #fff; color: #111; font-size: 10pt; }
    .site-header, .toc, footer { display: none; }
    .hero { padding: 0 0 1.5rem; }
    .hero-copy, .updated, .privacy-section p, .privacy-section ul, .contact-card address { color: #333; }
    .privacy-layout { display: block; width: 100%; margin: 0; }
    .privacy-section { break-inside: avoid; box-shadow: none; border: 0; border-top: 1px solid #bbb; border-radius: 0; padding: 1.2rem 0; background: none; }
    .privacy-section h2, .privacy-section strong { color: #111; }
    a { color: #111; }
}
