/* =========================================================
   FRIDAY · landing v2 · Apple-keynote scroll
   Blobs hero + scroll-driven scenes + GSAP ScrollTrigger
   ========================================================= */

:root {
  /* surface */
  --bg: #050506;
  --bg-soft: #0a0a0c;
  --bg-card: #0e0e11;
  --bg-elev: #161619;
  --hairline: rgba(255,255,255,0.06);
  --hairline-m: rgba(255,255,255,0.10);
  --hairline-s: rgba(255,255,255,0.16);

  /* ink — all meet WCAG AA on --bg / --bg-card */
  --fg: #f4f4f5;
  --fg-m: #d1d3d8;   /* bumped lighter for readability */
  --fg-d: #adb0b7;   /* bumped lighter for small text */
  --fg-x: #787c84;   /* bumped lighter for separators */
  --white: #ffffff;

  /* accents — coherent with blobs palette */
  --blue: #6bd0ff;
  --blue-deep: #0074D9;
  --cyan: #39CCCC;
  --red: #FF4136;
  --orange: #FF851B;
  --green: #01FF70;
  --green-deep: #3D9970;
  --purple: #B10DC9;
  --magenta: #85144B;
  --silver: #c7c9cd;
  --ok: #30d158;

  /* type */
  --ff-display: "Haskoy", "Helvetica Neue", Arial, sans-serif;
  --ff-sans: "General Sans", "Haskoy", "Helvetica Neue", Arial, sans-serif;
  --ff-mono: "Geist Mono", "SF Mono", ui-monospace, monospace;

  /* motion */
  --ease-out: cubic-bezier(.2,.7,.1,1);
  --ease-soft: cubic-bezier(.25,.46,.45,.94);

  /* layout */
  --max: 1280px;
  --max-wide: 1440px;
  --pad-x: clamp(20px, 5vw, 72px);
  --scene-pad-y: clamp(72px, 10vh, 128px);
}

/* =========================================================
   RESET
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--ff-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--fg); color: var(--bg); }

/* =========================================================
   GRAIN OVERLAY (fine noise, fixed)
   ========================================================= */

.grain {
  position: fixed; inset: 0; z-index: 200; pointer-events: none;
  opacity: 0.12;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.3 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-repeat: repeat;
}

/* =========================================================
   SCROLL PROGRESS (top 2px)
   ========================================================= */

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  z-index: 250;
  background: linear-gradient(90deg, var(--blue) 0%, #ffffff 50%, var(--purple) 100%);
  box-shadow: 0 0 10px rgba(107, 208, 255, 0.5);
  transition: width 80ms linear;
  pointer-events: none;
}

/* =========================================================
   NAV
   ========================================================= */

.nav {
  position: fixed;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(calc(100% - 40px), 1120px);
  background: rgba(10, 10, 12, 0.6);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid var(--hairline-m);
  border-radius: 100px;
  transition: transform 300ms var(--ease-out), opacity 300ms var(--ease-out);
}
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 10px 16px;
}
.brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.brand svg { color: var(--fg-m); }
.nav-links {
  display: flex; gap: 20px;
  justify-content: center;
  font-size: 13px;
  color: var(--fg-m);
  font-weight: 500;
}
.nav-links a { transition: color 200ms var(--ease-out); }
.nav-links a:hover { color: var(--fg); }
.btn-pill {
  justify-self: end;
  display: inline-flex; align-items: center;
  padding: 8px 16px;
  background: var(--fg);
  color: var(--bg);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  transition: background 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.btn-pill:hover { background: var(--white); transform: translateY(-1px); }

@media (max-width: 720px) {
  .nav-inner { grid-template-columns: auto 1fr auto; }
  .nav-links { display: none; }
}

/* =========================================================
   SCENE BASE (shared layout)
   ========================================================= */

.scene {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--scene-pad-y) var(--pad-x);
  isolation: isolate;
}
/* Hero still fills viewport for drama */
.scene-hero { min-height: 100vh; }
/* Content scenes sit at content-height + breathing room (no forced 100vh dead space) */
.scene-listens,
.scene-thinks,
.scene-connects,
.scene-yours,
.scene-waitlist,
.scene-faq {
  min-height: auto;
}
.scene-inner {
  position: relative;
  z-index: 4;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  display: grid;
  gap: clamp(24px, 4vh, 56px);
  justify-items: center;
  text-align: center;
}
/* Scene eyebrow — rainbow animated border + blur glow halo */
.scene-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  position: relative;
  isolation: isolate;
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--fg);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 7px 15px;
  border: 1.5px solid transparent;
  border-radius: 100px;
  /* Double background: opaque fill (padding-box) + soft animated halo (border-box) */
  background:
    linear-gradient(#050506, #050506) padding-box,
    linear-gradient(
      45deg,
      #ffffff, #39CCCC, #6bd0ff,
      #ffffff, #39CCCC, #6bd0ff,
      #ffffff
    ) border-box;
  background-size: auto, 300% 100%;
  animation: eyebrow-halo 32s linear infinite;
}
.scene-eyebrow::after {
  content: '';
  position: absolute;
  inset: -6px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(
    45deg,
    #ffffff, #39CCCC, #6bd0ff,
    #ffffff, #39CCCC, #6bd0ff,
    #ffffff
  );
  background-size: 300% 100%;
  filter: blur(16px);
  opacity: 0.28;
  animation: eyebrow-halo-glow 32s linear infinite;
  pointer-events: none;
}
@keyframes eyebrow-halo {
  0%   { background-position: 0% 0%, 0% 50%; }
  50%  { background-position: 0% 0%, 100% 50%; }
  100% { background-position: 0% 0%, 0% 50%; }
}
@keyframes eyebrow-halo-glow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .scene-eyebrow,
  .scene-eyebrow::after { animation: none; }
}
.scene-title {
  font-family: var(--ff-display);
  font-size: clamp(52px, 9vw, 132px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin: 0;
  color: var(--fg);
  max-width: 18ch;
}
.scene-title em {
  font-style: normal;
  font-weight: 500;
  color: var(--fg-m);
}
.scene-title-grad em {
  background: linear-gradient(180deg, #ffffff 0%, #a8acb4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.scene-sub {
  font-size: clamp(16px, 1.4vw, 20px);
  color: var(--fg-m);
  line-height: 1.55;
  margin: 0;
  max-width: 58ch;
}
.scene-meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--fg-d);
  letter-spacing: 0.02em;
  padding-top: 8px;
}
.meta-dot {
  width: 3px; height: 3px;
  background: var(--fg-x);
  border-radius: 50%;
}

