/* ============================================================================
   CashLink — shared marketing / auth / legal stylesheet
   Design language mirrors the storefront (buy.html / success.html):
   dark canvas, violet→fuchsia gradients, glassmorphism, ambient glow,
   Inter (body) + Space Grotesk (display).
   ========================================================================== */

:root {
    --bg:            #0A0A11;
    --bg-soft:       #0C0C15;
    --surface:       rgba(255,255,255,0.045);
    --surface-2:     rgba(255,255,255,0.07);
    --surface-3:     rgba(255,255,255,0.10);
    --border:        rgba(255,255,255,0.10);
    --border-strong: rgba(255,255,255,0.16);
    --text:          #F4F4F8;
    --muted:         #9CA0B0;
    --muted-2:       #6B7080;

    --accent-1:      #8B5CF6;  /* violet */
    --accent-2:      #D946EF;  /* fuchsia */
    --accent-3:      #EC4899;  /* pink (used sparingly) */
    --green:         #34D399;
    --green-bg:      rgba(52,211,153,0.12);
    --danger:        #F87171;

    --grad:          linear-gradient(92deg, #8B5CF6 0%, #D946EF 100%);
    --grad-bright:   linear-gradient(92deg, #A78BFA 0%, #E879F9 50%, #F472B6 100%);
    --grad-soft:     linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.035) 55%);

    --radius-sm:     14px;
    --radius:        22px;
    --radius-lg:     28px;
    --maxw:          1140px;
    --maxw-narrow:   820px;

    --shadow-card:   0 24px 70px rgba(0,0,0,0.45);
    --shadow-lift:   0 32px 90px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.08);
    --nav-h:         66px;

    --z-glow:  -1;
    --z-base:   1;
    --z-nav:   60;
    --z-menu:  70;
    --z-toast: 90;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 18px); }
html, body { overflow-x: hidden; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

::selection { background: rgba(217,70,239,0.32); color: #fff; }

a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
button { font-family: inherit; }

/* ── Ambient glow background ───────────────────────────────────────────── */
.glow {
    position: fixed; inset: 0; z-index: var(--z-glow); pointer-events: none;
    background:
        radial-gradient(620px 460px at 12% -6%,  rgba(139,92,246,0.20), transparent 64%),
        radial-gradient(720px 520px at 94% 8%,   rgba(217,70,239,0.14), transparent 66%),
        radial-gradient(900px 680px at 50% 116%, rgba(99,102,241,0.12), transparent 70%);
}
.grain {
    position: fixed; inset: 0; z-index: var(--z-glow); pointer-events: none; opacity: 0.5;
    background-image: radial-gradient(rgba(255,255,255,0.018) 1px, transparent 1px);
    background-size: 3px 3px;
}

/* ── Layout helpers ────────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.container-narrow { max-width: var(--maxw-narrow); }
.section { padding: 88px 0; position: relative; }
.section-sm { padding: 56px 0; }

/* ── Typography ────────────────────────────────────────────────────────── */
.display, h1.display { font-family: 'Space Grotesk', 'Inter', sans-serif; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
    color: #C4B5FD;
}
.eyebrow.center { justify-content: center; }
.eyebrow::before {
    content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad);
}
.eyebrow.no-bar::before { display: none; }

.section-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(28px, 4.4vw, 44px); font-weight: 700;
    letter-spacing: -1px; line-height: 1.08; margin: 16px 0 14px;
}
.section-sub {
    color: var(--muted); font-size: clamp(15px, 1.6vw, 17.5px); line-height: 1.7;
    max-width: 620px;
}
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head .section-sub { margin: 0 auto; }

.grad-text {
    background: var(--grad-bright);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    height: 46px; padding: 0 20px; border-radius: 13px; border: 1px solid transparent;
    font-weight: 700; font-size: 14.5px; letter-spacing: -0.2px; cursor: pointer;
    white-space: nowrap; transition: transform .16s ease, box-shadow .2s ease,
        background .2s ease, border-color .2s ease, opacity .2s ease;
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn:active:not(:disabled) { transform: translateY(0); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-primary {
    background: #fff; color: #0B0B13;
    box-shadow: 0 10px 30px rgba(255,255,255,0.14), 0 2px 8px rgba(0,0,0,0.4);
}
.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(255,255,255,0.22), 0 2px 8px rgba(0,0,0,0.4);
}
.btn-gradient {
    background: var(--grad); color: #fff;
    box-shadow: 0 12px 34px rgba(139,92,246,0.34);
}
.btn-gradient:hover:not(:disabled) {
    transform: translateY(-2px); box-shadow: 0 18px 46px rgba(168,85,247,0.46);
}
.btn-ghost {
    background: var(--surface-2); color: var(--text); border-color: var(--border-strong);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.btn-ghost:hover:not(:disabled) {
    background: var(--surface-3); border-color: rgba(255,255,255,0.28); transform: translateY(-2px);
}
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; border-radius: 15px; }
.btn-block { width: 100%; }

/* ── Pills / badges / chips ────────────────────────────────────────────── */
.pill {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12.5px; font-weight: 600; color: #D6D8E2;
    background: var(--surface-2); border: 1px solid var(--border);
    padding: 7px 14px; border-radius: 999px;
}
.pill svg { width: 14px; height: 14px; }
.pill-green { color: var(--green); background: var(--green-bg); border-color: rgba(52,211,153,0.28); }

/* ── Glass card primitive ──────────────────────────────────────────────── */
.card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-card);
}

