:root,
[data-theme="dark"] {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --danger: #ef4444;
    --warning: #f59e0b;
    --success: #22c55e;
    --bg: #0b0f1a;
    --bg-card: #111827;
    --bg-surface: #1a1f2e;
    --border: #1e293b;
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --radius: 10px;
    --container: 1120px;
    --navbar-bg: rgba(11, 15, 26, 0.95);
}

[data-theme="light"] {
    --bg: #f8fafc;
    --bg-card: #ffffff;
    --bg-surface: #f1f5f9;
    --border: #e2e8f0;
    --text: #0f172a;
    --text-muted: #475569;
    --text-dim: #64748b;
    --navbar-bg: rgba(248, 250, 252, 0.95);
}

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

body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

.navbar {
    background: var(--navbar-bg);
    border-bottom: 1px solid var(--border);
    padding: 0 2.5rem;
    height: 56px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
}
.nav-container {
    max-width: var(--container);
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
}
.logo:hover { color: var(--text); }
.nav-logo-img {
    height: 38px;
    width: 38px;
    object-fit: contain;
    flex-shrink: 0;
    filter: brightness(1.5) saturate(1.2);
}
.logo-text {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1;
    color: var(--text);
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.25rem;
    align-items: center;
}
.nav-menu a {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.15s;
    text-decoration: none;
}
.nav-menu a:hover { color: white; }
.nav-cta {
    background: var(--primary);
    color: white !important;
    padding: 7px 18px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem !important;
    transition: background 0.15s;
    white-space: nowrap;
}
.nav-cta:hover { background: var(--primary-dark); }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: transparent;
    background-color: transparent;
    border: 0;
    border-radius: 0;
    padding: 10px;
    margin: 0;
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    color: inherit;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
}
.hamburger:focus,
.hamburger:active {
    background: transparent;
    background-color: transparent;
    outline: none;
    box-shadow: none;
}
.hamburger span { display: block; width: 22px; height: 2px; background-color: var(--text); transition: 0.3s; border-radius: 1px; }

.hero {
    max-width: 920px;
    margin: 0 auto;
    padding: 6rem 2.5rem 5rem;
    text-align: center;
}
.hero-inner {
    max-width: 920px;
    margin: 0 auto;
}
.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    max-width: 18ch;
    margin-left: auto;
    margin-right: auto;
}
.subhead {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.proof-bullets {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}
.proof-bullets li {
    color: var(--text-muted);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.proof-bullets i { color: var(--primary); font-size: 0.8rem; }

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.hero-trust-line {
    margin-top: 2rem;
    color: var(--text-dim);
    font-size: 0.8rem;
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.15s;
    cursor: pointer;
    border: none;
    text-decoration: none;
    height: 44px;
}
.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.btn-primary:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(59,130,246,0.25);
}
.btn-text { color: var(--text-muted); background: none; padding: 12px 16px; }
.btn-text:hover { color: white; }
.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}
.btn-outline:hover {
    border-color: var(--text-muted);
    color: white;
    background: rgba(255,255,255,0.03);
}

.how-section {
    max-width: var(--container);
    margin: 0 auto;
    padding: 4rem 2.5rem;
    border-top: 1px solid var(--border);
}
.how-section h2 { text-align: center; font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 2.5rem; }

.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 1rem; align-items: center; margin-bottom: 2rem; }
.step {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 2rem; text-align: center;
}
.step-num {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--primary); color: white;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.9rem; margin-bottom: 1rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: 0.5rem; font-weight: 600; }
.step p { color: var(--text-muted); font-size: 0.875rem; }

.trust-note {
    text-align: center; color: var(--text-dim); font-size: 0.825rem;
    font-style: italic; border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}

.threats-section {
    max-width: var(--container);
    margin: 0 auto;
    padding: 4rem 2.5rem;
    border-top: 1px solid var(--border);
}
.threats-section h2 { text-align: center; font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 2.5rem; }
.threat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.threat-item {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 1.5rem;
}
.threat-item i { color: var(--primary); font-size: 1.2rem; margin-bottom: 0.8rem; display: block; }
.threat-item h4 { font-size: 0.95rem; margin-bottom: 0.4rem; font-weight: 600; }
.threat-item p { color: var(--text-muted); font-size: 0.85rem; }

