/* ==========================================================================
   Morfo Build — styles.css
   Dark-only by design. Tokens mirror morfo.co, extended for the "Morph" system.
   ========================================================================== */

:root {
  /* --- Tier 1: brand / decorative (never encodes data) --- */
  --void:        #05050a;
  --bg:          #0a0a0f;
  --bg-alt:      #0d0d13;
  --surface:     #16161d;
  --surface-2:   #1c1c25;
  --hairline:    #26262f;
  --text:        #f5f5f7;
  --text-muted:  #a3a3af;
  --text-dim:    #6f6f7d;
  --indigo:      #6366f1;
  --cyan:        #06b6d4;
  --violet:      #a855f7;
  --gradient:     linear-gradient(135deg, #6366f1, #06b6d4);
  --gradient-hot: linear-gradient(135deg, #a855f7, #6366f1 55%, #06b6d4);

  /* --- Tier 2: data palette (validated on the dark surface) --- */
  --data-1: #6366f1;
  --data-2: #0891b2;
  --data-3: #a855f7;

  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --container:  1140px;
  --radius-sm:  10px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --header-h:   72px;

  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --dur-micro: 160ms;
  --dur-reveal: 520ms;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, canvas { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 .5em;
  font-weight: 700;
}
h1 { font-size: clamp(2.25rem, 4.7vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.06rem; font-weight: 600; letter-spacing: -0.015em; }

p { color: var(--text-muted); margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

::selection { background: rgba(99, 102, 241, .35); color: #fff; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 780px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--indigo); color: #fff;
  padding: 12px 20px; border-radius: 0 0 var(--radius-sm) 0;
  font-size: .9rem; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* --- Film grain: kills gradient banding on dark backgrounds. Not decoration. --- */
.grain {
  position: fixed; inset: 0; z-index: 100;
  pointer-events: none;
  opacity: .025;
  background-image: url('../img/grain.png');
  background-repeat: repeat;
  background-size: 128px 128px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--indigo);
  margin: 0 0 1em;
}

.text-gradient {
  background: var(--gradient-hot);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --- Gradient hairline: a lit edge, not a flat border --- */
.hairline { position: relative; }
.hairline::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(255,255,255,.20), rgba(255,255,255,.03) 42%, rgba(99,102,241,.22));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.glass {
  position: relative;
  background: rgba(28, 28, 37, .55);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  backdrop-filter: blur(14px) saturate(130%);
  border-radius: var(--radius-lg);
}
.glass::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(255,255,255,.22), rgba(255,255,255,.04) 42%, rgba(99,102,241,.25));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border: 0; border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem; font-weight: 600;
  letter-spacing: -.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--dur-micro) var(--ease-out),
              box-shadow var(--dur-micro) var(--ease-out),
              filter var(--dur-micro) var(--ease-out);
}
.btn-sm { padding: 10px 18px; font-size: .875rem; }

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 6px 24px -8px rgba(99, 102, 241, .75);
}
.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 12px 34px -10px rgba(99, 102, 241, .9);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: .55; cursor: not-allowed; transform: none; filter: none; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 60;
  height: var(--header-h);
  background: rgba(10, 10, 15, .72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-micro) var(--ease-out), background var(--dur-micro) var(--ease-out);
}
.site-header.is-stuck {
  border-bottom-color: var(--hairline);
  background: rgba(10, 10, 15, .9);
}
.header-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo {
  height: 30px; width: auto;
  /* The mark is light artwork; a faint bloom seats it on the dark ground. */
  filter: drop-shadow(0 0 12px rgba(99, 102, 241, .22));
}

.main-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-link {
  font-size: .9rem; color: var(--text-muted);
  transition: color var(--dur-micro) var(--ease-out);
  position: relative;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--gradient);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-micro) var(--ease-out);
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.by-morfo {
  font-family: var(--font-mono);
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-dim);
  transition: color var(--dur-micro) var(--ease-out);
}
.by-morfo:hover { color: var(--text-muted); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex; align-items: center;
  padding: 64px 0 88px;
  overflow: hidden;
  background:
    radial-gradient(90% 60% at 78% 18%, rgba(99,102,241,.16), transparent 62%),
    radial-gradient(70% 55% at 15% 82%, rgba(168,85,247,.10), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--void) 100%);
}
.lattice-canvas {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
/* Mobile / no-JS fallback: a composed still frame instead of a live canvas */
.lattice-canvas.is-static {
  background: url('../img/lattice-static.webp') center / cover no-repeat;
  opacity: .5;
}
.hero-floor {
  position: absolute; left: 0; right: 0; bottom: 0; height: 42%;
  z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(99,102,241,.16) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(99,102,241,.16) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: perspective(340px) rotateX(62deg);
  transform-origin: bottom center;
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 50% 100%, #000 15%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 100% at 50% 100%, #000 15%, transparent 72%);
  opacity: .65;
}
/* Guarantees hero copy contrast no matter where particles drift */
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(75% 75% at 28% 45%, rgba(5,5,10,.82) 0%, rgba(5,5,10,.45) 45%, transparent 75%);
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr);
  gap: 48px; align-items: center;
}
.hero-lead {
  font-size: 1.075rem;
  max-width: 34em;
  margin-bottom: 2rem;
}