/* =========================================================
   SCENE 1 — HERO
   Layout: full-viewport, content centered. Ambient blob atmosphere
   floats top-right (no wordmark collision). Spotlight highlights headline.
   ========================================================= */

.scene-hero {
  min-height: 100vh;
  overflow: hidden;
  padding-top: clamp(100px, 14vh, 160px);
  padding-bottom: clamp(80px, 10vh, 120px);
}

/* Full-bleed ambient background (NOT centered — offset to top-right) */
.blobs-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 72% 30%, rgba(107,208,255,0.08), transparent 60%),
    radial-gradient(ellipse 60% 50% at 18% 72%, rgba(177,13,201,0.06), transparent 60%),
    #030305;
}
.blobs-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.blobs-spinner {
  position: absolute;
  top: -10vh;
  right: -18vw;
  display: grid;
  grid-template-areas: 'stack';
  place-items: center;
  animation: blobs-spin 28s linear infinite;
  will-change: transform;
  opacity: 0.85;
}
@keyframes blobs-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.blob {
  --border-radius: 115% 140% 145% 110% / 125% 140% 110% 125%;
  --border-width: 4.5vmin;
  grid-area: stack;
  display: block;
  aspect-ratio: 1;
  width: 72vmin;
  height: 72vmin;
  background-size: calc(100% + var(--border-width) * 2);
  background-repeat: no-repeat;
  background-position: center;
  border: var(--border-width) solid transparent;
  border-radius: var(--border-radius);

  -webkit-mask-image:
    linear-gradient(transparent, transparent),
    linear-gradient(black, white);
  -webkit-mask-clip: padding-box, border-box;
  -webkit-mask-composite: source-in, xor;
  mask-image:
    linear-gradient(transparent, transparent),
    linear-gradient(black, white);
  mask-clip: padding-box, border-box;
  mask-composite: intersect;

  mix-blend-mode: screen;
  filter: blur(2vmin);
}
.blob-blue {
  background-color: #0074D9;
  background-image: linear-gradient(#0074D9, #39CCCC, #0074D9);
  transform: rotate(30deg) scale(1.03);
}
.blob-red {
  background-color: #FF4136;
  background-image: linear-gradient(#FF4136, #FF851B, #FF4136);
  transform: rotate(60deg) scale(0.95);
}
.blob-green {
  background-color: #3D9970;
  background-image: linear-gradient(#3D9970, #01FF70, #3D9970);
  transform: rotate(90deg) scale(0.97);
}
.blob-purple {
  background-color: #B10DC9;
  background-image: linear-gradient(#B10DC9, #85144B, #B10DC9);
  transform: rotate(120deg) scale(1.02);
}

/* Deep vignette — darker in lower half for content legibility */
.scene-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 100% 70% at 50% 55%, rgba(5,5,6,0) 0%, rgba(5,5,6,0.55) 55%, var(--bg) 92%);
  z-index: 2;
}

/* Faint spotlight — behind headline to brighten it subtly */
.scene-spotlight {
  position: absolute;
  top: 50%; left: 50%;
  width: 70vmin; height: 40vmin;
  transform: translate(-50%, -62%);
  pointer-events: none;
  background: radial-gradient(ellipse 50% 55% at 50% 50%, rgba(255,255,255,0.08), transparent 70%);
  filter: blur(40px);
  z-index: 3;
}

/* Hero content — CLEAN vertical stack, generous rhythm */
.hero-content {
  position: relative;
  z-index: 4;
  max-width: 940px;
  margin: 0 auto;
  display: grid;
  gap: clamp(28px, 3.6vh, 44px);
  justify-items: center;
  text-align: center;
}

/* Prehead pill */
.prehead {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-mono);
  font-size: clamp(11px, 0.95vw, 13px);
  font-weight: 500;
  color: var(--fg-m);
  padding: 8px 16px;
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--hairline-m);
  border-radius: 100px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
  white-space: nowrap;
}
.prehead-marker {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 10px rgba(48, 209, 88, 0.7);
  animation: dot-pulse 1.8s var(--ease-soft) infinite;
  flex-shrink: 0;
}
@keyframes dot-pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.prehead-text { color: var(--fg-m); letter-spacing: 0.08em; }
.prehead .jarvis {
  color: var(--fg);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.prehead-sep { color: var(--fg-x); }
.prehead-launch {
  color: var(--fg-m);
  letter-spacing: 0.12em;
}

/* Display headline — massive, stacked lines, balanced kerning, no clipping */
.display {
  font-family: var(--ff-display);
  font-size: clamp(72px, 12vw, 172px);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.035em;
  margin: 0;
  display: grid;
  gap: 0.02em;
  justify-items: center;
  padding: 0 0.1em;
}
.display-line {
  display: block;
  color: var(--fg);
  text-shadow: 0 2px 40px rgba(0,0,0,0.45);
  padding-right: 0.03em; /* breathing room for trailing period */
}
.display-accent {
  background: linear-gradient(180deg, #ffffff 0%, #b5b9c0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
@media (max-width: 640px) {
  .display { font-size: clamp(60px, 15vw, 96px); line-height: 0.92; letter-spacing: -0.03em; }
}

/* Sub-headline — crisp two-line claim */
.display-sub {
  font-family: var(--ff-display);
  font-size: clamp(18px, 2.1vw, 28px);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: var(--fg);
  margin: 0;
  max-width: 42ch;
}
.display-sub em {
  font-style: normal;
  background: linear-gradient(180deg, #ffffff 0%, #b5b9c0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 500;
}
.display-sub br { display: inline; content: " "; }
@media (min-width: 720px) {
  .display-sub br { display: block; content: normal; }
}

/* Hero CTA cluster — form first, countdown secondary */
.hero-cta {
  display: grid;
  gap: clamp(18px, 2.4vh, 28px);
  justify-items: center;
  width: 100%;
  max-width: 620px;
}

/* Launch countdown — prominent prehead pill, replaces "Beyond JARVIS" badge */
.launch-countdown {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 11px 20px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 100px;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow:
    0 0 28px rgba(107, 208, 255, 0.10),
    inset 0 1px 0 rgba(255,255,255,0.06);
}
.lc-label {
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--blue);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-right: 10px;
  border-right: 1px solid rgba(255,255,255,0.14);
  font-weight: 500;
}
.lc-blocks {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-variant-numeric: tabular-nums;
}
.lc-block {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}
.lc-n {
  font-family: var(--ff-mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1;
  text-shadow: 0 0 12px rgba(255,255,255,0.15);
}
.lc-u {
  font-family: var(--ff-mono);
  font-size: 9px;
  color: var(--fg-m);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}
.lc-sep {
  font-family: var(--ff-mono);
  font-size: 14px;
  color: var(--fg-m);
  font-weight: 400;
  line-height: 1;
  opacity: 0.7;
}
@media (max-width: 540px) {
  .launch-countdown { padding: 10px 16px; gap: 10px; flex-wrap: wrap; justify-content: center; }
  .lc-label { border-right: 0; padding-right: 0; }
  .lc-n { font-size: 14px; }
}

/* Waitlist form */
.waitlist-form {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 580px;
  margin: 6px auto 0;
}
.wf-field {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  padding: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--hairline-m);
  border-radius: 100px;
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  transition: border-color 240ms var(--ease-out),
              background 240ms var(--ease-out),
              box-shadow 320ms var(--ease-out);
}
.wf-field:focus-within {
  border-color: var(--fg-m);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.04);
}
.wf-field-lg { padding: 8px; }
.wf-input {
  appearance: none;
  background: transparent;
  border: 0;
  outline: none;
  padding: 12px 18px;
  font-family: var(--ff-sans);
  font-size: 15px;
  color: var(--fg);
  letter-spacing: -0.005em;
  min-width: 0;
  width: 100%;
}
.wf-input::placeholder { color: var(--fg-d); }
.wf-field-lg .wf-input { padding: 16px 22px; font-size: 16px; }
.wf-submit {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  background: var(--fg);
  color: var(--bg);
  border: 0;
  border-radius: 100px;
  font-family: var(--ff-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background 240ms var(--ease-out),
              color 240ms var(--ease-out),
              transform 240ms var(--ease-out);
  white-space: nowrap;
}
.wf-submit i {
  font-style: normal;
  transition: transform 240ms var(--ease-out);
  display: inline-block;
}
.wf-submit:hover { background: var(--white); transform: translateY(-1px); }
.wf-submit:hover i { transform: translateX(3px); }
.wf-submit-lg { padding: 16px 26px; font-size: 15px; }
.wf-submit[data-state="sent"] { background: var(--ok); color: #062611; }

/* Hover-border-gradient submit — rotating radial glow border, blue highlight on hover */
.wf-submit-glow {
  position: relative;
  isolation: isolate;
  background: #000;
  color: var(--white);
  border: 0;
  overflow: hidden;
  transition:
    transform 300ms var(--ease-out),
    box-shadow 300ms var(--ease-out);
}
.wf-submit-glow span,
.wf-submit-glow i {
  position: relative;
  z-index: 2;
  color: var(--white);
  transition: color 240ms var(--ease-out);
}
.wf-submit-glow::before {
  content: '';
  position: absolute;
  inset: -120%;
  z-index: 0;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 265deg,
    rgba(255,255,255,0.75) 320deg,
    #ffffff 340deg,
    rgba(255,255,255,0.75) 355deg,
    transparent 360deg
  );
  animation: wfg-spin 3.2s linear infinite;
  transition: background 400ms var(--ease-out);
}
.wf-submit-glow::after {
  content: '';
  position: absolute;
  inset: 1.5px;
  z-index: 1;
  background: #000;
  border-radius: inherit;
  transition: background 300ms var(--ease-out);
}
.wf-submit-glow:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 32px -8px rgba(50, 117, 248, 0.45);
}
.wf-submit-glow:hover::before {
  background: conic-gradient(
    from 0deg,
    rgba(50, 117, 248, 0.2) 0deg,
    #3275F8 90deg,
    rgba(107, 208, 255, 0.95) 180deg,
    #3275F8 270deg,
    rgba(50, 117, 248, 0.2) 360deg
  );
  animation-duration: 1.6s;
}
.wf-submit-glow:hover::after {
  background: #050b1f;
}
.wf-submit-glow:hover i { transform: translateX(3px); }
.wf-submit-glow[data-state="sent"] {
  background: var(--ok);
  color: #062611;
}
.wf-submit-glow[data-state="sent"]::before { animation: none; background: transparent; }
.wf-submit-glow[data-state="sent"]::after { background: var(--ok); }
.wf-submit-glow[data-state="sent"] span,
.wf-submit-glow[data-state="sent"] i { color: #062611; }
@keyframes wfg-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .wf-submit-glow::before { animation: none; }
}

.wf-micro {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--fg-m);
  letter-spacing: 0.02em;
}
.wf-micro strong { color: var(--fg); font-weight: 600; }
.wf-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px var(--ok);
  animation: dot-pulse 1.8s var(--ease-soft) infinite;
  display: inline-block;
  flex-shrink: 0;
}
.wf-trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 6px 0 0;
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--fg-m);
  letter-spacing: 0.02em;
}
.wf-trust-row {
  display: inline-flex; align-items: center; gap: 10px;
}
.wf-trust strong { color: var(--fg); font-weight: 600; }

