/* Matthieu Bridge · the site. Matthieu's premium pass (matthieu/tools/app/tokens.css, 29 Oct 2026)
   set on elenabridge.com v2's rhythm (build/elena-course/landing-v2/APPLE.md).
   Graphite ground, mint tint with a dark ink, SF Pro with tabular digits. Dark only: the product
   is graphite. Tokens: primitive -> semantic -> component. 4px unit.
   Type: the app's scale 11 12 13 15 20 28 34, with body 17 and two display steps for the
   marketing register. */
:root {
  color-scheme: dark;

  /* primitives, from tokens.css */
  --graphite-0: #08090A;
  --graphite-1: #0B0C0E;
  --graphite-2: #111215;
  --graphite-3: #17181C;
  --mint: #66D4CF;
  --mint-ink: #062321;
  --white: #F3F3F5;
  --coral: #FF8A70;
  --violet: #9680FF;

  /* semantic */
  --bg: var(--graphite-1);
  --bg-alt: var(--graphite-2);
  --surface: rgba(255,255,255,.038);
  --surface-hover: rgba(255,255,255,.062);
  --surface-solid: var(--graphite-3);
  --line: rgba(255,255,255,.072);
  --line-strong: rgba(255,255,255,.16);
  --text: var(--white);
  --text-2: rgba(235,236,245,.64);
  --accent: var(--mint);
  --accent-hover: #7FDDD8;
  --accent-soft: rgba(102,212,207,.15);
  --accent-line: rgba(102,212,207,.42);
  --on-accent: var(--mint-ink);
  --danger: #FE5749;
  --focus: var(--mint);
  --glass: rgba(14,15,18,.72);
  --fill-quiet: rgba(124,126,136,.17);
  --fill-quiet-hover: rgba(124,126,136,.26);
  --wall: radial-gradient(1200px 820px at 6% -12%, rgba(255,138,112,.105), transparent 62%),
          radial-gradient(1000px 760px at 96% -6%, rgba(102,212,207,.085), transparent 60%),
          linear-gradient(180deg, #0E0F12 0%, #0B0C0E 100%);

  /* spacing: 4px ramp */
  --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem; --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4rem; --sp-9: 6rem;
  --section: clamp(4rem, 2.8rem + 3.6vw, 6.5rem);
  --gap-card: 1rem;

  /* type */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter Tight", "Helvetica Neue", system-ui, sans-serif;
  --fs-cap: 0.75rem;      /* 12 */
  --fs-small: 0.8125rem;  /* 13 */
  --fs-label: 0.9375rem;  /* 15 */
  --fs-body: 1.0625rem;   /* 17 */
  --fs-lead: 1.25rem;     /* 20 */
  --fs-card: 1.25rem;     /* 20 */
  --fs-section: clamp(1.75rem, 1.3rem + 1.6vw, 2.125rem);  /* 28 to 34 */
  --fs-hero: clamp(2.125rem, 1.2rem + 3.6vw, 4rem);        /* 34 to 64 */
  --fs-figure: clamp(3.5rem, 2.2rem + 5.4vw, 6.5rem);      /* 56 to 104 */
  --w-body: 400; --w-mid: 500; --w-strong: 600; --w-head: 600;

  --r-sm: 6px; --r-ctl: 10px; --r-btn: 12px; --r-tile: 14px; --r-card: 16px; --r-panel: 18px; --r-pane: 20px; --r-full: 9999px;
  --shadow-card: 0 1px 1px rgba(0,0,0,.12);
  --shadow-frame: 0 0 0 .5px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06), 0 40px 90px -20px rgba(0,0,0,.72), 0 4px 12px rgba(0,0,0,.32);
  --shadow-sheet: 0 0 0 .5px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08), 0 40px 90px -20px rgba(0,0,0,.72);
  --shadow-tint: inset 0 1px 0 rgba(255,255,255,.32), 0 1px 2px rgba(0,0,0,.25);

  --dur: 180ms; --ease: cubic-bezier(.2,.8,.2,1);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

/* ------------------------------------------------------------------ base */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 4.5rem; overflow-x: clip; background: var(--bg); }
html:has(.sheet[open]) { overflow: hidden; }
body {
  margin: 0; overflow-x: clip;
  background: var(--bg); color: var(--text);
  font: var(--w-body) var(--fs-body)/1.47 var(--font);
  letter-spacing: -0.011em;
  font-synthesis: none; font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, video, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
b, strong { font-weight: var(--w-strong); }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-weight: var(--w-head); text-wrap: balance; color: var(--text); }
h1 { font-size: var(--fs-hero); line-height: 1.06; letter-spacing: -0.028em; }
h2 { font-size: var(--fs-section); line-height: 1.15; letter-spacing: -0.022em; }
h3 { font-size: var(--fs-card); line-height: 1.2; letter-spacing: -0.018em; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.num, .count, time { font-variant-numeric: tabular-nums; }

.wrap { max-inline-size: 72rem; margin-inline: auto; padding-inline: var(--sp-4); }
@media (min-width: 640px) { .wrap { padding-inline: var(--sp-6); } }

.sec { padding-block: var(--section); }
.alt { background: var(--bg-alt); }
.head { display: grid; gap: var(--sp-4); margin-bottom: clamp(2rem, 1.4rem + 1.8vw, 3rem); }
.lead {
  max-inline-size: 40rem;
  font-size: var(--fs-lead); line-height: 1.4; letter-spacing: -0.016em;
  font-weight: var(--w-mid); color: var(--text-2);
}
.lead b { color: var(--text); font-weight: var(--w-strong); }

/* ------------------------------------------------------------------ the bar */

.lnav {
  position: sticky; top: 0; z-index: 40; block-size: 3.25rem;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(170%) blur(30px); backdrop-filter: saturate(170%) blur(30px);
  transition: box-shadow 200ms ease;
}
.lnav[data-stuck] { box-shadow: 0 1px 0 var(--line); }
.lnav-in { block-size: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); }
.mark { display: inline-flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-lead); font-weight: var(--w-strong); letter-spacing: -0.02em; color: var(--text); text-decoration: none; white-space: nowrap; }
.mark svg { inline-size: 1.75rem; block-size: 1.75rem; flex: none; }
.mark span { font-weight: var(--w-body); color: var(--text-2); }

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

