/*!
 * HEXAGON site styles
 * Built from _build/css/*.css by _build/build.js. Edit the parts, not this file.
 *
 * Design: a light showroom. Cool platinum page, ink type, one family (Instrument Sans).
 * No accent colour: the only "colour" is light, in the live paint renders (.stage).
 * Shape rule: interactive controls are pills, media stages 28px, cards 20px, fields 14px.
 */

/* ---------- 1. Tokens ---------- */
:root {
  --platinum: #f2f3f5;
  --white: #ffffff;
  --mist: #e8eaed;
  --ink: #0a0b0d;
  --ink-2: #24272c;
  --graphite: #3b3f47;
  --steel: #5f646d;
  --line: rgba(10, 11, 13, 0.1);
  --line-2: rgba(10, 11, 13, 0.18);
  --line-3: rgba(10, 11, 13, 0.32);

  --stage: #050608;
  --on-stage: #f4f5f7;
  --on-stage-2: rgba(244, 245, 247, 0.74);
  --on-stage-3: rgba(244, 245, 247, 0.56);
  --on-stage-line: rgba(244, 245, 247, 0.18);

  --font: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-display: clamp(3.2rem, 1.1rem + 7.4vw, 8.6rem);
  --fs-h1: clamp(2.8rem, 1.4rem + 4.9vw, 6.2rem);
  --fs-h2: clamp(2.25rem, 1.25rem + 3.3vw, 4.6rem);
  --fs-h3: clamp(1.2rem, 1.06rem + 0.5vw, 1.5rem);
  --fs-lead: clamp(1.13rem, 1rem + 0.42vw, 1.38rem);
  --fs-body: 1.0625rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;

  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1360px;
  --section: clamp(96px, 9.5vw, 160px);
  --nav-h: 64px;

  --r-stage: 28px;
  --r-card: 20px;
  --r-field: 14px;
  --r-pill: 999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);

  --shadow-1: 0 1px 2px rgba(10, 11, 13, 0.04), 0 8px 24px -12px rgba(10, 11, 13, 0.12);
  --shadow-2: 0 2px 4px rgba(10, 11, 13, 0.04), 0 24px 60px -24px rgba(10, 11, 13, 0.22);

  --z-content: 1;
  --z-fab: 40;
  --z-nav: 50;
  --z-menu: 60;
  --z-skip: 90;
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--platinum);
  color-scheme: light;
  scroll-padding-top: calc(var(--nav-h) + 24px);
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font);
  font-size: var(--fs-body);
  font-stretch: 100%;
  line-height: 1.6;
  color: var(--graphite);
  background: transparent;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

main,
.foot { position: relative; z-index: var(--z-content); }

/* Sections clip their own sideways overflow (scaled stages, the ticker).
   clip, unlike hidden, keeps sticky children working. */
main > section { overflow-x: clip; }

img,
svg,
canvas { display: block; max-width: 100%; }

[hidden] { display: none !important; }

a { color: inherit; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

button { cursor: pointer; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  font-stretch: 88%;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
  hyphens: none;
}

h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.015em; font-stretch: 94%; }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; }

dl, dd { margin: 0; }

strong, b { font-weight: 600; color: var(--ink); }

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

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

.on-stage :focus-visible,
.stage :focus-visible,
.foot :focus-visible { outline-color: var(--on-stage); }

/* ---------- 3. The studio light behind the page ----------
   A soft light follows the cursor across the platinum page, like a lamp moving over a
   showroom floor. JS eases --lx / --ly; touch screens get a slow drift with scroll. */
.sheen {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1100px 760px at var(--lx, 72%) var(--ly, 18%), rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 62%),
    radial-gradient(1400px 900px at calc(100% - var(--lx, 72%)) calc(110% - var(--ly, 18%)), rgba(214, 218, 224, 0.55), rgba(214, 218, 224, 0) 60%),
    var(--platinum);
}

/* Fine grain so the gradients never band */
.sheen::after {
  content: "";
  position: absolute;
  inset: 0;
  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='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 4. Utilities ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
.section--tight { padding-top: 0; }

.section--white {
  position: relative;
  background: var(--white);
}

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

.nowrap { white-space: nowrap; }
.tabular { font-variant-numeric: tabular-nums lining-nums; }

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: var(--z-skip);
  padding: 12px 20px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform 0.4s var(--ease);
}

.skip:focus-visible { transform: none; }

/* ---------- 5. Type ---------- */
.display {
  font-size: var(--fs-display);
  font-weight: 600;
  font-stretch: 84%;
  line-height: 0.9;
  letter-spacing: -0.048em;
}

.h1 { font-size: var(--fs-h1); line-height: 0.95; letter-spacing: -0.042em; font-stretch: 85%; }
.h2 { font-size: var(--fs-h2); line-height: 0.98; letter-spacing: -0.038em; font-stretch: 86%; }

.lead {
  max-width: 44ch;
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--graphite);
}

.small { font-size: var(--fs-sm); }
.muted { color: var(--steel); }

/* Section heads. Split: headline left, supporting copy on the right, aligned to its last line. */
.head { display: grid; gap: 24px; margin-bottom: clamp(48px, 6vw, 88px); }
.head .lead { margin: 0; }

.head--split {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 96px);
  align-items: end;
}

.head__aside { display: grid; gap: 18px; }
.head__aside p { margin: 0; max-width: 46ch; }

/* ---------- 6. Links and buttons ---------- */
.link {
  color: var(--ink);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: var(--line-3);
  transition: text-decoration-color 0.3s var(--ease), color 0.3s var(--ease);
}

.link:hover { text-decoration-color: currentColor; }

.btn {
  --h: 52px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--h);
  padding: 0 26px;
  border: 0;
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 600;
  font-stretch: 100%;
  letter-spacing: -0.005em;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.5s var(--ease-spring);
  -webkit-tap-highlight-color: transparent;
}

.btn:active { transform: scale(0.975); transition-duration: 0.12s; }
.btn svg { flex: none; width: 18px; height: 18px; fill: currentColor; }
.btn__ic { transition: transform 0.45s var(--ease-spring); }
.btn:hover .btn__ic { transform: translate(2px, -2px); }
.btn:hover .btn__ic--r { transform: translateX(3px); }

.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: #24272d; }

.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--line:hover { box-shadow: inset 0 0 0 1px var(--ink); }

.btn--light { background: var(--on-stage); color: var(--ink); }
.btn--light:hover { background: var(--white); }

.btn--glass {
  background: rgba(244, 245, 247, 0.08);
  color: var(--on-stage);
  box-shadow: inset 0 0 0 1px var(--on-stage-line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.btn--glass:hover { background: rgba(244, 245, 247, 0.16); }

.btn--sm { --h: 40px; padding: 0 18px; font-size: 0.875rem; }
.btn--lg { --h: 58px; padding: 0 30px; font-size: 1rem; }
.btn--block { width: 100%; }

/* Round icon button */
.round {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--ink);
  transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease), transform 0.4s var(--ease-spring);
}

.round:hover { background: var(--ink); color: var(--white); box-shadow: inset 0 0 0 1px var(--ink); }
.round:active { transform: scale(0.94); }
.round svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------- 7. Fields ---------- */
.input {
  width: 100%;
  height: 54px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--r-field);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--ink);
  transition: box-shadow 0.3s var(--ease);
}

.input::placeholder { color: var(--steel); opacity: 1; }
.input:hover { box-shadow: inset 0 0 0 1px var(--line-3); }
.input:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #b42318; }

.field { display: grid; gap: 8px; margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.field > label,
.field > legend { padding: 0; font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.field__opt { font-weight: 400; color: var(--steel); }
.field__error { margin: 0; font-size: var(--fs-sm); color: #b42318; }

/* Segmented control (radio inputs with a sliding thumb) */
.seg {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  padding: 4px;
  border-radius: var(--r-pill);
  background: var(--mist);
}

.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }

.seg label {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  height: 44px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--steel);
  cursor: pointer;
  transition: color 0.35s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.seg input:checked + label { color: var(--ink); }
.seg input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; }

.seg__thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 8px) / var(--n, 3));
  border-radius: var(--r-pill);
  background: var(--white);
  box-shadow: var(--shadow-1);
  transform: translateX(calc(var(--i, 0) * 100%));
  transition: transform 0.55s var(--ease-spring);
}

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 500;
  transition: box-shadow 0.3s var(--ease), transform 0.4s var(--ease-spring);
}

button.chip:hover { box-shadow: inset 0 0 0 1px var(--ink); }
button.chip:active { transform: scale(0.96); }

/* Checklist */
.ticks { display: grid; gap: 14px; list-style: none; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { flex: none; width: 20px; height: 20px; margin-top: 3px; fill: var(--ink); }

/* Icon in a soft disc */
.disc {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
}

.disc svg { width: 24px; height: 24px; fill: currentColor; }
.section--white .disc { background: var(--platinum); box-shadow: none; }

/* Initials avatar */
.avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ---------- 8. Stages: framed live renders ---------- */
.stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--r-stage);
  color: var(--on-stage);
  /* Poster shown until the render starts, and for browsers without WebGL */
  background:
    linear-gradient(180deg, rgba(244, 245, 247, 0) 0 41%, rgba(244, 245, 247, 0.5) 41.3%, rgba(244, 245, 247, 0) 42.6%),
    radial-gradient(120% 70% at 50% 0%, #2a2d33 0%, #101114 45%, var(--stage) 75%);
  transform: translateZ(0);
}

.stage__gl {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}

.stage--live .stage__gl { opacity: 1; }

.stage__hint {
  position: absolute;
  top: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: rgba(5, 6, 8, 0.42);
  box-shadow: inset 0 0 0 1px var(--on-stage-line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--on-stage-2);
}

.stage__hint svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- 9. Reveals ----------
   [data-reveal]: fades up as it enters.
   [data-words]: JS wraps each word in a mask; words rise into place in sequence. */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 1s var(--ease) calc(var(--d, 0) * 1ms), transform 1.2s var(--ease) calc(var(--d, 0) * 1ms);
}

.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Text at the top of a page is readable from the first frame: it only slides */
.js .phero__row [data-reveal],
.js .phero--legal [data-reveal] { opacity: 1; }

.words .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}

.words .w > span { display: inline-block; }

.js .words .w > span {
  transform: translate3d(0, 108%, 0);
  transition: transform 1.15s var(--ease) calc(var(--d, 0) * 1ms + var(--wi, 0) * 42ms);
}

.js .words.is-in .w > span { transform: none; }

/* ---------- 10. Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  height: var(--nav-h);
  background: rgba(242, 243, 245, 0.72);
  -webkit-backdrop-filter: saturate(1.6) blur(20px);
  backdrop-filter: saturate(1.6) blur(20px);
  transition: box-shadow 0.4s var(--ease), background-color 0.4s var(--ease);
}

.nav.is-scrolled { box-shadow: 0 1px 0 var(--line); background: rgba(242, 243, 245, 0.84); }

.nav__in {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.nav__brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  text-decoration: none;
}

.nav__mark { width: 20px; height: auto; transition: transform 0.8s var(--ease-spring); }
.nav__brand:hover .nav__mark { transform: rotate(60deg); }
.nav__word { width: 104px; height: auto; }

.nav__links ul { display: flex; gap: 4px; list-style: none; }

.nav__links a {
  position: relative;
  display: block;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--graphite);
  text-decoration: none;
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.nav__links a:hover { color: var(--ink); background: rgba(10, 11, 13, 0.05); }
.nav__links a[aria-current="page"] { color: var(--ink); }

.nav__links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--ink);
}

.nav__end { justify-self: end; display: flex; align-items: center; gap: 10px; }

.nav__toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line-2);
}

.nav__toggle span {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.5s var(--ease-spring), top 0.5s var(--ease-spring);
}

.nav__toggle span:nth-child(1) { top: 18px; }
.nav__toggle span:nth-child(2) { top: 25px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

/* Phone menu: a full-height sheet under the bar */
.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-h) + 24px) var(--gutter) calc(24px + env(safe-area-inset-bottom));
  background: rgba(242, 243, 245, 0.97);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0s linear 0.45s;
}

.menu.is-open { opacity: 1; visibility: visible; transition: opacity 0.45s var(--ease), visibility 0s; }
.menu-open .nav { z-index: calc(var(--z-menu) + 1); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

.menu__links { list-style: none; display: grid; gap: 2px; }

.menu__links a {
  display: block;
  padding: 10px 0;
  font-size: clamp(2.2rem, 1.4rem + 4vw, 3rem);
  font-weight: 600;
  font-stretch: 86%;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--ink);
  text-decoration: none;
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 0.6s var(--ease) calc(var(--i) * 60ms + 80ms), transform 0.8s var(--ease) calc(var(--i) * 60ms + 80ms);
}

.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu__links a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }

.menu__foot { display: grid; gap: 10px; margin-top: auto; padding-top: 32px; }
.menu__note { margin: 6px 0 0; text-align: center; font-size: var(--fs-sm); color: var(--steel); }

/* ---------- 11. Footer ---------- */
.foot {
  margin-top: 12px;
  padding: clamp(80px, 9vw, 140px) 0 28px;
  background: var(--stage);
  color: var(--on-stage-2);
}