/* ===== Waitlist form ===== */
.waitlist-form { padding: 22px; max-width: 560px; }
.form-row { display: flex; gap: 12px; align-items: flex-end; }
.field { flex: 1 1 auto; min-width: 0; }
.field-idea { margin-top: 12px; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: .66rem; font-weight: 500;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 7px;
}
.field input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: rgba(10, 10, 15, .6);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: .95rem;
  transition: border-color var(--dur-micro) var(--ease-out),
              box-shadow var(--dur-micro) var(--ease-out);
}
.field input::placeholder { color: var(--text-dim); }
.field input:focus {
  outline: none;
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, .22);
}
.field input:focus-visible { outline: none; }
.field input[aria-invalid="true"] {
  border-color: #f87171;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, .18);
}
.form-row .btn { min-height: 48px; }

/* Honeypot — off-screen, never display:none (some bots skip hidden fields) */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}

.form-note {
  font-size: .78rem;
  color: var(--text-dim);
  margin: 14px 0 0;
  line-height: 1.5;
}
.form-note a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; }

.form-status {
  font-size: .86rem;
  margin: 10px 0 0;
  min-height: 0;
}
.form-status:empty { display: none; }
.form-status.is-success { color: #4ade80; }
.form-status.is-error { color: #f87171; }

/* Success state replaces the form body */
.form-success {
  text-align: center;
  padding: 12px 4px;
}
.form-success .success-mark {
  width: 46px; height: 46px; margin: 0 auto 14px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gradient);
  box-shadow: 0 6px 26px -8px rgba(99,102,241,.8);
}
.form-success h3 { margin-bottom: .35em; font-size: 1.15rem; }
.form-success p { font-size: .9rem; margin: 0; }

/* ===== Hero visual: the Morph ===== */
.hero-visual { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.morph-stage {
  width: 100%; max-width: 290px;
  filter: drop-shadow(0 0 42px rgba(99, 102, 241, .3));
}
.morph-svg { width: 100%; height: auto; aspect-ratio: 252 / 320; }
.morph-caption {
  font-family: var(--font-mono);
  font-size: .82rem;
  color: var(--text-muted);
  margin: 0;
  min-height: 1.6em;
  text-align: center;
}
.morph-prompt::before { content: '> '; color: var(--indigo); }
.morph-caret {
  display: inline-block;
  width: 7px; height: 1.05em;
  background: var(--cyan);
  vertical-align: text-bottom;
  margin-left: 3px;
  animation: caret 1.05s steps(1) infinite;
}
@keyframes caret { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }

/* ===== Sections ===== */
.section { padding: clamp(72px, 10vw, 118px) 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-alt::before, .section-alt::after {
  content: ''; position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--hairline) 22%, var(--hairline) 78%, transparent);
}
.section-alt::before { top: 0; }
.section-alt::after { bottom: 0; }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { margin-bottom: .35em; }

/* ===== What it is ===== */
.what-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px; align-items: start;
}
.what-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.what-points li {
  display: flex; gap: 18px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
}
.point-num {
  font-family: var(--font-mono);
  font-size: .78rem; font-weight: 500;
  color: var(--indigo);
  flex-shrink: 0;
  padding-top: 2px;
}
.what-points h3 { margin-bottom: .3em; }
.what-points p { font-size: .9rem; margin: 0; }

