/* ============================================================
   Gentika landing v3 - home-specific styles.
   style.css is the untouched shared design system (capsule nav, buttons,
   springs, footer - authored for the black canvas); this file
   (1) re-skins the shell LIGHT for the coral-uhd room, via the same
       custom-property contract style.css already consumes, and
   (2) builds the beats layout: a sticky full-viewport film stage with real
       in-flow text sections whose sticky HOLDS own the film map (sync.js).

   REVEAL MODEL - trigger-and-complete, WHOLE BLOCKS: sync.js toggles
   `.is-ready` the moment a beat arrives and the section's complete text
   appears together in one soft ~0.4s fade - nothing inside staggers; the
   block fades back out when its beat ends (is-done) so seams never stack.
   The hero block is gated by body.film-entered instead (the ball has
   expanded into the bar).

   Per-section pacing knobs:
     --hold  (::after spacer)  = how long the text holds on its beat
     --gap   (margin-bottom)   = travel to the next section
     --stick (sticky top)      = where the held text sits in the viewport
   ============================================================ */

/* ============================================================
   LIGHT SKIN - dark ink on the coral room
   ============================================================ */
body.home-v3 {
  /* the Home's warm lobby tone carries the WHOLE site (Carlo: same bg
     everywhere) - sampled from lobby-5k.png, lifted to a page-friendly tint */
  --bg: #f8f6f3;
  --bg-raised: #f2efeb;
  --bg-card: #ffffff;
  --ink: #17171a;
  --ink-2: rgba(23, 23, 26, 0.66);
  --ink-3: rgba(23, 23, 26, 0.42);
  --line: rgba(23, 23, 26, 0.10);
  --line-2: rgba(23, 23, 26, 0.20);

  --accent: #17171a;                 /* monochrome, inverted: the accent is ink */
  --accent-2: #17171a;
  --accent-soft: rgba(23, 23, 26, 0.07);
  --accent-line: rgba(23, 23, 26, 0.22);
  --accent-ink: #ffffff;

  /* Geist everywhere (cofounder's pairing): SemiBold 600 hero/headings,
     Regular 400 body, Medium 500 small labels. The mono token now points at
     Geist too - the uppercase tracking keeps the labels reading as labels. */
  --font-display: "Geist", system-ui, -apple-system, sans-serif;
  --font-mono: "Geist", system-ui, -apple-system, sans-serif;

  /* light Liquid Glass: white fill, dark hairline, white specular */
  --glass-fill: rgba(255, 255, 255, 0.55);
  --glass-fill-strong: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(23, 23, 26, 0.10);
  --glass-specular: rgba(255, 255, 255, 0.95);
  --glass-edge: rgba(23, 23, 26, 0.08);
  --glass-shadow: 0 18px 44px -22px rgba(60, 30, 10, 0.30);

  background: var(--bg);
  color: var(--ink);
}
/* the black page's ambient white glows are invisible on light - drop them */
body.home-v3::before { display: none; }

/* header - FLAT and clean (the ElevenLabs reference): no capsule, no glass.
   Logo left, links in a quiet row beside it, the solid ink CTA far right.
   The bar's content shares the PAGE column: the logo's left edge aligns with
   "Shopping starts", the CTA's right edge with the same boundary mirrored.
   The bar is transparent over the film; once content scrolls beneath it, a
   white veil + hairline appear so it keeps reading as a bar. */
body.home-v3 { --nav-h: 64px; }
/* one type scale across ALL pages (Carlo): page titles match the home hero,
   section titles match the home beats */
