/* agent-watermark: model=claude-opus-5-5; effort=high; duration=150m; seat=claude-code; date=2026-11-29 */
/* agent-watermark: model=claude-opus-5-5; effort=high; duration=90m; seat=claude-code; date=2026-11-30 */
/* hello luca: airy blue with wisps of medium blue, liquid glass on a few key surfaces, fluorescent-orange actions.
   Motion: one load intro, then a single pinned scroll journey (the browser travels; v3.js drives it). */

@font-face { font-family: "Manrope"; src: url("fonts/Manrope-var.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  /* the signature: an airy blue field, with wisps of a medium accent blue running through it */
  --air-0: #F6FAFF;
  --air-1: #EAF2FF;
  --air-2: #DCE8FF;
  --wisp: #4C86FF;
  --blue: #2563F5;
  --navy: #0F2C70;
  --ink: #0A1838;
  --ink-2: #405479;
  --ink-3: #4F6288;   /* 4.9:1 on the palest blue, 4.5:1+ everywhere small text sits */
  --line: rgba(31, 72, 165, .12);

  --neon-a: #FF4D00;
  --neon-b: #FF7A00;
  --neon-c: #FFB020;
  --neon-ink: #210800;

  --display: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-md: 22px; --r-lg: 30px; --r-xl: 38px;
  --spring: cubic-bezier(.2, .9, .22, 1);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(20px, 4vw, 40px);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; background: var(--air-1); color: var(--ink);
  font: 400 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.035em; line-height: 1.08; font-weight: 800; text-wrap: balance; color: var(--ink); }
h2 { font-size: clamp(32px, 4.4vw, 56px); max-width: 18ch; }
h3 { font-size: 20px; letter-spacing: -0.02em; line-height: 1.25; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 10px; }
[hidden] { display: none !important; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 700; }
.skip:focus { top: 16px; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(80px, 10vw, 128px); position: relative; }
.sub { color: var(--ink-2); font-size: clamp(17px, 1.5vw, 19px); max-width: 56ch; margin-top: 20px; }

/* ---------- Sky: airy field, soft light, and wisps of medium blue ---------- */
.sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(60vmax 60vmax at 6% -8%, rgba(255,255,255,.95), rgba(255,255,255,0) 70%),
    radial-gradient(54vmax 54vmax at 104% 30%, rgba(140,185,255,.4), rgba(140,185,255,0) 70%),
    radial-gradient(50vmax 50vmax at 44% 118%, rgba(255,255,255,.85), rgba(255,255,255,0) 70%),
    linear-gradient(180deg, var(--air-0) 0%, var(--air-1) 46%, var(--air-2) 100%); }
/* the soft streaks are a pre-rendered image (one cheap layer); the fine lines stay vector */
/* static on purpose: drifting them made every glass surface re-filter every frame, even at rest */
.wisps { position: absolute; inset: -6%; }
.wisps > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.wisps-soft { object-fit: cover; object-position: 50% 50%; max-width: none; }
.wisps-lines { opacity: .75; }

/* ---------- Liquid glass ----------
   Reserved for a few surfaces: the nav, the chapter rail, the secondary hero button and the featured plan.
   Thick clear glass: little blur, a catch-light on the top-left edge, a tinted inner bottom edge, an
   iridescent rim and, in Chromium, real refraction of what sits behind it (generated displacement map).
   .glass-frame is the same material without backdrop sampling, for the moving device frames. */
.lg, .glass-frame {
  position: relative; isolation: isolate;
  border-radius: var(--r-lg);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.7),
    inset 1.5px 2px 0 -.5px rgba(255,255,255,1),
    inset -1px -1.5px 0 -.5px rgba(255,255,255,.55),
    inset 0 -14px 26px -16px rgba(40,95,215,.28),
    inset 0 12px 24px -16px rgba(255,255,255,.95),
    0 1px 2px rgba(20,50,120,.06),
    0 18px 44px -18px rgba(30,70,170,.34);
}
.lg {
  background: linear-gradient(165deg, rgba(255,255,255,.62) 0%, rgba(255,255,255,.28) 42%, rgba(255,255,255,.18) 100%);
  -webkit-backdrop-filter: blur(10px) saturate(185%) brightness(1.04);
  backdrop-filter: blur(10px) saturate(185%) brightness(1.04);
}
.lg.refract { background: linear-gradient(165deg, rgba(255,255,255,.42) 0%, rgba(255,255,255,.14) 45%, rgba(255,255,255,.08) 100%); }
.glass-frame { background: linear-gradient(165deg, rgba(255,255,255,.86) 0%, rgba(246,250,255,.62) 45%, rgba(228,238,255,.66) 100%); }
.lg::before, .glass-frame::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  background:
    radial-gradient(380px circle at var(--mx, 22%) var(--my, -20%), rgba(255,255,255,.55), rgba(255,255,255,0) 50%),
    linear-gradient(172deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 26%),
    radial-gradient(120% 70% at 50% 125%, rgba(120,170,255,.35), rgba(120,170,255,0) 62%);
}
.lg::after, .glass-frame::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.2px; pointer-events: none; z-index: 3;
  background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(190,215,255,.55) 32%, rgba(255,205,235,.45) 58%, rgba(185,240,255,.6) 78%, rgba(255,255,255,.95) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.lg > *, .glass-frame > * { position: relative; z-index: 1; }
[data-depth] { will-change: transform; }
.glass { position: relative; isolation: isolate;
  background: linear-gradient(165deg, rgba(255,255,255,.8) 0%, rgba(255,255,255,.55) 48%, rgba(238,245,255,.62) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.8),
    inset 1.5px 2px 0 -.5px #fff,
    inset 0 -14px 26px -18px rgba(40,95,215,.24),
    0 1px 2px rgba(20,50,120,.05),
    0 26px 54px -36px rgba(30,70,170,.5); }
.glass::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: var(--lit, 0); transition: opacity .5s var(--ease);
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.75), rgba(255,255,255,0) 60%); }
.glass:hover { --lit: 1; }
.glass::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.2px; pointer-events: none; z-index: 2;
  background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(190,215,255,.5) 34%, rgba(255,210,236,.38) 60%, rgba(185,240,255,.55) 80%, rgba(255,255,255,.9) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }

/* ---------- Buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 15px/1 var(--body); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  position: relative; isolation: isolate;
  transition: transform .45s var(--spring), box-shadow .45s var(--ease), color .3s, background-color .3s;
}
.btn > span { position: relative; z-index: 4; }
.btn-sm { --h: 40px; padding: 0 16px; font-size: 14px; }
.btn-lg { --h: 58px; padding: 0 30px; font-size: 16.5px; }
.btn-block { width: 100%; }

/* Fluorescent orange, the opposite of the sky */
.btn-neon {
  color: var(--neon-ink);
  background: linear-gradient(115deg, var(--neon-c) 0%, var(--neon-b) 46%, var(--neon-a) 100%);
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,.7), inset 0 -3px 8px rgba(170,35,0,.32),
    0 0 0 1px rgba(255,140,40,.55), 0 10px 26px -6px rgba(255,95,0,.55), 0 0 44px -8px rgba(255,120,0,.55);
}
.btn-neon::before { content: ""; position: absolute; inset: 1.5px 1.5px 52% 1.5px; border-radius: 999px 999px 40px 40px; z-index: 1; background: linear-gradient(180deg, rgba(255,255,255,.6), rgba(255,255,255,0)); opacity: .6; pointer-events: none; }
.btn-neon { overflow: hidden; }
.btn-neon::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 46%; z-index: 2; pointer-events: none;
  background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.55) 50%, rgba(255,255,255,0)); transform: translateX(-130%) skewX(-18deg); transition: transform .9s var(--ease); }
.btn-neon:hover::after { transform: translateX(260%) skewX(-18deg); }
.btn-neon:hover { color: var(--neon-ink); transform: translateY(-2px);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,.75), inset 0 -3px 8px rgba(170,35,0,.32), 0 0 0 1px rgba(255,160,60,.8), 0 16px 36px -6px rgba(255,95,0,.7), 0 0 64px -6px rgba(255,120,0,.7); }
.btn-neon:active { transform: translateY(0) scale(.98); transition-duration: .12s; }

.btn-glass { color: var(--ink); border-radius: 999px; }
.plan .btn-glass { align-self: stretch; }
.btn-glass:hover { color: var(--ink); transform: translateY(-2px); }
.btn-glass:active { transform: scale(.98); transition-duration: .12s; }


