/* Trova site. The tokens are the app's own light theme (compass/src/renderer/src/styles.css):
   paper #fdfdfd, ink #000, dim #606060, chip #12111b, the one accent #016ceb, Mukta, the four-blob
   glow and its grain. Copy follows the app's rules: sentence case, no em dashes. */

@font-face { font-family: 'Mukta'; src: url('fonts/Mukta-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Mukta'; src: url('fonts/Mukta-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Mukta'; src: url('fonts/Mukta-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Mukta'; src: url('fonts/Mukta-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }

:root {
  --bg: #fdfdfd;
  --bg2: #f3f3f3;
  --bg3: #eaeaea;
  --ink: #000000;
  --ink2: #4a4b4d;
  --dim: #606060;
  --hair: rgba(0, 0, 0, 0.085);
  --chip: #12111b;
  --chip-hover: #2b2b2b;
  --acc: #016ceb;
  --card: #ffffff;
  --face: 'Mukta', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, monospace;
  --pad: clamp(16px, 4vw, 48px);
  --max: 1180px;
  --radius: 22px;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.04), 0 26px 64px -20px rgba(0, 0, 0, 0.22);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
/* NOTHING PANS SIDEWAYS ON A PHONE (22 Nov 2026). The hero's tilted window and the glow are meant to
   bleed past the right edge, and phones ignore `overflow-x: hidden` on body: the page measured 439px
   wide on a 390px screen and could be nudged sideways. `clip` cuts without making a scroll
   container, so the pinned feature row (position: sticky) still sticks, which `hidden` on html would
   break. `hidden` stays first on body for browsers that predate `clip`. */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.55 var(--face); -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; }
p { margin: 0; }
code { font-family: var(--mono); font-size: 0.86em; background: var(--bg2); padding: 1px 6px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── THE APP'S GLOW, MOVING THE WAY IT MOVES IN THE APP (compass styles.css, `.app::before`): one box
   104vmin square, centred by negative margins so both transform channels are free; x rides
   `translate` and y rides `transform` on two clocks, with a breathe and a pulse on two more. The
   four durations are primes, so the whole loop is about three and a half hours long and never
   visibly repeats. The four blobs are the app's own: plum, orchid, the blue accent, pale pink. */
.glow {
  position: fixed; z-index: -2; pointer-events: none;
  width: 104vmin; height: 104vmin; left: 50%; top: 42%;
  margin-left: -52vmin; margin-top: -52vmin;
  background:
    radial-gradient(30% 30% at 58% 38%, rgba(102, 62, 223, 0.34) 0%, rgba(102, 62, 223, 0.292) 20%, rgba(102, 62, 223, 0.197) 40%, rgba(102, 62, 223, 0.095) 60%, rgba(102, 62, 223, 0.027) 80%, rgba(102, 62, 223, 0) 100%),
    radial-gradient(30% 30% at 38% 54%, rgba(170, 111, 224, 0.26) 0%, rgba(170, 111, 224, 0.224) 20%, rgba(170, 111, 224, 0.151) 40%, rgba(170, 111, 224, 0.073) 60%, rgba(170, 111, 224, 0.021) 80%, rgba(170, 111, 224, 0) 100%),
    radial-gradient(28% 28% at 40% 34%, rgba(1, 108, 235, 0.17) 0%, rgba(1, 108, 235, 0.146) 20%, rgba(1, 108, 235, 0.099) 40%, rgba(1, 108, 235, 0.048) 60%, rgba(1, 108, 235, 0.014) 80%, rgba(1, 108, 235, 0) 100%),
    radial-gradient(30% 30% at 62% 64%, rgba(244, 205, 234, 0.34) 0%, rgba(244, 205, 234, 0.292) 20%, rgba(244, 205, 234, 0.197) 40%, rgba(244, 205, 234, 0.095) 60%, rgba(244, 205, 234, 0.027) 80%, rgba(244, 205, 234, 0) 100%);
  will-change: transform, opacity;
  animation:
    blob-x 29s cubic-bezier(0.45, 0, 0.55, 1) infinite,
    blob-y 37s cubic-bezier(0.42, 0, 0.58, 1) infinite,
    blob-breathe 23s ease-in-out infinite,
    blob-pulse 17s ease-in-out infinite;
}
@keyframes blob-x { 0% { translate: -41% 0; } 23% { translate: 33% 0; } 47% { translate: -14% 0; } 71% { translate: 46% 0; } 100% { translate: -41% 0; } }
@keyframes blob-y { 0% { transform: translate3d(0, -30%, 0); } 19% { transform: translate3d(0, 26%, 0); } 43% { transform: translate3d(0, -38%, 0); } 68% { transform: translate3d(0, 16%, 0); } 100% { transform: translate3d(0, -30%, 0); } }
@keyframes blob-breathe { 0%, 100% { scale: 1; } 44% { scale: 1.34; } 72% { scale: 0.88; } }
@keyframes blob-pulse { 0%, 100% { opacity: 0.85; } 31% { opacity: 1; } 66% { opacity: 0.62; } }
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ── BUTTONS: the app's black pill and its round control */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px; border: none; border-radius: 999px;
  background: var(--chip); color: #fdfdfd; font: 500 15px/1 var(--face); text-decoration: none;
  white-space: nowrap; cursor: pointer; transition: background 0.15s, transform 0.1s;
}
.pill:hover { background: var(--chip-hover); }
.pill:active { transform: scale(0.96); }
.round {
  width: 42px; height: 42px; border-radius: 50%; border: none; cursor: pointer;
  background: #ffffff; color: var(--ink); font-size: 17px;
  box-shadow: inset 0 0 0 1px var(--hair), 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: transform 0.1s, background 0.15s, opacity 0.2s;
}
.round:hover { background: var(--bg2); }
.round:active { transform: scale(0.92); }
.round:disabled { opacity: 0.35; cursor: default; }

/* ── NAV: a floating glass bar, the app's chrome */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: 20; translate: -50% 0;
  width: min(calc(100% - 2 * var(--pad)), var(--max));
  display: flex; align-items: center; gap: 20px; padding: 7px 7px 7px 16px;
  border-radius: 999px; background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 0 0 1px var(--hair), 0 10px 30px -18px rgba(0, 0, 0, 0.25);
}
.nav-mark { display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.nav-mark img { border-radius: 7px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--dim); transition: color 0.15s; }
.nav-links a:hover { color: var(--ink); }
.nav .pill { height: 38px; padding: 0 16px; font-size: 14px; }

/* ── HERO */
.hero {
  width: min(calc(100% - 2 * var(--pad)), var(--max)); margin: 0 auto;
  padding-top: clamp(120px, 18vh, 180px);
}
/* THE EMPTY STATES' DOTTED VIGNETTE (compass `.empty-scene::before`), centred on the hero image and
   spreading out in a circle a modest way past its edges (founder, 18 Nov 2026: "closer together
   ... start from the center of the hero image and expand in a circular way but not too much").
   The app's own 16px spacing and 1.1px dot; the stage isolates so the field sits behind the screen
   and above the glow. */
.hero { position: relative; }
.stage { position: relative; isolation: isolate; }
.stage::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  left: 50%; top: 45%; width: min(1500px, 125vw); aspect-ratio: 1; translate: -50% -50%;
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.17) 1.1px, transparent 1.6px);
  background-size: 16px 16px; background-position: center;
  -webkit-mask-image: radial-gradient(circle closest-side at 50% 50%, #000 34%, transparent 100%);
  mask-image: radial-gradient(circle closest-side at 50% 50%, #000 34%, transparent 100%);
}
/* the copy and the form sit ABOVE the stage: the stage is later in the page and its dot field spreads
   up past the image, so without this the dots paint over the email field */
.hero-copy { max-width: 620px; position: relative; z-index: 1; }
.eyebrow { font-size: 14px; color: var(--dim); margin-bottom: 18px; }
h1 { font-size: clamp(42px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -0.035em; }
/* THE LOADING SHIMMER, BROUGHT BACK FOR THE SITE: the headline arrives washed in the app's own
   gradient (`--wave-trova`, the eight stops of Trova's icon) sweeping across, then the ink fades in
   over it. Once, on load; the app retired it because the app's launch now has the wave. */
.wash {
  background-image: linear-gradient(100deg, #663edf 0%, #aa6fe0 12%, #f4cdea 24%, #e2627d 38%, #f05202 50%, #0d2230 64%, #6785b9 78%, #aa6fe0 90%, #663edf 100%);
  background-size: 300% 100%; background-position: 100% center;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: wash 1.5s cubic-bezier(0.37, 0, 0.63, 1) both;
  transition: -webkit-text-fill-color 0.7s ease;
}
.wash.settled { -webkit-text-fill-color: var(--ink); }
@keyframes wash { from { background-position: 100% center; } to { background-position: 0% center; } }
.lede { margin-top: 22px; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink2); max-width: 540px; }

/* the waitlist: a white field and the black pill, the app's search line in miniature */
.waitlist { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; max-width: 470px; }
.field {
  flex: 1 1 220px; height: 46px; padding: 0 18px; border: none; border-radius: 999px;
  background: #ffffff; font: 400 16px var(--face); color: var(--ink);
  /* solid white on a soft diffuse shadow, like the cards: a hairline alone let it read as a hole in the page */
  box-shadow: 0 1px 2px rgba(24, 16, 48, 0.06), 0 10px 24px -10px rgba(24, 16, 48, 0.22);
  outline: none; transition: box-shadow 0.15s;
}
.field:focus { box-shadow: inset 0 0 0 1.5px var(--acc), 0 0 0 4px rgba(1, 108, 235, 0.12), 0 10px 24px -10px rgba(24, 16, 48, 0.22); }
.waitlist .pill { height: 46px; }
.form-note { flex-basis: 100%; min-height: 20px; font-size: 14px; color: var(--dim); }
.form-note.ok { color: var(--ink); }
.form-note.err { color: #b42318; }
.hp { position: absolute; left: -9999px; }

/* THE SCREEN: perspective on the stage, the tilt on the screen, driven by --t (0 tilted, 1 flat) */
.stage { perspective: 1600px; margin-top: clamp(48px, 7vh, 80px); padding-bottom: 40px; }
.screen {
  --t: 0;
  position: relative; border-radius: 18px; overflow: hidden; background: #ffffff;
  box-shadow: 0 0 0 1px var(--hair), 0 50px 100px -30px rgba(40, 20, 80, 0.35);
  transform-origin: 50% 0%;
  transform: rotateX(calc((1 - var(--t)) * 24deg)) scale(calc(0.86 + var(--t) * 0.14)) translateY(calc((1 - var(--t)) * 30px));
  will-change: transform;
}
.screen-bar { position: absolute; top: 12px; left: 14px; display: flex; gap: 7px; z-index: 1; }
.screen-bar i { width: 11px; height: 11px; border-radius: 50%; background: #e1e1e1; }
.screen-shot { width: 100%; height: auto; aspect-ratio: 2880 / 1800; object-fit: cover; background: var(--bg2); }

/* ── THE STATEMENT: one sentence, each word darkening as it reaches the middle of the screen */
.statement {
  width: min(calc(100% - 2 * var(--pad)), 980px); margin: clamp(80px, 14vh, 160px) auto;
  min-height: 70vh; display: grid; align-items: center;
}
.reveal { font-size: clamp(34px, 5vw, 64px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 600; }
.reveal .w { color: rgba(0, 0, 0, 0.14); transition: color 0.35s var(--ease); }
.reveal .w.on { color: var(--ink); }

/* ── WHAT SECOND SLICE DOES: the panels in one row, moved sideways by the page's own scroll (founder,
   21 Nov 2026: "the horizontal is just a direction change"). The section is as tall as the travel;
   the pin is one window tall and sticks; main.js moves the row continuously, no stops, no pages.
   A PANEL HAS ONE DESIGN SIZE, 1080 by 640, and the whole track is scaled to fit the window (--s,
   set by main.js), so a panel is laid out identically at every width and the picture the glass
   draws of it (media/usp-panel-N.webp) always matches the live one.
   THE GLASS (main.js) is a WebGL canvas under the pin's page that draws the whole row from those
   pictures: flat in the middle of the window, and in a zone at either edge bent, flared taller,
   smeared and colour-split, the way the founder's reference does. It is clear wherever there is no
   panel, so the page's glow shows through. Nothing here is a CSS or SVG filter, and nothing is
   masked: without the glass the row is simply the live row. */
h2 { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.05; letter-spacing: -0.03em; }
.chapters .panel h3 { font-size: 44px; }
.chapters .panel-copy > p { margin-top: 14px; font-size: 18px; }
.chapters { position: relative; --s: 1; }
.chapters-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.chapters-view { height: 100%; display: flex; flex-direction: column; justify-content: center; }
/* WITH THE GLASS ON THE ROW IS ONE DRAWING (main.js, THE GLASS), under the page. The page's row
   stays where it is for layout, screen readers and clicks, but is not seen (opacity, so it is
   still read aloud), except the playing panel's film card, which fades in over the drawing of
   itself (main.js sets `show`; `cut` takes it away at once). Its shadow is the drawing's. */
.chapters-view { position: relative; z-index: 1; }
.chapters.glass .panel-copy { opacity: 0; }
.chapters.glass .media-big { opacity: 0; box-shadow: none; transition: opacity 0.15s linear; }
.chapters.glass .panel.show .media-big { opacity: 1; }
.chapters.glass .panel.cut .media-big { transition: none; }
.chapters-glass { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; pointer-events: none; display: none; }
.chapters.glass .chapters-glass { display: block; }
.chapters-label {
  align-self: center;
  margin: 40px 0 clamp(14px, 2.4vh, 28px); font-size: 14px; color: var(--dim);
}
/* THE DOTS (founder, 21 Nov 2026: "add the dots back so that it's easier to snap on to something").
   One per panel, under the row (snap.js makes them): the panel the row is on is the long one, and
   each is a button that glides the page to its panel. */
.chapters-dots { align-self: center; display: flex; gap: 6px; margin-top: clamp(18px, 3.2vh, 34px); }
.chapters-dots button {
  width: 22px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer;
  display: grid; place-items: center; -webkit-tap-highlight-color: transparent;
}
.chapters-dots button::before {
  content: ""; width: 7px; height: 7px; border-radius: 99px; background: rgba(0, 0, 0, 0.16);
  transition: width 0.3s var(--ease), background 0.3s;
}
.chapters-dots button:hover::before { background: rgba(0, 0, 0, 0.32); }
.chapters-dots button[aria-current="true"] { width: 34px; }
.chapters-dots button[aria-current="true"]::before { width: 22px; background: var(--ink); }
.chapters-dots button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 99px; }
.chapters-row { height: calc(640px * var(--s)); will-change: transform; transform: translate3d(var(--x, 0px), 0, 0); }
.chapters-track {
  display: flex; gap: 56px; width: max-content; height: 640px;
  margin-left: var(--gutter, calc((100vw - 1080px * var(--s)) / 2));
  transform: scale(var(--s)); transform-origin: 0 0;
}
.panel {
  flex: 0 0 1080px; height: 640px;
  display: grid; grid-template-columns: minmax(250px, 0.72fr) 1.6fr; gap: 40px;
}
.panel-copy { display: flex; flex-direction: column; min-height: 0; }
.panel h3 { font-size: clamp(32px, 3.6vw, 50px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 600; }
.panel-copy > p { margin-top: 18px; font-size: clamp(17px, 1.35vw, 19px); color: var(--ink2); max-width: 30ch; }
/* big rounded media, a piece of the app's glow until the film exists */
/* WHITE CARDS, A SOFT DIFFUSE SHADOW AND NO BORDER, for the film card, the bento and its tiles
   (founder, 18 Nov 2026): the depth comes from the shadow alone, the way the app's own cards float */
:root { --card-shadow: 0 1px 2px rgba(24, 16, 48, 0.03), 0 12px 28px -10px rgba(24, 16, 48, 0.08), 0 36px 72px -24px rgba(24, 16, 48, 0.12); }
.media {
  position: relative; border-radius: 28px; overflow: hidden; min-height: 0;
  background: #fff; box-shadow: var(--card-shadow);
}
.media video { width: 100%; height: 100%; object-fit: cover; }
.media-small { margin-top: auto; aspect-ratio: 4 / 3.4; }
.media-big { height: 100%; }
/* ── THE STAGE (docs/motion.md): the app in a Mac window, tilted like gatheros.co and bleeding
   off the stage's right and bottom edges, so it reads as a window you're looking past rather than
   a framed screenshot. The tilt and the frame are drawn live, so they stay sharp; the camera moves
   `.stage-cam` from the film's own clock (main.js). */
.film-stage { perspective: 1100px; perspective-origin: 30% 40%; }
.stage-tilt {
  position: absolute; left: 7%; top: 11%; width: 132%;
  transform: rotateY(-14deg) rotateX(8deg) rotateZ(-1deg); transform-origin: left center;
}
.stage-cam { transform-origin: 0 0; will-change: transform; }
.app-window {
  position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: #fafafa;
  container-type: inline-size;
  box-shadow: 0 2px 6px rgba(24, 16, 48, 0.04), 0 20px 48px -12px rgba(24, 16, 48, 0.14), 0 48px 96px -32px rgba(24, 16, 48, 0.16);
}
.app-window video { display: block; width: 100%; height: 100%; object-fit: cover; }
/* the app's own traffic lights, which a frame capture of the page leaves out */
.lights { position: absolute; left: 1.4cqw; top: 1.25cqw; display: flex; gap: 0.56cqw; }
/* sized in the window's own width (cqw): 12px lights in a 1440px window, at any scale */
.lights i { width: 0.84cqw; aspect-ratio: 1; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.12); }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
/* the opening frame, faded in over the end frame while a film glides back to its start (main.js) */
.loop-veil { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; }
/* ── SCENES (docs/motion.md, rule 0): full-window 2x stills stacked in the app window. Every
   animation is named `s-…`, runs the scene's whole length and stays paused: main.js sets their time
   from the scene's clock, so the percentages below are fractions of `data-scene` seconds. */
.app-window .shot { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.app-window .shot:first-child { position: relative; }
.app-window [class*="s-"] { animation-duration: 1s; animation-fill-mode: both; animation-timing-function: linear; animation-play-state: paused; }

/* film 2, 6.2s, shot in the main library (5,100 pictures): the field takes focus at 1.6s. At the
   first letter (2.0s) the whole search bar becomes the results shot's bar, because the bar widens
   once it holds text ("Clear search" is wider than the shortcut). A white mask then steps off the 30
   characters of "black packaging with gold foil" until 3.6s, with a caret at its edge, so every
   letter is the app's own. Enter at 3.9s brings the results. */
.scene-sees .s-focus { animation-name: s-focus; }
.scene-sees .s-bar { animation-name: s-show; clip-path: inset(3.9% 26.04% 90% 26.04% round 1.91cqw); }
.scene-sees .s-mask, .scene-sees .s-caret { position: absolute; top: 6.05%; height: 2.05%; }
.scene-sees .s-mask { left: 29.3%; width: 8.1%; background: #fff; animation-name: s-mask; }
.scene-sees .s-caret { left: 29.3%; width: 0.07cqw; background: #1c1b1f; animation-name: s-caret; }
.scene-sees .s-results { animation-name: s-results; }
@keyframes s-focus { 0%, 25.81% { opacity: 0; } 28.23%, 100% { opacity: 1; } }
@keyframes s-show { 0%, 32.25% { opacity: 0; } 32.26%, 100% { opacity: 1; } }
@keyframes s-mask {
  0%, 32.25% { opacity: 0; clip-path: inset(0 0 0 0); }
  32.26% { opacity: 1; clip-path: inset(0 0 0 0); animation-timing-function: steps(18, start); }
  58.06%, 100% { opacity: 1; clip-path: inset(0 0 0 100%); }
}
@keyframes s-caret {
  0%, 32.25% { opacity: 0; left: 29.3%; }
  32.26% { opacity: 1; left: 29.3%; animation-timing-function: steps(18, start); }
  58.06% { opacity: 1; left: 37.3%; }
  62.89% { opacity: 1; left: 37.3%; }
  62.9%, 100% { opacity: 0; left: 37.3%; }
}
@keyframes s-results { 0%, 62.9% { opacity: 0; } 68.55%, 100% { opacity: 1; } }
/* THE SEARCH BEAM, as the app draws it under a focused field (compass styles.css, `.title-wrap::after`
   and `q-beam`): the same six stops at the same alphas, a 4px band at blur 5 on the bar's floor, the
   gradient 56% wide sliding from -62% to 162% and back over 3.2s on the sine curve. A still cannot carry
   it, so it is drawn here over the shots (founder, 21 Nov 2026: "the search doesn't do the beam"). It
   fades in with the focus (0.3s, as the app's transition) and runs on the scene's clock, so the sweep
   below is the app's curve sampled every 0.1s of the 6.2s scene. The box is the bar's own (the s-bar
   clip), rounded and clipped like the app's, so the blur stays inside the pill. */
.scene-sees .s-beam { position: absolute; left: 26.04%; width: 47.92%; top: 3.9%; height: 6.1%;
  border-radius: 1.91cqw; overflow: hidden; pointer-events: none; animation-name: s-beamfade; }
.scene-sees .s-beamband { position: absolute; left: 0; right: 0; bottom: 0; height: 0.278cqw;
  background: linear-gradient(90deg, transparent 0%, rgba(103, 133, 185, 0.30) 12%, rgba(102, 62, 223, 0.58) 28%,
    rgba(170, 111, 224, 0.70) 44%, rgba(226, 98, 125, 0.70) 58%, rgba(240, 82, 2, 0.50) 74%,
    rgba(244, 205, 234, 0.26) 88%, transparent 100%);
  background-size: 56% 100%; background-repeat: no-repeat; filter: blur(0.347cqw); animation-name: s-beamsweep; }
@keyframes s-beamfade { 0%, 28.23% { opacity: 0; } 33.06%, 100% { opacity: 1; } }
@keyframes s-beamsweep {
  0% { background-position: -62.0% 0; }
  28.23% { background-position: -62.0% 0; }
  29.84% { background-position: -61.5% 0; }
  31.45% { background-position: -59.8% 0; }
  33.06% { background-position: -57.2% 0; }
  34.68% { background-position: -53.5% 0; }
  36.29% { background-position: -48.8% 0; }
  37.90% { background-position: -43.1% 0; }
  39.52% { background-position: -36.6% 0; }
  41.13% { background-position: -29.2% 0; }
  42.74% { background-position: -21.1% 0; }
  44.35% { background-position: -12.2% 0; }
  45.97% { background-position: -2.8% 0; }
  47.58% { background-position: 7.1% 0; }
  49.19% { background-position: 17.5% 0; }
  50.81% { background-position: 28.1% 0; }
  52.42% { background-position: 39.0% 0; }
  54.03% { background-position: 50.0% 0; }
  55.65% { background-position: 61.0% 0; }
  57.26% { background-position: 71.9% 0; }
  58.87% { background-position: 82.5% 0; }
  60.48% { background-position: 92.9% 0; }
  62.10% { background-position: 102.8% 0; }
  63.71% { background-position: 112.2% 0; }
  65.32% { background-position: 121.1% 0; }
  66.94% { background-position: 129.2% 0; }
  68.55% { background-position: 136.6% 0; }
  70.16% { background-position: 143.1% 0; }
  71.77% { background-position: 148.8% 0; }
  73.39% { background-position: 153.5% 0; }
  75.00% { background-position: 157.2% 0; }
  76.61% { background-position: 159.8% 0; }
  78.23% { background-position: 161.5% 0; }
  79.84% { background-position: 162.0% 0; }
  81.45% { background-position: 161.5% 0; }
  83.06% { background-position: 159.8% 0; }
  84.68% { background-position: 157.2% 0; }
  86.29% { background-position: 153.5% 0; }
  87.90% { background-position: 148.8% 0; }
  89.52% { background-position: 143.1% 0; }
  91.13% { background-position: 136.6% 0; }
  92.74% { background-position: 129.2% 0; }
  94.35% { background-position: 121.1% 0; }
  95.97% { background-position: 112.2% 0; }
  97.58% { background-position: 102.8% 0; }
  99.19% { background-position: 92.9% 0; }
  100.00% { background-position: 87.7% 0; }
}
/* ── THE BENTO (docs/motion.md, rule 6): the small card is two or three tiles, each holding one
   whole element. Labels, keys and chips are HTML in the app's own style, so they are sharp at any
   size and nothing is ever a cropped screenshot. */
.bento { display: grid; gap: 10px; padding: 10px; }
.tile {
  position: relative; min-width: 0; min-height: 0; overflow: hidden; border-radius: 18px; background: #fff;
  box-shadow: 0 1px 3px rgba(24, 16, 48, 0.05), 0 10px 26px -12px rgba(24, 16, 48, 0.14);
  display: flex; flex-direction: column; padding: 12px;
}
.tile-label { font-size: 12.5px; line-height: 1.2; color: var(--dim); margin-top: auto; }
.bento-intake { grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; }
.bento-intake .tile-qr { grid-row: span 2; align-items: center; }
.bento-intake .tile-qr img { width: 82%; height: auto; aspect-ratio: 1; object-fit: contain; margin: auto; }
.bento-intake .tile-qr .tile-label { align-self: flex-start; margin-top: 10px; }
.keys { display: flex; gap: 6px; margin: auto 0; justify-content: center; }
.keys kbd {
  min-width: 38px; height: 38px; padding: 0 10px; border-radius: 10px; background: #fff; color: var(--ink);
  font-family: 'Mukta', sans-serif; font-weight: 500; font-size: 17px; line-height: 38px; text-align: center;
  box-shadow: 0 1px 2px rgba(24, 16, 48, 0.08), 0 6px 14px -6px rgba(24, 16, 48, 0.22);
}
.fan { position: relative; height: 62%; margin: auto 0; }
.fan img {
  position: absolute; top: 50%; left: 50%; width: 44%; aspect-ratio: 3 / 3.4; object-fit: cover; border-radius: 7px;
  border: 2px solid #fff; box-shadow: 0 8px 18px -8px rgba(20, 10, 40, 0.45);
}
.fan img:nth-child(1) { transform: translate(-80%, -50%) rotate(-9deg); }
.fan img:nth-child(2) { transform: translate(-50%, -56%) rotate(3deg); z-index: 1; }
.fan img:nth-child(3) { transform: translate(-20%, -48%) rotate(11deg); }
.bento-sees { grid-template-columns: 1fr 1fr; grid-template-rows: 1.15fr 1fr; }
.bento-sees .tile-photo { grid-column: span 2; padding: 0; background: #000; }
.bento-sees .tile-photo img { width: 100%; height: 100%; object-fit: cover; }
.tile-line .tile-label, .tile-tags .tile-label { margin: 0 0 6px; }
.tile-line .line { font-size: 14px; line-height: 1.25; color: var(--ink); font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 4px; }
.chips i { font-style: normal; font-size: 11.5px; line-height: 1; padding: 5px 8px; border-radius: 99px; background: #f0f0f0; color: var(--ink); }
.swatches { display: flex; gap: 4px; margin-top: auto; padding-top: 6px; }
.swatches i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1); }
/* film 3, 7.2s, continuing film 2's search: three pictures are gathered into the tray at 1.0, 1.6
   and 2.2s, the set is named "Ostro packaging" at 2.9s, the board opens at 3.8s, and its one line
   is typed in from 4.4s to 5.7s (42 characters stepped off a mask the colour of the page). The mask
   and the caret end exactly where "Soft glass, pastel caps, nothing clinical." ends in the shot
   (measured: 7.53% to 22.43% of the window), so the caret stops at the full stop (founder, 21 Nov
   2026: it ran on past the line, and the mask, a shade lighter than the page, showed as a box). */
/* the gather tray sits at the bottom centre of the app, so this window is placed a little smaller
   and higher than the others: the tray must clear the round control */
.scene-boards .stage-tilt { width: 122%; top: 8%; }
.scene-boards .s-g1 { animation-name: s-g1; }
.scene-boards .s-g2 { animation-name: s-g2; }
.scene-boards .s-g3 { animation-name: s-g3; }
.scene-boards .s-g4 { animation-name: s-g4; }
.scene-boards .s-g5 { animation-name: s-g5; }
.scene-boards .s-mask, .scene-boards .s-caret { position: absolute; top: 10.45%; height: 2.3%; }
.scene-boards .s-mask { left: 7.45%; width: 15.15%; background: #fbfbfb; animation-name: s-bmask; }
.scene-boards .s-caret { left: 7.57%; width: 0.07cqw; background: #1c1b1f; animation-name: s-bcaret; }
@keyframes s-g1 { 0%, 13.89% { opacity: 0; } 15.97%, 100% { opacity: 1; } }
@keyframes s-g2 { 0%, 22.22% { opacity: 0; } 24.31%, 100% { opacity: 1; } }
@keyframes s-g3 { 0%, 30.56% { opacity: 0; } 32.64%, 100% { opacity: 1; } }
@keyframes s-g4 { 0%, 40.28% { opacity: 0; } 43.06%, 100% { opacity: 1; } }
@keyframes s-g5 { 0%, 52.78% { opacity: 0; } 57.64%, 100% { opacity: 1; } }
@keyframes s-bmask {
  0%, 52.78% { opacity: 0; clip-path: inset(0 0 0 0); }
  57.64% { opacity: 1; clip-path: inset(0 0 0 0); }
  61.11% { opacity: 1; clip-path: inset(0 0 0 0); animation-timing-function: steps(42, start); }
  79.17%, 100% { opacity: 1; clip-path: inset(0 0 0 100%); }
}
@keyframes s-bcaret {
  0%, 61.1% { opacity: 0; left: 7.57%; }
  61.11% { opacity: 1; left: 7.57%; animation-timing-function: steps(42, start); }
  79.17% { opacity: 1; left: 22.55%; }
  87.49% { opacity: 1; left: 22.55%; }
  87.5%, 100% { opacity: 0; left: 22.55%; }
}
.bento-boards { grid-template-columns: 1fr 1.25fr; grid-template-rows: 1.2fr 1fr; }
.bento-boards .tile-cover { grid-column: span 2; flex-direction: row; gap: 6px; padding: 8px; }
.bento-boards .tile-cover img { flex: 1; min-width: 0; height: 100%; object-fit: cover; border-radius: 10px; }
.bento-boards .tile-name .name { font-size: 16px; line-height: 1.15; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.bento-boards .tile-name .tile-label { margin-top: 4px; }
.bento-boards .tile-name { justify-content: flex-end; }
/* film 4, 7.4s, continuing film 3: on the finished board, "Export TASTE.md" is pressed at 1.3s and
   the real export opens over the app at 1.8s, rendered as a live markdown preview of the file's
   own text, then reads down through its sections to the designer's line. The action is at the top
   right, so this window sits further left and smaller than the others. */
.scene-direction .stage-tilt { left: 3%; width: 100%; top: 11%; }
.scene-direction .s-press {
  position: absolute; left: 81.3%; top: 5.2%; width: 8.1%; height: 3.4%; border-radius: 99px;
  background: rgba(20, 16, 30, 0.08); animation-name: s-press;
}
@keyframes s-press { 0%, 17.57% { opacity: 0; transform: scale(1.06); } 19.59% { opacity: 1; transform: scale(0.97); } 22.97%, 100% { opacity: 0; transform: scale(1); } }
.doc {
  position: absolute; left: 24%; top: 12%; width: 54%; height: 86%; border-radius: 1.1cqw; overflow: hidden;
  background: #fff; animation-name: s-doc;
  box-shadow: 0 0.2cqw 0.6cqw rgba(24, 16, 48, 0.06), 0 2cqw 5cqw -1cqw rgba(24, 16, 48, 0.22);
  display: flex; flex-direction: column;
}
@keyframes s-doc { 0%, 24.32% { opacity: 0; transform: translateY(6%) scale(0.98); } 32.43%, 100% { opacity: 1; transform: none; } }
.scene-direction .doc { animation-timing-function: linear; }
.doc-bar { flex: 0 0 auto; height: 2.6cqw; display: flex; align-items: center; justify-content: center; position: relative; border-bottom: 0; background: #fbfbfb; }
.doc-lights { position: absolute; left: 1cqw; top: 50%; translate: 0 -50%; display: flex; gap: 0.45cqw; }
.doc-lights i { width: 0.75cqw; aspect-ratio: 1; border-radius: 50%; background: #ff5f57; }
.doc-lights i:nth-child(2) { background: #febc2e; }
.doc-lights i:nth-child(3) { background: #28c840; }
.doc-title { font-size: 1.1cqw; font-weight: 500; color: #4a4a50; }
.doc-body { flex: 1; overflow: hidden; position: relative; }
.doc-scroll { padding: 2.2cqw 3cqw 6cqw; animation-name: s-docscroll; }
/* the scroll ends exactly on the last line: main.js measures the gap into --scroll-end */
@keyframes s-docscroll { 0%, 45.95% { transform: translateY(0); } 83.78%, 100% { transform: translateY(var(--scroll-end, -50%)); } }
.doc-scroll .md-h1, .doc-scroll .md-h2, .doc-scroll .md-h3, .doc-scroll .md-p, .doc-scroll .md-li, .doc-scroll .md-hex, .doc-scroll .md-quote { margin: 0; color: #1c1b1f; }
.md-h1 { font-size: 3.1cqw; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.md-h2 { font-size: 2.05cqw; font-weight: 600; margin-top: 2.4cqw !important; line-height: 1.2; }
.md-h3 { font-size: 1.6cqw; font-weight: 600; margin-top: 1.1cqw !important; }
.md-h1 b, .md-h2 b, .md-h3 b { color: #c7c4cf; font-weight: 500; margin-right: 0.3em; }
.md-p, .md-li { font-size: 1.55cqw; line-height: 1.5; margin-top: 0.6cqw !important; color: #2c2b31 !important; }
.md-dim { color: #8a8790 !important; }
.md-li { margin-top: 0.2cqw !important; }
.doc-scroll code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 0.92em; background: #f3f2f6; padding: 0.1em 0.35em; border-radius: 0.3em; }
.md-pics { display: flex; gap: 1cqw; margin-top: 1.2cqw; }
.md-pics figure { flex: 1; margin: 0; }
.md-pics img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 0.6cqw; display: block; }
.md-pics figcaption { font-size: 1.15cqw; color: #8a8790; margin-top: 0.4cqw; }
.md-palette { display: flex; height: 2.6cqw; border-radius: 0.5cqw; overflow: hidden; margin-top: 1.1cqw; }
.md-hex { font-size: 1.35cqw; margin-top: 0.6cqw !important; display: flex; gap: 0.4cqw; flex-wrap: wrap; }
.md-quote { font-size: 2cqw; line-height: 1.4; margin-top: 1cqw !important; padding-left: 1.2cqw; border-left: 0.25cqw solid #d9d6e0; }
/* bento: what one export writes */
.bento-direction { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.bento-direction .tile-files { grid-row: span 2; }
.bento-direction .tile-label { margin: 0 0 8px; }
.files { display: flex; flex-direction: column; gap: 6px; }
.files i {
  font-style: normal; font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 12.5px; color: var(--ink);
  padding: 7px 9px; border-radius: 9px; background: #f4f3f7;
}
.pbar { display: flex; height: 22px; border-radius: 7px; overflow: hidden; }
.pnums { font-size: 12.5px; color: var(--ink); margin-top: 6px; font-weight: 500; }
/* film 5, 8.6s, continuing film 4: on the Ostro board, an agent's terminal slides in and replays
   the session that ran against Trova for agents, word for word where it quotes a tool: the brief
   read, the agent asking, the user saying yes, the search, the new board. The terminal steps aside
   at 6.8s on the board the tool created, and the one push lands on it. */
.scene-agents .s-newboard { animation-name: s-newboard; }
@keyframes s-newboard { 0%, 79.07% { opacity: 0; } 83.72%, 100% { opacity: 1; } }
.term {
  position: absolute; left: 4%; top: 11%; width: 62%; height: 80%; border-radius: 1.1cqw; overflow: hidden;
  background: #17161b; color: #e9e7ee; animation-name: s-term;
  box-shadow: 0 0.2cqw 0.6cqw rgba(10, 8, 20, 0.15), 0 2.4cqw 6cqw -1cqw rgba(10, 8, 20, 0.45);
  display: flex; flex-direction: column;
}
@keyframes s-term { 0%, 9.3% { opacity: 0; transform: translateY(5%) scale(0.98); } 15.12%, 79.07% { opacity: 1; transform: none; } 83.72%, 100% { opacity: 0; transform: translateY(-3%) scale(0.98); } }
.term-bar { flex: 0 0 auto; height: 2.6cqw; position: relative; display: flex; align-items: center; justify-content: center; background: #201f25; }
.term-title { font-size: 0.9cqw; color: #9a97a3; }
.term-body { padding: 1.6cqw 2cqw; font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 1.42cqw; line-height: 1.45; }
.tl { margin: 0 0 0.4cqw; }
.tl span { display: inline-block; width: 1.6cqw; color: #8b8794; }
.tl-u { color: #ffffff; margin-top: 0.8cqw; }
.tl-u:first-child { margin-top: 0; }
.tl-u span { color: #c9b8ff; }
.tl-t span { color: #7fd6a4; }
.tl-t b { font-weight: 600; color: #ffffff; }
.tl-a span { color: #e9e7ee; }
.tl-r { color: #a9a6b1; padding-left: 1.6cqw; }
.tl-r span { width: 1.6cqw; margin-left: -1.6cqw; }
@keyframes s-l1 { 0%, 17.44% { opacity: 0; transform: translateY(0.5cqw); } 19.19%, 100% { opacity: 1; transform: none; } }
.scene-agents .s-l1 { animation-name: s-l1; }
@keyframes s-l2 { 0%, 26.74% { opacity: 0; transform: translateY(0.5cqw); } 28.49%, 100% { opacity: 1; transform: none; } }
.scene-agents .s-l2 { animation-name: s-l2; }
@keyframes s-l3 { 0%, 31.4% { opacity: 0; transform: translateY(0.5cqw); } 33.14%, 100% { opacity: 1; transform: none; } }
.scene-agents .s-l3 { animation-name: s-l3; }
@keyframes s-l4 { 0%, 40.7% { opacity: 0; transform: translateY(0.5cqw); } 42.44%, 100% { opacity: 1; transform: none; } }
.scene-agents .s-l4 { animation-name: s-l4; }
@keyframes s-l5 { 0%, 51.16% { opacity: 0; transform: translateY(0.5cqw); } 52.91%, 100% { opacity: 1; transform: none; } }
.scene-agents .s-l5 { animation-name: s-l5; }
@keyframes s-l6 { 0%, 58.14% { opacity: 0; transform: translateY(0.5cqw); } 59.88%, 100% { opacity: 1; transform: none; } }
.scene-agents .s-l6 { animation-name: s-l6; }
@keyframes s-l7 { 0%, 61.63% { opacity: 0; transform: translateY(0.5cqw); } 63.37%, 100% { opacity: 1; transform: none; } }
.scene-agents .s-l7 { animation-name: s-l7; }
@keyframes s-l8 { 0%, 68.6% { opacity: 0; transform: translateY(0.5cqw); } 70.35%, 100% { opacity: 1; transform: none; } }
.scene-agents .s-l8 { animation-name: s-l8; }
@keyframes s-l9 { 0%, 72.09% { opacity: 0; transform: translateY(0.5cqw); } 73.84%, 100% { opacity: 1; transform: none; } }
.scene-agents .s-l9 { animation-name: s-l9; }
/* bento: the app's own Agents setting */
.bento-agents { grid-template-columns: 1fr 1.1fr; grid-template-rows: 0.7fr 1fr; }
.bento-agents .tile-toggle { grid-column: span 2; }
.bento-agents .tile-label { margin: 0 0 8px; }
.bento-agents .tile-foot { margin: auto 0 0; }
.bento-agents .tile-toggle .tile-label { margin: auto 0 0; }
.tg-row { display: flex; align-items: center; gap: 12px; justify-content: space-between; }
.tg-label { font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.2; }
/* the app's own toggle, on: 36 x 21, a 15px white knob, the near-black of `--chip` */
.tg { flex: 0 0 auto; width: 36px; height: 21px; border-radius: 99px; background: #26221c; position: relative; }
.tg i { position: absolute; top: 3px; left: 18px; width: 15px; height: 15px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18); }
/* film 6 (founder, 18 Nov 2026: "the care part needs care"): two bentos of real recordings, each a
   small looping clip of one motion at 2x, cropped to the element. Big card: the wave on top, the
   dust and the glow below. Small card: the side panel, the slider and the nav marker. Rule 0 allows
   a recording for continuous motion, and every one of these is. */
/* founder, 18 Nov 2026: no small card and no labels; a narrower box beside the wave instead */
.bento-craft-b { grid-template-columns: repeat(6, 1fr); grid-template-rows: 1.35fr 1fr; gap: 10px; padding: 10px; }
.bento-craft-b .t-wave { grid-column: span 4; }
.bento-craft-b .t-rail { grid-column: span 2; }
.bento-craft-b .t-dust, .bento-craft-b .t-beam { grid-column: span 3; }
.tile-clip { padding: 0; background: #f7f6fa; }
.tile-clip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.t-rail video { object-position: center top; }
.t-beam video { object-position: left center; }
.tile-clip .tile-label {
  position: absolute; left: 10px; bottom: 10px; margin: 0; padding: 5px 10px; border-radius: 99px;
  background: rgba(255, 255, 255, 0.92); color: var(--ink); font-size: 12px; line-height: 1.2;
  box-shadow: 0 2px 8px -2px rgba(24, 16, 48, 0.18); max-width: calc(100% - 20px);
}
.bento-craft-b .film-ctl { z-index: 3; }
.media-small:not(.bento) > img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── HOW IT WORKS */
.file { margin: 28px 0 0; border-radius: var(--radius); background: #ffffff; box-shadow: var(--shadow-card), inset 0 0 0 1px var(--hair); overflow: hidden; }
.file figcaption { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--hair); font: 500 13px var(--mono); color: var(--dim); }
.file .dot { width: 10px; height: 10px; border-radius: 50%; background: #e1e1e1; }
.file .dot + span:not(.dot) { margin-left: 8px; }
.file pre { margin: 0; padding: 22px 24px; overflow-x: auto; font: 14px/1.7 var(--mono); color: var(--ink2); }
.file code { background: none; padding: 0; font-size: inherit; }
.file .h { color: var(--ink); font-weight: 600; }
.file .m { color: #8a8a8a; }

/* ── PRIVATE */
.private {
  width: min(calc(100% - 2 * var(--pad)), 760px); margin: clamp(80px, 12vh, 140px) auto; text-align: center;
}
.private p { margin-top: 16px; font-size: 19px; color: var(--dim); }

/* ── CLOSING */
.closing {
  width: min(calc(100% - 2 * var(--pad)), 620px); margin: clamp(80px, 12vh, 140px) auto clamp(60px, 10vh, 120px);
  text-align: center; display: flex; flex-direction: column; align-items: center;
}
.closing img { border-radius: 22px; box-shadow: 0 20px 50px -20px rgba(40, 20, 80, 0.45); }
.closing h2 { margin-top: 28px; }
.closing > p { margin-top: 12px; color: var(--dim); font-size: 18px; }
.closing .waitlist { justify-content: center; margin-left: auto; margin-right: auto; }
.closing .form-note { text-align: center; }

.foot {
  width: min(calc(100% - 2 * var(--pad)), var(--max)); margin: 0 auto; padding: 28px 0 40px;
  display: flex; justify-content: space-between; font-size: 14px; color: var(--dim); border-top: 1px solid var(--hair);
}
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* ── SMALL SCREENS */
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav .pill { margin-left: auto; }
  .steps { grid-template-columns: 1fr; }
  .chapters { height: auto !important; }
  .chapters-pin { position: static; height: auto; overflow: visible; }
  .chapters-view { display: block; height: auto; }
  .chapters-glass { display: none !important; }
  .chapters-dots { display: none; } /* the panels stack: nothing to page through */
  .chapters-label { padding: 0 var(--pad); margin: 0 0 8px; }
  .chapters-row { height: auto; transform: none; }
  .chapters-track { display: block; width: auto; height: auto; margin: 0; transform: none; }
  .panel { display: flex; flex-direction: column-reverse; gap: 22px; height: auto; padding: 24px var(--pad) 40px; }
  .chapters .panel h3 { font-size: 30px; }
  .chapters .panel-copy > p { font-size: 16px; }
  .media-big { height: auto; aspect-ratio: 4 / 3; }
  .media-small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .glow { animation: none; translate: -8% 0; transform: translate3d(0, -10%, 0); }
  .screen { --t: 1 !important; }
  .reveal .w { color: var(--ink); transition: none; }
  .wash { animation: none; -webkit-text-fill-color: var(--ink); }
}

/* ── THE FILM CONTROL (the Pixel store page's round button): pause while a film plays, play when
   paused, replay once it has ended. Shown only once a film has loaded, so an empty slot stays a
   quiet piece of glow rather than a button with nothing behind it. */
.film-ctl {
  position: absolute; right: 18px; bottom: 18px; z-index: 2; width: 52px; height: 52px; border: none;
  border-radius: 50%; background: #ffffff; color: var(--ink); cursor: pointer; display: none;
  place-items: center; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 10px 24px -10px rgba(0, 0, 0, 0.35);
  transition: transform 0.12s, background 0.15s, opacity 0.2s;
}
/* with the glass on, only the panel that is playing shows its control (the glass's pictures have none) */
.chapters.glass .panel:not(.live) .film-ctl { opacity: 0; pointer-events: none; }
.film-ctl:hover { background: var(--bg2); }
.film-ctl:active { transform: scale(0.92); }
.film-ctl svg { width: 22px; height: 22px; fill: currentColor; }
.film-ctl path { display: none; }
.media.has-film .film-ctl { display: grid; }
.media .film-ctl .i-pause { display: block; }
.media.paused .film-ctl .i-pause, .media.ended .film-ctl .i-pause { display: none; }
.media.paused .film-ctl .i-play { display: block; }
.media.ended .film-ctl .i-replay { display: block; }
.media-small .film-ctl { width: 40px; height: 40px; right: 12px; bottom: 12px; }
.media-small .film-ctl svg { width: 17px; height: 17px; }

/* ── HOW IT WORKS (after eagle.cool's section): a centred headline, a hub, branching lines and one
   white card per step, each with a small drawing that loops. The drawings are CSS, so they are
   sharp at any size and cost nothing to load. */
.how { width: min(calc(100% - 2 * var(--pad)), var(--max)); margin: clamp(80px, 12vh, 140px) auto; text-align: center; }
.how-title { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 600; }
.how-wash { background: linear-gradient(100deg, #e7a6c6, #8a6cf0 55%, #016ceb); -webkit-background-clip: text; background-clip: text; color: transparent; }
.how-lede { margin: 18px auto 0; max-width: 46ch; color: var(--dim); font-size: clamp(16px, 1.3vw, 18px); }
.hub {
  position: relative; margin: 40px auto 0; width: max-content; display: grid; grid-template-columns: repeat(3, 108px);
  padding: 6px; border-radius: 99px; background: #fff; box-shadow: var(--card-shadow);
}
.hub span:not(.hub-mark) { position: relative; z-index: 1; text-align: center; font-size: 15px; font-weight: 500; line-height: 40px; color: var(--ink); }
.hub-mark { position: absolute; top: 6px; left: 6px; width: 108px; height: 40px; border-radius: 99px; background: #efeef3; animation: hub-mark 4.8s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
@keyframes hub-mark { 0%, 28% { transform: translateX(0); } 33%, 61% { transform: translateX(108px); } 66%, 94% { transform: translateX(216px); } 100% { transform: translateX(0); } }
.hand-agent { width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; background: #1c1b1f; color: #fff; font: 600 17px/1 ui-monospace, 'SF Mono', Menlo, monospace; }
.hub-lines { display: block; width: 100%; height: 64px; margin-top: -2px; }
.hub-lines path { fill: none; stroke: rgba(28, 27, 31, 0.14); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; }
.step { border-radius: 26px; background: #fff; box-shadow: var(--card-shadow); padding: 14px 14px 26px; }
.step h3 { margin: 22px 12px 0; font-size: 21px; font-weight: 600; }
.step h3 span { background-image: linear-gradient(90deg, #8a6cf0, #016ceb); background-size: 100% 2px; background-repeat: no-repeat; background-position: 0 100%; padding-bottom: 3px; }
.step p { margin: 10px 12px 0; color: var(--dim); font-size: 16px; line-height: 1.5; }
.art { position: relative; aspect-ratio: 1 / 0.82; border-radius: 18px; background: #f7f6fa; overflow: hidden; display: grid; place-items: center; }
.grid9 { --g: 10px; width: 62%; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--g); }
.grid9 .c { aspect-ratio: 1; border-radius: 9px; background: #fff; display: block; box-shadow: 0 1px 2px rgba(24, 16, 48, 0.05), 0 6px 14px -8px rgba(24, 16, 48, 0.18); position: relative; overflow: hidden; }
/* a Trova tile in miniature: a thin head, then the picture */
.grid9 .c::before { content: ''; position: absolute; left: 12%; right: 12%; top: 26%; bottom: 10%; border-radius: 4px; background: #efeef3; }
.grid9 .c::after { content: ''; position: absolute; left: 12%; top: 11%; width: 34%; height: 5%; border-radius: 2px; background: #dcdae3; }

/* Save: three pictures arrive from three directions and take their place, then the loop starts over */
.step-save .in { animation: save-in 4.8s cubic-bezier(0.22, 1, 0.36, 1) infinite both; }
.step-save .in-a { --pic: linear-gradient(140deg, #f4cdea, #b9a2f4); --from: translate(0, -260%) rotate(-12deg); }
.step-save .in-b { --pic: #1c1b1f; --from: translate(260%, 0) rotate(10deg); animation-delay: 0.35s; }
.step-save .in-c { --pic: linear-gradient(140deg, #dbe8ff, #016ceb); --from: translate(-260%, 60%) rotate(-8deg); animation-delay: 0.7s; }
@keyframes save-in {
  0% { transform: var(--from); opacity: 0; }
  22%, 82% { transform: none; opacity: 1; }
  94%, 100% { transform: none; opacity: 0; }
}

/* Gather: three pictures are picked (a dark check), then come together as one board */
.step-gather .c { position: relative; }
.step-gather .c0 { --pic: linear-gradient(140deg, #f4cdea, #b9a2f4); } .step-gather .c4 { --pic: #1c1b1f; } .step-gather .c8 { --pic: linear-gradient(140deg, #dbe8ff, #016ceb); }
.grid9 .c[style], .step-save .in::before, .step-gather .pick::before { background: var(--pic); }
.step-gather .c:not(.pick) { animation: gather-rest 4.8s ease infinite both; }
@keyframes gather-rest { 0%, 40% { opacity: 1; } 52%, 84% { opacity: 0.35; } 96%, 100% { opacity: 1; } }
.step-gather .pick::after {
  content: ''; position: absolute; top: 5px; right: 5px; width: 24%; aspect-ratio: 1; border-radius: 50%; z-index: 2;
  background: #1c1b1f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
  box-shadow: 0 0 0 2px #fff; top: 4px; right: 4px; left: auto; height: auto; transform: scale(0); animation: gather-check 4.8s ease infinite both; animation-delay: inherit;
}
.step-gather .p-a { --to: translate(calc(100% + var(--g)), calc(100% + var(--g))) rotate(-8deg); animation: gather-go 4.8s cubic-bezier(0.65, 0, 0.35, 1) infinite both; }
.step-gather .p-b { --to: translate(0, 0) rotate(2deg); animation: gather-go 4.8s cubic-bezier(0.65, 0, 0.35, 1) infinite both; animation-delay: 0s; }
.step-gather .p-c { --to: translate(calc(-100% - var(--g)), calc(-100% - var(--g))) rotate(9deg); animation: gather-go 4.8s cubic-bezier(0.65, 0, 0.35, 1) infinite both; }
.step-gather .p-a::after { animation-delay: 0s; } .step-gather .p-b::after { animation-delay: 0.25s; } .step-gather .p-c::after { animation-delay: 0.5s; }
@keyframes gather-check { 0%, 8% { transform: scale(0); } 14%, 84% { transform: scale(1); } 92%, 100% { transform: scale(0); } }
@keyframes gather-go { 0%, 40% { transform: none; } 56%, 84% { transform: var(--to); box-shadow: 0 10px 22px -10px rgba(24, 16, 48, 0.4); } 96%, 100% { transform: none; } }
.step-gather .p-b { z-index: 2; }

/* Hand over: the board becomes a file, and the file travels to your agent */
.step-hand .art { display: flex; align-items: center; justify-content: space-between; padding: 0 12%; }
.hand-doc {
  flex: 0 0 34%; aspect-ratio: 0.78; border-radius: 12px; background: #fff; box-shadow: 0 10px 24px -12px rgba(24, 16, 48, 0.35);
  padding: 12px; display: flex; flex-direction: column; gap: 7px; text-align: left; box-sizing: border-box;
  animation: hand-doc 4.8s cubic-bezier(0.22, 1, 0.36, 1) infinite both;
}
.hand-doc b { font: 600 11px/1 ui-monospace, 'SF Mono', Menlo, monospace; color: #1c1b1f; }
.hand-doc > i { display: block; height: 5px; border-radius: 3px; background: #e8e6ef; }
.hand-doc > i.short { width: 60%; }
.hand-pics { display: flex; gap: 6%; margin-top: auto; }
.hand-pics i { flex: 1; aspect-ratio: 1; border-radius: 4px; background: linear-gradient(140deg, #f4cdea, #b9a2f4); }
.hand-pics i:nth-child(2) { background: #1c1b1f; } .hand-pics i:nth-child(3) { background: linear-gradient(140deg, #dbe8ff, #016ceb); }
.hand-path { flex: 1; height: 22px; margin: 0 6%; overflow: visible; }
.step-hand .hand-agent { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 15px; }
.step-hand .hand-agent svg { width: 28px; height: 28px; }
.hand-path path { fill: none; stroke: #016ceb; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 120; stroke-dashoffset: 120; vector-effect: non-scaling-stroke; animation: hand-path 4.8s ease infinite both; }
.step-hand .hand-agent { animation: hand-agent 4.8s ease infinite both; }
@keyframes hand-doc { 0% { transform: translateY(14%) scale(0.92); opacity: 0; } 18%, 86% { transform: none; opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes hand-path { 0%, 28% { stroke-dashoffset: 120; opacity: 1; } 50%, 84% { stroke-dashoffset: 0; opacity: 1; } 96%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes hand-agent { 0%, 46% { transform: scale(0.92); box-shadow: 0 0 0 0 rgba(1, 108, 235, 0); } 56% { transform: scale(1.06); box-shadow: 0 0 0 10px rgba(1, 108, 235, 0.16); } 66%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(1, 108, 235, 0); } }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
  .hub-lines { display: none; }
  .hub { margin-bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .step .in, .step .c, .step .pick::after, .hand-doc, .hand-path path, .hand-agent { animation: none !important; }
  .hand-path path { stroke-dashoffset: 0; }
}

/* ── THE FOUNDING BETA: the paid beta is the first action, the free waitlist the quiet second */
.hero-cta { margin-top: 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; position: relative; z-index: 1; }
.hero-cta .buy { height: 50px; padding: 0 26px; font-size: 17px; display: inline-flex; align-items: center; text-decoration: none; }
.hero-note { font-size: 15px; color: var(--dim); }
.hero-note a { color: var(--ink); }
.foot .maker { color: var(--dim); }
.foot .maker a { color: var(--ink); text-decoration: none; }
.foot .maker a:hover { text-decoration: underline; }

/* ── PRICING (after Resurf's: a quiet grey panel for the free choice, a raised white card for the
   paid one, the list of what it includes under the button, and the small print on one line) */
.pricing { width: min(calc(100% - 2 * var(--pad)), 900px); margin: clamp(80px, 12vh, 140px) auto clamp(60px, 10vh, 120px); text-align: center; }
.pricing-badge { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 999px; background: #fff;
  box-shadow: 0 0 0 1px var(--hair), 0 6px 16px -8px rgba(0, 0, 0, 0.18); font-size: 14px; color: var(--ink2); }
.pricing-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, #8d6bff, #f39bd6); }
.pricing h2 { margin-top: 22px; }
.pricing-lede { margin-top: 12px; font-size: 18px; color: var(--dim); }
.plans { display: grid; grid-template-columns: 1fr 1fr; margin-top: 40px; padding: 6px; border-radius: 30px; background: var(--bg2); text-align: left; }
.plan { display: flex; flex-direction: column; padding: 30px; border-radius: 26px; }
.plan-beta { background: #fff; box-shadow: var(--shadow-card); }
.plan-name { font-size: 17px; font-weight: 600; color: var(--ink); }
.plan-price { margin-top: 18px; font-size: 44px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.plan-unit { font-size: 17px; font-weight: 400; letter-spacing: 0; color: var(--dim); }
.plan-text { margin-top: 14px; min-height: 3em; font-size: 16px; line-height: 1.5; color: var(--dim); }
/* both actions sit on one line across the two plans, full width */
.plan .buy, .plan .waitlist { margin-top: 22px; }
.plan .buy { display: flex; align-items: center; justify-content: center; height: 50px; font-size: 16px; text-decoration: none; }
.plan .waitlist { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 10px; max-width: none; width: 100%; }
.plan .waitlist .field { width: 100%; min-width: 0; height: 50px; flex: 0 0 auto; }
.plan .waitlist .pill { width: 100%; height: 50px; font-size: 16px; }
.pill-quiet { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--hair), 0 4px 12px -6px rgba(0, 0, 0, 0.18); }
.pill-quiet:hover { background: #fafafa; }
.plan .form-note:empty { display: none; }
.plan-list { list-style: none; margin: 26px 0 0; padding: 24px 0 0; border-top: 1px solid var(--hair); display: flex; flex-direction: column; gap: 13px; font-size: 16px; color: var(--ink2); }
.plan-list li { display: flex; align-items: center; gap: 11px; }
.plan-list svg { width: 17px; height: 17px; flex: 0 0 auto; }
.plan-list svg circle { fill: var(--acc); }
.plan-list svg path { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.plan-list-quiet svg circle { fill: #b9b9bd; }
.plan-wait .plan-list { margin-top: auto; }
.plan-wait .waitlist + .plan-list { margin-top: 26px; }
.pricing-foot { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; font-size: 14px; color: var(--dim); }
.pricing-foot span + span::before { content: '\00b7'; margin: 0 12px; }
@media (max-width: 760px) {
  .plans { grid-template-columns: 1fr; }
  .plan-beta { order: -1; }
  .plan { padding: 24px; }
  .plan-text { min-height: 0; }
}

/* ── WELCOME (after the checkout) */
.welcome { min-height: 86vh; justify-content: center; }
.welcome-steps { margin: 30px 0 0; padding: 22px 26px; list-style: none; counter-reset: step; text-align: left; background: #fff;
  border-radius: 22px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 14px; font-size: 16px; color: var(--ink2); }
.welcome-steps li { counter-increment: step; display: flex; gap: 14px; align-items: baseline; }
.welcome-steps li::before { content: counter(step); flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--bg2);
  color: var(--ink); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.welcome-steps b { color: var(--ink); font-weight: 600; }
.closing .welcome-help { font-size: 15px; margin: 22px 0 26px; }

/* THE LEGAL PAGES (privacy, terms, refunds): one plain reading column on the site's glow */
.legal { max-width: 720px; margin: 0 auto; padding: 120px 24px 80px; color: var(--ink2); font-size: 17px; line-height: 1.6; }
.legal .legal-home { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; margin-bottom: 48px; }
.legal .legal-home img { width: 32px; height: 32px; border-radius: 8px; }
.legal h1 { color: var(--ink); font-size: clamp(36px, 6vw, 52px); letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 12px; }
.legal .legal-date { color: var(--dim); font-size: 15px; margin: 0 0 40px; }
.legal h2 { color: var(--ink); font-size: 22px; letter-spacing: -0.01em; margin: 40px 0 10px; }
.legal p, .legal ul { margin: 0 0 14px; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal b { color: var(--ink); font-weight: 600; }
.legal a { color: var(--ink); }
.legal .legal-card { background: #fff; border-radius: 22px; box-shadow: var(--shadow-card); padding: 22px 26px; margin: 0 0 32px; }
.foot .foot-links { display: inline-flex; gap: 20px; flex-wrap: wrap; }
/* the credits list: one line per picture, its maker and licence beneath in the dim ink */
.credits h2 .credits-n { color: var(--dim); font-weight: 500; font-size: 15px; margin-left: 6px; }
.credits-list { list-style: none; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px 28px; }
.credits-list li { font-size: 15px; line-height: 1.4; margin: 0; }
.credits-list li a { color: var(--ink); text-decoration: none; }
.credits-list li a:hover { text-decoration: underline; }
.credits-list li span { display: block; color: var(--dim); font-size: 13px; }
.credits-list li span a { color: var(--dim); text-decoration: underline; }

/* ── THE FILM: a quiet pill under the hero screen, and a native dialog that plays it over the page */
.film-cta { display: flex; justify-content: center; margin-top: clamp(4px, 1.5vh, 16px); position: relative; z-index: 1; }
.film-open { height: 50px; padding: 0 22px 0 8px; gap: 12px; font-size: 16px; }
.film-play { width: 34px; height: 34px; border-radius: 50%; background: var(--chip); display: inline-grid; place-items: center; transition: transform 0.2s var(--ease); }
.film-play svg { width: 15px; height: 15px; fill: #fdfdfd; margin-left: 2px; }
.film-open:hover .film-play { transform: scale(1.08); }
.film-len { color: var(--dim); font-weight: 400; margin-left: -2px; }
.film-dialog {
  width: min(92vw, calc(84vh * 16 / 9), 1400px); max-width: none; max-height: none; padding: 0; border: 0;
  background: transparent; overflow: visible;
}
.film-dialog::backdrop { background: rgba(253, 253, 253, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.film-dialog[open] { animation: film-in 0.32s var(--ease); }
.film-dialog[open]::backdrop { animation: film-fade 0.32s var(--ease); }
@keyframes film-in { from { opacity: 0; transform: translateY(14px) scale(0.97); } }
@keyframes film-fade { from { opacity: 0; } }
.film-frame { aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--hair), 0 50px 100px -30px rgba(40, 20, 80, 0.4); }
.film-video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.film-close { position: absolute; top: -14px; right: -14px; display: grid; place-items: center; }
.film-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
@media (max-width: 640px) { .film-close { top: -52px; right: 0; } .film-frame { border-radius: 12px; } }
@media (prefers-reduced-motion: reduce) { .film-dialog[open], .film-dialog[open]::backdrop { animation: none; } }

/* WAITLIST ONLY (21 Nov 2026): the founding beta card says when, without a checkout */
.pill-soon { opacity: 0.45; cursor: default; pointer-events: none; }