/* ============================================================================
   NAVBAR
   ========================================================================== */
.site-nav {
    position: sticky; top: 0; z-index: var(--z-nav);
    background: rgba(10,10,17,0.72);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: var(--maxw); margin: 0 auto; padding: 0 22px; height: var(--nav-h);
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
    width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
    display: grid; place-items: center; background: var(--grad);
    box-shadow: 0 6px 18px rgba(168,85,247,0.4); color: #fff;
}
.brand-mark svg { width: 19px; height: 19px; }
.brand-name {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 700; font-size: 18px; letter-spacing: -0.4px; color: var(--text);
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
    font-size: 14.5px; font-weight: 500; color: var(--muted);
    padding: 8px 13px; border-radius: 10px;
    transition: color .2s ease, background .2s ease;
}
.nav-link:hover { color: var(--text); background: var(--surface-2); }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-actions .btn { height: 42px; }

.nav-toggle {
    display: none; width: 42px; height: 42px; border-radius: 11px;
    background: var(--surface-2); border: 1px solid var(--border);
    color: var(--text); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* mobile dropdown */
.mobile-menu {
    display: none; position: fixed; inset: var(--nav-h) 0 auto; z-index: var(--z-menu);
    background: rgba(10,10,17,0.96);
    backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
    border-bottom: 1px solid var(--border-strong);
    padding: 14px 22px 22px; flex-direction: column; gap: 4px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.6);
    animation: menuDrop .22s ease;
}
@keyframes menuDrop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mobile-menu.open { display: flex; }
.mobile-menu a.m-link {
    font-size: 16px; font-weight: 500; color: var(--text);
    padding: 14px 12px; border-radius: 12px; border-bottom: 1px solid var(--border);
}
.mobile-menu a.m-link:last-of-type { border-bottom: 0; }
.mobile-menu .m-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.mobile-menu .btn { height: 50px; }

@media (max-width: 860px) {
    .nav-links { display: none; }
    .nav-actions .btn-ghost, .nav-actions .desktop-only { display: none; }
    .nav-toggle { display: inline-flex; }
}

/* ============================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    border-top: 1px solid var(--border);
    background: linear-gradient(180deg, transparent, rgba(139,92,246,0.05));
    padding: 64px 0 32px; margin-top: 40px;
}
.footer-grid {
    display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px 28px;
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-tag { color: var(--muted); font-size: 14px; line-height: 1.7; max-width: 280px; margin-bottom: 18px; }
.footer-socials { display: flex; gap: 10px; }
.social-btn {
    width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
    background: var(--surface-2); border: 1px solid var(--border); color: var(--muted);
    transition: color .2s, background .2s, transform .2s, border-color .2s;
}
.social-btn:hover { color: #fff; background: var(--surface-3); border-color: rgba(255,255,255,0.24); transform: translateY(-2px); }
.social-btn svg { width: 17px; height: 17px; fill: currentColor; }

.footer-col h4 {
    font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--muted-2); margin-bottom: 16px;
}
.footer-col a {
    display: block; font-size: 14px; color: var(--muted); padding: 6px 0;
    transition: color .2s ease;
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
    display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
    margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--border);
    font-size: 13px; color: var(--muted-2);
}
.footer-pay { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.footer-pay .pay-chip {
    height: 26px; padding: 0 6px; border-radius: 6px; background: #fff;
    display: inline-flex; align-items: center; justify-content: center;
}
.footer-pay .pay-chip svg, .footer-pay .pay-chip img { height: 15px; width: auto; }

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================================
   FORMS (login / signup)
   ========================================================================== */
