/* Habit Reboot site, option D: "Living".
   Dark like the app, with depth, motion and a playable phone.
   No inline styles anywhere (the CSP forbids them); scripts only set
   custom properties and classes. */

@font-face { font-family: "Inter"; src: url("fonts/InterVariable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("fonts/InterDisplay-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("fonts/InterDisplay-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("fonts/InterDisplay-BoldItalic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }

:root {
  --bg: #0a0a0b;
  --bg-2: #111113;
  --ink: #f2f5f3;
  --ink-2: rgba(242, 245, 243, 0.72);
  --ink-3: rgba(242, 245, 243, 0.5);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --green: #1D9E75;
  --green-hi: #34c08f;
  --green-lo: #0f5c44;
  --gold: #E3B341;
  --ch1: #60A5FA;
  --ch2: #F59E0B;
  --ch3: #4ADE80;
  --ch4: #A78BFA;
  --red: #ef6b6b;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --wrap: 1180px;
  --gut: clamp(16px, 4vw, 40px);
  --display: "Inter Display", "Inter", -apple-system, system-ui, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
.still { scroll-behavior: auto; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.55 "Inter", -apple-system, system-ui, sans-serif;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; line-height: 1.04; margin: 0; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--green); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--green-hi); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Ambient light (the app's soft green orbs) ---------- */
.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; transform: translate3d(0, var(--py, 0), 0); will-change: transform; }
.orb.a { width: 62vmax; height: 62vmax; left: -22vmax; top: -24vmax; background: radial-gradient(circle, rgba(29, 158, 117, 0.42), rgba(29, 158, 117, 0) 66%); }
.orb.b { width: 52vmax; height: 52vmax; right: -20vmax; top: 30vh; background: radial-gradient(circle, rgba(26, 120, 92, 0.34), rgba(26, 120, 92, 0) 66%); }
.orb.c { width: 40vmax; height: 40vmax; left: 20vw; top: 120vh; background: radial-gradient(circle, rgba(52, 192, 143, 0.18), rgba(52, 192, 143, 0) 66%); }
.orb i { position: absolute; inset: 0; border-radius: 50%; animation: drift 22s var(--ease-io) infinite alternate; }
main, .top, footer { position: relative; z-index: 1; }

/* ---------- Header ---------- */
.readbar { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; background: linear-gradient(90deg, var(--green), var(--green-hi)); transform-origin: 0 50%; transform: scaleX(0); }
.top { position: sticky; top: 0; z-index: 50; transition: background-color 0.4s, border-color 0.4s, backdrop-filter 0.4s; border-bottom: 1px solid transparent; }
.top.scrolled { background: rgba(7, 16, 12, 0.66); backdrop-filter: saturate(160%) blur(20px); -webkit-backdrop-filter: saturate(160%) blur(20px); border-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav { display: flex; gap: 26px; align-items: center; font-size: 14px; }
.nav a { text-decoration: none; color: var(--ink-2); transition: color 0.2s; }
.nav a:hover { color: var(--ink); }
.nav .pill { color: var(--ink); background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line-2); padding: 7px 14px; border-radius: 999px; }
@media (max-width: 760px) { .nav a:not(.pill) { display: none; } }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); transition-delay: var(--delay, 0ms); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(0.94); }
.js [data-reveal="blur"] { filter: blur(12px); transform: translate3d(0, 18px, 0); }
.js [data-reveal="left"] { transform: translate3d(-40px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(40px, 0, 0); }
.js [data-reveal].in { opacity: 1; transform: none; filter: none; }
.js [data-reveal="none"] { opacity: 1; transform: none; transition: none; }

/* Headline lines that slide up out of a mask */
.lines .ln { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.lines .ln > span { display: inline-block; }
.js .lines .ln > span { transform: translate3d(0, 108%, 0); transition: transform 1.2s var(--ease); transition-delay: var(--delay, 0ms); }
.js .lines.in .ln > span { transform: none; }

/* ---------- Shared bits ---------- */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-hi); }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 34em; }
.h2 { font-size: clamp(38px, 5.6vw, 76px); }
.h3 { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -0.02em; }
.grad { background: linear-gradient(100deg, #fff 10%, #9be7c9 55%, var(--green-hi) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dim { color: rgba(242, 245, 243, 0.42); }
section { position: relative; }
.pad { padding-block: clamp(64px, 8vw, 116px); }

.glass { background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)); border: 1px solid var(--line-2); border-radius: 28px; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.glow { position: relative; overflow: hidden; }
.glow::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -30%), rgba(52, 192, 143, 0.16), transparent 60%); opacity: 0; transition: opacity 0.4s; }
.glow:hover::before { opacity: 1; }

.store { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px 12px 16px; border-radius: 16px; background: #fff; color: #0a0f0d; text-decoration: none; }
.store svg { width: 24px; height: 24px; }
.store small { display: block; font-size: 11px; line-height: 1.1; opacity: 0.7; }
.store b { display: block; font-size: 19px; line-height: 1.1; letter-spacing: -0.01em; }
.link-arrow { color: var(--ink); text-decoration: none; font-weight: 550; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow span { transition: transform 0.3s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- Keyframes ---------- */
@keyframes drift { from { transform: translate3d(-3%, -2%, 0) scale(1); } to { transform: translate3d(4%, 3%, 0) scale(1.08); } }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }
@keyframes ring { 0% { transform: scale(1); opacity: 0.55; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -10px, 0); } }
@keyframes pop { 0% { transform: scale(0.6); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
@keyframes shimmer { from { transform: translateX(-120%) skewX(-18deg); } to { transform: translateX(260%) skewX(-18deg); } }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.25); } 30% { transform: scale(0.95); } 45% { transform: scale(1.12); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.still *, .still *::before, .still *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }

/* =====================================================================
   Sections
   ===================================================================== */

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; padding: 24px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 40px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; font-size: 13.5px; color: var(--ink-2); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-2); }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--green-hi); position: relative; }
.live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green-hi); animation: ring 1.6s ease-out infinite; }
.hero-h { margin-top: 0; font-size: clamp(48px, 6.3vw, 92px); line-height: 0.97; letter-spacing: -0.048em; }
.hero-h .ln:nth-child(1) > span { --delay: 80ms; }
.hero-h .ln:nth-child(2) > span { --delay: 180ms; }
.hero-h .ln:nth-child(3) > span { --delay: 280ms; }
.hero-h .ln:nth-child(4) > span { --delay: 380ms; }
.hero .lede { margin-top: 28px; --delay: 500ms; }
.cta-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 36px; --delay: 620ms; }
.cta-row.center { justify-content: center; }
.hero .badge { --delay: 0ms; }

