/* ------------------------------------------------------------------
   Harper — Vercel/midday dark.
   Pure black canvas, zinc ink, white accent, monochrome.
   Geist (display/body) · Geist Mono (labels).
------------------------------------------------------------------- */

:root {
  /* ink ramp (zinc, cool-neutral) */
  --ink: #ffffff;
  --ink-dim: #a1a1a1;
  --ink-faint: #71717a;
  --ink-ghost: #52525b;

  /* canvas + surfaces (pure black, Vercel-grade) */
  --canvas: #000000;
  --surface: #0a0a0a;
  --surface-2: #111111;
  --surface-3: #1a1a1a;

  --line: rgba(255,255,255,0.09);
  --line-strong: rgba(255,255,255,0.16);

  /* type */
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --serif: 'Geist', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', monospace;

  /* accents — monochrome white is primary; semantic colors only */
  --blue: #0a84ff;        /* iMessage product UI only */
  --blue-soft: #4aa3ff;
  --accent: #ffffff;
  --accent-dim: #8f8f8f;
  --green: #4ade80;       /* positive amounts, semantic */
  --red: #ff6b6b;         /* negative amounts, semantic */

  /* shape */
  /* boxy / squared component language */
  --radius: 2px;
  --radius-lg: 3px;
  --radius-xl: 4px;
  --pad: clamp(20px, 4vw, 48px);

  /* motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --dur: .9s;

  /* type scale */
  --t-hero: clamp(40px, 5vw, 74px);
  --t-display: clamp(34px, 5vw, 68px);
  --t-feature: clamp(30px, 3.8vw, 50px);
}

* { box-sizing: border-box; border-color: var(--line); }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* fine grain — keeps pure black from banding, adds printed quiet texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.progress, .nav, main, .footer { position: relative; z-index: 2; }

::selection { background: var(--ink); color: var(--canvas); }

a { color: inherit; text-decoration: none; }

.num { font-variant-numeric: tabular-nums; }

/* Accent words: same Geist, just the bright tone in a two-tone heading.
   (Vercel style — emphasis by white-on-gray, never a second typeface.) */
.serif, em.serif, .serif em {
  font-family: var(--sans);
  font-style: normal;
  font-weight: inherit;
  color: #ededed;
}

/* scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--canvas); }
::-webkit-scrollbar-thumb { background: var(--surface-3); border: 3px solid var(--canvas); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: #2a2a2a; }
* { scrollbar-width: thin; scrollbar-color: var(--surface-3) var(--canvas); }

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

.container { max-width: 1180px; margin: 0 auto; padding-inline: var(--pad); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------------- scroll progress ---------------- */

.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  z-index: 100;
  background: var(--ink);
  box-shadow: 0 0 14px rgba(255,255,255,.5);
  transition: width .08s linear;
}

/* ---------------- custom cursor ---------------- */

.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 26px; height: 26px;
  margin: -13px 0 0 -13px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease),
              border-color .25s var(--ease), background-color .25s var(--ease), opacity .3s var(--ease);
  opacity: 0;
}
.cursor-dot { display: none; }
.cursor.is-visible { opacity: 1; }
.cursor.is-hover {
  width: 54px; height: 54px; margin: -27px 0 0 -27px;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.7);
}
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

body.has-cursor { cursor: none; }
body.has-cursor a, body.has-cursor button, body.has-cursor input, body.has-cursor summary { cursor: none; }

/* ---------------- buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease),
              background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  will-change: transform;
}
.btn i { font-style: normal; transition: transform .3s var(--ease-out); }
.btn:hover i { transform: translateX(5px); }

.btn-primary {
  background: var(--ink);
  color: var(--canvas);
  box-shadow: 0 14px 34px -12px rgba(255,255,255,.25);
}
.btn-primary:hover {
  background: #fff;
  box-shadow: 0 22px 46px -12px rgba(255,255,255,.4);
}

.btn-ghost {
  color: var(--ink);
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.02);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.06);
}

/* ---------------- nav ---------------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad);
  transition: background-color .5s var(--ease), border-color .5s var(--ease), padding .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--canvas) 72%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--line);
  padding-top: 14px; padding-bottom: 14px;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 500; letter-spacing: -0.02em;
  transition: opacity .2s ease;
}
.nav-logo:hover { opacity: .7; }
.nav-logo img { display: block; }

.nav-links {
  display: flex; align-items: center; gap: 30px;
  font-family: var(--mono); font-size: 12px; font-weight: 400;
  letter-spacing: .02em; color: var(--ink-dim);
}
.nav-links a { transition: color .25s var(--ease); position: relative; }
.nav-links a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.nav-links a:not(.nav-cta):hover { color: var(--ink); }
.nav-links a:not(.nav-cta).is-active { color: var(--ink); }
.nav-links a:not(.nav-cta).is-active::after { transform: scaleX(1); }

.nav-cta {
  color: var(--ink);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 2px;
  padding: 8px 14px;
  display: inline-flex; align-items: center;
  font-weight: 500;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--ink); color: var(--canvas) !important; border-color: var(--ink); }

/* ---------------- shared section bits ---------------- */

.section { padding: clamp(96px, 14vh, 170px) 0; position: relative; }

.kicker {
  margin: 0 0 28px;
  font-family: var(--mono); font-size: 12px; font-weight: 400;
  letter-spacing: .04em; color: var(--ink-dim);
  display: inline-flex; align-items: center; gap: 12px;
}
.kicker-num {
  color: var(--ink);
  font-weight: 500;
  padding: 2px 7px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--surface);
  font-size: 11px;
}

.display {
  margin: 0;
  font-weight: 600;
  font-size: var(--t-display);
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: #8b8b90;            /* gray lead — the white accent below pops off it */
}
.display em { font-family: var(--sans); font-style: normal; font-weight: 600; color: #fafafa; }

.serif-accent {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 600;
  font-size: 1em;
  letter-spacing: -0.04em;
  color: #fafafa;
}

.br-lg { display: inline; }

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0 var(--pad);
}
@media (min-width: 1236px) { .rule { margin: 0 auto; max-width: 1180px; } }

