:root {
    --bg: #FAFAF7;
    --bg-2: #F2F2EC;
    --bg-3: #E9E9E0;
    --ink: #0E1116;
    --ink-2: #23262C;
    --muted: #6B6B66;
    --muted-2: #9A9A92;
    --line: #E5E5DB;
    --line-2: #D8D8CC;
    --card: #FFFFFF;

    --accent: oklch(0.72 0.17 145);
    --accent-ink: oklch(0.32 0.09 145);
    --accent-soft: oklch(0.96 0.05 145);
    --accent-line: oklch(0.88 0.10 145);

    --danger: oklch(0.62 0.22 28);
    --danger-soft: oklch(0.96 0.06 28);
    --danger-line: oklch(0.88 0.12 28);
    --warn: oklch(0.78 0.15 75);

    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 0 rgba(14,17,22,0.04), 0 1px 2px rgba(14,17,22,0.04);
    --shadow-md: 0 1px 0 rgba(14,17,22,0.04), 0 12px 32px -12px rgba(14,17,22,0.12);
    --shadow-lg: 0 1px 0 rgba(14,17,22,0.04), 0 30px 80px -20px rgba(14,17,22,0.18);

    --font-display: 'Inter Tight', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  }

  [data-accent="amber"]  { --accent: oklch(0.78 0.17 75);  --accent-ink: oklch(0.38 0.10 75);  --accent-soft: oklch(0.96 0.05 75);  --accent-line: oklch(0.88 0.10 75); }
  [data-accent="cyan"]   { --accent: oklch(0.72 0.14 215); --accent-ink: oklch(0.35 0.09 215); --accent-soft: oklch(0.96 0.04 215); --accent-line: oklch(0.87 0.08 215); }
  [data-accent="violet"] { --accent: oklch(0.65 0.19 300); --accent-ink: oklch(0.32 0.11 300); --accent-soft: oklch(0.96 0.05 300); --accent-line: oklch(0.86 0.09 300); }

  [data-theme="dark"] {
    --bg: #0D0F13;
    --bg-2: #14171D;
    --bg-3: #1B1F26;
    --ink: #EEF0F3;
    --ink-2: #D3D6DC;
    --muted: #8A8F99;
    --muted-2: #60656E;
    --line: #252932;
    --line-2: #30353F;
    --card: #141820;
    --accent-soft: color-mix(in oklab, var(--accent) 14%, transparent);
    --accent-line: color-mix(in oklab, var(--accent) 32%, transparent);
    --danger-soft: color-mix(in oklab, var(--danger) 14%, transparent);
    --danger-line: color-mix(in oklab, var(--danger) 32%, transparent);
    --shadow-md: 0 1px 0 rgba(0,0,0,0.4), 0 12px 32px -12px rgba(0,0,0,0.6);
    --shadow-lg: 0 1px 0 rgba(0,0,0,0.4), 0 30px 80px -20px rgba(0,0,0,0.7);
  }

  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; color: inherit; cursor: pointer; }
  ::selection { background: var(--accent); color: var(--ink); }

  .container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
  @media (max-width: 720px) { .container { padding: 0 20px; } }

  /* ---------- NAV ---------- */
  .nav {
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    background: color-mix(in oklab, var(--bg) 82%, transparent);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease;
  }
  .nav.scrolled { border-bottom-color: var(--line); }
  .nav-inner {
    display: flex; align-items: center; gap: 24px;
    height: 64px;
  }
  .brand {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.01em;
    font-size: 18px;
  }
  .brand-mark {
    width: 26px; height: 26px; border-radius: 8px;
    background: var(--ink);
    display: grid; place-items: center;
    color: var(--accent);
    font-family: var(--font-mono); font-size: 10px; font-weight: 600;
    letter-spacing: 0;
    position: relative;
  }
  .brand-mark::after {
    content: ''; position: absolute; inset: auto 4px 4px auto;
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 2px var(--ink);
  }
  .nav-links {
    display: flex; gap: 26px;
    font-size: 14px; color: var(--ink-2);
  }
  .nav-links a { transition: color .15s ease; }
  .nav-links a:hover { color: var(--ink); }
  .nav-spacer { flex: 1; }
  .nav-cta { display: flex; gap: 8px; align-items: center; }
  @media (max-width: 820px) { .nav-links { display: none; } }

  /* ---------- BUTTONS ---------- */
  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    height: 40px; padding: 0 16px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-family: var(--font-body);
    font-size: 14px; font-weight: 500;
    transition: all .15s ease;
    white-space: nowrap;
    background: transparent; color: var(--ink);
  }
  .btn-primary {
    background: var(--ink); color: var(--bg);
    border-color: var(--ink);
  }
  .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -8px var(--ink); }
  .btn-ghost { color: var(--ink-2); }
  .btn-ghost:hover { color: var(--ink); background: var(--bg-2); }
  .btn-outline { border-color: var(--line-2); color: var(--ink); }
  .btn-outline:hover { background: var(--bg-2); }
  .btn-lg { height: 48px; padding: 0 22px; font-size: 15px; border-radius: 12px; }
  .btn svg { flex-shrink: 0; }

  /* ---------- HERO ---------- */
  .hero { padding: 56px 0 72px; position: relative; overflow: hidden; }
  .hero-grid {
    display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px;
    align-items: center;
  }
  @media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } }

  .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 5px 10px 5px 8px;
    border: 1px solid var(--line);
    background: var(--card);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 11px; font-weight: 500;
    color: var(--muted);
    text-transform: uppercase; letter-spacing: 0.04em;
  }
  .eyebrow .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 22%, transparent);
    animation: pulse 2s ease-in-out infinite;
  }
  @keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 22%, transparent); }
    50%      { box-shadow: 0 0 0 6px color-mix(in oklab, var(--accent) 8%, transparent); }
  }

  h1.hero-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(40px, 5.4vw, 68px);
    line-height: 1.02;
    letter-spacing: -0.03em;
    margin: 20px 0 18px;
    text-wrap: balance;
  }
  .hero-title .mark, .page-hero h1 .mark {
    background: linear-gradient(180deg, transparent 60%, color-mix(in oklab, var(--accent) 45%, transparent) 60%);
    padding: 0 2px;
  }
  .hero-title .strike {
    position: relative; white-space: nowrap;
  }
  .hero-title .strike::after {
    content: ''; position: absolute;
    left: -2%; right: -2%; top: 52%;
    height: 6px; background: var(--danger);
    transform: rotate(-2deg);
    border-radius: 4px;
  }
  .hero-sub {
    font-size: 18px; color: var(--muted);
    max-width: 520px; margin: 0 0 28px;
    text-wrap: pretty;
  }
  .hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
  .hero-meta {
    display: flex; gap: 20px; align-items: center;
    color: var(--muted); font-size: 13px;
    flex-wrap: wrap;
  }
  .hero-meta .check { color: var(--accent-ink); }

  /* ---------- DEMO CARD (live phish catch) ---------- */
  .demo {
    position: relative;
    border-radius: var(--radius-lg);
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
  }
  .demo-head {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 16px;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 11px; color: var(--muted);
    letter-spacing: 0.03em;
  }
  .demo-head .lights { display: flex; gap: 6px; margin-right: 4px; }
  .demo-head .lights span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
  .demo-head .tag {
    margin-left: auto;
    padding: 3px 8px; border-radius: 6px;
    background: var(--bg-3);
    text-transform: uppercase; font-size: 10px;
  }

  .demo-body { padding: 18px; display: grid; gap: 14px; }

  .email-row {
    display: grid; grid-template-columns: 36px 1fr auto; gap: 12px;
    align-items: center;
    padding: 14px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--card);
    transition: all .3s ease;
    position: relative;
  }
  .email-row.caught {
    border-color: var(--danger-line);
    background: var(--danger-soft);
  }
  .email-row .avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: linear-gradient(135deg, #E5E5DB, #D8D8CC);
    display: grid; place-items: center;
    font-family: var(--font-display); font-weight: 600; color: var(--muted);
    font-size: 13px;
  }
  .email-row .sender { font-weight: 600; font-size: 14px; color: var(--ink); }
  .email-row .subject { font-size: 13px; color: var(--muted); margin-top: 2px; }
  .email-row .subject b { color: var(--ink-2); font-weight: 500; }
  .email-row .time { font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); }

  .email-row .flag {
    position: absolute; inset: -1px auto -1px -1px;
    width: 4px; border-radius: 4px 0 0 4px;
    background: transparent;
    transition: background .3s ease;
  }
  .email-row.caught .flag { background: var(--danger); }

  .verdict {
    border-radius: 14px;
    padding: 16px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    display: grid; gap: 14px;
    opacity: 0; transform: translateY(6px);
    transition: opacity .35s ease, transform .35s ease;
  }
  .verdict.show { opacity: 1; transform: none; }

  .verdict-head {
    display: flex; align-items: center; gap: 10px;
  }
  .verdict-head .pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 10px; border-radius: 999px;
    background: var(--danger); color: #fff;
    font-family: var(--font-mono); font-size: 11px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.04em;
  }
  .verdict-head .score {
    margin-left: auto;
    font-family: var(--font-mono); font-size: 12px; color: var(--muted);
  }
  .verdict-head .score b { color: var(--danger); font-weight: 600; }

  .verdict-title {
    font-family: var(--font-display);
    font-size: 18px; font-weight: 600;
    letter-spacing: -0.01em;
  }

  .analyzers {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  }
  .analyzer {
    display: flex; align-items: center; gap: 8px;
    padding: 9px 10px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 12px;
    font-family: var(--font-mono);
  }
  .analyzer .an-name { color: var(--muted); }
  .analyzer .an-val { margin-left: auto; color: var(--ink); font-weight: 500; }
  .analyzer.bad .an-val { color: var(--danger); }
  .analyzer.ok .an-val { color: var(--accent-ink); }
  .analyzer .bar {
    width: 100%; height: 2px; background: var(--line);
    position: relative;
  }
  .analyzer-row {
    display: grid; grid-template-columns: 1fr auto; gap: 8px;
    padding: 9px 12px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-family: var(--font-mono); font-size: 11.5px;
  }
  .analyzer-row .label { display: flex; align-items: center; gap: 8px; color: var(--muted); }
  .analyzer-row .label .tick { color: var(--accent-ink); }
  .analyzer-row .label .x { color: var(--danger); }
  .analyzer-row .val { color: var(--ink); font-weight: 500; }
  .analyzer-row.bad .val { color: var(--danger); }

  .signals { display: flex; flex-wrap: wrap; gap: 6px; }
  .sig {
    font-family: var(--font-mono); font-size: 10.5px;
    padding: 4px 8px; border-radius: 6px;
    background: color-mix(in oklab, var(--danger) 10%, transparent);
    color: var(--danger);
    border: 1px solid color-mix(in oklab, var(--danger) 22%, transparent);
  }

  .verdict-actions { display: flex; gap: 8px; }
  .verdict-actions .btn-primary { background: var(--ink); color: var(--bg); }
  .verdict-actions .btn-outline { flex: 1; justify-content: center; }

  /* SCAN LINE animation over email row before verdict */
  .scanline {
    position: absolute; inset: 0; pointer-events: none;
    border-radius: inherit; overflow: hidden;
  }
  .scanline::before {
    content: ''; position: absolute;
    left: -10%; right: -10%; top: -2px; height: 40px;
    background: linear-gradient(180deg, transparent 0%, color-mix(in oklab, var(--accent) 25%, transparent) 50%, transparent 100%);
    animation: scan 1.6s cubic-bezier(.4,0,.2,1) forwards;
  }
  @keyframes scan {
    0% { transform: translateY(-20px); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(80px); opacity: 0; }
  }

  /* floating mini cards behind demo */
  .demo-floats {
    position: absolute; inset: 0; pointer-events: none; z-index: -1;
  }

  /* ---------- LOGO WALL ---------- */
  .logo-wall {
    padding: 40px 0 24px;
    border-top: 1px dashed var(--line);
  }
  .logo-wall-label {
    font-family: var(--font-mono);
    font-size: 11px; color: var(--muted-2);
    text-transform: uppercase; letter-spacing: 0.08em;
    text-align: center; margin-bottom: 22px;
  }
  .logos {
    display: grid; grid-template-columns: repeat(6, 1fr);
    gap: 20px; align-items: center;
    opacity: 0.7;
  }
  .logos > div {
    height: 26px;
    color: var(--muted);
    font-family: var(--font-display);
    font-weight: 600; font-size: 18px;
    letter-spacing: -0.02em;
    display: flex; align-items: center; justify-content: center;
    filter: saturate(0);
  }
  @media (max-width: 900px) { .logos { grid-template-columns: repeat(3, 1fr); gap: 16px; } }

  /* ---------- SECTION HEADER ---------- */
  section { padding: 80px 0; }
  .section-head {
    max-width: 700px; margin: 0 auto 48px; text-align: center;
  }
  .section-eyebrow {
    font-family: var(--font-mono); font-size: 11px; color: var(--accent-ink);
    text-transform: uppercase; letter-spacing: 0.12em;
    margin-bottom: 14px;
  }
  .section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.05; letter-spacing: -0.025em;
    font-weight: 700;
    margin: 0 0 14px;
    text-wrap: balance;
  }
  .section-sub {
    font-size: 17px; color: var(--muted);
    margin: 0;
    text-wrap: pretty;
  }

  /* ---------- 3 SURFACES ---------- */
  .surfaces {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  }
  @media (max-width: 900px) { .surfaces { grid-template-columns: 1fr; } }
  .surface {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--card);
    padding: 24px;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    display: flex; flex-direction: column;
    overflow: hidden;
    position: relative;
  }
  .surface:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--line-2);
  }
  .surface-preview {
    height: 180px; margin: -24px -24px 20px; padding: 24px;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
  }
  .surface-name {
    font-family: var(--font-mono);
    font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--muted); margin-bottom: 6px;
  }
  .surface-title {
    font-family: var(--font-display);
    font-size: 22px; font-weight: 600; letter-spacing: -0.02em;
    margin: 0 0 8px;
  }
  .surface-desc { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
  .surface-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
  .surface-list li { font-size: 13px; color: var(--ink-2); display: flex; align-items: baseline; gap: 8px; }
  .surface-list li::before {
    content: ''; width: 4px; height: 4px; border-radius: 50%;
    background: var(--accent); flex-shrink: 0; transform: translateY(-2px);
  }

  /* ---------- CASCADE PIPELINE ---------- */
  .pipeline {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    position: relative;
  }
  @media (max-width: 900px) { .pipeline { grid-template-columns: 1fr 1fr; } }
  .stage {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px;
    position: relative;
  }
  .stage-num {
    font-family: var(--font-mono); font-size: 10px;
    color: var(--muted); letter-spacing: 0.12em;
    margin-bottom: 10px;
  }
  .stage-title { font-family: var(--font-display); font-weight: 600; font-size: 16px; margin-bottom: 4px; letter-spacing: -0.01em; }
  .stage-desc { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
  .stage-badge {
    position: absolute; top: 14px; right: 14px;
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-ink);
    display: grid; place-items: center;
    font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  }
  .pipeline-note {
    text-align: center; margin-top: 20px;
    font-family: var(--font-mono); font-size: 12px; color: var(--muted);
  }
  .pipeline-note b { color: var(--ink); font-weight: 500; }

  /* ---------- FEATURES ---------- */
  .features {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  }
  @media (max-width: 1000px) { .features { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 600px)  { .features { grid-template-columns: 1fr; } }
  .feat {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--card);
    transition: all .2s ease;
  }
  .feat:hover { border-color: var(--line-2); transform: translateY(-2px); }
  .feat-icon {
    width: 32px; height: 32px; border-radius: 8px;
    background: var(--accent-soft);
    color: var(--accent-ink);
    display: grid; place-items: center;
    margin-bottom: 14px;
  }
  .feat-title {
    font-family: var(--font-display); font-weight: 600; font-size: 16px;
    letter-spacing: -0.01em; margin: 0 0 6px;
  }
  .feat-desc { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.5; }

  /* ---------- PRICING ---------- */
  .pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
  @media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }
  .plan {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex; flex-direction: column;
    position: relative;
  }
  .plan.featured {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--bg);
    margin-top: 12px;
  }
  .plan.featured .plan-price small,
  .plan.featured .plan-desc { color: color-mix(in oklab, var(--bg) 68%, transparent); }
  .plan-name {
    font-family: var(--font-mono); font-size: 11px;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--muted); margin-bottom: 14px;
  }
  .plan.featured .plan-name { color: var(--accent); }
  .plan-price {
    font-family: var(--font-display);
    font-size: 48px; font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1; display: flex; align-items: baseline; gap: 6px;
  }
  .plan-price small {
    font-size: 14px; color: var(--muted); font-weight: 500;
  }
  .plan-desc { color: var(--muted); font-size: 14px; margin: 10px 0 22px; }
  .plan-cta { width: 100%; justify-content: center; }
  .plan.featured .plan-cta {
    background: var(--accent); color: var(--ink); border-color: var(--accent);
  }
  .plan ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
  .plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
  .plan.featured li { color: color-mix(in oklab, var(--bg) 88%, transparent); }
  .plan li svg { flex-shrink: 0; color: var(--accent-ink); margin-top: 2px; }
  .plan.featured li svg { color: var(--accent); }
  .plan .ribbon {
    position: absolute; top: -12px; right: 22px; z-index: 2;
    background: var(--accent); color: var(--ink);
    padding: 5px 12px; border-radius: 999px;
    font-family: var(--font-mono); font-size: 10px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.08em;
    box-shadow: 0 4px 12px -4px color-mix(in oklab, var(--accent) 60%, transparent);
  }

  /* ---------- TRUST ---------- */
  .trust {
    background: var(--bg-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .trust-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
  @media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr; } }
  .trust-facts { display: grid; gap: 14px; }
  .trust-fact {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .trust-fact:last-child { border-bottom: 0; }
  .trust-fact .ico {
    width: 28px; height: 28px; border-radius: 8px;
    background: var(--card); border: 1px solid var(--line);
    display: grid; place-items: center; color: var(--accent-ink);
    flex-shrink: 0;
  }
  .trust-fact h4 { margin: 0 0 2px; font-family: var(--font-display); font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
  .trust-fact p { margin: 0; color: var(--muted); font-size: 13.5px; }

  /* ---------- FAQ ---------- */
  .faq { max-width: 780px; margin: 0 auto; }
  .qa {
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
  }
  .qa summary {
    list-style: none;
    display: flex; align-items: center; gap: 16px;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 18px; font-weight: 500; letter-spacing: -0.01em;
  }
  .qa summary::-webkit-details-marker { display: none; }
  .qa summary::after {
    content: '+'; margin-left: auto;
    font-family: var(--font-mono); font-size: 22px; color: var(--muted);
    transition: transform .2s ease;
  }
  .qa[open] summary::after { content: '−'; }
  .qa p { color: var(--muted); font-size: 15px; margin: 12px 0 0; max-width: 60ch; }

  /* ---------- CTA BANNER ---------- */
  .cta-banner {
    background: var(--ink); color: var(--bg);
    border-radius: 22px;
    padding: 56px 48px;
    text-align: center;
    position: relative; overflow: hidden;
  }
  .cta-banner::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 20%, color-mix(in oklab, var(--accent) 50%, transparent), transparent 50%);
    opacity: 0.35;
  }
  .cta-banner h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 40px); line-height: 1.1;
    font-weight: 700; letter-spacing: -0.025em;
    margin: 0 0 12px; position: relative;
    text-wrap: balance;
  }
  .cta-banner p { color: color-mix(in oklab, var(--bg) 75%, transparent); margin: 0 auto 24px; max-width: 520px; position: relative; }
  .cta-banner .btns { display: inline-flex; gap: 10px; position: relative; flex-wrap: wrap; justify-content: center; }
  .cta-banner .btn-primary { background: var(--accent); color: var(--ink); border-color: var(--accent); }
  .cta-banner .btn-ghost { color: var(--bg); }
  .cta-banner .btn-ghost:hover { background: color-mix(in oklab, var(--bg) 14%, transparent); color: var(--bg); }

  /* ---------- FOOTER ---------- */
  footer { padding: 56px 0 32px; border-top: 1px solid var(--line); }
  .foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
  @media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
  .foot-brand p { color: var(--muted); font-size: 13.5px; max-width: 320px; margin: 12px 0 16px; }
  .foot h5 { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 0 0 14px; font-weight: 500; }
  .foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
  .foot a { color: var(--ink-2); font-size: 14px; transition: color .15s; }
  .foot a:hover { color: var(--ink); }
  .foot-bottom {
    margin-top: 40px; padding-top: 20px;
    border-top: 1px solid var(--line);
    display: flex; justify-content: space-between; align-items: center;
    font-family: var(--font-mono); font-size: 12px; color: var(--muted);
    flex-wrap: wrap; gap: 12px;
  }

  /* ---------- TWEAKS PANEL ---------- */
  .tweaks {
    position: fixed; right: 20px; bottom: 20px; z-index: 100;
    width: 280px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    padding: 16px;
    font-family: var(--font-body);
    display: none;
  }
  .tweaks.active { display: block; }
  .tweaks h6 {
    margin: 0 0 12px; font-family: var(--font-mono); font-size: 11px;
    text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted);
    display: flex; align-items: center; gap: 8px;
  }
  .tweaks h6 .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent); animation: pulse 2s ease-in-out infinite;
  }
  .tweaks-row { margin-bottom: 12px; }
  .tweaks-row:last-child { margin-bottom: 0; }
  .tweaks-label { font-size: 12px; color: var(--muted); margin-bottom: 6px; display: block; }
  .tweaks-options { display: flex; gap: 4px; flex-wrap: wrap; }
  .tweaks-opt {
    padding: 6px 10px; border-radius: 7px;
    background: var(--bg-2); border: 1px solid var(--line);
    font-size: 12px; color: var(--ink-2);
    cursor: pointer; transition: all .15s;
  }
  .tweaks-opt:hover { border-color: var(--line-2); }
  .tweaks-opt.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
  .tweaks-swatch {
    width: 26px; height: 26px; border-radius: 7px;
    cursor: pointer; border: 2px solid transparent;
    transition: border-color .15s;
  }
  .tweaks-swatch.active { border-color: var(--ink); }

  /* micro-fade for delayed reveals */
  .fade-up { opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .6s ease; }
  .fade-up.in { opacity: 1; transform: none; }