.foot a { color: var(--on-stage); text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

.foot__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: clamp(56px, 7vw, 96px);
  border-bottom: 1px solid var(--on-stage-line);
}

.foot__line {
  margin: 0;
  font-size: clamp(2.4rem, 1.2rem + 4vw, 5rem);
  font-weight: 600;
  font-stretch: 85%;
  line-height: 0.95;
  letter-spacing: -0.042em;
  color: var(--on-stage);
}

.foot .btn--light { color: var(--ink); }
.foot .btn--light:hover { text-decoration: none; }

.foot__cols {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding: clamp(48px, 6vw, 80px) 0;
}

.foot__brand img { width: 30px; height: auto; margin-bottom: 22px; }
.foot__brand p { max-width: 38ch; font-size: var(--fs-sm); }
.foot__parent { color: var(--on-stage); }

.foot__social { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; font-size: var(--fs-sm); }
.foot__social svg { width: 20px; height: 20px; fill: currentColor; }

.foot__h { margin-bottom: 18px; font-size: var(--fs-sm); font-weight: 600; font-stretch: 100%; letter-spacing: 0; color: var(--on-stage); }
.foot__list { display: grid; gap: 12px; list-style: none; font-size: var(--fs-sm); }
.foot__list span { color: var(--on-stage-3); }

.foot__word { width: 100%; height: auto; opacity: 0.08; user-select: none; }

.foot__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 28px;
  font-size: var(--fs-xs);
  color: var(--on-stage-3);
}

.foot__base p { margin: 0; }
.credit svg { display: inline-block; width: 14px; height: 14px; margin: 0 2px -2px; fill: var(--on-stage); }

.motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--on-stage-line);
  font-size: var(--fs-xs);
  color: var(--on-stage-2);
  transition: box-shadow 0.3s var(--ease), color 0.3s var(--ease);
}

.motion-toggle:hover { color: var(--on-stage); box-shadow: inset 0 0 0 1px var(--on-stage-3); }
.motion-toggle svg { width: 14px; height: 14px; fill: currentColor; }
.motion-toggle .is-play { display: none; }
.motion-toggle[aria-pressed="true"] .is-play { display: block; }
.motion-toggle[aria-pressed="true"] .is-pause { display: none; }

/* ---------- 12. WhatsApp button ---------- */
.fab {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: var(--z-fab);
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(244, 245, 247, 0.16), 0 16px 40px -14px rgba(10, 11, 13, 0.55);
  transition: transform 0.5s var(--ease-spring), background-color 0.3s var(--ease);
}

.fab svg { width: 26px; height: 26px; fill: currentColor; }

.fab__label {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translate3d(10px, -50%, 0);
  transition: opacity 0.35s var(--ease), transform 0.5s var(--ease-spring);
  pointer-events: none;
}

.fab:hover { background: #24272d; }
.fab:hover .fab__label,
.fab:focus-visible .fab__label { opacity: 1; transform: translate3d(0, -50%, 0); }
.fab:active { transform: scale(0.94); }
.book-open .fab { transform: translateY(140%); }

/* ---------- 13. Booking panel ---------- */
.book {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}

.book::backdrop {
  background: rgba(10, 11, 13, 0.3);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.book.is-open::backdrop { opacity: 1; }

.book__panel {
  position: absolute;
  top: 12px;
  right: 12px;
  bottom: 12px;
  width: min(480px, calc(100% - 24px));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--r-stage);
  background: var(--white);
  box-shadow: var(--shadow-2);
  transform: translate3d(calc(100% + 24px), 0, 0);
  transition: transform 0.65s var(--ease-spring);
}

.book.is-open .book__panel { transform: none; }

.book__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.book__head h2 { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem); letter-spacing: -0.035em; }
.book__close { width: 44px; height: 44px; }
.book__lead { margin-bottom: 28px; color: var(--graphite); }

.book__summary {
  margin: 4px 0 20px;
  padding: 16px 18px;
  border-radius: var(--r-field);
  background: var(--platinum);
  font-size: var(--fs-sm);
  color: var(--graphite);
}

.book__summary:empty { display: none; }
.book__alt { margin: 16px 0 0; text-align: center; font-size: var(--fs-sm); color: var(--steel); }

/* ---------- 14. Page transitions (cross-document View Transitions) ---------- */
@view-transition { navigation: auto; }

::view-transition-old(root) { animation: vt-out 0.35s var(--ease-io) both; }
::view-transition-new(root) { animation: vt-in 0.55s var(--ease) both; }

@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }

/* ==========================================================
   HOME
   ========================================================== */

/* ---------- 15. Hero: the car under the lights ---------- */
.hero { padding: calc(var(--nav-h) + 4px) 12px 0; }

.hero__frame {
  transform-origin: 50% 0;
  transform: scale(calc(1 - var(--hp, 0) * 0.05));
  will-change: transform;
}

.stage--hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: clamp(600px, calc(100svh - var(--nav-h) - 16px), 1040px);
}

.stage--hero::before,
.stage--finale::before,
.stage--page::before,
.stage--nf::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(5, 6, 8, 0.82) 0%, rgba(5, 6, 8, 0.42) 34%, rgba(5, 6, 8, 0) 60%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  padding: clamp(24px, 4.4vw, 72px);
  opacity: calc(1 - var(--hp, 0) * 1.6);
}

.hero__kicker {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: rgba(5, 6, 8, 0.42);
  box-shadow: inset 0 0 0 1px var(--on-stage-line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--on-stage);
}

.hero__kicker svg { width: 16px; height: 16px; fill: currentColor; }

.hero__title { font-size: var(--fs-display); font-weight: 600; font-stretch: 84%; line-height: 0.9; letter-spacing: -0.048em; color: var(--on-stage); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__title .line > span { display: block; }

.hero__lead { max-width: 42ch; margin: 30px 0 0; font-size: var(--fs-lead); line-height: 1.5; color: var(--on-stage-2); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* Opening sequence: lines rise, then the rest fades up */
.js .hero__title .line > span { animation: rise 1.5s var(--ease) both; animation-delay: calc(0.35s + var(--i) * 0.13s); }
.js .hero__kicker,
.js .hero__lead,
.js .hero__ctas,
.js .stage--hero .stage__hint { animation: fade-up 1.2s var(--ease) both; animation-delay: calc(0.2s + var(--i) * 0.14s); }

@keyframes rise { from { transform: translate3d(0, 108%, 0); } }
@keyframes fade-up { from { opacity: 0; transform: translate3d(0, 18px, 0); } }

/* ---------- 16. Statement and figures ---------- */
.intro { padding-top: clamp(128px, 14vw, 224px); }

.statement {
  max-width: 21em;
  margin: 0;
  font-size: clamp(2rem, 1.1rem + 2.9vw, 4.2rem);
  font-weight: 500;
  font-stretch: 90%;
  line-height: 1.1;
  letter-spacing: -0.032em;
  color: var(--ink);
  text-wrap: balance;
}

/* Unlit words stay above 3:1 contrast (large text) */
.js .statement .sw { opacity: 0.5; transition: opacity 0.5s var(--ease); }
.js .statement .sw.is-lit { opacity: 1; }

.stats { margin-top: clamp(96px, 11vw, 176px); }
.stats__title { max-width: 30ch; margin-bottom: 32px; font-size: var(--fs-h3); font-stretch: 94%; letter-spacing: -0.015em; }

.stats__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }

.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 16px; padding: 28px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat dt { font-size: var(--fs-sm); color: var(--steel); }

.stat dd {
  font-size: clamp(3rem, 1.4rem + 4.4vw, 6.4rem);
  font-weight: 500;
  font-stretch: 82%;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--ink);
  font-variant-numeric: tabular-nums lining-nums;
  white-space: nowrap;
}

.stat__unit { margin-left: 0.04em; font-size: 0.5em; letter-spacing: -0.02em; color: var(--steel); vertical-align: 0.62em; }

/* ---------- 17. Six months. Two paints. ---------- */
.paint__fig { margin: 0; }

.stage--paint {
  aspect-ratio: 16 / 7.4;
  min-height: 420px;
  cursor: crosshair;
  touch-action: pan-y;
}

.stage__tag {
  position: absolute;
  top: 20px;
  z-index: 2;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: rgba(5, 6, 8, 0.48);
  box-shadow: inset 0 0 0 1px var(--on-stage-line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--on-stage-2);
  pointer-events: none;
}

.stage__tag--l { left: 20px; }
.stage__tag--r { right: 20px; }

.split {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--split, 0.5) * 100%);
  z-index: 2;
  width: 48px;
  margin-left: -24px;
  cursor: ew-resize;
  touch-action: none;
}

.split::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: rgba(244, 245, 247, 0.72); }

.split__knob {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
  border-radius: 50%;
  background: var(--on-stage);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.45s var(--ease-spring);
}

.split__knob svg { width: 16px; height: 16px; fill: currentColor; }
.split:hover .split__knob,
.split.is-drag .split__knob { transform: scale(1.08); }
.split:focus-visible { outline: none; }
.split:focus-visible .split__knob { box-shadow: 0 0 0 3px var(--stage), 0 0 0 5px var(--on-stage); }

.paint__cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 40px; margin-top: 22px; font-size: var(--fs-sm); color: var(--steel); }
.paint__hint { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; }
.paint__hint svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- 18. Normal cleaner vs HEXAGON ---------- */
.ctable { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.ctable col.c1 { width: 28%; }
.ctable col.c2 { width: 33%; }
.ctable col.c3 { width: 39%; }

.ctable th,
.ctable td { padding: 22px 28px; text-align: left; vertical-align: top; font-weight: 400; }

.ctable thead th { padding-top: 30px; padding-bottom: 26px; font-size: var(--fs-sm); font-weight: 600; color: var(--steel); vertical-align: bottom; }
.ctable tbody th { padding-left: 0; font-size: var(--fs-sm); font-weight: 500; color: var(--steel); border-top: 1px solid var(--line); }
.ctable tbody td { border-top: 1px solid var(--line); color: var(--graphite); }

.ctable .cell { display: flex; gap: 12px; align-items: flex-start; }
.ctable svg { flex: none; width: 18px; height: 18px; margin-top: 4px; fill: currentColor; }
.ctable .is-usual svg { color: var(--steel); }

.ctable .is-hex { background: var(--ink); color: var(--on-stage); font-weight: 500; border-top-color: rgba(244, 245, 247, 0.12); }
.ctable thead .is-hex { border-radius: var(--r-card) var(--r-card) 0 0; }
.ctable tbody tr:last-child .is-hex { border-radius: 0 0 var(--r-card) var(--r-card); }
.ctable thead .is-hex img { width: 118px; height: auto; }

.ctable tbody tr th,
.ctable tbody tr td:not(.is-hex) { transition: background-color 0.3s var(--ease); }
.ctable tbody tr:hover th,
.ctable tbody tr:hover td:not(.is-hex) { background: var(--platinum); }

.js .ctable tbody tr { opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity 0.8s var(--ease) calc(var(--k) * 70ms), transform 1s var(--ease) calc(var(--k) * 70ms); }
.js .ctable.is-in tbody tr { opacity: 1; transform: none; }

.compare__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 56px; }
.compare__cta p { margin: 0; font-size: var(--fs-sm); color: var(--steel); }

/* ---------- 19. How it works: sticky screen, steps scroll past ---------- */
.how__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 120px); align-items: start; }

.how__visual {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
  display: grid;
  height: min(680px, calc(100svh - var(--nav-h) - 64px));
  border-radius: var(--r-stage);
  background: var(--white);
  overflow: hidden;
}

.how__screen {
  grid-area: 1 / 1;
  display: grid;
  place-items: center;
  padding: clamp(24px, 4vw, 56px);
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.985);
  transition: opacity 0.6s var(--ease), transform 0.9s var(--ease);
}

.how__screen.is-active { opacity: 1; transform: none; }

.how__steps { list-style: none; }

.step {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(76vh, 760px);
  padding-block: 40px;
}

.js .step { opacity: 0.28; transition: opacity 0.6s var(--ease); }
.js .step.is-current { opacity: 1; }

.step__n {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 30px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink);
}

.step h3 { margin-bottom: 18px; font-size: clamp(1.9rem, 1.2rem + 1.9vw, 2.9rem); font-stretch: 86%; line-height: 1.02; letter-spacing: -0.036em; }
.step > p { max-width: 42ch; font-size: var(--fs-lead); line-height: 1.5; }
.step .btn { align-self: flex-start; margin-top: 30px; }
.step__visual { display: none; }

.where { display: grid; gap: 18px; margin-top: 30px; }
.where__item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; }
.where__item svg { width: 26px; height: 26px; margin-top: 2px; fill: var(--ink); }
.where__item h4 { margin-bottom: 4px; font-size: 1.05rem; font-stretch: 100%; letter-spacing: -0.01em; }
.where__item p { margin: 0; font-size: var(--fs-sm); }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 28px; border-radius: 16px; overflow: hidden; background: var(--line); }
.fact { padding: 16px 18px; background: var(--platinum); }
.fact dt { font-size: var(--fs-xs); color: var(--steel); }
.fact dd { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }

/* The three screens */
.chat { width: min(100%, 380px); border-radius: 26px; background: var(--platinum); overflow: hidden; box-shadow: var(--shadow-2); }
.chat__bar { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--white); border-bottom: 1px solid var(--line); }
.chat__bar b { display: block; font-size: var(--fs-sm); line-height: 1.2; }
.chat__bar small { font-size: var(--fs-xs); color: var(--steel); }
.chat__avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); }
.chat__avatar img { width: 16px; height: auto; }
.chat__body { display: grid; align-content: end; gap: 10px; min-height: 280px; padding: 22px 16px 24px; }

.chat__msg {
  justify-self: end;
  max-width: 88%;
  margin: 0;
  padding: 12px 14px;
  border-radius: 18px 18px 4px 18px;
  background: var(--ink);
  color: var(--on-stage);
  font-size: 0.875rem;
  line-height: 1.5;
}

.chat__meta { display: flex; justify-content: flex-end; align-items: center; gap: 2px; margin-top: 6px; font-size: 11px; color: var(--on-stage-3); }
.chat__meta svg { width: 14px; height: 14px; fill: currentColor; }

.typing { justify-self: start; display: flex; gap: 4px; padding: 14px 16px; border-radius: 18px 18px 18px 4px; background: var(--white); }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--steel); opacity: 0.35; }
.is-live .typing i { animation: dot 1.4s var(--ease-io) infinite; }
.typing i:nth-child(2) { animation-delay: 0.18s; }
.typing i:nth-child(3) { animation-delay: 0.36s; }

@keyframes dot { 30% { opacity: 1; transform: translateY(-3px); } 60% { opacity: 0.35; transform: none; } }

.trial { width: min(100%, 380px); padding: 30px; border-radius: 26px; background: var(--platinum); box-shadow: var(--shadow-2); }
.trial__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line-2); }
.trial__head span { font-weight: 600; color: var(--ink); }
.trial__head b { font-size: 2.8rem; font-weight: 500; font-stretch: 84%; letter-spacing: -0.045em; line-height: 1; }
.trial__bar { height: 4px; margin-top: 28px; border-radius: 4px; background: var(--mist); overflow: hidden; }
.trial__bar span { display: block; height: 100%; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); transition: transform 3s var(--ease-io) 0.3s; }
.is-active .trial__bar span,
.step__visual .trial__bar span { transform: scaleX(1); }

.week { width: min(100%, 420px); padding: 28px; border-radius: 26px; background: var(--platinum); box-shadow: var(--shadow-2); }
.week__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 22px; font-size: var(--fs-sm); }
.week__head b { font-size: 1.05rem; }
.week__head span { color: var(--steel); }
.week__days { display: grid; gap: 9px; list-style: none; }
.week__days li { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: 12px; font-size: 12px; font-weight: 600; color: var(--ink); }
.week__days .off { color: var(--steel); }
.week__days i { display: block; height: 14px; border-radius: 7px; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0.04); transition: transform 0.9s var(--ease-spring) calc(var(--k) * 70ms); }
.week__days .off i { background: var(--mist); transform: none; }
.is-active .week__days i,
.step__visual .week__days i { transform: none; }
.week__axis { display: flex; justify-content: space-between; margin: 14px 0 0 50px; padding-top: 12px; border-top: 1px solid var(--line-2); font-size: 12px; color: var(--steel); }

/* ---------- 21. Who looks after your car ---------- */
.trust__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 140px); align-items: start; }
.trust__head { position: sticky; top: calc(var(--nav-h) + 48px); }
.trust__head .lead { margin: 26px 0 30px; }
.trust__list { list-style: none; }
.titem { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; padding: 32px 0; border-top: 1px solid var(--line); }
.titem:last-child { border-bottom: 1px solid var(--line); }
.titem h3 { margin-bottom: 8px; }
.titem p { max-width: 52ch; margin: 0; }
.titem .disc { transition: background-color 0.4s var(--ease), color 0.4s var(--ease); }
.titem:hover .disc { background: var(--ink); color: var(--white); }

/* ---------- 22. Reviews ---------- */
.quotes__stage { display: grid; }

.quote { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity 0.6s var(--ease), visibility 0s linear 0.6s; }
.quote.is-active { opacity: 1; visibility: visible; transition: opacity 0.6s var(--ease), visibility 0s; }
.quote blockquote { margin: 0; }

.quote p {
  max-width: 30ch;
  font-size: clamp(1.7rem, 1.05rem + 2.3vw, 3.4rem);
  font-weight: 500;
  font-stretch: 90%;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: pretty;
}

.quote figcaption { display: flex; align-items: center; gap: 16px; margin-top: 44px; }
.quote figcaption b { display: block; font-size: var(--fs-body); }
.quote figcaption span span { font-size: var(--fs-sm); color: var(--steel); }

.quotes__ctrl { display: flex; align-items: center; gap: 12px; margin-top: 56px; }
.quotes__count { min-width: 3.4em; margin: 0 6px; text-align: center; font-size: var(--fs-sm); color: var(--steel); font-variant-numeric: tabular-nums; }
.quotes__bar { flex: 1; max-width: 260px; height: 2px; margin-left: 18px; border-radius: 2px; background: var(--line); overflow: hidden; }
.quotes__bar i { display: block; height: 100%; background: var(--ink); transform-origin: 0 50%; transform: scaleX(var(--qp, 0)); }

.ticker {
  display: grid;
  gap: 14px;
  margin-top: clamp(88px, 10vw, 150px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.wrap:has(> .head:only-child) + .ticker { margin-top: 0; }
.ticker__row { overflow: hidden; }
.ticker__track { display: flex; gap: 14px; width: max-content; animation: tick 80s linear infinite; animation-play-state: paused; }
.ticker__row--rev .ticker__track { animation-direction: reverse; animation-duration: 95s; }
.ticker.is-live .ticker__track { animation-play-state: running; }
.ticker.is-live:hover .ticker__track { animation-play-state: paused; }

.tick { display: inline-flex; align-items: center; gap: 14px; padding: 16px 22px; border-radius: var(--r-pill); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.tick q { font-weight: 600; color: var(--ink); quotes: "\201C" "\201D"; }
.tick span { font-size: var(--fs-xs); color: var(--steel); }

@keyframes tick { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- 23. The price ---------- */
.config { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; align-items: start; }

.config__main {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--r-stage);
  background: var(--platinum);
}

.section--white .config__main,
.section--white .find { background: var(--platinum); }
.phero .config__main,
.phero .find { background: var(--white); }

.config__fs { margin: 0; padding: 0; border: 0; min-width: 0; }
.config__fs legend { margin-bottom: 14px; padding: 0; font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.config__main .seg { max-width: 460px; }
.phero .config__main .seg { background: var(--platinum); }

.config__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin: clamp(36px, 4.4vw, 64px) 0 14px; color: var(--ink); }
.config__cur { font-size: clamp(1.4rem, 1rem + 1vw, 2rem); font-weight: 500; color: var(--steel); }
.config__num { font-size: clamp(4.6rem, 2.4rem + 6.6vw, 9.4rem); font-weight: 500; font-stretch: 80%; letter-spacing: -0.055em; line-height: 0.86; font-variant-numeric: tabular-nums lining-nums; }
.config__per { font-size: var(--fs-lead); color: var(--steel); }

.config__meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 28px; color: var(--graphite); }
.config__save { font-weight: 600; color: var(--ink); }

.config__cars { display: flex; gap: 12px; margin-bottom: 36px; }
.config__cars svg { width: 46px; height: 46px; fill: var(--line-2); transition: fill 0.45s var(--ease), transform 0.6s var(--ease-spring); }
.config__cars svg.is-on { fill: var(--ink); transform: translateY(-2px); }

.config__main .btn { margin-top: auto; }
.config__note { margin: 16px 0 0; text-align: center; font-size: var(--fs-sm); color: var(--steel); }

.find { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-stage); background: var(--platinum); }
.find > label { display: block; margin-bottom: 16px; font-size: var(--fs-h3); font-weight: 600; font-stretch: 94%; letter-spacing: -0.015em; color: var(--ink); }
.find__box { position: relative; }
.find__box > svg { position: absolute; left: 17px; top: 17px; width: 20px; height: 20px; fill: var(--steel); pointer-events: none; }
.find__box .input { padding-left: 48px; }

.find__list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 5;
  max-height: 290px;
  overflow-y: auto;
  padding: 6px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-2);
  list-style: none;
}

.find__list [role="option"] { padding: 11px 12px; border-radius: 10px; color: var(--ink); cursor: pointer; }
.find__list [role="option"]:hover,
.find__list [aria-selected="true"] { background: var(--platinum); }

.find__result { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0 20px; font-size: var(--fs-sm); font-weight: 500; color: var(--ink); }
.find__result svg { flex: none; width: 20px; height: 20px; margin-top: 1px; fill: currentColor; }

.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); margin-top: clamp(56px, 6vw, 88px); padding-top: 36px; border-top: 1px solid var(--line); list-style: none; }
.promise { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; }
.promise h3 { margin-bottom: 6px; font-size: 1.15rem; }
.promise p { margin: 0; font-size: var(--fs-sm); }

.offer__more { margin: 40px 0 0; }

/* Rolling digits */
.odo { display: inline-flex; line-height: 1; }
.odo__col { position: relative; display: inline-block; height: 1em; overflow: hidden; }
.odo__strip { display: flex; flex-direction: column; transition: transform 1.5s var(--ease) calc(var(--k, 0) * 60ms); }
.odo__strip span { display: block; height: 1em; line-height: 1; text-align: center; }
.odo__fixed { display: inline-block; height: 1em; line-height: 1; }

/* ---------- 24. Questions ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 140px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--nav-h) + 48px); }
.faq__head .lead { margin: 26px 0 12px; }
.faq__updated { margin-bottom: 36px; font-size: var(--fs-xs); color: var(--steel); }
.faq__search label { display: block; margin-bottom: 10px; font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.faq__field { position: relative; }
.faq__field > svg { position: absolute; left: 17px; top: 17px; width: 20px; height: 20px; fill: var(--steel); pointer-events: none; }
.faq__field .input { padding-left: 48px; }

.faq__list { border-bottom: 1px solid var(--line-2); }
.qa { border-top: 1px solid var(--line-2); }
.qa.is-filtered { display: none; }
.qa h3 { font-size: inherit; font-stretch: 100%; letter-spacing: 0; line-height: inherit; }

.qa button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 26px 0;
  border: 0;
  background: none;
  text-align: left;
  font-size: clamp(1.08rem, 1rem + 0.35vw, 1.28rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
}

.qa__ic { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); transition: transform 0.55s var(--ease-spring), background-color 0.3s var(--ease), color 0.3s var(--ease); }
.qa__ic svg { width: 16px; height: 16px; fill: currentColor; }
.qa button:hover .qa__ic { box-shadow: inset 0 0 0 1px var(--ink); }
.qa button[aria-expanded="true"] .qa__ic { transform: rotate(45deg); background: var(--ink); color: var(--white); box-shadow: none; }

.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s var(--ease); }
.qa__a.is-open { grid-template-rows: 1fr; }
.qa__a > div { overflow: hidden; }
.qa__a p { max-width: 62ch; margin: 0; padding: 0 64px 28px 0; opacity: 0; transform: translate3d(0, -6px, 0); transition: opacity 0.4s var(--ease), transform 0.6s var(--ease); }
.qa__a.is-open p { opacity: 1; transform: none; transition-delay: 0.08s; }

.faq__empty { margin: 0; padding: 26px 0; color: var(--graphite); }

/* ---------- 25. Final call ---------- */
.finale { padding: 0 12px; }

.stage--finale {
  display: grid;
  place-items: center;
  min-height: clamp(580px, 88svh, 920px);
  text-align: center;
}

.stage--finale::before { background: radial-gradient(70% 60% at 50% 55%, rgba(5, 6, 8, 0.7), rgba(5, 6, 8, 0.2) 70%); }

.finale__content { position: relative; z-index: 1; max-width: 1000px; padding: 56px var(--gutter); }
.finale__title { font-size: var(--fs-h1); font-stretch: 84%; line-height: 0.94; letter-spacing: -0.045em; color: var(--on-stage); }
.finale__lead { max-width: 42ch; margin: 30px auto 0; font-size: var(--fs-lead); color: var(--on-stage-2); }
.finale__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 38px; }

/* ==========================================================
   INNER PAGES
   ========================================================== */

/* ---------- 26. Page hero ---------- */
.phero { padding-top: calc(var(--nav-h) + clamp(56px, 8vw, 128px)); }
.phero--legal { padding-bottom: clamp(40px, 5vw, 72px); }

.crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; list-style: none; font-size: var(--fs-xs); color: var(--steel); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--line-3); }
.crumbs a { color: var(--graphite); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.phero__row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 96px); align-items: end; }
.phero__title { font-size: var(--fs-h1); font-stretch: 85%; line-height: 0.95; letter-spacing: -0.042em; }
.phero__row .lead { margin: 0; }
.phero--legal .lead { margin-top: 18px; font-size: var(--fs-body); color: var(--steel); }

.phero__stage { margin-top: clamp(48px, 6vw, 96px); padding: 0 12px; }
.stage--page { display: flex; align-items: flex-end; height: clamp(380px, 58vh, 660px); }
.stage--page .stage__hint { top: auto; bottom: 20px; }