.pill {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: var(--r-btn);
  background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-tint);
  font: inherit; font-weight: var(--w-strong); letter-spacing: -0.011em; white-space: nowrap;
  text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background var(--dur) ease, transform 160ms var(--ease-out), opacity 250ms var(--ease-out), translate 250ms var(--ease-out);
}
.pill:hover { background: var(--accent-hover); text-decoration: none; }
.pill:active { transform: scale(0.97); }
.pill:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: var(--r-btn); }
.pill[aria-busy=true] { cursor: progress; opacity: .8; }
.pill:disabled { cursor: not-allowed; }
.pill-lg { min-block-size: 3rem; padding-inline: 1.375rem; font-size: var(--fs-body); }
.pill-sm { min-block-size: 2rem; padding-inline: 0.75rem; font-size: var(--fs-small); border-radius: 8px; }
.pill-sm::after { content: ""; position: absolute; inset: -0.5rem 0; }
.lnav .pill-sm { opacity: 0; translate: 0 0.25rem; visibility: hidden; transition-property: background, transform, opacity, translate, visibility; transition-duration: var(--dur), 160ms, 250ms, 250ms, 0s; transition-delay: 0s, 0s, 0s, 0s, 250ms; }
.lnav .pill-sm.show { opacity: 1; translate: 0 0; visibility: visible; transition-delay: 0s; }

/* the quiet button: tinted, never filled */
.ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-block-size: 2.75rem; padding-inline: 1.125rem; border: 1px solid var(--accent-line); border-radius: var(--r-btn);
  background: var(--accent-soft); color: var(--accent); font: inherit; font-weight: var(--w-strong); cursor: pointer;
  text-decoration: none; transition: background var(--dur) ease, transform 160ms var(--ease-out);
}
.ghost:hover { background: rgba(102,212,207,.22); text-decoration: none; }
.ghost:active { transform: scale(0.97); }

/* ------------------------------------------------------------------ hero */

.hero { position: relative; background: var(--wall); padding-block: clamp(2.5rem, 1.4rem + 3vw, 4.5rem) clamp(3.5rem, 2.4rem + 3.6vw, 6rem); text-align: center; }
.hero-in { display: flex; flex-direction: column; align-items: center; }
.eyebrow { margin-bottom: var(--sp-4); font-size: var(--fs-label); font-weight: var(--w-strong); color: var(--accent); font-variant-numeric: tabular-nums; }
.hero h1 { max-inline-size: 14em; }
.hero h1 .quiet { color: var(--text-2); }
.hero-sub { margin-top: var(--sp-5); max-inline-size: 36rem; }
.hero .buy { margin-top: var(--sp-6); }

.screen {
  position: relative; margin: clamp(2.5rem, 1.8rem + 2.4vw, 3.5rem) auto 0; max-inline-size: 64rem;
  aspect-ratio: 16 / 10; border-radius: clamp(10px, 0.4rem + 0.6vw, 18px); overflow: hidden;
  background: var(--graphite-0); box-shadow: var(--shadow-frame);
  transform-origin: 50% 0;
}
.screen > img, .screen > picture, .screen > picture > img, .screen video { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; object-position: 50% 0; }
.pause {
  position: absolute; right: var(--sp-3); bottom: var(--sp-3);
  inline-size: 2.25rem; block-size: 2.25rem; display: grid; place-items: center;
  border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(14,15,18,.66); color: var(--white);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background var(--dur) ease, transform 160ms var(--ease-out);
}
.pause:hover { background: rgba(14,15,18,.86); }
.pause:active { transform: scale(0.94); }
.pause svg { inline-size: 14px; block-size: 14px; }


/* ------------------------------------------------------------------ the form */

.buy { inline-size: 100%; max-inline-size: 31rem; margin-inline: auto; text-align: center; }
.buy-row { display: flex; gap: var(--sp-2); }
.buy input[type=email] {
  flex: 1 1 auto; min-inline-size: 0; min-block-size: 3rem; padding: 0 1rem;
  font: inherit; font-size: var(--fs-body); color: var(--text);
  background: var(--surface-solid); border: 1px solid var(--line-strong); border-radius: var(--r-btn);
  transition: border-color var(--dur) ease;
}
.buy input[type=email]::placeholder { color: var(--text-2); opacity: 1; }
.buy input[type=email]:hover { border-color: rgba(255,255,255,.3); }
.buy input[type=email]:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-color: var(--focus); border-radius: var(--r-btn); }
.buy input[aria-invalid=true] { border-color: var(--danger); }
@media (max-width: 519px) {
  .buy-row { flex-direction: column; }
  .buy-row .pill { inline-size: 100%; }
}
.err { margin-top: var(--sp-3); font-size: var(--fs-small); line-height: 1.43; color: var(--danger); }
.err:empty { display: none; }
.under { margin-top: var(--sp-4); font-size: var(--fs-small); line-height: 1.43; color: var(--text); font-variant-numeric: tabular-nums; }
.tick {
  display: flex; gap: var(--sp-3); align-items: flex-start; justify-content: center;
  margin: var(--sp-4) auto 0; max-inline-size: 27rem; text-align: left;
  font-size: var(--fs-small); line-height: 1.43; color: var(--text-2); cursor: pointer;
}
.tick input { flex: none; inline-size: 1.125rem; block-size: 1.125rem; margin: 0.0625rem 0 0; accent-color: var(--accent); cursor: pointer; }
.legal { margin: var(--sp-3) auto 0; max-inline-size: 27rem; font-size: var(--fs-cap); line-height: 1.5; color: var(--text-2); letter-spacing: 0; }
.hp { position: absolute; left: -9999px; }

/* ------------------------------------------------------------------ the film */

.film .screen { margin-top: 0; aspect-ratio: 16 / 9; }
.film-frame iframe { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; border: 0; }
.film-play {
  position: absolute; inset: 0; margin: auto; inline-size: max-content; block-size: max-content;
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: .75rem 1.15rem .75rem .95rem; border: 0; border-radius: var(--r-full); cursor: pointer;
  background: rgba(14,15,18,.66); color: var(--white);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font: inherit; font-weight: var(--w-strong); font-variant-numeric: tabular-nums;
  transition: background var(--dur) ease, transform 160ms var(--ease-out);
}
.film-play:hover { background: rgba(14,15,18,.86); }
.film-play:active { transform: scale(0.96); }
.film-play:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.film-play svg { inline-size: 18px; block-size: 18px; }