/* Ticking animation on counter update */
@keyframes counter-tick {
  0% { transform: translateY(0); opacity: 1; }
  40% { transform: translateY(-3px); opacity: 0.5; }
  100% { transform: translateY(0); opacity: 1; }
}
.wf-micro strong.ticking,
.wf-trust strong.ticking {
  animation: counter-tick 400ms var(--ease-out);
  color: var(--ok);
}

@media (max-width: 540px) {
  .wf-field { grid-template-columns: 1fr; border-radius: 20px; }
  .wf-submit { justify-content: center; }
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--fg-m);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.55;
  transition: opacity 240ms var(--ease-out);
}
.scroll-cue:hover { opacity: 1; }
.sc-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, transparent, var(--fg-m));
  animation: sc-pulse 2.4s ease-in-out infinite;
}
@keyframes sc-pulse {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* =========================================================
   SCENE 1.5 — DEMO (Screen Studio capture)
   Mac-window framing with auto-play loop video + placeholder
   ========================================================= */

.scene-demo {
  background:
    radial-gradient(ellipse 60% 45% at 50% 50%, rgba(107, 208, 255, 0.06), transparent 70%),
    var(--bg);
}
.demo-frame {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: clamp(20px, 3vh, 36px) auto 0;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #1a1a1e 0%, #0d0d10 100%);
  border: 1px solid var(--hairline-m);
  box-shadow:
    0 60px 120px -40px rgba(0,0,0,0.85),
    0 0 0 1px rgba(0,0,0,0.5),
    0 0 80px -20px rgba(107, 208, 255, 0.15);
}
.demo-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #222226 0%, #151518 100%);
  border-bottom: 1px solid var(--hairline-m);
  position: relative;
  min-height: 42px;
}
.demo-dot {
  width: 11px; height: 11px; border-radius: 50%;
  border: 0.5px solid rgba(0,0,0,0.3);
  flex-shrink: 0;
}
.demo-close { background: #ff5f57; }
.demo-min   { background: #febc2e; }
.demo-max   { background: #28c93e; }
.demo-title {
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display);
  font-size: 12px;
  color: var(--fg-m);
  font-weight: 500;
  pointer-events: none;
}
.demo-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #060608;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.demo-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: transparent;
  z-index: 1;
  opacity: 0;
  transition: opacity 400ms var(--ease-out);
}
.demo-frame.demo-has-video .demo-video {
  z-index: 3;
  opacity: 1;
}
.demo-frame.demo-has-video .demo-placeholder {
  opacity: 0;
  pointer-events: none;
}
.demo-placeholder {
  position: absolute;
  inset: 0;
  z-index: 2;
  transition: opacity 300ms var(--ease-out);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--fg-d);
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(107, 208, 255, 0.06), transparent 70%),
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.015) 0 12px,
      transparent 12px 24px
    ),
    #07070a;
}
.demo-pl-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1.5px solid var(--hairline-s);
  background: rgba(107, 208, 255, 0.06);
  color: var(--blue);
}
.demo-pl-text {
  color: var(--fg-m);
}
.demo-pl-text code {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--blue);
  background: rgba(107, 208, 255, 0.10);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(107, 208, 255, 0.25);
  letter-spacing: 0.04em;
  text-transform: none;
}