/* ===== Pipeline / steps ===== */
.pipeline { position: relative; }
.pipeline-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
  overflow: visible;
}
.pipeline-track { stroke: var(--hairline); stroke-width: 1.5; }
.pipeline-signal {
  stroke: url(#signalStroke);
  stroke-width: 2;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(99, 102, 241, .8));
}
.steps {
  position: relative; z-index: 1;
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}
.step { text-align: left; }
.step-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  color: var(--text-dim);
  margin-bottom: 18px;
  transition: color 380ms var(--ease-out),
              border-color 380ms var(--ease-out),
              box-shadow 380ms var(--ease-out),
              background 380ms var(--ease-out);
}
.step-icon svg { width: 21px; height: 21px; }
.step.is-lit .step-icon {
  color: #fff;
  border-color: transparent;
  background: var(--gradient);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, .14), 0 8px 26px -10px rgba(99, 102, 241, .9);
}
.step-num {
  display: block;
  font-family: var(--font-mono);
  font-size: .68rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.step h3 { margin-bottom: .4em; }
.step p { font-size: .88rem; margin: 0; }

/* ===== Features ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.feature-card {
  position: relative;
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--dur-micro) var(--ease-out),
              border-color var(--dur-micro) var(--ease-out);
}
/* Cursor spotlight — CSS custom props driven by one pointermove listener */
.feature-card::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(99,102,241,.16), transparent 62%);
  opacity: 0;
  transition: opacity 220ms var(--ease-out);
  pointer-events: none;
}
.feature-card:hover { transform: translateY(-3px); border-color: #35353f; }
.feature-card:hover::after { opacity: 1; }
.feature-icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(99, 102, 241, .11);
  border: 1px solid rgba(99, 102, 241, .22);
  color: var(--indigo);
  margin-bottom: 18px;
}
.feature-icon svg { width: 20px; height: 20px; }
.feature-card h3 { margin-bottom: .45em; }
.feature-card p { font-size: .89rem; margin: 0; }

/* ===== Audience ===== */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.audience {
  padding: 26px 22px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--hairline);
}
.audience h3 { margin-bottom: .45em; }
.audience p { font-size: .88rem; margin: 0; }

/* ===== Pricing tease ===== */
.pricing-card {
  padding: clamp(32px, 5vw, 52px);
  text-align: center;
  max-width: 760px; margin: 0 auto;
}
.pricing-card h2 { margin-bottom: .45em; }
.pricing-card p { max-width: 52ch; margin: 0 auto 28px; }

/* ===== FAQ ===== */
.faq-list { border-top: 1px solid var(--hairline); }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px;
  background: none; border: 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.02rem; font-weight: 600; letter-spacing: -.015em;
  cursor: pointer;
  transition: color var(--dur-micro) var(--ease-out);
}
.faq-q:hover { color: var(--indigo); }
.faq-chevron {
  width: 19px; height: 19px; flex-shrink: 0;
  color: var(--text-dim);
  transition: transform 260ms var(--ease-out), color 260ms var(--ease-out);
}
.faq-q[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); color: var(--indigo); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms var(--ease-out);
}
.faq-a-inner { overflow: hidden; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a p {
  font-size: .93rem;
  padding: 0 4px 24px;
  margin: 0;
  max-width: 62ch;
}
.faq-a a { color: var(--indigo); text-decoration: underline; text-underline-offset: 3px; }

/* ===== Final CTA ===== */
.cta-section { position: relative; overflow: hidden; text-align: center; }
.cta-section .section-head { margin: 0 auto 40px; }
.cta-glow {
  position: absolute; left: 50%; top: 0;
  width: min(880px, 120%); height: 420px;
  transform: translate(-50%, -46%);
  background: radial-gradient(closest-side, rgba(99,102,241,.30), transparent 72%);
  pointer-events: none;
  filter: blur(14px);
}
.cta-lead { font-size: 1.05rem; }
.cta-section .waitlist-form { margin: 0 auto; text-align: left; }

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 52px 0 40px;
  background: var(--void);
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.footer-logo { height: 30px; width: auto; margin-bottom: 14px; }
.footer-brand p { font-size: .86rem; max-width: 32ch; margin: 0; }
.footer-brand a, .footer-contact a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 3px; }
.footer-brand a:hover, .footer-contact a:hover { color: var(--text); }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-nav a { font-size: .88rem; color: var(--text-muted); }
.footer-nav a:hover { color: var(--text); }
.footer-contact { text-align: right; }
.footer-contact a { font-size: .88rem; }
.copyright { font-size: .8rem; color: var(--text-dim); margin: 12px 0 0; }

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-reveal) var(--ease-out),
              transform var(--dur-reveal) var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
