/* ====== Reset & base ====== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    background: #08080d;
    color: #e7e8ee;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0 0 1em; }

.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;
}
.skip-link {
    position: absolute; top: -100px; left: 0; padding: .75rem 1rem;
    background: #7c5cff; color: #fff; z-index: 1000; border-radius: 0 0 8px 0;
}
.skip-link:focus { top: 0; }

/* ====== Tokens ====== */
:root {
    --bg: #08080d;
    --bg-2: #0e0e16;
    --bg-3: #14141f;
    --line: rgba(255,255,255,0.08);
    --line-strong: rgba(255,255,255,0.16);
    --text: #e7e8ee;
    --text-dim: #a0a3b1;
    --text-faint: #6c6f7d;
    --brand: #7c5cff;
    --brand-2: #00d4ff;
    --brand-3: #ff5cd8;
    --ok: #2ddf8a;
    --warn: #ffb454;
    --radius: 16px;
    --radius-sm: 10px;
    --maxw: 1200px;
    --shadow: 0 30px 80px -30px rgba(124,92,255,0.35);
}

/* ====== Layout ====== */
.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}
.section { padding: 110px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%); }
.section-head { max-width: 760px; margin: 0 auto 60px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.section-sub { color: var(--text-dim); font-size: 1.1rem; }
.eyebrow {
    display: inline-block;
    font-size: .75rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--brand-2);
    margin: 0 0 1rem;
    font-weight: 600;
}

