
:root {
    color-scheme: dark;
    --ink: #2E2418;
    --brown: #3b2b1c;
    --brown-soft: #4a3523;
    --gold: #D4B884;
    --gold-light: #ead7ad;
    --cream: #F6F1E5;
    --paper: #FBF8F0;
    --paper-deep: #f1eadb;
    --text: #382b1e;
    --muted: #827463;
    --line: rgba(74, 53, 35, .15);
    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "Manrope", Arial, sans-serif;
    --page-width: 1320px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
    min-width: 320px;
    margin: 0;
    color: var(--cream);
    background:
        radial-gradient(ellipse at 12% 4%, rgba(212,184,132,.12), transparent 33%),
        radial-gradient(ellipse at 90% 48%, rgba(107,126,78,.09), transparent 35%),
        linear-gradient(135deg, #241a12 0%, var(--ink) 48%, #352619 100%);
    font-family: var(--sans);
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.legal-progress {
    position: fixed;
    z-index: 100;
    inset: 0 auto auto 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #a9864b, var(--gold-light));
    box-shadow: 0 0 14px rgba(212,184,132,.65);
}
.dc-layer {
    position: fixed;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    color: var(--gold);
}
.dc {
    position: absolute;
    display: block;
    pointer-events: none;
    filter: drop-shadow(0 8px 22px rgba(212,184,132,.1));
}
.dc svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
    animation: dc-float 7s ease-in-out infinite;
    transform-origin: center;
}
.dc--2 svg { animation-name: dc-float-2; animation-duration: 8.4s; }
.dc--3 svg { animation-duration: 9.2s; }
.dc--4 svg { animation-name: dc-float-2; animation-duration: 7.8s; }
.dc--5 svg { animation-duration: 10s; }
.dc--6 svg { animation-name: dc-float-2; animation-duration: 8.8s; }
@keyframes dc-float {
    0%,100% { transform: translate3d(0,0,0) rotate(-2deg); }
    50% { transform: translate3d(0,-15px,0) rotate(2deg); }
}
@keyframes dc-float-2 {
    0%,100% { transform: translate3d(0,-4px,0) rotate(2deg); }
    50% { transform: translate3d(0,13px,0) rotate(-3deg); }
}
.legal-header, .legal-main, .legal-footer { position: relative; z-index: 1; }
.legal-header {
    border-bottom: 1px solid rgba(212,184,132,.14);
    background: rgba(32,23,15,.34);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.legal-header__inner {
    width: min(calc(100% - 52px), var(--page-width));
    min-height: 82px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.legal-brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.legal-brand__mark {
    width: 42px; height: 42px;
    display: grid; place-items: center;
    color: var(--gold);
    border: 1px solid rgba(212,184,132,.42);
    border-radius: 12px;
    background: rgba(212,184,132,.07);
}
.legal-brand__mark svg { width: 28px; height: 28px; }
.legal-brand__name {
    color: var(--cream);
    font: 600 28px/1 var(--serif);
    letter-spacing: -.035em;
}
.legal-brand__name span { color: var(--gold); }
.legal-nav { display: flex; align-items: center; gap: clamp(12px,2vw,28px); }
.legal-nav a {
    position: relative;
    padding: 10px 0;
    color: rgba(246,241,229,.66);
    font-size: 11px;
    font-weight: 700;
    transition: color .2s ease;
}
.legal-nav a:hover, .legal-nav a[aria-current="page"] { color: var(--gold-light); }
.legal-nav a[aria-current="page"]::after {
    content: "";
    position: absolute;
    right: 0; bottom: 3px; left: 0;
    height: 1px;
    background: var(--gold);
}
.legal-main {
    width: min(calc(100% - 52px), var(--page-width));
    margin: 0 auto;
    padding: 62px 0 64px;
}
.legal-hero { max-width: 960px; margin: 0 auto 40px; }
.legal-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: var(--gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .2em;
}
.legal-kicker__line {
    width: 34px;
    height: 1px;
    background: var(--gold);
    box-shadow: 0 0 10px rgba(212,184,132,.55);
}
.legal-hero__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}
.legal-hero__copy { min-width: 0; }
.legal-hero h1 {
    max-width: 920px;
    margin: 0;
    color: var(--cream);
    font: 600 clamp(37px,5.2vw,66px)/.98 var(--serif);
    letter-spacing: -.025em;
    text-wrap: balance;
}
.legal-hero__subtitle {
    max-width: 760px;
    margin: 13px 0 0;
    color: rgba(246,241,229,.67);
    font: 500 clamp(16px,2vw,22px)/1.2 var(--serif);
    letter-spacing: .015em;
}
.legal-seal {
    position: relative;
    display: grid;
    flex: 0 0 112px;
    width: 112px;
    height: 112px;
    place-items: center;
    color: rgba(212,184,132,.8);
}
.legal-seal svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.legal-seal span {
    position: relative;
    color: var(--gold);
    text-align: center;
    font-size: 8px;
    font-weight: 800;
    line-height: 1.6;
    letter-spacing: .17em;
}
.legal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}
.legal-meta__item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 37px;
    padding: 7px 12px;
    border: 1px solid rgba(212,184,132,.2);
    border-radius: 3px;
    background: rgba(212,184,132,.055);
}
.legal-meta__item span {
    color: rgba(246,241,229,.48);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.legal-meta__item strong { color: var(--gold-light); font-size: 10px; font-weight: 700; }
.legal-layout {
    display: grid;
    grid-template-columns: 230px minmax(0,1fr);
    align-items: start;
    gap: 24px;
}
.legal-toc {
    position: sticky;
    top: 24px;
    padding: 22px 18px 18px;
    border: 1px solid rgba(212,184,132,.2);
    border-radius: 4px;
    background: rgba(246,241,229,.055);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}
.legal-toc__eyebrow {
    margin-bottom: 8px;
    color: var(--gold);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .17em;
    text-transform: uppercase;
}
.legal-toc > strong {
    display: block;
    margin-bottom: 13px;
    color: var(--cream);
    font: 600 23px/1 var(--serif);
}
.legal-toc nav { display: grid; gap: 3px; max-height: min(62vh,650px); overflow-y: auto; }
.legal-toc a {
    display: block;
    padding: 7px 8px;
    border-left: 2px solid transparent;
    color: rgba(246,241,229,.58);
    font-size: 10px;
    line-height: 1.4;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.legal-toc a:hover, .legal-toc a.is-active {
    border-left-color: var(--gold);
    color: var(--gold-light);
    background: rgba(212,184,132,.075);
}
.legal-paper {
    min-width: 0;
    padding: clamp(27px,4.2vw,58px) clamp(23px,5vw,72px) 30px;
    border: 1px solid rgba(212,184,132,.22);
    border-radius: 4px;
    color: var(--text);
    background:
        radial-gradient(circle at 0 0, rgba(212,184,132,.09), transparent 25%),
        linear-gradient(135deg, rgba(255,255,255,.36), transparent 30%),
        var(--paper);
    box-shadow: 0 28px 90px rgba(0,0,0,.28), 0 3px 10px rgba(0,0,0,.08);
}
.legal-paper__topline, .legal-paper__bottomline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #9b896f;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .17em;
}
.legal-paper__topline { padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.legal-paper__bottomline { margin-top: 42px; padding-top: 17px; border-top: 1px solid var(--line); }
.legal-content { padding-top: 18px; }
.legal-content h2 {
    position: relative;
    margin: 38px 0 17px;
    padding: 17px 0 0 18px;
    border-top: 1px solid rgba(155,121,63,.25);
    color: #493723;
    font: 700 clamp(22px,2.4vw,29px)/1.05 var(--serif);
    letter-spacing: -.01em;
    scroll-margin-top: 25px;
}
.legal-content h2:first-child { margin-top: 8px; }
.legal-content h2::before {
    content: "";
    position: absolute;
    top: 19px; left: 0;
    width: 3px; height: 20px;
    background: linear-gradient(var(--gold), #9b793f);
}
.legal-content h3 {
    margin: 24px 0 10px;
    color: #604a30;
    font: 700 19px/1.2 var(--serif);
    scroll-margin-top: 25px;
}
.legal-content h4 {
    margin: 18px 0 8px;
    color: #725a3d;
    font: 800 12px/1.4 var(--sans);
}
.legal-content p {
    margin: 0 0 13px;
    color: #514638;
    font-size: 13px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}
.legal-content ul {
    display: grid;
    gap: 8px;
    margin: 2px 0 18px;
    padding: 0 0 0 19px;
}
.legal-content li {
    padding-left: 4px;
    color: #514638;
    font-size: 13px;
    line-height: 1.8;
}
.legal-content li::marker { color: #a88750; }
.legal-content .legal-definition { padding-left: 14px; border-left: 2px solid rgba(168,135,80,.3); }
.legal-content .legal-definition strong { color: #6a512f; }
.legal-bottom-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    margin: 38px 0 0;
    padding: 22px 25px;
    border: 1px solid rgba(212,184,132,.18);
    background: rgba(246,241,229,.045);
}
.legal-bottom-nav > div:first-child { display: grid; gap: 4px; }
.legal-bottom-nav__eyebrow {
    color: var(--gold);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .16em;
}
.legal-bottom-nav strong { color: var(--cream); font: 600 22px/1.1 var(--serif); }
.legal-bottom-nav__links { display: flex; flex-wrap: wrap; gap: 8px; }
.legal-bottom-nav__links a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border: 1px solid rgba(212,184,132,.2);
    color: rgba(246,241,229,.7);
    font-size: 9px;
    font-weight: 700;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.legal-bottom-nav__links a:hover { color: var(--gold-light); border-color: var(--gold); background: rgba(212,184,132,.07); }
.legal-bottom-nav__links a span { color: var(--gold); font-size: 13px; }
.legal-footer {
    width: min(calc(100% - 52px), var(--page-width));
    min-height: 78px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-top: 1px solid rgba(212,184,132,.14);
    color: rgba(246,241,229,.43);
    font-size: 10px;
}
.legal-footer a { transition: color .2s ease; }
.legal-footer a:hover { color: var(--gold-light); }
@media (max-width: 980px) {
    .legal-layout { grid-template-columns: 190px minmax(0,1fr); gap: 16px; }
    .legal-toc { padding: 18px 13px; }
    .legal-bottom-nav { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 700px) {
    .legal-header__inner { width: min(calc(100% - 32px), var(--page-width)); min-height: 70px; }
    .legal-brand__mark { width: 36px; height: 36px; }
    .legal-brand__name { font-size: 25px; }
    .legal-nav { gap: 12px; }
    .legal-nav a { font-size: 9px; }
    .legal-main { width: min(calc(100% - 30px), var(--page-width)); padding-top: 43px; }
    .legal-hero { margin-bottom: 25px; }
    .legal-seal { flex-basis: 78px; width: 78px; height: 78px; }
    .legal-hero__row { gap: 15px; }
    .legal-layout { display: flex; flex-direction: column; gap: 14px; }
    .legal-toc { position: static; width: 100%; }
    .legal-toc nav {
        display: flex;
        flex-direction: row;
        gap: 6px;
        max-height: none;
        overflow-x: auto;
        padding-bottom: 3px;
    }
    .legal-toc a { flex: 0 0 180px; border-left: 0; border-bottom: 2px solid transparent; }
    .legal-toc a:hover, .legal-toc a.is-active { border-left: 0; border-bottom-color: var(--gold); }
    .legal-paper { width: 100%; padding: 25px 21px 23px; }
    .legal-content p, .legal-content li { font-size: 12px; line-height: 1.85; }
    .legal-content h2 { margin-top: 30px; }
    .legal-bottom-nav { padding: 19px; }
    .legal-bottom-nav__links { width: 100%; }
    .legal-bottom-nav__links a { flex: 1 1 100%; justify-content: space-between; }
    .legal-footer { width: min(calc(100% - 32px), var(--page-width)); flex-wrap: wrap; padding: 19px 0; }
}
@media (max-width: 460px) {
    .legal-header__inner { align-items: flex-start; flex-direction: column; padding: 13px 0 10px; gap: 7px; }
    .legal-nav { width: 100%; justify-content: space-between; }
    .legal-hero__row { align-items: flex-start; }
    .legal-seal { flex-basis: 62px; width: 62px; height: 62px; margin-top: 5px; }
    .legal-seal span { font-size: 6px; }
    .legal-hero h1 { font-size: clamp(32px,9vw,43px); }
    .legal-hero__subtitle { font-size: 16px; }
    .legal-meta { gap: 7px; }
    .legal-meta__item { align-items: flex-start; flex-direction: column; gap: 0; }
    .legal-paper { padding-inline: 17px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media print {
    :root { color-scheme: light; }
    body { color: #111; background: white !important; }
    .dc-layer, .legal-header, .legal-toc, .legal-bottom-nav, .legal-footer, .legal-progress { display: none !important; }
    .legal-main { width: 100%; padding: 0; }
    .legal-hero { margin: 0 0 24px; }
    .legal-hero h1, .legal-hero__subtitle { color: #111; }
    .legal-meta__item { border-color: #ddd; color: #111; }
    .legal-paper { padding: 0; border: 0; box-shadow: none; background: white; }
    .legal-content p, .legal-content li { color: #111; font-size: 10pt; }
    .legal-content h2, .legal-content h3, .legal-content h4 { color: #111; break-after: avoid; }
}