/* ------------------------------------------------------------------ the problem: three beats */

.beats { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(2.5rem, 1.6rem + 3vw, 4.5rem); }
.beat { display: grid; gap: var(--sp-2); max-inline-size: 30em; }
.beat p { font-size: var(--fs-section); line-height: 1.18; letter-spacing: -0.022em; font-weight: var(--w-head); color: var(--text); transition: color 400ms ease; }
.beat p + p { color: var(--text-2); }
.beat .big { font-size: var(--fs-figure); line-height: 1; letter-spacing: -0.045em; color: var(--text); font-variant-numeric: tabular-nums; }
.beats.live .beat:not(.on) p { color: rgba(235,236,245,.22); }
.beats.live .beat:not(.on) .big { color: rgba(235,236,245,.22); }
.turn { margin-top: clamp(3rem, 2rem + 3vw, 5rem); display: flex; align-items: center; gap: var(--sp-4); }
.turn p { font-size: var(--fs-section); line-height: 1.15; letter-spacing: -0.022em; font-weight: var(--w-head); }
.turn p b { color: var(--accent); font-weight: inherit; }
.face { flex: none; inline-size: 3.5rem; block-size: 3.5rem; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line-strong); }

/* ------------------------------------------------------------------ his case: the dark band */

.deep {
  background:
    radial-gradient(900px 520px at 85% 0%, rgba(102,212,207,.10), transparent 62%),
    radial-gradient(800px 600px at 0% 110%, rgba(150,128,255,.06), transparent 60%),
    var(--graphite-0);
}
.proof-h { display: grid; gap: var(--sp-2); }
.fig { font-size: var(--fs-figure); line-height: 0.95; letter-spacing: -0.045em; }
.proof-t { color: var(--text-2); }
.count { display: inline-grid; }
.count > * { grid-area: 1 / 1; text-align: right; }
.count .c-ghost { visibility: hidden; }
.who-line { display: flex; align-items: center; gap: var(--sp-3); margin-top: var(--sp-2); font-size: var(--fs-label); color: var(--text-2); }
.who-line img { inline-size: 2rem; block-size: 2rem; border-radius: 50%; object-fit: cover; }

.lift { margin: var(--sp-7) 0 0; max-inline-size: 48rem; }
.lift-l { display: flex; justify-content: space-between; gap: var(--sp-4); font-size: var(--fs-label); color: var(--text-2); font-variant-numeric: tabular-nums; }
.lift-l b { color: var(--text); font-weight: var(--w-strong); }
.lift-bar { position: relative; margin-top: var(--sp-3); block-size: 0.75rem; border-radius: var(--r-full); background: var(--fill-quiet); overflow: hidden; }
.lift-bar i, .lift-bar s { position: absolute; inset: 0 auto 0 0; border-radius: inherit; }
.lift-bar s { inline-size: calc(120 / 180 * 100%); background: rgba(102,212,207,.32); }
.lift-bar i { inline-size: calc(165 / 180 * 100%); background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--p, 1)); }

.tiles { list-style: none; margin: clamp(2.5rem, 1.8rem + 2vw, 3.5rem) 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-6) var(--gap-card); }
@media (min-width: 720px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); max-inline-size: 48rem; } }
.tiles li { padding-top: var(--sp-4); border-top: 1px solid var(--line-strong); display: grid; gap: var(--sp-1); align-content: start; }
.tile-n { font-size: var(--fs-section); line-height: 1.12; letter-spacing: -0.03em; font-weight: var(--w-head); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tile-l { color: var(--text-2); }

/* ------------------------------------------------------------------ the hub: what you measure flows in, the plan flows out, every day it comes back.
   Wide: inputs left, Matthieu in the middle, outputs right, the loop under the hub.
   Narrow: inputs on top, outputs below, each group on a spine, the loop on the hub's right.
   Default is the finished state (no JS, reduced motion); site.js adds .armed before it plays. */

.journey { padding-bottom: clamp(2.5rem, 2rem + 1.6vw, 3.5rem); }
.hb {
  --hb-line: rgba(235,236,245,.15);
  --hb-ic: 2.25rem;
  --hb-r: 4.25rem;
  position: relative;
  display: grid; grid-template-columns: minmax(0, 15.5rem) minmax(3rem, 1fr) calc(var(--hb-r) * 2 + 3rem) minmax(3rem, 1fr) minmax(0, 15.5rem);
  padding-block: var(--sp-2) var(--sp-8);
}
.hb-lines { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; overflow: visible; pointer-events: none; }
.hb-base path { fill: none; stroke: var(--hb-line); stroke-width: 1; stroke-linecap: round; }
.hb-base .hb-loop { stroke: rgba(235,236,245,.24); stroke-width: 1.25; }
.hb-lines marker path { stroke: rgba(235,236,245,.42); }
.hb-tail { fill: none; stroke: var(--accent); stroke-width: 1.75; stroke-linecap: round; }
.hb-head { fill: var(--accent); }
.hb-halo { fill: var(--accent); opacity: .16; }

.hb-in { grid-column: 1; } .hb-core { grid-column: 3; } .hb-out { grid-column: 5; }
.hb-in, .hb-out { display: flex; flex-direction: column; justify-content: space-between; gap: var(--sp-7); min-inline-size: 0; }
.hb-g ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-1); }
.hb-gl {
  margin: 0 0 var(--sp-2); padding-inline: var(--sp-2);
  font-size: var(--fs-cap); line-height: 1.5; font-weight: var(--w-strong); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2);
}