.phero .config { margin-top: clamp(48px, 6vw, 88px); }

/* ---------- 27. Services ---------- */
.trows { list-style: none; border-top: 1px solid var(--line-2); }

.trow {
  display: grid;
  grid-template-columns: 52px minmax(0, 4fr) minmax(0, 6fr) minmax(0, 2.6fr);
  gap: 28px;
  align-items: start;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--nav-h) + 24px);
}

.trow .disc { width: 52px; height: 52px; transition: background-color 0.4s var(--ease), color 0.4s var(--ease); }
.trow:hover .disc { background: var(--ink); color: var(--white); box-shadow: none; }
.trow h3 { padding-top: 10px; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); font-stretch: 88%; letter-spacing: -0.03em; }
.trow p { max-width: 52ch; margin: 0; padding-top: 12px; }
.trow__when { justify-self: end; padding-top: 14px; text-align: right; font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }

/* Numbered sequence on a line that draws itself (waterless wash, getting started) */
.seq { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); list-style: none; }
.seq::before,
.seq::after { content: ""; position: absolute; top: 21px; left: 21px; right: 0; height: 1px; background: var(--line-2); }
.seq::after { background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); transition: transform 2s var(--ease-io) 0.2s; }
.seq.is-in::after { transform: scaleX(1); }
.seq__step { position: relative; }
.seq__n { position: relative; z-index: 1; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--platinum); box-shadow: inset 0 0 0 1px var(--ink); font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.section--white .seq__n { background: var(--white); }
.seq__step:first-child .seq__n { background: var(--ink); color: var(--white); }
.seq__step h3 { margin: 30px 0 12px; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); font-stretch: 88%; letter-spacing: -0.03em; }
.seq__step p { max-width: 36ch; margin: 0; }

.band {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  margin-top: clamp(64px, 8vw, 120px);
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--r-stage);
  background: var(--white);
}

.band .disc { width: 72px; height: 72px; background: var(--ink); color: var(--white); box-shadow: none; }
.band .disc svg { width: 32px; height: 32px; }
.band h3 { margin-bottom: 10px; font-size: clamp(1.7rem, 1.1rem + 2vw, 3rem); font-stretch: 86%; letter-spacing: -0.036em; line-height: 1; }
.band p { max-width: 64ch; margin: 0; }

.rtrio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rcard { display: flex; flex-direction: column; gap: 32px; margin: 0; padding: clamp(26px, 3vw, 36px); border-radius: var(--r-card); background: var(--white); }
.rcard blockquote { margin: 0; }
.rcard p { font-size: 1.18rem; font-weight: 500; line-height: 1.45; letter-spacing: -0.01em; color: var(--ink); }
.rcard figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.rcard figcaption b { display: block; }
.rcard figcaption span span { font-size: var(--fs-sm); color: var(--steel); }

.nudge__in { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.nudge h2 { max-width: 14ch; }
.nudge p { max-width: 46ch; margin: 22px 0 0; font-size: var(--fs-lead); }
.nudge__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.xlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 80px); list-style: none; }
.xitem { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; padding: 28px 0; border-top: 1px solid var(--line); }
.xitem svg { width: 24px; height: 24px; margin-top: 2px; fill: var(--steel); }
.xitem h3 { margin-bottom: 6px; font-size: 1.15rem; }
.xitem p { margin: 0; font-size: var(--fs-sm); }

/* The app: a phone whose screen follows the feature being read */
.app__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 120px); }
.app__feats { margin: clamp(32px, 4vw, 56px) 0; list-style: none; }

.app__feat { display: flex; align-items: center; gap: 18px; min-height: 26vh; padding: 16px 0; }
.js .app__feat { opacity: 0.3; transition: opacity 0.6s var(--ease); }
.js .app__feat.is-current { opacity: 1; }
.app__feat .disc { transition: background-color 0.4s var(--ease), color 0.4s var(--ease); }
.app__feat.is-current .disc { background: var(--ink); color: var(--white); box-shadow: none; }
.app__feat h3 { font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); font-stretch: 90%; letter-spacing: -0.025em; }

.app__phone { position: sticky; top: calc(50vh - 300px); align-self: start; display: grid; justify-items: center; }

.phone {
  width: min(290px, 74vw);
  aspect-ratio: 9 / 19.2;
  padding: 10px;
  border-radius: 50px;
  background: linear-gradient(145deg, #2b2e34, #0b0c0f 60%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.12), var(--shadow-2);
}

.phone__screen { position: relative; height: 100%; overflow: hidden; border-radius: 41px; background: var(--platinum); }
.phone__island { position: absolute; top: 12px; left: 50%; z-index: 3; width: 92px; height: 26px; margin-left: -46px; border-radius: var(--r-pill); background: #000; }

.phone__view {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 62px 16px 56px;
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: opacity 0.55s var(--ease), transform 0.8s var(--ease);
}

.phone__view.is-active { opacity: 1; transform: none; }
.phone__title { margin: 0 0 6px; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.phone__card { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: var(--white); font-size: 0.8125rem; color: var(--graphite); }
.phone__card b { display: block; font-size: 0.8125rem; color: var(--ink); }
.phone__card .avatar { width: 36px; height: 36px; font-size: 0.75rem; }
.phone__card .avatar svg { width: 18px; height: 18px; fill: currentColor; }
.phone__card > svg { flex: none; width: 20px; height: 20px; fill: var(--ink); }
.phone__card > svg:last-child:not(:first-child) { margin-left: auto; }
.phone__pics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.phone__pic { position: relative; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; }
.phone__pic span { position: absolute; left: 8px; bottom: 8px; padding: 3px 8px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.86); font-size: 11px; font-weight: 600; color: var(--ink); }
.phone__pic--before { background: radial-gradient(80% 60% at 30% 30%, #8a8478, transparent 70%), linear-gradient(160deg, #6f6a62, #3d3a35); }
.phone__pic--after { background: linear-gradient(180deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0.55) 40%, rgba(255, 255, 255, 0) 43%), radial-gradient(90% 70% at 50% 0%, #34373e, #0b0c0f 70%); }
.phone__soon { position: absolute; left: 0; right: 0; bottom: 22px; margin: 0; text-align: center; font-size: 0.75rem; font-weight: 600; color: var(--steel); }

/* ---------- 28. Pricing ---------- */
.guar { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 120px); align-items: center; }
.guar__fig { margin: 0; }
.guar__num { display: block; font-size: clamp(9rem, 4rem + 15vw, 19rem); font-weight: 500; font-stretch: 78%; line-height: 0.8; letter-spacing: -0.065em; color: var(--ink); }
.guar__fig figcaption { margin-top: 18px; font-size: var(--fs-lead); color: var(--graphite); }
.guar__items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 4vw, 48px); }
.gitem { padding: clamp(24px, 3vw, 34px); border-radius: var(--r-card); background: var(--white); }
.gitem .disc { margin-bottom: 22px; background: var(--platinum); box-shadow: none; }
.gitem h3 { margin-bottom: 8px; }
.gitem p { margin: 0; font-size: var(--fs-sm); }

.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; }

.plan { position: relative; display: flex; flex-direction: column; padding: 32px 28px 28px; border-radius: var(--r-card); background: var(--platinum); transition: transform 0.6s var(--ease-spring); }
.plan:hover { transform: translateY(-6px); }
.plan__name { font-size: 1.1rem; font-stretch: 100%; letter-spacing: -0.01em; }
.plan__price { margin: 30px 0 0; font-size: clamp(2.4rem, 1.6rem + 2vw, 3.4rem); font-weight: 500; font-stretch: 82%; line-height: 1; letter-spacing: -0.048em; color: var(--ink); }
.plan__price small { display: block; margin-top: 10px; font-size: var(--fs-sm); font-weight: 400; font-stretch: 100%; letter-spacing: 0; color: var(--steel); }
.plan__rows { display: grid; gap: 10px; margin: 26px 0 30px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.plan__rows div { display: flex; justify-content: space-between; gap: 12px; font-size: var(--fs-sm); }
.plan__rows dt { color: var(--steel); }
.plan__rows dd { font-weight: 600; color: var(--ink); text-align: right; }
.plan .btn { margin-top: auto; }

.plan--best { background: var(--ink); color: var(--on-stage-2); }
.plan--best .plan__name,
.plan--best .plan__price,
.plan--best .plan__rows dd { color: var(--on-stage); }
.plan--best .plan__price small,
.plan--best .plan__rows dt { color: var(--on-stage-3); }
.plan--best .plan__rows { border-top-color: var(--on-stage-line); }
.plan__flag { position: absolute; top: 22px; right: 22px; margin: 0; padding: 5px 11px; border-radius: var(--r-pill); background: rgba(244, 245, 247, 0.12); font-size: 12px; font-weight: 600; color: var(--on-stage); }

.plans__note { margin: 22px 0 0; font-size: var(--fs-xs); color: var(--steel); }

.incl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.incl__card { padding: clamp(26px, 3vw, 36px); border-radius: var(--r-card); background: var(--white); }
.incl__card h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.incl__card h3 svg { width: 26px; height: 26px; fill: var(--ink); }

.pay { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pay__card { padding: clamp(28px, 3.6vw, 48px); border-radius: var(--r-stage); background: var(--white); }
.pay__card .disc { margin-bottom: 26px; background: var(--platinum); box-shadow: none; }
.pay__card h3 { margin-bottom: 18px; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); font-stretch: 88%; letter-spacing: -0.03em; }
.pay__card .chips { margin-bottom: 20px; }
.pay__card .chip { background: var(--platinum); box-shadow: none; }
.pay__card--ink { background: var(--ink); color: var(--on-stage-2); }
.pay__card--ink h3 { color: var(--on-stage); }
.pay__card--ink .disc { background: rgba(244, 245, 247, 0.1); color: var(--on-stage); }
.pay__card--ink .btn { margin-top: 28px; }

/* ---------- 29. About ---------- */
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 140px); align-items: start; }
.story__quote { position: sticky; top: calc(var(--nav-h) + 48px); margin: 0; }
.story__quote blockquote { margin: 0; }

.story__quote p {
  font-size: clamp(1.8rem, 1.1rem + 2.4vw, 3.4rem);
  font-weight: 500;
  font-stretch: 88%;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.story__quote p::before { content: "\201C"; }
.story__quote p::after { content: "\201D"; }
.story__body h2 { margin-bottom: 36px; }
.story__body p { max-width: 56ch; font-size: var(--fs-lead); line-height: 1.55; }

.journey { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); list-style: none; }
.journey::before,
.journey::after { content: ""; position: absolute; top: 21px; left: 21px; right: 0; height: 1px; background: var(--line-2); }
.journey::after { background: var(--ink); transform-origin: 0 50%; transform: scaleX(var(--fill, 0)); }
.jstep .seq__n { transition: background-color 0.5s var(--ease), color 0.5s var(--ease); }
.jstep.is-passed .seq__n { background: var(--ink); color: var(--white); }
.jstep h3 { margin: 30px 0 10px; }
.jstep p { margin: 0; max-width: 30ch; }

.parent__card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: var(--r-stage); background: var(--white); }
.parent__mark { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--ink); }
.parent__mark img { width: 32px; height: auto; }
.parent__card h2 { margin-bottom: 12px; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.6rem); letter-spacing: -0.035em; }
.parent__card p { max-width: 64ch; margin: 0; }

/* ---------- 30. Legal ---------- */
.readbar { position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: var(--z-nav); height: 2px; background: var(--ink); transform-origin: 0 50%; transform: scaleX(var(--read, 0)); }
.legal__grid { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(40px, 7vw, 128px); align-items: start; }
.toc { position: sticky; top: calc(var(--nav-h) + 40px); }
.toc p { margin-bottom: 14px; font-size: var(--fs-xs); font-weight: 600; color: var(--ink); }
.toc ol { display: grid; list-style: none; }
.toc a { display: block; padding: 7px 0 7px 16px; border-left: 1px solid var(--line-2); font-size: var(--fs-sm); color: var(--steel); text-decoration: none; transition: color 0.3s var(--ease), border-color 0.3s var(--ease); }
.toc a:hover { color: var(--ink); }
.toc a.is-current { color: var(--ink); border-left-color: var(--ink); }

.prose { max-width: 68ch; }
.prose h2 { margin: 60px 0 16px; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); letter-spacing: -0.03em; scroll-margin-top: calc(var(--nav-h) + 24px); }
.prose > :first-child { margin-top: 0; }
.prose ul,
.prose ol { margin: 0 0 1em; padding-left: 1.3em; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--steel); }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--line-3); }
.prose a:hover { text-decoration-color: currentColor; }

