:root {
    --bg: #13051d;
    --panel: #24112f;
    --panel-soft: #2d1839;
    --text: #fffaf0;
    --muted: #d6cadb;
    --gold: #ffe47c;
    --line: rgba(255, 228, 124, .24);
    --shadow: 0 24px 70px rgba(0,0,0,.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 82% 5%, rgba(255, 228, 124, .08), transparent 28rem),
        linear-gradient(180deg, #12031c, var(--bg));
    font-family: "Montserrat", Arial, sans-serif;
    line-height: 1.72;
}

a { color: var(--gold); }
a:hover { text-decoration-thickness: 2px; }

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 20;
    padding: 10px 14px;
    color: #16061f;
    background: var(--gold);
    border-radius: 10px;
    transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.legal-header {
    position: sticky;
    top: 0;
    z-index: 10;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px clamp(18px, 4vw, 64px);
    border-bottom: 1px solid var(--line);
    background: rgba(18, 3, 28, .9);
    backdrop-filter: blur(14px);
}

.legal-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 1.16rem;
    font-weight: 800;
}
.legal-brand strong { color: var(--gold); }
.legal-brand__mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255,228,124,.42);
    border-radius: 50%;
}
.legal-brand__mark img { width: 88%; height: auto; display: block; }
.legal-back {
    display: inline-flex;
    padding: 10px 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    text-decoration: none;
    font-size: .88rem;
    font-weight: 700;
}

.legal-shell {
    width: min(1240px, calc(100% - 32px));
    display: grid;
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    gap: clamp(24px, 5vw, 60px);
    margin: 42px auto 80px;
    align-items: start;
}

.legal-summary {
    position: sticky;
    top: 104px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
    box-shadow: var(--shadow);
}
.legal-summary h2 { margin: 0 0 8px; font-size: 1.45rem; line-height: 1.15; }
.legal-summary p { margin: 0 0 18px; color: var(--muted); font-size: .9rem; }
.legal-kicker { color: var(--gold) !important; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; font-size: .72rem !important; }
.legal-action, .legal-contact {
    display: flex;
    justify-content: center;
    margin-top: 12px;
    padding: 11px 14px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    font-size: .83rem;
    font-weight: 800;
}
.legal-action { color: #170821; background: var(--gold); }
.legal-contact { border: 1px solid var(--line); }

.legal-content {
    min-width: 0;
    padding: clamp(24px, 5vw, 58px);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 24px;
    background: rgba(255,255,255,.035);
    box-shadow: var(--shadow);
}
.legal-content > section > h1 {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.02;
    letter-spacing: -.035em;
}
.legal-content .level2 {
    padding-top: 20px;
    scroll-margin-top: 100px;
}
.legal-content h2 {
    margin: 40px 0 12px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    color: var(--gold);
    font-size: clamp(1.35rem, 2.5vw, 1.9rem);
    line-height: 1.25;
}
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content strong { color: #fff; }
.legal-content ul, .legal-content ol { padding-left: 1.4rem; }
.legal-content li { margin: 6px 0; }
.legal-content blockquote { margin-inline: 0; padding-left: 18px; border-left: 3px solid var(--gold); }

.legal-footer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 30px;
    padding: 24px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .82rem;
}

@media (max-width: 860px) {
    .legal-shell { grid-template-columns: 1fr; margin-top: 24px; }
    .legal-summary { position: static; }
}

@media (max-width: 560px) {
    .legal-header { min-height: 66px; padding: 10px 14px; }
    .legal-brand { font-size: 1rem; }
    .legal-brand__mark { width: 36px; height: 36px; }
    .legal-back { padding: 8px 11px; font-size: .76rem; }
    .legal-shell { width: min(100% - 20px, 1240px); }
    .legal-content { padding: 22px 17px; border-radius: 18px; }
    .legal-content > section > h1 { font-size: 2rem; }
}