.hero-stage { position: relative; display: grid; place-items: center; min-height: 680px;
  translate: 0 calc(max(0, var(--p, 0.5) - 0.5) * 260px); scale: calc(1 - max(0, var(--p, 0.5) - 0.5) * 0.24); }
.hero-phone { --s: 0.72; perspective: 1400px; animation: phoneIn 1.8s var(--ease) 0.25s both; }
.hero-phone .bezel { transform: rotateY(var(--tx, 0deg)) rotateX(var(--ty, 0deg)); transition: transform 0.6s var(--ease); transform-style: preserve-3d; }
@keyframes phoneIn { from { opacity: 0; transform: translate3d(0, 120px, 0) rotateX(28deg) scale(0.9); } to { opacity: 1; transform: none; } }
.halo { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.halo::before { content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(29, 158, 117, 0.42), rgba(29, 158, 117, 0) 62%); animation: breathe-glow 6s ease-in-out infinite; }
.halo i { position: absolute; width: 360px; height: 360px; border-radius: 50%; border: 1px solid rgba(52, 192, 143, 0.35); animation: ring 4.8s cubic-bezier(0.2, 0.6, 0.4, 1) infinite; }
.halo i:nth-child(2) { animation-delay: 1.6s; }
.halo i:nth-child(3) { animation-delay: 3.2s; }
@keyframes breathe-glow { 0%, 100% { opacity: 0.7; transform: scale(0.94); } 50% { opacity: 1; transform: scale(1.06); } }
.float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 18px; font-size: 14px; white-space: nowrap;
  transform: translate3d(0, var(--py, 0), 0); background: rgba(28, 28, 30, 0.62); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45); animation: floatIn 1.2s var(--ease) both, bob 6s ease-in-out infinite; }