.cta-section {
    text-align: center;
    padding: 4rem 2.5rem;
    max-width: 640px;
    margin: 0 auto;
    border-top: 1px solid var(--border);
}
.cta-section h2 { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.8rem; }
.cta-section p { color: var(--text-muted); margin-bottom: 1.5rem; }

.footer {
    border-top: 1px solid var(--border);
    padding: 3rem 2.5rem;
    margin-top: 2rem;
}
.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
}
.footer-logo {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-logo-img {
    height: 30px;
    width: 30px;
    object-fit: contain;
    filter: brightness(1.5) saturate(1.2);
}
.footer-logo-text {
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}
.footer-authority { color: var(--text-dim); font-size: 0.75rem; margin-top: 0.4rem; }
.footer-authority a { color: var(--text-dim); }
.footer-authority a:hover { color: var(--primary); }
.footer-status { color: var(--text-dim); font-size: 0.8rem; }
.footer-col h4 { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a { color: var(--text-dim); font-size: 0.85rem; }
.footer-col a:hover { color: white; }

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: -1.5rem;
    margin-bottom: 2.5rem;
}

.scan-page { max-width: var(--container); margin: 0 auto; padding: 3rem 2.5rem; }
.scan-page h1 { font-size: 2rem; margin-bottom: 0.5rem; font-weight: 700; }
.scan-page .scan-intro { color: var(--text-muted); margin-bottom: 2rem; }

.scan-controls { margin-bottom: 2rem; display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.scan-btn {
    background: var(--primary); color: white; border: none;
    padding: 14px 32px; border-radius: 8px; font-size: 1rem;
    font-weight: 600; cursor: pointer; transition: 0.15s;
    display: inline-flex; align-items: center; gap: 10px;
}
.scan-btn:hover { background: var(--primary-dark); }
.scan-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.scan-btn i { font-size: 0.9rem; }

.scan-progress {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 2rem; margin-bottom: 2rem;
    text-align: center;
}
.progress-bar {
    width: 100%; height: 4px; background: var(--border);
    border-radius: 2px; overflow: hidden; margin: 1rem 0;
}
.progress-fill {
    height: 100%; background: var(--primary);
    border-radius: 2px; transition: width 0.3s;
    width: 0%;
}
.progress-label { color: var(--text-muted); font-size: 0.9rem; }

.summary-panel {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
    margin-bottom: 2rem;
}
.summary-item {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.2rem; text-align: center;
}
.summary-item .num { font-size: 1.8rem; font-weight: 800; }
.summary-item .label { color: var(--text-muted); font-size: 0.8rem; margin-top: 0.3rem; }
.num-danger { color: var(--danger); }
.num-warning { color: var(--warning); }
.num-info { color: var(--primary); }

.event-table {
    width: 100%; border-collapse: collapse;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden;
}
.event-table thead { background: var(--bg-surface); }
.event-table th {
    padding: 12px 16px; text-align: left;
    font-size: 0.75rem; text-transform: uppercase;
    letter-spacing: 0.05em; color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}
.event-table td {
    padding: 12px 16px; font-size: 0.85rem;
    border-bottom: 1px solid var(--border);
}
.event-table tr:last-child td { border-bottom: none; }
.event-table .mono { font-family: 'SF Mono', 'Fira Code', monospace; font-size: 0.8rem; }

.risk-badge {
    display: inline-block; padding: 2px 10px;
    border-radius: 50px; font-size: 0.75rem; font-weight: 700;
}
.risk-high { background: rgba(239, 68, 68, 0.15); color: var(--danger); }
.risk-medium { background: rgba(245, 158, 11, 0.15); color: var(--warning); }
.risk-low { background: rgba(34, 197, 94, 0.15); color: var(--success); }

.action-badge {
    display: inline-block; padding: 2px 10px;
    border-radius: 50px; font-size: 0.75rem; font-weight: 600;
}
.action-blocked { background: rgba(239, 68, 68, 0.15); color: var(--danger); }
.action-approval { background: rgba(245, 158, 11, 0.15); color: var(--warning); }
.action-allowed { background: rgba(34, 197, 94, 0.15); color: var(--success); }

.blurred-row td { filter: blur(4px); user-select: none; pointer-events: none; }

.upgrade-banner {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 2rem;
    text-align: center; margin-top: 2rem;
}
.upgrade-banner h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.upgrade-banner p { color: var(--text-muted); margin-bottom: 1rem; font-size: 0.9rem; }

.page-simple {
    max-width: 700px; margin: 0 auto; padding: 3rem 2.5rem;
}
.page-simple h1 { font-size: 2rem; margin-bottom: 1.5rem; font-weight: 700; }
.page-simple h2 { font-size: 1.4rem; margin: 2rem 0 0.8rem; font-weight: 600; }
.page-simple p { color: var(--text-muted); margin-bottom: 1rem; font-size: 0.95rem; line-height: 1.7; }
.page-simple ul { color: var(--text-muted); margin: 0.5rem 0 1rem 1.5rem; font-size: 0.95rem; }
.page-simple li { margin-bottom: 0.4rem; }

.login-form {
    max-width: 400px; margin: 0 auto;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 2.5rem;
}
.login-form h1 { text-align: center; font-size: 1.5rem; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
    display: block; font-size: 0.85rem; color: var(--text-muted);
    margin-bottom: 0.4rem; font-weight: 500;
}
.form-group input {
    width: 100%; padding: 10px 14px;
    background: var(--bg-surface); border: 1px solid var(--border);
    border-radius: 6px; color: var(--text); font-size: 0.95rem;
    outline: none; transition: 0.2s;
}
.form-group input:focus { border-color: var(--primary); }
.form-submit {
    width: 100%; padding: 12px;
    background: var(--primary); color: white; border: none;
    border-radius: 8px; font-size: 1rem; font-weight: 600;
    cursor: pointer; transition: 0.15s; margin-top: 0.5rem;
}
.form-submit:hover { background: var(--primary-dark); }
.form-footer { text-align: center; margin-top: 1rem; font-size: 0.85rem; color: var(--text-dim); }

.pricing-page { max-width: 950px; margin: 0 auto; padding: 3rem 2.5rem; }
.pricing-page h1 { font-size: 2.2rem; text-align: center; margin-bottom: 0.5rem; font-weight: 700; }
.pricing-page .pricing-sub { text-align: center; color: var(--text-muted); margin-bottom: 3rem; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 3rem; }
.plan {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 2rem; position: relative;
    transition: 0.15s;
}
.plan:hover { border-color: var(--primary); }
.plan.featured { border-color: var(--primary); }
.plan-badge {
    position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
    background: var(--primary); color: white; padding: 3px 14px;
    border-radius: 50px; font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.05em;
}
.plan h2 { font-size: 1.2rem; margin-bottom: 0.3rem; font-weight: 600; }
.plan .plan-audience { color: var(--text-dim); font-size: 0.8rem; margin-bottom: 1rem; font-style: italic; }
.plan .price { font-size: 2.5rem; font-weight: 800; margin-bottom: 1.5rem; }
.plan .price span { font-size: 0.9rem; color: var(--text-muted); font-weight: 400; }
.plan .feature-group { margin-bottom: 1.2rem; }
.plan .feature-group h4 {
    font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em;
    color: var(--text-dim); margin-bottom: 0.5rem;
}
.plan .feature-group ul { list-style: none; }
.plan .feature-group li {
    padding: 5px 0; font-size: 0.85rem; color: var(--text-muted);
    display: flex; align-items: flex-start; gap: 8px;
}
.plan .feature-group li i { color: var(--primary); margin-top: 3px; font-size: 0.75rem; }
.plan .feature-group li.dim { color: var(--text-dim); }
.plan .feature-group li.dim i { color: var(--text-dim); }
.plan-btn {
    display: block; width: 100%; padding: 12px;
    border-radius: 8px; font-size: 0.95rem; font-weight: 600;
    text-align: center; transition: 0.15s; cursor: pointer; border: none;
    margin-top: 1rem;
}
.plan-btn-primary { background: var(--primary); color: white; }
.plan-btn-primary:hover { background: var(--primary-dark); }
.plan-btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.plan-btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.trust-section {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 2rem;
}
.trust-section h3 { font-size: 1.1rem; margin-bottom: 1rem; font-weight: 600; }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.trust-item h4 { font-size: 0.9rem; margin-bottom: 0.3rem; font-weight: 600; }
.trust-item p { color: var(--text-muted); font-size: 0.85rem; }

.roadmap-item {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1rem;
}
.roadmap-item h3 { font-size: 1rem; margin-bottom: 0.3rem; font-weight: 600; }
.roadmap-item p { color: var(--text-muted); font-size: 0.9rem; }
.roadmap-badge {
    display: inline-block; padding: 2px 10px;
    border-radius: 50px; font-size: 0.7rem; font-weight: 700;
    margin-bottom: 0.5rem; text-transform: uppercase;
}
.badge-live { background: rgba(34, 197, 94, 0.15); color: var(--success); }
.badge-progress { background: rgba(59, 130, 246, 0.15); color: var(--primary); }
.badge-planned { background: rgba(148, 163, 184, 0.15); color: var(--text-muted); }
.badge-shipping { background: rgba(251, 191, 36, 0.15); color: #fbbf24; }

.who-section {
    max-width: var(--container);
    margin: 0 auto;
    padding: 4rem 2.5rem;
    border-top: 1px solid var(--border);
}
.who-section h2 { text-align: center; font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 2.5rem; }
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.who-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.8rem; text-align: center;
}
.who-card i { color: var(--primary); font-size: 1.4rem; margin-bottom: 1rem; display: block; }
.who-card h3 { font-size: 0.95rem; margin-bottom: 0.5rem; font-weight: 600; }
.who-card p { color: var(--text-muted); font-size: 0.85rem; }

.social-proof-section {
    max-width: var(--container);
    margin: 0 auto;
    padding: 3rem 2.5rem;
    border-top: 1px solid var(--border);
}
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.proof-item {
    text-align: center; padding: 1.5rem;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius);
}
.proof-item i { color: var(--primary); font-size: 1.2rem; margin-bottom: 0.8rem; display: block; }
.proof-item p { color: var(--text-muted); font-size: 0.875rem; font-weight: 500; }

.step-arrow { display: flex; align-items: center; justify-content: center; color: var(--text-dim); font-size: 1.2rem; }

.policy-toggle { display: flex; align-items: center; gap: 0.5rem; }
.policy-toggle label { font-size: 0.85rem; color: var(--text-muted); margin-right: 0.3rem; }
.mode-btn {
    background: var(--bg-surface); border: 1px solid var(--border);
    color: var(--text-muted); padding: 6px 16px; border-radius: 6px;
    font-size: 0.85rem; font-weight: 500; cursor: pointer; transition: 0.15s;
}
.mode-btn.active { background: var(--primary); color: white; border-color: var(--primary); }
.mode-btn:hover { border-color: var(--primary); }

.waitlist-form {
    max-width: 480px; margin: 0 auto;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 2.5rem;
}
.waitlist-form h1 { font-size: 1.5rem; margin-bottom: 0.5rem; }

.blog-list { margin-top: 2rem; }
.blog-card {
    display: block; background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1rem;
    transition: 0.15s; text-decoration: none; color: var(--text);
}
.blog-card:hover { border-color: var(--primary); color: var(--text); }
.blog-card h2 { font-size: 1.15rem; margin-bottom: 0.4rem; font-weight: 600; }
.blog-card p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }
.blog-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.5rem; }
.blog-tag {
    display: inline-block; padding: 2px 10px; border-radius: 50px;
    font-size: 0.7rem; font-weight: 600; text-transform: uppercase;
    background: rgba(59, 130, 246, 0.15); color: var(--primary);
}
.blog-date { font-size: 0.8rem; color: var(--text-dim); }