.hb-node {
  position: relative; inline-size: 100%; min-block-size: 3.25rem; padding: var(--sp-2);
  display: flex; align-items: center; gap: var(--sp-3);
  border: 0; border-radius: var(--r-btn); background: transparent; color: var(--text);
  font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background var(--dur) ease, opacity 600ms var(--ease-out), transform 160ms var(--ease-out);
}
.hb-ic {
  flex: none; display: grid; place-items: center; inline-size: var(--hb-ic); block-size: var(--hb-ic); border-radius: 50%;
  background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--text-2);
  transition: color 500ms ease, box-shadow 500ms ease;
}
.hb-ic svg { inline-size: 1.125rem; block-size: 1.125rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hb-t { display: grid; gap: 1px; min-inline-size: 0; }
.hb-t b { font-size: var(--fs-label); line-height: 1.3; font-weight: var(--w-mid); letter-spacing: -0.008em; }
.hb-v, .hb-a {
  font-size: var(--fs-small); line-height: 1.38; color: var(--text-2); font-variant-numeric: tabular-nums;
  transition: opacity 480ms var(--ease-out), transform 480ms var(--ease-out), filter 480ms var(--ease-out);
}
.hb-a { display: flex; align-items: center; gap: 5px; }
.hb-a svg { flex: none; inline-size: 11px; block-size: 11px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: color 500ms ease; }

/* the input side reads toward the hub: text right, icon on the inner edge */
.hb-in .hb-node { flex-direction: row-reverse; text-align: right; }
.hb-in .hb-gl { text-align: right; padding-right: calc(var(--sp-2) + var(--hb-ic) + var(--sp-3)); }
.hb-out .hb-gl { padding-left: calc(var(--sp-2) + var(--hb-ic) + var(--sp-3)); }

/* the one that is moving now */
.hb-node.act .hb-ic { color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent-line), 0 0 0 5px rgba(102,212,207,.07); }
.hb-node.act .hb-a svg { color: var(--accent); }

/* the hover names the section it opens */
.hb-node::after {
  content: attr(data-tip); position: absolute; z-index: 3; bottom: calc(100% - 4px); left: var(--sp-2);
  padding: 5px 9px; border-radius: var(--r-sm); background: var(--graphite-3);
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 8px 20px rgba(0,0,0,.45);
  font-size: var(--fs-cap); line-height: 1.3; font-weight: var(--w-mid); color: var(--text); white-space: nowrap;
  opacity: 0; transform: translateY(3px); pointer-events: none; transition: opacity 140ms ease, transform 160ms var(--ease-out);
}
.hb-in .hb-node::after { left: auto; right: var(--sp-2); }
@media (hover: hover) and (pointer: fine) {
  .hb-node:hover { background: var(--surface); }
  .hb-node:hover .hb-ic { color: var(--text); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
  .hb-node.act:hover .hb-ic { color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent-line); }
  .hb-node:hover::after { opacity: 1; transform: none; transition-delay: 220ms; }
}
.hb-node:active { transform: scale(0.98); }
.hb-node:focus-visible { outline-offset: 2px; border-radius: var(--r-btn); }

/* the hub */
.hb-core { position: relative; display: grid; place-items: center; }
.hb-hub {
  position: relative; inline-size: calc(var(--hb-r) * 2); block-size: calc(var(--hb-r) * 2); border-radius: 50%; border: 0; padding: 0;
  display: grid; place-content: center; justify-items: center; gap: 5px;
  background: radial-gradient(circle at 50% 38%, rgba(102,212,207,.09), transparent 68%), var(--graphite-2);
  box-shadow: 0 24px 60px -24px rgba(0,0,0,.9);
  color: var(--text); font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform 160ms var(--ease-out);
}
.hb-hub b { font-size: var(--fs-small); line-height: 1.2; font-weight: var(--w-strong); letter-spacing: -0.004em; }
.hb-mk { inline-size: 2.75rem; block-size: 2.75rem; fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hb-ring { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; transform: rotate(-90deg); overflow: visible; pointer-events: none; }
.hb-ring circle { fill: none; }
.hb-ring-0 { stroke: var(--line-strong); stroke-width: 1; }
.hb-ring-1 { stroke: var(--accent); stroke-width: 1.75; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 0; opacity: .5; transition: opacity 500ms ease; }
.hb-glow {
  position: absolute; inset: -36%; border-radius: 50%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(102,212,207,.14), rgba(102,212,207,.04) 60%, transparent);
  opacity: .7; transition: opacity 900ms ease;
}
.hb-hub::after {
  content: "Ask Matthieu"; position: absolute; z-index: 3; top: calc(100% + 8px); left: 50%;
  padding: 5px 9px; border-radius: var(--r-sm); background: var(--graphite-3); box-shadow: inset 0 0 0 1px var(--line-strong), 0 8px 20px rgba(0,0,0,.45);
  font-size: var(--fs-cap); font-weight: var(--w-mid); color: var(--text); white-space: nowrap;
  opacity: 0; transform: translate(-50%, -3px); pointer-events: none; transition: opacity 140ms ease, transform 160ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .hb-hub:hover::after { opacity: 1; transform: translate(-50%, 0); transition-delay: 220ms; } }
.hb-hub:active { transform: scale(0.98); }
.hb-hub:focus-visible { outline-offset: 4px; border-radius: 50%; }

/* the loop's label: a button to the morning brief, placed by site.js on the arc */
.hb-every {
  position: absolute; z-index: 2; left: 50%; top: 100%; transform: translate(-50%, -100%);
  min-block-size: 2rem; padding: 0 var(--sp-3); border: 0; border-radius: var(--r-full); background: transparent;
  font: inherit; font-size: var(--fs-small); font-weight: var(--w-mid); color: var(--text-2); white-space: nowrap; cursor: pointer;
  transition: color 500ms ease, background var(--dur) ease;
}
.hb-every.on { color: var(--text); }
@media (hover: hover) and (pointer: fine) { .hb-every:hover { background: var(--surface); color: var(--text); } }
.hb-every:focus-visible { outline-offset: 2px; border-radius: var(--r-full); }

.hb-pause {
  position: absolute; right: 0; bottom: 0; z-index: 2; inline-size: 2.25rem; block-size: 2.25rem; display: grid; place-items: center;
  border: 0; border-radius: 50%; cursor: pointer; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--text-2);
  transition: background var(--dur) ease, color var(--dur) ease, transform 160ms var(--ease-out);
}
.hb-pause:hover { background: var(--surface-hover); color: var(--text); }
.hb-pause:active { transform: scale(0.94); }
.hb-pause svg { inline-size: 12px; block-size: 12px; }