/* ====== Buttons ====== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .75rem 1.25rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: .95rem;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
    border: 1px solid transparent;
    will-change: transform;
}
.btn-primary {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    color: #0a0a14;
    box-shadow: 0 10px 30px -10px rgba(124,92,255,.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(124,92,255,.8); }
.btn-ghost {
    background: rgba(255,255,255,0.04);
    color: var(--text);
    border-color: var(--line-strong);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.3); }
.btn-lg { padding: 1rem 1.75rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* ====== Header ====== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    backdrop-filter: blur(14px);
    background: rgba(8,8,13,0.55);
    border-bottom: 1px solid transparent;
    transition: border-color .25s ease, background .25s ease;
}
.site-header.scrolled {
    border-color: var(--line);
    background: rgba(8,8,13,0.85);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-top: 18px;
    padding-bottom: 18px;
}
.logo { display: inline-flex; align-items: center; gap: .65rem; font-weight: 800; letter-spacing: -0.02em; }
.logo-mark {
    width: 28px; height: 28px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    border-radius: 8px;
    box-shadow: 0 6px 20px -4px rgba(124,92,255,.6);
    position: relative;
}
.logo-mark::after {
    content: 'AI';
    position: absolute; inset: 0; display: grid; place-items: center;
    color: #fff; font-size: 13px; font-weight: 800;
}
.logo-text { font-size: 1.05rem; }
.primary-nav ul { display: flex; gap: 2rem; }
.primary-nav a {
    color: var(--text-dim);
    font-size: .95rem;
    font-weight: 500;
    transition: color .2s ease;
    position: relative;
}
.primary-nav a:hover { color: var(--text); }
.primary-nav a::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -6px;
    height: 2px; background: linear-gradient(90deg, var(--brand), var(--brand-2));
    transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.primary-nav a:hover::after { transform: scaleX(1); }

.nav-toggle { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 0 auto; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
    border-top: 1px solid var(--line);
    background: var(--bg-2);
    padding: 1rem 24px 1.5rem;
}
.mobile-menu ul { display: flex; flex-direction: column; gap: 1rem; }
.mobile-menu a { color: var(--text-dim); }

/* ====== Hero ====== */
.hero {
    position: relative;
    padding: 140px 0 120px;
    overflow: hidden;
    isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .55;
}
.orb-1 { width: 480px; height: 480px; background: #7c5cff; top: -120px; left: -120px; }
.orb-2 { width: 520px; height: 520px; background: #00d4ff; bottom: -180px; right: -80px; }
.orb-3 { width: 320px; height: 320px; background: #ff5cd8; top: 30%; left: 45%; opacity: .35; }
.grid-overlay {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 70%);
}
.hero-inner { position: relative; text-align: center; max-width: 880px; margin: 0 auto; }
.hero h1 {
    font-size: clamp(2.4rem, 6.4vw, 5rem);
    margin-bottom: 1.25rem;
    font-weight: 900;
    letter-spacing: -0.03em;
}
.grad-text {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 50%, var(--brand-3) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-sub {
    color: var(--text-dim);
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    max-width: 640px;
    margin: 0 auto 2rem;
}
.hero-actions {
    display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-bottom: 4rem;
}
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    border-top: 1px solid var(--line);
    padding-top: 2rem;
    margin-top: 1rem;
}
.hero-stats li {
    display: flex; flex-direction: column; align-items: center; gap: .25rem;
}
.stat-num {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    background: linear-gradient(135deg, #fff, var(--brand-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-variant-numeric: tabular-nums;
}
.stat-suffix { font-size: 1.5rem; font-weight: 800; color: var(--brand-2); margin-left: 2px; }
.stat-label { font-size: .8rem; color: var(--text-faint); letter-spacing: .06em; text-transform: uppercase; }

/* ====== Categories ====== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}
.cat-card {
    padding: 1.75rem 1.5rem 1.5rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform .3s ease, border-color .3s ease, background .3s ease;
    position: relative;
    overflow: hidden;
}
.cat-card::before {
    content: ''; position: absolute; inset: -1px;
    background: linear-gradient(135deg, rgba(124,92,255,.5), rgba(0,212,255,.5));
    opacity: 0; transition: opacity .3s ease;
    border-radius: var(--radius); z-index: -1;
}
.cat-card:hover { transform: translateY(-4px); border-color: transparent; }
.cat-card:hover::before { opacity: 1; }
.cat-card:hover { background: linear-gradient(180deg, rgba(20,20,31,0.9) 0%, rgba(14,14,22,0.9) 100%); }
.cat-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(124,92,255,.18), rgba(0,212,255,.18));
    color: var(--brand-2);
    display: grid; place-items: center;
    margin-bottom: 1.25rem;
}
.cat-icon svg { width: 22px; height: 22px; }
.cat-card h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.cat-card p { color: var(--text-dim); font-size: .95rem; margin-bottom: 1rem; }
.cat-meta { font-size: .8rem; color: var(--text-faint); letter-spacing: .02em; }

/* ====== Tools (leaderboard) ====== */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.25rem;
}
.tool-card {
    padding: 1.75rem;
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform .3s ease, border-color .3s ease;
    position: relative;
}
.tool-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.tool-head { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; }
.rank {
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    min-width: 50px;
    font-variant-numeric: tabular-nums;
}
.tool-head h3 { font-size: 1.15rem; margin: 0 0 .2rem; }
.vendor { color: var(--text-faint); font-size: .82rem; margin: 0; }
.score-row { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem; }
.score-bar {
    flex: 1; height: 8px; background: rgba(255,255,255,0.06);
    border-radius: 999px; overflow: hidden;
}
.score-bar > span {
    display: block; height: 100%;
    width: var(--w);
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
    border-radius: 999px;
    transition: width 1.2s ease;
}
.score { font-weight: 700; color: var(--brand-2); font-variant-numeric: tabular-nums; }
.tool-points { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.25rem; }
.tool-points li {
    position: relative; padding-left: 1.25rem; color: var(--text-dim); font-size: .92rem;
}
.tool-points li::before {
    content: ''; position: absolute; left: 0; top: .55rem;
    width: 6px; height: 6px; border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.tool-link {
    color: var(--brand-2);
    font-size: .9rem; font-weight: 600;
    transition: gap .2s ease;
    display: inline-flex; align-items: center; gap: .25rem;
}
.tool-link:hover { gap: .6rem; }

/* ====== Compare table ====== */
.compare-wrap {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-3);
}
.compare-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare-table thead th {
    text-align: left;
    padding: 1.1rem 1.25rem;
    background: rgba(124,92,255,0.06);
    color: var(--text);
    font-size: .92rem;
    border-bottom: 1px solid var(--line);
    font-weight: 700;
}
.compare-table thead th:first-child { color: var(--text-dim); font-weight: 600; }
.compare-table td, .compare-table tbody th {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--line);
    font-size: .94rem;
    text-align: left;
}
.compare-table tbody th { color: var(--text-dim); font-weight: 500; }
.compare-table tbody tr:last-child td,
.compare-table tbody tr:last-child th { border-bottom: 0; }
.compare-table tbody tr:hover td,
.compare-table tbody tr:hover th { background: rgba(255,255,255,0.02); }
.badge {
    display: inline-block;
    padding: .2rem .7rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    font-size: .78rem;
    font-weight: 600;
    color: var(--text-dim);
}
.badge-best {
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #0a0a14;
}
.compare-wrap { overflow-x: auto; }

/* ====== Reviews ====== */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.review-card {
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .3s ease, border-color .3s ease;
    cursor: pointer;
}
.review-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.review-thumb {
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
    display: flex; align-items: flex-end; padding: 1rem;
}
.review-thumb[data-grad="1"] { background: linear-gradient(135deg, #7c5cff, #00d4ff); }
.review-thumb[data-grad="2"] { background: linear-gradient(135deg, #ff5cd8, #ff8a4c); }
.review-thumb[data-grad="3"] { background: linear-gradient(135deg, #00d4ff, #2ddf8a); }
.review-thumb[data-grad="4"] { background: linear-gradient(135deg, #6f8cff, #b362ff); }
.review-thumb[data-grad="5"] { background: linear-gradient(135deg, #ff8a4c, #ff5c7c); }
.review-thumb[data-grad="6"] { background: linear-gradient(135deg, #2ddf8a, #00d4ff); }
.thumb-tag {
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(10px);
    color: #fff; padding: .3rem .75rem; border-radius: 999px;
    font-size: .78rem; font-weight: 600; letter-spacing: .04em;
    border: 1px solid rgba(255,255,255,0.2);
}
.review-body { padding: 1.5rem; }
.review-body h3 { font-size: 1.1rem; margin-bottom: .6rem; line-height: 1.3; }
.review-body p { color: var(--text-dim); font-size: .94rem; margin-bottom: 1rem; }
.review-meta {
    display: flex; gap: .5rem; align-items: center;
    color: var(--text-faint); font-size: .82rem;
}

/* ====== Methodology ====== */
.method-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.method-text h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.method-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.method-list li { padding-left: 1.5rem; position: relative; color: var(--text-dim); }
.method-list li::before {
    content: '';
    position: absolute; left: 0; top: .55rem;
    width: 12px; height: 2px;
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
}
.method-list strong { color: var(--text); font-weight: 600; }
.method-card {
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem;
    display: flex; flex-direction: column; gap: 1.5rem;
    box-shadow: var(--shadow);
}
.method-row { display: flex; flex-direction: column; gap: .5rem; }
.method-row span { font-size: .85rem; color: var(--text-dim); }
.bar { height: 10px; background: rgba(255,255,255,0.05); border-radius: 999px; overflow: hidden; }
.bar i {
    display: block; height: 100%;
    width: var(--w);
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
    border-radius: 999px;
}
.bar-inverse i { background: linear-gradient(90deg, var(--ok), var(--brand-2)); }

/* ====== FAQ ====== */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
    border: 1px solid var(--line);
    background: var(--bg-3);
    border-radius: var(--radius-sm);
    padding: 1.1rem 1.4rem;
    transition: border-color .25s ease;
}
.faq-item[open] { border-color: var(--line-strong); }
.faq-item summary {
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem;
    color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    color: var(--brand-2);
    font-size: 1.3rem; font-weight: 600;
    transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--text-dim); margin: 1rem 0 0; font-size: .95rem; }
.faq-item a { color: var(--brand-2); }
.faq-item a:hover { text-decoration: underline; }

/* ====== Newsletter ====== */
.newsletter-card {
    background: linear-gradient(135deg, rgba(124,92,255,0.18), rgba(0,212,255,0.12));
    border: 1px solid rgba(124,92,255,0.3);
    border-radius: 24px;
    padding: 3rem;
    display: grid; gap: 2.5rem;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    box-shadow: var(--shadow);
}
.newsletter-card h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.newsletter-card p { color: var(--text-dim); }
.newsletter-form { display: flex; flex-direction: column; gap: .75rem; }
.newsletter-form input {
    width: 100%;
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: 1px solid var(--line-strong);
    padding: 1rem 1.25rem;
    border-radius: 999px;
    font-size: 1rem;
    outline: none;
    transition: border-color .2s ease, background .2s ease;
}
.newsletter-form input:focus { border-color: var(--brand-2); background: rgba(0,0,0,0.6); }
.newsletter-form .btn { align-self: flex-start; }
.form-fine { font-size: .78rem; color: var(--text-faint); margin: 0; }
.form-fine a { color: var(--brand-2); }
.form-status { font-size: .9rem; color: var(--ok); margin: 0; min-height: 1.2em; }
.form-status.is-error { color: #ff7a7a; }

/* ====== Footer ====== */
.site-footer {
    background: var(--bg-2);
    border-top: 1px solid var(--line);
    padding: 4rem 0 2rem;
    margin-top: 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}
.footer-col h4 {
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--text-faint);
    margin-bottom: 1rem;
    font-weight: 600;
}
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col a {
    color: var(--text-dim);
    font-size: .92rem;
    transition: color .2s ease;
}
.footer-col a:hover { color: var(--text); }
.footer-blurb {
    color: var(--text-dim);
    font-size: .92rem;
    margin: 1rem 0 0;
    max-width: 320px;
}
.footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem;
    color: var(--text-faint);
    font-size: .85rem;
}
.footer-bottom p { margin: 0; }

/* ====== Cookie banner ====== */
.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 200;
    max-width: 720px;
    margin: 0 auto;
    background: rgba(14,14,22,0.96);
    backdrop-filter: blur(14px);
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    box-shadow: 0 30px 70px -20px rgba(0,0,0,0.7);
    padding: 1.5rem;
    transform: translateY(140%);
    transition: transform .45s cubic-bezier(0.2,0.7,0.2,1);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner[hidden] { display: block; }
.cookie-text h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.cookie-text p { color: var(--text-dim); font-size: .92rem; margin: 0 0 1rem; }
.cookie-text a { color: var(--brand-2); text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-actions .btn { padding: .6rem 1rem; font-size: .88rem; }
.cookie-options { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: .85rem; }
.cookie-row {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem;
}
.cookie-row span { display: flex; flex-direction: column; gap: .15rem; }
.cookie-row small { color: var(--text-faint); font-size: .8rem; }
.cookie-row input[type="checkbox"] {
    appearance: none;
    width: 38px; height: 22px; border-radius: 999px;
    background: rgba(255,255,255,0.1);
    position: relative; cursor: pointer;
    transition: background .2s ease;
    flex-shrink: 0;
}
.cookie-row input[type="checkbox"]::after {
    content: ''; position: absolute; top: 2px; left: 2px;
    width: 18px; height: 18px; border-radius: 50%;
    background: #fff; transition: transform .2s ease;
}
.cookie-row input[type="checkbox"]:checked { background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.cookie-row input[type="checkbox"]:checked::after { transform: translateX(16px); }
.cookie-row input[type="checkbox"]:disabled { opacity: .6; cursor: not-allowed; }
.cookie-options-actions { display: flex; justify-content: flex-end; }

/* ====== Animations (initial states for GSAP) ====== */
[data-anim] { opacity: 0; will-change: transform, opacity; }
.no-js [data-anim] { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    [data-anim] { opacity: 1 !important; transform: none !important; }
    html { scroll-behavior: auto; }
}

/* ====== Legal pages ====== */
.legal-page main { padding: 80px 0 60px; }
.legal-content {
    max-width: 820px;
    margin: 0 auto;
}
.legal-content h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.legal-content h2 {
    font-size: 1.4rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}
.legal-content h3 { font-size: 1.1rem; margin-top: 1.5rem; }
.legal-content p, .legal-content li {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.7;
}
.legal-content ul, .legal-content ol {
    padding-left: 1.5rem; margin: 0 0 1rem;
    list-style: disc;
}
.legal-content ol { list-style: decimal; }
.legal-content a { color: var(--brand-2); text-decoration: underline; text-underline-offset: 3px; }
.legal-content a:hover { color: var(--text); }
.legal-content table {
    width: 100%; border-collapse: collapse; margin: 1.5rem 0;
    border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden;
}
.legal-content th, .legal-content td {
    padding: .85rem 1rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
    font-size: .92rem;
}
.legal-content th {
    background: rgba(124,92,255,0.06);
    color: var(--text);
}
.legal-content td { color: var(--text-dim); }
.legal-meta {
    color: var(--text-faint);
    font-size: .9rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
}
.legal-toc {
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
}
.legal-toc h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 .5rem; color: var(--text-faint); }
.legal-toc ol { columns: 2; column-gap: 2rem; padding-left: 1.25rem; margin: 0; }
.legal-toc a { color: var(--text); text-decoration: none; font-size: .9rem; }
.legal-toc a:hover { color: var(--brand-2); }

/* ====== Responsive ====== */
@media (max-width: 980px) {
    .primary-nav, .header-cta { display: none; }
    .nav-toggle { display: flex; }
    .method-inner { grid-template-columns: 1fr; gap: 2rem; }
    .newsletter-card { grid-template-columns: 1fr; padding: 2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .section { padding: 80px 0; }
    .hero { padding: 100px 0 80px; }
    .legal-toc ol { columns: 1; }
}

@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr; }
    .cookie-actions { flex-direction: column; }
    .cookie-actions .btn { width: 100%; }
    .newsletter-card { padding: 1.5rem; }
}