/* =========================================================
   SCENE 2 — LISTENS (waveform)
   ========================================================= */

.scene-listens {
  background:
    radial-gradient(ellipse 55% 40% at 50% 55%, rgba(107, 208, 255, 0.10), transparent 72%),
    var(--bg);
}
.waveform-visual {
  position: relative;
  width: 100%;
  max-width: 860px;
  aspect-ratio: 1000 / 260;
  margin: clamp(24px, 4vh, 48px) auto 0;
  isolation: isolate;
}
.waveform-visual::before {
  content: "";
  position: absolute;
  inset: -20% -10%;
  background: radial-gradient(ellipse 55% 60% at 50% 50%, rgba(107, 208, 255, 0.22), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: -1;
}
.wave-svg {
  display: block;
  width: 100%;
  height: 100%;
  color: var(--blue);
  overflow: visible;
}
.wave-main {
  filter: drop-shadow(0 0 8px rgba(107, 208, 255, 0.6));
}
.wave-pulse {
  filter: drop-shadow(0 0 12px rgba(107, 208, 255, 0.9));
  animation: wave-pulse-beat 1.6s var(--ease-soft) infinite;
  transform-origin: center;
  transform-box: fill-box;
}
@keyframes wave-pulse-beat {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(0.6); }
}

/* =========================================================
   SCENE 3 — THINKS (stack cards)
   ========================================================= */

