:root {
    --privacy-black: #050505;
    --privacy-panel: #0d0d0f;
    --privacy-gold: #c9a84c;
    --privacy-gold-soft: rgba(201, 168, 76, 0.2);
    --privacy-red: #8b1a1a;
    --privacy-paper: #eee8db;
    --privacy-ink: #201e1a;
    --privacy-muted: #9d978d;
    --privacy-ink-muted: #625e55;
    --privacy-ui: Arial, Helvetica, sans-serif;
    --privacy-body: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { background: var(--privacy-black); scroll-behavior: smooth; }

body {
    min-width: 320px;
    margin: 0;
    color: #f6f1e8;
    background:
        radial-gradient(circle at 18% 0%, rgba(139, 26, 26, 0.18), transparent 31rem),
        radial-gradient(circle at 88% 14%, rgba(201, 168, 76, 0.09), transparent 28rem),
        var(--privacy-black);
    font: 18px/1.65 var(--privacy-body);
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--privacy-gold); outline-offset: 3px; }

.skip-link {
    position: fixed;
    z-index: 100;
    top: .75rem;
    left: .75rem;
    padding: .7rem 1rem;
    color: var(--privacy-black);
    background: var(--privacy-gold);
    font: 700 .82rem/1 var(--privacy-ui);
    transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    border-bottom: 1px solid var(--privacy-gold-soft);
    background: rgba(5, 5, 5, .92);
    backdrop-filter: blur(18px);
}

.header-inner, .page-shell, .site-footer-inner { width: min(1160px, calc(100% - 2rem)); margin-inline: auto; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; color: #f6f1e8; text-decoration: none; }
.brand img { width: 38px; height: 48px; object-fit: contain; filter: sepia(1) saturate(.8) brightness(1.15); }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font: 800 .95rem/1 var(--privacy-ui); letter-spacing: .14em; }
.brand-copy small { margin-top: .35rem; color: var(--privacy-gold); font: 400 .65rem/1 monospace; letter-spacing: .08em; }
.header-actions, .language-switcher, .hero-actions, .footer-links { display: flex; align-items: center; gap: .55rem; }

.home-link, .language-link, .print-button {
    min-height: 42px;
    border: 1px solid rgba(201, 168, 76, .34);
    color: #f6f1e8;
    background: rgba(255, 255, 255, .025);
    font: 700 .72rem/1 var(--privacy-ui);
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}
.home-link { display: inline-flex; align-items: center; justify-content: center; padding: .75rem 1rem; }
.language-link { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; padding: .75rem .7rem; }
.print-button { padding: .75rem 1rem; }
.home-link:hover, .language-link:hover, .language-link[aria-current="true"], .print-button:hover,
.home-link:focus-visible, .language-link:focus-visible, .print-button:focus-visible {
    border-color: var(--privacy-gold); color: var(--privacy-black); background: var(--privacy-gold); outline: none;
}
.print-button[hidden] { display: none; }

.page-shell { padding-block: clamp(2.5rem, 7vw, 6rem); }
.hero { max-width: 900px; margin: 0 auto clamp(2rem, 5vw, 4rem); text-align: center; }
.eyebrow { margin: 0 0 .9rem; color: var(--privacy-gold); font: 400 .78rem/1.4 monospace; letter-spacing: .18em; text-transform: uppercase; }
.hero h1 { margin: 0; font: 700 clamp(2.35rem, 7vw, 5.1rem)/.98 var(--privacy-body); letter-spacing: -.035em; text-wrap: balance; }
.hero-meta { margin: 1.2rem auto 0; color: var(--privacy-muted); font: 600 .82rem/1.6 var(--privacy-ui); letter-spacing: .04em; }
.hero-actions { justify-content: center; margin-top: 1.45rem; }