.field { margin-bottom: 16px; }
.field-label {
    display: block; font-size: 11px; font-weight: 700; color: #D6D8E2;
    margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.09em;
}
.input-wrap { position: relative; }
.input-ico {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    color: var(--muted); display: flex; pointer-events: none;
}
.input-ico svg { width: 17px; height: 17px; }
.input {
    width: 100%; height: 52px; padding: 0 14px 0 42px;
    border-radius: var(--radius-sm); border: 1.5px solid var(--border-strong);
    background: rgba(0,0,0,0.30); color: var(--text); font-size: 15px; font-family: inherit;
    transition: border-color .2s, box-shadow .2s, background .2s; appearance: none;
}
.input::placeholder { color: #5C6070; }
.input:focus {
    outline: none; border-color: var(--accent-1); background: rgba(0,0,0,0.42);
    box-shadow: 0 0 0 4px rgba(139,92,246,0.18);
}
.input.has-toggle { padding-right: 46px; }
.input-toggle {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    width: 34px; height: 34px; border-radius: 9px; border: 0; background: transparent;
    color: var(--muted); cursor: pointer; display: grid; place-items: center;
}
.input-toggle:hover { color: var(--text); background: var(--surface-2); }
.input-toggle svg { width: 18px; height: 18px; }
.field-error { color: var(--danger); font-size: 12.5px; margin-top: 7px; display: none; }
.field.invalid .input { border-color: var(--danger); }
.field.invalid .field-error { display: block; }

.checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.checkbox-row input { margin-top: 2px; width: 17px; height: 17px; accent-color: var(--accent-1); cursor: pointer; flex-shrink: 0; }
.checkbox-row a { color: #C4B5FD; font-weight: 600; }
.checkbox-row a:hover { text-decoration: underline; }

.divider-or {
    display: flex; align-items: center; gap: 14px; margin: 22px 0; color: var(--muted-2);
    font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
}
.divider-or::before, .divider-or::after { content: ""; flex: 1; height: 1px; background: var(--border); }

.oauth-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn-oauth {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    height: 50px; border-radius: var(--radius-sm);
    background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--text);
    font-weight: 600; font-size: 14px; cursor: pointer; transition: background .2s, border-color .2s, transform .15s;
}
.btn-oauth:hover { background: var(--surface-3); border-color: rgba(255,255,255,0.26); transform: translateY(-1px); }
.btn-oauth svg { width: 18px; height: 18px; }

/* ── Auth page shell ───────────────────────────────────────────────────── */
.auth-wrap {
    min-height: calc(100vh - var(--nav-h));
    display: flex; align-items: center; justify-content: center; padding: 48px 18px;
}
.auth-card {
    width: 100%; max-width: 460px; padding: 38px 34px 32px;
    background: var(--grad-soft); border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
    box-shadow: var(--shadow-lift); position: relative; overflow: hidden;
}
.auth-card::before {
    content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
    background: radial-gradient(440px 170px at 80% -12%, rgba(217,70,239,0.16), transparent 70%);
}
.auth-head { text-align: center; margin-bottom: 26px; position: relative; }
.auth-head h1 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 26px; font-weight: 700; letter-spacing: -0.6px; margin-bottom: 8px;
}
.auth-head p { color: var(--muted); font-size: 14.5px; }
.auth-foot { text-align: center; margin-top: 22px; font-size: 14px; color: var(--muted); position: relative; }
.auth-foot a { color: #C4B5FD; font-weight: 700; }
.auth-foot a:hover { text-decoration: underline; }
.auth-secure {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    margin-top: 22px; font-size: 11.5px; color: var(--muted-2); position: relative;
}
.auth-secure svg { width: 13px; height: 13px; }

/* success state (verification link sent) */
.auth-success { text-align: center; position: relative; animation: fadeUp .4s ease; }
.auth-success .ico-circle {
    width: 78px; height: 78px; border-radius: 50%; margin: 4px auto 22px;
    display: grid; place-items: center; color: var(--green); background: var(--green-bg);
    box-shadow: 0 0 0 10px rgba(52,211,153,0.06), 0 10px 40px rgba(52,211,153,0.22);
    animation: popIn .5s cubic-bezier(0.34,1.56,0.64,1);
}
.auth-success .ico-circle svg { width: 38px; height: 38px; }
.auth-success h1 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 25px; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 10px;
}
.auth-success p { color: var(--muted); font-size: 14.5px; line-height: 1.7; margin-bottom: 6px; }
.auth-success .email-strong { color: var(--text); font-weight: 700; }
.auth-success .resend { margin-top: 20px; font-size: 13.5px; color: var(--muted); }
.auth-success .resend button {
    background: none; border: 0; color: #C4B5FD; font-weight: 700; cursor: pointer; font-size: 13.5px;
}
.auth-success .resend button:hover { text-decoration: underline; }

