/* ============================================================
   Patternix — Landing styles
   Design system: "Signal" (dark navy + cyan/violet)
   ============================================================ */

/* ---- Tokens ---- */
:root {
  /* palette: Signal (default) */
  --bg:        #0B0F1A;
  --surface:   #111827;
  --surface-2: #161F31;
  --border:    #223047;
  --border-2:  #2C3A52;
  --primary:   #22D3EE;   /* cyan */
  --secondary: #A78BFA;   /* violet */
  --green:     #22C55E;
  --amber:     #F59E0B;
  --text:      #E5E7EB;
  --muted:     #94A3B8;
  --muted-2:   #64748B;
  --accent:    var(--primary);
  --on-accent: #04121A;

  /* type */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* rhythm */
  --container: 1200px;
  --radius: 14px;
  --radius-lg: 22px;
  --gutter: clamp(20px, 5vw, 48px);

  --shadow-card: 0 1px 0 rgba(255,255,255,.03) inset, 0 18px 40px -24px rgba(0,0,0,.8);
  --glow: 0 0 0 1px color-mix(in oklab, var(--accent) 40%, transparent), 0 0 40px -8px color-mix(in oklab, var(--accent) 55%, transparent);
}

/* ---- Palette variants (Tweaks) ---- */
body[data-palette="studio"] {
  --bg: #FAFAF7; --surface: #FFFFFF; --surface-2: #F4F4EF;
  --border: #E6E5DD; --border-2: #D9D8CE;
  --primary: #1E40AF; --secondary: #F97316;
  --green: #15803D; --amber: #B45309;
  --text: #0F172A; --muted: #5B6577; --muted-2: #8A93A3;
  --on-accent: #FFFFFF;
  --shadow-card: 0 1px 0 rgba(255,255,255,.6) inset, 0 18px 40px -26px rgba(15,23,42,.28);
}
body[data-palette="lab"] {
  --bg: #0A0A0A; --surface: #121212; --surface-2: #181818;
  --border: #262626; --border-2: #333333;
  --primary: #84CC16; --secondary: #D4D4D4;
  --green: #84CC16; --amber: #EAB308;
  --text: #EDEDED; --muted: #8A8A8A; --muted-2: #5E5E5E;
  --on-accent: #0A0A0A;
}

/* ---- Reset ---- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: color-mix(in oklab, var(--accent) 40%, transparent); color: var(--text); }

/* ---- Layout helpers ---- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 11vw, 132px); position: relative; }
.eyebrow {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
  display: inline-flex; align-items: center; gap: 9px;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 2px;
  background: var(--accent); box-shadow: 0 0 12px color-mix(in oklab, var(--accent) 70%, transparent);
}
.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 { font-size: clamp(30px, 4.4vw, 46px); margin-top: 18px; }
.section-head p { color: var(--muted); font-size: 18px; margin-top: 18px; max-width: 60ch; }

/* ---- Buttons ---- */
.btn {
  --pad-y: 13px; --pad-x: 22px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  font-family: var(--font-body); font-size: 15.5px; font-weight: 560;
  border-radius: 11px; cursor: pointer; border: 1px solid transparent;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--glow); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-2); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--text); }
.btn-lg { --pad-y: 16px; --pad-x: 28px; font-size: 16.5px; }
.btn svg { width: 17px; height: 17px; }