/* ---------------- HERO ---------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(120px, 18vh, 200px) 0 clamp(64px, 9vh, 110px);
  overflow: hidden;
  isolation: isolate;
}

/* full-bleed cinematic nature video */
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #000; }
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.03) contrast(1.02);
}
.hero-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(95deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.66) 40%, rgba(0,0,0,.34) 72%, rgba(0,0,0,.5) 100%),
    radial-gradient(120% 80% at 50% 0%, transparent 48%, rgba(0,0,0,.42) 100%),
    linear-gradient(to bottom, rgba(0,0,0,.5) 0%, transparent 22%, transparent 62%, var(--canvas) 100%);
}

/* hero background — refined near-black with a living top-down glow.
   Three stacked layers: aurora (drifting glows) · spotlight+grid · grain. */
.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(140% 110% at 50% -20%, #15161a 0%, #0a0a0c 38%, var(--canvas) 72%);
}
.mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
  opacity: .8;
}
/* neutral white "light from above" — monochrome, Vercel-style */
.m1 { width: 70vw; height: 48vw; left: 15%; top: -28%;
      background: radial-gradient(circle, rgba(255,255,255,.10), transparent 62%);
      animation: mesh1 26s ease-in-out infinite alternate; }
.m2 { width: 46vw; height: 46vw; right: -8%; top: -6%;
      background: radial-gradient(circle, rgba(255,255,255,.07), transparent 64%);
      animation: mesh2 30s ease-in-out infinite alternate; }
.m3 { width: 44vw; height: 44vw; left: -10%; top: 8%;
      background: radial-gradient(circle, rgba(255,255,255,.05), transparent 66%);
      animation: mesh3 34s ease-in-out infinite alternate; }
.m4 { width: 50vw; height: 38vw; right: 18%; bottom: -22%;
      background: radial-gradient(circle, rgba(255,255,255,.04), transparent 68%);
      animation: mesh4 38s ease-in-out infinite alternate; }
.m5 { width: 30vw; height: 30vw; left: 40%; top: 24%;
      background: radial-gradient(circle, rgba(255,255,255,.04), transparent 65%);
      animation: mesh5 32s ease-in-out infinite alternate; }

@keyframes mesh1 { to { transform: translate3d(-6%, 6%, 0) scale(1.12); } }
@keyframes mesh2 { to { transform: translate3d(-8%, 10%, 0) scale(1.1); } }
@keyframes mesh3 { to { transform: translate3d(8%, -8%, 0) scale(1.16); } }
@keyframes mesh4 { to { transform: translate3d(-10%, -6%, 0) scale(1.12); } }
@keyframes mesh5 { to { transform: translate3d(-5%, 8%, 0) scale(1.2); } }

/* spotlight beam + faint grid emanating from the top, fading out */
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 62px 62px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(115% 70% at 50% -6%, #000 18%, transparent 64%);
  mask-image: radial-gradient(115% 70% at 50% -6%, #000 18%, transparent 64%);
}

/* concentrated central spotlight + vignette + clean fade to canvas */
.hero-grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(58% 46% at 50% -8%, rgba(255,255,255,.10), transparent 66%),
    radial-gradient(120% 92% at 50% 40%, transparent 36%, rgba(0,0,0,.46) 100%),
    linear-gradient(to bottom, rgba(0,0,0,.42) 0%, transparent 14%, transparent 74%, var(--canvas) 100%);
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-copy { text-align: left; max-width: 660px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  margin: 0 0 26px;
  font-family: var(--mono); font-size: 12px; font-weight: 400;
  letter-spacing: .02em; color: #d4d4d8;
  padding: 6px 14px 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 8px 24px -12px rgba(0,0,0,.8);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 1px;
  background: var(--ink);
  box-shadow: 0 0 0 0 rgba(255,255,255,.5);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,.45); }
  70% { box-shadow: 0 0 0 9px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

.hero-title {
  margin: 0;
  font-weight: 600;
  font-size: var(--t-hero);
  line-height: 1.05;
  letter-spacing: -0.045em;
  color: #cfcfd3;            /* light gray over video; "actually good" pops white */
  text-shadow: 0 2px 36px rgba(0,0,0,.6);
}
.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}
.hero-title .serif {
  font-weight: 600;
  color: #fff;
}

.reveal-line {
  display: block;
  transform: translateY(110%);
  transition: transform 1s var(--ease-out);
  transition-delay: var(--d, 0s);
  will-change: transform;
}
.reveal-line.is-in { transform: translateY(0); }

.hero-sub {
  margin: 28px 0 0;
  max-width: 470px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: #cdcdd2;
  text-shadow: 0 1px 20px rgba(0,0,0,.7);
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero-trust {
  list-style: none; margin: 36px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 12px 26px;
  font-size: 13px; color: #b6b6bc;
  text-shadow: 0 1px 14px rgba(0,0,0,.7);
}
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 17px; height: 17px; color: #d0d0d4; flex-shrink: 0; }

/* right stage: live phone + floating "caught" cards */
.hero-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 544px;
}
.stage-glow {
  position: absolute; left: 50%; top: 50%;
  width: 108%; height: 104%;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255,255,255,.10), rgba(255,255,255,.03) 56%, transparent 76%);
  filter: blur(14px); pointer-events: none; z-index: 0;
}