.scene-thinks {
  background:
    radial-gradient(ellipse 50% 35% at 50% 50%, rgba(177, 13, 201, 0.06), transparent 70%),
    var(--bg);
}
.think-stack {
  width: 100%;
  max-width: 720px;
  margin: clamp(24px, 4vh, 48px) auto 0;
  display: grid;
  gap: 14px;
}
.ts-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ts-row-wide {
  grid-template-columns: 1fr;
  max-width: 50%;
  margin: 0 auto;
}
@media (max-width: 680px) {
  .ts-row, .ts-row-wide { grid-template-columns: 1fr; max-width: none; }
}
.ts-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--hairline-m);
  border-radius: 16px;
  transition: border-color 280ms var(--ease-out), background 280ms var(--ease-out), transform 280ms var(--ease-out);
}
.ts-card:hover {
  border-color: var(--hairline-s);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}
.ts-logo {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  font-family: var(--ff-mono);
  font-weight: 700;
  font-size: 16px;
  border-radius: 8px;
  letter-spacing: -0.02em;
}
.ts-card-1 .ts-logo { background: rgba(235,106,82,0.15); color: #f0856c; }
.ts-card-2 .ts-logo { background: rgba(107,208,255,0.15); color: #7fd7ff; }
.ts-card-3 .ts-logo { background: rgba(177,13,201,0.15); color: #d173e5; }
.ts-card-4 .ts-logo { background: rgba(255,255,255,0.08); color: #f4f4f5; }
.ts-card-5 .ts-logo { background: rgba(48,209,88,0.15); color: #48d665; }

.ts-name {
  font-family: var(--ff-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--fg);
  text-align: left;
}
.ts-role {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--fg-m);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* =========================================================
   SCENE 4 — ACTS (pinned Mac window)
   ========================================================= */

.scene-acts {
  padding: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 60% 40% at 50% 35%, rgba(255, 65, 54, 0.06), transparent 70%),
    var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.acts-pin {
  width: 100%;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(64px, 8vh, 112px) var(--pad-x);
}
.acts-inner {
  max-width: var(--max);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
@media (max-width: 900px) {
  .acts-inner { grid-template-columns: 1fr; gap: 40px; }
}
.acts-copy { display: grid; gap: 18px; justify-items: flex-start; text-align: left; }
.acts-copy .scene-title { text-align: left; max-width: none; }
.acts-copy .scene-sub { text-align: left; max-width: 44ch; }

.acts-window {
  position: relative;
  width: 100%;
  background: linear-gradient(180deg, #1a1a1e 0%, #0d0d10 100%);
  border: 1px solid var(--hairline-m);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 50px 100px -30px rgba(0,0,0,0.8), 0 0 0 1px rgba(0,0,0,0.5);
}
.mw-chrome {
  display: flex; align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #222226 0%, #151518 100%);
  border-bottom: 1px solid var(--hairline-m);
  position: relative;
  min-height: 42px;
}
.mw-dot {
  width: 11px; height: 11px; border-radius: 50%;
  border: 0.5px solid rgba(0,0,0,0.3);
}
.mw-close { background: #ff5f57; }
.mw-min { background: #febc2e; }
.mw-max { background: #28c93e; }
.mw-title {
  position: absolute; left: 0; right: 0; top: 0; bottom: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display);
  font-size: 12px;
  color: var(--fg-m);
  font-weight: 500;
  pointer-events: none;
}
.mw-status {
  margin-left: auto;
  display: inline-flex; align-items: center;
  padding: 3px 10px;
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--blue);
  background: rgba(107, 208, 255, 0.1);
  border: 1px solid rgba(107, 208, 255, 0.3);
  border-radius: 100px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 2;
}
.mw-body {
  padding: 28px;
  display: grid;
  gap: 16px;
  background: linear-gradient(180deg, #0d0d10 0%, #080809 100%);
  min-height: 340px;
}
.mw-step {
  opacity: 1;
  transform: none;
}
.mw-step-1 {
  padding: 18px 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--hairline);
  border-radius: 10px;
}
.mw-label {
  display: block;
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--blue);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.mw-step-1 p {
  font-family: var(--ff-display);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--fg);
  margin: 0;
  letter-spacing: -0.01em;
}
.mw-step-2 {
  display: grid;
  gap: 6px;
  padding: 14px 18px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  font-family: var(--ff-mono);
  font-size: 12px;
}
.mw-log {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 14px;
  align-items: baseline;
  color: var(--fg-m);
}
.mw-log-op { color: var(--fg); }
.mw-log-op::before {
  content: "●";
  color: var(--ok);
  margin-right: 8px;
  font-size: 8px;
  vertical-align: middle;
}
.mw-log-val { color: var(--fg-m); }

.mw-step-3 {
  padding: 18px 20px;
  background: rgba(107, 208, 255, 0.04);
  border: 1px solid rgba(107, 208, 255, 0.2);
  border-radius: 10px;
}
.mw-draft {}
.mw-draft-label {
  display: block;
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--fg-m);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.mw-draft p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg);
  margin: 0 0 14px;
}
.mw-draft-actions {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.mw-btn {
  display: inline-flex; align-items: center;
  padding: 6px 12px;
  background: transparent;
  border: 1px solid var(--hairline-m);
  border-radius: 6px;
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--fg-m);
  letter-spacing: 0.02em;
  transition: all 200ms var(--ease-out);
}
.mw-btn:hover { border-color: var(--fg-m); color: var(--fg); }
.mw-btn-primary {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.mw-btn-primary:hover { background: var(--white); border-color: var(--white); }
.mw-btn-ghost { opacity: 0.6; }

/* =========================================================
   SCENE 4.5 — CONNECTS TO (tool integrations)
   ========================================================= */

.scene-connects {
  background:
    radial-gradient(ellipse 60% 40% at 50% 50%, rgba(61, 153, 112, 0.05), transparent 70%),
    var(--bg);
}
.connects-grid {
  width: 100%;
  max-width: 920px;
  margin: clamp(28px, 4vh, 52px) auto 0;
  display: grid;
  gap: clamp(20px, 3vh, 32px);
}
.connects-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: clamp(16px, 3vw, 32px);
  align-items: start;
  text-align: left;
  padding: 20px 0;
  border-top: 1px solid var(--hairline);
}
.connects-row:first-child { border-top: 0; padding-top: 0; }
@media (max-width: 720px) {
  .connects-row { grid-template-columns: 1fr; gap: 12px; }
}
.cr-label {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--fg-m);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-top: 8px;
}
.cr-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.conn-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--hairline-m);
  border-radius: 100px;
  font-family: var(--ff-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
  transition: border-color 240ms var(--ease-out),
              background 240ms var(--ease-out),
              transform 240ms var(--ease-out);
}
.conn-chip:hover {
  border-color: var(--hairline-s);
  background: rgba(255,255,255,0.07);
  transform: translateY(-1px);
}
.cc-mark {
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 700;
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  color: var(--fg);
}
.conn-chip[data-category="ai"] .cc-mark {
  background: rgba(107, 208, 255, 0.15);
  color: var(--blue);
}
.conn-chip[data-category="voice"] .cc-mark {
  background: rgba(255, 65, 54, 0.15);
  color: #ff7a70;
}
.conn-chip[data-category="ecosystem"] .cc-mark {
  background: rgba(1, 255, 112, 0.15);
  color: #48ff95;
}
.conn-chip-more {
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--fg-m);
  border-style: dashed;
  border-color: var(--hairline-s);
  background: transparent;
  padding: 8px 14px;
}
.connects-footer {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--fg);
  margin: clamp(20px, 3vh, 40px) auto 0;
  max-width: 52ch;
  text-align: center;
}

/* =========================================================
   SCENE 5 — YOURS (sovereignty manifesto)
   ========================================================= */

.scene-yours {
  background:
    radial-gradient(ellipse 60% 40% at 50% 50%, rgba(255, 255, 255, 0.03), transparent 70%),
    var(--bg);
}
.yours-manifesto {
  font-family: var(--ff-display);
  font-size: clamp(52px, 10vw, 140px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin: 0;
  display: grid;
  gap: 4px;
  text-align: center;
}
.ym-line { display: block; color: var(--fg); }
.ym-line em {
  font-style: normal;
  font-weight: 500;
  background: linear-gradient(180deg, #ffffff 0%, #a8acb4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.yours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: 100%;
  max-width: 1000px;
  margin: clamp(28px, 4vh, 56px) auto 0;
  text-align: left;
}
@media (max-width: 800px) {
  .yours-grid { grid-template-columns: 1fr; gap: 14px; }
}
.yours-card {
  padding: 28px 26px;
  background: var(--bg-card);
  border: 1px solid var(--hairline-m);
  border-radius: 16px;
  transition: border-color 300ms var(--ease-out);
}
.yours-card:hover { border-color: var(--hairline-s); }
.yc-num {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--blue);
  letter-spacing: 0.14em;
  display: block;
  margin-bottom: 10px;
}
.yc-title {
  font-family: var(--ff-display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin: 0 0 10px;
}
.yc-body {
  font-size: 14px;
  color: var(--fg-m);
  line-height: 1.55;
  margin: 0;
}
.yours-quote {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 24px);
  color: var(--fg);
  line-height: 1.35;
  max-width: 44ch;
  margin: clamp(16px, 3vh, 32px) auto 0;
  text-align: center;
}

/* =========================================================
   SCENE 6 — WAITLIST (CTA)
   ========================================================= */

.scene-waitlist {
  background:
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(107, 208, 255, 0.06), transparent 70%),
    var(--bg-soft);
}
.waitlist-head {
  font-family: var(--ff-display);
  font-size: clamp(44px, 7.5vw, 104px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.045em;
  margin: 0;
  display: grid;
  gap: 6px;
  text-align: center;
}
.waitlist-head span { display: block; }
.wh-accent {
  background: linear-gradient(180deg, #ffffff 0%, #a8acb4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.waitlist-form-block { max-width: 540px; margin: clamp(24px, 4vh, 48px) auto 0; }

/* =========================================================
   SCENE 7 — FAQ
   ========================================================= */

.scene-faq {
  background: var(--bg);
}
.faq-list {
  max-width: 780px;
  width: 100%;
  margin: clamp(24px, 4vh, 48px) auto 0;
  text-align: left;
}
.faq-list details {
  padding: 20px 0;
  border-bottom: 1px solid var(--hairline);
  transition: border-color 300ms var(--ease-out);
}
.faq-list details:first-child { border-top: 1px solid var(--hairline); }
.faq-list details[open] { border-bottom-color: var(--hairline-m); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 4px 0;
  font-family: var(--ff-display);
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg);
  transition: color 240ms var(--ease-out);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  display: inline-block;
  width: 12px; height: 12px;
  border-right: 1.5px solid var(--fg-m);
  border-bottom: 1.5px solid var(--fg-m);
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform 300ms var(--ease-out);
  flex-shrink: 0;
}
.faq-list details[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}
.faq-list summary:hover { color: var(--white); }
.faq-list p {
  margin: 12px 0 0;
  color: var(--fg-m);
  font-size: 15px;
  line-height: 1.6;
  max-width: 68ch;
}

/* =========================================================
   FOOTER
   ========================================================= */

.foot {
  padding: 48px var(--pad-x) 56px;
  border-top: 1px solid var(--hairline);
  background: var(--bg);
}
.foot-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}
.foot-mark {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}
.foot-mark svg { color: var(--fg-m); }
.foot-links {
  display: flex; gap: 20px;
  justify-content: center;
  font-size: 13px;
  color: var(--fg-m);
}
.foot-links a { transition: color 220ms var(--ease-out); }
.foot-links a:hover { color: var(--fg); }
.foot-meta {
  display: flex; flex-direction: column; gap: 2px;
  text-align: right;
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--fg-d);
}
@media (max-width: 720px) {
  .foot-inner { grid-template-columns: 1fr; text-align: center; gap: 18px; }
  .foot-meta { text-align: center; }
  .foot-links { flex-wrap: wrap; row-gap: 10px; }
}

/* =========================================================
   SOCIAL PROOF TOAST (bottom-left)
   ========================================================= */

.social-toast-stack {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  max-width: calc(100vw - 48px);
}
.social-toast {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 12px;
  background: rgba(14, 14, 16, 0.88);
  border: 1px solid var(--hairline-s);
  border-radius: 100px;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  color: var(--fg);
  font-family: var(--ff-sans);
  font-size: 13px;
  line-height: 1.2;
  pointer-events: auto;
  box-shadow: 0 20px 40px -16px rgba(0,0,0,0.7);
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transition: opacity 380ms var(--ease-out), transform 380ms var(--ease-out);
  max-width: 360px;
}
.social-toast.st-in { opacity: 1; transform: translateY(0) scale(1); }
.social-toast.st-out { opacity: 0; transform: translateY(-6px) scale(0.98); }
.st-avatar {
  width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 50%, var(--red) 100%);
  color: #0c0c0c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}
.st-text { color: var(--fg); font-weight: 500; }
.st-text strong { font-weight: 600; }
.st-when { color: var(--fg-m); font-family: var(--ff-mono); font-size: 11px; margin-left: 4px; }

/* =========================================================
   HERO PROOF PILLS (Value Equation: Likelihood + Time + Effort)
   ========================================================= */

.hero-proof {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.hp-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--hairline);
  border-radius: 100px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--fg-m);
  white-space: nowrap;
}
.hp-item strong { color: var(--fg); font-weight: 600; }
.hp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  border-radius: 6px;
  background: rgba(107,208,255,0.12);
  color: var(--blue);
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .hero-proof { gap: 6px; }
  .hp-item { font-size: 10px; padding: 6px 10px; }
}