/* signal pulse — first render only */
.pulse-once { position: relative; }
.pulse-once::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit;
  border: 1px solid var(--accent); opacity: 0;
  animation: pulseOnce 2.6s ease-out 1 .6s;
  pointer-events: none;
}
@keyframes pulseOnce {
  0% { opacity: .9; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.14); }
}

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.nav.scrolled { border-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand .mark { width: 30px; height: 30px; }
.brand .wordmark { font-family: var(--font-display); font-weight: 600; font-size: 21px; letter-spacing: -0.03em; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 14.5px; color: var(--muted); transition: color .15s ease; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ============================================================
   Hero
   ============================================================ */
.hero { padding-top: clamp(54px, 8vw, 96px); padding-bottom: clamp(60px, 9vw, 120px); position: relative; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.hero-copy { max-width: 600px; }
.hero h1 {
  font-size: clamp(40px, 6vw, 70px); font-weight: 600; letter-spacing: -0.035em;
  margin-top: 26px;
}
.hero h1 .accent { color: var(--accent); }
.hero-sub { color: var(--muted); font-size: clamp(17px, 1.4vw, 19px); margin-top: 24px; max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px 34px; margin-top: 42px; }
.hero-meta .stat { display: flex; flex-direction: column; gap: 3px; }
.hero-meta .stat b { font-family: var(--font-display); font-size: 23px; font-weight: 600; letter-spacing: -0.02em; }
.hero-meta .stat span { font-size: 13px; color: var(--muted); font-family: var(--font-mono); letter-spacing: .02em; }

/* backdrop glow */
.hero::before {
  content: ""; position: absolute; z-index: -1; inset: -20% 30% auto -10%;
  height: 560px;
  background: radial-gradient(60% 60% at 30% 30%, color-mix(in oklab, var(--secondary) 22%, transparent), transparent 70%),
              radial-gradient(50% 50% at 70% 40%, color-mix(in oklab, var(--primary) 18%, transparent), transparent 70%);
  filter: blur(20px); opacity: .8; pointer-events: none;
}
body[data-palette="studio"] .hero::before { opacity: .5; }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual-wrap { order: 2; }
}

/* ============================================================
   Hero visual — scan / fingerprint card
   ============================================================ */
.scanner {
  position: relative; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); box-shadow: var(--shadow-card);
  padding: 18px;
}
.scanner-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.scanner-head .tag { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); letter-spacing: .04em; }
.scanner-dots { display: flex; gap: 6px; }
.scanner-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-2); display: block; }
.scanner-dots i:first-child { background: color-mix(in oklab, var(--amber) 80%, var(--border-2)); }