/* floating glass receipts of what Harper caught */
.caught-card {
  position: absolute; z-index: 4;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 15px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(28,28,33,.84), rgba(15,15,18,.8));
  box-shadow: 0 20px 44px -18px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.07);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  font-size: 13px; color: #c7c7cd; white-space: nowrap;
  animation: floatcard 7s ease-in-out infinite;
}
.caught-card b { color: #fff; font-weight: 600; margin-right: 2px; }
.cc-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.cc-dot.pos  { background: var(--green); box-shadow: 0 0 10px rgba(74,222,128,.6); }
.cc-dot.save { background: #aebfff;     box-shadow: 0 0 10px rgba(174,191,255,.6); }
.cc-dot.flag { background: var(--red);  box-shadow: 0 0 10px rgba(255,107,107,.55); }
.cc1 { top: -1%;  right: -4%;  animation-delay: 0s; }
.cc2 { top: 43%;  right: -22%; animation-delay: -2.3s; }
.cc3 { bottom: 2%; left: -8%;  animation-delay: -4.6s; }
@keyframes floatcard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* the phone itself */
.hero-feed {
  position: relative;
  width: min(312px, 82%);
  z-index: 2;
  perspective: 1400px;
}
.feed-phone {
  position: relative;
  transform: none;
  transition: transform .6s var(--ease-out);
}
.hero-stage:hover .feed-phone { transform: translateY(-5px); }
.feed-glow {
  position: absolute; inset: -12% -8%;
  background: radial-gradient(ellipse 55% 50% at 50% 45%, rgba(255,255,255,.08), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.feed-screen {
  position: relative;
  border-radius: 40px;
  padding: 4px;
  background: linear-gradient(155deg, #3a3a3e, #1b1b1e 45%, #2a2a2e 80%, #4c4c51);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.8), 0 8px 22px rgba(0,0,0,.6);
}
.feed-screen::after {
  content: ''; position: absolute; right: -2px; top: 26%;
  width: 2px; height: 9%; border-radius: 2px;
  background: linear-gradient(180deg, #6f6f74, #3c3c40);
}
.feed-screen-inner, .feed-screen > .feed-notch,
.feed-head, .feed-thread, .feed-compose { position: relative; }
.feed-notch {
  position: absolute !important;
  left: 50%; top: 10px; transform: translateX(-50%);
  width: 30%; height: 22px; border-radius: 14px;
  background: #000; z-index: 4;
}
.feed-head {
  display: flex; align-items: center; gap: 8px;
  padding: 16px 18px 10px;
  background: rgba(20,20,22,.92);
  border-radius: 36px 36px 0 0;
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.feed-back { color: var(--blue); font-size: 22px; font-weight: 300; line-height: 1; }
.feed-avatar {
  width: 30px; height: 30px; border-radius: 50%; overflow: hidden;
  background: #0c0c0d; box-shadow: 0 0 0 .5px rgba(255,255,255,.14);
}
.feed-avatar img { width: 100%; height: 100%; object-fit: cover; }
.feed-name { font-size: 14px; font-weight: 600; color: #f1f1f1; }
.feed-time {
  margin-left: auto; font-size: 11px; color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}
.feed-thread {
  min-height: 268px;
  padding: 14px 14px 10px;
  display: flex; flex-direction: column; gap: 4px; justify-content: flex-end;
  background:
    radial-gradient(135% 50% at 50% -8%, rgba(255,255,255,.05), transparent 52%),
    #000;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Geist', sans-serif;
}
.fb {
  position: relative;
  max-width: 82%;
  width: fit-content;
  padding: 8px 13px 9px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(8px) scale(.96);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.fb.is-in { opacity: 1; transform: none; }
.fb.them { align-self: flex-start; background: #2a2a2c; color: #fff; }
.fb.me {
  align-self: flex-end;
  background: linear-gradient(180deg, #2a9bff 0%, #0a84ff 55%, #0a7afc 100%);
  color: #fff;
}
.fb b { font-weight: 600; }
.fb.typing { display: inline-flex; gap: 4px; align-items: center; padding: 11px 14px; }
.fb.typing i {
  width: 7px; height: 7px; border-radius: 50%; background: #8e8e93;
  animation: typingdots 1.3s ease-in-out infinite;
}
.fb.typing i:nth-child(2) { animation-delay: .18s; }
.fb.typing i:nth-child(3) { animation-delay: .36s; }
@keyframes typingdots {
  0%, 60%, 100% { opacity: .35; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-2px); }
}
.feed-compose {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px;
  background: rgba(20,20,22,.6);
  border-radius: 0 0 36px 36px;
  border-top: .5px solid rgba(255,255,255,.06);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.feed-plus {
  display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,.13); color: #d8d8d8; font-size: 14px;
}
.feed-field {
  flex: 1; padding: 5px 12px;
  border-radius: 14px; border: .5px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
  color: rgba(235,235,245,.42); font-size: 13px;
}

/* hero marquee */
.hero-marquee {
  position: relative;
  margin-top: clamp(60px, 10vh, 120px);
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: 28px;
  width: max-content;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-dim);
  white-space: nowrap;
  animation: marquee 38s linear infinite;
}
.hero-marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-track .mk {
  font-size: 11px; letter-spacing: .06em;
  color: var(--ink); padding-right: 8px; font-weight: 500;
}
.marquee-track .mv b { color: var(--ink); font-weight: 500; margin-right: 4px; }
.marquee-track .md { color: var(--ink-ghost); }

/* ---------------- manifesto ---------------- */

.manifesto { position: relative; isolation: isolate; }
.manifesto::before {
  content: '';
  position: absolute;
  inset: -8% -20% auto -20%;
  height: 65%;
  z-index: -1;
  background: radial-gradient(58% 100% at 28% 0%, rgba(255,255,255,.04), transparent 70%);
  pointer-events: none;
}
.manifesto .kicker { color: var(--ink-dim); }
.manifesto .display { max-width: 16ch; }

.manifesto-body {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(28px, 4vw, 72px);
  max-width: 940px;
}
.manifesto-body p {
  margin: 0;
  color: var(--ink-dim);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
}
.manifesto-body p:nth-child(2) { color: #c4c4c4; }
.manifesto-body p::first-letter {
  font-weight: 600; color: var(--ink);
}

.pullstat {
  margin-top: clamp(56px, 8vw, 88px);
  padding-top: 36px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  max-width: 940px;
}
.pullstat-num {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(64px, 9vw, 128px);
  line-height: .9;
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, #ffffff 0%, #888888 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pullstat-cap {
  margin: 0;
  max-width: 38ch;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink-dim);
}

/* ---------------- how harper thinks ---------------- */

.thinks-head { max-width: 760px; margin-bottom: clamp(56px, 8vw, 88px); }
.thinks-head .display { max-width: 16ch; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}
.step {
  position: relative;
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: 0 24px 60px -30px rgba(0,0,0,.8);
  transition: transform .4s var(--ease), border-color .4s var(--ease), background-color .4s var(--ease);
  overflow: hidden;
}
.step::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(70% 50% at 50% 0%, rgba(255,255,255,.04), transparent 60%);
  opacity: 0; transition: opacity .4s var(--ease);
  pointer-events: none;
}
.step:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--surface-2); }
.step:hover::after { opacity: 1; }
.step-num {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: .06em; color: var(--ink);
  margin-bottom: 28px;
}
.step-icon {
  width: 48px; height: 48px; color: var(--ink);
  margin-bottom: 24px;
  opacity: .9;
  transition: transform .5s var(--ease-out);
}
.step:hover .step-icon { transform: scale(1.08); }
.step-icon svg { width: 100%; height: 100%; display: block; }
.step-title {
  margin: 0 0 12px;
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(26px, 2.8vw, 34px);
  line-height: 1; letter-spacing: -0.03em;
  color: var(--ink);
}
.step-body {
  margin: 0; color: var(--ink-dim);
  font-size: 15px; font-weight: 400; line-height: 1.65;
}
.step-line {
  align-self: center;
  width: clamp(20px, 3vw, 40px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  margin-top: 60px;
}

/* ---------------- features (shared) ---------------- */

.feature-grid, .imessage-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.feature-grid.flip .feature-copy { order: 2; }
.feature-grid.flip .vignette { order: 1; }

.feature-title {
  margin: 0;
  font-weight: 600;
  font-size: var(--t-feature);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #8b8b90;
}
.feature-title em { font-family: var(--sans); font-style: normal; font-weight: 600; color: #fafafa; }

.feature-blurb {
  margin: 22px 0 0;
  color: var(--ink-dim);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  max-width: 440px;
}

.ticks {
  margin: 32px 0 0;
  padding: 26px 0 0;
  list-style: none;
  display: flex; flex-direction: column; gap: 14px;
  border-top: 1px solid var(--line);
}
.ticks li {
  position: relative;
  padding-left: 28px;
  font-size: 14.5px; font-weight: 400; color: #c4c4c4; line-height: 1.5;
}
.ticks li::before {
  content: ''; position: absolute; left: 0; top: .45em;
  width: 16px; height: 1px; background: var(--ink);
}
.ticks li::after {
  content: ''; position: absolute; left: 16px; top: .45em;
  width: 4px; height: 1px; background: var(--line-strong);
}

/* ---------------- iMessage phone ---------------- */

.phone-stage {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  padding: clamp(8px, 2vw, 24px) 0;
}
.phone-glow {
  position: absolute; inset: -8% 6%;
  background: radial-gradient(ellipse 50% 46% at 50% 46%, rgba(255,255,255,.05), transparent 70%);
  pointer-events: none;
}

.iphone {
  position: relative;
  width: min(360px, 82vw);
  aspect-ratio: 360 / 738;
  border-radius: 60px;
  padding: 3px;
  background: linear-gradient(145deg, #4c4c51 0%, #2a2a2e 18%, #1b1b1e 40%, #151517 62%, #3a3a3e 88%, #5a5a5e 100%);
  box-shadow: 0 0 0 1px rgba(0,0,0,.85), 0 30px 80px rgba(0,0,0,.7), 0 6px 18px rgba(0,0,0,.5);
}
.iphone::after {
  content: ''; position: absolute; right: -2px; top: 27%;
  width: 2px; height: 9%; border-radius: 2px;
  background: linear-gradient(180deg, #6f6f74, #3c3c40);
}

.iphone-screen {
  position: relative;
  height: 100%;
  border-radius: 57px;
  border: 8px solid #000;
  background: #000;
  overflow: hidden;
  display: flex; flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Geist', sans-serif;
}

.ios-statusbar {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 26px 6px; color: #fff;
}
.ios-time { font-size: 14px; font-weight: 600; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.ios-island {
  position: absolute; left: 50%; top: 11px; transform: translateX(-50%);
  width: 32%; height: 24px; border-radius: 14px; background: #000;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.045);
}
.ios-status-icons { display: flex; align-items: center; gap: 5px; color: #fff; }

.msg-header {
  position: absolute; top: 44px; left: 0; right: 0; z-index: 4;
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 0 11px; pointer-events: none;
}
.msg-header > * { pointer-events: auto; }
.msg-back, .msg-name, .msg-video {
  background: rgba(30,30,32,.5);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: inset 0 .5px 0 rgba(255,255,255,.16), 0 4px 14px rgba(0,0,0,.28);
}
.msg-back { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px 0 9px; border-radius: 16px; }
.msg-badge {
  display: grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 10px; background: #0a84ff; color: #fff;
  font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.msg-contact {
  position: absolute; left: 50%; top: -8px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.msg-avatar {
  display: block; width: 48px; height: 48px; border-radius: 50%; overflow: hidden;
  background: #0c0c0d; box-shadow: 0 0 0 .5px rgba(255,255,255,.14), 0 4px 14px rgba(0,0,0,.4);
}
.msg-avatar img { width: 100%; height: 100%; object-fit: cover; }
.msg-name {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px 3px 10px; border-radius: 11px;
  font-size: 11px; font-weight: 600; letter-spacing: -0.01em; color: #f1f1f1;
}
.msg-name svg { color: rgba(241,241,241,.5); }
.msg-video { display: grid; place-items: center; width: 36px; height: 32px; border-radius: 16px; }

.msg-thread {
  flex: 1;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 2px;
  padding: 60px 14px 6px;
  background: radial-gradient(135% 52% at 50% -8%, rgba(255,255,255,.04), transparent 52%);
  overflow: hidden;
}
.msg-thread .ibubble,
.msg-thread .msg-meta {
  opacity: 0;
  transform: translateY(8px) scale(.97);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.msg-thread .ibubble.is-in,
.msg-thread .msg-meta.is-in { opacity: 1; transform: none; }

.msg-meta {
  margin: 1px 4px 6px 0; text-align: right;
  font-size: 9.5px; font-weight: 500; color: #8e8e93;
}

.ibubble {
  position: relative;
  max-width: 74%;
  padding: 8px 13px 9px;
  margin-bottom: 2px;
  border-radius: 19px;
  font-size: 15px; line-height: 1.32; letter-spacing: -0.012em;
}
.ibubble b { font-weight: 600; }
.ibubble.me {
  align-self: flex-end;
  background: linear-gradient(180deg, #2a9bff 0%, #0a84ff 55%, #0a7afc 100%);
  color: #fff;
}
.ibubble.them { align-self: flex-start; background: #2a2a2c; color: #fff; }

.ibubble.tail::before, .ibubble.tail::after {
  content: ''; position: absolute; bottom: -.5px; height: 16px;
}
.ibubble.tail.me::before { right: -6px; border-bottom-left-radius: 14px 11px; border-right: 17px solid #0a7afc; }
.ibubble.tail.me::after { right: -10px; width: 11px; background: #000; border-bottom-left-radius: 9px; }
.ibubble.tail.them::before { left: -6px; border-bottom-right-radius: 14px 11px; border-left: 17px solid #2a2a2c; }
.ibubble.tail.them::after { left: -10px; width: 11px; background: #000; border-bottom-right-radius: 9px; }

.ibubble + .ibubble.me, .ibubble + .ibubble.them { margin-top: 4px; }

.ibubble.typing { display: inline-flex; gap: 4px; align-items: center; padding: 11px 14px; }
.ibubble.typing span { width: 7px; height: 7px; border-radius: 50%; background: #8e8e93; animation: typing 1.3s ease-in-out infinite; }
.ibubble.typing span:nth-child(2) { animation-delay: .18s; }
.ibubble.typing span:nth-child(3) { animation-delay: .36s; }
@keyframes typing {
  0%, 60%, 100% { opacity: .35; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-2px); }
}

.msg-inputrow {
  display: flex; align-items: center; gap: 9px; padding: 8px 12px;
  background: rgba(20,20,22,.5);
  -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  border-top: .5px solid rgba(255,255,255,.07);
}
.msg-plus {
  display: grid; place-items: center; width: 33px; height: 33px; flex: none;
  border-radius: 50%; background: rgba(255,255,255,.13); color: #d8d8d8;
  box-shadow: inset 0 .5px 0 rgba(255,255,255,.22);
}
.msg-field {
  flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-height: 33px; padding: 0 8px 0 14px; border-radius: 17px;
  border: .5px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05);
}
.msg-input { color: rgba(235,235,245,.42); font-size: 14px; letter-spacing: -0.01em; }
.msg-audio { display: grid; place-items: center; width: 26px; height: 26px; flex: none; color: rgba(235,235,245,.45); }
.ios-homebar { width: 36%; height: 4px; border-radius: 3px; background: #fff; opacity: .9; margin: 6px auto 8px; }

.phone-hint {
  margin: 28px 0 0;
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em;
  color: var(--ink-faint);
  animation: hint-pulse 2.6s ease-in-out infinite;
}
.hint-line { width: 28px; height: 1px; background: var(--ink-faint); }
@keyframes hint-pulse { 50% { opacity: .4; } }

/* ---------------- bento ---------------- */

.bento-head, .grounded-head { max-width: 800px; margin-bottom: clamp(48px, 7vw, 76px); }
.bento-head .display { max-width: 18ch; }

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 14px;
}
.bento-tile {
  position: relative;
  padding: clamp(24px, 2.6vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: 0 24px 60px -32px rgba(0,0,0,.9);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), border-color .4s var(--ease), background-color .4s var(--ease);
}
.bento-tile:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: var(--surface-2);
}
.bt-glow {
  position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: radial-gradient(70% 50% at 30% 0%, rgba(255,255,255,.05), transparent 60%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.bento-tile:hover .bt-glow { opacity: 1; }

.bt-lg { grid-column: span 2; grid-row: span 2; }
.bt-wide { grid-column: span 2; }

.bt-tag {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: .04em; color: var(--ink);
  padding: 4px 10px; border: 1px solid var(--line-strong);
  border-radius: 2px; background: var(--canvas);
  width: fit-content;
}
.bt-title {
  margin: 22px 0 0;
  font-weight: 500; font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.1; letter-spacing: -0.03em;
}
.bt-lg .bt-title { font-size: clamp(28px, 3.2vw, 40px); }
.bt-title em { font-family: var(--sans); font-style: normal; font-weight: 600; color: #6f6f76; }
.bt-body {
  margin: 16px 0 0; color: var(--ink-dim);
  font-size: 14.5px; font-weight: 400; line-height: 1.6; max-width: 44ch;
}
.bt-lg .bt-body { font-size: 15.5px; max-width: 38ch; }

/* bento mini visuals */
.bt-mini-thread {
  margin-top: auto; padding-top: 24px;
  display: flex; flex-direction: column; gap: 6px; align-items: flex-start;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
  font-size: 13px;
}
.bt-mini-thread .mini-bubble {
  padding: 7px 12px; border-radius: 16px; line-height: 1.3;
}
.bt-mini-thread .mini-bubble.them { background: #2a2a2c; color: #fff; align-self: flex-start; }
.bt-mini-thread .mini-bubble.me {
  background: linear-gradient(180deg, #2a9bff, #0a7afc); color: #fff; align-self: flex-end;
}
.bt-mini-thread .mini-bubble b { font-weight: 600; }

.bt-shield {
  margin-top: auto; width: 44px; height: 44px; color: var(--green);
  opacity: .85; transition: transform .5s var(--ease-out);
}
.bento-tile:hover .bt-shield { transform: scale(1.08); }
.bt-shield svg { width: 100%; height: 100%; }

.bt-clock {
  margin-top: auto; display: flex; align-items: center; gap: 14px;
  font-family: var(--mono);
}
.bt-clock .clock-h { font-size: 28px; font-weight: 400; color: var(--ink); letter-spacing: .02em; }
.bt-clock .clock-dot {
  width: 8px; height: 8px; border-radius: 1px; background: var(--ink);
  box-shadow: 0 0 0 4px rgba(255,255,255,.12);
}

.bt-chips {
  margin-top: auto; padding-top: 20px;
  display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding-left: 0;
}
.bt-chips li {
  font-family: var(--mono); font-size: 11px; color: var(--ink-dim);
  padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 2px;
  background: var(--canvas);
}

.bt-cal {
  margin-top: auto; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--canvas);
  font-family: var(--mono); font-size: 12px; color: var(--ink-dim);
}
.bt-cal .cal-flag { margin-left: auto; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------------- vignette (web chat) ---------------- */

.vignette {
  position: relative;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 30px 80px -30px rgba(0,0,0,.8), 0 8px 24px -12px rgba(0,0,0,.5);
  overflow: hidden;
}
.vignette::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit;
  background:
    radial-gradient(60% 50% at 88% 0%, rgba(255,255,255,.04), transparent 60%),
    radial-gradient(45% 50% at 0% 100%, rgba(255,255,255,.02), transparent 65%);
  pointer-events: none; z-index: 0;
}
.vignette > * { position: relative; z-index: 1; }

.browser {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.8);
}
.browser-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2);
}
.browser-bar .dots { display: flex; gap: 7px; }
.browser-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--surface-3); border: 1px solid var(--line-strong); }
.urlpill {
  flex: 1; max-width: 320px; margin-inline: auto; text-align: center;
  font-family: var(--mono); font-size: 11px; color: var(--ink-dim);
  background: var(--canvas); border: 1px solid var(--line); border-radius: 2px;
  padding: 5px 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.urlpill::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 6px var(--green);
}
.browser-body { padding: 28px 28px 26px; }
.web-h1 { margin: 0; font-weight: 500; font-size: 32px; letter-spacing: -0.03em; line-height: 1; }
.web-sub { margin: 8px 0 22px; font-size: 13px; font-weight: 400; color: var(--ink-faint); }

.chat-card {
  background: var(--canvas); border: 1px solid var(--line); border-radius: 10px;
  padding: 20px 22px;
}
.chat-q { margin: 0; font-size: 14px; line-height: 1.6; color: #d4d4d4; }
.chat-q .faint { color: var(--ink-faint); }
.chat-a {
  margin-top: 16px; border-top: 1px solid var(--line); padding-top: 16px;
  color: var(--ink-dim); font-size: 14px; font-weight: 400; line-height: 1.7;
}
.chat-a p { margin: 0; }
.chat-a .num {
  color: var(--ink); font-weight: 500;
  background: rgba(255,255,255,.08); padding: 1px 6px; border-radius: 4px; margin: 0 1px;
}

.chat-sources {
  margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line);
  display: flex; flex-wrap: wrap; gap: 6px;
}
.src-chip {
  font-family: var(--mono); font-size: 10px; color: var(--ink-faint);
  padding: 4px 8px; border-radius: 4px; background: var(--surface-2);
}

.agent-bar {
  margin-top: 14px;
  display: flex; align-items: center; gap: 14px;
  background: var(--surface-2); border: 1px solid var(--line-strong);
  border-radius: 2px; padding: 10px 16px 10px 10px;
  transition: border-color .3s var(--ease);
}
.agent-bar:hover { border-color: var(--ink-faint); }
.agent-glyph {
  display: grid; place-items: center; width: 32px; height: 32px; flex: none;
  background: var(--ink); color: var(--canvas); border-radius: 2px;
}
.agent-placeholder { display: inline-flex; align-items: center; color: var(--ink-faint); font-size: 14px; font-weight: 400; }
.agent-caret { width: 1px; height: 15px; background: var(--ink-dim); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------------- grounded ---------------- */

.grounded-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px); align-items: end;
}
.grounded-head .feature-blurb { justify-self: end; }

.accounts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
}
.acct {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px 24px 22px;
  transition: border-color .35s var(--ease), transform .35s var(--ease), background-color .35s var(--ease);
  overflow: hidden;
}
.acct::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(80% 60% at 20% 0%, rgba(255,255,255,.04), transparent 60%);
  opacity: 0; transition: opacity .4s var(--ease); pointer-events: none;
}
.acct:hover { border-color: var(--line-strong); transform: translateY(-3px); background: var(--surface-2); }
.acct:hover::before { opacity: 1; }

.acct-top { display: flex; justify-content: space-between; align-items: baseline; }
.acct-label { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--ink-dim); }
.acct-mask { font-family: var(--mono); font-size: 11px; font-weight: 400; color: var(--ink-faint); letter-spacing: .04em; }
.acct-balance {
  margin: 18px 0 20px;
  font-weight: 400; font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
}
.acct-balance.negative { color: var(--red); }

.spark { display: block; width: 100%; height: 30px; }
.spark-line {
  fill: none; stroke: var(--ink-dim); stroke-width: 1.25;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 400; stroke-dashoffset: 400;
  transition: stroke .35s var(--ease);
}
.spark.is-in .spark-line { animation: sparkdraw 1.8s var(--ease-out) forwards; }
@keyframes sparkdraw { to { stroke-dashoffset: 0; } }
.acct:hover .spark-line { stroke: var(--ink); }

/* streaming feed */
.feed-stream {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
}
.fs-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  font-family: var(--mono); font-size: 11px; color: var(--ink-dim);
  letter-spacing: .04em;
}
.fs-live { display: inline-flex; align-items: center; gap: 8px; color: var(--green); }
.live-dot { width: 7px; height: 7px; border-radius: 1px; background: var(--green); animation: livedot 1.6s ease-in-out infinite; }
@keyframes livedot { 50% { opacity: .35; } }

.fs-rows { list-style: none; margin: 0; padding: 0; }
.fs-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px; align-items: baseline;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  opacity: 0; transform: translateY(8px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.fs-row:last-child { border-bottom: 0; }
.fs-row.is-in { opacity: 1; transform: none; }
.fs-who { color: var(--ink); font-weight: 500; }
.fs-cat { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--ink-faint); }
.fs-amt { font-variant-numeric: tabular-nums; font-weight: 500; }
.fs-amt.pos { color: var(--green); }
.fs-amt.saved { color: var(--ink); font-size: 13px; }

/* ---------------- statement ---------------- */

.statement {
  position: relative;
  padding: clamp(170px, 32vh, 340px) 0;
  text-align: center;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; isolation: isolate; background: #000;
}
.statement::before {
  content: ''; position: absolute; inset: -4%; z-index: 0;
  background: url("assets/statement-bg.jpg") center 40% / cover no-repeat;
  transform: scale(1.04);
  filter: grayscale(1) brightness(.45) contrast(1.1);
  animation: statement-drift 26s ease-in-out infinite alternate;
}
.statement::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(62% 64% at 50% 50%, rgba(0,0,0,.3), rgba(0,0,0,.75) 70%, rgba(0,0,0,.92) 100%),
    linear-gradient(180deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.3) 36%, rgba(0,0,0,.6) 70%, rgba(0,0,0,.92) 100%);
}
@keyframes statement-drift {
  from { transform: scale(1.04) translate3d(0,0,0); }
  to { transform: scale(1.12) translate3d(-1.5%,-1%,0); }
}
@media (prefers-reduced-motion: reduce) { .statement::before { animation: none; } }

.statement-inner { position: relative; z-index: 2; }
.statement-line {
  margin: 0;
  font-weight: 400; font-size: clamp(28px, 3.8vw, 50px);
  line-height: 1.18; color: rgba(255,255,255,.65);
  letter-spacing: -0.03em;
}
.statement-answer {
  margin: 14px 0 0;
  font-family: var(--sans); font-style: normal; font-weight: 600;
  font-size: clamp(40px, 5.4vw, 74px);
  line-height: 1.04; letter-spacing: -0.045em;
  color: #fafafa;
}

/* ---------------- FAQ ---------------- */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.faq-aside { position: sticky; top: 120px; }
.faq-aside .display { max-width: 12ch; }
.faq-aside-blurb {
  margin: 24px 0 0; color: var(--ink-dim);
  font-size: 14.5px; font-weight: 400; line-height: 1.6; max-width: 32ch;
}
.faq-aside-blurb a { color: var(--ink); border-bottom: 1px solid var(--line-strong); }

.faq-list { display: flex; flex-direction: column; }
.faq {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  padding: 26px 4px;
  font-size: clamp(17px, 2vw, 21px); font-weight: 500; color: var(--ink);
  letter-spacing: -0.02em;
  transition: color .25s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  flex: none;
  font-family: var(--mono); font-size: 22px; font-weight: 300;
  color: var(--ink-dim); line-height: 1;
  transition: transform .35s var(--ease-out);
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--ink); }
.faq summary:hover::after { color: var(--ink); }
.faq-a {
  max-height: 0; overflow: hidden;
  color: var(--ink-dim); font-size: 15.5px; font-weight: 400; line-height: 1.65;
  max-width: 60ch;
  transition: max-height .5s var(--ease), padding .5s var(--ease);
  padding: 0 4px;
}
.faq[open] .faq-a { max-height: 320px; padding: 0 4px 28px; }

/* ---------------- waitlist ---------------- */

.waitlist { position: relative; isolation: isolate; }
.waitlist-inner {
  position: relative;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.waitlist-aurora {
  position: absolute;
  top: -10%; left: 50%; transform: translateX(-50%);
  width: 90vw; height: 70vh;
  background:
    radial-gradient(ellipse 50% 60% at 50% 40%, rgba(255,255,255,.07), transparent 60%),
    radial-gradient(ellipse 40% 50% at 50% 60%, rgba(255,255,255,.04), transparent 65%);
  filter: blur(50px);
  z-index: -1; pointer-events: none;
}
.waitlist .kicker { justify-content: center; }
.waitlist-title { max-width: 8ch; margin-inline: auto; }

.waitlist-form {
  margin-top: clamp(36px, 5vh, 52px);
  width: 100%; max-width: 540px;
  display: flex; gap: 8px;
  padding: 8px; border: 1px solid var(--line-strong);
  border-radius: 2px; background: var(--surface);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.waitlist-form:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(255,255,255,.1);
}
.waitlist-form[hidden] { display: none; }
.wl-field { flex: 1; min-width: 0; display: flex; align-items: center; }
.wl-field input {
  width: 100%; background: transparent; border: 0; outline: 0;
  padding: 14px 22px; color: var(--ink);
  font-family: var(--sans); font-size: 15px;
}
.wl-field input::placeholder { color: var(--ink-faint); }
.wl-submit { flex: none; padding: 13px 22px; }
.wl-error {
  margin: 14px 0 0; font-size: 13px; color: var(--red);
}
.wl-error[hidden] { display: none; }

.waitlist-done {
  margin-top: clamp(36px, 5vh, 52px);
  display: flex; flex-direction: column; align-items: center;
}
.waitlist-done[hidden] { display: none; }
.done-check {
  width: 64px; height: 64px; border-radius: 4px;
  background: var(--ink);
  color: var(--canvas);
  display: grid; place-items: center;
  box-shadow: 0 14px 40px -10px rgba(255,255,255,.35);
  animation: pop .6s var(--ease-spring);
}
.done-check svg { width: 30px; height: 30px; }
@keyframes pop { from { transform: scale(.5); opacity: 0; } }
.done-title {
  margin: 24px 0 0;
  font-size: clamp(28px, 3.6vw, 42px); font-weight: 500; letter-spacing: -0.03em;
}
.done-title em { font-family: var(--sans); font-style: normal; font-weight: 600; color: #fafafa; }
.done-rank { margin: 12px 0 0; color: var(--ink-dim); font-size: 15px; font-weight: 400; }
.done-rank b { color: var(--ink); }

.fine {
  margin-top: 28px;
  font-size: 13px; font-weight: 400; color: var(--ink-faint);
  text-align: center; max-width: 32rem;
}

/* ---------------- footer ---------------- */

.footer {
  position: relative;
  border-top: 1px solid var(--line);
  padding: clamp(64px, 9vw, 96px) 0 0;
  background: var(--surface);
  overflow: hidden;
}
.footer-wordmark {
  font-family: var(--sans); font-style: normal; font-weight: 600;
  font-size: clamp(120px, 24vw, 320px);
  line-height: .8; letter-spacing: -0.06em;
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.015));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 40px -0.04em;
  pointer-events: none; user-select: none;
  white-space: nowrap;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px 40px; padding-bottom: 72px;
}
.footer-brand { max-width: 28rem; }
.footer-logo {
  display: flex; align-items: center; gap: 10px; margin: 0;
  font-size: 18px; font-weight: 600; letter-spacing: -0.02em; line-height: 1;
}
.footer-logo img { display: block; }
.footer-tag { margin: 16px 0 0; color: var(--ink-dim); font-size: 14px; font-weight: 400; line-height: 1.6; }
.footer-head {
  margin: 0 0 18px; font-family: var(--mono); font-size: 11px;
  letter-spacing: .04em; color: var(--ink-faint);
}
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 14px; font-weight: 400; color: var(--ink-dim);
  transition: color .25s var(--ease), transform .25s var(--ease); width: fit-content;
}
.footer-col a:hover { color: var(--ink); transform: translateX(3px); }

.footer-base {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-block: 26px;
  font-family: var(--mono); font-size: 11px; font-weight: 400;
  letter-spacing: .04em; color: var(--ink-faint);
}

/* ---------------- reveal ---------------- */

.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity var(--dur) cubic-bezier(.2,.6,.2,1) var(--d, 0s),
              transform var(--dur) cubic-bezier(.2,.6,.2,1) var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------------- responsive ---------------- */

@media (max-width: 980px) {
  .hero { padding-top: clamp(104px, 14vh, 150px); }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { max-width: 600px; margin: 0 auto; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-trust { justify-content: center; }
  .hero-stage { min-height: 0; }
  .caught-card { display: none; }
  .steps { grid-template-columns: 1fr; }
  .step-line { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bt-lg { grid-column: span 2; grid-row: auto; }
  .bt-wide { grid-column: span 2; }
}

@media (max-width: 880px) {
  .feature-grid, .imessage-grid { grid-template-columns: 1fr; gap: 48px; }
  .feature-grid.flip .feature-copy { order: 1; }
  .feature-grid.flip .vignette { order: 2; }
  .grounded-head { grid-template-columns: 1fr; align-items: start; }
  .grounded-head .feature-blurb { justify-self: start; max-width: none; }
  .accounts { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .nav-links { gap: 18px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .pullstat { grid-template-columns: 1fr; gap: 20px; }
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-aside { position: static; }
  .br-lg { display: none; }
  .vignette { padding: clamp(20px, 5vw, 28px); }
  .statement-line { font-size: clamp(24px, 6vw, 32px); }
  .statement-answer { font-size: clamp(34px, 9vw, 46px); }
  .hero-title { font-size: clamp(42px, 12vw, 64px); }
  .waitlist-form { flex-direction: column; border-radius: var(--radius-xl); padding: 14px; gap: 12px; }
  .wl-submit { justify-content: center; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; align-items: flex-start; gap: 8px; }
  .bento { grid-template-columns: 1fr; }
  .bt-lg, .bt-wide { grid-column: auto; }
}

/* ---------------- reduced motion ---------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-line, .hero-sub, .ibubble, .msg-meta, .fs-row, .fb { transition: none; opacity: 1; transform: none; }
  .aurora, .mesh-blob { animation: none; }
  .spark-line { animation: none; stroke-dashoffset: 0; }
  .marquee-track { animation: none; }
  .agent-caret { animation: none; }
  .ibubble.typing span, .fb.typing i { animation: none; opacity: .6; }
}

/* screenshot/QA mode: final state, no motion */
.static-qa { scroll-behavior: auto; }
.static-qa .reveal,
.static-qa .reveal-line,
.static-qa .hero-sub,
.static-qa .ibubble,
.static-qa .msg-meta,
.static-qa .fs-row,
.static-qa .fb,
.static-qa .spark { transition: none !important; opacity: 1 !important; transform: none !important; }
.static-qa .spark-line { stroke-dashoffset: 0 !important; animation: none !important; }
.static-qa .agent-caret { animation: none; }
.static-qa .cursor { display: none; }