/* ========== PAGE-SPECIFIC ========== */

/* Sub-page hero (smaller than home) */
.page-hero {
  padding: 72px 0 48px;
  text-align: center;
  position: relative;
}
.page-hero .eyebrow { margin: 0 auto; }
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 18px auto 16px;
  max-width: 900px;
  text-wrap: balance;
}
.page-hero .lede {
  font-size: 19px;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 28px;
  text-wrap: pretty;
}
.page-hero .cta-row { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* Split rows (alternating image/text) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin: 96px 0;
}
.split.reverse > .split-visual { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; margin: 56px 0; }
  .split.reverse > .split-visual { order: 0; } }
.split-kicker {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--accent-ink);
  margin-bottom: 14px;
}
.split h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.08;
  margin: 0 0 14px;
  text-wrap: balance;
}
.split p.lede {
  color: var(--muted); font-size: 16.5px; margin: 0 0 18px;
  text-wrap: pretty;
}
.split ul.bullets { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.split ul.bullets li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14.5px; color: var(--ink-2);
}
.split ul.bullets li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0; margin-top: 8px;
}

.split-visual {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  min-height: 340px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.split-visual.dark {
  background: var(--ink); color: var(--bg);
  border-color: var(--ink);
}

/* Stat strip */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  overflow: hidden;
}
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }
.stat {
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats > .stat:nth-child(4n) { border-right: 0; }
.stats > .stat:nth-last-child(-n+4) { border-bottom: 0; }
@media (max-width: 760px) {
  .stats > .stat { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .stats > .stat:nth-child(2n) { border-right: 0; }
  .stats > .stat:nth-last-child(-n+2) { border-bottom: 0; }
}
.stat-num {
  font-family: var(--font-display);
  font-size: 44px; font-weight: 700; letter-spacing: -0.03em;
  line-height: 1;
}
.stat-num small { font-size: 20px; color: var(--muted); font-weight: 500; margin-left: 4px; letter-spacing: 0; }
.stat-label { color: var(--muted); font-size: 13px; margin-top: 8px; }

/* Persona cards */
.personas {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
@media (max-width: 900px) { .personas { grid-template-columns: 1fr; } }
.persona {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative; overflow: hidden;
  transition: transform .25s, border-color .25s;
}
.persona:hover { transform: translateY(-3px); border-color: var(--line-2); }
.persona-tag {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted);
}
.persona h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 22px; letter-spacing: -0.02em; margin: 0;
}
.persona p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.55; }
.persona ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.persona ul li {
  font-size: 13px; color: var(--ink-2);
  display: flex; gap: 8px; align-items: baseline;
}
.persona ul li::before { content: '→'; color: var(--accent-ink); font-family: var(--font-mono); flex-shrink: 0; }
.persona-quote {
  margin-top: auto;
  padding: 14px;
  background: var(--bg-2);
  border-radius: 10px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.55;
  font-style: italic;
}
.persona-quote cite {
  display: block; margin-top: 8px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--muted); font-style: normal;
  letter-spacing: 0.03em;
}