.float b { display: block; font-weight: 650; }
.float small { display: block; color: var(--ink-3); font-size: 12.5px; }
.f1 { left: -6%; top: 20%; animation-delay: 1.1s, 1.1s; }
.f2 { right: -8%; top: 44%; animation-delay: 2.4s, 1.6s; }
.f3 { left: -2%; bottom: 13%; animation-delay: 1.7s, 2.2s; }
@keyframes floatIn { from { opacity: 0; scale: 0.85; filter: blur(6px); } to { opacity: 1; scale: 1; filter: none; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
.fi { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; }
.fi svg, .si svg, .ch-ic svg, .ti svg, .reset svg, .mo-pause svg, .store svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fi svg { width: 19px; height: 19px; }
.fi.ok { background: rgba(29, 158, 117, 0.2); color: #30D158; box-shadow: inset 0 0 0 1px rgba(29, 158, 117, 0.5); }
.fi.heart { background: rgba(248, 113, 113, 0.14); color: #F87171; }
.fi.heart svg { fill: currentColor; animation: beat 2.4s ease-in-out 3s infinite; }
.stack { display: flex; }
.stack .av { width: 30px; height: 30px; font-size: 13px; margin-left: -8px; box-shadow: 0 0 0 2px #1c1c1e; background: color-mix(in srgb, var(--c) 24%, #1c1c1e); }
.stack .av:first-child { margin-left: 0; }
.av.c1 { --c: #F59E0B; } .av.c2 { --c: #C084FC; } .av.c3 { --c: #4ADE80; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; border: 1.5px solid var(--line-2); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ink-2); animation: cue 2s var(--ease-io) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Statement: words light up with scroll ---------- */
.statement { padding: 12vh 0 14vh; }
.say { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 5vw, 70px); line-height: 1.1; letter-spacing: -0.035em; max-width: 17em; }
.say .w { opacity: clamp(0.14, calc((var(--p, 0) - 0.2) / 0.36 * var(--n, 20) - var(--i, 0)), 1); transition: opacity 0.15s linear; }
.still .say .w { opacity: 1; }

/* ---------- Sticky scenes ---------- */
.scene .stage { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; overflow: hidden; padding-top: 64px; }
.day { height: 400vh; }
.stage-grid { display: grid; grid-template-columns: 1fr auto; gap: clamp(40px, 8vw, 120px); align-items: center; }
.step-list { list-style: none; margin: 28px 0 0; padding: 0 0 0 28px; position: relative; display: grid; gap: 34px; }
.step-list::before, .step-list::after { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; border-radius: 2px; background: var(--line-2); }
.step-list::after { background: linear-gradient(var(--green-hi), var(--green)); transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }
.step { opacity: 0.26; transform: translateX(0); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); max-width: 30em; }
.step .num { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; color: var(--ink-3); margin-bottom: 8px; transition: color 0.4s; }
.step p { margin-top: 10px; color: var(--ink-2); font-size: 17px; }
.day[data-step="0"] .step[data-i="0"], .day[data-step="1"] .step[data-i="1"], .day[data-step="2"] .step[data-i="2"], .day[data-step="3"] .step[data-i="3"] { opacity: 1; transform: translateX(8px); }
.day[data-step="0"] .step[data-i="0"] .num, .day[data-step="1"] .step[data-i="1"] .num, .day[data-step="2"] .step[data-i="2"] .num, .day[data-step="3"] .step[data-i="3"] .num { color: var(--green-hi); }
.step-dots { display: none; }
.stage-phone { position: relative; }
.stage-phone::before { content: ""; position: absolute; inset: -18% -40%; background: radial-gradient(closest-side, rgba(29, 158, 117, 0.3), transparent); z-index: -1; animation: breathe-glow 7s ease-in-out infinite; }
.scene-phone { --s: 0.814; }

/* ---------- Chapters ---------- */
.chapters { height: 400vh; --cc: var(--ch1); }
.chapters[data-ch="1"] { --cc: var(--ch2); }
.chapters[data-ch="2"] { --cc: var(--ch3); }
.chapters[data-ch="3"] { --cc: var(--ch4); }
.ch-grid { display: grid; grid-template-columns: 1fr auto; gap: clamp(32px, 6vw, 90px); align-items: center; }
.ch-copy .h2 { font-size: clamp(30px, 3.4vw, 48px); margin-top: 12px; max-width: 13em; }
.ch-day { margin-top: 14px; font-family: var(--display); font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; color: var(--ink-3); }
.ch-day b { display: inline-block; min-width: 2.1ch; font-size: 2.2em; letter-spacing: -0.04em; color: var(--cc); transition: color 0.5s; font-variant-numeric: tabular-nums; }
.ch-cards { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; }
.ch-card { --k: var(--ch1); display: flex; gap: 14px; align-items: flex-start; padding: 12px 16px; border-radius: 18px; border: 1px solid transparent; opacity: 0.38; transition: opacity 0.5s, background-color 0.5s, border-color 0.5s, transform 0.5s var(--ease); }
.ch-card.k2 { --k: var(--ch2); } .ch-card.k3 { --k: var(--ch3); } .ch-card.k4 { --k: var(--ch4); }
.ch-ic { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; color: var(--k); border: 1.5px solid color-mix(in srgb, var(--k) 60%, transparent); }
.ch-ic svg { width: 19px; height: 19px; }
.ch-card small { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.ch-card b { display: block; font-size: 19px; color: var(--k); letter-spacing: -0.01em; }
.ch-card em { display: block; font-style: normal; font-size: 15px; color: var(--ink-2); margin-top: 2px; }
.chapters[data-ch="0"] .ch-card[data-i="0"], .chapters[data-ch="1"] .ch-card[data-i="1"], .chapters[data-ch="2"] .ch-card[data-i="2"], .chapters[data-ch="3"] .ch-card[data-i="3"] {
  opacity: 1; background: color-mix(in srgb, var(--k) 9%, transparent); border-color: color-mix(in srgb, var(--k) 35%, transparent); transform: translateX(6px); }
.ch-board { padding: 28px 30px 24px; border-radius: 30px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)); border: 1px solid var(--line-2); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35); }
.weeks { display: grid; gap: 10px; }
.wk { --cc: var(--ch1); display: flex; align-items: center; gap: 10px; }
.wk.k2 { --cc: var(--ch2); } .wk.k3 { --cc: var(--ch3); } .wk.k4 { --cc: var(--ch4); }
.wl { width: 34px; font-size: 12px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.cd { --on: clamp(0, calc(var(--p, 0) * 74 - var(--i, 0) - 0.5), 1); width: 30px; height: 30px; border-radius: 50%; background: var(--cc); opacity: calc(0.1 + 0.9 * var(--on)); transform: scale(calc(0.62 + 0.38 * var(--on))); box-shadow: 0 0 calc(18px * var(--on)) color-mix(in srgb, var(--cc) 55%, transparent); transition: opacity 0.2s, transform 0.25s var(--ease); }
.cd.miss { background: transparent; box-shadow: inset 0 0 0 2px var(--cc); }
.ch-note { display: flex; gap: 10px; align-items: center; margin-top: 20px; max-width: 26em; font-size: 14px; color: var(--ink-3); }
.ch-note .ring { width: 14px; height: 14px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--ink-3); }
.still .cd { --on: 1; }

/* ---------- Moments ---------- */
.center-head { text-align: center; max-width: 900px; margin: 0 auto clamp(48px, 7vw, 80px); }
.center-head .h2 { margin-top: 14px; font-size: clamp(38px, 5vw, 72px); }
.mo-grid { display: grid; grid-template-columns: auto minmax(0, 440px); gap: clamp(40px, 7vw, 100px); justify-content: center; align-items: center; }
.mo-stage { position: relative; }
.mo-glow { position: absolute; inset: -20% -50%; z-index: -1; background: radial-gradient(closest-side, rgba(29, 158, 117, 0.28), transparent); animation: breathe-glow 6s ease-in-out infinite; }
.mo-phone { --s: 0.7; }
.mo-tabs { display: grid; gap: 6px; }
.mo-tab { --fill: 0; display: block; width: 100%; text-align: left; cursor: pointer; padding: 18px 20px; border-radius: 20px; border: 1px solid transparent; background: none; transition: background-color 0.4s, border-color 0.4s; }
.mo-tab .bar { display: block; height: 3px; border-radius: 2px; background: var(--line-2); overflow: hidden; margin-bottom: 14px; }
.mo-tab .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--green-hi)); transform-origin: 0 50%; transform: scaleX(var(--fill)); }
.mo-tab b { display: block; font-size: 19px; font-weight: 650; color: var(--ink-3); transition: color 0.3s; letter-spacing: -0.01em; }
.mo-tab small { display: block; max-height: 0; overflow: hidden; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; opacity: 0; transition: max-height 0.6s var(--ease), opacity 0.4s, margin 0.4s; }
.mo-tab.act { background: rgba(255, 255, 255, 0.045); border-color: var(--line); }
.mo-tab.act b { color: var(--ink); }
.mo-tab.act small { opacity: 1; margin-top: 6px; max-height: 120px; }
.mo-tab:hover b { color: var(--ink); }
.mo-pause { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.05); cursor: pointer; font-size: 14px; color: var(--ink-2); }
.mo-pause svg { width: 16px; height: 16px; }
.mo-pause.paused svg { fill: currentColor; }