/* ---------- 31. 404 ---------- */
.nf { padding: calc(var(--nav-h) + 4px) 12px 0; }
.stage--nf { display: flex; align-items: flex-end; min-height: calc(100svh - var(--nav-h) - 16px); }
.nf__content { position: relative; z-index: 1; max-width: 900px; padding: clamp(24px, 4.4vw, 72px); }
.nf__code { display: block; margin-bottom: 18px; font-size: var(--fs-xs); font-weight: 600; color: var(--on-stage-2); }
.nf h1 { font-size: var(--fs-display); font-stretch: 84%; line-height: 0.9; letter-spacing: -0.048em; color: var(--on-stage); }
.nf .lead { margin: 28px 0 0; color: var(--on-stage-2); }
.nf__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* ---------- 32. Tablet ---------- */
@media (max-width: 1100px) {
  .trow { grid-template-columns: 52px minmax(0, 1fr) minmax(0, 1.3fr); }
  .trow__when { grid-column: 2 / -1; justify-self: start; padding-top: 0; text-align: left; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot__brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  :root { --nav-h: 60px; }

  .nav__in { grid-template-columns: 1fr auto; }
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__end .btn { display: none; }

  .head--split,
  .phero__row,
  .trust__grid,
  .faq__grid,
  .story,
  .legal__grid,
  .app__grid,
  .guar,
  .config { grid-template-columns: minmax(0, 1fr); }

  .head--split { gap: 22px; }

  .trust__head,
  .faq__head,
  .story__quote,
  .toc { position: static; }
  .toc { display: none; }

  .stats__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n + 3) { margin-top: 36px; border-top: 1px solid var(--line); }

  /* How it works: each step carries its own screen */
  .how__grid { grid-template-columns: minmax(0, 1fr); }
  .how__visual { display: none; }
  .js .step { opacity: 1; }
  .step { min-height: 0; padding-block: 0 72px; }
  .step:last-child { padding-bottom: 0; }

  .step__visual {
    display: grid;
    place-items: center;
    order: 3;
    margin-top: 32px;
    padding: clamp(20px, 5vw, 40px);
    border-radius: var(--r-stage);
    background: var(--white);
  }

  .step .btn { order: 4; }
  .step .where,
  .step .facts { order: 5; }

  .promises { grid-template-columns: minmax(0, 1fr); gap: 28px; }

  .app__phone { position: relative; top: 0; order: -1; }
  .app__feat { min-height: 0; }
  .js .app__feat { opacity: 1; }

  .rtrio { grid-template-columns: minmax(0, 1fr); }
  .incl { grid-template-columns: minmax(0, 1fr); }
  .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .journey::before,
  .journey::after { display: none; }
}

/* ---------- 33. Phone ---------- */
@media (max-width: 640px) {
  :root { --r-stage: 22px; }

  .hero,
  .finale,
  .nf,
  .phero__stage { padding-left: 8px; padding-right: 8px; }
  .stage--hero { height: max(560px, calc(100svh - var(--nav-h) - 12px)); }
  .stage__hint { display: none; }
  .hero__ctas .btn { flex: 1 1 auto; }

  .stage--paint { aspect-ratio: 4 / 5; min-height: 0; }
  .stage__tag { top: 14px; font-size: 11px; padding: 6px 10px; }
  .stage__tag--l { left: 14px; }
  .stage__tag--r { right: 14px; }

  .stat { padding-right: 12px; }
  .stat + .stat { padding-left: 16px; }
  .stat:nth-child(3) { padding-left: 0; }

  /* Comparison: each row stacks, both answers side by side */
  .ctable,
  .ctable tbody,
  .ctable tr { display: block; }
  .ctable colgroup,
  .ctable thead { display: none; }
  .ctable tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; padding: 18px 0; border-top: 1px solid var(--line); }
  .ctable tbody th { grid-column: 1 / -1; padding: 0 0 4px; border: 0; }
  .ctable tbody td { padding: 14px; border: 0; border-radius: 14px; background: var(--platinum); font-size: var(--fs-sm); }
  .ctable tbody td::before { content: attr(data-label); display: block; margin-bottom: 8px; font-size: 11px; font-weight: 600; color: var(--steel); }
  .ctable tbody td.is-hex::before { color: var(--on-stage-3); }
  .ctable tbody tr:last-child .is-hex { border-radius: 14px; }
  .ctable .cell { gap: 8px; }
  .ctable svg { width: 16px; height: 16px; margin-top: 3px; }
  .ctable tbody tr:hover th,
  .ctable tbody tr:hover td:not(.is-hex) { background: var(--platinum); }
  .ctable tbody tr:hover th { background: none; }

  .xlist,
  .plans,
  .pay,
  .guar__items,
  .journey { grid-template-columns: minmax(0, 1fr); }

  .seq { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-left: 64px; }
  .seq::before,
  .seq::after { top: 21px; bottom: 21px; left: 21px; right: auto; width: 1px; height: auto; }
  .seq::after { transform-origin: 50% 0; transform: scaleY(0); }
  .seq.is-in::after { transform: scaleY(1); }
  .seq__n { position: absolute; left: -64px; top: 0; }
  .seq__step h3 { margin-top: 8px; }

  .trow { grid-template-columns: 44px minmax(0, 1fr); gap: 8px 18px; }
  .trow .disc { width: 44px; height: 44px; }
  .trow h3 { padding-top: 6px; }
  .trow p,
  .trow__when { grid-column: 2; }
  .trow p { padding-top: 4px; }

  .band { grid-template-columns: minmax(0, 1fr); }
  .parent__card { grid-template-columns: minmax(0, 1fr); }

  .quotes__bar { display: none; }
  .tick { padding: 12px 18px; }

  .foot__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot__base { flex-direction: column; align-items: flex-start; }

  .fab { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); }
  .book__panel { top: auto; left: 8px; right: 8px; bottom: 8px; width: auto; max-height: calc(100% - 24px); transform: translate3d(0, calc(100% + 16px), 0); }
}

@media (max-width: 380px) {
  .hero__ctas .btn { width: 100%; }
  .config__num { font-size: 4rem; }
  .ctable tbody tr { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 34. Reduced motion and "Pause animations" ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}

.motion-off *,
.motion-off *::before,
.motion-off *::after { animation-play-state: paused !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }

.motion-off .js [data-reveal],
.motion-off [data-reveal],
.motion-off .words .w > span,
.motion-off .hero__title .line > span,
.motion-off .ctable tbody tr { opacity: 1 !important; transform: none !important; }

.motion-off .hero__kicker,
.motion-off .hero__lead,
.motion-off .hero__ctas { animation: none !important; }

/* ---------- 35. Print ---------- */
@media print {
  .nav,
  .menu,
  .fab,
  .book,
  .sheen,
  .stage__gl,
  .foot__word,
  .motion-toggle,
  .ticker,
  .how__visual { display: none !important; }
  body { color: #000; background: #fff; }
  .stage { background: #fff; color: #000; }
  .stage * { color: #000 !important; }
  .js [data-reveal],
  .js .words .w > span { opacity: 1 !important; transform: none !important; }
  a { text-decoration: underline; }
}

/* ==========================================================
   ACCENTS: a hint of bright green and bright red
   Read like a car's dashboard telltales:
     green = HEXAGON, on, included, live
     red   = the problem, off, not included
   Used only on small marks (dots, ticks, thin lines, icons),
   never on body text, so text contrast is unchanged.
   ========================================================== */

:root {
  --go: #19d36e;
  --stop: #ff3b30;
  --go-halo: rgba(25, 211, 110, 0.18);
  --stop-halo: rgba(255, 59, 48, 0.16);
}

/* ---------- 36. The telltale dot ---------- */
.led {
  flex: none;
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--go);
  box-shadow: 0 0 0 3px var(--go-halo);
  vertical-align: 0.12em;
}

.led--stop { background: var(--stop); box-shadow: 0 0 0 3px var(--stop-halo); }

/* On the dark stages the dots glow like real indicator lamps */
.stage .led { box-shadow: 0 0 10px rgba(25, 211, 110, 0.85); }
.stage .led--stop { box-shadow: 0 0 10px rgba(255, 59, 48, 0.8); }

.led--live { animation: led-live 2.6s var(--ease-io) infinite; }
@keyframes led-live { 50% { opacity: 0.4; } }

.stage__hint .led,
.stage__tag .led,
.nf__code .led { margin-right: 2px; }

.stage__tag { display: inline-flex; align-items: center; gap: 8px; }
.stage__tag .led { margin-right: 0; }

/* ---------- 37. Shared ---------- */
/* Current page in the navigation */
.nav__links a[aria-current="page"]::after { background: var(--go); }
.menu__links a[aria-current="page"] { text-decoration-color: var(--go); }

/* WhatsApp logos (buttons and the floating button) */
.btn .ic-wa,
.fab .ic-wa { fill: var(--go); }

/* Ticks mean "included" */
.ticks svg { fill: var(--go); }

/* Owners' initials carry a thin green ring */
.avatar { outline: 1.5px solid var(--go); outline-offset: 2px; }
.phone .avatar { outline: 0; }

/* Footer: the heart in the credit line */
.credit svg { fill: var(--stop); }

/* ---------- 38. Home ---------- */
.stats__title .led { vertical-align: 0.18em; }

/* Comparison: crosses red, ticks green */
.ctable .is-usual svg { color: var(--stop); }
.ctable .is-hex svg { color: var(--go); }

/* How it works */
.chat__meta svg { fill: var(--go); }
.trial__bar span { background: var(--go); }
.week__days .off i { background: linear-gradient(90deg, var(--stop) 0 12%, var(--mist) 12%); }

/* Who looks after your car: a status dot on each icon,
   red where something is never allowed */
.titem .disc { position: relative; }

.titem .disc::after {
  content: "";
  position: absolute;
  top: 1px;
  right: 1px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--go);
  box-shadow: 0 0 0 2.5px var(--white);
}

.titem--stop .disc::after { background: var(--stop); }

/* Reviews */
.quotes__bar i { background: var(--go); }

.tick::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--go);
}

/* Price */
.config__save:not(:empty)::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--go);
  box-shadow: 0 0 0 3px var(--go-halo);
  vertical-align: 0.12em;
}

.find__result svg { fill: var(--go); }
.find__result.is-no svg { fill: var(--stop); }

/* Questions */
.faq__empty .led { vertical-align: 0.15em; }

/* ---------- 39. Inner pages ---------- */
/* Services */
.trow__when::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--go);
  vertical-align: 0.15em;
}

.xitem svg { fill: var(--stop); }
.seq::after { background: var(--go); }
.phone__card > svg { fill: var(--go); }

.hl { position: relative; white-space: nowrap; }

.hl::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.02em;
  height: 0.07em;
  border-radius: 1em;
  background: var(--go);
  transform-origin: 0 50%;
  transition: transform 1.1s var(--ease) 0.45s;
}

.js .words:not(.is-in) .hl::after { transform: scaleX(0); }

/* Pricing */
.guar__fig figcaption::before,
.plan__flag::before,
.plan__rows dd.is-save::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--go);
  vertical-align: 0.12em;
}

.plan__flag::before { width: 6px; height: 6px; margin-right: 7px; box-shadow: 0 0 8px rgba(25, 211, 110, 0.8); }
.plan__rows dd.is-save::before { width: 6px; height: 6px; margin-right: 7px; }
.pay__card--ink .disc svg { fill: var(--go); }

/* About */
.story__quote::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin-bottom: 30px;
  border-radius: 3px;
  background: var(--go);
}

.journey::after { background: var(--go); }

.parent__mark { position: relative; }

.parent__mark::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--go);
  box-shadow: 0 0 0 3px var(--white);
}

/* Legal pages */
.readbar { background: var(--go); }
.toc a.is-current { border-left-color: var(--go); }

/* 404 */
.nf__code { display: inline-flex; align-items: center; gap: 8px; }

@media (max-width: 640px) {
  .seq::after { background: var(--go); }
}

@media print {
  .led,
  .tick::before,
  .titem .disc::after,
  .parent__mark::after { display: none; }
}

/* ==========================================================
   40. Stronger presence
   Green is the colour of the main action (book, WhatsApp) and of
   anything "on"; red marks the problem, the off day and errors.
   Green carries ink text (about 10:1) and never sits behind
   white text; on light backgrounds both colours stay on marks.
   ========================================================== */

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

/* The main action */
.btn--go {
  background: var(--go);
  color: var(--ink);
  box-shadow: 0 12px 30px -14px rgba(25, 211, 110, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn--go:hover { background: #3fe388; box-shadow: 0 16px 38px -14px rgba(25, 211, 110, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.btn--go .ic-wa { fill: currentColor; }
/* The footer turns its links white; its green button keeps ink text */
.foot .btn--go,
.foot .btn--go:hover { color: var(--ink); text-decoration: none; }

/* WhatsApp button: green, like the app */
.fab { background: var(--go); color: var(--ink); box-shadow: 0 16px 40px -14px rgba(25, 211, 110, 0.7); }
.fab:hover { background: #3fe388; }
.fab .ic-wa { fill: currentColor; }

/* Links underline in green */
.link,
.prose a { text-decoration-color: var(--go); text-decoration-thickness: 2px; }
.link:hover,
.prose a:hover { text-decoration-color: var(--ink); }

/* Round arrow buttons light up green */
.round:hover { background: var(--go); color: var(--ink); box-shadow: inset 0 0 0 1px var(--go); }

/* Reading progress under the bar, on every page */
.readbar { height: 2px; }

/* Full stops in the big headlines on the dark stages */
.pt { color: var(--go); }
.pt--stop { color: var(--stop); }

/* Booking panel */
.book__summary { box-shadow: inset 3px 0 0 var(--go); }
.input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--stop); }

/* ---------- Home ---------- */
/* Figures: a short green marker on the rule above each one */
.stat dd { position: relative; }

.stat dd::before {
  content: "";
  position: absolute;
  top: -29px;
  left: 0;
  width: 40px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--go);
}

/* Two paints: the divider's arrows point at red (left) and green (right) */
.split__knob svg:first-child { fill: var(--stop); }
.split__knob svg:last-child { fill: var(--go); }

/* Comparison: a green bar crowns the HEXAGON column */
.ctable thead .is-hex { box-shadow: inset 0 3px 0 var(--go); }
.ctable thead th .led { margin-right: 8px; }

/* How it works */
.step.is-current .step__n { background: var(--go); color: var(--ink); box-shadow: none; }
.step__n { transition: background-color 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.trial__head span { padding: 5px 12px; border-radius: var(--r-pill); background: var(--go); font-size: var(--fs-sm); }
.week__days i { background: var(--go); }

/* Trust: hovering an item turns its icon green */
.titem:hover .disc { background: var(--go); color: var(--ink); }

/* Price */
.promise .disc { background: var(--go); color: var(--ink); box-shadow: none; }
.seg input:checked + label::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--go);
}

