/* The web version of the app's onboarding story. Colours and type follow
   Doomless/Presentation/Common/DesignSystem/Brand.swift: black, white and
   grey, SF Pro, white pill buttons, amber for state, red for scrolling.
   Dark only. Self-contained: nothing from /styles.css. */
:root {
  --bg: #000;
  --surface: #1a1a1a;        /* Brand.surface, white 0.102 */
  --raised: #3a3a3a;         /* Brand.raised, white 0.227 */
  --hairline: rgba(255, 255, 255, 0.08);
  --text: #fff;
  --dim: #bcbbc0;            /* Brand.dim */
  --faint: rgba(188, 187, 192, 0.55);
  --amber: #ffb547;          /* Brand.yellow */
  --red: #ff453a;            /* Brand.hardcoreRed */
  --asleep: #7d87fa;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: 24px;            /* the app's page margin */
  --slide: 0.35s;
  color-scheme: dark;
}
@media (max-width: 359px) {
  :root { --gutter: 16px; }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; height: 100%; }
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.35 var(--font);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--slide) ease-in-out;
}
/* "X% of every waking hour" is drawn on red, header included. */
body.red { background: var(--red); }

a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
h1:focus { outline: none; }

.sr {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.noscript { padding: 24px; color: var(--dim); }

.ic {
  width: 1em; height: 1em;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  flex: none;
}

/* A soft amber light from the top of the first page. */
.glow {
  position: fixed; inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 181, 71, 0.22) 0%, rgba(255, 181, 71, 0.07) 40%, transparent 75%);
  opacity: 0;
  transition: opacity var(--slide) ease-in-out;
}
.glow.on { opacity: 1; }

/* ---------- The column ---------- */

.app {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 430px;
  height: 100vh;
  height: 100dvh;
  margin: 0 auto;
  padding-top: env(safe-area-inset-top);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.top { flex: none; padding-top: 8px; }
.progress {
  height: 4px;
  margin: 0 var(--gutter);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
  transition: opacity 0.3s ease-in-out;
}
body.red .progress { background: rgba(255, 255, 255, 0.35); }
.progress-fill {
  height: 100%;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--slide) ease-in-out;
}
.progress.off { opacity: 0; }

.back {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 20px 0 var(--gutter);
  border: 0;
  background: none;
  font-size: 20px;
  cursor: pointer;
  transition: opacity 0.3s ease-in-out;
}
.back .ic { stroke-width: 2.6; }
.back:focus-visible { outline-offset: -4px; border-radius: 12px; }
.back.off { opacity: 0; pointer-events: none; }

.stage { position: relative; flex: 1; min-height: 0; overflow: hidden; }

.step {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
}
.step-form { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.step-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 8px var(--gutter) 16px;
}
.step-body.center { align-items: center; text-align: center; }
.step-body.roomy { gap: 20px; }
.step-body > * { flex-shrink: 0; }
.step-bar {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px var(--gutter) calc(24px + env(safe-area-inset-bottom));
}

/* Pages slide in from the side they come from. */
.step.enter-fwd { animation: from-right var(--slide) ease-in-out both; }
.step.leave-fwd { animation: to-left var(--slide) ease-in-out both; }
.step.enter-back { animation: from-left var(--slide) ease-in-out both; }
.step.leave-back { animation: to-right var(--slide) ease-in-out both; }
.step.leave-fwd, .step.leave-back { pointer-events: none; }
@keyframes from-right { from { transform: translateX(100%); } }
@keyframes to-left { to { transform: translateX(-100%); } }
@keyframes from-left { from { transform: translateX(-100%); } }
@keyframes to-right { to { transform: translateX(100%); } }

.spacer-32 { height: 32px; }
.flex-spacer { flex: 1 1 0; min-height: 8px; }

/* ---------- Type (Brand.display: SF Pro Bold, tracking −0.04em) ---------- */