/* ---------- Try it ---------- */
.try-grid { display: grid; grid-template-columns: 1fr auto; gap: clamp(40px, 7vw, 110px); align-items: center; }
.try-copy .h2 { margin-top: 14px; }
.try-copy .lede { margin-top: 22px; }
.try-tabs { display: grid; gap: 10px; margin-top: 34px; max-width: 460px; }
.try-tab { display: flex; gap: 16px; align-items: center; text-align: left; cursor: pointer; padding: 16px 18px; border-radius: 20px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); transition: background-color 0.3s, border-color 0.3s, transform 0.3s var(--ease); }
.try-tab:hover { transform: translateX(4px); }
.try-tab .ti { width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.06); color: var(--ink-2); transition: background-color 0.3s, color 0.3s; }
.ti svg { width: 22px; height: 22px; }
.try-tab b { display: block; font-size: 17px; }
.try-tab small { display: block; font-size: 14.5px; color: var(--ink-3); }
.try-tab.act { background: rgba(29, 158, 117, 0.1); border-color: rgba(29, 158, 117, 0.45); }
.try-tab.act .ti { background: var(--green); color: #fff; }
.reset { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; cursor: pointer; color: var(--ink-3); font-size: 14px; padding: 6px 0; }
.reset:hover { color: var(--ink); }
.reset svg { width: 16px; height: 16px; }
.try-stage { position: relative; display: grid; justify-items: center; }
.try-ring { position: absolute; top: 50%; left: 50%; width: 520px; height: 520px; margin: -280px 0 0 -260px; border-radius: 50%; background: conic-gradient(from 0deg, transparent, rgba(52, 192, 143, 0.4), transparent 30%, transparent 50%, rgba(29, 158, 117, 0.35), transparent 80%); filter: blur(40px); animation: spin 14s linear infinite; z-index: -1; }
.try-phone { --s: 0.858; }
.tap-hint { margin-top: 22px; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; font-size: 13.5px; color: var(--ink-2); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.tap-hint .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-hi); position: relative; }
.tap-hint .dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green-hi); animation: ring 1.6s ease-out infinite; }