.blog-body { color: var(--text-muted); line-height: 1.8; font-size: 0.95rem; }
.blog-body h2 { color: var(--text); font-size: 1.3rem; margin: 2rem 0 0.8rem; font-weight: 600; }
.blog-body h3 { color: var(--text); font-size: 1.1rem; margin: 1.5rem 0 0.5rem; font-weight: 600; }
.blog-body p { margin-bottom: 1rem; }
.blog-body ul, .blog-body ol { margin: 0.5rem 0 1rem 1.5rem; }
.blog-body li { margin-bottom: 0.3rem; }
.blog-body code {
    background: var(--bg-surface); padding: 2px 6px; border-radius: 4px;
    font-family: 'SF Mono', 'Fira Code', monospace; font-size: 0.85em;
}
.blog-body pre {
    background: var(--bg-surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1rem; overflow-x: auto;
    margin-bottom: 1rem;
}
.blog-body table {
    width: 100%; border-collapse: collapse; margin: 1rem 0;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
}
.blog-body th, .blog-body td {
    padding: 8px 12px; text-align: left; border-bottom: 1px solid var(--border);
    font-size: 0.85rem;
}
.blog-body th { background: var(--bg-surface); color: var(--text-muted); font-size: 0.75rem; text-transform: uppercase; }
.blog-body strong { color: var(--text); }
.blog-body a { color: var(--primary); }

.back-link {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--text-dim); font-size: 0.85rem; margin-bottom: 1rem;
}
.back-link:hover { color: var(--primary); }