.display { margin: 0; font-weight: 700; line-height: 1.08; letter-spacing: -0.04em; text-wrap: balance; }
.d30 { font-size: clamp(26px, 8vw, 30px); }
.d32 { font-size: clamp(28px, 8.5vw, 32px); }
.d34 { font-size: clamp(29px, 9vw, 34px); }
.d38 { font-size: clamp(32px, 10vw, 38px); }
.d40 { font-size: clamp(34px, 10.6vw, 40px); }
.center { text-align: center; }
.dim { color: var(--dim); }
.amber { color: var(--amber); }
.lede { margin: 0; color: var(--dim); }
.fine { margin: 0; font-size: 13px; color: var(--faint); }
.fine a { color: var(--dim); }
.note { margin: 0; font-size: 13px; line-height: 1.35; color: var(--faint); text-align: center; }

/* ---------- Buttons (BrandButton: white pill, 56 tall) ---------- */

.pill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 56px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--text);
  color: #000;
  font: 600 17px/1 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, transform 0.1s;
}
.pill:active:not(:disabled) { transform: scale(0.98); }
.pill:disabled { background: var(--raised); color: rgba(255, 255, 255, 0.4); cursor: default; }
body.red .pill:disabled { background: rgba(255, 255, 255, 0.3); color: rgba(255, 255, 255, 0.7); }