/* ---------- Crew ---------- */
.crew-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.crew-copy .h2 { margin-top: 14px; font-size: clamp(36px, 4.4vw, 62px); }
.crew-copy .lede { margin-top: 22px; }
.orbit { position: relative; width: min(100%, 500px); aspect-ratio: 1; margin: 0 auto; }
.orbit-ring { position: absolute; inset: 9%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, 0.14); animation: spin 90s linear infinite; }
.orbit-ring.r2 { inset: 30%; border-style: solid; border-color: rgba(29, 158, 117, 0.22); animation-direction: reverse; animation-duration: 60s; }
.me-node { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.me-node .av.big { --c: #34c08f; width: 104px; height: 104px; font-size: 22px; font-weight: 750; box-shadow: 0 0 0 1px rgba(52, 192, 143, 0.4), 0 0 80px rgba(29, 158, 117, 0.45); background: radial-gradient(circle at 35% 30%, #23b483, #0f5c44); color: #fff; }
.me-node::before, .me-node::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(52, 192, 143, 0.5); animation: ring 3.2s ease-out infinite; }
.me-node::after { animation-delay: 1.6s; }
.seats { position: absolute; inset: 0; animation: spin 120s linear infinite; }
.seat { --r: 41%; --c: rgba(255, 255, 255, 0.4); position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--a)) translateY(calc(var(--r) * -1)); }
.seats { container-type: size; }
.seat { transform: rotate(var(--a)) translateY(-41cqh); }
.seat.s0 { --a: 0deg; } .seat.s1 { --a: 51.43deg; } .seat.s2 { --a: 102.86deg; } .seat.s3 { --a: 154.29deg; } .seat.s4 { --a: 205.71deg; } .seat.s5 { --a: 257.14deg; } .seat.s6 { --a: 308.57deg; }
.seat i { position: absolute; left: -30px; top: -30px; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 21px; font-weight: 800; transform: rotate(calc(var(--a) * -1)); animation: counter 120s linear infinite; color: var(--ink-3); border: 1.5px dashed rgba(255, 255, 255, 0.2); }
@keyframes counter { from { rotate: 0deg; } to { rotate: -360deg; } }
.seat.filled i { border: 0; color: var(--c); background: color-mix(in srgb, var(--c) 18%, #111113); box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 40%, transparent), 0 10px 30px rgba(0, 0, 0, 0.4); }
.seat.filled i::after { content: ""; position: absolute; right: 2px; bottom: 2px; width: 13px; height: 13px; border-radius: 50%; background: var(--green-hi); box-shadow: 0 0 0 3px #0a0a0b; animation: blink 2.4s ease-in-out infinite; }
.seat.s1 i::after { animation-delay: 0.6s; } .seat.s2 i::after { animation-delay: 1.2s; } .seat.s3 i::after { animation-delay: 1.8s; }
.seat.a1 { --c: #F59E0B; } .seat.a2 { --c: #C084FC; } .seat.a3 { --c: #4ADE80; } .seat.a4 { --c: #F472B6; }
.sees { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.see { padding: 22px; border-radius: 22px; }
.see h3 { display: flex; align-items: center; gap: 10px; font-family: inherit; font-size: 16px; font-weight: 650; letter-spacing: -0.01em; }
.si { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; }
.si svg { width: 16px; height: 16px; }
.si.yes { background: rgba(29, 158, 117, 0.18); color: var(--green-hi); }
.si.no { background: rgba(255, 255, 255, 0.08); color: var(--ink-2); }
.see ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); }
.see li { padding-left: 16px; position: relative; }
.see li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); }
.fine { margin-top: 20px; font-size: 14.5px; color: var(--ink-3); }

/* ---------- Why ten weeks ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.why-copy .h2 { margin-top: 10px; font-size: clamp(44px, 5vw, 72px); }
.big-num { display: block; font-size: clamp(110px, 15vw, 210px); line-height: 0.9; letter-spacing: -0.06em; background: linear-gradient(180deg, #fff 20%, #6fd6ae 75%, var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.why-copy .lede { margin-top: 22px; }
.bars { padding: 30px; display: grid; gap: 26px; --g: clamp(0, calc((var(--p, 0) - 0.22) * 3.2), 1); }
.brow { display: grid; grid-template-columns: 74px 1fr; gap: 8px 16px; align-items: center; }
.brow .bl { font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.brow .bt { height: 14px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); overflow: hidden; }
.brow .bt i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, #2e7d63, #4fd1a1); transform-origin: 0 50%; transform: scaleX(calc(var(--w) * var(--g))); }
.brow small { grid-column: 2; font-size: 14px; color: var(--ink-3); }
.brow { --w: 0.943; }
.brow.myth { --w: 0.3; }
.brow.myth .bl { color: var(--ink-3); }
.brow.myth .bt i { background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.22) 0 6px, rgba(255, 255, 255, 0.1) 6px 12px); }
.brow.ours { --w: 1; }
.brow.ours .bl { color: var(--green-hi); }
.brow.ours .bt i { background: linear-gradient(90deg, var(--green), #6ff0c0); box-shadow: 0 0 22px rgba(52, 192, 143, 0.6); }
.still .bars { --g: 1; }

/* ---------- What you won't find ---------- */
.not-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

/* ---------- Get ---------- */
.get-inner { text-align: center; display: grid; justify-items: center; }
.get-icon { position: relative; width: 104px; height: 104px; margin-bottom: 34px; }
.get-icon img { position: relative; width: 104px; height: 104px; border-radius: 24px; box-shadow: 0 20px 60px rgba(29, 158, 117, 0.35); animation: breathe 4s ease-in-out infinite; }
.get-icon i { position: absolute; inset: 0; border-radius: 30px; border: 1px solid rgba(52, 192, 143, 0.5); animation: ring 3s ease-out infinite; }
.get-icon i:nth-child(2) { animation-delay: 1.5s; }
.get-inner .h2 { font-size: clamp(48px, 8vw, 116px); letter-spacing: -0.05em; }
.get-inner .lede { margin-top: 18px; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 34px 0 44px; font-size: 14px; color: var(--ink-3); }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 22px; }
.foot nav a { text-decoration: none; color: var(--ink-2); }
.foot nav a:hover { color: var(--ink); }
.foot .brand { color: var(--ink); }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1100px) {
  .not-grid { grid-template-columns: 1fr 1fr; }
  .float.f2 { right: -2%; }
}
@media (max-width: 980px) {
  .hero { min-height: auto; padding-top: 40px; }
  .hero-grid, .try-grid, .crew-grid, .why-grid, .mo-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; display: grid; justify-items: center; }
  .hero .lede { margin-inline: auto; }
  .cta-row { justify-content: center; }
  .hero-stage { min-height: 600px; margin-top: 10px; translate: none; scale: none; }
  .hero-phone { --s: 0.62; }
  .float { font-size: 13px; padding: 10px 14px 10px 10px; }
  .f1 { left: 2%; } .f2 { right: 0; } .f3 { left: 4%; }
  .scroll-cue { display: none; }

  /* scroll story: phone on top, one step at a time underneath */
  .scene .stage { align-items: flex-start; padding-top: 72px; }
  .stage-grid { grid-template-columns: 1fr; gap: 18px; justify-items: center; text-align: center; }
  .stage-phone { order: -1; }
  .scene-phone { --s: 0.55; }
  .steps { width: 100%; max-width: 520px; }
  .steps .eyebrow { display: none; }
  .step-list { padding: 0; margin: 0; display: grid; }
  .step-list::before, .step-list::after { display: none; }
  .step { grid-area: 1 / 1; opacity: 0 !important; transform: translateY(12px) !important; max-width: none; }
  .day[data-step="0"] .step[data-i="0"], .day[data-step="1"] .step[data-i="1"], .day[data-step="2"] .step[data-i="2"], .day[data-step="3"] .step[data-i="3"] { opacity: 1 !important; transform: none !important; }
  .step .num { display: none; }
  .step .h3 { font-size: 24px; }
  .step p { font-size: 15.5px; margin-top: 6px; }
  .step-dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
  .step-dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--line-2); transition: width 0.4s var(--ease), background-color 0.4s; }
  .day[data-step="0"] .step-dots i:nth-child(1), .day[data-step="1"] .step-dots i:nth-child(2), .day[data-step="2"] .step-dots i:nth-child(3), .day[data-step="3"] .step-dots i:nth-child(4) { width: 22px; background: var(--green-hi); }

  .ch-grid { grid-template-columns: 1fr; gap: 18px; justify-items: center; text-align: center; }
  .chapters .stage { padding-top: 76px; }
  .ch-copy .h2 { font-size: 28px; margin-inline: auto; }
  .ch-day { margin-top: 8px; font-size: 18px; }
  .ch-cards { display: grid; margin-top: 8px; }
  .ch-card { grid-area: 1 / 1; opacity: 0 !important; transform: none !important; text-align: left; }
  .chapters[data-ch="0"] .ch-card[data-i="0"], .chapters[data-ch="1"] .ch-card[data-i="1"], .chapters[data-ch="2"] .ch-card[data-i="2"], .chapters[data-ch="3"] .ch-card[data-i="3"] { opacity: 1 !important; }
  .ch-board { padding: 16px 18px 14px; border-radius: 22px; order: 2; }
  .weeks { gap: 6px; }
  .cd { width: 20px; height: 20px; }
  .wk { gap: 7px; }
  .wl { width: 28px; font-size: 11px; }
  .ch-note { font-size: 12.5px; margin-top: 12px; }

  .mo-phone { --s: 0.6; }
  .mo-stage { justify-self: center; }
  .mo-side { max-width: 560px; justify-self: center; width: 100%; }
  .try-copy { text-align: center; display: grid; justify-items: center; }
  .try-tabs { width: 100%; }
  .try-phone { --s: 0.792; }
  .try-stage { order: -1; }
  .crew-copy { text-align: center; }
  .crew-copy .lede { margin-inline: auto; }
  .sees { text-align: left; }
  .orbit { width: min(100%, 380px); }
  .why-copy { text-align: center; }
  .why-copy .lede { margin-inline: auto; }
}
@media (max-width: 600px) {
  .hero-h { font-size: clamp(44px, 13vw, 64px); }
  .hero-stage { min-height: 520px; }
  .hero-phone { --s: 0.56; }
  .halo::before { width: 420px; height: 420px; }
  .halo i { width: 280px; height: 280px; }
  .float { display: none; }
  .float.f1, .float.f2 { display: flex; }
  .f1 { left: -2%; top: 14%; } .f2 { right: -2%; top: auto; bottom: 16%; }
  .scene-phone { --s: 0.506; }
  .statement { padding: 18vh 0; }
  .sees, .not-grid { grid-template-columns: 1fr; }
  .mo-phone { --s: 0.56; }
  .mo-tab { padding: 14px 16px; }
  .mo-tab b { font-size: 17px; }
  .try-phone { --s: 0.726; }
  .try-ring { width: 380px; height: 380px; margin: -200px 0 0 -190px; }
  .cd { width: 18px; height: 18px; }
  .seat i { width: 46px; height: 46px; left: -23px; top: -23px; font-size: 16px; }
  .me-node .av.big { width: 80px; height: 80px; font-size: 18px; }
  .bars { padding: 22px 18px; }
  .brow { grid-template-columns: 70px 1fr; gap: 6px 12px; }
  .brow .bl { font-size: 15px; }
  .foot-in { justify-content: center; text-align: center; }
}
@media (max-width: 980px) and (max-height: 760px) {
  .scene-phone { --s: 0.44; }
  .chapters .stage { padding-top: 66px; }
  .cd { width: 16px; height: 16px; }
  .weeks { gap: 5px; }
}
@media (max-width: 980px) and (min-width: 700px) and (min-height: 1000px) {
  .scene-phone { --s: 0.726; }
  .mo-phone { --s: 0.74; } .try-phone { --s: 0.814; }
  .cd { width: 26px; height: 26px; }
  .weeks { gap: 9px; }
}

