/* ════════════════════════════════════════════════
   LEGAL PAGES — Privacy / Terms / Refund
   Shared styles, matches site design system
═══════════════════════════════════════════════════ */

.legal-page { background: #F5F4F0; }

/* ── HERO ────────────────────────────────── */
.legal-hero {
    background: linear-gradient(180deg, #0a0a0a 0%, #141414 100%);
    color: #fff;
    padding: 90px 24px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.legal-hero::before {
    content: '';
    position: absolute;
    top: -100px; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 400px;
    background: radial-gradient(ellipse at center, rgba(255,107,0,0.16) 0%, transparent 70%);
    pointer-events: none;
}
.legal-hero-inner {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.legal-hero-label {
    font-size: 10px;
    color: #FF6B00;
    letter-spacing: 3px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 14px;
    font-family: 'Syne', sans-serif;
}
.legal-hero-title {
    font-family: 'Syne', sans-serif;
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 10px;
}
.legal-hero-updated {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.3px;
}

/* ── BODY LAYOUT ─────────────────────────── */
.legal-body {
    max-width: 760px;
    margin: 0 auto;
    padding: 56px 24px 90px;
}

.legal-intro {
    font-size: 15px;
    line-height: 1.75;
    color: #555;
    padding-bottom: 32px;
    margin-bottom: 8px;
    border-bottom: 1px solid #E0E0E0;
}
.legal-intro strong { color: #1A1A1A; }

/* ── SECTIONS ────────────────────────────── */
.legal-section {
    padding: 28px 0;
    border-bottom: 1px solid #E8E8E8;
}
.legal-section:last-child { border-bottom: none; }

.legal-section-title {
    font-family: 'Syne', sans-serif;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: #1A1A1A;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.legal-section-title::before {
    content: '';
    display: block;
    width: 4px; height: 18px;
    background: #FF6B00;
    flex-shrink: 0;
}

.legal-section p {
    font-size: 14.5px;
    line-height: 1.75;
    color: #555;
    margin: 0 0 14px 0;
}
.legal-section p:last-child { margin-bottom: 0; }
.legal-section strong { color: #1A1A1A; font-weight: 700; }

.legal-section ul {
    margin: 0 0 14px 0;
    padding-left: 0;
    list-style: none;
}
.legal-section ul:last-child { margin-bottom: 0; }
.legal-section li {
    font-size: 14.5px;
    line-height: 1.7;
    color: #555;
    padding-left: 22px;
    position: relative;
    margin-bottom: 8px;
}
.legal-section li::before {
    content: '';
    position: absolute;
    left: 0; top: 9px;
    width: 6px; height: 6px;
    background: #FF6B00;
}
.legal-section li:last-child { margin-bottom: 0; }

.legal-section a {
    color: #FF6B00;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,107,0,0.3);
    transition: border-color 0.2s;
}
.legal-section a:hover { border-bottom-color: #FF6B00; }

/* Definition list (term: description) */
.legal-defs {
    margin: 0 0 14px 0;
    padding: 0;
    list-style: none;
}
.legal-defs li {
    font-size: 14.5px;
    line-height: 1.7;
    color: #555;
    padding: 12px 16px;
    background: #fff;
    border-left: 3px solid #E0E0E0;
    margin-bottom: 8px;
}
.legal-defs li:last-child { margin-bottom: 0; }
.legal-defs strong {
    display: inline-block;
    color: #1A1A1A;
    font-weight: 700;
    margin-right: 4px;
}

/* Highlight callout box (e.g. eligibility, key facts) */
.legal-callout {
    margin: 16px 0;
    padding: 16px 18px;
    background: #FFF8F3;
    border-left: 3px solid #FF6B00;
    font-size: 14px;
    color: #1A1A1A;
    line-height: 1.65;
}
.legal-callout strong { color: #FF6B00; }
.legal-callout--green {
    background: #f0fdf4;
    border-left-color: #22c55e;
}
.legal-callout--green strong { color: #166534; }

/* ── CONTACT BLOCK ───────────────────────── */
.legal-contact {
    margin-top: 32px;
    padding: 28px 30px;
    background: #1A1A1A;
    color: #fff;
    text-align: center;
}
.legal-contact-title {
    font-family: 'Syne', sans-serif;
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 8px 0;
}
.legal-contact-sub {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 18px;
}
.legal-contact-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.legal-contact-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: all 0.2s;
}
.legal-contact-links a:hover {
    background: #FF6B00;
    border-color: #FF6B00;
}

/* ── CROSS-LINKS (to other legal pages) ──── */
.legal-crosslinks {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #E0E0E0;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 13px;
}
.legal-crosslinks a {
    color: #888;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: color 0.2s;
    border-bottom: 1px solid transparent;
}
.legal-crosslinks a:hover { color: #FF6B00; }
.legal-crosslinks a.is-active { color: #1A1A1A; border-bottom-color: #FF6B00; }

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 640px) {
    .legal-hero { padding: 64px 20px 44px; }
    .legal-hero-title { font-size: 28px; }
    .legal-body { padding: 36px 18px 60px; }
    .legal-section-title { font-size: 16px; }
    .legal-contact { padding: 22px 18px; }
    .legal-contact-links { flex-direction: column; }
}