@font-face { font-family: "Jakarta"; src: url("../assets/fonts/plus-jakarta-sans.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --svh: 1vh;
  --bg: #f7f7f5; --ink: #0a0a0b; --mid: #67676d; --faint: #a4a4aa; --line: rgba(10,10,11,.09);
  --dark: #0b0b0c; --dark-2: #151517; --on-dark: #f5f5f7; --on-dark-mid: #9a9aa1;
  --r-xl: 44px; --r-lg: 28px; --r-md: 18px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --pad: clamp(20px, 5vw, 72px);
}
@supports (height: 1svh) { :root { --svh: 1svh; } }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-anchor: none; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 300 clamp(17px, 1.5vw, 20px)/1.55 "Jakarta", -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { text-wrap: balance; font-weight: 800; letter-spacing: -.045em; line-height: .94; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--mid); margin-bottom: 22px; }
.lead { color: var(--mid); max-width: 34em; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer; font: 600 16px/1 "Jakarta", sans-serif; letter-spacing: -.01em; height: 52px; padding: 0 28px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; transition: transform .25s var(--ease), background .25s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn
/* ---------- glass ---------- */
.glass { background: rgba(255,255,255,.55); -webkit-backdrop-filter: blur(22px) saturate(1.8); backdrop-filter: blur(22px) saturate(1.8); border: 1px solid rgba(255,255,255,.65); box-shadow: 0 10px 40px -12px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(0,0,0,.04); }

/* ---------- header pill ---------- */
.pill { position: fixed; z-index: 50; top: 14px; left: 50%; translate: -50% 0; width: min(780px, calc(100% - 28px)); height: 60px; padding: 0 8px 0 24px; border-radius: 999px; display: flex; align-items: center; gap: 28px; transition: background .4s, border-color .4s, color .4s; }
.pill .logo { height: 24px; width: auto; margin-right: auto; }
.pill .logo.on-dark { display: none; }
.pill a.l { font-size: 15px; font-weight: 500; text-decoration: none; opacity: .72; transition: opacity .2s; }
.pill a.l:hover { opacity: 1; }
.pill .btn { height: 44px; padding: 0 22px; font-size: 15px; }
/* The header is the app's "strong" glass: mostly solid, with a bright rim on top, a soft shade
   underneath and a deep shadow, so it reads as a thick slab floating over the page. */
.pill.glass {
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.8));
  border: 1px solid rgba(0,0,0,.08);
  -webkit-backdrop-filter: blur(26px) saturate(1.6); backdrop-filter: blur(26px) saturate(1.6);
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,1),
    inset 0 0 0 1px rgba(255,255,255,.55),
    inset 0 -8px 14px -8px rgba(0,0,0,.1),
    inset 0 10px 16px -10px rgba(255,255,255,.9),
    0 1px 2px rgba(0,0,0,.08),
    0 14px 36px -10px rgba(0,0,0,.28);
}
.pill.glass[data-tone="dark"] {
  background: linear-gradient(180deg, rgba(48,48,54,.8), rgba(34,34,40,.74));
  border-color: rgba(255,255,255,.14); color: #fff;
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,.22),
    inset 0 0 0 1px rgba(255,255,255,.06),
    inset 0 -8px 14px -8px rgba(0,0,0,.5),
    inset 0 10px 16px -10px rgba(255,255,255,.12),
    0 1px 2px rgba(0,0,0,.4),
    0 14px 36px -10px rgba(0,0,0,.7);
}
.pill[data-tone="dark"] .logo.on-light { display: none; }
.pill[data-tone="dark"] .logo.on-dark { display: block; }
.pill[data-tone="dark"] .btn { background: #fff; color: var(--ink); }
@media (max-width: 640px) { .pill a.l { display: none; } .pill { padding-left: 20px; } }

/* ---------- pinned sequences ---------- */
.seq { position: relative; }
.stick { position: relative; }
html.motion .seq { height: var(--len, 300vh); }
html.motion .stick { position: sticky; top: 0; height: 100vh; height: calc(100 * var(--svh)); overflow: hidden; }

/* ---------- 1. hero ---------- */
.hero { background: var(--bg); }
.hero .stick { display: block; }
.hero { transition: background .2s; }
.hero-copy { position: absolute; left: 0; right: 0; top: 0; padding: clamp(96px, calc(15 * var(--svh)), 150px) var(--pad) 0; text-align: center; transform-origin: 50% 30%; will-change: transform, opacity; }
.hero h1 { font-size: clamp(54px, 11.5vw, 178px); letter-spacing: -.055em; margin: 0 auto; }
.hero .lead { margin: clamp(18px, calc(3 * var(--svh)), 30px) auto clamp(22px, calc(3.5 * var(--svh)), 34px); font-size: clamp(17px, 1.6vw, 21px); }
.hero .trio { display: flex; justify-content: center; gap: clamp(20px, 4vw, 56px); margin-top: clamp(22px, calc(4 * var(--svh)), 40px); flex-wrap: wrap; }
.trio div { display: flex; align-items: center; gap: 10px; text-align: left; font-size: 14px; line-height: 1.25; }
.trio svg { width: 22px; height: 22px; flex: none; }
.trio b { display: block; font-weight: 600; font-size: 15px; }
.trio span { color: var(--mid); font-weight: 300; }
@media (max-width: 640px) { .hero .trio { display: none; } }

.hub { position: absolute; z-index: 1; left: 50%; bottom: clamp(28px, calc(5.5 * var(--svh)), 64px); width: min(40vw, calc(44 * var(--svh)), 500px); aspect-ratio: 646 / 333; translate: -50% 0; transform-origin: 50% 40%; will-change: transform; }
.hub img { will-change: filter; }
.hub-bob { position: absolute; inset: 0; animation: bob 7s ease-in-out infinite; }
.hub.still .hub-bob { animation-play-state: paused; }
@keyframes bob { 50% { transform: translateY(-9px); } }
.hub img { position: absolute; inset: 0; width: 100%; height: 100%; user-select: none; -webkit-user-drag: none; }
.hub-shadow { position: absolute; left: 50%; top: 86%; width: 92%; height: 30%; translate: -50% 0; background: radial-gradient(closest-side, rgba(0,0,0,.34), rgba(0,0,0,0)); filter: blur(10px); }
/* What the Hub's dark top turns into once it has filled the screen. */
.blackout { position: absolute; z-index: 2; inset: 0; background: var(--dark); opacity: 0; pointer-events: none; will-change: opacity; }
html:not(.motion) .blackout { display: none; }

/* ---------- hero → problem (one pinned sequence) ---------- */
.hero.dark { background: var(--dark); color: var(--on-dark); }
.prob { position: absolute; z-index: 3; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: clamp(96px, calc(14 * var(--svh)), 150px) var(--pad) clamp(40px, calc(8 * var(--svh)), 90px); gap: clamp(36px, calc(8 * var(--svh)), 96px); color: var(--on-dark); pointer-events: none; opacity: 0; }
.prob h2 { font-size: clamp(38px, min(7.6vw, calc(13.5 * var(--svh))), 116px); line-height: 1.02; max-width: 12em; }
.prob .words { font-size: clamp(19px, min(2.5vw, calc(3.7 * var(--svh))), 34px); line-height: 1.45; font-weight: 500; letter-spacing: -.02em; max-width: 25em; }
.prob .words span { color: #3d3d42; transition: color .35s; }
.prob .words span.on { color: #f5f5f7; }
.prob .close { font-size: clamp(24px, min(3.8vw, calc(6.5 * var(--svh))), 52px); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }
html:not(.motion) .prob { position: relative; opacity: 1; background: var(--dark); min-height: calc(100 * var(--svh)); }
html:not(.motion) .hero .stick { display: flex; flex-direction: column; }
html:not(.motion) .prob .words span { color: #f5f5f7; }

/* ---------- 2. solution: a list that lights up, the Hub beside it ---------- */
.solution { background: var(--bg); }
.solution .stick { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 5vw, 80px); align-items: center; max-width: 1280px; margin: 0 auto; padding: clamp(92px, calc(13 * var(--svh)), 120px) var(--pad) clamp(28px, calc(5 * var(--svh)), 56px); }
.solution h2 { font-size: clamp(30px, min(4.2vw, calc(6.6 * var(--svh))), 62px); margin-bottom: clamp(14px, calc(3 * var(--svh)), 34px); }
.solution .eyebrow { margin-bottom: 14px; }
.feat { list-style: none; margin: 0; padding: 0; }
.feat li { padding: clamp(4px, calc(.9 * var(--svh)), 10px) 0; border-top: 1px solid var(--line); }
.feat h3 { font-size: clamp(26px, min(4.6vw, calc(6.2 * var(--svh))), 68px); line-height: 1.05; letter-spacing: -.05em; color: #c3c3c8; transition: color .45s var(--ease); }
.feat li.on h3 { color: var(--ink); }
.feat p { max-height: 0; overflow: hidden; opacity: 0; color: var(--mid); max-width: 28em; font-size: clamp(16px, 1.45vw, 19px); transition: max-height .6s var(--ease), opacity .5s, margin .5s; }
.feat li.on p { max-height: 6.5em; opacity: 1; margin: 4px 0 8px; }
.rules { margin-top: clamp(20px, calc(4 * var(--svh)), 44px); text-align: center; max-width: 12em; font-size: clamp(20px, min(2.8vw, calc(4.6 * var(--svh))), 38px); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }
.sol-hub { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.unit { position: relative; width: min(100%, 520px); }
.unit img { width: 100%; }
html:not(.motion) .feat p { max-height: none; opacity: 1; margin: 4px 0 8px; }
html:not(.motion) .feat h3 { color: var(--ink); }
@media (max-width: 820px) {
  .solution .stick { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: start; gap: 8px; padding-top: 86px; }
  .sol-hub { order: -1; }
  .unit { width: min(64vw, 280px); }
  .solution h2 { display: none; }
  .solution .eyebrow { display: none; }
}

/* ---------- 4. benefits (stacked cards) ---------- */
.benefits { padding: clamp(80px, 12vw, 160px) var(--pad) clamp(84px, 10vw, 140px); }
.benefits .head { max-width: 1200px; margin: 0 auto clamp(40px, 6vw, 80px); }
.benefits .head h2 { font-size: clamp(38px, 6vw, 88px); }
.stack { max-width: 1200px; margin: 0 auto; }
/* Room for the last card to arrive and for the finished stack to stay a moment. */
.stack-hold { height: calc(38 * var(--svh)); }
html:not(.motion) .stack-hold { display: none; }
.card { position: sticky; top: calc(calc(12 * var(--svh)) + var(--i) * 26px); min-height: min(calc(64 * var(--svh)), 560px); margin-bottom: calc(26px + (2 - var(--i)) * 26px); border-radius: var(--r-xl); padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; justify-content: space-between; transform-origin: 50% 0; box-shadow: 0 30px 70px -40px rgba(0,0,0,.35); }
.card h3 { font-size: clamp(60px, 14vw, 210px); letter-spacing: -.06em; }
.card p { max-width: 20em; font-size: clamp(19px, 2.2vw, 28px); line-height: 1.3; font-weight: 400; letter-spacing: -.015em; }
.card .tag { align-self: flex-start; font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: 99px; border: 1px solid currentColor; opacity: .7; }
.card .row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.card.c1 { background: #fff; }
.card.c2 { background: #e8e8ea; }
.card.c3 { background: var(--dark); color: var(--on-dark); }
html:not(.motion) .card { position: relative; top: 0; }

/* ---------- 5. personal AI ---------- */
.ai { background: var(--dark-2); color: var(--on-dark); padding: clamp(90px, 13vw, 190px) var(--pad); overflow: hidden; position: relative; }
.ai::before { content: ""; position: absolute; width: 90vw; height: 90vw; max-width: 1200px; max-height: 1200px; left: 60%; top: 50%; translate: -50% -50%; background: radial-gradient(closest-side, rgba(255,255,255,.1), rgba(255,255,255,0)); pointer-events: none; }
.ai .grid { position: relative; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.ai h2 { font-size: clamp(42px, 7vw, 104px); }
.ai .eyebrow { color: var(--on-dark-mid); }
.ai .lead { color: var(--on-dark-mid); margin-top: 26px; }
.ai ul { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 14px; }
.ai li { display: flex; gap: 14px; align-items: baseline; font-weight: 500; font-size: clamp(17px, 1.7vw, 21px); letter-spacing: -.01em; }
.ai li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; flex: none; translate: 0 -2px; }
/* An iPhone in the desert-titanium finish: a warm metal band, a thin black bezel, side buttons. */
.phone { container-type: inline-size; position: relative; width: min(340px, 100%); margin-inline: auto; aspect-ratio: 9 / 19.3; border-radius: 52px; padding: 11px; background: #050505;
  box-shadow: 0 50px 100px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(0,0,0,.6),
    inset 0 0 0 1px #d2b08e, inset 0 0 0 3.5px #8a6a50, inset 0 0 0 4.5px #4a382b, inset 0 0 0 6px #0a0a0a; }
.phone::before, .phone::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: linear-gradient(90deg, #6d5340, #b89474 50%, #6d5340); }
/* left: the action button, then volume up and down (drawn as one piece with gaps) */
.phone::before { left: -2.5px; top: 17%; height: 23%; background:
  linear-gradient(#a8876a, #a8876a) 0 0 / 100% 17% no-repeat,
  linear-gradient(#a8876a, #a8876a) 0 34% / 100% 30% no-repeat,
  linear-gradient(#a8876a, #a8876a) 0 100% / 100% 30% no-repeat; }
/* right: the side button */
.phone::after { right: -2.5px; top: 27%; height: 13%; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 42px; background: #161618; overflow: hidden; display: flex; flex-direction: column; padding: 62px 16px 26px; gap: 12px; }
/* Dynamic Island, with the camera's faint glint */
.screen::before { content: ""; position: absolute; top: 3.3cqw; left: 50%; translate: -50% 0; width: 35.5%; height: 10.4cqw; border-radius: 99px; background: #000 radial-gradient(circle at 76% 50%, #1a2740 0 .75cqw, #0a0f1a 1cqw, transparent 1.5cqw); }
/* Status bar, laid out the way iOS does it: the time centred in the space left of the island,
   signal / Wi-Fi / battery centred in the space right of it. San Francisco where the device has it. */
.status { position: absolute; z-index: 2; top: 3.3cqw; left: 0; right: 0; height: 10.4cqw; display: grid; grid-template-columns: 1fr 35.5% 1fr; align-items: center; color: #fff; pointer-events: none;
  font: 600 4.75cqw/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, sans-serif; letter-spacing: -.012em; font-feature-settings: "tnum"; }
.status .time { grid-column: 1; justify-self: center; padding-left: 4.5cqw; }
.status .sys { grid-column: 3; justify-self: center; padding-right: 3.6cqw; display: inline-flex; align-items: center; gap: 1.55cqw; }
.status .sys svg { width: auto; fill: currentColor; }
.status .sig { height: 3.25cqw; }
.status .wifi { height: 3.35cqw; }
.status .batt { height: 3.55cqw; }
/* home indicator */
.screen::after { content: ""; position: absolute; bottom: 8px; left: 50%; translate: -50% 0; width: 36%; height: 4.5px; border-radius: 9px; background: rgba(255,255,255,.88); }
.bubble { max-width: 82%; padding: 12px 16px; border-radius: 22px; font-size: 15px; line-height: 1.35; font-weight: 400; opacity: 0; transform: translateY(10px) scale(.97); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.bubble.show { opacity: 1; transform: none; }
.bubble.you { align-self: flex-end; background: #fff; color: #0a0a0b; border-bottom-right-radius: 8px; }
.bubble.it { align-self: flex-start; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.16); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-left-radius: 8px; }
/* the photos the assistant found: two of them, and a way to the rest */
.bubble.media { align-self: flex-start; max-width: 90%; width: 90%; padding: 6px; border-radius: 22px; border-bottom-left-radius: 8px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.16); }
.bubble.media .shots { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.bubble.media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.bubble.media img:last-child { border-bottom-right-radius: 16px; }
.bubble.media .all { display: flex; align-items: center; justify-content: space-between; padding: 10px 10px 6px 12px; font-size: 14px; font-weight: 600; color: #f2f2f4; }
.bubble.media .all svg { width: 16px; height: 16px; opacity: .7; }
.bubble.typing i { display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: #aaa; animation: dot 1s infinite; }
.bubble.typing i:nth-child(2) { animation-delay: .15s; } .bubble.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { transform: translateY(-4px); opacity: .4; } }
.screen .note { margin-top: auto; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #77777d; text-align: center; }
html:not(.motion) .bubble { opacity: 1; transform: none; }
@media (max-width: 820px) { .ai .grid { grid-template-columns: 1fr; } }

/* ---------- 6. how it works ---------- */
.how { --len: 320vh; background: var(--bg); }
.how .stick { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 var(--pad); }
.how h2 { font-size: clamp(38px, 6vw, 88px); margin-bottom: clamp(40px, 5.5vw, 76px); }
.steps { --fs: clamp(24px, 3vw, 40px); --gap: clamp(20px, 3vw, 36px); --dot: 16px; list-style: none; padding: 0 0 0 38px; margin: 0; display: grid; gap: var(--gap); }
.steps li { position: relative; }
.steps li > * { opacity: .3; transition: opacity .4s; }
.steps li.on > * { opacity: 1; }
/* the dot sits on the middle of the heading's line */
.steps li::before { content: ""; position: absolute; left: -38px; top: calc(var(--fs) * .525 - var(--dot) / 2); width: var(--dot); height: var(--dot); box-sizing: border-box; border-radius: 50%; background: var(--bg); border: 2px solid var(--ink); transition: background .3s; }
.steps li.on::before { background: var(--ink); }
/* the line runs from this dot to the next one, and no further */
.steps li:not(:last-child)::after { content: ""; position: absolute; left: calc(-38px + var(--dot) / 2 - 1px); width: 2px; top: calc(var(--fs) * .525 + var(--dot) / 2); bottom: calc(-1 * var(--gap) - var(--fs) * .525 + var(--dot) / 2); background: #d6d6da; transition: background .4s; }
.steps li.done::after { background: var(--ink); }
.steps h3 { font-size: var(--fs); letter-spacing: -.035em; line-height: 1.05; }
.steps p { color: var(--mid); margin-top: 8px; max-width: 24em; font-size: clamp(16px, 1.4vw, 19px); }
.panels { position: relative; aspect-ratio: 1; width: min(100%, 520px); margin-inline: auto; }
.panel { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: translateY(24px) scale(.96); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.panel.on { opacity: 1; transform: none; }
.panel .phone { width: min(300px, 70%); }
.panel .unit { width: 100%; position: relative; }
.qr { width: 62%; aspect-ratio: 1; background: #fff; border-radius: 18px; padding: 12px; margin: auto; position: relative; }
.qr svg { width: 100%; height: 100%; display: block; }
.qr::after { content: ""; position: absolute; left: 12px; right: 12px; height: 3px; border-radius: 3px; background: #0a0a0b; box-shadow: 0 0 14px 2px rgba(0,0,0,.4); animation: scan 2.2s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 14%; } 50% { top: 84%; } }
.rowline { display: flex; align-items: center; gap: 12px; padding: 14px 14px; border-radius: 16px; background: rgba(255,255,255,.08); font-size: 15px; font-weight: 500; color: #f2f2f4; }
.rowline small { margin-left: auto; color: #8a8a90; font-weight: 400; }
.hello { font-size: 24px; font-weight: 800; letter-spacing: -.035em; color: #fff; margin-bottom: 4px; }
.hello-sub { color: #8f8f96; font-size: 14px; margin-bottom: 8px; }
html:not(.motion) .how .panels { display: none; }
@media (max-width: 820px) { .how .stick { grid-template-columns: 1fr; align-content: center; gap: 18px; } .panels { width: min(62vw, 300px); } .how h2 { margin-bottom: 20px; } }

/* ---------- 7. FAQ ---------- */
.faq { padding: clamp(80px, 12vw, 160px) var(--pad); background: var(--bg); }
.faq .wrap { max-width: 920px; margin: 0 auto; }
.faq h2 { font-size: clamp(40px, 6.4vw, 96px); margin-bottom: clamp(30px, 5vw, 60px); }
details { background: #fff; border-radius: var(--r-lg); margin-bottom: 12px; transition: background .3s; }
summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px clamp(22px, 3vw, 36px); font-size: clamp(19px, 2vw, 25px); font-weight: 600; letter-spacing: -.025em; line-height: 1.2; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .4s var(--ease); }
details[open] summary::after { transform: rotate(135deg); }
details .a { padding: 0 clamp(22px, 3vw, 36px) 28px; color: var(--mid); max-width: 38em; }
details[open] .a { animation: open .5s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- 8. final ---------- */
.final { position: relative; overflow: hidden; background: var(--dark); color: var(--on-dark); text-align: center; padding: clamp(100px, 14vw, 200px) var(--pad) clamp(70px, 9vw, 130px); }
.final h2 { font-size: clamp(44px, 8.6vw, 132px); line-height: 1; max-width: 11em; margin: 0 auto; }
.final .lead { color: var(--on-dark-mid); margin: clamp(30px, 4.5vw, 56px) auto clamp(34px, 4vw, 48px); font-size: clamp(18px, 1.8vw, 24px); }
.final .wl { max-width: 560px; margin: 0 auto; }
.final .art { position: relative; margin: clamp(70px, 10vw, 140px) auto 0; width: min(80vw, 600px); }
/* a faint light behind the Hub so its dark edges read against the dark page */
.final .art::before { content: ""; position: absolute; inset: -30% -25%; background: radial-gradient(closest-side, rgba(255,255,255,.1), rgba(255,255,255,0)); pointer-events: none; }
.final .art img { position: relative; width: 100%; will-change: transform, opacity; transform: translateY(var(--rise, 0px)); opacity: var(--show, 1); }
footer { position: relative; background: var(--dark); color: var(--on-dark-mid); font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding: 28px var(--pad) 34px; border-top: 1px solid rgba(255,255,255,.08); }
footer b { color: var(--on-dark); font-weight: 600; }

/* ---------- waitlist form (inline + dialog) ---------- */
.wl-form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.wl-form input[type=email] { flex: 1 1 250px; min-width: 0; height: 56px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.9); color: var(--ink); font: 400 17px "Jakarta", sans-serif; outline: none; }
.wl-form input[type=email]:focus { border-color: var(--ink); }
.wl-form .btn { height: 56px; }
.final .wl-form input[type=email] { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }
.final .wl-form input::placeholder { color: #8a8a90; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wl-msg { min-height: 1.6em; margin-top: 16px; font-size: 15px; color: var(--mid); }
.final .wl-msg { color: var(--on-dark-mid); }
.wl-msg.ok { font-size: 20px; font-weight: 600; color: inherit; }
.wl-msg.bad { color: #d4880a; }
.final .wl-msg.ok { color: #fff; }
dialog { border: 0; padding: 0; background: transparent; color: var(--ink); width: min(520px, calc(100% - 28px)); max-height: calc(90 * var(--svh)); overflow: visible; }
dialog::backdrop { background: rgba(0,0,0,.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
dialog[open] { animation: pop .45s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.sheet { position: relative; border-radius: 36px; padding: clamp(28px, 5vw, 44px); background: rgba(250,250,250,.78); }
.sheet h2 { font-size: clamp(34px, 6vw, 48px); margin-bottom: 12px; }
.sheet p.lead { margin-bottom: 24px; font-size: 17px; }
.sheet .x { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0,0,0,.07); cursor: pointer; font-size: 22px; line-height: 1; color: var(--ink); }
.sheet .wl-form { justify-content: stretch; }

/* ---------- reveal on scroll ---------- */
html.motion .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
html.motion .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hub-bob, .qr::after { animation: none; } * { transition-duration: .01ms !important; } }

/* static (no JS / reduced motion) hero */
html:not(.motion) .hero .stick { min-height: calc(100 * var(--svh)); padding-bottom: 8vh; }
html:not(.motion) .hero-copy { position: relative; }
html:not(.motion) .hub { position: relative; bottom: auto; left: auto; translate: none; margin: 40px auto 0; }
html:not(.motion) .problem .stick, html:not(.motion) .solution .stick, html:not(.motion) .how .stick { padding-top: 100px; padding-bottom: 100px; }
html:not(.motion) .problem .words span { color: #f5f5f7; }
html:not(.motion) .steps li > * { opacity: 1; }
html:not(.motion) .steps li::before { background: var(--ink); }
html:not(.motion) .final .art img { transform: none; }
/* keyed on the screen's height, once: max-height: 860px */
 :where(html.h860) .hero .trio { display: none; } 
@media (max-width: 640px) {
  .hero h1 { font-size: 17.5vw; }
  .hub { width: min(74vw, calc(40 * var(--svh))); }
  .problem h2 { font-size: 13vw; }
}
@media (max-width: 640px) {
  .prob h2 { font-size: 11.6vw; }
  .prob .words { font-size: 5vw; }
  .prob .close { font-size: 7vw; }
}
@media (max-width: 820px) { .solution .stick { grid-template-rows: auto auto; align-content: center; } }

/* =====================================================================
   Phones. Everything above is written for wide screens first; this
   block resizes and re-spaces each section for a narrow one.
   ===================================================================== */
@media (max-width: 820px) {
  /* --- everything, under one roof: heading, Hub, then the list --- */
  .solution .stick { display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: clamp(10px, calc(1.8 * var(--svh)), 18px); padding: 84px var(--pad) 24px; }
  .sol-left { display: contents; }
  .solution .eyebrow { display: none; }
  .solution h2 { display: block; order: 0; margin: 0; font-size: clamp(27px, min(8.2vw, calc(4.6 * var(--svh))), 44px); }
  .sol-hub { order: 1; }
  .unit { width: min(58vw, calc(30 * var(--svh)), 300px); }
  .rules { margin-top: 10px; max-width: none; font-size: clamp(16px, 4.4vw, 20px); }
  .feat { order: 2; }
  .feat h3 { font-size: clamp(25px, min(8vw, calc(4.4 * var(--svh))), 40px); }
  .feat li { padding: clamp(3px, calc(.7 * var(--svh)), 8px) 0; }
  .feat p { font-size: 15.5px; line-height: 1.45; }

  /* --- how it works: steps on top, a cropped phone peeking in below --- */
  .how .stick { grid-template-columns: 1fr; align-content: center; gap: clamp(14px, calc(2.4 * var(--svh)), 26px); padding-top: 76px; }
  .how h2 { font-size: clamp(32px, min(9.5vw, calc(5.6 * var(--svh))), 52px); margin-bottom: clamp(22px, calc(4.4 * var(--svh)), 44px); }
  .steps { --fs: clamp(21px, min(6.2vw, calc(3.4 * var(--svh))), 30px); --gap: clamp(12px, calc(2 * var(--svh)), 22px); }
  .steps p { font-size: 15.5px; line-height: 1.45; margin-top: 4px; }
  .panels { width: 100%; aspect-ratio: auto; height: clamp(170px, calc(35 * var(--svh)), 330px); overflow: hidden; -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
  .panel { place-items: start center; }
  .panel:first-child { place-items: center; -webkit-mask-image: none; }
  .panel .phone { width: min(66vw, 260px); }
  .panel .unit { width: min(80vw, 340px); }
}

@media (max-width: 640px) {
  /* --- hero --- */
  .hero-copy { padding-top: clamp(92px, calc(13 * var(--svh)), 128px); }
  .hero .lead { font-size: 17px; line-height: 1.5; margin: 16px auto 22px; max-width: 21em; }
  .hub { width: min(82vw, calc(42 * var(--svh))); bottom: clamp(22px, calc(4.5 * var(--svh)), 48px); }
  .hero .trio { display: flex; gap: 18px; margin-top: 22px; flex-wrap: nowrap; }
  .trio div { gap: 6px; }
  .trio svg { width: 17px; height: 17px; }
  .trio b { font-size: 14px; }
  .trio span { display: none; }

  /* --- the problem --- */
  .prob { gap: clamp(26px, calc(5.5 * var(--svh)), 56px); padding-left: 24px; padding-right: 24px; }
  .prob .words { font-size: clamp(18px, 4.9vw, 22px); }

  /* --- benefits: shorter cards, no repeated label --- */
  .benefits { padding-top: 72px; }
  .benefits .head { margin-bottom: 28px; }
  .benefits .head h2 { font-size: 11vw; }
  .card { min-height: min(calc(50 * var(--svh)), 400px); padding: 26px 24px 28px; border-radius: 32px; top: calc(86px + var(--i) * 18px); margin-bottom: calc(18px + (2 - var(--i)) * 18px); }
  .card h3 { font-size: 16.5vw; }
  .card p { font-size: 18px; }
  .card .tag { display: none; }
  .stack-hold { height: calc(26 * var(--svh)); }

  /* --- personal AI --- */
  .ai { padding: 76px var(--pad) 84px; }
  .ai h2 { font-size: 12.5vw; }
  .ai .lead { margin-top: 18px; }
  .ai ul { margin-top: 24px; gap: 12px; }
  .ai li { font-size: 17px; }
  .phone { width: min(300px, 84vw); border-radius: 47px; padding: 10px; }
  .screen { border-radius: 38px; }

  /* --- questions --- */
  .faq { padding: 76px var(--pad); }
  .faq h2 { font-size: 13vw; margin-bottom: 26px; }
  summary { padding: 20px 20px; font-size: 18px; gap: 14px; }
  summary::after { width: 32px; height: 32px; }
  details { border-radius: 22px; margin-bottom: 10px; }
  details .a { padding: 0 20px 22px; font-size: 16px; }

  /* --- last section and footer --- */
  .final { padding: 84px var(--pad) 64px; }
  .final h2 { font-size: 11.4vw; max-width: none; }
  .final .lead { margin: 22px auto 28px; font-size: 18px; }
  .final .art { margin-top: 56px; width: min(86vw, 420px); }
  footer { flex-direction: column; gap: 6px; padding: 24px var(--pad) 30px; }

  /* --- forms: one thing per line, easy to hit --- */
  .wl-form { gap: 10px; }
  .wl-form input[type=email], .wl-form .btn { flex: 1 1 100%; width: 100%; justify-content: center; }
  .sheet { border-radius: 30px; padding: 30px 22px 24px; }
  .sheet h2 { font-size: 9.6vw; padding-right: 44px; }

  /* --- header --- */
  .pill { top: 10px; height: 56px; padding: 0 7px 0 18px; }
  .pill .logo { height: 21px; }
  .pill .btn { height: 42px; padding: 0 18px; font-size: 14.5px; }
}

/* short phones (and phones on their side): drop what doesn't fit */
/* keyed on the screen's height, once: max-width: 640px and max-height: 700px */
@media (max-width: 640px) {
  :where(html.h700) .hero .trio { display: none; }
  :where(html.h700) .rules { display: none; }
  :where(html.h700) .hero .lead { margin: 12px auto 18px; }
}
@media (max-width: 820px) {
  /* the cropped phone shows its top, so its contents start at the top */
  .panel .screen { justify-content: flex-start !important; padding-top: 62px; }
  .panel .qr { width: 58%; margin: 6px auto 0; }
}


/* =====================================================================
   The shiny button (every "Join the Waitlist" except the one in the header).
   A plain-CSS port of the "ShinyButton" React component: a light that
   travels round the edge, a faint speckle and sheen inside, and a glow
   on hover. Colours are Whome's own (white on black); change --gleam-accent
   to tint it.
   ===================================================================== */
@property --gleam-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@property --gleam-offset { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@property --gleam-percent { syntax: "<percentage>"; initial-value: 5%; inherits: false; }
@property --gleam-shine { syntax: "<color>"; initial-value: white; inherits: false; }

.btn.shiny {
  --gleam-base: #000;
  --gleam-edge: #2c2c30;
  --gleam-inset: #1a1818;
  --gleam-accent: #ffffff;
  --gleam-accent-soft: #c9c9d1;
  --gleam-anim: gleam-angle linear infinite;
  --gleam-duration: 3s;
  --gleam-ease: .8s cubic-bezier(.25, 1, .5, 1);
  isolation: isolate; position: relative; overflow: hidden; outline-offset: 4px;
  height: 58px; padding: 0 34px; font-size: 17px; font-weight: 600; color: #fff;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--gleam-base), var(--gleam-base)) padding-box,
    conic-gradient(from calc(var(--gleam-angle) - var(--gleam-offset)),
      transparent,
      var(--gleam-accent) var(--gleam-percent),
      var(--gleam-shine) calc(var(--gleam-percent) * 2),
      var(--gleam-accent) calc(var(--gleam-percent) * 3),
      transparent calc(var(--gleam-percent) * 4)) border-box,
    linear-gradient(var(--gleam-edge), var(--gleam-edge)) border-box;
  box-shadow: inset 0 0 0 1px var(--gleam-inset);
  transition: var(--gleam-ease);
  transition-property: --gleam-offset, --gleam-percent, --gleam-shine, transform;
}
.btn.shiny > span { display: inline-flex; align-items: center; gap: 10px; }
.btn.shiny::before, .btn.shiny::after, .btn.shiny > span::before { content: ""; pointer-events: none; position: absolute; inset-inline-start: 50%; inset-block-start: 50%; translate: -50% -50%; z-index: -1; }
/* speckle */
.btn.shiny::before {
  --p: 2px; --space: calc(var(--p) * 2);
  width: calc(100% - 6px); height: calc(100% - 6px); border-radius: inherit; opacity: .4;
  background: radial-gradient(circle at var(--p) var(--p), white calc(var(--p) / 4), transparent 0) padding-box;
  background-size: var(--space) var(--space); background-repeat: space;
  -webkit-mask-image: conic-gradient(from calc(var(--gleam-angle) + 45deg), black, transparent 10% 90%, black);
  mask-image: conic-gradient(from calc(var(--gleam-angle) + 45deg), black, transparent 10% 90%, black);
}
/* sheen */
.btn.shiny::after {
  --gleam-anim: gleam-shimmer linear infinite;
  width: 100%; aspect-ratio: 1; opacity: .35;
  background: linear-gradient(-50deg, transparent, var(--gleam-accent), transparent);
  -webkit-mask-image: radial-gradient(circle at bottom, transparent 40%, black);
  mask-image: radial-gradient(circle at bottom, transparent 40%, black);
}
/* glow on hover */
.btn.shiny > span::before {
  width: calc(100% + 1rem); height: calc(100% + 1rem); border-radius: inherit;
  box-shadow: inset 0 -1ex 2rem 4px rgba(255,255,255,.55); opacity: 0;
  transition: opacity var(--gleam-ease);
  animation: calc(var(--gleam-duration) * 1.5) gleam-breathe linear infinite;
}
.btn.shiny, .btn.shiny::before, .btn.shiny::after {
  animation: var(--gleam-anim) var(--gleam-duration), var(--gleam-anim) calc(var(--gleam-duration) / .4) reverse paused;
  animation-composition: add;
}
.btn.shiny:is(:hover, :focus-visible) { --gleam-percent: 20%; --gleam-offset: 95deg; --gleam-shine: var(--gleam-accent-soft); }
.btn.shiny:is(:hover, :focus-visible), .btn.shiny:is(:hover, :focus-visible)::before, .btn.shiny:is(:hover, :focus-visible)::after { animation-play-state: running; }
.btn.shiny:is(:hover, :focus-visible) > span::before { opacity: 1; }
.btn.shiny:active { transform: translateY(1px); }
.btn.shiny:disabled { opacity: .55; }
/* on the dark sections the resting edge is a little lighter so the pill still reads */
.final .btn.shiny { --gleam-base: #1b1b1f; --gleam-inset: #2a2a2f; --gleam-edge: #55555e; }
@keyframes gleam-angle { to { --gleam-angle: 360deg; } }
@keyframes gleam-shimmer { to { transform: rotate(360deg); } }
@keyframes gleam-breathe { from, to { transform: scale(1); } 50% { transform: scale(1.2); } }
@media (prefers-reduced-motion: reduce) {
  .btn.shiny, .btn.shiny::before, .btn.shiny::after, .btn.shiny > span::before { animation: none !important; }
  .btn.shiny { transition: none; }
  .btn.shiny:is(:hover, :focus-visible) > span::before { opacity: 0; }
}

/* ---------------- phones: second pass ---------------- */
@media (max-width: 820px) {
  /* everything, under one roof: heading, the list, then the Hub and its line at the bottom */
  .feat { order: 1; }
  .sol-hub { order: 2; margin-top: clamp(8px, calc(1.6 * var(--svh)), 18px); }
}
@media (max-width: 640px) {
  /* hero: bigger type, more air between each piece, the Hub closer */
  .hero-copy { padding-top: clamp(104px, calc(14.5 * var(--svh)), 136px); }
  .hero h1 { font-size: 19.5vw; line-height: .96; }
  .hero .lead { font-size: 18px; line-height: 1.55; margin: clamp(22px, calc(3.4 * var(--svh)), 32px) auto clamp(26px, calc(4 * var(--svh)), 38px); max-width: 19em; }
  .hero .trio { margin-top: clamp(26px, calc(4 * var(--svh)), 38px); gap: 20px; }
  .trio b { font-size: 15px; }
  .hub { width: min(92vw, calc(46 * var(--svh))); bottom: clamp(26px, calc(6.5 * var(--svh)), 64px); }
  .btn.shiny { height: 58px; }
}
/* keyed on the screen's height, once: max-width: 640px and max-height: 700px */
@media (max-width: 640px) {
  :where(html.h700) .hero h1 { font-size: 17vw; }
  :where(html.h700) .hero .lead { font-size: 16.5px; margin: 14px auto 20px; }
  :where(html.h700) .hub { width: min(84vw, calc(40 * var(--svh))); bottom: 22px; }
}


/* ---------------- header button: a little smaller, grows to full size under the pointer ---------------- */
/* It shrinks toward its right edge and stays on the pill's centre line, so the gap above, below and
   to the right of it is the same at rest. */
.pill { padding-right: 11px; }
.pill .btn { transform: scale(.86); transform-origin: right center; transition: transform .35s var(--ease), background .25s, box-shadow .35s var(--ease); }
/* under the pointer it grows only a touch and picks up a soft glow, like the other buttons */
.pill .btn:hover, .pill .btn:focus-visible { transform: scale(.9); box-shadow: inset 0 -9px 16px -4px rgba(255,255,255,.34), 0 4px 16px -4px rgba(0,0,0,.35); }
.pill[data-tone="dark"] .btn:hover, .pill[data-tone="dark"] .btn:focus-visible { box-shadow: inset 0 -9px 16px -4px rgba(0,0,0,.14), 0 0 18px rgba(255,255,255,.4); }
.pill .btn:active { transform: scale(.87); }

/* ---------------- phones: third pass ---------------- */
@media (max-width: 640px) {
  /* the problem screen: three groups spread down the whole screen, not bunched in the middle */
  .prob { justify-content: space-evenly; gap: 0; padding-top: clamp(104px, calc(15 * var(--svh)), 150px); padding-bottom: clamp(56px, calc(9 * var(--svh)), 96px); }
  .prob h2 { font-size: 12.4vw; }
  .prob .words { font-size: clamp(19px, 5.2vw, 23px); line-height: 1.5; }
  .prob .close { font-size: 7.6vw; }
  .benefits { padding-bottom: 72px; }
  .pill { padding-right: 10px; }
}

/* keyed on the screen's height, once: max-width: 820px and min-height: 701px */
@media (max-width: 820px) {
  :where(html:not(.h700)) .sol-hub { margin-top: clamp(30px, calc(5.5 * var(--svh)), 60px); }
}


/* ---------------- wide screens: a little more air at the top of the page ---------------- */
@media (min-width: 641px) {
  .hero-copy { padding-top: clamp(124px, calc(19 * var(--svh)), 196px); }
  .hero .lead { margin-top: clamp(30px, calc(4.8 * var(--svh)), 52px); }
}

/* ---------------- "how it works" phones: a close, soft shadow that isn't cut off ---------------- */
.panel .phone { box-shadow: 0 22px 34px -20px rgba(0,0,0,.42), 0 6px 16px -6px rgba(0,0,0,.22), 0 0 0 1px rgba(0,0,0,.6),
  inset 0 0 0 1px #d2b08e, inset 0 0 0 3.5px #8a6a50, inset 0 0 0 4.5px #4a382b, inset 0 0 0 6px #0a0a0a; }


/* =====================================================================
   Hero, take three: the Hub from straight above, with the three claims
   floating beside it as glass pills.
   ===================================================================== */
.hub, .hub-floor, .orbit { position: absolute; left: 50%; bottom: clamp(30px, calc(5.6 * var(--svh)), 66px); width: min(calc(32 * var(--svh)), 30vw, 330px); aspect-ratio: 471 / 460; translate: -50% 0; }
.hub { z-index: 1; transform-origin: 50% 30%; will-change: transform; }
.hub-shadow { top: 62%; width: 104%; height: 56%; background: radial-gradient(closest-side, rgba(0,0,0,.34), rgba(0,0,0,0)); filter: blur(16px); }
.hub-bob { filter: drop-shadow(0 10px 18px rgba(0,0,0,.18)); }

.orbit { z-index: 2; list-style: none; margin: 0; padding: 0; pointer-events: none; will-change: transform, opacity; }
.orbit li { position: absolute; animation: drift 9s ease-in-out infinite; }
.orbit li span { display: inline-flex; align-items: center; gap: 9px; height: 50px; padding: 0 20px 0 15px; border-radius: 999px; font-size: 16px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; color: var(--ink);
  background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.62));
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,1), inset 0 0 0 1px rgba(255,255,255,.5), inset 0 -8px 14px -8px rgba(0,0,0,.08), 0 14px 30px -12px rgba(0,0,0,.3), 0 2px 6px rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.07); }
.orbit li svg { width: 20px; height: 20px; }
/* left high, right middle, left low: each drifts on its own path and at its own pace */
.orbit .o1 { right: 104%; top: 6%; animation-duration: 8.5s; }
.orbit .o2 { left: 106%; top: 36%; animation-name: drift-b; animation-duration: 10.5s; animation-delay: -3s; }
.orbit .o3 { right: 98%; top: 66%; animation-name: drift-c; animation-duration: 9.5s; animation-delay: -5s; }
@keyframes drift { 0%, 100% { transform: translate(0, 0) rotate(-2deg); } 50% { transform: translate(-10px, -14px) rotate(1.5deg); } }
@keyframes drift-b { 0%, 100% { transform: translate(0, 0) rotate(2deg); } 50% { transform: translate(12px, 12px) rotate(-1.5deg); } }
@keyframes drift-c { 0%, 100% { transform: translate(0, 0) rotate(1.5deg); } 50% { transform: translate(-8px, 13px) rotate(-2deg); } }
html:not(.motion) .orbit { display: none; }
html:not(.motion) .hub { position: relative; bottom: auto; left: auto; translate: none; margin: 40px auto 0; }
@media (prefers-reduced-motion: reduce) { .orbit li { animation: none; } }

@media (max-width: 640px) {
  .hub, .hub-floor, .orbit { width: min(64vw, calc(33 * var(--svh))); bottom: clamp(26px, calc(6 * var(--svh)), 60px); }
  .orbit li span { height: 42px; padding: 0 15px 0 12px; font-size: 14.5px; gap: 7px; }
  .orbit li svg { width: 17px; height: 17px; }
  /* no room beside the Hub on a phone: the pills overlap its corners instead */
  .orbit .o1 { right: 72%; top: -7%; }
  .orbit .o2 { left: 70%; top: 30%; }
  .orbit .o3 { right: 66%; top: 74%; }
}
/* keyed on the screen's height, once: max-width: 640px and max-height: 700px */
@media (max-width: 640px) {
  :where(html.h700) .hub, :where(html.h700) .hub-floor, :where(html.h700) .orbit { width: min(56vw, calc(30 * var(--svh))); bottom: 20px; }
}

/* ---------------- the Hub beside the list floats too, with a soft glow and shadow ---------------- */
.unit.floaty { aspect-ratio: 590 / 275; }
.unit.floaty::before { content: ""; position: absolute; inset: -42% -22% -34%; background: radial-gradient(closest-side, rgba(255,255,255,.95), rgba(255,255,255,0) 72%); pointer-events: none; }
.unit-bob { position: absolute; inset: 0; animation: bob 7s ease-in-out infinite; filter: drop-shadow(0 18px 26px rgba(0,0,0,.22)); }
.unit-bob img { width: 100%; height: 100%; }
.unit-shadow { position: absolute; left: 50%; top: 82%; width: 86%; height: 34%; translate: -50% 0; background: radial-gradient(closest-side, rgba(0,0,0,.3), rgba(0,0,0,0)); filter: blur(10px); animation: bob-shadow 7s ease-in-out infinite; }
@keyframes bob-shadow { 50% { transform: scale(.93); opacity: .78; } }
@media (prefers-reduced-motion: reduce) { .unit-bob, .unit-shadow { animation: none; } }


/* ---------------- hero pills: further out to the sides on wide screens ---------------- */
@media (min-width: 641px) {
  .orbit .o1 { right: 128%; top: 4%; }
  .orbit .o2 { left: 132%; top: 38%; }
  .orbit .o3 { right: 120%; top: 70%; }
}

/* ---------------- "everything, under one roof": nothing jumps as the list moves on ---------------- */
/* Each description takes exactly two lines when open, so the list is always the same height, and the
   row fills the screen so the Hub's place never depends on the list. */
.solution .stick { grid-template-rows: minmax(0, 1fr); }
.feat p { max-height: none; height: 0; margin: 0; transition: height .55s var(--ease), opacity .45s, margin .55s var(--ease); }
.feat li.on p { max-height: none; height: 3.1em; height: 2lh; opacity: 1; margin: 4px 0 8px; }
html:not(.motion) .feat p { height: auto; }

/* The Hub beside the list floats with a bigger, slower swing than the one at the top of the page. */
.unit-bob { animation: bob-big 5.5s ease-in-out infinite; }
.unit-shadow { animation: bob-big-shadow 5.5s ease-in-out infinite; }
@keyframes bob-big { 0%, 100% { transform: translateY(14px) rotate(-1.2deg); } 50% { transform: translateY(-16px) rotate(1.2deg); } }
@keyframes bob-big-shadow { 0%, 100% { transform: scale(1.04); opacity: 1; } 50% { transform: scale(.8); opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .unit-bob, .unit-shadow { animation: none; } }
/* while the Hub grows to fill the screen it needs no soft shadow (and drawing one that big is slow) */
.hub.still .hub-bob { filter: none; }


/* ---------------- chat demo: the app's own header under the status bar ---------------- */
.app-head { display: flex; align-items: center; padding: 3.2cqw 1.2cqw 4.4cqw; flex: none; }
.app-head img { height: 5.6cqw; width: auto; }

/* ---------------- hero button: larger, with a little more room above and below ---------------- */
.hero .btn.shiny { height: 66px; padding: 0 44px; font-size: 18.5px; }
.hero .btn.shiny svg { width: 20px; height: 20px; }
@media (min-width: 641px) {
  .hero .lead { margin-bottom: clamp(34px, calc(4.8 * var(--svh)), 52px); }
  .hub, .hub-floor, .orbit { width: min(calc(29 * var(--svh)), 28vw, 310px); }
}
@media (max-width: 640px) {
  .hero .btn.shiny { height: 62px; padding: 0 38px; font-size: 18px; }
  .hero .lead { margin-bottom: clamp(30px, calc(4.4 * var(--svh)), 42px); }
}
/* keyed on the screen's height, once: max-width: 640px and max-height: 700px */
@media (max-width: 640px) {
  :where(html.h700) .hero .btn.shiny { height: 56px; }
  :where(html.h700) .hero .lead { margin-bottom: 20px; }
}

/* ---------------- phones: the closing section gets room to breathe ---------------- */
@media (max-width: 640px) {
  .final { padding: clamp(120px, calc(17 * var(--svh)), 170px) var(--pad) clamp(110px, calc(15 * var(--svh)), 150px); }
  .final h2 { font-size: 11.4vw; line-height: 1.04; }
  .final .lead { margin: 34px auto 44px; }
  .final .wl-form { gap: 14px; }
  .final .wl-msg { margin-top: 26px; }
  footer { padding: 30px var(--pad) 40px; gap: 8px; }
}

/* ---------------- phones: the floating Hub keeps clear of the line under it ---------------- */
@media (max-width: 820px) {
  /* it swings mostly upward here, and the line sits further below */
  .unit-bob { animation-name: bob-big-up; }
  .rules { margin-top: clamp(30px, calc(4.6 * var(--svh)), 44px); }
}
@keyframes bob-big-up { 0%, 100% { transform: translateY(2px) rotate(-1.2deg); } 50% { transform: translateY(-22px) rotate(1.2deg); } }


/* =====================================================================
   Layout and performance pass.
   ===================================================================== */
body { overflow-anchor: none; }

/* --- hero: one column. The text takes what it needs; the Hub gets what is left, and no more. ---
   The pinned box is as tall as the screen ever gets on a phone (toolbar hidden); the column inside it
   is as tall as the screen at its smallest (toolbar showing), so nothing sits under the toolbar and
   nothing is cut off when the toolbar slides away. */
html.motion .hero .stick { height: 100vh; height: 100lvh; }
.hero-in { display: flex; flex-direction: column; align-items: center; }
html.motion .hero-in { height: 100vh; height: calc(100 * var(--svh)); }
.hero-copy { position: relative; left: auto; right: auto; top: auto; width: 100%; flex: none; }
.hub-zone { position: relative; flex: 1 1 0; min-height: 0; width: 100%; display: grid; place-items: center; container-type: size;
  padding: clamp(14px, calc(3 * var(--svh)), 40px) 0 clamp(22px, calc(4.6 * var(--svh)), 56px); }
.hub, .hub-floor, .orbit { position: relative; left: auto; right: auto; top: auto; bottom: auto; translate: none; grid-area: 1 / 1; width: auto; aspect-ratio: 471 / 460;
  height: min(calc(30 * var(--svh)), 56vw, 320px); height: min(100cqh, 60cqw, 330px); }
.hub { transform-origin: 50% 30%; will-change: transform; }
.hub-bob { filter: none; }
.hub img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub img.dark { opacity: 0; will-change: opacity; }
.orbit { will-change: transform, opacity; }
html:not(.motion) .hub-zone { container-type: normal; padding: 30px 0 50px; }
html:not(.motion) .hub, html:not(.motion) .hub-floor { height: min(300px, 60vw); margin: 0; }
html:not(.motion) .hero .stick { padding-bottom: 0; }
@media (max-width: 640px) {
  .hub, .hub-floor, .orbit { height: min(calc(30 * var(--svh)), 62vw); height: min(100cqh, 64cqw); bottom: auto; width: auto; }
  .hub-zone { padding: clamp(12px, calc(2.6 * var(--svh)), 30px) 0 clamp(18px, calc(4 * var(--svh)), 44px); }
}
/* very short screens (a phone on its side): the text block tightens so the Hub still has room */
/* keyed on the screen's height, once: max-height: 560px */
  :where(html.h560) .hero-copy { padding-top: 84px; }
  :where(html.h560) .hero h1 { font-size: clamp(34px, min(11vw, calc(17 * var(--svh))), 110px); }
  :where(html.h560) .hero .lead { margin: 10px auto 14px; font-size: 15.5px; }
  :where(html.h560) .hero .btn.shiny { height: 50px; font-size: 16px; }

/* --- cheaper to draw --- */
/* glass that only ever sits on a flat background doesn't need to blur what's behind it */
.orbit li span, .bubble.it, .bubble.media { -webkit-backdrop-filter: none; backdrop-filter: none; }
.bubble.it, .bubble.media { background: #2b2b2f; }
.unit-bob { filter: none; }
@media (max-width: 820px) { .pill.glass { -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5); } }
/* self-running animations stop while they're off screen */
.offscreen, .offscreen *, .offscreen::before, .offscreen::after, .offscreen *::before, .offscreen *::after { animation-play-state: paused !important; }
/* pinned boxes are their own layers, so scrolling moves them without redrawing them */
html.motion .stick { contain: layout paint; }

/* --- tablets: the hero pills stay inside the screen --- */
@media (min-width: 641px) and (max-width: 980px) {
  .orbit .o1 { right: 104%; }
  .orbit .o2 { left: 106%; }
  .orbit .o3 { right: 100%; }
}

/* --- small phones: "how it works" starts below the header --- */
/* keyed on the screen's height, once: max-width: 820px and max-height: 620px */
@media (max-width: 820px) {
  :where(html.h620) .how .stick { padding-top: 84px; align-content: start; }
  :where(html.h620) .how h2 { font-size: clamp(26px, 8vw, 34px); margin-bottom: 12px; }
  :where(html.h620) .steps { --fs: 19px; --gap: 9px; }
  :where(html.h620) .steps p { font-size: 14.5px; line-height: 1.38; }
  :where(html.h620) .panels { height: clamp(120px, calc(26 * var(--svh)), 200px); }
}

/* --- very short screens (a phone on its side) ---
   There isn't the height to pin a section and step through it, so the list and the steps are simply
   laid out in full and scroll past like the rest of the page. */
/* keyed on the screen's height, once: max-height: 520px */
  :where(html.h520) .hero-copy { padding-top: 76px; }
  :where(html.h520) .hero h1 { font-size: clamp(30px, min(9vw, calc(15 * var(--svh))), 84px); }
  :where(html.h520) .hero .lead { max-width: none; margin: 8px auto 12px; font-size: 15px; }
  :where(html.h520) .hero .btn.shiny { height: 46px; padding: 0 28px; font-size: 15.5px; }
  :where(html.h520) .hub-zone { padding: 8px 0 14px; }
  :where(html.h520) .orbit li span { height: 36px; font-size: 13.5px; padding: 0 12px 0 10px; }

  html:where(.h520).motion .solution, html:where(.h520).motion .how { height: auto; }
  html:where(.h520).motion .solution .stick, html:where(.h520).motion .how .stick { position: relative; height: auto; overflow: visible; padding-top: 96px; padding-bottom: 64px; }
  :where(html.h520) .feat h3 { color: var(--ink); }
  :where(html.h520) .feat p, :where(html.h520) .feat li.on p { height: auto; max-height: none; opacity: 1; margin: 2px 0 8px; }
  :where(html.h520) #rules { opacity: 1 !important; transform: none !important; }
  :where(html.h520) .steps li > * { opacity: 1; }
  :where(html.h520) .steps li::before { background: var(--ink); }
  :where(html.h520) .steps li:not(:last-child)::after { background: var(--ink); }
  :where(html.h520) .how .panels { display: none; }
  :where(html.h520) .prob { gap: 14px; padding-top: 78px; padding-bottom: 20px; justify-content: center; }
  :where(html.h520) .prob h2 { font-size: clamp(26px, min(6vw, calc(13 * var(--svh))), 60px); }
  :where(html.h520) .prob .words { font-size: clamp(15px, calc(4 * var(--svh)), 20px); line-height: 1.35; }
  :where(html.h520) .prob .close { font-size: clamp(18px, calc(5.5 * var(--svh)), 28px); }

/* --- "how it works" on laptops: the heading scales with the screen's height and clears the header --- */
@media (min-width: 821px) {
  .how .stick { padding-top: 84px; padding-bottom: 24px; }
  .how h2 { font-size: clamp(34px, min(6vw, calc(10 * var(--svh))), 88px); margin-bottom: clamp(24px, calc(5 * var(--svh)), 76px); }
}
/* keyed on the screen's height, once: max-height: 520px */
 :where(html.h520) .hero-copy { padding-top: 88px; } 

/* --- hero: more room between the button and the Hub with its pills --- */
.hub-zone { padding-top: clamp(34px, calc(7 * var(--svh)), 88px); }
@media (max-width: 640px) {
  .hub-zone { padding-top: clamp(30px, calc(5.6 * var(--svh)), 56px); }
  .orbit .o1 { top: 3%; }
}
/* keyed on the screen's height, once: max-height: 520px */
 :where(html.h520) .hub-zone { padding-top: 16px; } 


/* =====================================================================
   Works-everywhere pass.
   ===================================================================== */

/* --- positioning without the newer stand-alone "translate" property --- */
.pill { left: 0; right: 0; margin-left: auto; margin-right: auto; translate: none; }
.hub-shadow { left: -2%; translate: none; }
.unit-shadow { left: 7%; translate: none; }
.ai::before { translate: none; transform: translate(-50%, -50%); }
.ai li::before { translate: none; position: relative; top: -2px; }
.screen::before { left: 32.25%; translate: none; }
.screen::after { left: 32%; translate: none; }
.btn.shiny::before, .btn.shiny::after, .btn.shiny > span::before { inset-inline-start: auto; inset-block-start: auto; translate: none; }
.btn.shiny::before { top: 3px; right: 3px; bottom: 3px; left: 3px; width: auto; height: auto; }
.btn.shiny::after { left: 0; top: 50%; width: 100%; margin-top: -50%; }
.btn.shiny > span::before { top: -.5rem; right: -.5rem; bottom: -.5rem; left: -.5rem; width: auto; height: auto; }

/* --- the shiny button where animated custom properties aren't supported (iPhones before iOS 16.4,
       older Firefox): without these starting values its whole background would be invalid and the
       button would be invisible. Here it is simply a solid button with a light edge. --- */
.btn.shiny { --gleam-angle: 0deg; --gleam-offset: 0deg; --gleam-percent: 5%; --gleam-shine: #fff; background-color: var(--gleam-base); }

/* --- the phone mock where container units aren't supported --- */
@supports not (width: 1cqw) {
  .screen::before { top: 11px; height: 27px; }
  .status { top: 11px; height: 27px; font-size: 14px; }
  .status .time { padding-left: 14px; }
  .status .sys { padding-right: 12px; gap: 5px; }
  .status .sig { height: 10px; } .status .wifi { height: 10.5px; } .status .batt { height: 11px; }
  .app-head { padding: 10px 4px 14px; }
  .app-head img { height: 18px; }
  .hub, .hub-floor, .orbit { height: min(calc(30 * var(--svh)), 56vw, 320px); }
}

/* --- less motion asked for: nothing moves by itself --- */
@media (prefers-reduced-motion: reduce) {
  .hub-bob, .unit-bob, .unit-shadow, .orbit li, .btn.shiny, .btn.shiny::before, .btn.shiny::after, .btn.shiny > span::before, .qr::after, .bubble.typing i { animation: none !important; }
  html.motion .rv { transition-duration: .01ms; }
}

/* --- the plain layout (the main script didn't run): everything visible, nothing pinned --- */
html.static .blackout, html.static .orbit, html.static .stack-hold, html.static .how .panels { display: none !important; }
html.static .hero-copy, html.static #hub, html.static .prob, html.static #probH, html.static #words, html.static #probClose, html.static #rules, html.static .rv, html.static .bubble, html.static .steps li > * { opacity: 1 !important; visibility: visible !important; transform: none !important; }
html.static .hero .stick { height: auto; min-height: 0; }
html.static .hero-in { height: auto; padding-bottom: 20px; }
html.static .hub-zone { container-type: normal; padding: 36px 0 48px; flex: none; }
html.static .hub, html.static .hub-floor { height: min(300px, 60vw); }
html.static .prob { position: relative; inset: auto; min-height: 0; background: var(--dark); padding-top: 110px; padding-bottom: 110px; gap: 40px; justify-content: center; }
html.static .prob .words span { color: #f5f5f7 !important; }
html.static .feat h3 { color: var(--ink); }
html.static .feat p, html.static .feat li.on p { height: auto; max-height: none; opacity: 1; margin: 4px 0 10px; }
html.static .solution .stick, html.static .how .stick { padding-top: 96px; padding-bottom: 80px; }
html.static .card { position: relative; top: 0; }
html.static .steps li::before, html.static .steps li:not(:last-child)::after { background: var(--ink); }


/* --- the Hub's shadow lives beside the Hub, not inside it ---
   Inside, it was redrawn (blur and all) on every step of the Hub's growth, which is what made the
   start of the hero animation stutter in Safari. Out here it only fades. -->  */
.hub-floor { pointer-events: none; z-index: 0; transform: none; will-change: auto; }
.hub-shadow { filter: none; will-change: opacity; background: radial-gradient(closest-side, rgba(0,0,0,.26), rgba(0,0,0,.1) 50%, rgba(0,0,0,0)); }
/* while the Hub grows, nothing else in the hero keeps animating by itself */
.hero.growing .btn.shiny, .hero.growing .btn.shiny::before, .hero.growing .btn.shiny::after, .hero.growing .btn.shiny > span::before, .hero.growing .orbit li { animation-play-state: paused !important; }
.hub img { backface-visibility: hidden; }