/* before and while it plays */
.hb.armed .hb-node { opacity: .36; }
.hb.armed .hb-node.lit { opacity: 1; }
.hb.armed .hb-v, .hb.armed .hb-a { opacity: 0; transform: translateY(4px); filter: blur(2px); }
.hb.armed .hb-node.lit .hb-v, .hb.armed .hb-a.on { opacity: 1; transform: none; filter: none; }
.hb.armed .hb-ring-1 { stroke-dashoffset: 1; opacity: 0; }
.hb.armed .hb-glow { opacity: 0; }
.hb.armed .hb-hub.read .hb-glow { opacity: 1; }
.hb.armed .hb-base .hb-loop { stroke: rgba(235,236,245,.14); transition: stroke 600ms ease; }
.hb.armed .hb-every { color: rgba(235,236,245,.42); }
.hb.armed .hb-every.on { color: var(--text); }
/* idle: the loop breathes while it's on screen */
.hb.idle .hb-glow { animation: hb-breathe 5.2s ease-in-out infinite; }
.hb.idle .hb-base .hb-loop { animation: hb-breathe-line 5.2s ease-in-out infinite; }
.hb.hold .hb-glow, .hb.hold .hb-base .hb-loop { animation-play-state: paused; }
@keyframes hb-breathe { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes hb-breathe-line { 0%, 100% { stroke: rgba(235,236,245,.2); } 50% { stroke: rgba(235,236,245,.42); } }

/* narrow: inputs on top, Matthieu in the middle, outputs below; each group hangs on a spine through its icons */
@media (max-width: 899px) {
  .hb { --hb-r: 3.5rem; grid-template-columns: minmax(0, 1fr); padding-block: 0 var(--sp-7); }
  .hb-in, .hb-out, .hb-core { grid-column: 1; }
  .hb-in, .hb-out { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-4); }
  .hb-core { padding-block: 4.25rem; }
  .hb-g ul { gap: var(--sp-3); }
  /* the left column reads toward the middle, the right column away from it */
  .hb-in .hb-node, .hb-out [data-g=plan] .hb-node { flex-direction: row-reverse; text-align: right; }
  .hb-in [data-g=track] .hb-node { flex-direction: row; text-align: left; }
  .hb-in [data-g=track] .hb-gl, .hb-out [data-g=care] .hb-gl { text-align: left; padding-right: var(--sp-2); padding-left: calc(var(--sp-2) + var(--hb-ic) + var(--sp-3)); }
  .hb-out [data-g=plan] .hb-gl, .hb-in [data-g=start] .hb-gl { text-align: right; padding-left: var(--sp-2); padding-right: calc(var(--sp-2) + var(--hb-ic) + var(--sp-3)); }
  .hb-out [data-g=plan] .hb-a { justify-content: flex-end; }
  .hb-in [data-g=track] .hb-node::after { right: auto; left: var(--sp-2); }
  .hb-out [data-g=plan] .hb-node::after { left: auto; right: var(--sp-2); }
  .hb-every { transform: translate(0, -50%); padding-inline: var(--sp-2); }
}
@media (max-width: 599px) {
  .hb { --hb-ic: 2rem; --hb-r: 3.25rem; }
  .hb-in, .hb-out { gap: var(--sp-2); }
  .hb-node { padding: var(--sp-1) 0; gap: var(--sp-2); min-block-size: 2.75rem; align-items: flex-start; }
  .hb-ic { margin-top: 1px; }
  .hb-t b { font-size: 0.875rem; }
  .hb-v, .hb-a { font-size: var(--fs-cap); }
  .hb-in [data-g=track] .hb-gl, .hb-out [data-g=care] .hb-gl { padding-right: 0; padding-left: calc(var(--hb-ic) + var(--sp-2)); }
  .hb-out [data-g=plan] .hb-gl, .hb-in [data-g=start] .hb-gl { padding-left: 0; padding-right: calc(var(--hb-ic) + var(--sp-2)); }
  .hb-core { padding-block: 3rem; }
  .hb-br { display: block; block-size: 0; overflow: hidden; }
  .hb-a, .hb-out [data-g=plan] .hb-a { display: block; }
  .hb-a svg { display: inline-block; vertical-align: -1px; margin-right: 4px; }
  .hb-mk { inline-size: 2.25rem; block-size: 2.25rem; }
  .hb-hub b { font-size: var(--fs-cap); }
  .hb-node::after { display: none; }
}

/* ------------------------------------------------------------------ every section: a rail of tabs grouped by stage, one screen */