/* =====================================================================
   Round 2: livelier chapters, a pinned Try it, and "left out" cards
   ===================================================================== */

/* chapter cards fill as their days pass */
.ch-card > span:last-child { flex: 1; min-width: 0; }
.ch-prog { display: block; height: 3px; margin-top: 10px; border-radius: 2px; background: color-mix(in srgb, var(--k) 16%, transparent); overflow: hidden; }
.ch-prog i { display: block; height: 100%; background: var(--k); transform-origin: 0 50%; transform: scaleX(var(--cp, 0)); transition: transform 0.25s linear; }

/* the board */
.ch-board { position: relative; }
.cd.now { opacity: 1; transform: scale(1.12); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9), 0 0 24px var(--cc); z-index: 1; position: relative; }
.cd.now::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--cc); animation: ripple 1.6s cubic-bezier(0.5, 1, 0.89, 1) infinite; }
@keyframes ripple { from { transform: scale(1); opacity: 0.6; } to { transform: scale(2.4); opacity: 0; } }
.wk-check { width: 22px; height: 22px; flex: none; margin-left: 4px; border-radius: 50%; display: grid; place-items: center; background: var(--cc); color: #0a0a0b; opacity: 0; transform: scale(0.4); transition: opacity 0.3s, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.4s; }
.wk-check svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.wk.done .wk-check { opacity: 1; transform: scale(1); }

.ch-toast { --tc: var(--ch1); position: absolute; z-index: 4; left: 50%; top: -86px; display: flex; gap: 12px; align-items: center; width: max-content; max-width: calc(100% + 40px); padding: 12px 18px 12px 12px; border-radius: 18px;
  background: rgba(22, 22, 24, 0.92); border: 1px solid color-mix(in srgb, var(--tc) 50%, transparent); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5), 0 0 40px color-mix(in srgb, var(--tc) 25%, transparent);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); opacity: 0; transform: translate(-50%, 14px) scale(0.92); transition: opacity 0.35s, transform 0.5s cubic-bezier(0.34, 1.4, 0.64, 1); pointer-events: none; }