.seg label { display: flex; align-items: center; justify-content: center; }

/* Questions: an open answer's button is green */
.qa button[aria-expanded="true"] .qa__ic { background: var(--go); color: var(--ink); }

/* ---------- Inner pages ---------- */
.trow:hover .disc,
.app__feat.is-current .disc { background: var(--go); color: var(--ink); box-shadow: none; }
.seq__step:first-child .seq__n { background: var(--go); color: var(--ink); box-shadow: none; }
.jstep.is-passed .seq__n { background: var(--go); color: var(--ink); box-shadow: none; }
.band .disc svg { fill: var(--go); }

.plan--best { box-shadow: inset 0 4px 0 var(--go); }

.guar__num::after {
  content: "";
  display: inline-block;
  width: 0.11em;
  height: 0.11em;
  margin-left: 0.05em;
  border-radius: 50%;
  background: var(--go);
  vertical-align: 0.6em;
}

.pay__card--ink .disc { background: var(--go); color: var(--ink); }
.pay__card--ink .disc svg { fill: currentColor; }

.parent__mark::after { width: 14px; height: 14px; }

/* ==========================================================
   THE HEXAGON APP
   Phone screens are drawn in HTML from the real app's layout.
   ========================================================== */

/* ---------- 41. Phone showing the app's Today screen ---------- */
.phone--ui { width: min(300px, 76vw); transform: none; }
.phone--hero { width: min(330px, 80vw); }

.ui {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 46px 12px 76px;
  font-size: 11px;
  line-height: 1.35;
  color: var(--ink);
  background: var(--platinum);
}

.ui svg { width: 16px; height: 16px; fill: currentColor; }

.ui__top { display: flex; align-items: center; gap: 9px; padding: 0 4px 2px; }
.ui__top img { width: 17px; height: auto; }
.ui__top small { display: block; font-size: 9.5px; color: var(--steel); }
.ui__top b { display: block; font-size: 13px; letter-spacing: -0.01em; }
.ui__bell { position: relative; display: grid; place-items: center; width: 30px; height: 30px; margin-left: auto; border-radius: 50%; background: var(--white); }
.ui__bell i { position: absolute; top: 6px; right: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--go); box-shadow: 0 0 0 2px var(--white); }

.ui__car { padding: 14px; border-radius: 20px; background: radial-gradient(120% 80% at 50% 0%, #22252b, #0b0c0f 70%); color: var(--on-stage); }
.ui__car-head { display: flex; justify-content: space-between; align-items: center; }
.ui__plate { display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px 3px 3px; border-radius: 5px; background: #fff; color: var(--ink); font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; }
.ui__plate em { padding: 1px 3px; border-radius: 3px; background: #0d6b3a; color: #fff; font-size: 7.5px; font-style: normal; }
.ui__status { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: var(--r-pill); background: rgba(25, 211, 110, 0.16); color: var(--go); font-size: 10px; font-weight: 600; }
.ui__status i { width: 6px; height: 6px; border-radius: 50%; background: var(--go); box-shadow: 0 0 8px var(--go); }
.ui__car-label { margin: 16px 0 0; text-align: center; font-size: 10px; color: var(--on-stage-3); }
.ui__car-time { margin: 0; text-align: center; font-size: 40px; font-weight: 600; font-stretch: 84%; letter-spacing: -0.05em; line-height: 1; color: var(--on-stage); }
.ui__car-time small { margin-left: 3px; font-size: 14px; letter-spacing: 0; }
.ui__car-sub { margin: 4px 0 12px; text-align: center; font-size: 10px; color: var(--on-stage-2); }
.ui__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding-top: 10px; border-top: 1px solid var(--on-stage-line); }
.ui__steps span { position: relative; padding-top: 10px; text-align: center; font-size: 9px; color: var(--on-stage-3); }
.ui__steps span::before { content: ""; position: absolute; top: 0; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--on-stage-line); }
.ui__steps .is-on::before { background: var(--go); box-shadow: 0 0 6px var(--go); }
.ui__steps b { display: block; font-size: 10.5px; color: var(--on-stage); }

.ui__pics { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ui__pic { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; background-size: cover; background-position: 40% 60%; overflow: hidden; }
.ui__pic::after { position: absolute; left: 6px; bottom: 6px; padding: 2px 7px; border-radius: var(--r-pill); background: rgba(10, 11, 13, 0.62); color: #fff; font-size: 8.5px; font-weight: 600; }
.ui__pic { font-size: 0; }
.ui__pic--before { background-image: url("../images/app-before.jpg"); }
.ui__pic--after { background-image: url("../images/app-after.jpg"); }
.ui__pic--before::after { content: "Before"; }
.ui__pic--after::after { content: "After"; }

.ui__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ui__tile { padding: 10px; border-radius: 14px; background: var(--white); }
.ui__tile svg { margin-bottom: 6px; color: var(--ink); }
.ui__tile b { display: block; font-size: 11px; }
.ui__tile small { font-size: 9.5px; color: var(--steel); }

.ui__team { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 14px; background: var(--white); }
.ui__avs { display: flex; flex: none; }
.ui__avs i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--platinum); border: 2px solid var(--white); color: var(--ink); }
.ui__avs i + i { margin-left: -8px; }
.ui__avs svg { width: 12px; height: 12px; }
.ui__team b { display: block; font-size: 11px; }
.ui__team small { display: block; font-size: 9.5px; color: var(--steel); }
.ui__team > svg { flex: none; margin-left: auto; color: #0b7a40; }

.ui__nav {
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 6px;
  border-radius: 22px;
  background: var(--ink);
}

.ui__nav span { display: grid; justify-items: center; gap: 2px; padding: 5px 0; border-radius: 16px; font-size: 8.5px; font-weight: 600; color: var(--on-stage-3); }
.ui__nav .is-on { background: rgba(244, 245, 247, 0.12); color: var(--on-stage); }
.ui__nav svg { width: 15px; height: 15px; }

/* Notification cards that float beside the phone */
.toastx {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(290px, 78vw);
  padding: 11px 13px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, var(--shadow-2);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--graphite);
}

.toastx img { flex: none; width: 16px; height: auto; }
.toastx b { display: block; font-size: 0.75rem; color: var(--ink); }
.toastx small { align-self: flex-start; margin-left: auto; font-size: 0.6875rem; color: var(--steel); }
.toastx--a { top: 16%; left: -6%; }
.toastx--b { bottom: 12%; right: -8%; }
.toastx--b::before { content: ""; flex: none; order: -1; width: 7px; height: 7px; border-radius: 50%; background: var(--go); }

.js .toastx { opacity: 0; transform: translate3d(0, 16px, 0) scale(0.97); transition: opacity 0.8s var(--ease) 0.6s, transform 1s var(--ease-spring) 0.6s; }
.js .toastx--b { transition-delay: 1.3s; }
.js .is-in .toastx { opacity: 1; transform: none; }

/* ---------- 42. App teaser (home, services) ---------- */
.appx__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 120px); align-items: center; }
.appx__tag { display: inline-flex; align-items: center; gap: 2px; margin-bottom: 22px; padding: 7px 14px; border-radius: var(--r-pill); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-size: var(--fs-sm); font-weight: 500; color: var(--ink); }
.section--white .appx__tag { background: var(--platinum); box-shadow: none; }
.appx__copy .lead { margin: 24px 0 0; }
.appx__list { display: grid; gap: 18px; margin: 36px 0 0; list-style: none; }
.appx__list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; max-width: 54ch; }
.appx__list .disc { width: 44px; height: 44px; background: var(--go); color: var(--ink); box-shadow: none; }
.appx__list .disc svg { width: 20px; height: 20px; }
.appx__list b { color: var(--ink); }
.appx__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.appx__visual { position: relative; display: grid; justify-items: center; padding: 20px 0; }
.appx__visual::before {
  content: "";
  position: absolute;
  inset: 8% 4%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(25, 211, 110, 0.22), rgba(25, 211, 110, 0) 70%);
}

/* ---------- 43. App page ---------- */
.apphero { padding-bottom: clamp(56px, 7vw, 104px); }
.apphero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.apphero .phero__title { margin-top: 4px; }
.apphero .lead { margin-top: 26px; }
.apphero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.apphero__facts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 30px; list-style: none; font-size: var(--fs-sm); color: var(--graphite); }
.apphero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.apphero__facts svg { width: 16px; height: 16px; fill: var(--go); }
.apphero__visual { position: relative; display: grid; justify-items: center; }
.apphero__visual::before { content: ""; position: absolute; inset: -4% -6%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(25, 211, 110, 0.24), rgba(25, 211, 110, 0) 72%); }

/* Proof: drag-to-compare photos */
.proof__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.proof__copy .lead { margin: 24px 0 30px; }

.cmp { margin: 0; }
.cmp__frame { --pos: 50%; position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-stage); background: #4b4f56; box-shadow: var(--shadow-2); }
.cmp__img,
.cmp__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp__img--before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }

.cmp__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: rgba(255, 255, 255, 0.9); pointer-events: none; }
.cmp__knob { position: absolute; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: #fff; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35); transition: transform 0.45s var(--ease-spring); }
.cmp__knob svg { width: 16px; height: 16px; }
.cmp__knob svg:first-child { fill: var(--stop); }
.cmp__knob svg:last-child { fill: var(--go); }
.cmp__frame:hover .cmp__knob { transform: scale(1.06); }

.cmp__range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.cmp__range:focus-visible + * { outline: none; }
.cmp__frame:has(.cmp__range:focus-visible) { outline: 3px solid var(--ink); outline-offset: 4px; }

.cmp__tag { position: absolute; top: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 2px; padding: 7px 13px; border-radius: var(--r-pill); background: rgba(10, 11, 13, 0.62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: var(--fs-xs); font-weight: 600; color: #fff; pointer-events: none; }
.cmp__tag--l { left: 16px; }
.cmp__tag--r { right: 16px; }
.cmp__cap { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: var(--fs-sm); color: var(--steel); }
.cmp__cap svg { flex: none; width: 18px; height: 18px; fill: var(--ink); }

/* Notifications */
.notify__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.notify__copy { position: sticky; top: calc(var(--nav-h) + 48px); }
.notify__copy .lead { margin: 24px 0 16px; }
.notes { display: grid; gap: 12px; list-style: none; }

.note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border-radius: 20px;
  background: var(--platinum);
  transition: transform 0.5s var(--ease-spring);
}

.note:hover { transform: translateX(-4px); }
.note b { display: block; color: var(--ink); }
.note p { margin: 2px 0 0; font-size: var(--fs-sm); }
.note small { padding-top: 2px; font-size: var(--fs-xs); color: var(--steel); white-space: nowrap; }
.note__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: var(--white); }
.note__ic svg { width: 19px; height: 19px; fill: currentColor; }
.note--go .note__ic { background: var(--go); color: var(--ink); }
.note--stop .note__ic { background: var(--stop); color: #fff; }

/* Control */
.ctrl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ctrl__card { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 2.8vw, 34px); border-radius: var(--r-card); background: var(--white); }
.ctrl__card .disc { margin-bottom: 8px; background: var(--platinum); box-shadow: none; }
.ctrl__card p { margin: 0; }
.ctrl__card--wide { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; }
.ctrl__text { display: grid; gap: 12px; }

.mini { padding: 18px; border-radius: 20px; background: var(--platinum); }
.mini__row { display: flex; justify-content: space-between; align-items: center; }
.mini__dots { display: flex; gap: 5px; }
.mini__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--go); }
.mini__dots .is-used { background: var(--line-2); }
.mini__sub { margin: 4px 0 14px; font-size: var(--fs-xs); color: var(--steel); }
.mini__days { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; }
.mini__days span { display: grid; justify-items: center; padding: 7px 0; border-radius: 11px; background: var(--white); font-size: 10.5px; color: var(--steel); }
.mini__days b { font-size: 0.95rem; color: var(--ink); }
.mini__days .is-pick { background: var(--go); color: var(--ink); }
.mini__btn { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; padding: 9px 14px; border-radius: var(--r-pill); background: var(--ink); font-size: var(--fs-xs); font-weight: 600; color: #fff; }
.mini__btn svg { width: 15px; height: 15px; }

.mini__times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: auto; padding-top: 6px; }
.mini__times span { padding: 8px 0; border-radius: 11px; background: var(--platinum); text-align: center; font-size: var(--fs-xs); font-weight: 600; color: var(--ink); }
.mini__times .is-off { color: var(--line-3); text-decoration: line-through; }
.mini__times .is-pick { background: var(--go); }
.mini__quote { margin-top: auto !important; padding: 12px 14px; border-radius: 14px; background: var(--platinum); font-size: var(--fs-sm); color: var(--ink); }