.text-button {
  align-self: flex-start;
  padding: 6px 0;
  border: 0;
  background: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* ---------- Phone frame (PhoneFrame: 9:19.5, Dynamic Island) ---------- */

.phone {
  position: absolute;
  left: 50%;
  aspect-ratio: 9 / 19.5;
  max-width: 100%;
  transform: translateX(-50%);
  padding: 6px;
  border-radius: 40px;
  background: #2b2b2b;
}
.screen {
  position: absolute;
  inset: 6px;
  overflow: hidden;
  border-radius: 34px;
  background: #000;
  container-type: inline-size;
}
/* The mock screens are drawn on a 240-wide phone and scale with it. */
.island {
  position: absolute;
  z-index: 3;
  top: calc(8 * 100cqw / 240);
  left: 50%;
  width: calc(70 * 100cqw / 240);
  height: calc(20 * 100cqw / 240);
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
}

/* ---------- 1. Welcome: Block Reels ---------- */

.hero { position: relative; flex: 1 1 auto; width: 100%; min-height: 260px; }
.hero .phone { top: 30px; height: calc(100% - 30px); }
.reel-art {
  position: absolute; inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(to bottom, #8c334d, #2e1224);
  transition: filter 0.35s ease-in-out, transform 0.35s ease-in-out;
}
.reel-label {
  position: absolute;
  top: calc(48 * 100cqw / 240);
  left: calc(14 * 100cqw / 240);
  font-size: calc(13 * 100cqw / 240);
  font-weight: 700;
}
.reel-figure { font-size: calc(64 * 100cqw / 240); color: rgba(255, 255, 255, 0.3); }
.reel-dim { position: absolute; inset: 0; background: #000; opacity: 0; transition: opacity 0.35s ease-in-out; }
.reel-off {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.35s ease-in-out, transform 0.35s ease-in-out;
}
.reel-off .ic { font-size: 30px; }

.toggle-pill {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 8px 8px 18px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: rgba(40, 40, 40, 0.62);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  backdrop-filter: blur(20px) saturate(1.6);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}
.switch {
  position: relative;
  width: 46px; height: 28px;
  border-radius: 999px;
  background: var(--raised);
  transition: background-color 0.35s ease-in-out;
}
.knob {
  position: absolute;
  top: 3px; left: 3px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.4s cubic-bezier(0.34, 1.45, 0.64, 1);
}
.hero.on .switch { background: var(--amber); }
.hero.on .knob { transform: translateX(18px); }
.hero.on .reel-art { filter: blur(18px); transform: scale(1.12); }
.hero.on .reel-dim { opacity: 0.45; }
.hero.on .reel-off { opacity: 1; transform: scale(1); transition-timing-function: cubic-bezier(0.34, 1.45, 0.64, 1); }

/* ---------- 2–3. App vs Timeless ---------- */

.segmented {
  position: relative;
  align-self: center;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  max-width: 280px;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface);
}
.seg-thumb {
  position: absolute;
  top: 4px; bottom: 4px; left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.3s ease-in-out;
}
.timeless .seg-thumb { transform: translateX(100%); }
.seg {
  position: relative;
  padding: 9px 0;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--dim);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.3s ease-in-out;
}
.seg[aria-pressed="true"] { color: #000; }
.seg:focus-visible { outline-offset: 1px; }

.device { position: relative; flex: 1 1 auto; min-height: 300px; }
.device .phone { top: 0; height: 100%; }

.mock { --u: calc(100cqw / 240); background: #0a0a0a; }
.mock-layer {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  transition: opacity 0.35s ease-in-out;
}
.mock-clean { opacity: 0; }
.timeless .mock-real { opacity: 0; }
.timeless .mock-clean { opacity: 1; }
.m-top { flex: none; height: calc(44 * var(--u)); }
.m-feed {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: calc(10 * var(--u));
  padding: 0 calc(12 * var(--u));
  text-align: left;
}
.m-feed > * { flex-shrink: 0; }
.m-row { display: flex; align-items: center; gap: calc(9 * var(--u)); font-size: calc(14 * var(--u)); }
.m-sp { flex: 1; }
.m-row .ic { stroke-width: 1.8; }
.ig-word { font: italic 600 calc(17 * var(--u)) / 1 Georgia, "Times New Roman", serif; }
.story {
  width: calc(34 * var(--u)); height: calc(34 * var(--u));
  padding: calc(2 * var(--u));
  border-radius: 50%;
}
.story.ring { background: linear-gradient(45deg, #ff9500, #ff2d55, #af52de); }
.story > span {
  display: block;
  width: 100%; height: 100%;
  border: calc(2 * var(--u)) solid #0a0a0a;
  border-radius: 50%;
  background: #404040;
}
.m-user { gap: calc(6 * var(--u)); }
.m-av { width: calc(16 * var(--u)); height: calc(16 * var(--u)); border-radius: 50%; background: #999; }
.m-line { display: block; border-radius: 999px; background: #999; }
.m-line.w54 { width: calc(54 * var(--u)); height: calc(5 * var(--u)); }
.m-line.w140 { width: calc(140 * var(--u)); height: calc(5 * var(--u)); }
.m-line.w90 { width: calc(90 * var(--u)); height: calc(4 * var(--u)); background: #595959; }
.m-post {
  display: grid;
  place-items: center;
  aspect-ratio: 0.9;
  border-radius: calc(4 * var(--u));
  background: linear-gradient(to bottom, #295c4d, #0d241f);
}
.m-post .ic { font-size: calc(34 * var(--u)); color: rgba(255, 255, 255, 0.45); }
.m-actions { gap: calc(12 * var(--u)); font-size: calc(13 * var(--u)); }

.yt-head { gap: calc(4 * var(--u)); }
.yt-logo { color: #ff3b30; font-size: calc(16 * var(--u)); }
.yt-word { font-size: calc(15 * var(--u)); font-weight: 700; letter-spacing: -0.02em; }
.yt-head .ic + .ic { margin-left: calc(8 * var(--u)); }
.m-chips { display: flex; gap: calc(6 * var(--u)); }
.m-chip {
  padding: calc(4 * var(--u)) calc(8 * var(--u));
  border-radius: 999px;
  background: #333;
  font-size: calc(9 * var(--u));
  font-weight: 600;
  line-height: 1.2;
}
.m-chip.on { background: #fff; color: #000; }
.m-video { display: flex; flex-direction: column; gap: calc(5 * var(--u)); }
.m-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: calc(6 * var(--u));
}
.m-thumb.red { background: linear-gradient(to bottom right, #8c382e, #331414); }
.m-thumb.blue { background: linear-gradient(to bottom right, #334d80, #0f1a33); }
.m-length {
  position: absolute;
  right: calc(5 * var(--u)); bottom: calc(5 * var(--u));
  padding: calc(2 * var(--u)) calc(4 * var(--u));
  border-radius: calc(3 * var(--u));
  background: rgba(0, 0, 0, 0.8);
  font-size: calc(8 * var(--u));
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.m-shelf {
  display: flex;
  flex-direction: column;
  gap: calc(5 * var(--u));
  padding: calc(6 * var(--u));
  border: calc(2 * var(--u)) solid #ff3b30;
  border-radius: calc(8 * var(--u));
}
.m-shelf-title { display: flex; align-items: center; gap: calc(4 * var(--u)); font-size: calc(10 * var(--u)); font-weight: 700; }
.m-shorts { display: flex; gap: calc(6 * var(--u)); }
.m-short { height: calc(74 * var(--u)); aspect-ratio: 9 / 16; border-radius: calc(6 * var(--u)); background: #2e2e2e; }
.m-short:nth-child(2) { background: #3b3b3b; }
.m-short:nth-child(3) { background: #474747; }

.m-tabs {
  flex: none;
  display: flex;
  padding: calc(10 * var(--u)) 0 calc(22 * var(--u));
  background: #000;
}
.m-tab {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(2 * var(--u));
  font-size: calc(15 * var(--u));
}
.m-tab .ic { stroke-width: 1.8; }
.m-tab-label { font-size: calc(7 * var(--u)); line-height: 1; white-space: nowrap; }
/* The Reels or Shorts tab: circled in the real app, gone in Timeless. */
.m-tab.trap::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: calc(40 * var(--u)); height: calc(34 * var(--u));
  border: calc(2 * var(--u)) solid #ff3b30;
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
}

/* ---------- 4. Age wheel ---------- */

.wheel-wrap { position: relative; flex: 1 1 auto; display: flex; align-items: center; min-height: 240px; }
.wheel-band {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 40px;
  transform: translateY(-50%);
  border-radius: 10px;
  background: rgba(118, 118, 128, 0.24);
  pointer-events: none;
}
.wheel {
  position: relative;
  width: 100%;
  height: 220px;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  overscroll-behavior: contain;
  scrollbar-width: none;
  border-radius: 12px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 32%, #000 68%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 32%, #000 68%, transparent);
  touch-action: pan-y;
}
.wheel::-webkit-scrollbar { display: none; }
.wheel:focus-visible { outline: none; }
.wheel-wrap:has(.wheel:focus-visible) { outline: 2px solid var(--text); outline-offset: 4px; border-radius: 14px; }
.wheel-pad { height: 90px; }
.wheel-item {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: center;
  font-size: 22px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--dim);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}
.wheel-item.selected { color: var(--text); }

/* ---------- 5. Daily time ---------- */

.time-readout { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 12px; text-align: center; }
.time-value {
  margin: 0;
  font-size: clamp(44px, 14vw, 56px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.time-label { margin: 0; font-size: 15px; color: var(--dim); }
.time-label .amber { font-weight: 600; }
.range-wrap { padding: 4px 0; }
.range {
  --fill: 18%;
  display: block;
  width: 100%;
  height: 32px;
  margin: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--text) var(--fill), var(--raised) var(--fill));
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px; height: 28px;
  margin-top: -11px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}
.range::-moz-range-track { height: 6px; border-radius: 3px; background: var(--raised); }
.range::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--text); }
.range::-moz-range-thumb { width: 28px; height: 28px; border: 0; border-radius: 50%; background: #fff; }
.range:focus-visible { outline-offset: 6px; border-radius: 8px; }
.range-scale { display: flex; justify-content: space-between; margin-top: 4px; font-size: 13px; color: var(--faint); }

.how { border-radius: 16px; background: var(--surface); }
.how summary {
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style-position: inside;
}
.how summary:focus-visible { border-radius: 16px; outline-offset: -2px; }
.how p { margin: 0; padding: 0 16px 16px; font-size: 15px; color: var(--dim); }

/* ---------- 7. Life in weeks ---------- */

.grid-wrap { position: relative; flex: 1 1 auto; width: 100%; min-height: 220px; }
.grid-wrap canvas { position: absolute; top: 0; left: 50%; transform: translateX(-50%); display: block; }
.caption { display: flex; flex-direction: column; gap: 4px; }
.caption-num { font-variant-numeric: tabular-nums; transition: color 0.3s ease-in-out; }
.caption-num.red { color: var(--red); }
.caption-text { font-weight: 600; color: var(--dim); }

/* ---------- 8. Waking share, on red ---------- */

.waking-h { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; font-weight: 400; }
.waking-num {
  font-size: clamp(64px, 30vw, 120px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.waking-text { font-size: 20px; font-weight: 600; line-height: 1.25; }
.note.on-red { color: rgba(255, 255, 255, 0.85); }

/* ---------- 9. The damage ---------- */

.damage { gap: 14px; }
.alarm { width: 88px; height: 88px; margin-bottom: 12px; }
.damage-num {
  font-size: clamp(36px, 13vw, 56px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.dim-line { margin: 0; color: var(--dim); }
.tag {
  padding: 8px 22px;
  border-radius: 12px;
  background: var(--red);
  font-size: clamp(34px, 10.6vw, 40px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  opacity: 0;
  transform: rotate(-4deg) scale(0.6);
  transition: opacity 0.25s ease-out, transform 0.45s cubic-bezier(0.34, 1.6, 0.64, 1);
}
.tag.shown { opacity: 1; transform: rotate(-4deg) scale(1); }
.damage-note { padding-top: 16px; }

/* ---------- 10. Quotes ---------- */

.quote {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 16px;
  border-radius: 18px;
  background: var(--surface);
}
.quote:first-of-type { margin-top: 4px; }
.initials {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--raised);
  color: var(--dim);
  font-size: 13px;
  font-weight: 700;
}
.quote blockquote { margin: 0 0 8px; font-weight: 600; }
.quote figcaption { font-size: 13px; }
.quote figcaption span { color: var(--dim); }

/* ---------- 11. Comparison table ---------- */

.table-card { padding: 20px; border-radius: 22px; background: var(--surface); }
.compare-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 15px; }
.compare-table th { padding: 0 0 12px; text-align: left; font-weight: 700; }
.compare-table th:first-child { color: var(--dim); }
.compare-table td { padding: 12px 0; border-top: 1px solid var(--hairline); vertical-align: top; }
.compare-table td:first-child { padding-right: 10px; color: var(--faint); }
.compare-table s { text-decoration-thickness: 1px; }
.yes { display: flex; gap: 6px; align-items: flex-start; }
.check { font-size: 12px; margin-top: 4px; color: var(--amber); stroke-width: 3.4; }
.testers { margin: 0; font-size: 17px; font-weight: 600; color: var(--dim); }

/* ---------- 12. Get Timeless ---------- */

.waitlist-fields { display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
.field-label { font-size: 15px; font-weight: 600; }
.field {
  width: 100%;
  height: 56px;
  padding: 0 20px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font: 17px var(--font);
}
.field::placeholder { color: var(--faint); }
.field:focus-visible { outline-offset: 2px; }
.check-row { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--dim); cursor: pointer; }
.check-row input { width: 20px; height: 20px; margin: 0; accent-color: var(--amber); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.status { margin: 0; min-height: 1.35em; font-size: 15px; }
.status.ok { color: var(--amber); }
.status.error { color: var(--red); }

/* ---------- The end: "You're all set" and confetti ---------- */

.get-intro { display: flex; flex-direction: column; gap: 16px; }
.done {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: auto 0;
  padding: 24px 0;
  text-align: center;
}
.done-check {
  display: grid;
  place-items: center;
  width: 72px; height: 72px;
  margin-bottom: 8px;
  border: 0;
  border-radius: 50%;
  background: var(--amber);
  color: #1b1204;               /* Brand.onAmber */
  font-size: 34px;
  cursor: pointer;
  animation: done-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  transition: transform 0.1s;
}
.done-check .ic { stroke-width: 3; }
.done-check:active { transform: scale(0.92); }
.done-check:focus-visible { outline-offset: 4px; }
.done-check.still { cursor: default; }
@keyframes done-pop { from { transform: scale(0.4); opacity: 0; } }
.confetti {
  position: fixed;
  inset: 0;
  z-index: 20;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ---------- Reduced motion: everything jumps to the end ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
