/* coldwise.app home page. Hand-written, no build step.
   Order: tokens, base, nav, buttons, hero, marquee, section furniture, phones, steppers,
   bento cards and their visuals, pricing, FAQ, download and footer, motion, small screens. */

:root {
  --bg: #071a2b;
  --ink: #04243d;
  --ice: #e9f6ff;
  --cyan: #3ec5ff;
  --ember: #e2ff4a;
  --flush: #ff8fb8;
  --warn: #ffb86b;
  --blue: #0f5fd0;
  --container: 1200px;
  --gut: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --spring: cubic-bezier(0.3, 1.5, 0.5, 1);
  --display: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ice);
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 6px; }
.light :focus-visible { outline-color: var(--blue); }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--ice); color: var(--ink); padding: 10px 16px; border-radius: 99px; font-weight: 600; }
.skip:focus { left: 12px; }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.num { font-variant-numeric: tabular-nums; }

/* Sections set their own colours through these, so shared pieces work on navy and on white. */
.dark { --fg: #e9f6ff; --mut: #a9c5d8; --acc: var(--ember); --hair: rgba(233, 246, 255, 0.1); --step-on: rgba(233, 246, 255, 0.06); --step-line: rgba(226, 255, 74, 0.4); color: var(--fg); }
.light { --fg: #04243d; --mut: #4f6a7c; --acc: var(--blue); --hair: rgba(4, 36, 61, 0.09); --step-on: #f1f6fc; --step-line: rgba(15, 95, 208, 0.3); background: #fff; color: var(--fg); }

/* ---------------------------------------------------------------- nav */

.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }
.nav-in {
  pointer-events: auto;
  display: flex; align-items: center; gap: 28px;
  height: 52px; padding: 0 7px 0 18px; border-radius: 26px;
  background: rgba(7, 26, 43, 0.62);
  border: 1px solid rgba(233, 246, 255, 0.12);
  -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(233, 246, 255, 0.08);
  transition: background 0.4s, box-shadow 0.4s, border-color 0.4s;
}
.nav.scrolled .nav-in { background: rgba(7, 26, 43, 0.86); border-color: rgba(233, 246, 255, 0.16); box-shadow: inset 0 1px 0 rgba(233, 246, 255, 0.08), 0 16px 40px -16px rgba(2, 12, 24, 0.7); }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 19px; letter-spacing: -0.035em; color: var(--ice); }
.brand svg { width: 21px; height: 21px; }
.nav-links { display: flex; gap: 2px; font-size: 14px; font-weight: 500; }
.nav-links a { padding: 8px 12px; border-radius: 99px; color: #c3d9e8; transition: color 0.25s, background 0.25s; }
.nav-links a:hover { color: #fff; background: rgba(233, 246, 255, 0.08); }

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

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 23px; font-size: 15px; font-weight: 600; letter-spacing: -0.005em; white-space: nowrap; cursor: pointer; border: 0; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.97); }
.btn-sm { height: 38px; padding: 0 16px; border-radius: 19px; font-size: 14px; }
.btn-primary { background: var(--ice); color: var(--ink); box-shadow: inset 0 1px 0 #fff, 0 10px 28px -10px rgba(62, 197, 255, 0.5); }
.btn-primary:hover { background: #fff; box-shadow: inset 0 1px 0 #fff, 0 16px 34px -10px rgba(62, 197, 255, 0.65); }
.btn-ghost { background: rgba(233, 246, 255, 0.07); color: var(--ice); box-shadow: inset 0 0 0 1px rgba(233, 246, 255, 0.14); }
.btn-ghost:hover { background: rgba(233, 246, 255, 0.12); }
.btn-ember { background: var(--ember); color: #1c2600; box-shadow: 0 10px 30px -10px rgba(226, 255, 74, 0.45); }
.btn-line { background: transparent; color: var(--ice); box-shadow: inset 0 0 0 1.5px rgba(233, 246, 255, 0.55); }
.btn-line:hover { background: rgba(233, 246, 255, 0.08); }
.btn-wide { width: 100%; }
.btn svg { width: 16px; height: 16px; }

.store { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px 0 14px; border-radius: 13px; background: #000; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26); transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.store:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5), 0 14px 30px -12px rgba(0, 0, 0, 0.7); }
.store svg { width: 22px; height: 22px; flex: none; }
.store span { display: flex; flex-direction: column; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; white-space: nowrap; }
.store small { font-size: 10px; font-weight: 500; letter-spacing: 0.01em; opacity: 0.85; }

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

.hero { position: relative; overflow: hidden; padding-top: 128px; }
.hero-glow { position: absolute; left: 50%; top: -320px; width: min(1100px, 120%); height: 720px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(20, 121, 201, 0.55), rgba(20, 121, 201, 0)); pointer-events: none; }
.hero > canvas { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 340px; pointer-events: none; }
.hero-in { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 13px; border-radius: 15px; font-size: 13px; font-weight: 500; color: #d6e8f5; background: rgba(233, 246, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(233, 246, 255, 0.12); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ember); flex: none; }
.hero h1 { margin-top: 20px; font-size: clamp(40px, 5.4vw, 72px); font-weight: 500; letter-spacing: -0.05em; line-height: 1; }
.hero h1 em { font-style: normal; color: var(--ember); }
.lead { margin-top: 18px; max-width: 30em; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.5; color: #c7dcea; text-wrap: balance; }
.cta-row { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

.stage { position: relative; margin-top: 32px; padding-top: 22px; height: 452px; width: 100%; display: flex; justify-content: center; align-items: flex-start; gap: 30px; }
.stage .phone.main { --pw: 270px; z-index: 2; }
.stage .phone.side { --pw: 214px; margin-top: 62px; }
.stage .phone.l { transform: rotate(-4deg); transform-origin: 100% 0; }
.stage .phone.r { transform: rotate(4deg); transform-origin: 0 0; }

.getcard { position: absolute; z-index: 3; right: max(var(--gut), calc((100% - var(--container)) / 2)); bottom: 28px; width: 212px; padding: 16px; border-radius: 22px; display: flex; flex-direction: column; gap: 10px; text-align: left; background: rgba(7, 26, 43, 0.72); border: 1px solid rgba(233, 246, 255, 0.14); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: inset 0 1px 0 rgba(233, 246, 255, 0.1), 0 24px 50px -20px rgba(2, 12, 24, 0.7); }
.getcard p { font-size: 14px; line-height: 1.4; font-weight: 500; color: #d6e8f5; padding: 0 2px 2px; }

/* ---------------------------------------------------------------- marquee */

.marquee { position: relative; padding: 18px 0; border-top: 1px solid rgba(233, 246, 255, 0.08); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 10px; padding-right: 10px; animation: slide 46s linear infinite; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 17px; font-size: 14px; font-weight: 500; white-space: nowrap; color: #d6e8f5; background: rgba(233, 246, 255, 0.045); box-shadow: inset 0 0 0 1px rgba(233, 246, 255, 0.1); }
.chip i { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); }
.chip:nth-child(even) i { background: var(--ember); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- sections */

.sec { position: relative; padding: clamp(72px, 9vw, 120px) 0; scroll-margin-top: 0; }
.sec-glow::before { content: ""; position: absolute; left: 50%; top: 40px; width: min(900px, 90%); height: 520px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(20, 121, 201, 0.28), rgba(20, 121, 201, 0)); pointer-events: none; }
.sec > .container { position: relative; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 56px; margin-bottom: clamp(32px, 4vw, 52px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--acc); }
.eyebrow::before { content: ""; width: 14px; height: 2px; border-radius: 2px; background: currentColor; }
.sec h2 { max-width: 17em; font-size: clamp(28px, 3.3vw, 44px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.06; text-wrap: balance; }
.sec h2 .plus { color: var(--ember); }
.sec-sub { max-width: 23em; font-size: 16px; line-height: 1.55; color: var(--mut); }

/* ---------------------------------------------------------------- phones */

.phone {
  --pw: 264px;
  position: relative; flex: none; width: var(--pw); aspect-ratio: 300 / 652;
  border-radius: calc(var(--pw) * 0.16); background: #06182a; overflow: hidden;
  font-size: calc(var(--pw) / 30);
  box-shadow: 0 0 0 1px rgba(233, 246, 255, 0.24), 0 0 0 calc(var(--pw) * 0.027) #0a1f33, 0 0 0 calc(var(--pw) * 0.027 + 1px) rgba(233, 246, 255, 0.13), 0 50px 90px -30px rgba(2, 12, 24, 0.75);
}
.light .phone { box-shadow: 0 0 0 1px rgba(233, 246, 255, 0.2), 0 0 0 calc(var(--pw) * 0.027) #0a1f33, 0 0 0 calc(var(--pw) * 0.027 + 1px) rgba(4, 36, 61, 0.3), 0 44px 80px -28px rgba(4, 36, 61, 0.45); }
.phone > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone > canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.phone .glowtop { position: absolute; left: -15%; right: -15%; top: -12%; height: 50%; border-radius: 50%; background: #1479c9; opacity: 0.5; filter: blur(calc(var(--pw) * 0.2)); }
.island { position: absolute; z-index: 4; top: 2.1%; left: 50%; width: 30%; height: 4.3%; transform: translateX(-50%); border-radius: 99px; background: #000; }
.ui { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; text-shadow: 0 2px 20px rgba(4, 36, 61, 0.85); }
.ui .lab { font-size: 1.15em; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #cfe3f1; }
.ui .big { font-size: 10.2em; font-weight: 200; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.ui .cue { font-size: 1.6em; font-weight: 500; }
.ui .grow { flex: 1; }
.ui .strip { width: 100%; height: 7.2em; border-radius: 2.4em; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; text-shadow: none; background: rgba(4, 26, 46, 0.62); box-shadow: inset 0 0 0 1px rgba(233, 246, 255, 0.14); }
.ui .strip > div { display: flex; flex-direction: column; align-items: center; gap: 0.2em; }
.ui .strip > div + div { border-left: 1px solid rgba(233, 246, 255, 0.14); }
.ui .strip small { font-size: 0.95em; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #b9d3e6; }
.ui .strip b { font-size: 1.9em; font-weight: 400; font-variant-numeric: tabular-nums; }
.ui .pbtn { width: 100%; height: 3.25em; border-radius: 1.65em; display: flex; align-items: center; justify-content: center; font-size: 1.6em; font-weight: 600; text-shadow: none; background: rgba(233, 246, 255, 0.94); color: var(--ink); transition: transform 0.2s, background 0.2s; }
.timer-ui { padding: 9.6em 2.2em 2.6em; }
.timer-ui .big { margin-top: 0.07em; }
.timer-ui .cue { margin-top: 0.85em; }
.timer-ui .strip { margin-bottom: 1.2em; }
.timer-ui.hit .lab, .timer-ui.hit .big { color: var(--ember); }

/* ---------------------------------------------------------------- steppers */

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.step button { position: relative; overflow: hidden; width: 100%; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; align-items: start; padding: 20px 22px; border: 0; border-radius: 22px; background: transparent; text-align: left; cursor: pointer; opacity: 0.5; box-shadow: inset 0 0 0 1px var(--hair); transition: opacity 0.45s, background 0.45s, box-shadow 0.45s; }
.step button:hover { opacity: 0.8; }
.step.is-on button { opacity: 1; background: var(--step-on); box-shadow: inset 0 0 0 1px var(--step-line); }
.step .n { font-size: 34px; font-weight: 200; line-height: 1; letter-spacing: -0.04em; color: var(--mut); font-variant-numeric: tabular-nums; transition: color 0.45s; }
.step.is-on .n { color: var(--acc); }
.step strong { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.step span span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--mut); }
.step .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--acc); }
.step.is-on .bar { animation: fill var(--dur, 4s) linear forwards; }
@keyframes fill { to { width: 100%; } }

.shots img { opacity: 0; transition: opacity 0.9s ease; }
.shots img.on { opacity: 1; }

/* The demo phone: four screens that cross-fade. */
.demo .ui { opacity: 0; transition: opacity 0.45s ease; }
.demo .ui.on { opacity: 1; }
.d-track { position: relative; height: 0.6em; border-radius: 0.3em; background: rgba(233, 246, 255, 0.18); }
.d-track i { position: absolute; left: 0; top: 0; height: 100%; border-radius: inherit; background: var(--cyan); transition: width 0.14s linear; }
.d-track b { position: absolute; top: -0.9em; width: 2.4em; height: 2.4em; margin-left: -1.2em; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(2, 12, 24, 0.5); transition: left 0.14s linear; }
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 13px; font-size: 12px; font-weight: 700; background: var(--ember); color: #1c2600; white-space: nowrap; }

/* ---------------------------------------------------------------- bento */

.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.c4 { grid-column: span 4; } .c5 { grid-column: span 5; } .c6 { grid-column: span 6; } .c7 { grid-column: span 7; }
.card {
  --mut: #a9c5d8;
  position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 340px; padding: 26px; border-radius: 28px; color: var(--ice);
  background: radial-gradient(130% 110% at 0% 0%, #133a5e 0%, #0a2439 48%, #071a2b 100%);
  box-shadow: inset 0 1px 0 rgba(233, 246, 255, 0.14), 0 30px 60px -32px rgba(4, 36, 61, 0.55);
  transition: translate 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.dark .card { background: linear-gradient(160deg, rgba(233, 246, 255, 0.085), rgba(233, 246, 255, 0.025)); box-shadow: inset 0 0 0 1px rgba(233, 246, 255, 0.1); }
.card:hover { translate: 0 -4px; }
.light .card:hover { box-shadow: inset 0 1px 0 rgba(233, 246, 255, 0.14), 0 40px 70px -30px rgba(4, 36, 61, 0.6); }
.dark .card:hover { box-shadow: inset 0 0 0 1px rgba(233, 246, 255, 0.2); }
.viz { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; min-height: 190px; margin-bottom: 22px; }
.card h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; display: flex; align-items: center; gap: 10px; }
.card h3 + p { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--mut); max-width: 34em; }
.mini { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mut); }

/* Score */
.v-score { justify-content: flex-start; gap: clamp(20px, 3vw, 40px); }
.ring { position: relative; flex: none; width: 164px; height: 164px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; }
.ring .trk { stroke: rgba(233, 246, 255, 0.12); }
.ring .val { stroke: var(--cyan); stroke-linecap: round; stroke-dasharray: 471.2; stroke-dashoffset: 471.2; transition: stroke-dashoffset 1.6s var(--ease) 0.2s; }
.in .ring .val { stroke-dashoffset: calc(471.2 * (1 - var(--v, 0.89))); }
.ring b { font-size: 64px; font-weight: 200; letter-spacing: -0.04em; line-height: 1; color: var(--ember); font-variant-numeric: tabular-nums; }
.ring small { margin-top: 2px; font-size: 12px; font-weight: 500; color: var(--mut); }
.parts { flex: 1; min-width: 0; display: grid; gap: 16px; }
.part > div { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; font-weight: 500; }
.part > div span:last-child { color: var(--mut); font-variant-numeric: tabular-nums; }
.part > div b { font-weight: 600; color: var(--ice); }
.track { margin-top: 8px; height: 5px; border-radius: 3px; background: rgba(233, 246, 255, 0.12); overflow: hidden; }
.track i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--c, var(--cyan)); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.2s var(--ease) var(--dl, 0.3s); }
.in .track i { transform: none; }

/* Streak */
.v-streak { flex-direction: column; align-items: stretch; justify-content: flex-end; gap: 18px; }
.bignum { display: flex; align-items: baseline; gap: 8px; }
.bignum b { font-size: 60px; font-weight: 200; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.bignum span { font-size: 14px; color: var(--mut); }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.week div { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; color: var(--mut); }
.week i { position: relative; width: 100%; height: 88px; border-radius: 10px; background: rgba(233, 246, 255, 0.06); overflow: hidden; }
.week i::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--h); border-radius: 10px; background: var(--cyan); transform: scaleY(0); transform-origin: 50% 100%; transition: transform 0.9s var(--ease) calc(0.25s + var(--i) * 0.07s); }
.in .week i::after { transform: none; }
.week .today i::after { background: var(--ember); }
.week .rest i::after { display: none; }
.week .rest i { background: none; box-shadow: inset 0 0 0 1.5px rgba(233, 246, 255, 0.22); }
.week .rest i::before { content: "R"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 12px; color: var(--mut); }

/* Safety check-in */
.v-safe { flex-direction: column; gap: 14px; }
.safe-ring { position: relative; width: 124px; height: 124px; display: flex; align-items: center; justify-content: center; }
.safe-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.safe-ring circle { fill: none; stroke-width: 6; }
.safe-ring .trk { stroke: rgba(255, 184, 107, 0.16); }
.safe-ring .val { stroke: var(--warn); stroke-linecap: round; stroke-dasharray: 358.1; transition: stroke-dashoffset 1s linear; }
.safe-ring b { font-size: 46px; font-weight: 200; letter-spacing: -0.03em; color: var(--warn); font-variant-numeric: tabular-nums; }
.safe-q { font-size: 20px; font-weight: 400; letter-spacing: -0.02em; }
.safe-note { font-size: 13px; color: var(--mut); min-height: 1.5em; transition: color 0.4s; }
.v-safe.sent .safe-note { color: var(--warn); }

/* Programs */
.v-prog { flex-direction: column; align-items: stretch; justify-content: flex-end; gap: 14px; }
.v-prog .row { display: flex; justify-content: space-between; align-items: baseline; }
.v-prog .mini:first-child { color: var(--ember); }
.session { font-size: 46px; font-weight: 200; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.session span { font-size: 16px; font-weight: 400; letter-spacing: 0; color: var(--mut); margin-left: 6px; }
.pips { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 5px; }
.pips i { aspect-ratio: 1; border-radius: 28%; background: rgba(233, 246, 255, 0.1); transition: background 0.5s ease calc(0.3s + var(--i) * 0.08s), transform 0.5s var(--spring) calc(0.3s + var(--i) * 0.08s); transform: scale(0.6); }
.in .pips i { transform: none; }
.in .pips i.done { background: var(--ember); }
.pips i.next { box-shadow: inset 0 0 0 1.5px var(--ember); animation: pulse 2.2s ease-in-out infinite; }

/* Any tub */
.v-tubs { flex-direction: column; align-items: stretch; justify-content: flex-end; gap: 16px; }
.tubrow { display: flex; width: max-content; gap: 8px; padding-right: 8px; animation: slide 38s linear infinite; }
.v-tubs { overflow: hidden; margin-left: -26px; margin-right: -26px; }
.tubrow span { flex: none; height: 34px; padding: 0 14px; border-radius: 17px; display: flex; align-items: center; font-size: 14px; font-weight: 500; white-space: nowrap; color: #d6e8f5; background: rgba(233, 246, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(233, 246, 255, 0.12); }
.tub { position: relative; height: 128px; margin: 0 26px; border-radius: 12px 12px 34px 34px; overflow: hidden; background: rgba(4, 26, 46, 0.55); box-shadow: inset 0 0 0 1.5px rgba(233, 246, 255, 0.2); }
.tub canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.tub span { position: absolute; left: 16px; top: 12px; display: flex; align-items: baseline; gap: 7px; font-size: 13px; color: var(--mut); }
.tub b { font-size: 26px; font-weight: 300; letter-spacing: -0.03em; color: var(--ice); }

/* Feed */
.v-list { flex-direction: column; align-items: stretch; justify-content: center; gap: 8px; }
.post { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: rgba(4, 26, 46, 0.5); box-shadow: inset 0 0 0 1px rgba(233, 246, 255, 0.07); }
.av { flex: none; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: var(--ink); background: var(--c, var(--cyan)); }
.post > div { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.post b { font-size: 15px; font-weight: 600; }
.post > div span { font-size: 13px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kudos { flex: none; display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px; border-radius: 16px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; background: rgba(233, 246, 255, 0.08); transition: background 0.3s, color 0.3s, transform 0.4s var(--spring); }
.kudos svg { width: 14px; height: 14px; }
.post.liked .kudos { background: var(--ember); color: #1c2600; }
.post.pop .kudos { transform: scale(1.16); }

/* League */
.board { position: relative; width: 100%; height: 220px; }
.lrow { position: absolute; left: 0; right: 0; top: 0; height: 48px; padding: 0 14px; border-radius: 16px; display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; background: rgba(4, 26, 46, 0.5); transform: translateY(calc(var(--pos) * 57px)); transition: transform 0.8s var(--spring), background 0.4s; }
.lrow .rk { width: 14px; color: var(--mut); font-variant-numeric: tabular-nums; }
.lrow .nm { flex: 1; }
.lrow .st { font-size: 13px; font-weight: 500; color: var(--mut); }
.lrow .sc { width: 28px; text-align: right; font-size: 18px; font-weight: 300; font-variant-numeric: tabular-nums; }
.lrow.you { background: rgba(226, 255, 74, 0.14); box-shadow: inset 0 0 0 1px rgba(226, 255, 74, 0.3); }
.lrow.you .rk { color: var(--ember); }

/* Month */
.v-cal { flex-direction: column; align-items: stretch; justify-content: flex-end; gap: 14px; }
.v-cal .row { display: flex; justify-content: space-between; align-items: baseline; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal i { height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 11px; font-weight: 600; color: var(--mut); box-shadow: inset 0 0 0 1px rgba(233, 246, 255, 0.1); transition: background 0.5s ease calc(0.2s + var(--i) * 0.05s), color 0.5s ease calc(0.2s + var(--i) * 0.05s), box-shadow 0.5s ease calc(0.2s + var(--i) * 0.05s); }
.cal i.e { visibility: hidden; }
.in .cal i.on { background: var(--cyan); color: var(--ink); box-shadow: none; }
.in .cal i.on.today { background: var(--ember); }

/* Achievements */
.v-ach { flex-direction: column; align-items: stretch; justify-content: flex-end; gap: 14px; }
.next { padding: 16px 18px; border-radius: 18px; display: grid; gap: 12px; background: rgba(4, 26, 46, 0.5); box-shadow: inset 0 0 0 1px rgba(233, 246, 255, 0.07); }
.next .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.next b { font-size: 17px; font-weight: 600; }
.next .row span { font-size: 14px; color: var(--mut); font-variant-numeric: tabular-nums; }
.badges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.badge { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 16px; background: rgba(226, 255, 74, 0.08); box-shadow: inset 0 0 0 1px rgba(226, 255, 74, 0.26); }
.badge i { flex: none; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--ember); color: #1c2600; }
.badge i svg { width: 15px; height: 15px; }
.badge div { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.badge b { font-size: 14px; font-weight: 600; }
.badge span { font-size: 12px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.badge.todo { background: rgba(4, 26, 46, 0.5); box-shadow: inset 0 0 0 1px rgba(233, 246, 255, 0.08); opacity: 0.7; }
.badge.todo i { background: rgba(233, 246, 255, 0.16); color: transparent; }

/* Lock screen and Dynamic Island */
.v-lock { flex-direction: column; gap: 12px; }
.isl { display: flex; align-items: center; justify-content: space-between; gap: 28px; height: 38px; padding: 0 14px; border-radius: 19px; background: #000; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7); }
.isl span { display: flex; align-items: center; gap: 7px; color: var(--cyan); }
.isl svg { width: 15px; height: 15px; }
.isl b { color: var(--cyan); transition: color 0.4s; }
.isl span { transition: color 0.4s; }
.isl.hit b, .isl.hit span { color: var(--ember); }
/* The lock screen card, as the app draws it: the mark and name, the water, a small label, the time,
   End plunge, and the two-row strip. All of it turns yellow from the target on. */
.lockc { display: flex; flex-direction: column; padding: 10px 12px 11px; border-radius: 18px; background: rgba(4, 14, 24, 0.9); box-shadow: inset 0 0 0 1px rgba(233, 246, 255, 0.1), 0 14px 30px -14px rgba(0, 0, 0, 0.7); font-variant-numeric: tabular-nums; }
.lk-top { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; font-weight: 600; color: var(--ice); }
.lk-brand { display: flex; align-items: center; gap: 5px; letter-spacing: -0.02em; color: var(--cyan); transition: color 0.4s; }
.lk-brand svg { width: 12px; height: 12px; }
.lk-brand i { font-style: normal; color: var(--ice); transition: color 0.4s; }
.lockc small { margin-top: 6px; font-size: 7.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #b9d3e6; transition: color 0.4s; }
.lk-row { margin-top: 1px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lk-time { font-size: 25px; font-weight: 300; line-height: 1.1; letter-spacing: -0.02em; color: var(--ice); transition: color 0.4s; }
.lk-end { flex: none; height: 24px; padding: 0 10px; border-radius: 12px; display: flex; align-items: center; font-size: 10.5px; font-weight: 600; white-space: nowrap; background: var(--ice); color: var(--ink); }
.lockc .pstrip { height: 9px; margin-top: 7px; }
.lockc.hit .lk-brand, .lockc.hit .lk-brand i, .lockc.hit small, .lockc.hit .lk-time { color: var(--ember); }
.card .narrow { display: none; }
.la { width: min(100%, 380px); padding: 16px 18px 18px; border-radius: 24px; display: grid; gap: 12px; background: rgba(4, 26, 46, 0.66); box-shadow: inset 0 0 0 1px rgba(233, 246, 255, 0.1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.la .row { display: flex; justify-content: space-between; align-items: flex-end; }
.la .who { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; }
.la .who svg { width: 15px; height: 15px; }
.la .meta { font-size: 13px; color: var(--mut); font-variant-numeric: tabular-nums; }
.la .meta b { font-weight: 600; color: var(--ice); }
.la .time { font-size: 44px; font-weight: 200; letter-spacing: -0.04em; line-height: 0.95; font-variant-numeric: tabular-nums; }
.la .time small { margin-left: 8px; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; color: var(--mut); }
.la.hit .time { color: var(--ember); }
/* Watch */
.watch { position: relative; width: 132px; height: 158px; border-radius: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: #04121f; overflow: hidden; box-shadow: 0 0 0 1px rgba(233, 246, 255, 0.24), 0 0 0 6px #0a1f33, 0 0 0 7px rgba(233, 246, 255, 0.12), 0 24px 40px -18px rgba(2, 12, 24, 0.8); }
.watch canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.watch > * { position: relative; }
.watch small { font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #cfe3f1; }
.watch b { font-size: 42px; font-weight: 300; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.watch span { font-size: 12px; font-weight: 600; color: var(--flush); font-variant-numeric: tabular-nums; }

/* Health */
.v-health { flex-direction: column; align-items: stretch; justify-content: center; gap: 10px; }
.v-health svg { width: 100%; height: 90px; overflow: visible; }
.v-health path { fill: none; stroke: var(--flush); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 520; stroke-dashoffset: 520; transition: stroke-dashoffset 2.2s var(--ease) 0.3s; }
.in .v-health path { stroke-dashoffset: 0; }
.v-health p { font-size: 14px; color: var(--mut); }
.v-health p b { font-weight: 600; color: var(--ice); }

/* Chiller */
.v-chill { flex-direction: column; gap: 8px; }
.temp { font-size: 76px; font-weight: 200; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.temp sup { font-size: 0.36em; font-weight: 300; letter-spacing: 0; vertical-align: 1.25em; color: var(--cyan); }
.ready { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--mut); }
.ready .dot { animation: pulse 2.2s ease-in-out infinite; }

/* Siri */
.v-siri { flex-direction: column; align-items: stretch; justify-content: center; gap: 10px; }
.bubble { max-width: 84%; padding: 11px 16px; border-radius: 20px; font-size: 15px; line-height: 1.4; opacity: 0; transform: translateY(10px) scale(0.96); transition: opacity 0.6s var(--ease), transform 0.6s var(--spring); }
.bubble.me { align-self: flex-end; background: var(--ice); color: var(--ink); font-weight: 500; border-bottom-right-radius: 7px; transition-delay: 0.3s; }
.bubble.it { align-self: flex-start; background: rgba(233, 246, 255, 0.09); box-shadow: inset 0 0 0 1px rgba(233, 246, 255, 0.12); border-bottom-left-radius: 7px; transition-delay: 1.1s; }
.in .bubble { opacity: 1; transform: none; }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---------------------------------------------------------------- pricing */

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.plan { display: flex; flex-direction: column; gap: 22px; padding: 30px; border-radius: 28px; background: linear-gradient(160deg, rgba(233, 246, 255, 0.085), rgba(233, 246, 255, 0.025)); box-shadow: inset 0 0 0 1px rgba(233, 246, 255, 0.1); }
.plan.plus { background: linear-gradient(160deg, rgba(226, 255, 74, 0.11), rgba(233, 246, 255, 0.03) 60%); box-shadow: inset 0 0 0 1px rgba(226, 255, 74, 0.42); }
.plan-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.plan h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.plan h3 span { color: var(--ember); }
.plan-top p { margin-top: 4px; font-size: 15px; color: var(--mut); }
.seg { display: flex; padding: 3px; border-radius: 19px; background: rgba(4, 26, 46, 0.6); box-shadow: inset 0 0 0 1px rgba(233, 246, 255, 0.12); }
.seg button { height: 32px; padding: 0 14px; border: 0; border-radius: 16px; background: transparent; color: var(--ice); font-size: 13px; font-weight: 600; cursor: pointer; transition: background 0.3s, color 0.3s; }
.seg button[aria-pressed="true"] { background: var(--ice); color: var(--ink); }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.price b { font-size: 52px; font-weight: 200; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.price > span:not(.tag) { font-size: 15px; color: var(--mut); }
.price-note { margin-top: -12px; font-size: 14px; color: #c7dcea; min-height: 1.5em; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: 15px; }
.ticks li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start; }
.ticks svg { width: 18px; height: 18px; margin-top: 3px; stroke: var(--cyan); }
.plus .ticks svg { stroke: var(--ember); }
.plan .btn { margin-top: auto; }
.fine { margin-top: 20px; font-size: 14px; color: var(--mut); }

/* ---------------------------------------------------------------- FAQ */

.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 32px clamp(32px, 6vw, 88px); align-items: start; }
.faq-grid .sec-sub { margin-top: 16px; }
.faq-grid .sec-sub a { color: var(--blue); font-weight: 500; }
.faq { display: grid; gap: 8px; }
.qa { border-radius: 20px; background: #f3f6fa; box-shadow: inset 0 0 0 1px rgba(4, 36, 61, 0.05); transition: background 0.3s; }
.qa:hover { background: #edf2f8; }
.qa button { width: 100%; min-height: 58px; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 0; background: none; text-align: left; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); cursor: pointer; }
.qa button svg { flex: none; width: 18px; height: 18px; stroke: var(--blue); transition: transform 0.4s var(--spring); }
.qa.open button svg { transform: rotate(90deg); }
.qa .ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.qa.open .ans { grid-template-rows: 1fr; }
.qa .ans > div { overflow: hidden; }
.qa .ans p { padding: 0 20px 18px; font-size: 15px; line-height: 1.6; color: #3d5a6e; max-width: 46em; }

/* ---------------------------------------------------------------- download and footer */

.get { position: relative; overflow: hidden; padding-top: clamp(88px, 10vw, 136px); text-align: center; }
.get > canvas { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 560px; pointer-events: none; }
.get-in { position: relative; display: flex; flex-direction: column; align-items: center; }
.get h2 { font-size: clamp(34px, 4.6vw, 60px); font-weight: 500; letter-spacing: -0.05em; line-height: 1.02; }
.get p.lead { margin-top: 16px; }
.stores { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.foot { position: relative; margin-top: clamp(140px, 16vw, 220px); padding-bottom: 32px; text-align: left; text-shadow: 0 1px 14px rgba(4, 26, 46, 0.95); }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px 64px; }
.foot-top > div:first-child { max-width: 400px; }
.foot .brand { font-size: 24px; }
.foot .brand svg { width: 26px; height: 26px; }
.foot-top p { margin-top: 14px; font-size: 14px; line-height: 1.55; color: #d6e8f5; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.foot-cols div { display: flex; flex-direction: column; gap: 10px; font-size: 15px; font-weight: 500; }
.foot-cols .mini { color: var(--ember); margin-bottom: 2px; }
.foot-cols a:hover { color: var(--ember); }
.foot-end { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(233, 246, 255, 0.2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; color: #d6e8f5; }

/* ---------------------------------------------------------------- motion */

.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease) var(--d, 0s), transform 0.9s var(--ease) var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
.float { animation: float 8s ease-in-out infinite; }
.float.b { animation-delay: -2.6s; }
.float.c { animation-delay: -5.2s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .float, .marquee-track, .tubrow, .pips i.next, .segs i.last, .ready .dot { animation: none !important; }
  .step.is-on .bar { animation: none; width: 100%; }
  * { transition-duration: 0.01s !important; transition-delay: 0s !important; }
}

/* ---------------------------------------------------------------- smaller screens */

@media (max-width: 1180px) {
  .getcard { position: relative; right: auto; bottom: auto; width: auto; margin: 4px auto 36px; padding: 0; flex-direction: row; justify-content: center; flex-wrap: wrap; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .getcard p { display: none; }
}
@media (max-width: 1000px) {
  .c4 { grid-column: span 6; }
  .c5, .c7 { grid-column: span 12; }
  .bento > .c4:last-child:nth-child(odd) { grid-column: span 12; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-in { gap: 18px; }
  .plans, .faq-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .hero { padding-top: 104px; }
  .stage { height: 380px; margin-top: 40px; }
  .stage .phone.side { display: none; }
  .stage .phone.main { --pw: 248px; }
  .c4, .c6 { grid-column: span 12; }
  .bento > .c4:last-child:nth-child(odd) { grid-column: span 12; }
  .card { min-height: 0; padding: 22px; }
  .v-tubs { margin-left: -22px; margin-right: -22px; }
  .v-score { flex-direction: column; align-items: stretch; }
  .v-score .ring { align-self: center; }
  .sec-head { margin-bottom: 28px; }
  .plan { padding: 24px; }
}
@media (max-width: 400px) {
  .brand { font-size: 18px; }
  .badges { grid-template-columns: minmax(0, 1fr); }
  .store { padding: 0 13px 0 11px; }
  .store span { font-size: 16px; }
}

/* Phones that hold a real screenshot use the simulator's proportions. */
.phone.shot { aspect-ratio: 1206 / 2622; }

.la .time small { text-transform: uppercase; }


/* ---------------------------------------------------------------- smooth scrolling (Lenis) */

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------------------------------------------------------------- pixel strips */

.pstrip { display: block; width: 100%; height: 14px; }
.next .pstrip { margin-top: 2px; }
.la .pstrip { margin-top: 2px; }

/* ---------------------------------------------------------------- set-up: three cards */

.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.scard { position: relative; overflow: hidden; display: flex; flex-direction: column; height: 600px; padding: 30px 30px 0; border-radius: 28px; background: #f2f6fb; box-shadow: inset 0 0 0 1px rgba(4, 36, 61, 0.05); transition: translate 0.5s var(--ease), background 0.4s; }
.scard:hover { translate: 0 -4px; background: #ecf2f9; }
.scard::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 56px; background: linear-gradient(rgba(242, 246, 251, 0), #f2f6fb); pointer-events: none; transition: opacity 0.4s; }
.scard:hover::after { opacity: 0.6; }
.stepno { display: inline-flex; align-items: center; justify-content: center; height: 26px; padding: 0 10px; border-radius: 13px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; font-variant-numeric: tabular-nums; color: var(--blue); background: rgba(15, 95, 208, 0.1); }
.scard h3 { margin-top: 16px; font-size: 21px; font-weight: 600; letter-spacing: -0.025em; }
.scard p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--mut); min-height: 4.5em; }
.scard-phone { flex: 1; display: flex; justify-content: center; margin-top: 26px; }
.scard .phone { --pw: clamp(180px, 17.5vw, 236px); box-shadow: 0 0 0 1px rgba(233, 246, 255, 0.2), 0 0 0 calc(var(--pw) * 0.027) #0a1f33, 0 0 0 calc(var(--pw) * 0.027 + 1px) rgba(4, 36, 61, 0.25), 0 30px 60px -20px rgba(4, 36, 61, 0.4); transition: translate 0.7s var(--ease); }
.scard:hover .phone { translate: 0 -10px; }

/* ---------------------------------------------------------------- how it works: tabs over one wide stage */

.tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tabs .step button { height: 100%; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 20px 22px 22px; }
.tabs .step .n { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; }
.how-stage { position: relative; overflow: hidden; margin-top: 12px; padding: 44px 32px; border-radius: 32px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; background: linear-gradient(160deg, rgba(233, 246, 255, 0.07), rgba(233, 246, 255, 0.02)); box-shadow: inset 0 0 0 1px rgba(233, 246, 255, 0.1); }
.how-stage > canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.7; }
.how-stage .phone { --pw: 244px; }
.readout { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; text-shadow: 0 2px 24px rgba(7, 26, 43, 0.9); }
.readout b { font-size: clamp(44px, 6.4vw, 92px); font-weight: 200; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; transition: color 0.4s; }
.readout.win b { color: var(--ember); }

/* ---------------------------------------------------------------- finishing touches */

/* A soft light follows the pointer across a card. */
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.5s; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(62, 197, 255, 0.16), rgba(62, 197, 255, 0) 65%); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }

/* Headings come into focus as they arrive. */
.js .sec-head[data-reveal], .js .hero-in > [data-reveal]:not(.stage) { filter: blur(8px); transition: opacity 0.9s var(--ease) var(--d, 0s), transform 0.9s var(--ease) var(--d, 0s), filter 0.9s var(--ease) var(--d, 0s); }
.js .sec-head[data-reveal].in, .js .hero-in > [data-reveal].in { filter: none; }

@media (max-width: 860px) {
  .trio { grid-template-columns: minmax(0, 1fr); }
  .scard { height: 500px; }
  .scard p { min-height: 0; }
  .scard .phone { --pw: 236px; }
  .tabs { grid-template-columns: minmax(0, 1fr); }
  .how-stage { grid-template-columns: minmax(0, 1fr); justify-items: center; padding: 32px 20px; }
  .readout { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js .sec-head[data-reveal], .js .hero-in > [data-reveal] { filter: none !important; }
}


/* ================================================================ third pass: every section tighter */

.sec { padding: clamp(64px, 7.5vw, 104px) 0; }
.sec-head { margin-bottom: clamp(28px, 3.2vw, 44px); }
.card { min-height: 300px; }
.viz { min-height: 150px; }

/* ---------------------------------------------------------------- set-up: one panel, a fan of phones */

.setup { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; align-items: center; height: 520px; padding-left: clamp(28px, 4.5vw, 64px); border-radius: 32px; overflow: hidden; background: #f2f6fb; box-shadow: inset 0 0 0 1px rgba(4, 36, 61, 0.05); }
.setup h2 { margin-bottom: 26px; font-size: clamp(26px, 2.9vw, 38px); }
.slim { gap: 4px; }
.slim .step button { grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding: 14px 18px; border-radius: 18px; box-shadow: none; opacity: 0.55; }
.slim .step.is-on button { background: #fff; opacity: 1; box-shadow: 0 12px 30px -16px rgba(4, 36, 61, 0.3), inset 0 0 0 1px rgba(4, 36, 61, 0.06); }
.slim .step .n { padding-top: 4px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; }
.slim .step .desc { display: grid; grid-template-rows: 0fr; margin-top: 0; transition: grid-template-rows 0.55s var(--ease); }
.slim .step.is-on .desc { grid-template-rows: 1fr; }
.slim .step .desc > span { overflow: hidden; margin-top: 0; }
.slim .step .desc > span::before { content: ""; display: block; height: 4px; }
.fan { position: relative; height: 100%; }
.fan .phone { --pw: 252px; position: absolute; left: 50%; top: 56px; margin-left: calc(var(--pw) / -2); z-index: calc(3 - var(--a)); transform: translateX(calc(var(--o) * 47%)) translateY(calc(var(--a) * 36px)) rotate(calc(var(--o) * 6deg)) scale(calc(1 - var(--a) * 0.1)); filter: brightness(calc(1 - var(--a) * 0.3)); transition: transform 0.9s var(--ease), filter 0.9s var(--ease); }

/* ---------------------------------------------------------------- how it works: a little tighter */

.how-stage { padding: 36px 28px; }
.how-stage .phone { --pw: 228px; }

/* ---------------------------------------------------------------- features: safety and open water lead */

.v-safe { flex-direction: row; gap: clamp(18px, 2.4vw, 32px); }
.safe-side { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.safe-q { font-size: 24px; }
.safe-note { max-width: 15em; line-height: 1.4; }
.safe-btn { margin-top: 8px; display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 18px; font-size: 14px; font-weight: 600; background: var(--ice); color: var(--ink); }
.v-sea { align-items: stretch; }
.sea { position: relative; flex: 1; min-height: 196px; border-radius: 20px; overflow: hidden; background: rgba(4, 26, 46, 0.55); box-shadow: inset 0 0 0 1px rgba(233, 246, 255, 0.12); }
.sea canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.sea-read { position: absolute; left: 20px; top: 18px; display: flex; flex-direction: column; gap: 6px; }
.sea .temp { font-size: 68px; }
.sea-chips { position: absolute; right: 16px; top: 16px; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.sea-chips span { display: flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px; border-radius: 14px; font-size: 12px; font-weight: 600; background: rgba(7, 26, 43, 0.6); box-shadow: inset 0 0 0 1px rgba(233, 246, 255, 0.14); }
.sea-chips .dot { background: var(--cyan); }
.sea-chips .dot.w { background: var(--warn); }
.ring.sm { width: 132px; height: 132px; }
.ring.sm b { font-size: 50px; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.days i { aspect-ratio: 1; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 11px; font-weight: 700; color: var(--mut); box-shadow: inset 0 0 0 1.5px rgba(233, 246, 255, 0.16); transition: background 0.5s ease calc(0.25s + var(--i, 0) * 0.07s), color 0.5s ease calc(0.25s + var(--i, 0) * 0.07s), box-shadow 0.5s ease calc(0.25s + var(--i, 0) * 0.07s); }
.in .days i.on { background: var(--cyan); color: var(--ink); box-shadow: none; }
.in .days i.today { background: var(--ember); }
.days i.rest { box-shadow: none; border: 1.5px dashed rgba(233, 246, 255, 0.34); }

/* ---------------------------------------------------------------- social: one row */

.tight .card { min-height: 0; }
.tight .viz { min-height: 0; margin-bottom: 20px; }
.tight .post { padding: 10px 12px; }
.tight .board { height: 194px; }
.tight .lrow { height: 44px; transform: translateY(calc(var(--pos) * 50px)); }

/* ---------------------------------------------------------------- connected: five slim cards */

.bento.five { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.five .card { min-height: 0; padding: 20px; border-radius: 24px; }
.five .viz { min-height: 128px; margin-bottom: 16px; }
.five .card h3 { font-size: 15px; }
.five .card h3 + p { font-size: 13.5px; line-height: 1.45; }
.five .watch { width: 104px; height: 124px; border-radius: 32px; }
.five .watch b { font-size: 32px; }
.five .v-lock { align-items: stretch; justify-content: center; gap: 8px; }
.five .isl { align-self: center; width: 76%; gap: 10px; height: 26px; padding: 0 10px; font-size: 11.5px; }
.five .isl svg { width: 12px; height: 12px; }
.five .temp { font-size: 56px; }
.five .bubble { max-width: 94%; padding: 9px 13px; font-size: 13px; }
.five .v-health svg { height: 70px; }
.five .v-health p { font-size: 13px; }
.five .tag { height: 22px; padding: 0 8px; font-size: 11px; }

/* ---------------------------------------------------------------- FAQ: questions beside one answer panel */

.faqx { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 16px; align-items: stretch; }
.faq-panel { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: clamp(28px, 3.4vw, 44px); border-radius: 28px; color: var(--ice); background: radial-gradient(130% 110% at 0% 0%, #133a5e 0%, #0a2439 48%, #071a2b 100%); box-shadow: inset 0 1px 0 rgba(233, 246, 255, 0.14), 0 30px 60px -32px rgba(4, 36, 61, 0.55); }
.faq-panel .mini { color: var(--ember); }
.faq-panel h3 { font-size: clamp(22px, 2.3vw, 30px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; text-wrap: balance; }
.faq-panel p { flex: 1; font-size: 17px; line-height: 1.6; color: #c7dcea; }
.faq-panel .mini, .faq-panel h3, .faq-panel p { transition: opacity 0.2s ease, transform 0.3s var(--ease); }
.faq-panel.swap .mini, .faq-panel.swap h3, .faq-panel.swap p { opacity: 0; transform: translateY(6px); }
@media (min-width: 861px) {
  .faqx .faq { gap: 2px; align-content: start; }
  .faqx .qa { background: transparent; box-shadow: none; border-radius: 16px; }
  .faqx .qa:hover { background: #f5f8fc; }
  .faqx .qa.open { background: #eef3f9; }
  .faqx .qa button { min-height: 52px; padding: 10px 16px 10px 18px; font-size: 16px; font-weight: 500; color: #3d5a6e; }
  .faqx .qa.open button { color: var(--ink); font-weight: 600; }
  .faqx .qa button svg { opacity: 0; transform: translateX(-6px); transition: opacity 0.3s, transform 0.4s var(--ease); }
  .faqx .qa:hover button svg { opacity: 0.45; transform: none; }
  .faqx .qa.open button svg { opacity: 1; transform: none; }
  .faqx .qa .ans { display: none; }
}

/* ---------------------------------------------------------------- download and footer: no water */

.get { padding-top: clamp(64px, 7.5vw, 104px); overflow: visible; }
.get-in { padding: clamp(48px, 6vw, 84px) 24px; border-radius: 36px; background: radial-gradient(80% 130% at 50% 0%, rgba(20, 121, 201, 0.5), rgba(20, 121, 201, 0) 72%), linear-gradient(160deg, rgba(233, 246, 255, 0.07), rgba(233, 246, 255, 0.02)); box-shadow: inset 0 0 0 1px rgba(233, 246, 255, 0.1); }
.foot { margin-top: clamp(48px, 6vw, 80px); text-shadow: none; }
.foot-top p, .foot-end { color: #a9c5d8; }
.foot-end { border-top-color: rgba(233, 246, 255, 0.1); }

@media (max-width: 1000px) {
  .bento.five { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .five .card { grid-column: span 2; }
  .five .card:nth-child(n+4) { grid-column: span 3; }
}
@media (max-width: 860px) {
  .setup { grid-template-columns: minmax(0, 1fr); height: auto; padding: 28px 22px 0; }
  .fan { height: 400px; }
  .fan .phone { --pw: 216px; top: 30px; }
  .faqx { grid-template-columns: minmax(0, 1fr); }
  .faq-panel { display: none; }
}
@media (max-width: 560px) {
  .five .card, .five .card:nth-child(n+4) { grid-column: span 6; }
  .v-safe { flex-direction: column; }
  .safe-side { align-items: center; text-align: center; }
}

.light .sec-sub a { color: var(--blue); font-weight: 500; }


/* ================================================================ fourth pass */

/* Set-up: the app's glow, kept pale, in place of a flat tint. Everything moves slower. */
.setup { background:
  radial-gradient(60% 90% at 8% 0%, rgba(20, 121, 201, 0.2), rgba(20, 121, 201, 0) 70%),
  radial-gradient(50% 80% at 100% 55%, rgba(62, 197, 255, 0.2), rgba(62, 197, 255, 0) 70%),
  radial-gradient(60% 70% at 30% 110%, rgba(15, 95, 208, 0.16), rgba(15, 95, 208, 0) 70%),
  #f3f7fb; }
.fan .phone { transition: transform 1.6s cubic-bezier(0.45, 0, 0.15, 1), filter 1.6s cubic-bezier(0.45, 0, 0.15, 1); }
.shots img { transition: opacity 1.4s ease; }
.slim .step .desc { transition: grid-template-rows 0.9s cubic-bezier(0.45, 0, 0.15, 1); }
.slim .step button { transition: opacity 0.8s, background 0.8s, box-shadow 0.8s; }
.slim .step.is-on button { background: rgba(255, 255, 255, 0.82); }
/* The live progress bar that sits over the one in each screenshot. */
.sbar { position: absolute; z-index: 2; left: 15%; top: 9.42%; width: 67.6%; height: 2.7%; display: flex; align-items: center; padding: 0 1%; -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); transition: left 1.4s ease, width 1.4s ease; }
.sbar.wide { left: 4.6%; width: 78.6%; }
.sbar .pstrip { height: 58%; }
/* Feather the ends so the blurred patch never shows as a box. */
.sbar { border-radius: 3px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%); }

/* How it works: slower fades, and a shorter stage. */
.demo .ui { transition: opacity 0.9s ease; }
.tabs .step button { padding: 16px 20px 18px; gap: 8px; transition: opacity 0.8s, background 0.8s, box-shadow 0.8s; }
.tabs .step span span { font-size: 14px; }
.how-stage { padding: 28px 28px 0; align-items: start; }
.how-stage .phone { --pw: 216px; margin-bottom: -56px; }
.how-stage .readout { align-self: center; padding-bottom: 28px; }
.readout b { font-size: clamp(40px, 5.6vw, 80px); }
#how .sec-head { margin-bottom: 28px; }

/* The closing line. */
.get h2 em { font-style: normal; color: var(--ember); }


/* ================================================================ fifth pass */

/* The app's own screens, rebuilt at phone scale so they can move. 1em is 13.4 pt of the real app,
   and every size here is measured from the app's screenshots or its SwiftUI. */
.a-status { position: absolute; z-index: 4; left: 0; right: 0; top: 0; height: 5em; padding: 0.35em 2.9em 0 4.5em; display: flex; align-items: center; justify-content: space-between; color: var(--ice); }
.a-status b { font-size: 1.27em; font-weight: 600; letter-spacing: -0.01em; }
.a-status svg { width: 6.2em; height: 1.22em; }
.a-lab { font-size: 0.9em; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #b9d3e6; }
.a-lab.em { color: var(--ember); }
.a-btns { width: 100%; display: flex; gap: 0.75em; }
.a-btn { flex: 1; height: 3.15em; border-radius: 1.6em; display: flex; align-items: center; justify-content: center; gap: 0.5em; font-size: 1.27em; font-weight: 600; white-space: nowrap; text-shadow: none; background: rgba(233, 246, 255, 0.92); color: var(--ink); transition: transform 0.2s, background 0.2s; }
.a-btn.glass { background: rgba(233, 246, 255, 0.1); color: var(--ice); box-shadow: inset 0 0 0 1px rgba(233, 246, 255, 0.2); }
.a-btn svg { width: 1.25em; height: 1.25em; flex: none; }

/* New plunge */
.a-set { padding: 5.1em 1.3em 3.2em; }
.a-top { position: relative; width: 100%; height: 3.4em; display: flex; align-items: center; justify-content: space-between; text-shadow: none; }
.a-top strong { position: absolute; left: 50%; transform: translateX(-50%); font-size: 1.2em; font-weight: 600; }
.a-x, .a-pill { height: 3.3em; border-radius: 1.65em; display: flex; align-items: center; justify-content: center; background: rgba(233, 246, 255, 0.09); box-shadow: inset 0 0 0 1px rgba(233, 246, 255, 0.16); }
.a-x { width: 3.3em; }
.a-x svg { width: 1.15em; height: 1.15em; }
.a-pill { gap: 0.45em; padding: 0 1em; font-weight: 600; }
.a-pill svg { width: 1.2em; height: 1.2em; }
.a-set .a-lab { margin-top: 2em; }
.a-temp { margin-top: 0.08em; padding-left: 0.12em; font-size: 8.7em; font-weight: 200; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.a-temp sup { font-size: 0.28em; font-weight: 300; letter-spacing: 0; vertical-align: 1.75em; margin-left: 0.12em; color: var(--cyan); }
.a-for { margin-top: 0.55em; font-size: 1.5em; font-weight: 400; }
.a-panel { width: 100%; padding: 0.9em; border-radius: 2.5em; display: flex; flex-direction: column; text-shadow: none; background: rgba(7, 34, 58, 0.72); box-shadow: inset 0 0 0 1px rgba(233, 246, 255, 0.16), inset 0 1px 0 rgba(233, 246, 255, 0.16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.a-seg { height: 3.2em; border-radius: 1.6em; display: grid; grid-template-columns: repeat(3, 1fr); background: rgba(4, 26, 46, 0.55); }
.a-seg > * { display: flex; align-items: center; justify-content: center; border-radius: 1.6em; font-size: 1.02em; font-weight: 600; white-space: nowrap; }
.a-seg b { background: rgba(233, 246, 255, 0.92); color: var(--ink); }
.a-pre { margin: 1.4em 0.7em 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75em; }
.a-pre div { height: 3.8em; border-radius: 1.1em; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.2em; background: rgba(233, 246, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(233, 246, 255, 0.6); }
.a-pre small { font-size: 0.85em; font-weight: 600; color: #b9d3e6; }
.a-pre b { font-size: 1.02em; font-weight: 600; }
.a-sl { margin: 1.35em 0.7em 0; }
.a-sl > div:first-child { display: flex; align-items: baseline; justify-content: space-between; }
.a-sl span { font-size: 0.88em; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #cfe3f1; }
.a-sl > div:first-child b { font-size: 1.45em; font-weight: 400; line-height: 1.1; font-variant-numeric: tabular-nums; }
.a-sl .d-track { margin: 1.3em 1em 0.95em; height: 0.4em; }
.a-sl .d-track i { background: var(--ember); }
.a-sl .d-track b { top: -0.92em; width: 2.24em; height: 2.24em; margin-left: -1.12em; }
.a-safe { margin: 1.2em 0.7em 0; height: 3.3em; padding: 0 0.9em; border-radius: 1.1em; display: flex; align-items: center; gap: 0.7em; background: rgba(4, 26, 46, 0.35); box-shadow: inset 0 0 0 1px rgba(233, 246, 255, 0.3); }
.a-safe svg { width: 1.35em; height: 1.35em; flex: none; }
.a-safe span { flex: 1; font-size: 0.9em; font-weight: 600; line-height: 1.2; }
.a-safe em { font-style: normal; font-size: 0.9em; color: #b9d3e6; }
.a-panel .a-btns { width: auto; margin: 1.2em 0.7em 0; }
.a-note { margin: 0.85em 0 0.3em; text-align: center; font-size: 0.8em; color: #b9d3e6; }
.a-note b { font-weight: 600; color: var(--ember); }

/* Countdown and timer: one layout, as in the app. Only the middle changes. */
.a-run { padding: 5.75em 1.3em 3.2em; }
.a-chips { width: 100%; display: flex; align-items: center; gap: 0.55em; text-shadow: none; }
.a-chips .grow { flex: 1; }
.a-chip { height: 2.35em; padding: 0 0.9em; border-radius: 1.2em; display: inline-flex; align-items: center; gap: 0.5em; font-size: 0.97em; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; background: rgba(4, 36, 61, 0.5); box-shadow: inset 0 0 0 1px rgba(233, 246, 255, 0.2); }
.a-chip i { width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--ember); transition: background 0.5s; }
.a-chip i.cy { background: var(--cyan); }
.a-spk { width: 2.3em; height: 2.3em; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(4, 36, 61, 0.5); box-shadow: inset 0 0 0 1px rgba(233, 246, 255, 0.2); }
.a-spk svg { width: 1.1em; height: 1.1em; }
.a-mid { position: relative; flex: 1; width: 100%; }
.a-c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.7s ease; }
.a-c.on { opacity: 1; }
.a-time { margin-top: 0.04em; font-size: 9.2em; font-weight: 300; line-height: 1.06; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; transition: color 0.4s; }
.a-cue { margin-top: 0.45em; font-size: 1.2em; font-weight: 500; color: #d6e8f5; }
.a-go .a-lab { transition: color 0.4s; }
.a-go.hit .a-lab, .a-go.hit .a-time { color: var(--ember); }
.a-ring { position: relative; flex: none; width: 18.8em; height: 18.8em; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(4, 26, 46, 0.35); }
.a-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.a-ring circle { fill: none; stroke-width: 1.2; }
.a-ring .trk { stroke: rgba(233, 246, 255, 0.14); }
.a-ring .val { stroke: var(--ember); stroke-linecap: round; stroke-dasharray: 306.6; transition: stroke-dashoffset 0.15s linear; }
.a-ring span { font-size: 9.55em; font-weight: 200; line-height: 1; font-variant-numeric: tabular-nums; }
.a-pos { margin-top: 1em; font-size: 1.8em; }
.a-sub { margin-top: 0.4em; font-size: 1.12em; text-align: center; color: #b9d3e6; }
.a-stats { width: 100%; height: 5.9em; margin-bottom: 1.4em; border-radius: 2.1em; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; text-shadow: none; background: rgba(4, 26, 46, 0.62); box-shadow: inset 0 0 0 1px rgba(233, 246, 255, 0.16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.a-stats > div { height: 2.7em; display: flex; flex-direction: column; align-items: center; justify-content: space-between; }
.a-stats > div + div { border-left: 1px solid rgba(233, 246, 255, 0.14); }
.a-stats small { font-size: 0.82em; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #b9d3e6; }
.a-stats b { font-size: 2.05em; font-weight: 300; line-height: 0.9; font-variant-numeric: tabular-nums; }
.a-stats b i { font-style: normal; font-size: 0.5em; font-weight: 400; color: #b9d3e6; }
.a-stats b.fl { color: var(--flush); }
.a-run .a-btn, .a-fin .a-btn, .a-doneb .a-btn { height: 3.65em; border-radius: 1.83em; }
.a-stats b.em { color: var(--ember); }
.a-stats b em { margin-left: 0.3em; font-style: normal; font-size: 0.5em; font-weight: 600; color: var(--ember); }

/* The finish moment: the words top left, then the same strip and one button exactly where the
   timer's were, so the hand-over from the timer only changes what they say. */
.a-fin { padding: 10.3em 1.3em 3.2em; align-items: stretch; }
.a-words { padding: 0 0.6em; display: flex; flex-direction: column; align-items: flex-start; }
.a-tick { width: 2.3em; height: 2.3em; color: var(--ember); }
.a-fin .a-time { margin-top: 0.16em; }
.a-line { margin-top: 0.5em; font-size: 1.75em; letter-spacing: -0.01em; }
.a-fsub { margin-top: 0.6em; max-width: 17em; font-size: 1.2em; line-height: 1.35; color: #b9d3e6; }
.a-run .a-btn.glass { flex: none; width: 6.5em; }

/* Plunge logged */
.a-done { padding: 6em 1.3em 0; align-items: stretch; text-shadow: none; }
.a-score { position: relative; align-self: center; width: 15.7em; height: 15.7em; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.55em; }
.a-score svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.a-score circle { fill: none; stroke-width: 7.5; }
.a-score .trk { stroke: rgba(233, 246, 255, 0.14); }
.a-score .val { stroke: var(--cyan); stroke-linecap: round; stroke-dasharray: 477.5; }
.a-score .gain { stroke: var(--ember); stroke-linecap: round; stroke-dasharray: 0 477.5; transition: stroke-dasharray 0.5s ease; }
.a-score span { font-size: 3.9em; font-weight: 200; line-height: 1; font-variant-numeric: tabular-nums; }
.a-score small { font-size: 0.82em; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.a-done h4 { margin: 0.6em 0 0; display: flex; align-items: center; justify-content: center; gap: 0.45em; font-size: 1.95em; font-weight: 400; letter-spacing: -0.01em; }
.a-done h4 em { height: 1.95em; padding: 0 0.7em; border-radius: 1em; display: inline-flex; align-items: center; font-style: normal; font-size: 0.54em; font-weight: 700; letter-spacing: 0; background: var(--ember); color: var(--ink); }
.a-new { margin-top: 0.5em; text-align: center; font-size: 0.97em; font-weight: 600; color: var(--ember); }
/* The summary's three numbers sit in the same glass strip as the timer's and the finish moment's. */
.a-done .a-stats { flex: none; margin: 1.3em 0 0; }
.a-done hr { flex: none; width: calc(100% + 2.6em); height: 1px; margin: 1.7em -1.3em 0; border: 0; background: rgba(233, 246, 255, 0.1); }
.a-eye { margin-top: 1.9em; display: flex; align-items: center; gap: 0.7em; font-size: 0.82em; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--flush); }
.a-eye::before { content: ""; width: 1.2em; height: 0.3em; border-radius: 0.15em; background: currentColor; }
.a-feel { margin-top: 1em; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.65em; }
.a-feel span { height: 3.5em; border-radius: 1.75em; display: flex; align-items: center; justify-content: center; font-size: 1.05em; font-weight: 600; background: rgba(233, 246, 255, 0.08); }
.a-field { margin-top: 0.8em; height: 3.26em; padding: 0 1em; border-radius: 1.2em; display: flex; align-items: center; color: #8fb0c8; background: rgba(4, 26, 46, 0.45); box-shadow: inset 0 0 0 1px rgba(233, 246, 255, 0.07); }
.a-mood { margin-top: 0.95em; display: grid; grid-template-columns: 4em repeat(3, 1fr); gap: 0.6em; align-items: center; }
.a-mood small { font-size: 0.92em; color: #b9d3e6; }
.a-mood span { height: 2.8em; border-radius: 1.4em; display: flex; align-items: center; justify-content: center; font-size: 0.92em; font-weight: 600; background: rgba(233, 246, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(233, 246, 255, 0.2); }
.a-doneb { position: absolute; left: 0; right: 0; bottom: 0; padding: 3.4em 1.3em 3.2em; background: linear-gradient(rgba(7, 26, 43, 0), rgba(7, 26, 43, 0.94) 42%); }

/* The water leaves for the summary, as it does in the app, and the whole phone shows. */
.demo > canvas { transition: opacity 0.9s ease; }
.demo.dry > canvas { opacity: 0; }
.how-stage { padding: 26px 28px; align-items: center; }
.how-stage .phone { --pw: 214px; margin-bottom: 0; }
.how-stage .readout { padding-bottom: 0; }

/* The closing section: compact, with the glow running edge to edge. */
.get { padding-top: 0; overflow: hidden; background-image: radial-gradient(60% 100% at 50% 0%, rgba(20, 121, 201, 0.5), rgba(20, 121, 201, 0) 72%); }
.get-in { width: 100%; padding: clamp(56px, 6vw, 80px) 0 clamp(44px, 5vw, 64px); border-radius: 0; background: none; box-shadow: none; }
.get h2 { font-size: clamp(28px, 3.3vw, 44px); line-height: 1.06; }
.get p.lead { margin-top: 12px; font-size: 16px; }
.get .stores { margin-top: 22px; }
.get .store { height: 44px; border-radius: 12px; }
.get .store svg { width: 19px; height: 19px; }
.get .store span { font-size: 15px; }
.get .store small { font-size: 9px; }
.foot { margin-top: 0; padding-top: clamp(36px, 4vw, 52px); border-top: 1px solid rgba(233, 246, 255, 0.08); }

/* The hero's store card, a touch smaller. */
@media (min-width: 1181px) {
  .getcard { width: 178px; padding: 12px; gap: 8px; border-radius: 19px; bottom: 24px; }
  .getcard p { font-size: 12.5px; line-height: 1.35; }
  .getcard .store { height: 42px; gap: 8px; padding: 0 12px 0 11px; border-radius: 11px; }
  .getcard .store svg { width: 18px; height: 18px; }
  .getcard .store span { font-size: 14.5px; }
  .getcard .store small { font-size: 8.5px; }
}


/* The hero's Stats phone: a live score bar over the still one in the screenshot. */
.sbar.stat { left: 2.3%; top: 45.55%; width: 95%; height: 3.6%; padding: 0; }
.sbar.stat .pstrip { height: 100%; }
/* Feather every edge of the blurred patch behind a live bar, so it never reads as a box. */
.sbar { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%), linear-gradient(transparent 0, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%), linear-gradient(transparent 0, #000 22%, #000 78%, transparent 100%); -webkit-mask-composite: source-in; mask-composite: intersect; }
.sbar.stat { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 1.5%, #000 98.5%, transparent 100%), linear-gradient(transparent 0, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 1.5%, #000 98.5%, transparent 100%), linear-gradient(transparent 0, #000 22%, #000 78%, transparent 100%); }


/* The set-up panel wears the app's own navy and glows, so it reads as the app itself. The glow on
   the right is kept low so the phones, not the background, are the brightest thing there. */
.setup { box-shadow: none; background:
  radial-gradient(60% 85% at 12% -6%, rgba(20, 121, 201, 0.6), rgba(20, 121, 201, 0) 70%),
  radial-gradient(44% 75% at 96% 62%, rgba(15, 95, 208, 0.24), rgba(15, 95, 208, 0) 70%),
  radial-gradient(40% 60% at 60% 116%, rgba(62, 197, 255, 0.26), rgba(62, 197, 255, 0) 70%),
  #071a2b; }
.setup h2 { color: #e9f6ff; }
.setup .slim .step.is-on button { background: rgba(233, 246, 255, 0.09); box-shadow: inset 0 0 0 1px rgba(233, 246, 255, 0.14); }
.setup .phone { box-shadow: 0 0 0 1px rgba(233, 246, 255, 0.24), 0 0 0 calc(var(--pw) * 0.027) #0a1f33, 0 0 0 calc(var(--pw) * 0.027 + 1px) rgba(233, 246, 255, 0.13), 0 44px 80px -28px rgba(2, 12, 24, 0.8); }


/* ================================================================ sixth pass: phones

   Everything below is for small screens only. The ideas: the store buttons are the hero's call
   to action, a stepper is three short bars with one caption (so its phone and its words fit on
   one screen and nothing jumps when the step changes), and cards lose their empty space. */

/* A finger leaves :hover stuck on, so the lifts and the spotlight are for pointers only. */
@media (hover: none) {
  .card:hover { translate: none; }
  .card:hover::before { opacity: 0; }
  .btn:hover, .store:hover { transform: none; }
}

/* Hero, once the store buttons leave their corner card: headline, the two store buttons, then
   the phones rising from the bottom edge. The buttons live outside the text block in the page,
   so the block is dissolved and its pieces re-ordered. */
@media (max-width: 1180px) {
  .hero { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .hero-in { display: contents; }
  .hero-in > *, .hero .getcard { position: relative; z-index: 1; }
  .hero .pill { order: 1; }
  .hero h1 { order: 2; }
  .hero .lead { order: 3; padding: 0 var(--gut); }
  .hero .cta-row { display: none; }
  .hero .getcard { order: 4; width: 100%; margin: 26px 0 0; padding: 0 var(--gut); gap: 10px; flex-wrap: nowrap; }
  .hero .stage { order: 5; margin-top: 36px; }
}

@media (max-width: 860px) {
  /* Steppers: three bars, numbered, and the active step's caption beneath them. */
  .steps { position: relative; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-bottom: calc(var(--cap-h, 100px) + 6px); }
  .steps .step button { position: static; overflow: visible; display: flex; flex-direction: column; align-items: stretch; gap: 0; width: 100%; height: 44px; padding: 12px 0 0; border-radius: 4px; background: none !important; box-shadow: none !important; opacity: 1; }
  .steps .step button::before { content: ""; flex: none; height: 3px; border-radius: 2px; background: rgba(233, 246, 255, 0.16); }
  .steps .step .bar { position: static; order: 1; flex: none; display: block; height: 3px; margin-top: -3px; border-radius: 2px; }
  .steps .step:has(~ .step.is-on) .bar { width: 100%; background: rgba(233, 246, 255, 0.45); }
  .steps .step .n { order: 2; margin-top: 9px; padding: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; line-height: 1; text-align: left; }
  .steps .step .txt { position: absolute; left: 0; right: 0; top: 50px; text-align: left; opacity: 0; pointer-events: none; transition: opacity 0.5s ease; }
  .steps .step.is-on .txt { opacity: 1; transition: opacity 0.6s ease 0.2s; }
  .steps .step strong { font-size: 17px; line-height: 1.3; }
  .steps .step .desc, .slim .step .desc, .slim .step.is-on .desc { display: block; margin-top: 4px; font-size: 15px; line-height: 1.5; }
  .slim .step .desc > span::before { display: none; }

  /* Set-up: heading, the three bars, then the phones. */
  .setup { gap: 10px; padding: 26px 22px 0; border-radius: 28px; }
  .setup h2 { margin-bottom: 8px; }
  .fan { height: 356px; }
  .fan .phone { --pw: 212px; top: 14px; }

  /* How it works: the phone first, its three bars and caption straight under it. */
  .how { display: flex; flex-direction: column; }
  .how-stage { order: -1; margin-top: 0; padding: 24px 20px; border-radius: 28px; }
  .how .steps { margin-top: 6px; }
}

@media (max-width: 720px) {
  .sec { padding: 52px 0; }
  .sec-head { gap: 12px; margin-bottom: 22px; }
  #how .sec-head { margin-bottom: 20px; }
  .eyebrow { margin-bottom: 10px; }
  .sec h2 { font-size: 27px; }
  .sec-sub { max-width: none; font-size: 15.5px; }

  /* Nav: a little closer to the top edge. */
  .nav { top: 10px; }
  .nav-in { height: 48px; border-radius: 24px; padding: 0 6px 0 16px; }
  .nav .btn-sm { height: 36px; border-radius: 18px; }

  /* Hero: smaller sizes for a phone. */
  .hero { padding-top: 88px; }
  .hero h1 { margin-top: 16px; font-size: clamp(40px, 12.6vw, 54px); }
  .hero .lead { margin-top: 14px; font-size: 16px; }
  .hero .getcard { margin-top: 22px; }
  .hero .getcard .store { flex: 0 1 164px; min-width: 0; justify-content: center; padding: 0 10px; }
  .hero .stage { height: 372px; margin-top: 30px; padding-top: 0; }
  .stage .phone.main { --pw: 240px; }
  .hero > canvas { height: 300px; }
  .marquee { padding: 14px 0; }
  .chip { height: 32px; font-size: 13.5px; }

  .setup { padding: 24px 20px 0; border-radius: 26px; }
  .setup h2 { font-size: 25px; }
  .fan { height: 340px; }
  .fan .phone { --pw: 204px; }
  .how-stage { padding: 20px 16px; border-radius: 26px; }
  .how-stage .phone { --pw: 206px; }

  /* Cards: less padding, and no reserved empty space above a small picture. */
  .bento { gap: 12px; }
  .card { min-height: 0; padding: 20px; border-radius: 24px; }
  .viz, .tight .viz { min-height: 0; margin-bottom: 18px; }
  .card h3 { font-size: 16.5px; }
  .card h3 + p { font-size: 14.5px; }
  .v-tubs { margin-left: -20px; margin-right: -20px; }

  /* Safety: the ring beside the question, as on a wide screen. */
  .v-safe { flex-direction: row; justify-content: flex-start; gap: 16px; }
  .safe-ring { flex: none; width: 100px; height: 100px; }
  .safe-ring svg { width: 100%; height: 100%; }
  .safe-ring b { font-size: 38px; }
  .safe-side { align-items: flex-start; text-align: left; gap: 4px; }
  .safe-q { font-size: 21px; }
  .safe-note { max-width: none; min-height: 2.8em; }
  .safe-btn { margin-top: 6px; height: 34px; padding: 0 15px; }

  /* Open water: the two tags sit on the water so they never run into the reading. */
  .sea { min-height: 176px; border-radius: 18px; }
  .sea-read { left: 16px; top: 14px; }
  .sea .temp { font-size: 60px; }
  .sea-chips { left: 12px; right: auto; top: auto; bottom: 12px; flex-direction: row; align-items: center; }

  /* Score: the ring beside its words. */
  .k-score { display: grid; grid-template-columns: 104px minmax(0, 1fr); column-gap: 18px; align-items: center; }
  .k-score .viz { grid-row: 1 / span 2; margin: 0; }
  .k-score h3 { align-self: end; }
  .k-score h3 + p { align-self: start; }
  .ring.sm { width: 104px; height: 104px; }
  .ring.sm b { font-size: 40px; }
  .ring.sm small { font-size: 10.5px; }

  .bignum b { font-size: 52px; }
  .session { font-size: 42px; }
  .tight .viz { margin-bottom: 16px; }
  .tight .post { padding: 10px; gap: 10px; }
  .av { width: 36px; height: 36px; }
  .next { padding: 14px 16px; }

  /* Connected: two across, with Siri running the full width underneath. */
  .bento.five { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .five .card, .five .card:nth-child(n+4) { grid-column: auto; padding: 16px; border-radius: 22px; }
  .five .card:nth-child(5) { grid-column: 1 / -1; }
  .five .viz { flex: none; height: 124px; min-height: 0; margin-bottom: 14px; }
  .five .card:nth-child(5) .viz { height: auto; }
  .five .card h3 { flex-wrap: wrap; gap: 6px 8px; }
  .five .card h3 + p { font-size: 13.5px; }
  /* Two cards share a row here, so the lock screen line has a shorter wording. */
  .five .card .wide { display: none; }
  .five .card .narrow { display: inline; }
  /* The lock screen card at half a phone's width: everything a size down, and the card itself
     reaches a little into the tile's padding so the time and End plunge sit on one line. */
  .five .v-lock { gap: 6px; }
  .five .isl { width: 82%; height: 22px; font-size: 10.5px; }
  .five .lockc { margin: 0 -8px; padding: 8px 9px 9px; border-radius: 15px; }
  .five .lk-top { font-size: 10.5px; }
  .five .lockc small { margin-top: 4px; font-size: 7px; }
  .five .lk-row { gap: 5px; }
  .five .lk-time { font-size: 20px; }
  .five .lk-end { height: 21px; padding: 0 6px; font-size: 9.5px; }
  .five .lockc .pstrip { height: 8px; margin-top: 5px; }
  .five .bubble { max-width: 82%; font-size: 14px; }

  /* Pricing */
  .plans { gap: 12px; }
  .plan { gap: 18px; padding: 22px 20px; border-radius: 24px; }
  .price b { font-size: 46px; }
  .price-note { margin-top: -8px; }
  .ticks { gap: 10px; }
  .fine { margin-top: 16px; font-size: 13px; }

  /* FAQ */
  .faq { gap: 6px; }
  .qa { border-radius: 18px; }
  .qa button { min-height: 54px; padding: 14px 16px; font-size: 15.5px; }
  .qa .ans p { padding: 0 16px 16px; }

  /* Closing section and footer */
  .get-in { padding: 48px 0 40px; }
  .get h2 { max-width: 8.6em; font-size: 34px; text-wrap: balance; }
  .foot { padding-top: 32px; padding-bottom: max(28px, env(safe-area-inset-bottom)); }
  .foot-top { gap: 28px; }
  .foot-cols { gap: 24px 48px; }
  .foot-end { margin-top: 28px; flex-direction: column; gap: 6px; }
}

@media (max-width: 359px) {
  .hero .getcard { gap: 8px; }
  .hero .getcard .store { height: 46px; gap: 7px; padding: 0 8px; }
  .hero .getcard .store svg { width: 18px; height: 18px; }
  .hero .getcard .store span { font-size: 14px; }
  .hero .getcard .store small { font-size: 8.5px; }
  .stage .phone.main { --pw: 224px; }
  .hero .stage { height: 348px; }
  .bento.five { grid-template-columns: minmax(0, 1fr); }
  .k-score { grid-template-columns: 88px minmax(0, 1fr); column-gap: 16px; }
  .ring.sm { width: 88px; height: 88px; }
  .ring.sm b { font-size: 34px; }
  .ring.sm small { font-size: 9.5px; }
  .sea-chips span { height: 26px; padding: 0 9px; font-size: 11px; }
}

/* ================================================================ seventh pass: phones, one screen each
   The hero, the set-up panel and the How it works demo are sized from the height of the screen,
   so each one fits a phone without scrolling. Everything else is packed a little tighter. */
@media (max-width: 720px) {
  :root { --scr: clamp(540px, 100vh, 780px); }
  @supports (height: 100svh) { :root { --scr: clamp(540px, 100svh, 780px); } }

  .hero { height: var(--scr); padding-top: 72px; }
  .hero .pill { height: 26px; padding: 0 11px; font-size: 12px; }
  .hero h1 { margin-top: 12px; font-size: clamp(38px, 11.8vw, 50px); }
  .hero .lead { margin-top: 10px; font-size: 15px; line-height: 1.45; }
  .hero .getcard { margin-top: 16px; }
  .hero .getcard .store { height: 46px; }
  .hero .stage { flex: 1 1 0; min-height: 0; height: auto; margin-top: 22px; }
  .stage .phone.main { --pw: clamp(176px, calc((var(--scr) - 330px) * 0.62), 232px); }
  .hero > canvas { height: calc(var(--scr) * 0.36); }

  .sec { padding: 42px 0; }
  .sec-head { gap: 10px; margin-bottom: 18px; }
  #how .sec-head { margin-bottom: 16px; }
  .sec h2 { font-size: 26px; }
  .sec-sub { font-size: 15px; line-height: 1.5; }

  .setup { gap: 8px; padding: 20px 18px 0; }
  .setup h2 { margin-bottom: 6px; font-size: 23px; }
  .steps .step strong { font-size: 16px; }
  .steps .step .desc, .slim .step .desc, .slim .step.is-on .desc { margin-top: 3px; font-size: 14.5px; line-height: 1.45; }
  .fan { height: clamp(230px, calc(var(--scr) - 372px), 330px); }
  .fan .phone { --pw: clamp(168px, calc((var(--scr) - 372px) * 0.66), 204px); top: 12px; }

  .how-stage { padding: 14px 16px; }
  .how-stage .phone { --pw: clamp(150px, calc((var(--scr) - 246px) * 0.46), 206px); }
  .how .steps { margin-top: 4px; }

  .bento { gap: 10px; }
  .card { padding: 18px; border-radius: 22px; }
  .viz, .tight .viz { margin-bottom: 14px; }
  .card h3 { font-size: 16px; }
  .card h3 + p { margin-top: 4px; font-size: 14px; line-height: 1.45; }
  .safe-ring { width: 88px; height: 88px; }
  .safe-ring b { font-size: 34px; }
  .safe-q { font-size: 19px; }
  .safe-btn { height: 32px; }
  .sea { min-height: 136px; }
  .sea-read { top: 12px; }
  .sea .temp { font-size: 50px; }
  .sea-chips { bottom: 10px; }

  /* Score and streak sit two across. */
  #features .k-score, #features .k-score + .card { grid-column: span 6; padding: 16px; }
  #features .k-score { display: flex; align-items: stretch; }
  #features .k-score .viz { flex: none; justify-content: flex-start; margin: 0 0 12px; }
  #features .k-score .ring { margin: 0; }
  #features .k-score h3, #features .k-score h3 + p { align-self: auto; }
  #features .k-score + .card .viz { flex: none; height: 84px; justify-content: space-between; gap: 0; margin-bottom: 12px; }
  .ring.sm { width: 84px; height: 84px; }
  .ring.sm b { font-size: 32px; }
  .ring.sm small { font-size: 9px; }
  .bignum { gap: 6px; }
  .bignum b { font-size: 44px; }
  .bignum span { font-size: 13px; }
  .days { gap: 3px; }
  .days i { font-size: 8.5px; }
  #features .k-score h3, #features .k-score + .card h3 { font-size: 15px; line-height: 1.25; }
  #features .k-score h3 + p, #features .k-score + .card h3 + p { font-size: 13.5px; }
  .v-prog { gap: 10px; }
  .session { font-size: 36px; }

  .tight .viz { margin-bottom: 12px; }
  .v-list { gap: 6px; }
  .tight .post { padding: 8px 10px; }
  .av { width: 32px; height: 32px; }
  .tight .board { height: 172px; }
  .tight .lrow { height: 40px; transform: translateY(calc(var(--pos) * 44px)); }
  .v-ach { gap: 8px; }
  .next { padding: 12px 14px; gap: 10px; }
  .badges { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .badge { gap: 8px; padding: 9px 10px; }
  .badge i { width: 24px; height: 24px; }
  .badge b { font-size: 13.5px; }

  .bento.five { gap: 10px; }
  .five .card, .five .card:nth-child(n+4) { padding: 14px; }
  .five .viz { height: 112px; margin-bottom: 12px; }
  .five .watch { width: 92px; height: 110px; border-radius: 28px; }
  .five .watch b { font-size: 29px; }

  .plans { gap: 10px; }
  .plan { gap: 14px; padding: 20px 18px; }
  .plan h3 { font-size: 20px; }
  .plan-top p { margin-top: 2px; font-size: 14.5px; }
  .price b { font-size: 40px; }
  .price-note { margin-top: -6px; font-size: 13.5px; }
  .ticks { gap: 7px; font-size: 14.5px; }
  .ticks li { gap: 10px; }
  .ticks svg { width: 16px; height: 16px; }
  .plan .btn { margin-top: 2px; }
  .fine { margin-top: 12px; }

  .qa button { min-height: 48px; padding: 11px 16px; font-size: 15px; }
  .qa .ans p { padding: 0 16px 14px; font-size: 14.5px; line-height: 1.5; }

  .get-in { padding: 40px 0 32px; }
  .get h2 { font-size: 32px; }
  .get p.lead { margin-top: 10px; font-size: 15px; }
  .get .stores { margin-top: 18px; }
  .foot { padding-top: 26px; }
  .foot-top { gap: 22px; }
  .foot-top p { margin-top: 10px; font-size: 13.5px; }
  .foot-cols { gap: 20px 44px; }
  .foot-cols div { gap: 8px; font-size: 14.5px; }
  .foot-end { margin-top: 22px; padding-top: 14px; }
}

@media (max-width: 359px) {
  #features .k-score, #features .k-score + .card { grid-column: span 12; }
  .badges { grid-template-columns: minmax(0, 1fr); }
  .hero .getcard .store { height: 44px; }
}