/* ---------- Nav ---------- */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; pointer-events: none; }
.nav-pill { pointer-events: auto; width: min(1080px, 100% - 2 * var(--gutter)); margin-inline: auto; display: flex; align-items: center; gap: 12px; padding: 7px 7px 7px 16px; border-radius: 999px; }
.nav.scrolled .nav-pill, .nav.scrolled .nav-pill.refract { background: linear-gradient(165deg, rgba(255,255,255,.9), rgba(244,249,255,.76)); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 800 17px/1 var(--display); letter-spacing: -0.03em; }
.brand img { border-radius: 8px; box-shadow: 0 2px 8px rgba(10,30,80,.25); }
.brand span { white-space: nowrap; }
.brand:hover { color: var(--ink); }
.nav-links { display: flex; gap: 2px; margin-left: auto; position: relative; }
.nav-ind { position: absolute; top: 0; bottom: 0; left: 0; width: 0; z-index: 0; border-radius: 999px; pointer-events: none; opacity: 0;
  background: linear-gradient(170deg, rgba(255,255,255,.96), rgba(255,255,255,.62)); box-shadow: inset 0 0 0 1px #fff, inset 0 -6px 10px -8px rgba(40,95,215,.3), 0 4px 12px -6px rgba(30,70,170,.42);
  transition: transform .6s var(--spring), width .6s var(--spring), opacity .3s; }