body.home-v3 .page-title {
  font-size: clamp(2.2rem, 3.4vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.04;
}
body.home-v3 .band-head h2,
body.home-v3 .band h2 {
  font-size: clamp(1.7rem, 2.3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.024em;
}
body.home-v3 .band-lede { font-size: 1.05rem; }
body.home-v3 .hero-copy h1 {
  font-size: clamp(2.2rem, 3.4vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.04;
}
@media (min-width: 760px) {
  body.home-v3 .pricing-hero .page-title { white-space: nowrap; } /* one line */
}
/* five verticals on the product page */
body.home-v3 .vertical-grid { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) {
  body.home-v3 .vertical-grid { grid-template-columns: repeat(2, 1fr); }
}
body.home-v3 .site-header {
  padding: 0;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
body.home-v3 .site-header.is-scrolled {
  background: rgba(253, 253, 253, 0.62);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(23, 23, 26, 0.06);
}
body.home-v3 .site-header::before { display: none; }
/* the standard page wrap - same column as the rail, so the logo sits exactly
   over the text and the CTA mirrors it on the right */
body.home-v3 .site-header .wrap { max-width: var(--maxw); padding-inline: 28px; }
body.home-v3 .header-inner,
body.home-v3 .site-header.is-scrolled .header-inner {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  /* the old capsule carried a backdrop-filter lens (liquid_glass.js, removed
     Aug 10) - the !important keeps the flat bar flat even if one returns */
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  min-height: 0;
  padding-block: 0;
  gap: clamp(24px, 3.5vw, 52px);
}
/* .wrap and .header-inner are the SAME element: style.css sets its
   padding-right to 10px for the capsule's concentric nesting - restore the
   page column's padding instead */
body.home-v3 .site-header .header-inner { padding-right: 28px; }
/* smaller elements, reference proportions */
body.home-v3 .brand-lockup,
body.home-v3 .site-header.is-scrolled .brand-lockup { height: 25px; }   /* a step smaller (cofounder, Aug 9) */
/* THE MENU HIDES ON SCROLL-DOWN AND RETURNS ON SCROLL-UP (cofounder).
   app.js / home.js toggle .nav-hidden by scroll DIRECTION; the logo and the
   CTA always stay. This replaces the old "hidden whenever .is-scrolled"
   pair below it, which dropped the links the moment the page moved and only
   ever restored them at the very top - so scrolling back up left the header
   empty. visibility follows opacity so hidden links leave the tab order. */
body.home-v3 .site-header .nav {
  transition: opacity 0.25s ease, transform 0.3s ease, visibility 0s linear 0s;
}
body.home-v3 .site-header.nav-hidden:not(.nav-open) .nav {
  opacity: 0; visibility: hidden; transform: translateY(-8px); pointer-events: none;
  transition: opacity 0.25s ease, transform 0.3s ease, visibility 0s linear 0.25s;
}
body.home-v3 .header-inner,
body.home-v3 .site-header.is-scrolled .header-inner { gap: clamp(20px, 3vw, 44px); }
/* links cluster beside the logo; the CTA takes the far right */
body.home-v3 .nav { margin-left: 0; gap: clamp(2px, 1vw, 14px); }
/* the CTA keeps its compact size from the start - no morph on scroll */
body.home-v3 .nav-cta {
  margin-left: auto;
  font-size: 12.5px;
  padding: 7px 14px;
}
body.home-v3 .nav a:not(.nav-menu-cta) {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  padding: 7px 10px;
  background: transparent;
  transition: opacity 0.15s ease;
}
body.home-v3 .nav a:not(.nav-menu-cta):hover { background: transparent; opacity: 0.55; }
body.home-v3 .nav a:not(.nav-menu-cta).is-active { background: transparent; box-shadow: none; }
body.home-v3 .nav-toggle {
  background: transparent;
  border-color: rgba(23, 23, 26, 0.16);
  box-shadow: none;
}
body.home-v3 .nav-toggle:hover { background: rgba(23, 23, 26, 0.05); border-color: rgba(23, 23, 26, 0.3); }

/* ---------- mobile menu, light skin (Enrico, Aug 11) ----------
   style.css's ≤900px hamburger sheet is the DARK site's: a #0b0b0e capsule
   and a rgba(10,10,13,.84) glass sheet, styled when the links were white.
   On this skin the links are ink - dark on dark, unreadable on a real
   phone. Re-skinned here (home.css owns the light look; style.css stays
   structural), every selector one class deeper so it wins. */
@media (max-width: 900px) {
  /* solid light ground while the menu is open - the sheet below carries
     near-solid fill, so neither needs a backdrop root */
  body.home-v3 .site-header.nav-open {
    background: rgba(253, 253, 252, 0.97);
    box-shadow: 0 1px 0 rgba(23, 23, 26, 0.07);
  }
  body.home-v3 .site-header.nav-open .header-inner {
    background: transparent;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
  body.home-v3 .site-header .nav {
    background: rgba(253, 252, 250, 0.96);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    backdrop-filter: blur(18px) saturate(1.2);
    border: 1px solid rgba(23, 23, 26, 0.10);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95),
      0 24px 48px -24px rgba(60, 30, 10, 0.35);
  }
  body.home-v3 .site-header.nav-open .nav > a:not(.nav-menu-cta) {
    font-size: 16px; padding: 13px 16px; border-radius: 14px;
    color: var(--ink);
  }
  body.home-v3 .site-header.nav-open .nav > a:not(.nav-menu-cta):hover,
  body.home-v3 .site-header.nav-open .nav > a:not(.nav-menu-cta).is-active {
    color: var(--ink); background: rgba(23, 23, 26, 0.05); opacity: 1;
  }
}

/* Phones: the header breathes (Enrico, Aug 11 "increase the padding").
   --nav-h 64 -> 72 is the ONE knob for the vertical air: logo and hamburger
   are centred in it, so both top gaps grow together, and the ≤460 corner
   rule below derives the hamburger's right gap from the same height - top
   and right stay equal by construction, now 15px. The lockup takes 24px on
   the left (a step off the text column's 20px edge, per the same call);
   the right side keeps the column's 20px until the corner rule tightens it.
   Placed BEFORE the ≤460 corner rule: the padding-inline shorthand would
   otherwise re-widen the hamburger's derived right gap. */
@media (max-width: 640px) {
  body.home-v3 { --nav-h: 72px; }
  body.home-v3 .site-header .wrap { padding-inline: 24px 20px; }
  body.home-v3 .site-header .header-inner { padding-right: 20px; }
}

/* Once the CTA leaves the bar (≤460px, style.css) the hamburger IS the
   top-right corner, and its gap to the screen's right edge must equal its
   centred gap to the top: (nav-h − 42px button) / 2. Derived, not a magic
   number, so it survives a nav-h or button resize. */
@media (max-width: 460px) {
  body.home-v3 .site-header .header-inner {
    padding-right: calc((var(--nav-h) - 42px) / 2);
  }
}

/* buttons: primary = ink pill (a white glass pill vanishes on a light page);
   ghost = light glass with a dark hairline */
body.home-v3 .btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 14px 34px -16px rgba(23, 23, 26, 0.55);
}
body.home-v3 .btn-primary:hover {
  background: #232327;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 16px 40px -16px rgba(23, 23, 26, 0.6);
}
body.home-v3 .btn-ghost {
  background: rgba(255, 255, 255, 0.45);
  color: var(--ink);
  border-color: rgba(23, 23, 26, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(23, 23, 26, 0.06);
}
body.home-v3 .btn-ghost:hover { border-color: rgba(23, 23, 26, 0.3); background: rgba(255, 255, 255, 0.62); }

body.home-v3 .site-footer { background: var(--bg); }
body.home-v3 .footer-nav a:hover { background: rgba(23, 23, 26, 0.06); }
body.home-v3 .footer-tag { font-weight: 500; }
/* footer lockup a step smaller than the header's 30px (cofounder, Aug 8) */
body.home-v3 .brand--footer .brand-lockup { height: 22px; }

/* ============================================================
   THE ROOM - sticky stage + the beat sections
   ============================================================ */
.hero3d {
  position: relative;
  /* pull the stage under the transparent header shell so the film is truly
     full-bleed; the glass capsule floats above it */
  margin-top: calc(-1 * var(--nav-h));
  /* height = the sections' flow - the text drives the scroll */
}
.hero3d-stage {
  position: sticky; top: 0;
  height: 100vh;
  overflow: hidden;
  /* CSS fallback of the white lobby (hero3d.js paints the real 5K image):
     pale walls, slightly warmer floor. Visible only until the canvas boots. */
  background: linear-gradient(180deg, #fbfbfa 0%, #f6f4f1 58%, #eae6e1 100%);
}
#stage { position: absolute; inset: 0; }
#stage canvas { display: block; }

/* Reading veil: barely needed on the white lobby - a whisper of white keeps
   the ink solid over the floor's warmer band. Lives in the sticky stage, so
   it never scrolls away; the panel side stays untouched. */
.hero3d-stage::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(90deg,
    rgba(253, 252, 251, 0.42) 0%,
    rgba(253, 252, 251, 0.28) 34%,
    transparent 58%);
}

/* The sections: normal-flow content pulled up over the sticky stage. The
   containers ignore the pointer (the film's parallax + scroll pass through
   the empty right side); each inner restores it for its own text. */
.film-rail {
  position: relative;
  z-index: 5;
  margin-top: -100vh;
  pointer-events: none;
}
.rail-col {
  max-width: 480px;
  min-width: 0;
}
.beat {
  pointer-events: none;
  margin-bottom: var(--gap, 12vh);     /* travel to the next beat */
  color: var(--ink);
}
/* The HOLD is a generated CONTENT spacer, deliberately not padding: a sticky
   child is constrained to its parent's content box, and padding sits outside
   it - as padding, the inner had zero travel room and never pinned. */
.beat::after {
  content: "";
  display: block;
  height: var(--hold, 80vh);
}
/* Every held block sits centered on the curved screen's band: sticky top
   pins the box at 50vh and the translate lifts it by half its own height.
   The translate is visual only - sticky maths and the measured map are
   unaffected. The reveal transition rides the same transform. */
.beat-inner {
  position: sticky;
  top: 50vh;
  transform: translateY(-50%);
  pointer-events: auto;
}

/* ---------- per-beat pacing (the ONLY tuning surface) ---------- */
.beat[data-beat="hero"]        { --hold: 55vh; }
.beat[data-beat="goals"]       { --hold: 90vh; }
.beat[data-beat="categories"]  { --hold: 75vh; }
.beat[data-beat="compare"]     { --hold: 100vh; }
.beat[data-beat="enterprise"]  { --hold: 95vh; --gap: 18vh; } /* travel out = the press */
.beat[data-beat="performance"] { --hold: 300vh; } /* the pile spans the conversation */
.beat[data-beat="launch"]      { --hold: 55vh; }
.beat[data-beat="final"]       { --hold: 90vh; }

/* ============================================================
   TRIGGER-AND-COMPLETE reveals - WHOLE BLOCKS (Enrico): a section's
   complete text appears together in ONE soft ~0.4s fade the moment its
   beat arrives; nothing inside staggers or trickles.
   Scoped under html.js so no-JS reads the full page; html.no-film (set by
   home.js if the film never boots) shows everything too.
   ============================================================ */
html.js .beat .beat-inner {
  opacity: 0;
  transform: translateY(calc(-50% + 16px));
  transition: opacity 0.35s ease,
    transform 0.5s var(--spring-soft, cubic-bezier(0.22, 1, 0.36, 1));
}
html.js .beat.is-ready .beat-inner,
html.js body.film-entered .beat[data-beat="hero"] .beat-inner {
  opacity: 1;
  transform: translateY(-50%);
}
/* …and OUT when its beat ends: between two beats nothing is on screen, so
   an outgoing block can never stack on the incoming one at a seam. Wins
   over the film-entered hero rule too. */
html.js .beat.is-done .beat-inner,
html.js body.film-entered .beat[data-beat="hero"].is-done .beat-inner {
  opacity: 0;
  transform: translateY(calc(-50% - 14px));
  pointer-events: none;
}

/* film never booted (no WebGL, script error): show the whole page plainly */
html.no-film .beat .beat-inner { opacity: 1 !important; transform: translateY(-50%) !important; }

/* ---------- rail typography ---------- */
.beat h2 {
  font-size: clamp(1.7rem, 2.3vw, 2.2rem);
  letter-spacing: -0.024em;
  line-height: 1.08;
  margin-bottom: 14px;
  font-weight: 600;
}
.beat-inner > p {
  color: var(--ink-2);
  font-size: 0.98rem;
  margin-bottom: 10px;
  max-width: 48ch;
}
.rail-lede {
  font-size: 1.02rem;
  color: var(--ink-2);
  margin-bottom: 24px;
}

/* ============================================================
   HERO beat - one unit, arriving after the ball has expanded
   ============================================================ */
.hero3d .hero-copy { max-width: 480px; }
.hero3d .hero-copy h1 {
  font-size: clamp(2.2rem, 3.4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.028em;
  margin: 0 0 18px;
  font-weight: 600;
  color: var(--ink);
}
.hero3d .hero-copy h1 .accent-word { color: var(--ink); }
.hero3d .hero-copy .lede {
  color: var(--ink-2);
  font-size: 1rem;
  max-width: 46ch;
}
.hero3d .hero-copy .hero-actions { margin-top: 4px; }

/* The ✓ trio */
.hero-checks {
  margin: 20px 0 24px;
  display: grid; gap: 9px;
  max-width: 400px;
}
.hero-checks li {
  display: flex; align-items: center; gap: 11px;
  font-size: 14.5px; font-weight: 500;
  color: var(--ink);
}
.hero-checks li::before {
  content: "✓";
  flex: none;
  width: 20px; height: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: 50%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* ---------- film chrome (ids are read by hero3d.js) ---------- */
.hero3d #loader {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  transition: opacity 0.4s;
  z-index: 4;
}
/* the mark assembles itself - dot, circle, square, leaning slab, the two
   notch bites - and the shape is written frame by frame in home.js
   (initLoaderMorph, keyframes fitted to Enrico's reference clip). It is a
   SOLID fill, exactly as the clip: the fill lives on the path element
   (fill="currentColor"); the only job here is the ink and the size. The
   width/height ratio matches the clip's own mark box (viewBox in
   index.html) so nothing is stretched. */
.hero3d #loader .loader-mark {
  width: 46.7px; height: 54px; display: block;
  color: var(--ink, #17171a);
  opacity: 0.9;
}
.hero3d #loader.hidden { opacity: 0; visibility: hidden; }
/* .hidden is hero3d's boot signal, not the visual end: home.js holds
   .finishing on while the draw completes to the full mark, then drops it
   and the transition above runs the actual fade. */
.hero3d #loader.hidden.finishing { opacity: 1; visibility: visible; }
.hero3d #hint {
  /* sits under the panel side, clear of the text column */
  position: absolute; bottom: 40px; left: 72%; transform: translateX(-50%);
  font-size: 11px; letter-spacing: 0.35em; text-transform: uppercase;
  color: rgba(23, 23, 26, 0.4);
  transition: opacity 0.6s;
  pointer-events: none;
  z-index: 4;
}
.hero3d #hint.hidden { opacity: 0; }
.hero3d #debug {
  position: absolute; top: calc(var(--nav-h) + 10px); left: 12px;
  font: 11px/1.5 ui-monospace, monospace;
  color: rgba(23, 23, 26, 0.85); background: rgba(255, 255, 255, 0.6);
  padding: 8px 10px; border-radius: 8px; white-space: pre;
  display: none; pointer-events: none; z-index: 6;
}

/* ============================================================
   Launcher shell (ported gentika shell v2): while the film owns the
   viewport it lives as the docked corner dot (body.docked, managed by
   home.js + shell_core); the Book-a-Demo CTA rides the conversation.
   ============================================================ */
.chat-cta {
  display: inline-flex;
  align-self: center;
  margin: 10px auto 4px;
  padding: 9px 18px;
  border-radius: 999px;
  background: #17171a;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
}
.chat-cta:hover { background: #232327; }

/* ============================================================
   GOALS
   ============================================================ */
.intent-quotes { margin: 16px 0 20px; display: grid; gap: 8px; }
.intent-quotes li {
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ink);
}
.goals-kicker {
  color: var(--ink) !important;
  font-size: 1.08rem !important;
  font-weight: 500;
  margin-top: 6px;
}

/* ============================================================
   COMPARE - the Gentika column carries a whisper of the film's red
   ============================================================ */
.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(23, 23, 26, 0.10);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.58);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  backdrop-filter: blur(14px) saturate(1.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 24px 56px -34px rgba(60, 30, 10, 0.4);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.compare-table th {
  font-family: var(--font-mono);
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.11em;
  font-weight: 500;
  text-align: left;
  color: var(--ink-3);
  padding: 13px 14px 10px;
  border-bottom: 1px solid var(--line-2);
}
.compare-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--ink-2);
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .compare-gentika {
  background: rgba(23, 23, 26, 0.045);
  color: var(--ink);
  border-left: 1px solid rgba(23, 23, 26, 0.14);
}
.compare-table th.compare-gentika { color: var(--ink); }
.compare-table td.compare-gentika { font-weight: 500; }

/* ============================================================
   ENTERPRISE - light glass cards
   ============================================================ */
.enterprise-grid { display: grid; gap: 10px; }
.enterprise-card {
  border: 1px solid rgba(23, 23, 26, 0.09);
  border-radius: var(--r);
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(12px) saturate(1.15);
  backdrop-filter: blur(12px) saturate(1.15);
  display: flex; flex-direction: column; gap: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.enterprise-card h3 { font-size: 1.05rem; font-weight: 600; }
.enterprise-card p { color: var(--ink-2); font-size: 0.88rem; }
.card-eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.11em;
  color: var(--ink-3);
  font-weight: 500;
}

/* ============================================================
   ACT II CAPTIONS - one idea per conversation move
   ============================================================ */
.cap .beat-inner { max-width: 400px; }
.cap h2 {
  font-size: clamp(1.45rem, 1.9vw, 1.85rem);
  margin-bottom: 10px;
}
.cap .beat-inner > p { font-size: 0.95rem; max-width: 36ch; }
.cap-eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.11em;
  color: var(--ink-3);
  font-weight: 500;
  margin-bottom: 12px !important;
}

/* the performance list: all four promise lines, present with the block */
.perf-pile { margin-top: 18px; display: grid; gap: 0; }
.pile-item {
  padding: 13px 0 14px;
  border-top: 1px solid var(--line);
}
.pile-item:last-child { border-bottom: 1px solid var(--line); }
.pile-item h3 { font-size: 1.02rem; margin-bottom: 3px; font-weight: 600; }
.pile-item p { color: var(--ink-2); font-size: 0.88rem; line-height: 1.45; margin: 0; }

/* ============================================================
   CATEGORIES - white glass pills
   ============================================================ */
.category-row { display: flex; flex-wrap: wrap; gap: 9px; }
/* the chips are LINKS into the dedicated demos (demo.html?vertical=...);
   the anchor carries the pill, the li is transparent structure */
.category-row li { display: contents; }
.category-row a {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 15px;
  border: 1px solid rgba(23, 23, 26, 0.12); border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(12px) saturate(1.15);
  backdrop-filter: blur(12px) saturate(1.15);
  font-size: 0.9rem; font-weight: 500; color: var(--ink);
  text-decoration: none; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(23, 23, 26, 0.05);
  transition: border-color 0.18s ease, background 0.18s ease,
    transform 0.4s var(--spring-bouncy, cubic-bezier(0.22, 1, 0.36, 1));
}
.category-row a:hover { border-color: rgba(23, 23, 26, 0.3); background: rgba(255, 255, 255, 0.85); }
.category-row a:active { transform: scale(0.96); }
.cat-ic { width: 21px; height: 21px; display: block; flex: none; }

/* ============================================================
   FINAL CTA
   ============================================================ */
/* .beat-final is gone from every page (its unscoped left-pin once dragged
   contact/404 heroes off-axis); .after-film re-pins its own margins below. */
.final-lede {
  font-size: 1rem;
  line-height: 1.5;
  max-width: 42ch;
}
.final-actions { margin-top: 22px; }

/* ============================================================
   AFTER THE FILM - commerce intelligence (normal page section)
   ============================================================ */
.after-film {
  padding-block: clamp(90px, 12vw, 150px);
  border-top: 1px solid var(--line);
  text-align: center;
}
.after-film-col { max-width: 560px; margin-inline: auto; }
/* the home CTA keeps the tight rhythm the rail was tuned to */
.after-film .final-lede { margin: 0 auto 8px; }
.after-film .final-actions { justify-content: center; }
.after-film h2 {
  font-size: clamp(1.9rem, 2.6vw, 2.5rem);
  letter-spacing: -0.028em;
  line-height: 1.04;
  margin-bottom: 20px;
  font-weight: 600;
}
.intel-panel {
  border: 1px solid rgba(23, 23, 26, 0.1);
  border-radius: var(--r);
  padding: 18px 18px;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(12px) saturate(1.15);
  backdrop-filter: blur(12px) saturate(1.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  margin-bottom: 14px;
}
.intel-label {
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.11em; color: var(--ink-3); margin-bottom: 14px;
  font-weight: 500;
}
.intel-panel ul { display: grid; gap: 8px; }
.intel-panel li { font-size: 0.95rem; color: var(--ink); }
.intel-panel li::before { content: "›"; color: var(--ink-3); margin-right: 10px; }
.intel-foot {
  color: var(--ink-2);
  font-size: 0.92rem;
  max-width: 46ch;
}
/* one-shot reveal (outside the film): home.js adds .is-in via IO */
html.js .after-film [data-reveal] {
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.5s ease,
    transform 0.6s var(--spring-soft, cubic-bezier(0.22, 1, 0.36, 1));
}
html.js .after-film [data-reveal].is-in { opacity: 1; transform: none; }

/* ============================================================
   LIGHT SKIN - the interactive demo page (body.home-v3 on demo.html).
   Everything token-driven flips automatically; these are the pieces whose
   dark chrome was hardcoded in style.css (left untouched for the other
   prod-look subpages).
   ============================================================ */
/* Category tabs (cofounder, Aug 9 rounds): a VERY SOFT border around each
   box - the outline came back, a step quieter than the original 0.12 -
   and the selection stays a plain GREY fill, carried by the sprung glider. */
body.home-v3 .scenario-tabs button {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(23, 23, 26, 0.07);
  box-shadow: none;
}
body.home-v3 .scenario-tabs button:hover {
  border-color: rgba(23, 23, 26, 0.14);
  background: rgba(23, 23, 26, 0.05);
}
body.home-v3 .scenario-tabs button.active {
  border-color: rgba(23, 23, 26, 0.07);
  background: transparent;               /* the grey lives on the glider */
  box-shadow: none;
}
body.home-v3 .tab-glider {
  background: rgba(23, 23, 26, 0.08);    /* the selected grey */
  box-shadow: none;
}
body.home-v3 .demo-intel {
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 20px 48px -30px rgba(60, 30, 10, 0.25);
}
body.home-v3 .screen-frame {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.55));
  border-color: rgba(23, 23, 26, 0.1);
  box-shadow: 0 50px 110px -44px rgba(60, 30, 10, 0.45),
    0 8px 30px -14px rgba(60, 30, 10, 0.2),
    0 0 90px 2px var(--screen-glow);
}

