:root {
    --bg: #f8f7f4;
    --white: #ffffff;
    --ink: #0f0e0c;
    --ink2: #3a3834;
    --muted: #8c8880;
    --border: #e4e2dc;
    --accent: #1a6bff;
    --accent-light: #eff4ff;
    --accent-dark: #1258d4;
    --green: #00a878;
    --green-light: #edfaf5;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
    --r: 12px;
    --r-lg: 20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--ink);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ─── BG GLOW ─── */
.bg-glow {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none; z-index: 0; overflow: hidden;
}
.bg-glow::before {
    content: '';
    position: absolute; top: -200px; right: -200px;
    width: 700px; height: 700px; border-radius: 50%;
    background: radial-gradient(circle, rgba(26,107,255,0.07) 0%, transparent 65%);
}
.bg-glow::after {
    content: '';
    position: absolute; bottom: -150px; left: -150px;
    width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(245,200,66,0.06) 0%, transparent 65%);
}

/* ─── NAV ─── */
nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(248,247,244,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 2rem;
}
.nav-inner {
    max-width: 1100px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
    font-size: 1.15rem; font-weight: 800;
    letter-spacing: -0.02em; color: var(--ink);
    display: flex; align-items: center; gap: 0.4rem;
}
.nav-cta {
    display: flex; align-items: center; gap: 0.75rem;
}
.btn {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.6rem 1.25rem; border-radius: 10px;
    font-size: 0.88rem; font-weight: 700; cursor: pointer;
    transition: all 0.15s; border: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.btn-ghost { background: transparent; color: var(--ink2); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(26,107,255,0.3); }

/* ─── LEGAL CONTENT ─── */
.legal {
    position: relative; z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    padding: 5rem 2rem 6rem;
}

.legal-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.legal-eyebrow {
    display: inline-block;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--accent);
    margin-bottom: 0.75rem;
}

.legal h1 {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
    margin-bottom: 0.75rem;
}

.legal-meta {
    font-size: 0.85rem; color: var(--muted);
    display: flex; align-items: center; gap: 0.5rem;
}

.legal-meta::before {
    content: '';
    display: inline-block;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--green);
    flex-shrink: 0;
}

/* Section headings */
.legal h2 {
    font-size: 1.15rem; font-weight: 800;
    letter-spacing: -0.02em; color: var(--ink);
    margin-top: 2.5rem; margin-bottom: 0.75rem;
    display: flex; align-items: center; gap: 0.6rem;
}

.legal h2::before {
    content: '';
    display: inline-block; width: 3px; height: 1.1em;
    background: var(--accent); border-radius: 2px; flex-shrink: 0;
}

/* Body text */
.legal p {
    font-size: 0.95rem; color: var(--ink2);
    line-height: 1.8; margin-bottom: 1rem;
}

.legal ul, .legal ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal li {
    font-size: 0.95rem; color: var(--ink2);
    line-height: 1.8; margin-bottom: 0.35rem;
}

/* Callout / highlight box */
.legal-callout {
    background: var(--accent-light);
    border: 1px solid rgba(26,107,255,0.15);
    border-radius: var(--r);
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
}
.legal-callout p {
    font-size: 0.9rem; color: var(--accent-dark);
    margin-bottom: 0; line-height: 1.7;
}
.legal-callout strong { color: var(--accent-dark); }

/* Contact block */
.legal-contact {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.75rem 2rem;
    margin-top: 3rem;
    box-shadow: var(--shadow-sm);
    display: flex; align-items: flex-start; gap: 1rem;
}
.legal-contact-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--accent-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; flex-shrink: 0;
}
.legal-contact p { margin-bottom: 0.25rem; }
.legal-contact a {
    color: var(--accent); font-weight: 600;
    text-decoration: underline; text-underline-offset: 2px;
    text-decoration-color: rgba(26,107,255,0.3);
    transition: text-decoration-color 0.15s;
}
.legal-contact a:hover { text-decoration-color: var(--accent); }

/* ─── FOOTER ─── */
footer {
    position: relative; z-index: 1;
    background: var(--ink);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 2rem;
}
.footer-inner {
    max-width: 1100px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 1rem;
}
.footer-logo { font-size: 1rem; font-weight: 800; color: rgba(255,255,255,0.8); display: flex; align-items: center; gap: 0.4rem; }
.footer-links { display: flex; gap: 1.5rem; list-style: none; }
.footer-links a { font-size: 0.8rem; color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.8); }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.3); }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s ease both; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
    .btn-ghost { display: none; }
    .legal { padding: 3rem 1.25rem 4rem; }
    .legal-contact { flex-direction: column; gap: 0.75rem; }
}
@media (max-width: 500px) {
    .footer-inner { flex-direction: column; align-items: flex-start; }
}