.frame {
  position: relative; aspect-ratio: 4 / 3; border-radius: 13px; overflow: hidden;
  background:
    linear-gradient(125deg, #1b2740, #0e1626 60%),
    var(--surface);
  border: 1px solid var(--border);
}
/* fake creative content */
.frame .subject {
  position: absolute; inset: 0;
  background:
    radial-gradient(40% 55% at 32% 60%, color-mix(in oklab, var(--secondary) 55%, transparent), transparent 70%),
    radial-gradient(50% 50% at 72% 38%, color-mix(in oklab, var(--primary) 45%, transparent), transparent 72%);
  opacity: .55;
}
.frame .ui-caption {
  position: absolute; left: 14px; bottom: 14px; right: 14px;
  font-family: var(--font-mono); font-size: 11px; color: #cdd6e6; letter-spacing: .02em;
  display: flex; justify-content: space-between; opacity: .85;
}
.frame .grid-lines {
  position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 28px 28px; mask-image: radial-gradient(120% 120% at 50% 50%, #000 30%, transparent 75%);
}
/* scan sweep */
.scanline {
  position: absolute; left: 0; right: 0; height: 38%; top: -38%;
  background: linear-gradient(180deg, transparent, color-mix(in oklab, var(--primary) 26%, transparent) 70%, color-mix(in oklab, var(--primary) 60%, transparent));
  border-bottom: 1.5px solid color-mix(in oklab, var(--primary) 90%, white 0%);
  box-shadow: 0 0 26px color-mix(in oklab, var(--primary) 60%, transparent);
  animation: scanSweep 9s cubic-bezier(.5,0,.5,1) infinite;
  mix-blend-mode: screen;
}
body.no-hero-anim .scanline { animation: none; opacity: 0; }
@keyframes scanSweep {
  0%   { top: -38%; }
  42%  { top: 100%; }
  100% { top: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .scanline { animation: none; opacity: 0; }
}

/* fingerprint chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .01em;
  padding: 6px 10px; border-radius: 8px;
  background: var(--surface-2); border: 1px solid var(--border-2); color: var(--text);
  white-space: nowrap;
  opacity: 0; transform: translateY(6px);
  animation: chipIn .5s ease forwards;
}
body.no-hero-anim .chip { opacity: 1; transform: none; animation: none; }
.chip .k { color: var(--muted); }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.chip.is-green .dot { background: var(--green); }
.chip.is-violet .dot { background: var(--secondary); }
.chip.is-amber .dot { background: var(--amber); }
.chip:nth-child(1) { animation-delay: .9s; }
.chip:nth-child(2) { animation-delay: 1.5s; }
.chip:nth-child(3) { animation-delay: 2.1s; }
.chip:nth-child(4) { animation-delay: 2.7s; }
.chip:nth-child(5) { animation-delay: 3.3s; }
@keyframes chipIn { to { opacity: 1; transform: none; } }

.andromeda-badge {
  position: absolute; top: 14px; right: 14px;
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .02em;
  padding: 6px 10px; border-radius: 999px;
  background: color-mix(in oklab, var(--green) 16%, var(--surface));
  border: 1px solid color-mix(in oklab, var(--green) 45%, transparent);
  color: color-mix(in oklab, var(--green) 75%, white);
  white-space: nowrap;
  backdrop-filter: blur(6px);
}
.andromeda-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }

/* ============================================================
   Logos / trust strip
   ============================================================ */
.trust { border-block: 1px solid var(--border); padding-block: 26px; }
.trust-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }
.trust span { font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); letter-spacing: .08em; text-transform: uppercase; }
.trust .pipe { color: var(--text); font-family: var(--font-display); font-weight: 600; font-size: 15px; opacity: .8; }

/* ============================================================
   Problem statement
   ============================================================ */
.problem { text-align: center; }
.problem .container { max-width: 760px; }
.problem .lead { font-family: var(--font-display); font-size: clamp(26px, 3.6vw, 40px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.22; }
.problem .lead em { font-style: normal; color: var(--accent); }
.problem .body { color: var(--muted); font-size: 19px; margin-top: 28px; max-width: 60ch; margin-inline: auto; }
.problem .kicker { font-family: var(--font-display); color: var(--text); font-size: 21px; margin-top: 28px; font-weight: 500; }

/* ============================================================
   How it works
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; position: relative; overflow: hidden;
}
.step .num {
  font-family: var(--font-mono); font-size: 13px; color: var(--accent);
  display: inline-flex; align-items: center; gap: 9px; letter-spacing: .1em;
}
.step .num::before { content: ""; width: 26px; height: 1px; background: var(--accent); opacity: .5; }
.step h3 { font-size: 21px; margin-top: 18px; }
.step p { color: var(--muted); font-size: 15.5px; margin-top: 12px; }
.step .conn { position: absolute; right: -8px; top: 38px; color: var(--border-2); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } .step .conn { display: none; } }

/* ============================================================
   Features grid
   ============================================================ */
.features-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.feature {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
  position: relative; overflow: hidden;
}
.feature:hover { transform: translateY(-3px); border-color: var(--border-2); box-shadow: var(--shadow-card); }
.feature .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--border-2); background: var(--surface-2); color: var(--accent); margin-bottom: 18px; }
.feature .ic svg { width: 21px; height: 21px; }
.feature h3 { font-size: 19px; }
.feature p { color: var(--muted); font-size: 14.8px; margin-top: 11px; }
.feature .demo { margin-top: 18px; }
/* span: first two cards wider */
.feature.col-3 { grid-column: span 3; }
.feature.col-2 { grid-column: span 2; }
@media (max-width: 980px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature.col-3, .feature.col-2 { grid-column: span 1; }
}
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }

/* feature mini-demos */
.state-row { display: flex; flex-wrap: wrap; gap: 6px; }
.state-pill { font-family: var(--font-mono); font-size: 11px; padding: 4px 9px; border-radius: 7px; border: 1px solid var(--border-2); color: var(--muted); }
.state-pill.on { color: var(--on-accent); background: var(--accent); border-color: transparent; }
.state-pill.green { color: var(--green); border-color: color-mix(in oklab, var(--green) 45%, transparent); }
.lifecycle-bar { display: flex; gap: 4px; align-items: flex-end; height: 46px; }
.lifecycle-bar i { flex: 1; border-radius: 3px 3px 0 0; background: var(--border-2); display: block; }
.score-ring { display: flex; align-items: center; gap: 12px; }
.score-ring .val { font-family: var(--font-display); font-size: 30px; font-weight: 600; color: var(--accent); }
.score-ring .lab { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.vec-row { display: flex; gap: 4px; }
.vec-row i { width: 13px; height: 24px; border-radius: 3px; background: linear-gradient(var(--primary), var(--secondary)); opacity: .35; display: block; }
.vec-row i:nth-child(3n) { opacity: .8; }

/* ============================================================
   Personas
   ============================================================ */
.personas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.persona { border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; background: var(--surface); }
.persona .tag { font-family: var(--font-mono); font-size: 11.5px; color: var(--accent); letter-spacing: .08em; text-transform: uppercase; }
.persona h3 { font-size: 21px; margin-top: 14px; }
.persona p { color: var(--muted); font-size: 15.5px; margin-top: 12px; }
@media (max-width: 820px) { .personas { grid-template-columns: 1fr; } }

/* ============================================================
   Comparison
   ============================================================ */
.compare { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.compare-row { display: grid; grid-template-columns: 1fr 1fr; }
.compare-row > div { padding: 20px 26px; border-top: 1px solid var(--border); }
.compare-row:first-child > div { border-top: none; }
.compare-row .lhs { color: var(--muted); font-size: 15.5px; display: flex; align-items: center; gap: 12px; }
.compare-row .lhs::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--muted-2); flex: none; }
.compare-row .rhs { color: var(--text); font-size: 15.8px; font-weight: 500; background: color-mix(in oklab, var(--accent) 6%, var(--surface)); display: flex; align-items: center; gap: 12px; border-left: 1px solid var(--border); }
.compare-row .rhs::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; box-shadow: 0 0 10px var(--accent); }
.compare-head > div { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); padding-block: 16px; }
.compare-head .rhs { color: var(--accent); }
@media (max-width: 700px) { .compare-row .lhs { display: none; } .compare-row { grid-template-columns: 1fr; } .compare-row .rhs { border-left: none; } }

/* ============================================================
   Use cases
   ============================================================ */