.post-cta {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 2rem; margin-top: 3rem;
}
.post-cta h3 { font-size: 1.1rem; margin-bottom: 0.5rem; font-weight: 600; }
.post-cta p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; }

.faq-section {
    max-width: 750px; margin: 0 auto; padding: 2rem 0;
}
.faq-section h2 { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 2rem; text-align: center; }
.faq-list { display: flex; flex-direction: column; gap: 0.5rem; }
.faq-item {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden;
}
.faq-question {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.2rem 1.5rem; cursor: pointer; user-select: none;
    transition: background 0.15s;
}
.faq-question:hover { background: var(--bg-surface); }
.faq-question h4 { font-size: 0.95rem; font-weight: 600; margin: 0; }
.faq-arrow {
    color: var(--text-dim); font-size: 0.75rem; flex-shrink: 0; margin-left: 1rem;
    transition: transform 0.25s ease;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}
.faq-item.open .faq-answer {
    max-height: 200px; padding: 0 1.5rem 1.2rem;
}
.faq-answer p { color: var(--text-muted); font-size: 0.9rem; margin: 0; line-height: 1.6; }
.faq-item a { color: var(--primary); }

@media (max-width: 1024px) {
    .navbar { padding: 0 1.5rem; }
    .nav-container { position: relative; }
    .hamburger { display: flex; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: var(--bg);
        flex-direction: column;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid var(--border);
        gap: 0.25rem;
        z-index: 100;
        box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    }
    .nav-menu.active { display: flex; }
    .nav-menu li { width: 100%; }
    .nav-menu a {
        display: block;
        padding: 10px 0;
        font-size: 1rem;
        border-bottom: 1px solid var(--border);
    }
    .nav-menu li:last-child a,
    .nav-menu li:last-child button { border-bottom: none; }
    .nav-cta {
        display: inline-block;
        text-align: center;
        margin-top: 0.5rem;
        border-bottom: none !important;
    }
    .theme-toggle { width: 100%; justify-content: center; margin-top: 0.5rem; }
}
@media (max-width: 768px) {
    .hero { padding: 3.5rem 1.5rem 3rem; }
    .hero h1 { font-size: 2.25rem; max-width: none; }
    .subhead { font-size: 1rem; }
    .nav-logo-img { height: 34px; width: 34px; }
    .proof-bullets { flex-direction: column; gap: 0.8rem; align-items: center; }
    .steps { grid-template-columns: 1fr; }
    .step-arrow { display: none; }
    .threat-grid { grid-template-columns: 1fr; }
    .who-grid { grid-template-columns: 1fr; }
    .proof-grid { grid-template-columns: 1fr; }
    .summary-panel { grid-template-columns: repeat(2, 1fr); }
    .plans { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
    .trust-grid { grid-template-columns: 1fr; }
    .event-table { font-size: 0.8rem; }
    .event-table th, .event-table td { padding: 8px 10px; }
    .threats-section, .who-section, .how-section, .social-proof-section { padding-left: 1.5rem; padding-right: 1.5rem; }
    .cta-section { padding-left: 1.5rem; padding-right: 1.5rem; }
}

.theme-toggle {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-muted);
    cursor: pointer;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s, border-color 0.15s;
    white-space: nowrap;
}
.theme-toggle:hover { color: var(--text); border-color: var(--text-muted); }
.theme-toggle .theme-icon { font-size: 0.85rem; }

[data-theme="light"] .nav-logo-img,
[data-theme="light"] .footer-logo-img {
    filter: brightness(0.8) saturate(1.2);
}
[data-theme="light"] .nav-menu a:hover { color: var(--text); }
[data-theme="light"] .hamburger span { background: var(--text); }
[data-theme="light"] .nav-menu {
    background: var(--bg);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.faq-question:focus-visible,
.btn:focus-visible,
.nav-cta:focus-visible,
.theme-toggle:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    z-index: 10000;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}
.skip-link:focus { top: 1rem; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .faq-answer { transition: none; }
    .btn-primary:hover { transform: none; }
}

.waitlist-success-detail {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    line-height: 1.5;
}
.waitlist-success-timeline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 8px 14px;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.waitlist-success-timeline i { color: var(--primary); }