.cases-sec { padding-top: clamp(2.5rem, 2rem + 1.6vw, 3.5rem); }
.cases { display: grid; gap: var(--sp-5); }
@media (min-width: 960px) { .cases { grid-template-columns: 15.5rem minmax(0, 1fr); gap: var(--sp-7); align-items: start; } }
.rail { display: flex; align-items: center; gap: var(--sp-2); overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--sp-4) * -1); padding: var(--sp-1) var(--sp-4); scroll-padding-inline: var(--sp-4);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--sp-4), #000 calc(100% - 2.5rem), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--sp-4), #000 calc(100% - 2.5rem), transparent); }
.rail::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .rail { margin-inline: calc(var(--sp-6) * -1); padding-inline: var(--sp-6); } }
.rail-g {
  flex: none; padding-inline: var(--sp-3) var(--sp-1);
  font-size: var(--fs-cap); line-height: 1.5; font-weight: var(--w-strong); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2);
  transition: color var(--dur) ease;
}
.rail-g:first-child { padding-left: 0; }
.rail-g.on { color: var(--text); }
@media (min-width: 960px) {
  .rail { flex-direction: column; align-items: stretch; gap: 2px; overflow: visible; margin: 0; padding: 0; -webkit-mask-image: none; mask-image: none; position: sticky; top: 4.5rem; }
  .rail-g { padding: var(--sp-4) var(--sp-3) var(--sp-1); }
  .rail-g:first-child { padding-top: 0; padding-left: var(--sp-3); }
}
.case-tab {
  flex: none; display: flex; align-items: center; gap: var(--sp-3);
  min-block-size: 2.75rem; padding: 0 var(--sp-4); border: 1px solid var(--line); border-radius: var(--r-full);
  background: transparent; color: var(--text-2); font: inherit; font-size: var(--fs-label); font-weight: var(--w-mid); text-align: left; white-space: nowrap; cursor: pointer;
  transition: background var(--dur) ease, color var(--dur) ease, border-color var(--dur) ease;
}
.case-tab:hover { color: var(--text); background: var(--surface); }
.case-tab[aria-selected=true] { color: var(--text); background: var(--accent-soft); border-color: var(--accent-line); }
.case-tab:focus-visible { outline-offset: 2px; border-radius: var(--r-full); }
@media (min-width: 960px) {
  .case-tab { border: 0; border-radius: var(--r-ctl); padding-inline: var(--sp-3); min-block-size: 2.5rem; font-size: var(--fs-body); }
  .case-tab[aria-selected=true] { border: 0; }
  .case-tab:focus-visible { border-radius: var(--r-ctl); }
}
.case-stage { min-inline-size: 0; }
.case-screen { margin: 0; aspect-ratio: 16 / 10; max-inline-size: none; }
.case-media { position: absolute; inset: 0; transition: opacity 320ms var(--ease-out), transform 460ms var(--ease-out); }
.case-media > img, .case-media > picture, .case-media > picture > img, .case-media > video {
  position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; object-position: 50% 0;
}
.case-media > video { opacity: 0; transition: opacity 300ms var(--ease-out); }
.case-media > video.ready { opacity: 1; }
.case-media[data-leaving] { opacity: 0; }
.case-media[data-entering] { opacity: 0; transform: scale(1.015); }
.case-pause { z-index: 2; }
.case-line { margin-top: var(--sp-5); max-inline-size: 36rem; min-block-size: 2.9em; font-size: var(--fs-lead); line-height: 1.4; letter-spacing: -0.016em; font-weight: var(--w-mid); color: var(--text-2); }
.case-line b { color: var(--text); font-weight: var(--w-strong); }
.said { margin: var(--sp-5) 0 0; padding: var(--sp-4) 0 0; border-top: 1px solid var(--line); display: grid; gap: var(--sp-3); max-inline-size: 36rem; }
.said blockquote { margin: 0; font-size: var(--fs-body); line-height: 1.4; letter-spacing: -0.011em; font-weight: var(--w-mid); color: var(--text); }
.said blockquote::before { content: "\201C"; } .said blockquote::after { content: "\201D"; }
.said figcaption { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-label); color: var(--text-2); }
.said img { inline-size: 1.75rem; block-size: 1.75rem; border-radius: 50%; object-fit: cover; }

/* the goals, drawn from the app's own data while no clip of them exists */
.goals-card {
  position: absolute; inset: 0; display: grid; place-content: center; padding: var(--sp-6);
  background: radial-gradient(70% 60% at 50% 0%, rgba(102,212,207,.07), transparent 70%), var(--graphite-2);
}
.gc-h { font-size: var(--fs-label); font-weight: var(--w-strong); color: var(--text-2); margin-bottom: var(--sp-3); }
.goals-card ul { list-style: none; margin: 0; padding: 0; inline-size: min(34rem, 80vw); }
.goals-card li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: baseline; gap: var(--sp-5);
  padding-block: var(--sp-4); border-top: 1px solid var(--line); font-variant-numeric: tabular-nums;
}
.goals-card b { font-size: var(--fs-lead); letter-spacing: -0.016em; }
.goals-card span { font-size: var(--fs-label); color: var(--text-2); white-space: nowrap; }
.goals-card em { font-style: normal; color: var(--text); font-weight: var(--w-mid); }
@media (max-width: 599px) {
  .goals-card { padding: var(--sp-5); }
  .goals-card ul { inline-size: 100%; }
  .goals-card li { grid-template-columns: minmax(0, 1fr) auto; gap: var(--sp-1) var(--sp-4); }
  .goals-card li b { grid-column: 1 / -1; }
}

/* ------------------------------------------------------------------ what you connect */