.usecases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.usecase { border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.usecase .state { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; padding: 5px 10px; border-radius: 7px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--border-2); color: var(--muted); }
.usecase .state .dot { width: 7px; height: 7px; border-radius: 50%; }
.usecase p { font-size: 16.5px; margin-top: 18px; line-height: 1.5; }
.usecase p b { color: var(--text); font-weight: 600; }
.usecase .meta { color: var(--muted); font-size: 13.5px; margin-top: 16px; font-family: var(--font-mono); }
@media (max-width: 820px) { .usecases { grid-template-columns: 1fr; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; color: var(--text);
  font-family: var(--font-display); font-size: 19px; font-weight: 500; letter-spacing: -0.01em;
  padding: 24px 44px 24px 0; position: relative; display: flex; align-items: center; }
.faq-q .ico { position: absolute; right: 4px; width: 18px; height: 18px; transition: transform .25s ease; color: var(--accent); }
.faq-item.open .faq-q .ico { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .32s ease; }
.faq-a p { color: var(--muted); font-size: 16px; padding-bottom: 24px; max-width: 64ch; }

/* ============================================================
   Final CTA
   ============================================================ */
.final { text-align: center; position: relative; overflow: hidden; }
.final-card {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 130% at 50% 0%, color-mix(in oklab, var(--secondary) 16%, transparent), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  padding: clamp(48px, 7vw, 84px) var(--gutter); position: relative; overflow: hidden;
}
.final-card h2 { font-size: clamp(32px, 5vw, 56px); letter-spacing: -0.03em; }
.final-card p { color: var(--muted); font-size: 19px; margin-top: 18px; max-width: 52ch; margin-inline: auto; }
.final-card .hero-actions { justify-content: center; margin-top: 34px; }
.final-card .scanline-deco {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 40px 100%; mask-image: radial-gradient(120% 90% at 50% 0%, #000, transparent 70%);
}

/* ============================================================
   Footer
   ============================================================ */
.footer { border-top: 1px solid var(--border); padding-block: 56px 40px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer .brand .wordmark { font-size: 19px; }
.footer-tagline { color: var(--muted); font-size: 14.5px; margin-top: 14px; max-width: 32ch; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 { font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-2); font-weight: 500; margin-bottom: 14px; }
.footer-col a { display: block; color: var(--muted); font-size: 14.5px; padding: 5px 0; transition: color .15s ease; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.footer-bottom span { color: var(--muted-2); font-size: 13px; font-family: var(--font-mono); }
.signup { display: flex; gap: 8px; }
.signup input { background: var(--surface); border: 1px solid var(--border-2); border-radius: 10px; padding: 11px 14px; color: var(--text); font-family: var(--font-body); font-size: 14px; min-width: 220px; }
.signup input:focus { outline: none; border-color: var(--accent); }
.signup input::placeholder { color: var(--muted-2); }

/* ---- scroll reveal ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* focus-visible */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ============================================================
   DIRECTION B — "Editorial" (type-led, spacious, centered)
   ============================================================ */
body[data-direction="b"] { --container: 1080px; }
body[data-direction="b"] .hero-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
body[data-direction="b"] .hero-copy { max-width: 880px; }
body[data-direction="b"] .hero h1 { font-size: clamp(46px, 8vw, 88px); letter-spacing: -0.045em; }
body[data-direction="b"] .hero-sub { margin-inline: auto; font-size: clamp(18px, 1.6vw, 21px); max-width: 60ch; }
body[data-direction="b"] .hero-actions { justify-content: center; }
body[data-direction="b"] .hero-meta { justify-content: center; }
body[data-direction="b"] .hero-visual-wrap { max-width: 760px; margin: 60px auto 0; width: 100%; }
body[data-direction="b"] .section-head { margin-inline: auto; text-align: center; }
body[data-direction="b"] .section-head p { margin-inline: auto; }
body[data-direction="b"] .eyebrow { justify-content: center; }
body[data-direction="b"] .hero::before { inset: -20% 10% auto 10%; }

/* ============================================================
   DIRECTION C — "Spectrum" (duotone gradient-forward, vivid)
   ============================================================ */
body[data-direction="c"] .hero h1 .accent {
  background: linear-gradient(100deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
body[data-direction="c"] .brand .wordmark, 
body[data-direction="c"] .footer .brand .wordmark {
  background: linear-gradient(100deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
body[data-direction="c"] .step, 
body[data-direction="c"] .feature, 
body[data-direction="c"] .persona {
  background:
    radial-gradient(120% 120% at 0% 0%, color-mix(in oklab, var(--secondary) 8%, transparent), transparent 50%),
    var(--surface);
}
body[data-direction="c"] .feature .ic { background: linear-gradient(135deg, color-mix(in oklab, var(--primary) 22%, var(--surface)), color-mix(in oklab, var(--secondary) 22%, var(--surface))); color: white; border-color: transparent; }
body[data-direction="c"] .section-head h2 .hl {
  background: linear-gradient(100deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
body[data-direction="c"] .hero::before { opacity: 1; height: 680px; }