/* People */
.people__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.people__copy .lead { margin: 24px 0 30px; }
.people__cards { display: grid; gap: 14px; }
.team-card,
.rate-card { padding: 22px; border-radius: var(--r-card); background: var(--platinum); }
.team-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.team-card__badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: var(--r-pill); background: rgba(25, 211, 110, 0.16); font-size: var(--fs-xs); font-weight: 600; color: #0b7a40; }
.team-card__badge svg { width: 14px; height: 14px; fill: currentColor; }
.team-card__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.team-card__row .avatar { width: 40px; height: 40px; }
.team-card__row .avatar svg { width: 18px; height: 18px; fill: currentColor; }
.team-card__row small { display: block; font-size: var(--fs-xs); color: var(--steel); }
.team-card__row > svg { width: 16px; height: 16px; fill: var(--steel); }
.rate-card { display: grid; gap: 10px; }
.rate-card small { font-size: var(--fs-xs); color: var(--steel); }
.rate-card__stars { display: flex; gap: 6px; }
.rate-card__stars span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--white); color: var(--line-3); transition: color 0.3s var(--ease), transform 0.4s var(--ease-spring); }
.rate-card__stars svg { width: 22px; height: 22px; fill: currentColor; }
.rate-card__stars .is-on { color: #f5b301; }
.is-in .rate-card__stars span { animation: star-on 0.5s var(--ease-spring) both; animation-delay: calc(0.5s + var(--s) * 0.12s); }
@keyframes star-on { from { color: var(--line-3); transform: scale(0.8); } to { color: #f5b301; transform: none; } }

/* Billing */
.billing__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.billing__copy .lead { margin: 24px 0 30px; }
.invoice { padding: clamp(24px, 3vw, 36px); border-radius: var(--r-stage); background: var(--white); box-shadow: var(--shadow-2); transform: rotate(-1.5deg); }
.invoice__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.invoice__paid { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-pill); background: var(--go); font-size: var(--fs-xs); font-weight: 700; color: var(--ink); }
.invoice__paid svg { width: 14px; height: 14px; fill: currentColor; }
.invoice__label { margin: 22px 0 0; font-size: 1.35rem; font-weight: 600; font-stretch: 90%; letter-spacing: -0.02em; color: var(--ink); }
.invoice__plan { margin: 2px 0 18px; font-size: var(--fs-sm); color: var(--steel); }
.invoice__rows,
.invoice__total { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); font-size: var(--fs-sm); }
.invoice__rows b { color: var(--ink); }
.invoice__total { margin-top: 6px; border-top: 2px solid var(--ink); font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.invoice__total b { font-size: 1.6rem; font-stretch: 85%; letter-spacing: -0.03em; }
.invoice__actions { display: flex; gap: 8px; margin-top: 18px; }
.invoice__actions span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: var(--r-pill); background: var(--platinum); font-size: var(--fs-xs); font-weight: 600; color: var(--ink); }
.invoice__actions svg { width: 15px; height: 15px; }

/* Coming soon */
.soon { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.soon__card { position: relative; display: grid; gap: 12px; padding: clamp(28px, 3.4vw, 44px); border-radius: var(--r-stage); background: var(--ink); color: var(--on-stage-2); overflow: hidden; }
.soon__card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(25, 211, 110, 0.28), rgba(25, 211, 110, 0)); pointer-events: none; }
.soon__card h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); font-stretch: 88%; letter-spacing: -0.03em; color: var(--on-stage); }
.soon__card p { margin: 0; max-width: 46ch; }
.soon__badge { justify-self: start; padding: 5px 12px; border-radius: var(--r-pill); background: var(--go); font-size: var(--fs-xs); font-weight: 700; color: var(--ink); }
.soon__ic { display: grid; place-items: center; width: 56px; height: 56px; margin-top: 12px; border-radius: 16px; background: rgba(244, 245, 247, 0.1); color: var(--on-stage); }
.soon__ic svg { width: 26px; height: 26px; fill: currentColor; }

/* Behind every clean */
.behind { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 40px); list-style: none; }
.behind li { padding-top: 26px; border-top: 1px solid var(--line-2); transition: border-color 0.4s var(--ease); }
.behind li:hover { border-top-color: var(--go); }
.behind .disc { margin-bottom: 22px; }
.behind h3 { margin-bottom: 10px; }
.behind p { margin: 0; font-size: var(--fs-sm); }

/* ---------- 44. App: tablet and phone ---------- */
@media (max-width: 1100px) {
  .ctrl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ctrl__card--wide { grid-column: 1 / -1; }
  .behind { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
}

@media (max-width: 960px) {
  .appx__grid,
  .apphero__grid,
  .proof__grid,
  .notify__grid,
  .people__grid,
  .billing__grid { grid-template-columns: minmax(0, 1fr); }
  .notify__copy { position: static; }
  .appx__visual,
  .apphero__visual { margin-top: 12px; }
  .invoice { max-width: 460px; transform: none; }
  .billing__copy { order: -1; }
}

@media (max-width: 640px) {
  .ctrl,
  .soon,
  .behind { grid-template-columns: minmax(0, 1fr); }
  .ctrl__card--wide { grid-template-columns: minmax(0, 1fr); }
  .toastx { width: min(250px, 72vw); font-size: 0.75rem; }
  .toastx--a { left: 0; top: 10%; }
  .toastx--b { right: 0; bottom: 8%; }
  .note { grid-template-columns: auto minmax(0, 1fr); }
  .note small { grid-column: 2; padding-top: 0; }
  .mini__days span { font-size: 9.5px; }
}

@media print {
  .toastx,
  .cmp__range,
  .cmp__line { display: none !important; }
}

/* ==========================================================
   THE HEXAGON FILM
   A silent loop in a metal-framed screen beside the opening
   statement; the full film plays in a dark "theatre" dialog.
   ========================================================== */

/* ---------- 50. Hero: the second button plays the film ---------- */
.btn--film { gap: 12px; padding-left: 9px; }

.btn__play {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--on-stage);
  color: var(--ink);
  transition: transform 0.55s var(--ease-spring), background-color 0.35s var(--ease);
}

.btn .btn__play svg { width: 14px; height: 14px; margin-left: 2px; }
.btn--film:hover .btn__play { transform: scale(1.1); background: var(--go); }
.btn__len { font-size: var(--fs-xs); font-weight: 500; color: var(--on-stage-3); font-variant-numeric: tabular-nums; }

/* ---------- 51. The statement, the chapters and the film ---------- */
.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(48px, 7vw, 128px);
  align-items: center;
}

.intro__grid .statement { font-size: clamp(2rem, 1.1rem + 2.4vw, 3.7rem); }
.intro__copy { display: grid; gap: clamp(48px, 6vw, 88px); }

/* Chapters */
.reel__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin: 0 0 14px; }
.reel__head b { font-size: var(--fs-h3); font-weight: 600; font-stretch: 94%; letter-spacing: -0.015em; }
.reel__head span { font-size: var(--fs-sm); color: var(--steel); }

.reel__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(20px, 3vw, 40px);
  list-style: none;
  border-top: 1px solid var(--line-2);
}

.reel__item {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  column-gap: 12px;
  align-items: center;
  min-height: 76px;
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.reel__item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--go);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}

.reel__t { grid-row: 1 / 3; align-self: start; padding-top: 2px; font-size: var(--fs-sm); font-variant-numeric: tabular-nums; color: var(--steel); transition: color 0.3s var(--ease); }
.reel__name { grid-column: 2; font-weight: 600; letter-spacing: -0.01em; }
.reel__sub { grid-column: 2; font-size: var(--fs-xs); line-height: 1.4; color: var(--steel); text-wrap: pretty; }

.reel__ic {
  grid-column: 3;
  grid-row: 1 / 3;
  width: 34px;
  height: 34px;
  padding: 10px 9px 10px 11px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line-2);
  fill: var(--ink);
  transition: background-color 0.35s var(--ease), transform 0.5s var(--ease-spring);
}

.reel__item:hover::after,
.reel__item:focus-visible::after { transform: scaleX(1); }
.reel__item:hover .reel__t,
.reel__item:focus-visible .reel__t { color: var(--ink); }
.reel__item:hover .reel__ic,
.reel__item:focus-visible .reel__ic { background: var(--go); box-shadow: none; transform: scale(1.08); }

/* The framed screen */
.film { position: relative; justify-self: center; width: min(100%, 392px); margin: 0; perspective: 1400px; }

.film__halo { position: absolute; inset: -14% -44%; z-index: 0; display: grid; place-items: center; pointer-events: none; }

.film__halo::before {
  content: "";
  position: absolute;
  inset: 12% 22%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(25, 211, 110, 0.2), rgba(25, 211, 110, 0) 72%);
}

.film__halo svg { position: relative; width: 100%; height: 100%; overflow: visible; }

.film__hex {
  fill: none;
  stroke: var(--line-2);
  stroke-width: 0.45;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 2.4s var(--ease-io) 0.3s;
}

/* A short green light runs around the outer hexagon, like an LED chase */
.film__hex--2 { stroke: var(--go); stroke-width: 0.7; stroke-dasharray: 0.12 0.88; stroke-dashoffset: 0.12; opacity: 0; transition: opacity 1s var(--ease) 1.6s; }
.film.is-in .film__hex { stroke-dashoffset: 0; }
.film.is-in .film__hex--2 { opacity: 1; animation: hex-chase 14s linear 1.6s infinite; }
@keyframes hex-chase { to { stroke-dashoffset: -0.88; } }

.film__frame {
  position: relative;
  z-index: 1;
  display: block;
  padding: 7px;
  border-radius: 40px;
  background: linear-gradient(150deg, #3a3d44 0%, #121317 34%, #0a0b0d 60%, #2c2f35 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 2px 4px rgba(10, 11, 13, 0.08),
    0 60px 110px -50px rgba(10, 11, 13, 0.65),
    0 34px 80px -46px rgba(25, 211, 110, 0.5);
  color: var(--on-stage);
  text-decoration: none;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.9s var(--ease), box-shadow 0.6s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.film__frame:focus-visible { outline: 3px solid var(--go); outline-offset: 6px; }

.film__screen {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 33px;
  background: var(--stage);
  isolation: isolate;
}

.film__poster,
.film__poster img,
.film__loop { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.film__loop { opacity: 0; transition: opacity 0.9s var(--ease); }
.film__loop.is-on { opacity: 1; }

/* Shade top and bottom so the labels read over any frame */
.film__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(5, 6, 8, 0.6), rgba(5, 6, 8, 0) 20%, rgba(5, 6, 8, 0) 58%, rgba(5, 6, 8, 0.9));
}

.film__glare {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(55% 38% at var(--gx, 30%) var(--gy, 12%), rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 70%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}

.film__frame:hover .film__glare { opacity: 1; }

.film__top { position: absolute; top: 16px; left: 16px; right: 16px; z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: 10px; }

.film__tag,
.film__len {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: var(--r-pill);
  background: rgba(10, 11, 13, 0.66);
  box-shadow: inset 0 0 0 1px var(--on-stage-line);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.film__tag .led { margin: 0; }
.film__len { font-variant-numeric: tabular-nums; }

.film__play { position: absolute; top: 50%; left: 50%; z-index: 3; display: grid; place-items: center; width: 156px; height: 156px; margin: -78px 0 0 -78px; }

.film__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: ring-spin 18s linear infinite; }
.film__ring text { fill: rgba(244, 245, 247, 0.92); font-family: var(--font); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
@keyframes ring-spin { to { transform: rotate(360deg); } }

.film__btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--go);
  color: var(--ink);
  box-shadow: 0 18px 40px -12px rgba(25, 211, 110, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: transform 0.6s var(--ease-spring), background-color 0.35s var(--ease);
}

.film__btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(25, 211, 110, 0.7);
  animation: play-pulse 2.6s var(--ease) infinite;
}

@keyframes play-pulse { from { transform: scale(1); opacity: 0.9; } to { transform: scale(1.75); opacity: 0; } }

.film__btn svg { width: 26px; height: 26px; margin-left: 4px; fill: currentColor; }
.film__frame:hover .film__btn { transform: scale(1.1); background: #3fe388; }

.film__foot { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 3; display: grid; gap: 5px; }
.film__foot b { color: var(--on-stage); font-size: 1.15rem; font-weight: 600; font-stretch: 94%; letter-spacing: -0.015em; }
.film__foot span { font-size: 12.5px; color: var(--on-stage-2); }

/* Spinning and chasing pause when the film is off screen */
.film:not(.is-in) .film__ring,
.film:not(.is-in) .film__btn::before { animation-play-state: paused; }

/* ---------- 52. The theatre: the full film ---------- */
.theatre {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--on-stage);
  overflow: hidden;
}

.theatre::backdrop {
  background: rgba(5, 6, 8, 0.95);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}

.theatre.is-open::backdrop { opacity: 1; }

.theatre__in {
  --pad: clamp(16px, 3.4vh, 44px);
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 340px);
  justify-content: center;
  align-items: center;
  gap: clamp(32px, 5vw, 88px);
  height: 100%;
  padding: var(--pad) clamp(16px, 4vw, 72px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* The ceiling light behind the screen */
.theatre__in::before {
  content: "";
  position: fixed;
  top: -30vh;
  left: 50%;
  width: 120vh;
  height: 90vh;
  margin-left: -60vh;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(25, 211, 110, 0.14), rgba(25, 211, 110, 0) 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s var(--ease) 0.2s;
}

.theatre.is-open .theatre__in::before { opacity: 1; }

.theatre__stage {
  position: relative;
  width: min(calc((100svh - 2 * var(--pad)) * 9 / 16), 560px, calc(100vw - 32px));
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 28px;
  background: #000;
  box-shadow: 0 0 0 1px rgba(244, 245, 247, 0.1), 0 50px 140px -40px rgba(25, 211, 110, 0.3);
  transform-origin: 0 0;
  transition: transform 0.85s var(--ease-spring), opacity 0.5s var(--ease), border-radius 0.85s var(--ease-spring);
}

.theatre__video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; cursor: pointer; }
.theatre__stage:fullscreen { width: 100%; height: 100%; border-radius: 0; }
.theatre__stage:fullscreen .theatre__video { object-fit: contain; }

/* Controls */
.theatre__bar {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 8px 6px 6px;
  border-radius: 20px;
  background: rgba(10, 11, 13, 0.66);
  box-shadow: inset 0 0 0 1px var(--on-stage-line);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: opacity 0.45s var(--ease), transform 0.6s var(--ease);
}

.theatre__stage.is-idle .theatre__bar { opacity: 0; transform: translate3d(0, 10px, 0); }
.theatre__stage.is-idle { cursor: none; }

.theatre__ctl {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--on-stage);
  transition: background-color 0.3s var(--ease), transform 0.4s var(--ease-spring);
}