@keyframes popIn { 0% { transform: scale(0.4); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ── Spinner ───────────────────────────────────────────────────────────── */
@keyframes spin { to { transform: rotate(360deg); } }
.spinner {
    width: 18px; height: 18px; border: 2.5px solid rgba(11,11,19,0.25);
    border-top-color: #0B0B13; border-radius: 50%; animation: spin .8s linear infinite; flex-shrink: 0;
}
.spinner.light { border-color: rgba(255,255,255,0.3); border-top-color: #fff; }

/* ── Toast ─────────────────────────────────────────────────────────────── */
.toast {
    position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px);
    z-index: var(--z-toast); display: flex; align-items: center; gap: 10px;
    background: rgba(20,20,30,0.96); border: 1px solid var(--border-strong);
    color: var(--text); font-size: 14px; font-weight: 500;
    padding: 13px 18px; border-radius: 14px; box-shadow: 0 18px 50px rgba(0,0,0,0.6);
    opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; max-width: 90vw;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast svg { width: 18px; height: 18px; color: #C4B5FD; flex-shrink: 0; }

/* ============================================================================
   SCROLL REVEAL
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; }
.reveal.d2 { transition-delay: .14s; }
.reveal.d3 { transition-delay: .21s; }
.reveal.d4 { transition-delay: .28s; }

/* ============================================================================
   ACCESSIBILITY
   ========================================================================== */
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; border-radius: 6px; }
.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 200;
    background: #fff; color: #0B0B13; padding: 10px 16px; border-radius: 10px;
    font-weight: 700; font-size: 14px; transition: top .2s;
}
.skip-link:focus { top: 12px; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important;
        transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ============================================================================
   LEGAL PAGES (Terms / Privacy)
   ========================================================================== */
.legal-hero { padding: 56px 0 30px; text-align: center; }
.legal-hero .eyebrow { margin-bottom: 14px; }
.legal-hero h1 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(32px, 5vw, 48px); font-weight: 700; letter-spacing: -1.2px; margin-bottom: 14px;
}
.legal-hero .updated {
    display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px;
}
.legal-hero .updated svg { width: 15px; height: 15px; fill: currentColor; }

.legal-layout { display: grid; grid-template-columns: 250px 1fr; gap: 48px; padding-bottom: 40px; align-items: start; }

.legal-toc {
    position: sticky; top: calc(var(--nav-h) + 24px);
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 20px; max-height: calc(100vh - var(--nav-h) - 48px); overflow-y: auto;
}
.legal-toc h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-2); margin-bottom: 12px; }
.legal-toc a {
    display: block; font-size: 13.5px; color: var(--muted); padding: 7px 10px; border-radius: 9px;
    line-height: 1.4; transition: color .2s, background .2s;
}
.legal-toc a:hover { color: var(--text); background: var(--surface-2); }
.legal-toc a.active { color: #C4B5FD; background: rgba(139,92,246,0.12); font-weight: 600; }

.legal-body { max-width: 760px; min-width: 0; }
.legal-intro {
    background: var(--grad-soft); border: 1px solid var(--border-strong); border-radius: var(--radius);
    padding: 22px 24px; margin-bottom: 38px; color: #D6D8E2; font-size: 15px; line-height: 1.75;
}
.legal-section { margin-bottom: 38px; scroll-margin-top: calc(var(--nav-h) + 20px); }
.legal-section h2 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 22px; font-weight: 700; letter-spacing: -.4px; margin-bottom: 14px;
    display: flex; align-items: baseline; gap: 12px;
}
.legal-section h2 .num {
    font-size: 14px; font-weight: 700; color: #C4B5FD; flex-shrink: 0;
    background: rgba(139,92,246,0.14); border: 1px solid rgba(168,85,247,0.28);
    border-radius: 8px; padding: 2px 9px; align-self: center;
}
.legal-section h3 { font-size: 16px; font-weight: 700; margin: 22px 0 8px; color: var(--text); }
.legal-section p { color: var(--muted); font-size: 15px; line-height: 1.8; margin-bottom: 14px; }
.legal-section ul { list-style: none; margin: 0 0 14px; padding: 0; }
.legal-section li {
    position: relative; color: var(--muted); font-size: 15px; line-height: 1.7;
    padding-left: 22px; margin-bottom: 10px;
}
.legal-section li::before {
    content: ""; position: absolute; left: 4px; top: 10px; width: 6px; height: 6px; border-radius: 2px;
    background: var(--grad);
}
.legal-section a { color: #C4B5FD; font-weight: 600; }
.legal-section a:hover { text-decoration: underline; }
.legal-section strong { color: var(--text); }

.legal-contact {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 22px 24px; margin-top: 8px;
}
.legal-contact .row { display: flex; align-items: center; gap: 11px; color: var(--muted); font-size: 14.5px; margin-top: 8px; }
.legal-contact .row:first-of-type { margin-top: 14px; }
.legal-contact .row svg { width: 17px; height: 17px; fill: #C4B5FD; flex-shrink: 0; }
.legal-contact a { color: #C4B5FD; font-weight: 600; }

@media (max-width: 880px) {
    .legal-layout { grid-template-columns: 1fr; gap: 8px; }
    .legal-toc { display: none; }
}
