/* ============================================================
   SignupDesk — Legal Pages Stylesheet (Privacy, Terms, DPA)
   ============================================================ */

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Inter', sans-serif;
    background: #0b0f1a;
    color: #cbd5e1;
    line-height: 1.75;
    overflow-x: hidden;
}

a { color: #f0b429; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

:root {
    --gold:        #f0b429;
    --gold-light:  #ffd97d;
    --navy:        #0b0f1a;
    --navy-mid:    #111827;
    --navy-card:   #161d2e;
    --navy-border: #1e2a3d;
    --text-bright: #f1f5f9;
    --text-mid:    #94a3b8;
    --text-dim:    #64748b;
    --radius-md:   14px;
    --max-w:       780px;
}

/* ---------- Nav ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 15, 26, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--navy-border);
    padding: 0 24px;
}

.nav__inner {
    max-width: 1140px;
    margin: 0 auto;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--text-bright);
    letter-spacing: -0.01em;
    text-decoration: none;
}

.nav__logo-icon {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.nav__back {
    font-size: 0.85rem;
    color: var(--text-mid);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
    text-decoration: none;
}

.nav__back:hover { color: var(--gold); text-decoration: none; }

/* ---------- Legal Header ---------- */
.legal-header {
    background: linear-gradient(180deg, #0d1220 0%, var(--navy) 100%);
    padding: 80px 24px 60px;
    text-align: center;
    border-bottom: 1px solid var(--navy-border);
}

.legal-header__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(240, 180, 41, 0.1);
    border: 1px solid rgba(240, 180, 41, 0.25);
    border-radius: 100px;
    padding: 5px 14px;
    margin-bottom: 20px;
}

.legal-header__title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--text-bright);
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 16px;
}

.legal-header__meta {
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* ---------- Legal Body ---------- */
.legal-body {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 60px 24px 100px;
}

.legal-toc {
    background: var(--navy-card);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    margin-bottom: 56px;
}

.legal-toc__title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 14px;
}

.legal-toc ol {
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.legal-toc li { font-size: 0.88rem; color: var(--text-mid); }
.legal-toc a { color: var(--gold); }
.legal-toc a:hover { text-decoration: underline; }

/* ---------- Sections ---------- */
.legal-section {
    margin-bottom: 52px;
    scroll-margin-top: 80px;
}

.legal-section__num {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}

.legal-section h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--navy-border);
}

.legal-section p {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 14px;
    line-height: 1.8;
}

.legal-section ul, .legal-section ol {
    padding-left: 22px;
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legal-section li {
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.7;
}

.legal-section strong { color: var(--text-bright); }

.legal-highlight {
    background: rgba(240, 180, 41, 0.06);
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 16px 20px;
    margin: 20px 0;
    font-size: 0.88rem;
    color: var(--text-mid);
    line-height: 1.7;
}

.legal-highlight strong { color: var(--gold); }

/* ---------- Contact Box ---------- */
.legal-contact {
    background: var(--navy-card);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-md);
    padding: 28px;
    margin-top: 48px;
}

.legal-contact h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 12px;
}

.legal-contact p {
    font-size: 0.85rem;
    color: var(--text-mid);
    margin-bottom: 8px;
}

.legal-contact a { color: var(--gold); }

/* ---------- Footer ---------- */
.legal-footer {
    background: var(--navy-mid);
    border-top: 1px solid var(--navy-border);
    padding: 28px 24px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-dim);
}

.legal-footer a { color: var(--text-mid); margin: 0 8px; }
.legal-footer a:hover { color: var(--gold); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--navy-border); border-radius: 100px; }