/* ============================================================
   PRICING - the TextYess-model configurator (body.home-v3 pricing page):
   billing toggle, two plan cards, the vertical picker with live price,
   the conversations slider. Light identity throughout.
   ============================================================ */
body.home-v3 .plan-toggle {
  display: flex; justify-content: center; gap: 4px;
  width: fit-content; margin: 8px auto 40px;
  padding: 4px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(23, 23, 26, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
body.home-v3 .pt-btn {
  border: none; cursor: pointer;
  padding: 9px 18px; border-radius: 999px;
  font-family: var(--font-display); font-size: 14px; font-weight: 500;
  background: transparent; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}
body.home-v3 .pt-btn.active { background: var(--ink); color: #ffffff; }
body.home-v3 .pt-badge {
  font-size: 11px; font-weight: 600;
  padding: 2px 8px; border-radius: 999px;
  background: rgba(23, 23, 26, 0.08); color: var(--ink);
}
body.home-v3 .pt-btn.active .pt-badge { background: rgba(255, 255, 255, 0.22); color: #fff; }

body.home-v3 .plans {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;   /* identical card dimensions */
  max-width: 1020px; margin-inline: auto;
  align-items: stretch;   /* both cards share the tallest height */
}
body.home-v3 .plan {
  position: relative;
  display: flex; flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(23, 23, 26, 0.1);
  border-radius: var(--r-lg);
  padding: 30px 30px 26px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 30px 70px -45px rgba(60, 30, 10, 0.35);
}
body.home-v3 .plan-badge {
  position: absolute; top: 22px; right: 22px;
  font-size: 12px; font-weight: 500;
  padding: 6px 13px; border-radius: 999px;
  background: var(--ink); color: #fff;
}
/* The two cards read as one table: head, price and billed line must start on
   the SAME baseline in both columns. The head is the pivot - a 34ch cap
   (343px) made the Pro description wrap to two lines even though it needs
   only 366px and the card offers 439px, while Enterprise's one-liner stayed
   short - pushing every Pro row below it 24px down. The cap now clears the
   copy; min-height keeps the price row level if a description is ever
   shortened or dropped (it does NOT prevent a longer one from wrapping -
   keep both descriptions under ~38ch). */
body.home-v3 .plan-head { min-height: 60px; }
body.home-v3 .plan-head h2 { font-size: 1.7rem; font-weight: 600; margin-bottom: 6px; }
body.home-v3 .plan-head p { color: var(--ink-2); font-size: 0.95rem; max-width: 40ch; }
body.home-v3 .plan-price { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; }
/* ONE price type size across both cards - "Custom pricing" is the Enterprise
   card's price, so it sits on the same baseline and line box as €299. */
body.home-v3 .plan-price strong { font-size: clamp(2.4rem, 3.4vw, 3.1rem); font-weight: 600; letter-spacing: -0.02em; }
body.home-v3 .plan-price em { font-style: normal; color: var(--ink-3); font-size: 1rem; }
/* "From" - shown only while no category is chosen, so the entry price is not
   read as a quote. Same size and colour as "/month": the two are the quiet
   pair bracketing the number, which stays the only loud thing in the row.
   No [hidden] override needed here (unlike .voice-note in shell.css): this
   rule sets no display, so the UA's display:none still wins when pricing.js
   sets the attribute. Don't add a display to this selector. */
body.home-v3 .plan-price-from { color: var(--ink-3); font-size: 1rem; }
body.home-v3 .plan-billed { font-size: 13px; color: var(--ink-3); margin-top: 2px; }

/* ALIGNMENT INVARIANT - the two cards read as one table, so the first block
   under the billed line must open at the SAME offset in both. It is a
   different element in each (.plan-config in Pro, .plan-includes in
   Enterprise) with its own margin, so nudging one alone silently breaks the
   row: raising .plan-config to 28px put "Choose your retail category" 4px
   above "Full enterprise package:". Set them together, always. */
body.home-v3 .plan-billed + .plan-config,
body.home-v3 .plan-billed + .plan-includes { margin-top: 24px; }
body.home-v3 .plan-config { margin-top: 24px; }
/* the title carried NO bottom margin (style.css resets p), so the category
   buttons sat flush against it and read as one undifferentiated block */
body.home-v3 .plan-config-title { font-weight: 600; font-size: 1rem; margin-bottom: 14px; }
/* when the optional note is present it owns the gap instead */
body.home-v3 .plan-config-title:has(+ .plan-config-note) { margin-bottom: 3px; }
body.home-v3 .plan-config-note { font-size: 12.5px; color: var(--ink-3); margin: 0 0 14px; }
body.home-v3 .vertical-picker { display: flex; flex-wrap: wrap; gap: 10px; }
body.home-v3 .vertical-picker button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 13px; border-radius: 999px; cursor: pointer;
  font-family: var(--font-display); font-size: 13px; font-weight: 500;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(23, 23, 26, 0.14);
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease,
    transform 0.4s var(--spring-bouncy, cubic-bezier(0.22, 1, 0.36, 1));
}
body.home-v3 .vertical-picker button:hover { border-color: rgba(23, 23, 26, 0.32); }
body.home-v3 .vertical-picker button:active { transform: scale(0.96); }
body.home-v3 .vertical-picker button.selected {
  border-color: var(--ink);
  background: rgba(23, 23, 26, 0.05);
  box-shadow: inset 0 0 0 1px var(--ink);
}
body.home-v3 .vertical-picker img { width: 17px; height: 17px; display: block; }
body.home-v3 .vertical-picker em {
  font-style: normal; font-size: 11.5px; color: var(--ink-3);
}
body.home-v3 .vertical-picker button.selected em { color: var(--ink-2); }
/* Phones swap the five chips for a native select (Enrico, Aug 11: less
   scrolling) - one row, and iOS opens its own picker. Hidden on desktop,
   where the chips show every option at a glance. */
body.home-v3 .vertical-select { display: none; }
/* Demo page, phones (Enrico, Aug 11): the head pushed up and held to two
   lines, then the category select (same control as pricing), then the
   BOARD - and only after it, "What this demo shows". The five tab buttons
   plus intel card used to bury the demo a full screen down.
   display:contents dissolves the rail so its children join .real-demo's
   column and can be reordered around the stage. */
@media (max-width: 640px) {
  body.home-v3 .band.demo.page-first { padding-top: 40px; }
  body.home-v3 .band.demo .band-head { margin-bottom: 22px; }
  body.home-v3 .band.demo .page-title {
    font-size: clamp(1.55rem, 6.6vw, 1.8rem);   /* "Conversational Shopping." holds one line */
    margin-bottom: 8px;
  }
  body.home-v3 .band.demo .band-lede { font-size: 0.95rem; }
  /* align-items:stretch overrides the grid rule's center: in a COLUMN,
     center makes items shrink-wrap, and the board's width:100% viewport
     collapses to 0 inside a shrink-wrapped parent */
  body.home-v3 .real-demo { display: flex; flex-direction: column; gap: 16px; align-items: stretch; }
  body.home-v3 .demo-rail { display: contents; }
  body.home-v3 .demo-tries-label { order: 1; margin: 0; }
  body.home-v3 .real-demo .vertical-select { order: 2; }
  body.home-v3 .demo-stage-screen { order: 3; }
  body.home-v3 .demo-intel { order: 4; }
  body.home-v3 .real-demo .scenario-tabs { display: none; }
}
@media (max-width: 640px) {
  body.home-v3 .vertical-picker { display: none; }
  body.home-v3 .vertical-select {
    display: block; width: 100%;
    padding: 12px 40px 12px 14px;
    font-family: var(--font-display); font-size: 15px; font-weight: 500;
    color: var(--ink);
    background:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317171a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
      right 13px center / 16px no-repeat,
      rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(23, 23, 26, 0.16);
    border-radius: 14px;
    -webkit-appearance: none; appearance: none;
  }
}

body.home-v3 .plan-slider { margin-top: 18px; }
body.home-v3 .plan-slider-head {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 14px; margin-bottom: 8px;
}
body.home-v3 .plan-slider-head strong { font-weight: 600; }
body.home-v3 .plan-slider input[type="range"] {
  width: 100%; appearance: none; -webkit-appearance: none;
  height: 4px; border-radius: 2px;
  background: rgba(23, 23, 26, 0.12);
  outline: none;
}
body.home-v3 .plan-slider input[type="range"]::-webkit-slider-thumb {
  appearance: none; -webkit-appearance: none;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--ink); border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(23, 23, 26, 0.35);
  cursor: pointer;
}
body.home-v3 .plan-slider input[type="range"]::-moz-range-thumb {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--ink); border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(23, 23, 26, 0.35);
  cursor: pointer;
}

body.home-v3 .plan-includes { margin-top: 24px; }
body.home-v3 .plan-includes > p { font-weight: 600; font-size: 1rem; margin-bottom: 10px; }
body.home-v3 .plan-includes ul { display: grid; gap: 9px; }
body.home-v3 .plan-includes li { font-size: 14.5px; display: flex; gap: 10px; align-items: baseline; }
body.home-v3 .plan-includes li.in::before { content: "✓"; font-weight: 700; font-size: 12px; color: var(--ink); }
body.home-v3 .plan-includes li.out { color: var(--ink-3); }
body.home-v3 .plan-includes li.out::before { content: "✕"; font-size: 12px; color: var(--ink-3); }

/* margin-top auto pins the CTA to the card floor, so the shorter
   Enterprise card fills the shared height with air, CTA aligned */
body.home-v3 .plan-cta { width: 100%; margin-top: auto; justify-content: center; }
body.home-v3 .plan-includes { margin-bottom: 26px; }
body.home-v3 .plan-trial { text-align: center; font-size: 12.5px; color: var(--ink-3); margin-top: 10px; }

/* style.css tucks .pricing-details up by -46px to close the gap left by
   .pricing-cards' own margin-bottom - but v3's markup uses .plans, which has
   no bottom margin, so that tuck drove the add-on panel 46px INTO the cards.
   Restore a real gap on the same rhythm as the rest of the band. */
/* The add-ons panel is the same 1020px surface as the two plan cards, and
   since the cards lost their outline it is now the same MATERIAL too - so it
   has to share their geometry. At 14px against the cards' 24px it read as a
   different component parked underneath them.
   Spacing follows: 56px is a section break, but this panel is not a new
   section, it is the third surface in the same group. It now sits on the
   grid's own gutter - the exact 18px between Pro and Enterprise - so the
   three read as one set. */
body.home-v3 .pricing-details { margin-top: 18px; }   /* = .plans grid gap */
body.home-v3 .pricing-panel { border-radius: var(--r-lg); }
/* the inner add-on card scales with its parent: strict concentricity would
   put it at 24 − 22px padding = 2px, which reads as a square, so it takes a
   nested-but-visible radius instead */
body.home-v3 .addon-link { border-radius: 14px; }
body.home-v3 .pricing-details--single { grid-template-columns: 1fr; max-width: 1020px; margin-inline: auto; }

/* The add-on card was authored for the black canvas (white hairline, white
   fill, dark bottom edge) - all invisible on the light card. Same material,
   inverted: ink hairline, whisper of ink fill, white specular. */
body.home-v3 .addon-link {
  border-color: var(--line);
  background: rgba(23, 23, 26, 0.02);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
body.home-v3 .addon-link:hover {
  border-color: var(--line-2);
  background: rgba(23, 23, 26, 0.045);
}
body.home-v3 .addon-link:hover em { color: var(--ink-2); }

@media (max-width: 900px) {
  body.home-v3 .plans { grid-template-columns: 1fr; }
}

/* ============================================================
   WHITE CARDS CARRY NO OUTLINE (Enrico, across the site)

   The hairline was doing the separating on the black canvas, where a white
   fill alone would have floated. On the light skin it draws a box around
   every surface and the page reads as a wireframe. The cards now sit on
   elevation instead: the white specular top edge that already defines the
   material, plus a soft warm lift in the film's own shadow colour.

   CONTROLS KEEP THEIR EDGE - buttons, chips, tabs, the category picker, the
   billing toggle, the hamburger. An interactive surface with no edge has no
   affordance, so this list is content surfaces only.

   `border-color: transparent` rather than `border: none`: the 1px box stays
   in the layout, so nothing reflows and .price-card's -1px seam still works.
   ============================================================ */
body.home-v3 {
  --card-lift: 0 22px 48px -32px rgba(60, 30, 10, 0.30),
    0 3px 10px -6px rgba(60, 30, 10, 0.07);
}

/* already carrying real elevation - only the outline goes */
body.home-v3 .plan,
body.home-v3 .compare-table-wrap,
body.home-v3 .demo-intel { border-color: transparent; }

/* the hairline was doing ALL the separating here - hand it to the lift */
body.home-v3 .enterprise-card,
body.home-v3 .intel-panel,
body.home-v3 .pricing-panel,
body.home-v3 .contact-card {
  border-color: transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), var(--card-lift);
}
/* the contact cards are CONTROLS shaped like cards: they keep a press
   response, but style.css's hover is white-on-black and vanishes here */
body.home-v3 .contact-card:hover {
  border-color: transparent;
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 30px 60px -30px rgba(60, 30, 10, 0.38);
}

/* nested INSIDE .pricing-panel - a shadow within a shadowed panel reads as
   mud, so this one separates by fill alone */
body.home-v3 .addon-link { border-color: transparent; }

/* The CTA card is the INVERTED one. style.css inverts it to white because
   that page is black; on the light skin the inversion is ink - the same call
   .btn-primary already makes here ("a white glass pill vanishes on a light
   page"). This also fixes a live bug: its <strong> takes --accent-ink, which
   is #ffffff on this skin, so "Book a Demo" was white on a white card. */
body.home-v3 .contact-card--cta {
  background: var(--accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 26px 56px -28px rgba(23, 23, 26, 0.55);
}
body.home-v3 .contact-card--cta strong { color: var(--accent-ink); }
body.home-v3 .contact-card--cta .contact-kind { color: rgba(255, 255, 255, 0.58); }
body.home-v3 .contact-card--cta .contact-go { color: rgba(255, 255, 255, 0.82); }
body.home-v3 .contact-card--cta:hover {
  background: #232327;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 30px 64px -28px rgba(23, 23, 26, 0.6);
}

/* ============================================================
   VIDEO LIGHTBOX - Watch 2-minute Demo
   ============================================================ */
html.vl-open { overflow: hidden; }
.video-lightbox {
  position: fixed; inset: 0;
  z-index: 400;
  display: flex; align-items: center; justify-content: center;
  padding: 4vh 4vw;
}
.video-lightbox[hidden] { display: none; }
.vl-backdrop {
  position: absolute; inset: 0;
  background: rgba(12, 10, 9, 0.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: vlFade 0.25s ease;
}
.vl-frame {
  position: relative;
  width: min(1080px, 100%);
  animation: vlRise 0.35s var(--spring-soft, cubic-bezier(0.22, 1, 0.36, 1));
}
.vl-player {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #000;
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.8);
}
.vl-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
}
.vl-close {
  position: absolute;
  top: -18px; right: -18px;
  z-index: 2;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: none; border-radius: 50%;
  background: #ffffff; color: #17171a;
  cursor: pointer;
  box-shadow: 0 8px 28px -8px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s var(--spring-bouncy, cubic-bezier(0.22, 1, 0.36, 1));
}
.vl-close:hover { transform: scale(1.08); }
.vl-close:active { transform: scale(0.94); }
.vl-close svg { width: 18px; height: 18px; }
@keyframes vlFade { from { opacity: 0; } }
@keyframes vlRise { from { opacity: 0; transform: translateY(22px) scale(0.97); } }
@media (max-width: 640px) {
  .vl-close { top: -14px; right: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .vl-backdrop, .vl-frame { animation: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .vl-backdrop { background: rgba(10, 9, 8, 0.94); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ============================================================
   Responsive - the text takes the full width over a stronger veil;
   the film continues behind it as the room.
   ============================================================ */
@media (max-width: 960px) {
  .rail-col { max-width: 600px; }
  .hero3d-stage::after {
    background: linear-gradient(90deg,
      rgba(253, 251, 248, 0.8) 0%,
      rgba(253, 251, 248, 0.65) 55%,
      rgba(253, 251, 248, 0.4) 100%);
  }
  .hero3d #hint { left: 50%; }
}
@media (max-width: 640px) {
  .hero3d .hero-copy h1 { font-size: clamp(2.2rem, 10vw, 2.9rem); }
  .compare-table th, .compare-table td { padding-inline: 14px; }
  .category-row a { padding: 11px 15px; font-size: 0.92rem; }
  /* tighter holds on phones: same beats, less dead travel */
  .beat[data-beat="goals"]   { --hold: 75vh; }
  .beat[data-beat="compare"] { --hold: 85vh; }
}

@media (prefers-reduced-motion: reduce) {
  html.js .beat .beat-inner { opacity: 1; transform: translateY(-50%); transition: none; }
  html.js .after-film [data-reveal] { opacity: 1; transform: none; transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .compare-table-wrap, .enterprise-card, .category-row a {
    background: #ffffff;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .hero3d-stage::after {
    background: linear-gradient(90deg,
      rgba(253, 251, 248, 0.94) 0%, rgba(253, 251, 248, 0.88) 46%, rgba(253, 251, 248, 0.5) 66%, transparent 78%);
  }
}

/* ============================================================
   ASSISTANT GLASS + PANEL LOCKUP (cofounder, Aug 10)
   The launcher shell's own glass (shell.css, "Glass material" block)
   was tuned on the dark prod site; on this light skin its 65% white
   fill over a near-white page reads SOLID. One step more translucent
   here so the diffusion actually shows - search bar, suggestion
   bubbles and the chat panel - and the panel lockup one step smaller.
   Same @supports gate as shell.css: without backdrop-filter the solid
   token colours remain the fallback. Wins on specificity (home.css
   loads BEFORE shell.css - order cannot win here).
   ============================================================ */
body.home-v3 .panel-logo { height: 20px; }
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  body.home-v3 .composer,
  body.home-v3 .intro-dot::before {
    background: color-mix(in srgb, var(--bar-bg) 45%, transparent);
    -webkit-backdrop-filter: blur(24px) saturate(1.5);
    backdrop-filter: blur(24px) saturate(1.5);
  }
  body.home-v3 .panel {
    background: color-mix(in srgb, var(--panel-bg) 52%, transparent);
    -webkit-backdrop-filter: blur(26px) saturate(1.5);
    backdrop-filter: blur(26px) saturate(1.5);
  }
  body.home-v3 .sugg {
    /* 36%: visibly glass over the page, but the white label keeps enough
       ground under it to stay readable on bright backdrops */
    background: color-mix(in srgb, var(--user-bubble) 36%, transparent);
  }
  body.home-v3 .sugg:hover {
    background: color-mix(in srgb, var(--user-bubble) 48%, transparent);
  }
}

/* ============================================================
   FILM-OFF - the mobile home (cofounder, Aug 10: "remove animation")
   Below 901px home.js never injects hero3d.js and adds html.film-off:
   the sticky 100vh film stage becomes a full-bleed poster layer (a 46KB
   crop of the same coral room), the beats lose their sticky holds and
   stack as normal sections, and every block is simply visible - the
   trigger-and-complete choreography only exists where the film does.
   Desktop is untouched: none of this applies without html.film-off.
   ============================================================ */
html.film-off .hero3d-stage {
  /* ONE viewport of room, not a poster stretched over the whole rail:
     `cover` against the full ~4500px column zoomed the image into an
     abstract streak (cofounder, Aug 10: "the background is weird").
     The stage is exactly the first screen, the room at natural crop,
     dissolving into the page ground before the second section. */
  position: absolute; inset: 0 0 auto 0;
  height: 100vh; height: 100svh;
  background:
    linear-gradient(to bottom,
      rgba(248, 246, 243, 0) 52%,
      rgba(248, 246, 243, 0.97) 88%,
      #f8f6f3 100%),
    url("assets/room-mobile.jpg") center top / cover no-repeat,
    #f8f6f3;
}
html.film-off .film-rail { margin-top: 0; }
html.film-off .beat { min-height: 0; margin-bottom: 72px; }
html.film-off .beat::after { display: none; }        /* no holds, no dead travel */
html.film-off .beat .beat-inner {
  position: static;
  opacity: 1 !important;
  transform: none !important;
  transition: none;
}
html.film-off .beat-hero {
  min-height: 74vh; min-height: 74svh;
  display: flex; align-items: center;
}
html.film-off #loader,
html.film-off #hint,
html.film-off #debug { display: none; }
/* LIVE GATE (Enrico, Aug 11: the film attaches and detaches with the
   window, no refresh). A film booted wide and then narrowed PAUSES
   (hero3d.js render loop) and hides here - the poster above paints the
   stage instead. And the carousel's cloned chips are a film-off device:
   in film mode the row must show the five real pills once. */
html.film-off #stage { display: none; }
html:not(.film-off) .category-row li[aria-hidden="true"] { display: none; }

/* ============================================================
   FILM-OFF, PASS 2 - the text diet (Enrico, Aug 11: "too much text").
   The rail copy was metered for the film: one beat at a time, alone on
   a desktop viewport. Stacked flat on a phone it reads as a ~4,500px
   wall. Here every section keeps its headline and its sharpest line;
   the supporting prose the film used to pace is display:none'd -
   still in the DOM for desktop and crawlers, not part of the phone
   read. Desktop is untouched: nothing applies without html.film-off.
   ============================================================ */
html.film-off .beat { margin-bottom: 52px; }
html.film-off .beat h2 { font-size: clamp(1.45rem, 6vw, 1.7rem); margin-bottom: 10px; }
html.film-off .beat-hero {
  min-height: 68vh; min-height: 68svh;
  /* .hero3d pulls itself under the transparent header (-nav-h) so the
     poster is full-bleed; the copy must NOT follow it there. Without this
     the flex-centred headline started above the lockup on real phones
     (Enrico, Aug 11: "Shopping starts" through the logo). */
  padding-top: calc(var(--nav-h) + 14px);
}

/* GOALS - the three quotes ARE the argument; the setup paragraph
   only restates them in the abstract */
html.film-off .beat[data-beat="goals"] .beat-inner > p:not(.goals-kicker):not(.m-eyebrow) { display: none; }
html.film-off .intent-quotes { margin-top: 2px; }
html.film-off .intent-quotes li { font-size: 0.96rem; }
html.film-off .goals-kicker { font-size: 1rem !important; }

/* CATEGORIES - pills that share rows, not a stacked full-width list */
html.film-off .category-row { gap: 8px; }
html.film-off .category-row a { padding: 8px 12px; font-size: 0.83rem; gap: 8px; }
html.film-off .cat-ic { width: 18px; height: 18px; }

/* COMPARE - same six rows, half the ink. Every row carries a two-line
   minimum (Enrico, Aug 11 screenshot: the one-line "Describe the goal"
   row sat shorter than its five two-line siblings) - cell height is a
   MINIMUM in table layout, so longer copy still grows. The px value is
   the fallback; 2lh + the 16px padding is the same number, derived. */
html.film-off .compare-table th { padding: 10px 12px 8px; }
html.film-off .compare-table td {
  padding: 8px 12px; font-size: 0.8rem; line-height: 1.35;
  height: 51px;
  height: calc(2lh + 16px);
  vertical-align: middle;
}

/* ENTERPRISE - all three cards carry their line again (Enrico, Aug 11
   screenshot: with cards 2-3 dieted to bare headlines, card 1 stood
   twice their height). Each body is ~2 lines at this size, and
   grid-auto-rows makes the equality exact whatever wraps. */
html.film-off .enterprise-grid { grid-auto-rows: 1fr; }
html.film-off .enterprise-card { padding: 12px 15px; gap: 4px; }
html.film-off .enterprise-card h3 { font-size: 0.98rem; }
html.film-off .enterprise-card p { font-size: 0.84rem; }

/* PERFORMANCE - the four bold promises carry it; drop their glosses.
   Each line owns real air around its hairline (Enrico, Aug 11 round:
   "increase the spacing between the value proposition lines"). */
html.film-off .pile-item { padding: 18px 0 19px; }
html.film-off .pile-item p { display: none; }
html.film-off .pile-item h3 { font-size: 0.96rem; margin: 0; }
html.film-off .perf-pile { margin-top: 12px; }

/* FINAL - keep the Track panel, drop the merchandising afterword */
html.film-off .intel-foot { display: none; }
html.film-off .rail-lede { font-size: 0.95rem; margin-bottom: 14px; }
html.film-off .intel-panel li { font-size: 0.88rem; }

/* AFTER-FILM CTA - the finale rejoined the flow (Enrico, Aug 11: the
   premium pass brought content animation back): the old force-visible
   override is gone, so initAfterFilmReveal's one-shot rise plays on
   phones too, and the closing block gets a real section's air. */
html.film-off .after-film { padding-block: 72px 96px; }

/* The touch minimize chip (shell.css shows it above the bar on hover:none
   devices) floated 10px clear of the pill - over page copy it read as a
   stray button (Enrico, Aug 11). Tucked against the bar and given a firmer
   fill so it reads as the bar's own control. shell.css stays verbatim;
   the skinning override lives here like the rest. */
@media (hover: none) {
  body.home-v3 .bar-min {
    bottom: calc(var(--dot-w) + 4px);
    background: rgba(96, 96, 104, 0.55);
  }
}

/* ============================================================
   FILM-OFF, PASS 3 - the premium stanza (Enrico, Aug 11: "more premium
   and mobile native ... rhythmic ... content animations").
   Every section now reads as the SAME stanza - eyebrow / headline /
   figure - and enters on the same choreography: eyebrow at 0, headline
   +70ms, figure +180ms, list items 70ms apart. The rhythm IS the
   repetition; the one deliberate break is the category pills turning
   into the page's single horizontal gesture (the swipe rail).
   Gates: html.film-off (phones only - desktop never sees any of this)
   and html.mob-reveal (set by home.js only when IO exists and motion
   is allowed), so no-JS and reduced-motion read a fully visible page.
   ============================================================ */

/* -- one thought per screen (Enrico, Aug 11 round 2: "make each new
      section appear after each scroll, not in a single blurb"): every
      stanza owns most of a viewport - min-height + centring do the
      pacing, so one section arrives per scroll gesture instead of
      three sharing a screen. Taller figures (the compare table) simply
      grow past the minimum. Inside the stanza the scale holds: 12px
      eyebrow->headline, 18px headline->figure. -- */
/* UNIFORM section distance (Enrico, Aug 11: "the distance must be the
   same for all the sections"): the min-height boxes are gone - centring
   slack made every gap different (huge around short sections, nothing
   around the compare table). Sections are their natural height and this
   one margin IS the whole gap, so end-of-content to start-of-content is
   identical at every seam. */
html.film-off .beat { margin-bottom: 120px; }
/* Only the hero keeps a viewport box - it is the cover, not a section:
   full first screen over the poster, air under the transparent header
   (round 2), copy centred in what remains. */
html.film-off .beat-hero {
  min-height: 88vh; min-height: 88svh;
  padding-top: calc(var(--nav-h) + 40px);
  display: flex; flex-direction: column; justify-content: center;
  align-items: stretch;
}
html.film-off .beat h2 {
  font-size: clamp(1.55rem, 6.4vw, 1.9rem);
  line-height: 1.12;
  margin-bottom: 12px;
}
/* the phone eyebrows (index.html .m-eyebrow): same voice as .cap-eyebrow,
   hidden everywhere the stanza doesn't exist */
.m-eyebrow { display: none; }
html.film-off :is(.m-eyebrow, .cap-eyebrow) {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.11em;
  color: var(--ink-3); font-weight: 500;
  margin-bottom: 12px !important; max-width: none;
}
/* every figure takes the same seat under its headline - 28px, matched
   to the quotes' gap (Enrico, Aug 11: the difference / integration /
   performance sections breathe like the others) */
html.film-off .beat :is(.category-row, .compare-table-wrap, .enterprise-grid, .perf-pile, .intel-panel) { margin-top: 28px; }
html.film-off .intent-quotes { margin-top: 28px; gap: 10px; }   /* clear of the headline (Enrico, Aug 11) */
html.film-off .goals-kicker { margin-top: 18px; }
html.film-off .enterprise-card { padding: 14px 16px; }

/* -- mobile-native CTAs: the action column, full width, primary first -- */
html.film-off .hero-actions {
  flex-direction: column; align-items: stretch;
  gap: 10px; margin-top: 34px;
}
html.film-off .hero-actions .btn { justify-content: center; }
/* round 3 (Enrico's screenshot): more air BETWEEN the hero's own blocks
   - headline, lede, checks, actions - without pushing the actions off
   the first screen: +30px total, well inside the slack under the CTAs
   on a modern phone. The 88svh box centres whatever the sum is, and on
   short phones the box simply grows (min-height) - same as before. */
html.film-off .beat-hero h1 { margin-bottom: 24px; }
html.film-off .beat-hero .lede { margin-bottom: 14px; }
html.film-off .hero-checks { margin: 26px 0 0; gap: 13px; }
/* round 4 (Enrico): the CTAs stand well clear of the checks. The film
   layout's `.hero3d .hero-copy .hero-actions { margin-top: 4px }`
   outranked PASS 3's 34px on specificity, so the buttons actually sat
   4px under the list - this selector outranks it back. */
html.film-off .hero-copy .hero-actions { margin-top: 48px; }
/* round 5 (Enrico): the video leads on phones, the booking CTA closes.
   Order-swapped in CSS so the desktop hero keeps primary-first. */
html.film-off .hero-copy .hero-actions .btn-primary { order: 2; }

/* -- categories: the drifting carousel (Enrico, Aug 11: "dynamic").
      Full-bleed under the wrap's 20px padding, scrollbar hidden. home.js
      (initCategoryCarousel) clones the chip set once and drifts
      scrollLeft in an endless loop - touching pauses it, native swipe
      still works, and the drift resumes after the reader lets go. The
      edge fade sells the loop: there is always more on both sides. No
      snap - a carousel drifts, it doesn't click into stops. -- */
html.film-off .category-row {
  margin-top: 32px;   /* the carousel stands clear of its headline (Enrico, Aug 11) */
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  margin-inline: -20px;
  padding: 4px 20px 10px;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg,
    transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
  mask-image: linear-gradient(90deg,
    transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
}
html.film-off .category-row::-webkit-scrollbar { display: none; }
html.film-off .category-row a {
  flex: none; white-space: nowrap;
  padding: 10px 14px; font-size: 0.88rem;
}

/* -- the reveal choreography: one-shot, per stanza (home.js adds .m-in).
      A selector this browser can't parse fails whole-rule on BOTH the
      hidden and shown states, so old engines degrade to a visible page. -- */
html.film-off.mob-reveal .beat :is(.m-eyebrow, .cap-eyebrow, h1, h2, .hero-checks li, .hero-actions, .intent-quotes li, .category-row, .compare-table-wrap, .enterprise-card, .pile-item, .intel-panel),
html.film-off.mob-reveal .beat .beat-inner > p {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease,
    transform 0.8s var(--spring-soft, cubic-bezier(0.22, 1, 0.36, 1));
}
html.film-off.mob-reveal .beat.m-in :is(.m-eyebrow, .cap-eyebrow, h1, h2, .hero-checks li, .hero-actions, .intent-quotes li, .category-row, .compare-table-wrap, .enterprise-card, .pile-item, .intel-panel),
html.film-off.mob-reveal .beat.m-in .beat-inner > p {
  opacity: 1;
  transform: none;
}
/* the stanza's clock (round 2: "more evident"): eyebrow 0, headline
   +100ms, prose +200ms, figures +260ms, items 100ms apart - a longer
   rise from further down, so the choreography reads as choreography */
html.film-off.mob-reveal .beat.m-in :is(h1, h2) { transition-delay: 0.1s; }
html.film-off.mob-reveal .beat.m-in .beat-inner > p:not(.m-eyebrow, .cap-eyebrow, .goals-kicker) { transition-delay: 0.2s; }
html.film-off.mob-reveal .beat.m-in :is(.category-row, .compare-table-wrap, .intel-panel) { transition-delay: 0.26s; }
html.film-off.mob-reveal .beat.m-in :is(.hero-checks li, .intent-quotes li, .enterprise-card, .pile-item) { transition-delay: 0.26s; }
html.film-off.mob-reveal .beat.m-in :is(.hero-checks li, .intent-quotes li, .enterprise-card, .pile-item):nth-child(2) { transition-delay: 0.36s; }
html.film-off.mob-reveal .beat.m-in :is(.hero-checks li, .intent-quotes li, .enterprise-card, .pile-item):nth-child(3) { transition-delay: 0.46s; }
html.film-off.mob-reveal .beat.m-in :is(.hero-checks li, .intent-quotes li, .enterprise-card, .pile-item):nth-child(4) { transition-delay: 0.56s; }
/* the closers land last */
html.film-off.mob-reveal .beat.m-in :is(.goals-kicker, .hero-actions) { transition-delay: 0.62s; }
/* the after-film finale rises on the same, evident curve */
html.film-off .after-film [data-reveal] {
  transform: translateY(26px);
  transition: opacity 0.6s ease,
    transform 0.8s var(--spring-soft, cubic-bezier(0.22, 1, 0.36, 1));
}

/* belt to the JS gate: reduced motion reads a still, fully visible page */
@media (prefers-reduced-motion: reduce) {
  html.film-off.mob-reveal .beat :is(.m-eyebrow, .cap-eyebrow, h1, h2, .hero-checks li, .hero-actions, .intent-quotes li, .category-row, .compare-table-wrap, .enterprise-card, .pile-item, .intel-panel),
  html.film-off.mob-reveal .beat .beat-inner > p {
    opacity: 1; transform: none; transition: none;
  }
}