/* =========================================================
   ACTS — native APIs note under copy
   ========================================================= */

.acts-stack {
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--fg-d);
  letter-spacing: 0.01em;
  line-height: 1.6;
  margin: 10px 0 0;
  max-width: 44ch;
  padding-left: 14px;
  border-left: 2px solid var(--hairline-s);
}

/* =========================================================
   APP STORE (Connects)
   ========================================================= */

.app-store {
  width: 100%;
  max-width: 1080px;
  margin: clamp(28px, 4vh, 52px) auto 0;
  display: grid;
  gap: 22px;
}

/* Category tabs */
.as-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--hairline);
  border-radius: 100px;
  justify-self: center;
  flex-wrap: wrap;
  justify-content: center;
}
.as-tab {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 8px 16px;
  font-family: var(--ff-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-m);
  letter-spacing: -0.005em;
  border-radius: 100px;
  cursor: pointer;
  transition: color 220ms var(--ease-out), background 220ms var(--ease-out);
  white-space: nowrap;
}
.as-tab:hover { color: var(--fg); }
.as-tab.is-active {
  background: var(--fg);
  color: var(--bg);
  font-weight: 600;
}

/* Grid of cards */
.as-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.as-card {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--hairline-m);
  border-radius: 14px;
  transition: border-color 260ms var(--ease-out),
              background 260ms var(--ease-out),
              transform 260ms var(--ease-out);
}
.as-card:hover {
  border-color: var(--hairline-s);
  background: var(--bg-elev);
  transform: translateY(-2px);
}
.as-card.is-hidden {
  display: none;
}
.as-logo {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #1a1a1e 0%, #111114 100%);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  color: var(--fg);
}
.as-logo svg { width: 22px; height: 22px; }