.theatre__ctl:hover { background: rgba(244, 245, 247, 0.12); }
.theatre__ctl:active { transform: scale(0.92); }
.theatre__ctl svg { width: 20px; height: 20px; fill: currentColor; }
.theatre__ctl .is-pause,
.theatre__ctl .is-off,
.theatre.is-playing .theatre__ctl .is-play,
.theatre.is-muted .theatre__ctl .is-on { display: none; }
.theatre.is-playing .theatre__ctl .is-pause,
.theatre.is-muted .theatre__ctl .is-off { display: block; }

.theatre__clock { flex: none; padding: 0 6px 0 2px; font-size: 12px; font-variant-numeric: tabular-nums; color: var(--on-stage-2); white-space: nowrap; }
.theatre__clock [data-film-now] { color: var(--on-stage); }
.theatre__of { margin-left: 4px; }

.theatre__track { position: relative; flex: 1; min-width: 60px; height: 44px; }

.theatre__rail { position: absolute; top: 50%; left: 0; right: 0; height: 4px; margin-top: -2px; border-radius: 4px; background: rgba(244, 245, 247, 0.18); overflow: hidden; }

.theatre__buf,
.theatre__fill { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0); }
.theatre__buf { background: rgba(244, 245, 247, 0.26); }
.theatre__fill { background: var(--go); }
.theatre__tick { position: absolute; top: 0; bottom: 0; left: var(--p); width: 3px; margin-left: -1px; background: rgba(10, 11, 13, 0.9); }

.theatre__seek {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.theatre__seek::-webkit-slider-runnable-track { height: 100%; background: transparent; }
.theatre__seek::-moz-range-track { height: 100%; background: transparent; }

.theatre__seek::-webkit-slider-thumb {
  width: 14px;
  height: 14px;
  margin-top: 15px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(25, 211, 110, 0.35);
  -webkit-appearance: none;
  appearance: none;
}

.theatre__seek::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 4px rgba(25, 211, 110, 0.35); }
.theatre__seek:focus-visible { outline: 2px solid var(--go); outline-offset: 2px; border-radius: 8px; }

/* Ending: the next step */
.theatre__end {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  padding: 28px 28px 96px;
  text-align: center;
  background: rgba(5, 6, 8, 0.82);
  -webkit-backdrop-filter: blur(22px) saturate(0.6);
  backdrop-filter: blur(22px) saturate(0.6);
  animation: fade-up 0.7s var(--ease) both;
}

.theatre__end[hidden] { display: none; }
.theatre__end-title { margin: 0; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); font-weight: 600; font-stretch: 90%; line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance; }
.theatre__end-sub { max-width: 28ch; margin: 0 0 8px; color: var(--on-stage-2); }
.theatre__end-ctas { display: grid; gap: 10px; justify-items: center; }

/* The side panel */
.theatre__side { display: grid; gap: 16px; align-self: center; opacity: 0; transform: translate3d(24px, 0, 0); transition: opacity 0.7s var(--ease) 0.35s, transform 0.9s var(--ease) 0.35s; }
.theatre.is-open .theatre__side { opacity: 1; transform: none; }
.theatre__kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: var(--fs-sm); color: var(--on-stage-2); }
.theatre__kicker .led { margin: 0; }
.theatre__title { margin: 0; font-size: clamp(2rem, 1.4rem + 1.6vw, 3rem); font-weight: 600; font-stretch: 88%; line-height: 1; letter-spacing: -0.04em; color: var(--on-stage); }
.theatre__note { margin: 0 0 6px; font-size: var(--fs-sm); color: var(--on-stage-2); }
.theatre__chapters { margin: 0 0 12px; list-style: none; border-top: 1px solid var(--on-stage-line); }

.theatre__chapters button {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  width: 100%;
  min-height: 44px;
  padding: 11px 0;
  border: 0;
  border-bottom: 1px solid var(--on-stage-line);
  background: none;
  font: inherit;
  font-size: var(--fs-sm);
  text-align: left;
  color: var(--on-stage-2);
  transition: color 0.3s var(--ease);
}

.theatre__chapters button span { font-variant-numeric: tabular-nums; color: var(--on-stage-3); transition: color 0.3s var(--ease); }
.theatre__chapters button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--go); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.theatre__chapters button:hover,
.theatre__chapters button[aria-current="true"] { color: var(--on-stage); }
.theatre__chapters button[aria-current="true"] span { color: var(--go); }
.theatre__chapters button[aria-current="true"]::after { transform: scaleX(1); }
.theatre__fine { margin: -4px 0 0; font-size: var(--fs-xs); text-align: center; color: var(--on-stage-3); }

.theatre__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  color: var(--on-stage);
  background: rgba(10, 11, 13, 0.5);
  box-shadow: inset 0 0 0 1px var(--on-stage-line);
}

.theatre__close:hover { background: var(--on-stage); color: var(--ink); box-shadow: inset 0 0 0 1px var(--on-stage); }
.theatre__close svg { width: 22px; height: 22px; fill: currentColor; }
.theatre :focus-visible { outline-color: var(--go); }

.film-open .fab { transform: translateY(140%); }

/* ---------- 53. Film: tablet and phone ---------- */
@media (max-width: 1100px) {
  .reel__list { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 960px) {
  .intro__grid { grid-template-columns: minmax(0, 1fr); }
  .intro__copy { display: contents; }
  .intro__grid .statement { order: 1; }
  .film { order: 2; width: min(100%, 360px); justify-self: start; margin-left: max(0px, calc(50% - 180px)); }
  .reel { order: 3; }
  .film__halo { inset: -10% -30%; }
}

@media (max-width: 900px) {
  .theatre__in { display: block; padding: 0 0 40px; }
  .theatre__stage { width: min(100vw, calc(100svh * 9 / 16)); margin: 0 auto; border-radius: 0 0 24px 24px; }
  .theatre__side { width: min(100%, 460px); margin: 28px auto 0; padding: 0 20px; transform: translate3d(0, 24px, 0); }
  .theatre__close { position: fixed; top: max(12px, env(safe-area-inset-top)); right: 12px; }
}

@media (max-width: 640px) {
  .reel__sub { display: none; }
  .reel__item { min-height: 60px; }
  .film { margin-left: 0; justify-self: center; }
  .film__play { width: 132px; height: 132px; margin: -66px 0 0 -66px; }
  .film__btn { width: 68px; height: 68px; }
}

@media (prefers-reduced-motion: reduce) {
  .film__ring,
  .film__btn::before,
  .film.is-in .film__hex--2 { animation: none; }
  .film__frame { transform: none; }
}

.motion-off .film__frame { transform: none; }

@media print {
  .film__play,
  .theatre { display: none !important; }
}

/* ==========================================================
   LOADER AND THE LIVING LOGO
   First page of a visit: the HEXAGON mark is traced in light,
   powers on with a flicker, the wordmark wipes in, and the dark
   curtain lifts to show the page. Later pages skip it.
   ========================================================== */

/* ---------- 60. Loader ---------- */
.loader { display: none; }

.is-loading .loader,
.loader.is-out {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--stage);
  color: var(--on-stage);
}

.is-loading,
.is-loading body { overflow: hidden; }

/* Hold the page's own entrance until the curtain lifts */
.is-loading main *,
.is-loading main *::before,
.is-loading main *::after { animation-play-state: paused !important; }

/* The glow of the hexagon ceiling above */
.loader::before {
  content: "";
  position: absolute;
  top: -40vh;
  left: 50%;
  width: 130vh;
  height: 90vh;
  margin-left: -65vh;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(244, 245, 247, 0.09), rgba(244, 245, 247, 0) 70%);
  animation: loader-glow 2.2s var(--ease) both;
}

@keyframes loader-glow { from { opacity: 0; transform: scale(0.8); } }

.loader__in { position: relative; display: grid; justify-items: center; gap: 30px; transition: transform 1.1s var(--ease-io), opacity 0.7s var(--ease); }
.loader__mark { width: clamp(76px, 8vw, 108px); height: auto; overflow: visible; }

.loader__trace {
  fill: none;
  stroke: var(--on-stage);
  stroke-width: 14;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  filter: drop-shadow(0 0 18px rgba(244, 245, 247, 0.55));
  animation: mark-trace 1.3s var(--ease-io) 0.15s forwards, mark-trace-out 0.6s var(--ease) 1.45s forwards;
}

@keyframes mark-trace { to { stroke-dashoffset: 0; } }
@keyframes mark-trace-out { to { opacity: 0; } }

/* The tubes switch on like a real LED ceiling: a short flicker, then steady */
.loader__fill { fill: var(--on-stage); opacity: 0; animation: mark-power 0.75s linear 1.05s forwards; }

@keyframes mark-power {
  0% { opacity: 0; }
  18% { opacity: 0.85; }
  26% { opacity: 0.2; }
  40% { opacity: 1; }
  52% { opacity: 0.45; }
  64%,
  100% { opacity: 1; }
}

/* Wordmark wipe: the outer span slides right while the image slides left */
.loader__word { display: block; width: clamp(150px, 15vw, 208px); overflow: hidden; }
.loader__word > span { display: block; overflow: hidden; transform: translate3d(-100%, 0, 0); animation: word-wipe 1s var(--ease) 1.3s forwards; }
.loader__word img { display: block; width: 100%; height: auto; transform: translate3d(100%, 0, 0); animation: word-wipe 1s var(--ease) 1.3s forwards; }
@keyframes word-wipe { to { transform: none; } }

.loader__bar { position: relative; width: clamp(110px, 10vw, 150px); height: 2px; overflow: hidden; border-radius: 2px; background: var(--on-stage-line); }
.loader__bar i { position: absolute; inset: 0; background: var(--go); box-shadow: 0 0 12px var(--go); transform-origin: 0 50%; transform: scaleX(0); }

/* Exit: the curtain lifts, its content lags behind */
.loader.is-out { transform: translate3d(0, -100%, 0); transition: transform 1.05s cubic-bezier(0.76, 0, 0.24, 1); }
.loader.is-out .loader__in { transform: translate3d(0, 28vh, 0); opacity: 0; }

.loader::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(25, 211, 110, 0), var(--go) 30%, var(--go) 70%, rgba(25, 211, 110, 0));
  box-shadow: 0 0 24px 2px rgba(25, 211, 110, 0.6);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.loader.is-out::after { opacity: 1; }

/* ---------- 61. The logo in the menu bar ----------
   The mark is a hexagon, so a sixth of a turn lands it back on its own outline. */
.nav__mark { transition: transform 1.1s var(--ease-spring); }
.nav__brand:hover .nav__mark,
.nav__brand:focus-visible .nav__mark { transform: rotate(60deg); }

/* After the loader, the mark in the menu turns once to say hello */
.intro-done .nav__mark { animation: mark-hello 1.4s var(--ease-spring) 0.5s both; }
@keyframes mark-hello { from { transform: rotate(-60deg) scale(0.6); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .nav__mark { transition: none; }
  .nav__brand:hover .nav__mark,
  .nav__brand:focus-visible .nav__mark { transform: none; }
}

.motion-off .nav__brand:hover .nav__mark { transform: none; }