/* Feature index (features page) */
.feat-index {
  display: grid; grid-template-columns: 220px 1fr; gap: 32px;
  margin: 48px 0 0;
}
@media (max-width: 820px) { .feat-index { grid-template-columns: 1fr; } }
.feat-toc {
  position: sticky; top: 80px;
  align-self: flex-start;
  display: grid; gap: 2px;
  font-family: var(--font-mono); font-size: 12px;
}
.feat-toc a {
  padding: 7px 10px; border-radius: 7px;
  color: var(--muted);
  transition: background .15s, color .15s;
}
.feat-toc a:hover, .feat-toc a.active { background: var(--bg-2); color: var(--ink); }

.feat-block {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
.feat-block:first-child { border-top: 0; padding-top: 0; }
.feat-block h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 28px; letter-spacing: -0.02em; margin: 0;
}
.feat-block .feat-desc-lg {
  color: var(--muted); font-size: 16px; margin: 0; max-width: 640px;
  text-wrap: pretty;
}
.feat-items {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 4px;
}
@media (max-width: 680px) { .feat-items { grid-template-columns: 1fr; } }
.feat-item {
  padding: 16px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--card);
  display: grid; gap: 4px;
}
.feat-item h4 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 15px; margin: 0; letter-spacing: -0.01em;
}
.feat-item p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.feat-item code {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--accent-ink);
  background: var(--accent-soft);
  padding: 2px 6px; border-radius: 4px;
}