/* Per-category logo tints */
.as-logo-mail     { color: #6bd0ff; }
.as-logo-cal      { color: #ff4136; }
.as-logo-msg      { color: #30d158; }
.as-logo-contacts { color: #ff851b; }
.as-logo-notes    { color: #febc2e; }
.as-logo-finder   { color: #7fd7ff; }
.as-logo-safari   { color: #39CCCC; }
.as-logo-slack    { color: #e0b0ff; }
.as-logo-notion   { color: #ffffff; }
.as-logo-linear   { color: #c7c9cd; }
.as-logo-figma    { color: #ff7abf; }
.as-logo-github   { color: #ffffff; }
.as-logo-xcode    { color: #6bd0ff; }
.as-logo-terminal { color: #01ff70; }
.as-logo-raycast  { color: #ff4136; }
.as-logo-anthropic { color: #f0856c; }
.as-logo-gemini   { color: #7fd7ff; }
.as-logo-soniox   { color: #d173e5; }
.as-logo-eleven   { color: #ffffff; }
.as-logo-mcp      { color: #48d665; }

.as-body {
  min-width: 0;
  display: grid;
  gap: 3px;
  text-align: left;
}
.as-name {
  font-family: var(--ff-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--fg);
  letter-spacing: -0.01em;
  margin: 0;
}
.as-use {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--fg-m);
  line-height: 1.4;
  margin: 0;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.as-native, .as-tag {
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
}
.as-native {
  color: var(--blue);
  background: rgba(107,208,255,0.12);
  border: 1px solid rgba(107,208,255,0.25);
}
.as-tag {
  color: var(--fg-m);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--hairline-m);
}
.as-card-meta {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(48,209,88,0.04), rgba(107,208,255,0.04));
  border-color: var(--hairline-s);
}

.as-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 16px;
  font-size: 14px;
}
.as-footer-copy {
  margin: 0;
  color: var(--fg-m);
  font-family: var(--ff-sans);
}
.as-footer-cta {
  color: var(--fg);
  font-weight: 500;
  border-bottom: 1px solid var(--fg-m);
  padding-bottom: 1px;
  transition: color 200ms var(--ease-out), border-color 200ms var(--ease-out);
}
.as-footer-cta:hover { color: var(--blue); border-color: var(--blue); }

@media (max-width: 540px) {
  .as-card { grid-template-columns: 40px 1fr; }
  .as-native, .as-tag { grid-column: 2; justify-self: start; }
  .as-use { white-space: normal; }
}

/* =========================================================
   YOURS — 4-card grid variant
   ========================================================= */

.yours-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  max-width: 1180px;
}
@media (max-width: 1000px) {
  .yours-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .yours-grid-4 { grid-template-columns: 1fr; }
}

/* =========================================================
   HOW IT WORKS (3-step strip)
   ========================================================= */

.scene-howitworks {
  background: var(--bg);
}
.howto-steps {
  list-style: none;
  padding: 0;
  width: 100%;
  max-width: 980px;
  margin: clamp(28px, 4vh, 52px) auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  counter-reset: step;
}
@media (max-width: 820px) {
  .howto-steps { grid-template-columns: 1fr; }
}
.howto-step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: start;
  padding: 22px 22px 20px;
  background: var(--bg-card);
  border: 1px solid var(--hairline-m);
  border-radius: 16px;
  text-align: left;
}
.hs-num {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.14em;
  padding-top: 3px;
}
.hs-body { display: grid; gap: 6px; min-width: 0; }
.hs-title {
  font-family: var(--ff-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--fg);
  letter-spacing: -0.01em;
  margin: 0;
}
.hs-copy {
  font-size: 13px;
  line-height: 1.55;
  color: var(--fg-m);
  margin: 0;
}
.hs-time {
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--fg-d);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  align-self: start;
  white-space: nowrap;
}

/* =========================================================
   WAITLIST — Founder seats progress bar
   ========================================================= */

.wf-seats {
  width: 100%;
  max-width: 540px;
  margin: 8px auto 4px;
  display: grid;
  gap: 8px;
}
.wf-seats-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fg-m);
}
.wf-seats-label strong {
  color: var(--fg);
  font-weight: 600;
}
.wf-seats-remain {
  color: var(--ok);
}
.wf-seats-bar {
  position: relative;
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--hairline);
  border-radius: 100px;
  overflow: hidden;
}
.wf-seats-fill {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  background: linear-gradient(90deg, var(--ok) 0%, var(--blue) 100%);
  border-radius: 100px;
  box-shadow: 0 0 8px rgba(107,208,255,0.5);
  transition: width 800ms var(--ease-out);
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .blobs-spinner { animation: none; }
  .sc-line { animation: none; opacity: 1; }
  .wf-dot { animation: none; }
  .prehead-marker { animation: none; }
}