.sources { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-card); }
.sources li:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 600px) { .sources { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sources li:last-child:nth-child(odd) { grid-column: auto; } }
@media (min-width: 960px) { .sources { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.sources li {
  display: grid; gap: var(--sp-1); align-content: start; padding: clamp(1rem, 0.8rem + 0.6vw, 1.5rem);
  border-radius: var(--r-card); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card);
}
.sources svg { inline-size: 1.5rem; block-size: 1.5rem; margin-bottom: var(--sp-4); color: var(--accent); }
.sources b { font-size: var(--fs-body); font-weight: var(--w-strong); }
.sources span { font-size: var(--fs-small); line-height: 1.43; color: var(--text-2); }

/* ------------------------------------------------------------------ price */

.price { text-align: center; }
.seg {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 3px;
  border-radius: var(--r-full); background: var(--fill-quiet);
}
.seg button {
  position: relative; z-index: 1; min-block-size: 2.25rem; padding: 0 var(--sp-5); border: 0; border-radius: var(--r-full);
  background: transparent; color: var(--text-2); font: inherit; font-size: var(--fs-label); font-weight: var(--w-mid); cursor: pointer;
  transition: color var(--dur) ease;
}
.seg button[aria-pressed=true] { color: var(--text); }
.seg button:focus-visible { outline-offset: 0; border-radius: var(--r-full); }
.seg .knob { position: absolute; z-index: 0; inset: 3px auto 3px 3px; inline-size: calc(50% - 3px); border-radius: var(--r-full); background: var(--graphite-3); box-shadow: 0 0 0 .5px rgba(255,255,255,.1), 0 2px 6px rgba(0,0,0,.4); transition: translate var(--d, 280ms) var(--ease); }
.seg[data-plan=yearly] .knob { translate: 100% 0; }
.price-fig { margin-top: var(--sp-6); font-size: var(--fs-hero); line-height: 1; letter-spacing: -0.035em; font-weight: var(--w-head); font-variant-numeric: tabular-nums; }
.price-fig small { font-size: var(--fs-lead); letter-spacing: -0.016em; font-weight: var(--w-mid); color: var(--text-2); }
.price-sub { margin-top: var(--sp-3); font-size: var(--fs-label); color: var(--text-2); font-variant-numeric: tabular-nums; min-block-size: 1.5em; }
.price-terms { list-style: none; margin: var(--sp-6) auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-2) var(--sp-5); font-size: var(--fs-label); }
.price-terms li { display: inline-flex; align-items: center; gap: var(--sp-2); }
.price-terms svg { inline-size: 1rem; block-size: 1rem; color: var(--accent); }
.price .ghost { margin-top: var(--sp-6); }

/* ------------------------------------------------------------------ questions: cards that open a panel */

.know { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap-card); }
@media (min-width: 700px) { .know { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.kcard {
  position: relative; inline-size: 100%; block-size: 100%; min-block-size: 10rem;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: clamp(1.25rem, 1rem + 0.9vw, 1.75rem); border: 0; border-radius: var(--r-card);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); font: inherit; letter-spacing: inherit; text-align: left; cursor: pointer;
  transition: transform 300ms cubic-bezier(0, 0, 0.5, 1), background var(--dur) ease;
  -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) and (pointer: fine) { .kcard:hover { background: var(--surface-hover); } .kcard:hover .k-plus { color: var(--text); } }
.kcard:active { transform: scale(0.985); transition-duration: 160ms; }
.kcard:focus-visible { outline-offset: 3px; border-radius: var(--r-card); }
.k-eye { font-size: var(--fs-label); font-weight: var(--w-strong); color: var(--text-2); padding-right: 2rem; }
.k-face { margin-top: auto; padding-top: var(--sp-5); font-size: var(--fs-card); line-height: 1.2; letter-spacing: -0.018em; font-weight: var(--w-head); text-wrap: balance; }
.k-sub { margin-top: var(--sp-1); font-size: var(--fs-card); line-height: 1.2; letter-spacing: -0.018em; font-weight: var(--w-head); color: var(--accent); }
.k-plus {
  position: absolute; top: clamp(1.25rem, 1rem + 0.9vw, 1.75rem); right: clamp(1.25rem, 1rem + 0.9vw, 1.75rem);
  inline-size: 1.25rem; block-size: 1.25rem; display: grid; place-items: center;
  color: var(--text-2); transition: color var(--dur) ease;
}
.k-plus svg { inline-size: 1rem; block-size: 1rem; }

.sheet {
  --sheet-from: translateY(2rem) scale(0.98);
  inline-size: min(100% - 2rem, 48rem); max-inline-size: none; max-block-size: min(100dvh - 4rem, 56rem);
  margin: auto; padding: 0; border: 0; border-radius: var(--r-pane);
  background: var(--surface-solid); color: var(--text); box-shadow: var(--shadow-sheet);
  overflow: hidden;
}
.sheet[open] { display: flex; flex-direction: column; animation: sheet-in 380ms var(--ease-drawer); }
.sheet::backdrop { background: rgba(4,5,6,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.sheet[open]::backdrop { animation: fade-in 280ms ease-out; }
@keyframes sheet-in { from { opacity: 0; transform: var(--sheet-from); } }
@keyframes fade-in { from { opacity: 0; } }
@media (max-width: 599px) {
  .sheet { --sheet-from: translateY(100%); inline-size: 100%; max-block-size: calc(100dvh - 1.5rem); margin: auto 0 0; border-radius: 22px 22px 0 0; }
}
.sheet-body { overflow: auto; overscroll-behavior: contain; padding: clamp(2rem, 1.2rem + 3vw, 3.5rem); }
.sheet h3 { font-size: var(--fs-section); line-height: 1.15; letter-spacing: -0.022em; margin-bottom: clamp(1.5rem, 1.2rem + 1.6vw, 2.5rem); padding-right: 2.5rem; }
.sheet-x {
  position: absolute; top: var(--sp-4); right: var(--sp-4);
  inline-size: 2.25rem; block-size: 2.25rem; display: grid; place-items: center;
  border: 0; border-radius: 50%; cursor: pointer; background: var(--fill-quiet); color: var(--text);
  transition: background var(--dur) ease, transform 160ms var(--ease-out);
}
.sheet-x::after { content: ""; position: absolute; inset: -0.25rem; }
.sheet-x:hover { background: var(--fill-quiet-hover); }
.sheet-x:active { transform: scale(0.94); }
.sheet-x:focus-visible { border-radius: 50%; }
.sheet-x svg { inline-size: 1rem; block-size: 1rem; }
.say { max-inline-size: 38rem; font-size: var(--fs-lead); line-height: 1.4; letter-spacing: -0.016em; font-weight: var(--w-mid); color: var(--text-2); }
.say b { color: var(--text); }
.say + .say { margin-top: var(--sp-5); }

/* ------------------------------------------------------------------ the last call */

.start { text-align: center; background: var(--wall); }
.start h2 { font-size: var(--fs-hero); line-height: 1.06; letter-spacing: -0.028em; }
.start .seg { margin-top: var(--sp-6); }
.start .buy { margin-top: var(--sp-5); }

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

footer { background: var(--graphite-0); border-top: 1px solid var(--line); padding-block: var(--sp-6) var(--sp-8); font-size: var(--fs-small); line-height: 1.43; color: var(--text-2); }
footer nav { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); margin-bottom: var(--sp-4); }
footer nav a { display: inline-block; padding-block: var(--sp-2); color: var(--text); text-decoration: none; }
footer nav a:hover { text-decoration: underline; }
footer a { color: var(--text-2); }

/* ------------------------------------------------------------------ reveals: site.js adds .rv once the page is measured */

.rv [data-reveal] {
  opacity: 0; transform: translateY(1.5rem);
  transition: opacity 800ms var(--ease-out), transform 1000ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.rv [data-reveal].in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ text pages: thanks, terms, privacy, 404 */

.top { display: flex; align-items: center; block-size: 3.25rem; }
.page { padding-block: var(--sp-8) var(--sp-9); max-inline-size: 44rem; }
.page h1 { font-size: var(--fs-section); line-height: 1.15; letter-spacing: -0.022em; margin-bottom: var(--sp-5); }
.page h2 { font-size: var(--fs-card); line-height: 1.2; margin: var(--sp-7) 0 var(--sp-3); }
.page p, .page li { color: var(--text-2); max-inline-size: 38rem; }
.page p + p { margin-top: var(--sp-3); }
.page ul { margin: var(--sp-3) 0 0; padding-left: 1.25rem; display: grid; gap: var(--sp-2); }
.page .ver { font-size: var(--fs-small); }
.page .big { font-size: var(--fs-hero); line-height: 1.06; letter-spacing: -0.028em; margin-bottom: var(--sp-4); }
.page .lead { margin-bottom: var(--sp-6); }
.actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }
.rows { margin: var(--sp-6) 0 0; }
.rows > div { display: grid; gap: var(--sp-1); padding-block: var(--sp-4); border-top: 1px solid var(--line); }
@media (min-width: 640px) { .rows > div { grid-template-columns: 11rem minmax(0, 1fr); gap: var(--sp-5); } }
.rows dt, .rows dd { margin: 0; font-variant-numeric: tabular-nums; }
.rows dt { color: var(--text-2); }

/* phones: the screens become the app's phone layout, shot at 390 wide */
@media (max-width: 599px) {
  .screen, .case-screen { aspect-ratio: 390 / 620; max-inline-size: 22rem; margin-inline: auto; border-radius: 22px; }
  .case-screen { aspect-ratio: 390 / 700; }
  .film .screen { aspect-ratio: 16 / 9; max-inline-size: none; border-radius: 12px; }
  .case-line, .said { max-inline-size: 22rem; margin-inline: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv [data-reveal] { opacity: 1; transform: none; transition: none; }
  .sheet[open], .sheet[open]::backdrop { animation: fade-in 200ms linear; }
  .pill, .kcard, .pause, .sheet-x, .ghost { transition-property: background, opacity; }
  .pill:active, .kcard:active, .pause:active, .sheet-x:active, .ghost:active { transform: none; }
  .case-media, .case-media > video { transition: opacity 200ms linear; transform: none !important; }
  .hb-node, .hb-hub, .hb-pause { transition-property: background, box-shadow, opacity; }
  .hb-node:active, .hb-hub:active, .hb-pause:active { transform: none; }
  .hb-glow, .hb-base .hb-loop { animation: none !important; }
  .seg .knob { transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .lnav { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .sheet::backdrop { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(4,5,6,.8); }
}
@media (prefers-contrast: more) {
  :root { --text-2: var(--text); --line: var(--line-strong); }
}

/* play with sound (sound.js) */
.sound {
  position: absolute; left: var(--sp-3); bottom: var(--sp-3); z-index: 2;
  display: inline-flex; align-items: center; gap: .5rem; block-size: 2.25rem; padding: 0 .9rem 0 .75rem;
  border: 0; border-radius: 999px; cursor: pointer; font: 500 13px/1 inherit; font-variant-numeric: tabular-nums;
  background: rgba(14,15,18,.66); color: var(--white);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background var(--dur) ease, transform 160ms var(--ease-out);
}
.sound:hover { background: rgba(14,15,18,.86); }
.sound:active { transform: scale(0.96); }
.sound svg { inline-size: 15px; block-size: 15px; }
.sound[hidden] { display: none; }
.sound-hero { background: var(--tint, #66D4CF); color: #062321; }
.sound-hero:hover { background: #7fe0db; }
.screen video { cursor: pointer; }
.screen video.with-sound { object-fit: contain; background: #000; cursor: default; z-index: 1; }
.case-media:has(video.with-sound) ~ .case-pause, .screen:has(video.with-sound) > .pause { display: none; }

/* ------------------------------------------------------------------ pass 2b: legal pages, withdraw, Coming, the MoleQlar tie */

/* the imprint on every page */
.imprint { max-inline-size: 60rem; }
footer nav a[aria-current=page] { color: var(--accent); }

/* terms: the price box first, framed; the model form set apart */
.page h3 { font-size: var(--fs-body); line-height: 1.3; margin: var(--sp-6) 0 var(--sp-3); }
.page ul ul { margin-top: var(--sp-2); }
.framed { margin-top: var(--sp-6); padding: var(--sp-5); border: 2px solid var(--accent-line); border-radius: var(--r-card); background: var(--accent-soft); }
.framed h2 { margin-top: 0; }
.framed li { color: var(--text); font-weight: var(--w-strong); }
.model-form { padding: var(--sp-5); border: 1px dashed var(--line-strong); border-radius: var(--r-card); }
.model-form p { margin: 0; }
.model-form p + p { margin-top: var(--sp-3); }

/* withdraw: one field per row, labels above */
.fields { display: grid; gap: var(--sp-5); margin-top: var(--sp-6); max-inline-size: 31rem; }
.field { display: grid; gap: var(--sp-2); }
.field label { font-size: var(--fs-label); font-weight: var(--w-mid); color: var(--text); }
.field input {
  min-block-size: 3rem; padding: 0 1rem; font: inherit; font-size: var(--fs-body); color: var(--text);
  background: var(--surface-solid); border: 1px solid var(--line-strong); border-radius: var(--r-btn);
  transition: border-color var(--dur) ease;
}
.field input::placeholder { color: var(--text-2); opacity: 1; }
.field input:hover { border-color: rgba(255,255,255,.3); }
.field input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-color: var(--focus); }
.field input[readonly] { background: transparent; color: var(--text-2); }
.field input[aria-invalid=true] { border-color: var(--danger); }
.field .err { margin-top: 0; }
.does { font-size: var(--fs-label); color: var(--text); }
.fields .pill { justify-self: start; }
.page h1[tabindex]:focus { outline: none; }

/* sign in on the thank-you page: the form reads left like the page */
.buy.left { margin-inline: 0; text-align: left; margin-top: var(--sp-5); }
.page .under a { color: var(--accent); }

/* Coming: a quiet chip on anything not built yet */
.soon {
  display: inline-flex; align-items: center; block-size: 1.375rem; padding: 0 0.5rem;
  border-radius: var(--r-full); background: var(--fill-quiet); color: var(--text-2);
  font-size: var(--fs-cap); font-weight: var(--w-mid); letter-spacing: 0.01em; line-height: 1;
}
.case-tab .soon { margin-left: auto; }
.case-tab[aria-selected=true] .soon { background: rgba(255,255,255,.1); }
.sources .soon { margin-top: var(--sp-1); }

/* the MoleQlar tie: under the quote, the same size as the quote */
.said .said-tie { margin: 0; font-size: var(--fs-body); line-height: 1.4; letter-spacing: -0.011em; font-weight: var(--w-mid); color: var(--text); }

/* what you need, in the price block */
.price-need { margin: var(--sp-5) auto 0; max-inline-size: 34rem; font-size: var(--fs-label); line-height: 1.45; color: var(--text); }
.sources .soon { justify-self: start; color: var(--text-2); font-size: var(--fs-cap); }
.imprint a[href^="tel:"] { white-space: nowrap; }