.nav-links a { position: relative; z-index: 1; color: var(--ink-2); text-decoration: none; font-size: 14.5px; font-weight: 560; padding: 9px 13px; border-radius: 999px; transition: color .25s, background-color .25s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.on { color: var(--ink); }
.nav-cta { margin-left: 6px; }
/* how far down the page you are: a hairline along the bottom of the glass */
.nav-progress { position: absolute !important; left: 22px; right: 22px; bottom: 2px; height: 2px; z-index: 4 !important; border-radius: 2px; pointer-events: none;
  background: linear-gradient(90deg, var(--blue), var(--wisp) 70%, rgba(76,134,255,.4)); transform-origin: 0 50%; transform: scaleX(0); opacity: .75; }
.t-short { display: none; }
/* Until the hero's own button has faded, the nav button stays quiet: one bright ask per screen */
.nav:not(.past) .nav-cta { color: var(--ink); background: rgba(255,255,255,.55); box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), inset 0 1px 0 #fff, 0 4px 12px -6px rgba(30,70,170,.3); }
.nav:not(.past) .nav-cta::before { opacity: 0; }

.mnav { display: none; position: relative; }
.mnav summary { list-style: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-content: center; gap: 6px; cursor: pointer; background: rgba(255,255,255,.6); box-shadow: inset 0 0 0 1px rgba(255,255,255,.9); }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary i { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .4s var(--spring); }
.mnav[open] summary i:first-child { transform: translateY(4px) rotate(45deg); }
.mnav[open] summary i:last-child { transform: translateY(-4px) rotate(-45deg); }
.mnav-panel { position: absolute; right: 0; top: calc(100% + 12px); width: min(280px, 80vw); padding: 10px; display: grid; border-radius: var(--r-md);
  background: linear-gradient(165deg, #fff, #F5F9FF); box-shadow: 0 0 0 1px var(--line), 0 24px 48px -20px rgba(20,50,130,.4); }
.mnav[open] .mnav-panel { animation: menuIn .45s var(--spring); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px) scale(.97); } }
.mnav-panel a { color: var(--ink); text-decoration: none; padding: 12px 14px; border-radius: 12px; font-weight: 600; }
.mnav-panel a:hover { background: var(--air-1); }

/* ---------- The journey: one pinned stage ---------- */
.journey { position: relative; height: 820vh; }
/* "The rebuild" lands on the finished rebuild (journey progress .51 of a 720vh run) */
.j-anchor { position: absolute; left: 0; top: calc(367.2vh + 96px); width: 1px; height: 1px; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-grid { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(37,99,245,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(37,99,245,.07) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center -1px;
  -webkit-mask: radial-gradient(76% 52% at 50% 52%, #000 28%, transparent 76%); mask: radial-gradient(76% 52% at 50% 52%, #000 28%, transparent 76%); }

.j-hero { position: absolute; top: 0; left: 0; right: 0; z-index: 6; padding-top: clamp(104px, 13vh, 136px); text-align: center; display: grid; justify-items: center; transform-origin: 50% 0; }
.chip { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 580; color: var(--ink); padding: 8px 15px 8px 12px; border-radius: 999px; background: rgba(255,255,255,.66); box-shadow: inset 0 0 0 1px rgba(255,255,255,.95), 0 6px 18px -10px rgba(30,70,170,.4); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #18C27A; box-shadow: 0 0 0 3px rgba(24,194,122,.18); }
.headline { margin-top: 22px; font-size: clamp(44px, 6vw, 84px); letter-spacing: -0.052em; line-height: 1; max-width: 16ch; padding-bottom: .04em; color: var(--ink); }
.headline:not(.split), .headline .w > span { background: linear-gradient(180deg, #0A1838 30%, #2A5BD6 125%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.headline .w > span { background-image: linear-gradient(105deg, rgba(120,170,255,0) 42%, rgba(150,195,255,.95) 50%, rgba(120,170,255,0) 58%), linear-gradient(180deg, #0A1838 30%, #2A5BD6 125%);
  background-size: 260% 100%, 100% 100%; background-position: 160% 0, 0 0; background-repeat: no-repeat; }
.js.loaded .headline .w > span { animation: sheen 1.3s cubic-bezier(.45,0,.2,1) both; animation-delay: calc(2.7s + var(--i) * 70ms); }
@keyframes sheen { from { background-position: 160% 0, 0 0; } to { background-position: -60% 0, 0 0; } }
/* the main ask glows once after the intro, so the eye lands on it */
.js.loaded .j-hero .btn-neon { animation: askGlow 1.8s ease-out 3.3s 1 both; }
@keyframes askGlow {
  0% { box-shadow: inset 0 1.5px 0 rgba(255,255,255,.7), inset 0 -3px 8px rgba(170,35,0,.32), 0 0 0 1px rgba(255,140,40,.55), 0 10px 26px -6px rgba(255,95,0,.55), 0 0 44px -8px rgba(255,120,0,.55), 0 0 0 0 rgba(255,122,0,.45); }
  60% { box-shadow: inset 0 1.5px 0 rgba(255,255,255,.7), inset 0 -3px 8px rgba(170,35,0,.32), 0 0 0 1px rgba(255,140,40,.55), 0 10px 26px -6px rgba(255,95,0,.55), 0 0 64px -6px rgba(255,120,0,.7), 0 0 0 14px rgba(255,122,0,0); }
  100% { box-shadow: inset 0 1.5px 0 rgba(255,255,255,.7), inset 0 -3px 8px rgba(170,35,0,.32), 0 0 0 1px rgba(255,140,40,.55), 0 10px 26px -6px rgba(255,95,0,.55), 0 0 44px -8px rgba(255,120,0,.55), 0 0 0 14px rgba(255,122,0,0); }
}
.headline .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .03em .2em; margin: 0 -.03em -.2em; }
.headline .w > span { display: inline-block; padding: 0 .03em .2em; margin: 0 -.03em -.2em; }
.lede { margin-top: 26px; max-width: 54ch; font-size: clamp(17px, 1.55vw, 19.5px); color: var(--ink-2); }
.actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* chapter captions, crossfaded by scroll */
.j-caps { position: absolute; left: 0; right: 0; top: 92px; z-index: 6; display: grid; justify-items: center; pointer-events: none; padding: 0 var(--gutter); }
.cap { grid-area: 1 / 1; text-align: center; max-width: 1120px; opacity: 0; will-change: transform, opacity; }
.cap h2 { font-size: clamp(26px, 2.8vw, 42px); max-width: none; letter-spacing: -0.042em; }
.cap-end .btn { margin-top: 22px; pointer-events: auto; }
/* side captions: on wide screens they take the half of the stage the device isn't using */
@media (min-width: 760px) and (min-height: 561px) {
  .cap.side { position: absolute; grid-area: auto; width: min(38vw, 540px); text-align: left; }
  .cap.side.left { left: max(28px, 5vw); }
  .cap.side.right { right: max(28px, 5vw); }
  .cap.side h2 { font-size: clamp(30px, 3.4vw, 56px); line-height: 1.04; text-wrap: balance; }
  .cap.side p { margin: 18px 0 0; font-size: clamp(16px, 1.3vw, 19px); max-width: 42ch; }
}
.co1 { transform-origin: 100% 0; } .co2 { transform-origin: 0 50%; } .co3 { transform-origin: 100% 50%; }
.cap p { margin: 10px auto 0; color: var(--ink-2); font-size: clamp(15px, 1.2vw, 17px); max-width: 74ch; }

/* the ground the window rises out of: clipped at the horizon until the window is clear of it */
.j-ground { position: absolute; inset: 0 0 64px 0; overflow: hidden; z-index: 3; }
/* soft contact shadows that travel with the devices and ground them in the space */
.j-floor { position: absolute; left: 50%; top: 0; z-index: 2; width: var(--ww, 80vw); height: 70px; margin-left: calc(var(--ww, 80vw) / -2); border-radius: 50%; pointer-events: none; opacity: 0; will-change: transform, opacity;
  background: radial-gradient(closest-side, rgba(22,58,150,.30), rgba(22,58,150,.12) 55%, rgba(22,58,150,0)); }
.j-floor-ph { width: calc(var(--pw, 280px) * 1.3); margin-left: calc(var(--pw, 280px) * -.65); height: 44px; }
.j-ground.free { overflow: visible; }
.j-win { will-change: opacity; position: absolute; left: var(--wx, 6vw); top: var(--wy, 30vh); width: var(--ww, 88vw); }
.riser { transform-origin: 50% 100%; }
.window { border-radius: var(--r-xl); padding: 12px; transform-origin: 50% 50%; will-change: transform;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.7), inset 1.5px 2px 0 -.5px #fff, inset 0 -14px 26px -16px rgba(40,95,215,.28),
    0 2px 4px rgba(20,50,120,.06), 0 40px 80px -34px rgba(25,70,190,.5), 0 14px 32px -14px rgba(25,70,190,.24); }
.j-hz { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: 4; pointer-events: none; }
.j-hz::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(234,242,255,0) 0%, rgba(236,244,255,.72) 62%, rgba(241,247,255,.97) 100%); }
.horizon { position: absolute; left: 0; right: 0; bottom: 1px; height: 2px; }
.horizon::after { content: ""; position: absolute; left: 8%; right: 8%; top: 2px; height: 1px; background: linear-gradient(90deg, rgba(37,99,245,0), rgba(37,99,245,.3) 30%, rgba(37,99,245,.3) 70%, rgba(37,99,245,0)); }
.horizon i { position: absolute; inset: 0; transform-origin: 50% 50%;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.95) 22%, #fff 50%, rgba(255,255,255,.95) 78%, rgba(255,255,255,0));
  box-shadow: 0 0 18px 4px rgba(130,180,255,.55), 0 0 60px 16px rgba(170,208,255,.45); }

.chrome { display: flex; align-items: center; gap: 12px; padding: 4px 6px 12px; }
.dots { display: inline-flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(15,44,112,.16); box-shadow: inset 0 0 0 1px rgba(15,44,112,.08); }
.dots i:first-child { background: #FF6B5C; } .dots i:nth-child(2) { background: #FFC23D; } .dots i:nth-child(3) { background: #2FCB6A; }
.url { flex: 1; text-align: center; font-size: 12.5px; color: var(--ink-2); background: rgba(255,255,255,.62); border-radius: 999px; padding: 6px 12px; max-width: 360px; margin-inline: auto; box-shadow: inset 0 0 0 1px rgba(255,255,255,.9); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-tag { font-size: 11.5px; font-weight: 700; color: var(--navy); padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px rgba(255,255,255,.95); white-space: nowrap; }
.screen { position: relative; aspect-ratio: 16 / 10; border-radius: calc(var(--r-xl) - 14px); overflow: hidden; background: #E9E4D2; box-shadow: 0 0 0 1px rgba(15,44,112,.10), 0 2px 10px rgba(15,44,112,.10); }
.screen > .site-before, .wipe { position: absolute; inset: 0; }
.wipe { overflow: hidden; z-index: 2; will-change: transform; }
.wipe-in { position: absolute; inset: 0; will-change: transform; }
.wipe-in > .site-after { position: absolute; inset: 0; display: flex; flex-direction: column; }
.seam { position: absolute; top: 0; bottom: 0; left: 0; width: 3px; margin-left: -1.5px; z-index: 5; background: #fff; opacity: 0; will-change: transform, opacity;
  box-shadow: 0 0 0 1px rgba(37,99,245,.18), 0 0 18px 3px rgba(76,134,255,.75), 0 0 64px 12px rgba(120,170,255,.45); }
.dim { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; background: linear-gradient(180deg, rgba(238,245,255,.5), rgba(222,234,255,.78)); }

/* annotations on the rebuild: solid, not glass */
.callout { position: absolute; z-index: 6; margin: 0; display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px 8px 10px; border-radius: 999px;
  background: #fff; color: var(--ink); font: 650 13px/1.2 var(--body); white-space: nowrap; pointer-events: none; opacity: 0; will-change: transform, opacity;
  box-shadow: 0 14px 32px -12px rgba(20,60,160,.5), 0 0 0 1px rgba(37,99,245,.14); }
.callout::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--wisp); box-shadow: 0 0 0 4px rgba(76,134,255,.22); flex: none; }
.co1 { top: 12.5%; right: 2.4%; }
.co2 { left: 53%; top: 66.5%; }
.co3 { right: 4%; top: 44%; }

/* Demo client site: its own brand, deliberately not hello luca's */
.site-after { --sa-ink: #17201B; --sa-green: #1F4D3A; font-family: var(--body); color: var(--sa-ink); background: #F6F3EE; }
.sa-nav { display: flex; align-items: center; gap: 22px; padding: 16px 24px; font-size: 14px; color: #3C4A42; flex: none; }
.sa-nav b { font: 800 17px/1 var(--display); letter-spacing: -0.03em; color: var(--sa-ink); margin-right: auto; }
.sa-nav em { font-style: normal; font-weight: 700; color: #fff; background: var(--sa-green); padding: 8px 14px; border-radius: 999px; }
.sa-hero { position: relative; margin: 0 14px; border-radius: 18px; overflow: hidden; flex: 1 1 auto; min-height: 0; }
.sa-hero picture, .sa-hero img { width: 100%; height: 100%; object-fit: cover; }
.sa-hero img { object-position: 50% 70%; }
.sa-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,20,15,.84) 0%, rgba(10,20,15,.5) 55%, rgba(10,20,15,.26) 100%); }
.sa-copy { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: clamp(18px, 3.6vw, 48px); color: #fff; max-width: 620px; }
.sa-copy small { font-size: 13px; opacity: .85; }
.sa-copy strong { font: 800 clamp(22px, 3.4vw, 46px)/1.04 var(--display); letter-spacing: -0.04em; }
.sa-copy span { font-size: clamp(13px, 1.25vw, 16px); opacity: .9; max-width: 42ch; }
.sa-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.sa-btns i { font-style: normal; font-weight: 700; font-size: 13.5px; padding: 11px 18px; border-radius: 999px; background: #fff; color: var(--sa-ink); }
.sa-btns i.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); }
.sa-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 12px 14px 14px; flex: none; }
.sa-cards div { background: #fff; border-radius: 14px; padding: 12px 16px; display: grid; gap: 2px; box-shadow: 0 1px 0 rgba(0,0,0,.05); }
.sa-cards b { font-size: 14px; }
.sa-cards span { font-size: 12.5px; color: #5A665F; }

/* the old site, faithfully dated */
.site-before { background: #E9E4D2; color: #222; font-family: "Times New Roman", Times, serif; font-size: 13px; display: flex; flex-direction: column; }
.sb-head { background: linear-gradient(#5B6E8C, #33415A); color: #fff; padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; border-bottom: 3px solid #A8892F; }
.sb-head b { font-size: 22px; letter-spacing: .06em; font-family: Georgia, serif; }
.sb-head i { font-size: 12px; color: #E6D9A8; }
.sb-menu { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 7px 18px; background: #CFC6A8; font-size: 12px; color: #1A3DAA; border-bottom: 1px solid #A49B7C; }
.sb-body { display: grid; grid-template-columns: 1fr 150px; gap: 14px; padding: 14px 18px; flex: 1; }
.sb-main h3 { font: bold 18px/1.2 Georgia, serif; color: #7A1F1F; letter-spacing: 0; margin-bottom: 8px; }
.sb-main p { margin-bottom: 8px; line-height: 1.4; font-size: 12.5px; }
.sb-main u { color: #1A3DAA; font-size: 12.5px; }
.sb-side { background: #F5F0DD; border: 1px solid #B9AE88; padding: 8px; display: flex; flex-direction: column; gap: 4px; font-size: 11px; align-self: start; }
.sb-side b { color: #33415A; font-size: 11px; }
.sb-side em { color: #C00; font-weight: bold; font-style: normal; text-align: center; margin-top: 6px; }
.sb-foot { background: #33415A; color: #C9CEDA; text-align: center; font-size: 10.5px; padding: 6px; }

/* the phone: drawn at a 300px virtual width and scaled to fit */
.j-phone { position: absolute; left: var(--px, 62vw); top: var(--py, 20vh); width: var(--pw, 280px); height: var(--ph, 580px); z-index: 5; visibility: hidden; will-change: transform; }
.ph-frame { width: 100%; height: 100%; border-radius: calc(var(--pw, 280px) * .17); padding: calc(var(--pw, 280px) * .036);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.7), inset 1.5px 2px 0 -.5px #fff, inset 0 -14px 26px -16px rgba(40,95,215,.3),
    0 50px 90px -36px rgba(25,70,190,.55), 0 16px 34px -14px rgba(25,70,190,.3); }
.ph-frame > .ph-island { position: absolute; z-index: 6; top: calc(var(--pw, 280px) * .062); left: 50%; width: 31%; height: calc(var(--pw, 280px) * .088); transform: translateX(-50%); border-radius: 999px; background: #0B1220; }
.ph-frame > .ph-screen { height: 100%; border-radius: calc(var(--pw, 280px) * .135); overflow: hidden; background: #F6F3EE; box-shadow: 0 0 0 1px rgba(15,44,112,.14); }
.ph-inner { position: absolute; left: 0; top: 0; width: 300px; height: var(--pih, 600px); transform: scale(var(--ps, .9)); transform-origin: 0 0; overflow: hidden; }
.ph-scroll { font-family: var(--body); color: #17201B; will-change: transform; }
.ph-status { display: flex; justify-content: space-between; align-items: center; padding: 16px 26px 4px; font-size: 13px; }
.ph-status b { font-weight: 650; }
.ph-status span { display: inline-flex; gap: 3px; align-items: flex-end; }
.ph-status span i { width: 4px; border-radius: 1px; background: #17201B; }
.ph-status span i:nth-child(1) { height: 6px; } .ph-status span i:nth-child(2) { height: 8px; } .ph-status span i:nth-child(3) { height: 10px; }
.ph-nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 12px; }
.ph-nav b { font: 800 16px/1 var(--display); letter-spacing: -0.03em; }
.ph-nav em { font-style: normal; font-weight: 700; font-size: 12.5px; color: #fff; background: #1F4D3A; padding: 8px 14px; border-radius: 999px; }
.ph-hero { position: relative; margin: 0 10px; height: 380px; border-radius: 18px; overflow: hidden; }
.ph-hero picture, .ph-hero img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 60%; }
.ph-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,20,15,.9) 0%, rgba(10,20,15,.55) 50%, rgba(10,20,15,.15) 100%); }
.ph-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 18px; display: grid; gap: 8px; color: #fff; }
.ph-copy small { font-size: 12px; opacity: .85; }
.ph-copy strong { font: 800 27px/1.05 var(--display); letter-spacing: -0.04em; margin-bottom: 6px; }
.ph-copy i { font-style: normal; font-weight: 700; font-size: 14px; text-align: center; padding: 12px; border-radius: 999px; background: #fff; color: #17201B; }
.ph-copy i.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); }
.ph-cards { display: grid; gap: 8px; padding: 10px; }
.ph-cards div { background: #fff; border-radius: 14px; padding: 12px 14px; display: grid; gap: 2px; box-shadow: 0 1px 0 rgba(0,0,0,.05); }
.ph-cards b { font-size: 14px; } .ph-cards span { font-size: 12.5px; color: #5A665F; }
.ph-foot { text-align: center; font-size: 12px; color: #5A665F; padding: 10px 0 40px; }
.ph-dim { position: absolute; inset: 0; opacity: 0; background: linear-gradient(180deg, rgba(214,228,255,.5), rgba(196,214,252,.6)); -webkit-backdrop-filter: blur(9px) saturate(150%); backdrop-filter: blur(9px) saturate(150%); }
.notifs { position: absolute; left: 10px; right: 10px; top: 50px; display: grid; gap: 8px; }
.notif { display: flex; gap: 10px; align-items: flex-start; padding: 11px 12px; border-radius: 20px; opacity: 0; will-change: transform, opacity;
  background: rgba(248,251,255,.9); -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%);
  box-shadow: inset 0 0 0 .5px rgba(255,255,255,.95), 0 1px 2px rgba(5,20,60,.12), 0 14px 30px -12px rgba(5,25,80,.55); }
.n-ico { flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font: 800 15px/1 var(--display); color: #fff; }
.n-form { background: #1F4D3A; }
.n-auto { background: linear-gradient(160deg, #6E9DFF, var(--blue)); }
.n-you { background: linear-gradient(140deg, var(--neon-c), var(--neon-a)); color: var(--neon-ink); }
.notif > div { min-width: 0; flex: 1; }
.notif p { font-size: 12.5px; line-height: 1.35; color: #1A2233; }
.notif p:first-child { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 1px; }
.notif small { font-size: 11px; color: #7A8597; }

/* chapter rail: liquid glass over whatever is behind it */
.j-rail { position: absolute; left: 50%; bottom: 14px; z-index: 7; display: flex; padding: 4px; border-radius: 999px; transform: translateX(-50%); opacity: 0; visibility: hidden; }
.j-rail button { appearance: none; border: 0; background: none; cursor: pointer; font: 620 13px/1 var(--body); color: var(--ink-2); padding: 10px 14px; border-radius: 999px; transition: color .3s; white-space: nowrap; }
.j-rail button:hover { color: var(--ink); }
.j-rail button[aria-current="step"] { color: var(--ink); }
.rail-blob { position: absolute !important; z-index: 1 !important; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; pointer-events: none;
  background: linear-gradient(170deg, #fff, rgba(255,255,255,.82)); box-shadow: inset 0 0 0 1px #fff, 0 4px 12px -4px rgba(30,70,170,.42);
  transition: transform .5s var(--spring), width .5s var(--spring); }
.j-rail button { position: relative; z-index: 2; }

/* ---------- Facts ---------- */
.facts-band { position: relative; padding-top: clamp(40px, 6vw, 72px); }
.facts-bar { border-radius: 30px; padding: 22px 10px; }
.facts { position: relative; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts > div { padding: 8px 22px; position: relative; }
.facts > div + div::before { content: ""; position: absolute; left: 0; top: 12%; bottom: 12%; width: 1px; background: var(--line); }
.facts dt { font-size: 13.5px; color: var(--ink-3); }
.facts dd { margin: 4px 0 0; font: 800 clamp(19px, 2vw, 24px)/1.2 var(--display); letter-spacing: -0.03em; color: var(--ink); }

/* ---------- Scroll scenes (pinned stages) ---------- */
.scene { position: relative; }
.scene-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; align-content: center; }

/* the promise, lit word by word under a drifting liquid-glass lens */
.statement { height: 260vh; }
.st-text { position: relative; z-index: 1; width: min(1060px, 100% - 2 * var(--gutter)); margin: 0 auto; text-align: center; text-wrap: balance;
  font: 800 clamp(34px, 5vw, 72px)/1.1 var(--display); letter-spacing: -0.045em; color: var(--ink); }
.st-text .sw { opacity: .14; }
.lens { position: absolute; left: 0; top: 0; z-index: 2; width: clamp(170px, 24vw, 330px); height: clamp(170px, 24vw, 330px); border-radius: 50%; pointer-events: none; opacity: 0; will-change: transform, opacity;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.75), inset 3px 4px 0 -1px #fff, inset -2px -3px 0 -1px rgba(255,255,255,.6), inset 0 -26px 44px -26px rgba(40,95,215,.4), inset 0 22px 40px -24px rgba(255,255,255,.95), 0 40px 70px -30px rgba(25,70,190,.45), 0 10px 24px -12px rgba(25,70,190,.25); }
.lens.refract { background: radial-gradient(circle at 30% 24%, rgba(255,255,255,.4), rgba(255,255,255,0) 42%), radial-gradient(circle at 70% 82%, rgba(120,170,255,.22), rgba(120,170,255,0) 46%); }
.lens > i { position: absolute; inset: 14% 18% auto auto; width: 22%; height: 12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.95), rgba(255,255,255,0)); transform: rotate(32deg); }

/* how it works: a track the glass bead travels, lighting each step */
.how.scene { height: 280vh; }
.how h2 { max-width: 20ch; }
.steps-wrap { position: relative; margin-top: 64px; isolation: isolate; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.step { position: relative; }
.num { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font: 800 16px/1 var(--display); color: #fff; margin-bottom: 24px;
  background: linear-gradient(150deg, #7BAEFF, var(--blue)); box-shadow: 0 0 0 6px var(--air-1), inset 0 1.5px 0 rgba(255,255,255,.6), inset 0 -2px 4px rgba(10,40,140,.3), 0 6px 16px -4px rgba(37,99,245,.6); }
.num::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; opacity: var(--on, 1); box-shadow: 0 0 0 1.5px rgba(76,134,255,.45), 0 0 26px 6px rgba(76,134,255,.42); }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--ink-2); font-size: 15.5px; max-width: 30ch; }
.track { position: absolute; left: 0; top: 0; z-index: -1; height: 2px; width: 0; border-radius: 2px; transform-origin: 0 50%; background: rgba(37,99,245,.13); }
.track > i { position: absolute; inset: 0; border-radius: inherit; transform-origin: 0 50%; transform: scaleX(1); background: linear-gradient(90deg, var(--blue), var(--wisp)); box-shadow: 0 0 12px rgba(76,134,255,.6); }
.bead { position: absolute !important; left: 0; top: 0; z-index: 3 !important; width: 58px; height: 58px; border-radius: 50%; pointer-events: none; will-change: transform;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.8), inset 2px 3px 0 -1px #fff, inset 0 -10px 16px -10px rgba(37,99,245,.5), 0 0 0 1.5px rgba(76,134,255,.35), 0 10px 24px -8px rgba(25,70,190,.45); }
html:not(.js) .bead { display: none; }

/* ---------- Work: a sideways reel of three fictional rebuilds ---------- */
.work.scene { height: 320vh; --cw: min(980px, 70vw, calc((100svh - 430px) * 1.5)); }
.work .scene-stage { padding-top: 64px; }
.work-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 2.6vh, 32px); }
.work-head h2 { font-size: clamp(28px, 3.4vw, 48px); max-width: 24ch; }
.work-head .sub { margin-top: 12px; max-width: 64ch; }
.work-view { position: relative; min-width: 0; }
.work-track { display: flex; gap: 5vw; padding-inline: calc((100vw - var(--cw)) / 2); will-change: transform; }
.demo-card { flex: none; width: var(--cw); margin: 0; will-change: transform, opacity; transform-origin: 50% 40%; }
.demo-frame { border-radius: var(--r-xl); padding: 12px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), inset 1.5px 2px 0 -.5px #fff, inset 0 -14px 26px -16px rgba(40,95,215,.28), 0 2px 4px rgba(20,50,120,.06), 0 36px 70px -34px rgba(25,70,190,.5); }
.demo-screen { container-type: inline-size; background: #F6F3EE; }
.demo-screen > .site-after, .demo-screen > .dm { position: absolute; inset: 0; display: flex; flex-direction: column; }
.demo-cap { margin-top: 18px; display: grid; gap: 4px; max-width: 62ch; will-change: opacity; }
.demo-cap h3 { font-size: 19px; }
.demo-cap p { color: var(--ink-2); font-size: 15.5px; }

/* the two typographic demo sites, sized in container units so they scale with the card */
.dm { font-family: var(--body); }
.dm-nav { display: flex; align-items: center; gap: 2.4cqw; padding: 2.1cqw 3cqw; font-size: 1.45cqw; flex: none; }
.dm-nav b { font: 800 1.95cqw/1 var(--display); letter-spacing: -0.03em; margin-right: auto; }
.dm-nav em { font-style: normal; font-weight: 700; padding: 1cqw 1.8cqw; border-radius: 999px; color: #fff; }
.dm-hero { position: relative; flex: 1 1 auto; min-height: 0; margin: 0 1.5cqw; border-radius: 2cqw; overflow: hidden; display: grid; grid-template-columns: 1.25fr .75fr; }
.dm-copy { position: relative; z-index: 1; padding: 3.6cqw 4cqw; display: flex; flex-direction: column; justify-content: center; gap: 1.3cqw; }
.dm-copy small { font-size: 1.35cqw; opacity: .8; }
.dm-copy strong { font: 800 4.5cqw/1.02 var(--display); letter-spacing: -0.045em; }
.dm-copy span { font-size: 1.6cqw; opacity: .85; max-width: 40ch; }
.dm-btns { display: flex; gap: 1.2cqw; flex-wrap: wrap; margin-top: .6cqw; }
.dm-btns i { font-style: normal; font-weight: 700; font-size: 1.45cqw; padding: 1.2cqw 2.1cqw; border-radius: 999px; color: #fff; }
.dm-btns i.ghost { background: transparent !important; }
.dm-art { position: relative; }
.dm-art i { position: absolute; border-radius: 50%; }
.dm-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3cqw; padding: 1.5cqw; flex: none; }
.dm-cards div { background: #fff; border-radius: 1.5cqw; padding: 1.4cqw 1.8cqw; display: grid; gap: .3cqw; box-shadow: 0 1px 0 rgba(0,0,0,.05); }
.dm-cards b { font-size: 1.55cqw; } .dm-cards span { font-size: 1.35cqw; opacity: .7; }
.dm-physio { color: #12302D; background: #F2F7F6; }
.dm-physio .dm-nav em, .dm-physio .dm-btns i { background: #0F7C72; }
.dm-physio .dm-btns i.ghost { color: #0F7C72; box-shadow: inset 0 0 0 .2cqw #0F7C72; }
.dm-physio .dm-hero { background: linear-gradient(135deg, #DDF1EC, #BFE3DB); }
.dm-physio .dm-art i:nth-child(1) { width: 26cqw; height: 26cqw; right: -6cqw; top: -4cqw; background: radial-gradient(circle at 35% 30%, #5FC0B3, #0F7C72); opacity: .9; }
.dm-physio .dm-art i:nth-child(2) { width: 14cqw; height: 14cqw; right: 12cqw; bottom: -3cqw; background: radial-gradient(circle at 35% 30%, #FFFFFF, #CBE9E2); }
.dm-physio .dm-art i:nth-child(3) { width: 7cqw; height: 7cqw; right: 4cqw; bottom: 8cqw; background: #F5C26B; }
.dm-bakery { color: #2B1A12; background: #FBF5EC; }
.dm-bakery .dm-nav b { font-family: Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: -0.01em; }
.dm-bakery .dm-copy strong { font-family: Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: -0.02em; }
.dm-bakery .dm-nav em, .dm-bakery .dm-btns i { background: #8C2F1B; }
.dm-bakery .dm-btns i.ghost { color: #8C2F1B; box-shadow: inset 0 0 0 .2cqw #8C2F1B; }
.dm-bakery .dm-hero { background: linear-gradient(135deg, #F5E4CB, #EBC99E); }
.dm-bakery .dm-art i:nth-child(1) { width: 30cqw; height: 18cqw; right: -2cqw; top: 9cqw; border-radius: 50% 50% 46% 46%; background: radial-gradient(ellipse at 40% 30%, #E7A75D, #A8622A 70%); box-shadow: inset 0 -1.5cqw 2cqw rgba(80,35,10,.35); }
.dm-bakery .dm-art i:nth-child(2) { width: 18cqw; height: 3cqw; right: 4cqw; top: 13cqw; border-radius: 3cqw; background: rgba(255,240,215,.55); transform: rotate(-8deg); }
.dm-bakery .dm-art i:nth-child(3) { width: 9cqw; height: 9cqw; right: 20cqw; bottom: 3cqw; background: radial-gradient(circle at 35% 30%, #FFF6E8, #E9D2AE); }
@container (max-width: 560px) {
  .dm-nav { gap: 3cqw; padding: 3.4cqw 4cqw; font-size: 3cqw; }
  .dm-nav b { font-size: 4.4cqw; }
  .dm-nav span { display: none; }
  .dm-nav em { font-size: 3cqw; padding: 2cqw 3.4cqw; }
  .dm-hero { grid-template-columns: 1fr; margin: 0 2.4cqw; border-radius: 3.4cqw; }
  .dm-art { display: none; }
  .dm-copy { padding: 6cqw; gap: 2.6cqw; justify-content: flex-start; }
  .dm-copy small { font-size: 3cqw; } .dm-copy strong { font-size: 8.8cqw; } .dm-copy span { font-size: 3.6cqw; }
  .dm-btns { flex-direction: column; gap: 2cqw; } .dm-btns i { font-size: 3.4cqw; padding: 3cqw; text-align: center; }
  .dm-cards { grid-template-columns: 1fr; padding: 2.4cqw; } .dm-cards div:nth-child(n+2) { display: none; }
  .dm-cards div { padding: 3cqw 3.6cqw; border-radius: 3cqw; } .dm-cards b { font-size: 3.6cqw; } .dm-cards span { font-size: 3cqw; }
}
@media (max-width: 759px) {
  .work.scene { --cw: calc(100vw - 76px); height: 300vh; }
  .work .scene-stage { padding-top: 70px; }
  .work-head h2 { font-size: 26px; }
  .work-head .sub { font-size: 15px; margin-top: 8px; }
  .demo-screen { aspect-ratio: 4 / 5; }
  .demo-screen .sa-btns i.ghost { display: none; }
  .demo-cap { margin-top: 12px; } .demo-cap h3 { font-size: 17px; } .demo-cap p { font-size: 14px; }
  .demo-frame { padding: 7px; border-radius: 24px; }
  .work-track { gap: 18px; }
}
html:not(.js) .work-track { flex-direction: column; padding-inline: 0; align-items: center; gap: 48px; }

/* ---------- Pricing ---------- */
.pricing-wisp { position: absolute; left: 0; top: 34%; width: 100%; height: 62%; pointer-events: none; z-index: 0; }
.pricing-inner { display: grid; justify-items: center; text-align: center; position: relative; z-index: 1; }
.pricing .sub { margin-inline: auto; }
.plan { will-change: transform; }
.pricing-wisp { will-change: transform; }
.pricing { padding-top: clamp(48px, 7vw, 96px); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 430px)); gap: 22px; margin-top: 56px; justify-content: center; align-items: stretch; width: 100%; }
.plan { text-align: left; padding: 34px 32px 32px; border-radius: var(--r-lg); display: flex; flex-direction: column; position: relative; }
.plan h3 { font-size: 19px; }
.price { font: 800 74px/1 var(--display); letter-spacing: -0.05em; margin: 20px 0 26px; display: flex; align-items: baseline; gap: 8px; color: var(--ink); }
.price .cur { font-size: 18px; letter-spacing: 0; color: var(--ink-3); font-weight: 700; align-self: flex-start; margin-top: 10px; }
.price small { font: 500 15px/1 var(--body); letter-spacing: 0; color: var(--ink-3); }
.plan ul { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; flex: 1; align-content: start; }
.plan li { position: relative; padding-left: 28px; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.plan li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(37,99,245,.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M2 5.2 4.1 7.3 8 3' fill='none' stroke='%232563F5' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px no-repeat; }
.plan .btn { align-self: stretch; }
.plan-hot { background: linear-gradient(165deg, rgba(255,255,255,.62) 0%, rgba(255,255,255,.28) 42%, rgba(255,255,255,.18) 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), inset 1.5px 2px 0 -.5px #fff, inset 0 -16px 30px -18px rgba(40,95,215,.34), 0 1px 2px rgba(20,50,120,.06), 0 30px 64px -22px rgba(37,99,245,.5); }
.plan-hot.refract { background: linear-gradient(165deg, rgba(255,255,255,.5) 0%, rgba(255,255,255,.2) 45%, rgba(255,255,255,.12) 100%); }
.badge { position: absolute !important; z-index: 5 !important; top: -13px; left: 30px; font-size: 12px; font-weight: 700; padding: 6px 11px; border-radius: 999px; color: #fff; background: linear-gradient(160deg, #6E9DFF, var(--blue)); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 6px 14px -6px rgba(37,99,245,.7); }
.care-panel { margin-top: 40px; width: min(882px, 100%); text-align: left; padding: 26px 30px 24px; border-radius: var(--r-lg); }
.care-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; }
.care-head h3 { font-size: 19px; }
.care-price { font: 800 22px/1.2 var(--display); letter-spacing: -0.03em; color: var(--ink); }
.care-price small { font: 500 14px/1 var(--body); color: var(--ink-3); letter-spacing: 0; }
.care-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 18px; }
.care-list li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.care-list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(37,99,245,.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M2 5.2 4.1 7.3 8 3' fill='none' stroke='%232563F5' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px no-repeat; }
.care-note { margin-top: 16px; color: var(--ink-3); font-size: 14.5px; max-width: 76ch; }

/* ---------- Automation: three plain columns ---------- */
.auto-steps { list-style: none; margin: 44px 0 0; padding: 28px 30px; border-radius: var(--r-lg); display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: as; }
.auto-steps li { position: relative; padding: 4px 6px 4px 0; display: grid; gap: 6px; align-content: start; counter-increment: as; }
.auto-steps li + li { padding-left: 28px; border-left: 1px solid rgba(31,72,165,.12); }
.auto-steps li::before { content: counter(as); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; margin-bottom: 8px; font: 800 14px/1 var(--display); color: #fff;
  background: linear-gradient(150deg, #7BAEFF, var(--blue)); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 6px 14px -6px rgba(37,99,245,.6); }
.auto-steps b { font: 700 18px/1.3 var(--display); letter-spacing: -0.02em; color: var(--ink); }
.auto-steps span { color: var(--ink-2); font-size: 15.5px; }
.autos-head { margin-top: 72px; font-size: 22px; }
.more-autos { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.more-autos li { padding: 10px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 560; color: var(--ink);
  background: linear-gradient(165deg, rgba(255,255,255,.88), rgba(255,255,255,.58)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), inset 1px 1.5px 0 -.5px #fff, 0 0 0 1px rgba(31,72,165,.08), 0 8px 18px -14px rgba(30,70,170,.55); }
.more-autos li.own { color: #fff; background: linear-gradient(160deg, #6E9DFF, var(--blue)); box-shadow: 0 8px 18px -10px rgba(37,99,245,.8); }
.auto-note { margin-top: 22px; color: var(--ink-3); font-size: 15px; }
.autos { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.autos article { position: relative; padding-top: 26px; border-top: 1px solid var(--line); }
.autos article::before { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 2px; transform-origin: 0 50%; transform: scaleX(calc(.17 + .83 * var(--fill, 0))); background: linear-gradient(90deg, var(--blue), var(--wisp) 60%, rgba(76,134,255,.25)); }
.autos h3 { font-size: 23px; }
.autos p { margin-top: 12px; color: var(--ink-2); font-size: 16px; }
.autos .needs { font-size: 14.5px; margin-top: 16px; color: var(--ink-3); }
.autos .needs b { color: var(--ink); font-weight: 650; }
/* a small working picture of each automation, assembled as the section scrolls past */
.mini { min-height: 132px; margin-bottom: 22px; display: grid; align-content: start; gap: 8px; font-size: 13px; line-height: 1.4; }
.mini > * { will-change: transform, opacity; }
.mini small { display: block; font-size: 11px; opacity: .7; margin-top: 3px; }
.mini-chat .b { max-width: 88%; margin: 0; padding: 9px 12px 10px; border-radius: 16px; }
.mini-chat .in { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 6px 14px -10px rgba(20,50,120,.4); border-bottom-left-radius: 5px; }
.mini-chat .out { justify-self: end; color: #fff; background: linear-gradient(160deg, #6E9DFF, var(--blue)); border-bottom-right-radius: 5px; box-shadow: 0 8px 18px -10px rgba(37,99,245,.8); }
.mini-cal { grid-template-columns: 58px 1fr; gap: 12px; align-items: start; }
.mini-cal .cal { display: grid; place-items: center; height: 64px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 6px 14px -10px rgba(20,50,120,.4); overflow: hidden; }
.mini-cal .cal b { width: 100%; text-align: center; font-size: 11px; color: #fff; background: linear-gradient(160deg, #6E9DFF, var(--blue)); padding: 3px 0; }
.mini-cal .cal span { font: 800 22px/1 var(--display); color: var(--ink); }
.mini-cal .ev { display: grid; gap: 6px; justify-items: start; }
.mini-cal .ev b { font-size: 14px; color: var(--ink); }
.pill { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; background: #fff; color: var(--ink-2); box-shadow: 0 0 0 1px var(--line); }
.pill.ok, .mini-quote .ok { background: rgba(24,194,122,.12); color: #0B6B45; box-shadow: inset 0 0 0 1px rgba(24,194,122,.35); }
.mini-quote .row { margin: 0; display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); color: var(--ink-2); }
.mini-quote .row b { color: var(--ink); font-weight: 650; }

/* ---------- Commitments ---------- */
.promises { padding-top: clamp(56px, 7vw, 96px); }
.promises h2 { max-width: 22ch; }
.pledges { list-style: none; padding: 30px 32px; border-radius: var(--r-lg); margin: 52px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.pledges li { display: flex; flex-direction: column; gap: 20px; }
.pledges svg { width: 46px; height: 46px; padding: 11px; border-radius: 14px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  background: linear-gradient(165deg, #fff, rgba(240,246,255,.9)); box-shadow: inset 0 0 0 1px #fff, 0 0 0 1px rgba(31,72,165,.08), 0 8px 18px -8px rgba(37,99,245,.45); }
.pledges svg * { stroke-dasharray: 1; stroke-dashoffset: 0; }
html:not(.js) .pledges svg * { stroke-dasharray: none; }
.pledges p { font: 700 19px/1.35 var(--display); letter-spacing: -0.02em; color: var(--ink); max-width: 22ch; }

/* ---------- FAQ: a ruled list ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-grid h2 { position: sticky; top: 120px; font-size: clamp(30px, 3.6vw, 46px); }
.qa { padding: 6px 28px; border-radius: var(--r-lg); }
.qa details { position: relative; }
.qa details + details { border-top: 1px solid rgba(31,72,165,.12); }
.qa summary { list-style: none; cursor: pointer; padding: 24px 60px 24px 2px; font: 700 18px/1.35 var(--display); letter-spacing: -0.02em; color: var(--ink); border-radius: 8px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 4px; top: 22px; width: 30px; height: 30px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%230A1838' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat;
  box-shadow: 0 0 0 1px var(--line), 0 3px 8px -3px rgba(20,50,120,.3); transition: transform .45s var(--spring), background-color .3s; }
.qa summary:hover::after { background-color: var(--air-1); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { padding: 0 56px 26px 2px; color: var(--ink-2); max-width: 62ch; }
.qa details[open] p { animation: fadeUp .5s var(--ease); }
/* the answer's height eases open and closed where the browser can animate to auto */
@supports (interpolate-size: allow-keywords) {
  .qa { interpolate-size: allow-keywords; }
  .qa details::details-content { block-size: 0; overflow: clip; transition: block-size .5s var(--ease), content-visibility .5s allow-discrete; }
  .qa details[open]::details-content { block-size: auto; }
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-copy { position: sticky; top: 120px; }
.direct { margin-top: 26px; color: var(--ink-2); }
.next { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 18px; position: relative; }
.next::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, var(--blue), rgba(76,134,255,.15)); }
.next li { position: relative; padding-left: 32px; display: grid; gap: 2px; }
.next li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 4px var(--blue), 0 4px 10px -4px rgba(37,99,245,.6); }
.next b { font: 700 16px/1.3 var(--display); letter-spacing: -0.015em; color: var(--ink); }
.next span { color: var(--ink-2); font-size: 15px; }
.intake { will-change: transform; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-xl); display: grid; gap: 18px; }
.intake > * { position: relative; z-index: 3; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14.5px; font-weight: 620; color: var(--ink); }
.opt { color: var(--ink-3); font-weight: 450; margin-left: 6px; }
.field input, .field textarea {
  width: 100%; font: 450 16px/1.4 var(--body); color: var(--ink); padding: 15px 16px; border-radius: 14px; border: 0;
  background: rgba(255,255,255,.78); box-shadow: inset 0 0 0 1px rgba(31,72,165,.14), inset 0 1px 2px rgba(20,50,120,.05);
  transition: box-shadow .25s, background-color .25s; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: #6F82A8; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 1.5px var(--blue), 0 0 0 4px rgba(37,99,245,.14); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px #D93A25; }
.err { color: #B42318; font-size: 14px; }
.check { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); cursor: pointer; justify-self: start; }
.check input { width: 20px; height: 20px; accent-color: var(--blue); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.status { padding: 14px 16px; border-radius: 14px; font-size: 15px; background: var(--air-0); box-shadow: inset 0 0 0 1px var(--line); }
.status[data-kind="ok"] { background: rgba(24,194,122,.12); box-shadow: inset 0 0 0 1px rgba(24,194,122,.45); color: #0B4B33; }
.status[data-kind="fail"] { background: rgba(217,58,37,.08); box-shadow: inset 0 0 0 1px rgba(217,58,37,.35); color: #7A1D10; }
.fine { font-size: 13px; color: var(--ink-3); }
.okmark { width: 22px; height: 22px; float: left; margin: 1px 10px 0 0; fill: none; stroke: #12A36A; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.okmark * { stroke-dasharray: 1; stroke-dashoffset: 1; animation: okDraw .6s var(--ease) forwards; }
.okmark path { animation-delay: .35s; }
@keyframes okDraw { to { stroke-dashoffset: 0; } }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Footer ---------- */
.foot { position: relative; padding-top: 64px; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: start; padding-top: 32px; border-top: 1px solid var(--line); }
.foot-id p { color: var(--ink-2); font-size: 15px; margin-top: 12px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-links a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 520; }
.foot-links a:hover { color: var(--blue); }
.foot-legal { grid-column: 1 / -1; color: var(--ink-3); font-size: 13.5px; }
.giant.split { background: none; }
.giant .gl { display: inline-block; background: linear-gradient(180deg, rgba(76,134,255,.38), rgba(76,134,255,.1) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; will-change: transform; }
.giant { margin: 36px 0 0; padding-bottom: .02em; line-height: 1.02 !important; text-align: center; font: 800 clamp(80px, 21vw, 300px)/1 var(--display); letter-spacing: -0.06em; white-space: nowrap; user-select: none;
  background: linear-gradient(180deg, rgba(76,134,255,.3), rgba(76,134,255,0) 78%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Load intro: nav, headline, horizon, then the window rises out of the ground ---------- */
@keyframes navIn { from { opacity: 0; transform: translateY(-18px) scale(.98); } }
@keyframes riseIn { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } }
@keyframes horizonIn { 0% { transform: scaleX(0); opacity: 0; } 100% { transform: scaleX(1); opacity: 1; } }
@keyframes horizonFlare { 0%, 100% { filter: brightness(1); } 35% { filter: brightness(1.6) saturate(1.3); } }
@keyframes windowRise {
  0%   { transform: translateY(104%) perspective(1600px) rotateX(22deg) scale(.94); }
  62%  { transform: translateY(-1.4%) perspective(1600px) rotateX(-1.2deg) scale(1.004); }
  82%  { transform: translateY(.3%) perspective(1600px) rotateX(.3deg) scale(1); }
  100% { transform: translateY(0) perspective(1600px) rotateX(0deg) scale(1); }
}
@keyframes sweep { from { transform: translateX(-130%) skewX(-14deg); } to { transform: translateX(260%) skewX(-14deg); } }
.js .nav, .js .intro, .js .window, .js .horizon i, .js .hero-site .sa-nav, .js .hero-site .sa-copy > * { opacity: 0; }
.js .headline .w > span { transform: translateY(105%); }
.js.loaded .nav { opacity: 1; animation: navIn .9s var(--spring) .05s backwards; }
.js.loaded .intro { opacity: 1; animation: riseIn 1s var(--ease) var(--d, 0s) backwards; }
.js.loaded .headline .w > span { transform: none; transition: transform 1.05s var(--spring); transition-delay: calc(var(--i) * 50ms + 250ms); }
.js.loaded .horizon i { opacity: 1; animation: horizonIn 1s var(--ease) .8s both, horizonFlare 1.6s ease-out 1.15s both; }
.js.loaded .window { opacity: 1; }
.js.loaded .riser { animation: windowRise 1.75s var(--spring) 1s backwards; }
.js.loaded .hero-site .sa-nav { opacity: 1; animation: riseIn .8s var(--ease) 2.05s both; }
.js.loaded .hero-site .sa-copy > * { opacity: 1; animation: riseIn .8s var(--ease) both; animation-delay: calc(2.15s + var(--k, 0) * 90ms); }
.hero-site .sa-copy > :nth-child(2) { --k: 1; } .hero-site .sa-copy > :nth-child(3) { --k: 2; } .hero-site .sa-copy > :nth-child(4) { --k: 3; }
.window .screen::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; z-index: 7; pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.5), rgba(255,255,255,0)); transform: translateX(-130%) skewX(-14deg); }
.js.loaded .window .screen::after { animation: sweep 1.3s var(--ease) 2.55s both; }
/* arriving mid-page (reload, anchor link): skip the rise, show everything in place */
.no-intro.loaded .riser, .no-intro.loaded .hero-site .sa-nav, .no-intro.loaded .hero-site .sa-copy > *, .no-intro.loaded .window .screen::after { animation: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .mnav { display: block; }
  .pledges { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .step { display: grid; grid-template-columns: 40px 1fr; column-gap: 20px; align-items: start; }
  .num { margin-bottom: 0; }
  .step h3 { font-size: 18.5px; margin-bottom: 6px; }
  .step p { max-width: 44ch; }
  .steps-wrap { margin-top: 40px; }
  .bead { width: 50px; height: 50px; }
  .autos, .auto-steps { grid-template-columns: 1fr; gap: 28px; }
  .auto-steps li + li { padding-left: 0; border-left: 0; padding-top: 22px; border-top: 1px solid rgba(31,72,165,.12); }
  .care-list { grid-template-columns: 1fr 1fr; }
  .auto-steps { gap: 14px; }
  .contact-grid, .faq-grid { grid-template-columns: 1fr; }
  .contact-copy, .faq-grid h2 { position: static; }
  .facts { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .facts > div:nth-child(3)::before { display: none; }
  .facts-bar { border-radius: 26px; }
}
/* the journey switches to its phone layout here (v3.js uses the same 760px breakpoint) */
@media (max-width: 759px) {
  .window { padding: 7px; border-radius: 24px; }
  .chrome { padding: 3px 3px 8px; gap: 8px; }
  .url { display: none; }
  .demo-tag { margin-left: auto; }
  .screen { aspect-ratio: 3 / 4; border-radius: 17px; }
  .sa-nav { padding: 12px 14px; gap: 12px; }
  .sa-nav span { display: none; }
  .sa-nav em { font-size: 12px; padding: 7px 11px; }
  .sa-hero { margin: 0 8px; border-radius: 12px; }
  .sa-hero::after { background: linear-gradient(0deg, rgba(10,20,15,.3) 0%, rgba(10,20,15,.6) 45%, rgba(10,20,15,.88) 100%); }
  .sa-copy { justify-content: flex-start; }
  .sa-cards { grid-template-columns: 1fr; gap: 8px; padding: 8px; }
  .sa-cards div:nth-child(n+2) { display: none; }
  .sb-body { grid-template-columns: 1fr; }
  .sb-side { display: none; }
  .callout { display: none; }
  .j-caps { top: 84px; }
  .cap h2 { font-size: clamp(24px, 6.6vw, 30px); }
  .cap p { font-size: 15px; margin-top: 8px; }
  .j-rail { bottom: 12px; }
  .j-rail button { padding: 12px 7px; }
  .j-rail button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .j-rail button::after { content: ""; display: block; width: 7px; height: 7px; border-radius: 999px; background: rgba(15,44,112,.25); transition: width .4s var(--spring), background-color .3s; }
  .j-rail button[aria-current="step"]::after { width: 22px; background: var(--blue); }
  .rail-blob { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wisps-lines { opacity: .4; }
  .nav { top: 10px; }
  .nav-pill { padding-left: 12px; }
  .nav-cta .t-long { display: none; }
  .nav-cta .t-short { display: inline; }
  .brand span { font-size: 16px; }
  .j-hero { padding-top: 104px; }
  .actions { flex-direction: column; align-self: stretch; width: 100%; padding-inline: 4px; }
  .actions .btn { width: 100%; }
  .pledges, .plans { grid-template-columns: 1fr; }
  .care-list { grid-template-columns: 1fr; }
  .care-panel { padding: 22px 20px; }
  .step p { font-size: 14.5px; }
  .steps { gap: 22px; }
  .plan { padding: 28px 22px; }
  .price { font-size: 62px; }
  .facts > div { padding: 6px 14px; }
  .qa { padding: 4px 18px; }
  .qa summary { padding: 20px 52px 20px 0; font-size: 16.5px; }
  .qa summary::after { top: 18px; }
  .qa details p { padding: 0 0 22px; }
  .foot-grid { grid-template-columns: 1fr; }
}

/* small phones: a tighter hero so the window still peeks out under the buttons */
@media (max-width: 640px) and (max-height: 720px) {
  .j-hero { padding-top: 90px; }
  .chip { display: none; }
  .headline { margin-top: 0; font-size: 38px; }
  .lede { margin-top: 14px; font-size: 15.5px; line-height: 1.55; }
  .actions { margin-top: 20px; gap: 10px; }
  .actions .btn-lg { --h: 50px; }
}
/* short screens (landscape phones): compact hero and captions, no chapter rail */
@media (max-height: 560px) {
  .j-hero { padding-top: 70px; }
  .chip { display: none; }
  .headline { margin-top: 0; font-size: clamp(28px, 4.4vw, 40px); max-width: 22ch; }
  .lede { margin-top: 10px; font-size: 15px; max-width: 68ch; }
  .actions { margin-top: 14px; flex-direction: row; width: auto; }
  .actions .btn { width: auto; }
  .actions .btn-lg { --h: 46px; padding: 0 22px; font-size: 15px; }
  .j-ground { bottom: 18px; }
  .j-caps { top: 62px; }
  .cap h2 { font-size: clamp(20px, 3vw, 26px); }
  .cap p { display: none; }
  .cap-end .btn { margin-top: 10px; }
  .j-rail { display: none; }
  .sa-cards, .sa-nav span, .sa-copy span { display: none; }
  .sa-nav { padding: 10px 14px; }
}
/* a pinned scene that doesn't fit the screen scrolls as a normal section and still plays */
.scene.unpinned { height: auto; }
.scene.unpinned .scene-stage { position: relative; height: auto; overflow: visible; overflow-x: clip; padding-block: clamp(80px, 10vw, 128px); }

/* ---------- Reduced motion & no-JS ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .nav, .js .intro, .js .headline .w > span, .js .window, .js .riser, .js .horizon i, .js .hero-site .sa-nav, .js .hero-site .sa-copy > * { opacity: 1 !important; animation: none !important; transition: none !important; filter: none !important; }
  .js .headline .w > span { transform: none !important; }
  .js.loaded .j-hero .btn-neon { animation: none !important; }
  .window .screen::after { display: none; }
  /* the journey still follows the scroll, but in steps that crossfade instead of moving */
  .cap, .callout, .notif, .seam, .dim, .ph-dim, .j-hero, .j-hz, .j-rail { transition: opacity .35s linear; }
  .qa details[open] p, .mnav[open] .mnav-panel { animation: none !important; }
  .btn, .btn:hover { transition: none; transform: none; }
  .btn-neon::after { display: none; }
  .okmark * { animation: none; stroke-dashoffset: 0; }
  .qa details::details-content { transition: none; }
}
html:not(.js) .journey, html:not(.js) .scene { height: auto; }
html:not(.js) .scene .scene-stage { position: relative; height: auto; overflow: visible; padding: 120px 0; }
html:not(.js) .lens, html:not(.js) .track { display: none; }
html:not(.js) .st-text .sw { opacity: 1; }
html:not(.js) .stage { position: relative; height: auto; overflow: visible; padding-bottom: 40px; }
html:not(.js) .j-hero, html:not(.js) .j-ground, html:not(.js) .j-win { position: relative; inset: auto; left: auto; top: auto; }
html:not(.js) .j-ground { margin-top: 48px; overflow: visible; }
html:not(.js) .j-win { width: min(1000px, 100% - 2 * var(--gutter)); margin-inline: auto; }
html:not(.js) .j-caps, html:not(.js) .j-phone, html:not(.js) .j-rail, html:not(.js) .j-hz, html:not(.js) .seam { display: none; }

/* ---------- Legal pages ---------- */
.legal { padding: 150px 0 80px; width: min(860px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 24px; }
.legal h2 { font-size: 22px; margin: 40px 0 10px; max-width: none; letter-spacing: -0.02em; }
.legal p, .legal li { color: var(--ink-2); font-size: 16.5px; max-width: 66ch; }
.legal p + p { margin-top: 14px; }
.legal ul { padding-left: 20px; display: grid; gap: 8px; margin: 12px 0 0; }
.legal .updated { margin-top: 40px; font-size: 14px; }
.unsub-cta { margin: 28px 0 !important; }