.document-frame { position: relative; max-width: 960px; margin-inline: auto; }
.document-frame::before { position: absolute; inset: 14px -12px -14px 12px; border: 1px solid var(--privacy-gold-soft); content: ""; pointer-events: none; }
.legal-document { position: relative; z-index: 1; padding: clamp(1.35rem, 5vw, 4.5rem); color: var(--privacy-ink); background: linear-gradient(rgba(92, 79, 57, .035) 1px, transparent 1px), var(--privacy-paper); background-size: 100% 1.75rem; box-shadow: 0 28px 80px rgba(0, 0, 0, .5); }
.legal-document[id], .legal-document section[id] { scroll-margin-top: 6rem; }
html.is-language-ready .legal-document:not(.is-active) { display: none; }
.legal-document h2 { margin: 3.2rem 0 1rem; color: #171510; font: 700 clamp(1.5rem, 3vw, 2.1rem)/1.15 var(--privacy-body); scroll-margin-top: 6rem; }
.legal-document h2:first-of-type { margin-top: 0; }
.legal-document p, .legal-document li, .legal-document dd { max-width: 75ch; }
.legal-document p { margin: 0 0 1.2rem; }
.legal-document ul { margin: 0 0 1.35rem; padding-left: 1.35rem; }
.legal-document li + li { margin-top: .55rem; }
.legal-document a { color: #594109; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.legal-document a:hover { color: #241b06; }
.draft-warning { margin: 0 0 1.4rem; padding: 1rem 1.1rem; border-left: 5px solid var(--privacy-red); color: #3b1111; background: #f1d9d0; font: 700 .95rem/1.5 var(--privacy-ui); }
.privacy-intro { margin: 0 0 2rem !important; font-size: 1.12em; }
.toc { margin: 0 0 2.5rem; padding: 1.2rem 1.35rem; border: 1px solid rgba(32, 30, 26, .18); background: rgba(255, 255, 255, .34); }
.toc h2 { margin: 0 0 .7rem; font: 800 .8rem/1.4 var(--privacy-ui); letter-spacing: .09em; text-transform: uppercase; }
.toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem 1.5rem; margin: 0; padding-left: 1.2rem; }
.toc li { margin: 0; font-size: .95em; }
.privacy-purposes { margin: 0 0 1.3rem; }
.privacy-purposes dt { margin-top: 1.1rem; color: #171510; font: 800 .9rem/1.45 var(--privacy-ui); }
.privacy-purposes dd { margin: .35rem 0 0; }
.pending-note { padding: 1rem 1.1rem; border-left: 4px solid var(--privacy-gold); background: rgba(201, 168, 76, .15); }
.table-wrap { max-width: 100%; margin: 1.35rem 0; overflow-x: auto; border: 1px solid rgba(32, 30, 26, .2); }
.table-wrap:focus-visible { outline: 3px solid var(--privacy-gold); outline-offset: 3px; }
.legal-document table { width: 100%; min-width: 650px; border-collapse: collapse; font-size: .96em; }
.legal-document caption { padding: .8rem .9rem; color: var(--privacy-ink); text-align: left; font: 800 .82rem/1.4 var(--privacy-ui); }
.legal-document th, .legal-document td { padding: .85rem .9rem; border-right: 1px solid rgba(32, 30, 26, .16); border-top: 1px solid rgba(32, 30, 26, .16); text-align: left; vertical-align: top; }
.legal-document thead th { color: var(--privacy-paper); background: #29251f; font: 700 .78rem/1.35 var(--privacy-ui); letter-spacing: .035em; }
.legal-document tbody th { font: 700 .83rem/1.35 var(--privacy-ui); }
.legal-document th:last-child, .legal-document td:last-child { border-right: 0; }
code { padding: .08em .26em; border-radius: .15rem; background: rgba(32, 30, 26, .1); font: .9em/1.2 ui-monospace, Consolas, monospace; }

.site-footer { border-top: 1px solid rgba(201, 168, 76, .15); background: #030303; }
.site-footer-inner { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--privacy-muted); font: 600 .75rem/1.5 var(--privacy-ui); }
.site-footer a, .cookie-settings-button { color: var(--privacy-gold); text-underline-offset: .2em; }
.cookie-settings-button { padding: 0; border: 0; background: transparent; font: inherit; cursor: pointer; text-decoration: underline; }

@media (max-width: 720px) {
    .header-inner { min-height: 68px; }
    .brand-copy small, .home-link { display: none; }
    .page-shell { padding-top: 2.25rem; }
    .hero-actions { flex-wrap: wrap; }
    .document-frame::before { inset: 8px -5px -8px 5px; }
    .legal-document { font-size: 1rem; line-height: 1.6; }
    .toc ol { grid-template-columns: 1fr; }
    .site-footer-inner { padding-block: 1.5rem; align-items: flex-start; flex-direction: column; }
    .footer-links { align-items: flex-start; flex-wrap: wrap; }
}

@media print {
    @page { margin: 18mm; }
    html, body { color: #000; background: #fff; font-size: 11pt; }
    .site-header, .hero-actions, .site-footer, .skip-link, #consent-banner, .commerce-overlay { display: none !important; }
    html.is-language-ready .legal-document:not(.is-active) { display: none !important; }
    .page-shell { width: 100%; padding: 0; }
    .hero { margin-bottom: 1.5rem; color: #000; }
    .eyebrow { color: #555; }
    .hero-meta { color: #444; }
    .document-frame::before { display: none; }
    .legal-document { display: block !important; padding: 0; color: #000; background: #fff; box-shadow: none; }
    .legal-document h2 { color: #000; break-after: avoid; }
    .legal-document p, .legal-document li, .legal-document table { break-inside: avoid; }
    .legal-document a { color: #000; text-decoration: none; }
    .draft-warning { border-color: #000; color: #000; background: #fff; }
}