.what-points.reveal li:nth-child(2) { transition-delay: 60ms; }
.what-points.reveal li:nth-child(3) { transition-delay: 120ms; }
.feature-card.reveal:nth-child(3n+2), .audience.reveal:nth-child(4n+2) { transition-delay: 70ms; }
.feature-card.reveal:nth-child(3n+3), .audience.reveal:nth-child(4n+3) { transition-delay: 140ms; }
.audience.reveal:nth-child(4n+4) { transition-delay: 210ms; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { order: -1; }
  .morph-stage { max-width: 210px; }
  .hero-scrim { background: radial-gradient(90% 60% at 50% 60%, rgba(5,5,10,.8) 0%, rgba(5,5,10,.4) 52%, transparent 80%); }
  .what-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .audience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* A real vertical timeline: the icon gets its own left column so the signal
     line runs down the gutter instead of straight through the paragraph text.
     Applied below 1024 as well, because a 2x2 grid makes the connector zigzag
     back across the copy of the first two steps. */
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .step {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 20px;
    align-items: start;
  }
  .step-icon { grid-column: 1; grid-row: 1 / -1; margin-bottom: 0; }
  .step-num  { grid-column: 2; grid-row: 1; margin-top: 3px; }
  .step h3   { grid-column: 2; grid-row: 2; }
  .step p    { grid-column: 2; grid-row: 3; }
  .main-nav { display: none; }
}

@media (max-width: 767px) {
  :root { --header-h: 64px; }
  body { font-size: 15.5px; }

  .hero { min-height: 0; padding: 36px 0 64px; }
  .hero-floor { display: none; }
  .hero-visual { order: 1; margin-top: 8px; }
  .morph-stage { max-width: 168px; }
  .morph-caption { font-size: .72rem; }
  .hero-lead { font-size: 1rem; margin-bottom: 1.6rem; }
  .hero-inner { gap: 28px; }

  .form-row { flex-direction: column; align-items: stretch; gap: 14px; }
  .form-row .btn { width: 100%; }
  .waitlist-form { padding: 18px; }

  .feature-grid, .audience-grid { grid-template-columns: 1fr; }
  .steps { gap: 26px; }
  .step { column-gap: 16px; }
  .section-head { margin-bottom: 40px; }

  .footer-inner { grid-template-columns: 1fr; gap: 30px; text-align: left; }
  .footer-contact { text-align: left; }
  .footer-nav ul { grid-template-columns: repeat(2, 1fr); }

  .by-morfo { display: none; }
  /* No cursor on touch — the spotlight is meaningless and the paint isn't free */
  .feature-card::after { display: none; }
}

@media (max-width: 420px) {
  .header-actions .btn { padding: 9px 14px; font-size: .82rem; }
  .brand-logo { height: 25px; }
}

/* ==========================================================================
   Accessibility overrides
   ========================================================================== */

/* Stopped, not merely slower. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .morph-caret { animation: none; opacity: 1; }
  .btn-primary:hover, .feature-card:hover { transform: none; }
}

@media (prefers-contrast: more) {
  :root {
    --text-muted: #d4d4dc;
    --text-dim: #b0b0bd;
    --hairline: #4a4a58;
  }
  .grain { display: none; }
  .hairline::before, .glass::before { display: none; }
  .hairline, .glass { border: 1px solid var(--hairline); }
  .glass { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .btn-primary { box-shadow: none; }
  .cta-glow, .brand-logo, .footer-logo { filter: none; }
}

@media print {
  .lattice-canvas, .hero-floor, .hero-scrim, .cta-glow, .grain, .hero-visual { display: none; }
  body { background: #fff; color: #000; }
}

/* ==========================================================================
   Secondary pages (privacy, 404)
   ========================================================================== */
.doc-page { padding: clamp(56px, 8vw, 92px) 0 clamp(72px, 10vw, 110px); }
.doc-page h1 { margin-bottom: .3em; }
.doc-page h2 {
  font-size: 1.2rem;
  margin: 2.4em 0 .6em;
  letter-spacing: -.018em;
}
.doc-page p { max-width: 66ch; }
.doc-page a { color: var(--indigo); text-decoration: underline; text-underline-offset: 3px; }
.doc-page strong { color: var(--text); font-weight: 600; }
.doc-updated {
  font-family: var(--font-mono);
  font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 2.6em;
}

.error-page {
  min-height: 100svh;
  display: grid; place-items: center;
  text-align: center;
  padding: 40px 0;
  background:
    radial-gradient(80% 60% at 50% 30%, rgba(99,102,241,.14), transparent 62%),
    linear-gradient(180deg, var(--bg), var(--void));
}
.error-page p { max-width: 46ch; margin-left: auto; margin-right: auto; }