.ch-toast.on { opacity: 1; transform: translate(-50%, 0) scale(1); }
.ct-ic { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--tc); color: #0a0a0b; }
.ct-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ch-toast small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tc); }
.ch-toast b { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.ch-toast.on .ct-ic { animation: popin 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both; }

.ch-finish { position: absolute; z-index: 4; left: 50%; top: 50%; display: grid; justify-items: center; gap: 4px; padding: 22px 30px; border-radius: 24px; text-align: center;
  background: rgba(16, 14, 12, 0.88); border: 1px solid rgba(212, 165, 116, 0.45); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 80px rgba(212, 165, 116, 0.25);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transform: translate(-50%, -50%) scale(0.85); transition: opacity 0.4s, transform 0.6s cubic-bezier(0.34, 1.4, 0.64, 1); pointer-events: none; }
.cf-medal { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: #D4A574; border: 1.5px solid #D4A574; margin-bottom: 8px; }
.cf-medal svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ch-finish b { white-space: nowrap; font-family: var(--display); font-size: 24px; letter-spacing: -0.02em; color: #E8C79E; }
.ch-finish small { font-size: 14px; color: var(--ink-2); }
.finished .ch-finish { opacity: 1; transform: translate(-50%, -50%) scale(1); transition-delay: 0.5s; }
.finished .cf-medal { animation: medal 3s ease-in-out 1s infinite; }
@keyframes medal { 0%, 100% { box-shadow: 0 0 0 0 rgba(212, 165, 116, 0.35), 0 0 30px rgba(212, 165, 116, 0.2); } 50% { box-shadow: 0 0 0 12px rgba(212, 165, 116, 0), 0 0 60px rgba(212, 165, 116, 0.4); } }
.finished .cd { background: #D4A574; box-shadow: 0 0 14px rgba(212, 165, 116, 0.5); transition: background-color 0.4s calc(var(--i) * 8ms), box-shadow 0.4s calc(var(--i) * 8ms), opacity 0.2s, transform 0.25s; }
.finished .cd.miss { background: transparent; box-shadow: inset 0 0 0 2px #D4A574; }
.finished .wk-check { background: #D4A574; }
.finished .ch-day b { color: #D4A574; }
.ch-burst { position: absolute; left: 50%; top: 50%; z-index: 3; pointer-events: none; }
.bb { position: absolute; width: 8px; height: 13px; border-radius: 2px; opacity: 0; }
.bb0 { background: #D4A574; } .bb1 { background: #F5E3C2; } .bb2 { background: #60A5FA; } .bb3 { background: #F59E0B; } .bb4 { background: #4ADE80; } .bb5 { background: #A78BFA; }
.ch-burst.go .bb { animation: burst 1.6s cubic-bezier(0.2, 0.7, 0.3, 1) 0.2s both; }
@keyframes burst { 0% { opacity: 1; transform: translate(0, 0) rotate(0) scale(0.6); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--bx), calc(var(--by) + 60px)) rotate(var(--br)) scale(1); } }

/* Try it: pinned, tours Home, Crew and Me as you scroll */
.try { padding-top: clamp(40px, 5vw, 70px); }
.try-head-m { display: none; }
.tryscene { height: 340vh; }
.try-tab { position: relative; overflow: hidden; }
.tt-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; }
.tt-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--green-hi)); transform-origin: 0 50%; transform: scaleX(var(--tp, 0)); }
.try-copy .lede { max-width: 30em; }

.mk-streak { background: linear-gradient(135deg, #fff4e6, #ffe1c2); }
.mk-flame { width: 56px; height: 56px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #ff7a1a; color: #fff; box-shadow: 0 8px 24px rgba(255, 122, 26, 0.45); }
.mk-flame svg { width: 30px; height: 30px; fill: #fff; stroke: none; }
.mk-streak b { display: block; font-size: 34px; line-height: 1; font-weight: 800; letter-spacing: -0.03em; }
.mk-streak small { font-size: 13px; font-weight: 600; color: #7a4a1f; }
.mk-streak em { position: absolute; right: 12px; top: 12px; font-style: normal; font-size: 11px; font-weight: 800; color: #fff; background: #b45309; padding: 3px 8px; border-radius: 99px; }
.mk-board { flex-direction: column; align-items: stretch; justify-content: center; gap: 6px; background: linear-gradient(135deg, #eef2ff, #e0e7ff); }
.mk-row { display: flex; align-items: center; gap: 10px; padding: 5px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.85); font-size: 13px; }
.mk-row i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 800; color: #fff; background: #f5b400; }
.mk-row:nth-child(2) i { background: #9aa3b5; } .mk-row:nth-child(3) i { background: #c9773a; }
.mk-row b { flex: 1; font-weight: 650; }
.mk-row em { font-style: normal; font-weight: 700; color: #4f46e5; }
.mk-row.you { box-shadow: inset 0 0 0 2px #4f46e5; }
.mk-ad { flex-direction: column; align-items: stretch; justify-content: center; gap: 10px; background: linear-gradient(135deg, #f0fdf4, #dcfce7); }
.mk-tag { align-self: flex-start; font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #6b7280; background: #fff; padding: 3px 8px; border-radius: 6px; }
.mk-lines { display: grid; gap: 6px; }
.mk-lines i { height: 9px; border-radius: 5px; background: rgba(0, 0, 0, 0.14); }
.mk-lines i:last-child { width: 62%; }
.mk-btn { align-self: flex-start; font-size: 13px; font-weight: 700; color: #fff; background: #2563eb; padding: 6px 14px; border-radius: 99px; }
.mk-pay { flex-direction: column; justify-content: center; gap: 8px; background: linear-gradient(135deg, #faf5ff, #f3e8ff); }
.mk-lock { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #7c3aed; color: #fff; }
.mk-lock svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.mk-pay b { font-size: 17px; font-weight: 800; }
.mk-pay .mk-btn { align-self: center; background: #7c3aed; }

@media (max-width: 980px) {
  .tryscene { height: 320vh; }
  .try-head-m { display: block; text-align: center; padding-bottom: 8px; }
  .try-head-m .h2 { margin-top: 12px; }
  .try-head-m .lede { margin: 16px auto 0; }
  .try-copy .eyebrow, .try-copy .h2, .try-copy .lede, .try-copy .reset { display: none; }
  .tryscene .stage { padding-top: 70px; align-items: flex-start; }
  .tryscene .try-grid { gap: 12px; justify-items: center; }
  .tryscene .try-stage { order: 0; }
  .tryscene .try-copy { order: 1; width: 100%; }
  .try-tabs { margin-top: 0; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 420px; margin-inline: auto; }
  .try-tab { flex-direction: column; gap: 6px; padding: 10px 6px 12px; justify-content: center; text-align: center; }
  .try-tab small { display: none; }
  .try-tab .ti { width: 34px; height: 34px; border-radius: 11px; }
  .try-tab b { font-size: 14px; }
  .try-tab:hover { transform: none; }
  .tap-hint { display: none; }
  .try-phone { --s: 0.682; }
  .ch-toast { top: auto; bottom: 10px; padding: 10px 14px 10px 10px; max-width: calc(100% - 16px); }
  .ch-toast b { font-size: 13px; }
  .ch-toast small { font-size: 10px; }
  .wk-check { width: 16px; height: 16px; }
  .wk-check svg { width: 10px; height: 10px; }
}
@media (max-width: 600px) {
  .try-phone { --s: 0.616; }
  .ch-finish { padding: 16px 20px; }
  .ch-finish b { font-size: 19px; }
  }
@media (max-width: 980px) and (max-height: 760px) { .try-phone { --s: 0.528; } }
@media (max-width: 980px) and (min-width: 700px) and (min-height: 1000px) { .try-phone { --s: 0.792; } }
@media (max-width: 980px) {
  .ch-toast { gap: 9px; }
  .ct-ic { width: 26px; height: 26px; }
  .ct-ic svg { width: 14px; height: 14px; }
  .ch-toast b { font-size: 12.5px; line-height: 1.35; }
}

/* =====================================================================
   Round 3: phone fits short screens; "won't find" turns theirs into ours
   ===================================================================== */
@media (min-width: 981px) and (max-height: 940px) { .try-phone, .scene-phone { --s: 0.748; } }
@media (min-width: 981px) and (max-height: 840px) { .try-phone, .scene-phone { --s: 0.682; } .tap-hint { display: none; } }
@media (min-width: 981px) and (max-height: 760px) { .try-phone, .scene-phone { --s: 0.616; } }
@media (min-width: 981px) and (max-height: 680px) { .try-phone, .scene-phone { --s: 0.55; } }

.eyebrow.big { font-size: clamp(17px, 1.6vw, 22px); letter-spacing: 0.16em; }

.not { position: relative; padding: 20px 20px 26px; border-radius: 26px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)); border: 1px solid var(--line-2); }
.not h3 { margin-top: 20px; font-size: 22px; letter-spacing: -0.02em; }
.not p { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; }
.swap { position: relative; height: 162px; }
.who { position: relative; display: block; height: 18px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.who i { position: absolute; left: 2px; top: 0; font-style: normal; transition: opacity 0.5s, transform 0.6s var(--ease); }
.who i:first-child { color: var(--ink-3); }
.who i:last-child { color: var(--green-hi); opacity: 0; transform: translateY(6px); }
.mock { position: absolute; left: 0; right: 0; top: 26px; height: 136px; border-radius: 18px; padding: 16px; display: flex; align-items: center; gap: 12px; overflow: hidden; color: #18181b;
  transition: opacity 0.8s var(--ease), transform 0.9s var(--ease), filter 0.8s var(--ease); }
.mock.ours { flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; background: #1c1c1e; color: #fff; border: 1px solid rgba(29, 158, 117, 0.35); box-shadow: 0 0 40px rgba(29, 158, 117, 0.12) inset;
  opacity: 0; transform: translateY(14px) scale(0.96); }
/* the swap: theirs dissolves, ours settles in. Hovering shows theirs again. */
.not.in .old, .still .not .old { opacity: 0; transform: scale(0.9); filter: blur(10px); transition-delay: calc(var(--delay, 0ms) + 900ms); }
.not.in .ours, .still .not .ours { opacity: 1; transform: none; transition-delay: calc(var(--delay, 0ms) + 1150ms); }
.not.in .who i:first-child, .still .not .who i:first-child { opacity: 0; transform: translateY(-6px); transition-delay: calc(var(--delay, 0ms) + 900ms); }
.not.in .who i:last-child, .still .not .who i:last-child { opacity: 1; transform: none; transition-delay: calc(var(--delay, 0ms) + 1150ms); }
@media (hover: hover) {
  .not.in:hover .old { opacity: 1; transform: none; filter: none; transition-delay: 0s; }
  .not.in:hover .ours { opacity: 0; transform: translateY(14px) scale(0.96); transition-delay: 0s; }
  .not.in:hover .who i:first-child { opacity: 1; transform: none; transition-delay: 0s; }
  .not.in:hover .who i:last-child { opacity: 0; transform: translateY(6px); transition-delay: 0s; }
}
.o-k { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #F59E0B; }
.o-s { font-size: 14px; color: #c7c7cc; }
.o-t { font-size: 18px; font-weight: 700; }
.o-dots { display: flex; gap: 6px; align-items: center; }
.o-dots i { width: 14px; height: 14px; border-radius: 50%; }
.o-dots .g { background: #1D9E75; } .o-dots .a { background: #E0A458; } .o-dots .m { background: #3a3a3c; }
.o-dots .t { background: #F59E0B; position: relative; }
.o-dots .t::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #F59E0B; animation: ripple 1.6s cubic-bezier(0.5, 1, 0.89, 1) infinite; }
.o-row { display: flex; align-items: center; gap: 10px; width: 100%; }
.o-av { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; color: #F59E0B; background: rgba(245, 158, 11, 0.15); }
.o-row > span:nth-child(2) { flex: 1; }
.o-row b { display: block; font-size: 15px; }
.o-row small { display: block; font-size: 12.5px; color: #888; }
.o-chip { display: flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 99px; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.o-chip svg { width: 15px; height: 15px; fill: #F87171; stroke: #F87171; stroke-width: 1.5; }
.not.in .o-chip svg { animation: beat 1s ease-out calc(var(--delay, 0ms) + 1700ms); }
.o-free { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 34px; font-weight: 700; letter-spacing: -0.03em; }
.o-ck { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(29, 158, 117, 0.2); border: 1px solid rgba(29, 158, 117, 0.5); color: #30D158; }
.o-ck svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.mock.mk-ad, .mock.mk-board { align-items: stretch; }
.mock.mk-pay { align-items: center; }

/* =====================================================================
   Live-site hardening
   ===================================================================== */
/* Decorative glows (behind the phones, the try-it ring) may reach past the
   screen edge; clip them sideways without making a scroll container, so
   the pinned sections keep working. */
main, .foot { overflow-x: clip; }

/* Without JavaScript: no pinned stretches, no empty phones, every word visible */
html:not(.js) .scene { height: auto; }
html:not(.js) .scene .stage { position: relative; height: auto; padding-block: 72px; }
html:not(.js) .phone:empty, html:not(.js) .ch-board, html:not(.js) .tap-hint, html:not(.js) .step-dots, html:not(.js) .mo-pause, html:not(.js) [data-reset] { display: none; }
html:not(.js) .step { opacity: 1; }
html:not(.js) .step-list::after { display: none; }
html:not(.js) .mo-tab small { opacity: 1; max-height: none; margin-top: 6px; }
html:not(.js) .mo-tab b { color: var(--ink); }
html:not(.js) .mo-tab .bar { display: none; }
html:not(.js) .not .old { display: none; }
html:not(.js) .not .ours { opacity: 1; transform: none; }
html:not(.js) .not .who i:first-child { display: none; }
html:not(.js) .not .who i:last-child { opacity: 1; transform: none; }
@media (max-width: 980px) {
  html:not(.js) .step, html:not(.js) .ch-card { opacity: 1 !important; grid-area: auto; transform: none !important; }
  html:not(.js) .step-list, html:not(.js) .ch-cards { gap: 22px; }
}