/* Pricing page specific additions */
.billing-toggle {
  display: inline-flex; background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  font-family: var(--font-mono); font-size: 12px;
  margin: 0 auto 36px;
}
.billing-toggle button {
  padding: 8px 18px;
  border: 0; background: transparent;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  transition: all .15s;
}
.billing-toggle button.active {
  background: var(--ink); color: var(--bg);
}
.billing-toggle .save {
  display: inline-block; margin-left: 6px;
  padding: 1px 6px; border-radius: 4px;
  background: var(--accent); color: var(--ink);
  font-weight: 600; font-size: 10px;
}

.price-compare {
  margin-top: 72px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card);
}
.price-compare table { width: 100%; border-collapse: collapse; font-size: 14px; }
.price-compare th, .price-compare td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.price-compare thead th {
  background: var(--bg-2);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 500;
}
.price-compare th:first-child, .price-compare td:first-child { width: 38%; }
.price-compare td:not(:first-child) { text-align: center; }
.price-compare tr.cat td {
  background: var(--bg-3);
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-2); font-weight: 500;
  padding: 10px 18px;
}
.price-compare .yes { color: var(--accent-ink); font-weight: 600; }
.price-compare .no  { color: var(--muted-2); }
.price-compare .partial { color: var(--warn); font-weight: 600; }

/* Section padding tighten */
section.tight { padding: 56px 0; }
section.loose { padding: 96px 0; }

/* Quote */
.big-quote {
  max-width: 860px; margin: 0 auto;
  padding: 48px 0; text-align: center;
}
.big-quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0;
  text-wrap: balance;
}
.big-quote cite {
  display: inline-block; margin-top: 20px;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--muted); font-style: normal;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Compact feature grid for solutions "what's included" */
.included {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin-top: 18px;
}
@media (max-width: 800px) { .included { grid-template-columns: 1fr 1fr; } }
.included-tag {
  font-family: var(--font-mono); font-size: 11px;
  padding: 7px 10px; border-radius: 7px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--ink-2);
  display: flex; align-items: center; gap: 6px;
}
.included-tag::before {
  content: '✓'; color: var(--accent-ink); font-weight: 700; flex-shrink: 0;
}
