/* Apnara web. Dark only: Paper "00 · Dark mode (indigo)". */
:root {
  --bg: #0a0c17;
  --bg-2: #161936;
  --card: #161936;
  --card-border: rgb(255 255 255 / 0.08);
  --line: rgb(255 255 255 / 0.1);
  --tag: #252960;
  --ink: #ffffff;
  --ink-2: rgb(255 255 255 / 0.7);
  --accent: #cfc8ff;
  --btn: #cfc8ff;
  --btn-ink: #11102a;

  --night: #0a0c17;
  --glow: #cfc8ff;
  --glow-ink: #11102a;
  --haze: linear-gradient(140deg, rgb(27 30 68 / 0.95), rgb(91 87 168 / 0.75) 50%, rgb(207 200 255 / 0.55));
  --panel: radial-gradient(120% 80% at 50% 0%, #2e2f6b 0%, #161936 55%, #0e1024 100%);
  --screen-dark: radial-gradient(120% 70% at 50% 25%, #2e2f6b 0%, #161936 55%, #0a0c17 100%);
  --offer: #1b1e44;
  --bar: linear-gradient(90deg, #7f78c8, #cfc8ff);
  --badge: #f0c9b0;
  --badge-ink: #11102a;
  --safety: #161936;
  --safety-num: #f0c9b0;
  --safety-ink: rgb(255 255 255 / 0.7);
  --chart: #161936;

  --opt: #161936;
  --opt-on: #232647;
  --opt-on-border: #cfc8ff;
  --radio-off: rgb(255 255 255 / 0.35);

  --on-dark: #ffffff;
  --on-dark-2: rgb(255 255 255 / 0.7);
  --on-dark-3: rgb(255 255 255 / 0.5);
  --display: "Sora", system-ui, sans-serif;
  --ui: "Inter Tight", system-ui, sans-serif;
  --gutter: 20px;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font: 400 16px/1.45 var(--ui); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- shared ---------- */
.eyebrow { font: 700 12px/16px var(--ui); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.on-dark { color: var(--on-dark); }
.on-dark .eyebrow, .ob.dark .eyebrow { color: var(--glow); }

.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; height: 56px; padding: 0 28px; border-radius: 28px;
  font: 600 17px/22px var(--ui); text-decoration: none; transition: transform 0.15s, opacity 0.2s;
}
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.35; cursor: default; transform: none; }
.btn-ink { background: var(--btn); color: var(--btn-ink); }
.btn-glow { background: var(--glow); color: var(--glow-ink); }
.btn-ghost { background: rgb(255 255 255 / 0.08); color: var(--on-dark); }
.link { display: block; font: 500 15px/18px var(--ui); text-align: center; color: var(--ink-2); text-decoration: none; padding: 10px; }
.on-dark .link, .ob.dark .link { color: rgb(255 255 255 / 0.8); }

/* Orbs are canvas, drawn by breath-form.js (motion prototype "Breath Forms", style A). */
.bf-form, .bf-mist { z-index: -1; }
.haze { position: absolute; pointer-events: none; width: 620px; height: 520px; background: var(--haze); border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; filter: blur(54px); opacity: 0.8; rotate: -18deg; }
.haze { animation: drift 20s ease-in-out infinite alternate; }
@keyframes drift { to { rotate: -6deg; scale: 1.08; } }
.badge { display: inline-block; background: var(--badge); color: var(--badge-ink); font: 700 13px/18px var(--ui); padding: 3px 10px; border-radius: 12px; }


/* ---------- landing ---------- */
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); }
section { padding: 72px 0; }
.sec-title { font: 400 32px/38px var(--display); letter-spacing: -0.025em; margin: 12px 0; }
.sec-lede { color: var(--ink-2); font-size: 17px; line-height: 25px; }
.on-dark .sec-lede { color: var(--on-dark-2); }

.site-head { position: absolute; inset: 0 0 auto; z-index: 5; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }
.site-head img { height: 30px; width: auto; }
.pill-btn { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 20px; background: rgb(255 255 255 / 0.1); color: var(--on-dark); font: 600 14px/1 var(--ui); text-decoration: none; }

.hero { position: relative; overflow: hidden; isolation: isolate; min-height: min(100svh, 900px); padding: 0; background: var(--night); display: flex; flex-direction: column; }
.hero-art { position: relative; flex: 1; min-height: 380px; }
/* "Listen to Ama" (sound.js): her voice and the whale song, all or nothing */
.listen { justify-self: start; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px 0 14px; border-radius: 22px; background: rgb(255 255 255 / 0.08); color: var(--on-dark); font: 600 15px/1 var(--ui); transition: background 0.15s; }
.listen:hover { background: rgb(255 255 255 / 0.14); }
.listen svg { width: 18px; height: 18px; fill: currentColor; }
.listen .stroke { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.hero-copy { position: relative; display: grid; gap: 24px; padding-bottom: 40px; }
.hero h1 { font: 400 40px/44px var(--display); letter-spacing: -0.03em; margin: 14px 0; }
.hero .lede { color: var(--on-dark-2); font-size: 17px; line-height: 25px; }
.hero .ctas { display: grid; gap: 6px; }

/* test teaser: text, card, cta on mobile; text+cta | card on desktop */
.teaser { display: grid; gap: 28px; grid-template-areas: "copy" "card" "cta"; }
.teaser .copy { grid-area: copy; }
.teaser .reveal { grid-area: card; }
.teaser .cta { grid-area: cta; }
.reveal { background: var(--panel); border-radius: 28px; padding: 28px 22px; display: grid; gap: 22px; }
.reveal { border: 1px solid rgb(255 255 255 / 0.08); }
.reveal .big { font: 200 104px/104px var(--display); letter-spacing: -0.04em; margin: 8px 0; }
.delta { display: inline-block; background: var(--glow); color: var(--glow-ink); font: 700 14px/18px var(--ui); padding: 6px 12px; border-radius: 14px; }
.first-line { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--on-dark-2); }
.bars { display: grid; gap: 16px; }
.bar-row { display: grid; gap: 8px; font-size: 14px; }
.bar-row .lbl { display: flex; justify-content: space-between; color: var(--on-dark-2); }
.bar-row.after .lbl { color: var(--on-dark); }
.track { height: 10px; border-radius: 5px; background: rgb(255 255 255 / 0.1); overflow: hidden; }
.track i { display: block; height: 100%; border-radius: 5px; background: rgb(255 255 255 / 0.4); }
.after .track i { background: var(--bar); }
.because { display: grid; gap: 10px; color: rgb(255 255 255 / 0.8); padding: 0; list-style: none; font-size: 15px; }
.because li { display: flex; align-items: center; gap: 12px; }
.because li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--glow); flex-shrink: 0; }
.fine { font-size: 13px; line-height: 18px; color: var(--ink-2); }
.reveal .fine { color: var(--on-dark-3); }

.know { background: var(--bg-2); }
.facts { border-top: 1px solid var(--line); }
.fact { display: flex; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.fact .n { width: 32px; flex-shrink: 0; font: 300 26px/26px var(--display); color: var(--accent); }
.fact h3, .rule h3 { font: 600 17px/22px var(--ui); margin-bottom: 4px; }
.fact p { color: var(--ink-2); font-size: 15px; line-height: 22px; }
.split { display: grid; gap: 28px; }

.goals { display: grid; gap: 12px; margin-top: 28px; }
.goal { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--card-border); border-radius: 20px; background: var(--card); }
.goal h3 { font: 400 24px/30px var(--display); letter-spacing: -0.01em; }
.goal p { color: var(--ink-2); font-size: 15px; line-height: 22px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 8px; }
.tag { background: var(--tag); border-radius: 12px; padding: 6px 10px; font: 500 13px/16px var(--ui); }

.rules-card { display: grid; gap: 18px; padding: 24px 22px; border-radius: 24px; background: var(--safety); margin-top: 24px; }
.rule { display: flex; gap: 12px; }
.rule .n { width: 22px; flex-shrink: 0; font: 300 22px/22px var(--display); color: var(--safety-num); }
.rule h3 { font-size: 16px; }
.rule p { color: var(--safety-ink); font-size: 15px; line-height: 21px; }

.offer { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 24px; padding: 32px 22px; border-radius: 28px; background: var(--offer); }
.offer .haze { left: 120px; top: -260px; width: 520px; height: 440px; opacity: 0.55; z-index: -1; }
.offer h2 { font: 400 32px/38px var(--display); letter-spacing: -0.025em; margin: 12px 0; }
.offer .lede { color: var(--on-dark-2); font-size: 16px; line-height: 23px; }
.wl-form { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid rgb(255 255 255 / 0.1); }
.wl-form > p:first-child { font-size: 14px; line-height: 20px; color: var(--on-dark-2); }
.field { width: 100%; height: 56px; padding: 0 20px; border-radius: 28px; border: 1px solid rgb(255 255 255 / 0.18); background: rgb(255 255 255 / 0.06); color: var(--on-dark); font: 400 17px/1 var(--ui); }
.field::placeholder { color: var(--on-dark-3); }
.field:focus { outline: none; border: 1.5px solid var(--glow); }
.form-msg { min-height: 20px; font-size: 14px; line-height: 20px; color: var(--on-dark-2); }
.form-msg:empty { display: none; }
.form-msg.err { color: #ff9c9e; }
.form-msg.ok { color: var(--glow); }
.consent { font-size: 13px; line-height: 18px; color: var(--on-dark-3); }

.faq-title { display: none; }
.faq { border-top: 1px solid var(--line); margin-top: 16px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font: 600 17px/22px var(--ui); cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 20px; flex-shrink: 0; text-align: center; font: 300 24px/22px var(--display); color: var(--ink-2); }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--ink-2); font-size: 15px; line-height: 22px; padding-bottom: 20px; }

.site-foot { border-top: 1px solid var(--line); padding: 28px 0 48px; }
.site-foot .wrap { display: grid; gap: 10px; color: var(--ink-2); font-size: 13px; line-height: 18px; }
.site-foot img { height: 24px; width: auto; }
.site-foot a { color: inherit; text-underline-offset: 2px; }

/* ---------- privacy (doc pages) ---------- */
.doc-head .wrap { max-width: 720px; padding-top: 18px; padding-bottom: 18px; }
.doc-head img { height: 30px; width: auto; }
.doc { max-width: 720px; padding-top: 32px; padding-bottom: 72px; }
.doc .fine { margin-top: 12px; }
.doc h2 { font: 400 24px/30px var(--display); letter-spacing: -0.01em; margin: 40px 0 12px; }
.doc h3 { font: 600 17px/22px var(--ui); margin: 24px 0 8px; }
.doc p, .doc li { color: var(--ink-2); font-size: 16px; line-height: 24px; }
.doc p + p { margin-top: 12px; }
.doc ul { display: grid; gap: 10px; padding-left: 20px; }
.doc b { color: var(--ink); font-weight: 600; }
.doc a { color: var(--accent); text-underline-offset: 2px; }

@media (min-width: 900px) {
  section { padding: 128px 0; }
  .sec-title { font-size: 48px; line-height: 54px; letter-spacing: -0.03em; margin: 16px 0; }
  .sec-lede { font-size: 18px; line-height: 27px; }
  .eyebrow { font-size: 13px; }
  .site-head .wrap { padding-top: 28px; padding-bottom: 28px; }
  .hero { flex-direction: row; align-items: center; min-height: 860px; }
  .hero-copy { z-index: 1; padding-top: 0; padding-bottom: 0; }
  .hero-copy > * { max-width: 560px; }
  .hero h1 { font-size: 68px; line-height: 72px; letter-spacing: -0.035em; }
  .hero .lede { font-size: 20px; line-height: 30px; max-width: 460px; }
  .hero .ctas { display: flex; align-items: center; gap: 24px; }
  .hero .ctas .btn { width: auto; }
  .hero-art { position: absolute; inset: 0 0 0 46%; }
  .teaser { grid-template-columns: 1fr 500px; grid-template-areas: "copy card" "cta card"; column-gap: 80px; align-items: center; }
  .teaser .copy { align-self: end; }
  .teaser .cta { align-self: start; width: auto; justify-self: start; }
  .reveal { padding: 40px 36px; }
  .split { grid-template-columns: 1fr 500px; gap: 80px; align-items: start; }
  .goals-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 80px; }
  .goals-head .sec-lede { max-width: 400px; }
  .goals { grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
  .goal { padding: 24px; }
  .goal .tags { flex-direction: column; align-items: flex-start; margin-top: auto; padding-top: 12px; }
  .rules-card { grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 36px 40px; border-radius: 28px; margin-top: 32px; }
  .offer { grid-template-columns: 1fr 380px; align-items: center; gap: 80px; padding: 64px; border-radius: 32px; }
  .offer .haze { left: 380px; top: -360px; width: 820px; height: 640px; filter: blur(70px); }
  .offer h2 { font-size: 48px; line-height: 54px; }
  .offer .lede { font-size: 18px; line-height: 27px; }
  .offer .btn { width: auto; justify-self: start; }
  .offer .wl-form { padding: 0 0 0 40px; border-top: 0; border-left: 1px solid rgb(255 255 255 / 0.1); }
  .faq-wrap { display: flex; justify-content: space-between; gap: 80px; }
  .faq-title { display: block; font: 400 40px/46px var(--display); letter-spacing: -0.03em; margin-top: 16px; max-width: 340px; }
  .faq { width: 660px; flex-shrink: 0; margin-top: 0; }
  .site-foot .wrap { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
}

/* ---------- onboarding ---------- */
.ob { min-height: 100svh; background: var(--bg); }
.ob.dark { background: var(--screen-dark) fixed var(--night); color: var(--on-dark); }
.screen { max-width: 480px; margin: 0 auto; min-height: 100svh; display: flex; flex-direction: column; padding: 0 var(--gutter) max(24px, env(safe-area-inset-bottom)); animation: in 0.35s ease-out; }
@keyframes in { from { opacity: 0; transform: translateY(8px); } }
.ob-top { display: flex; align-items: center; gap: 16px; height: 64px; flex-shrink: 0; }
.icon-btn { width: 40px; height: 40px; margin-left: -10px; display: grid; place-items: center; border-radius: 20px; }
.icon-btn.close { margin: 0 0 0 auto; background: rgb(255 255 255 / 0.1); }
.progress { flex: 1; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.ob.dark .progress { background: rgb(255 255 255 / 0.12); }
.progress i { display: block; height: 100%; background: var(--accent); border-radius: 2px; transition: width 0.4s; }
.ob.dark .progress i { background: var(--glow); }
.ob-body { flex: 1; padding-top: 24px; }
.ob-title { font: 400 32px/38px var(--display); letter-spacing: -0.02em; margin: 8px 0 10px; }
.ob-sub { color: var(--ink-2); font-size: 15px; line-height: 21px; }
.ob.dark .ob-sub { color: var(--on-dark-2); }
/* sticks to the bottom over the screen's own bottom padding, on a fade so a long page scrolls under it */
.ob-foot { display: grid; gap: 8px; position: sticky; bottom: 0; z-index: 2; margin: 0 calc(-1 * var(--gutter)) calc(-1 * max(24px, env(safe-area-inset-bottom))); padding: 28px var(--gutter) max(24px, env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--bg) 24px); }
.ob.dark .ob-foot { background: none; } /* over the glow, a band would show */
.ob-note { text-align: center; font-size: 14px; line-height: 20px; color: var(--ink-2); }
.ob.dark .ob-note { color: var(--on-dark-2); }
.ob.dark .fine { color: var(--on-dark-3); }

.ob [hidden] { display: none !important; }
.accent { color: var(--accent); }
.eyebrow.dim { color: var(--ink-2); }
.ob.dark .eyebrow.dim { color: rgb(255 255 255 / 0.5); }
.lead { font: 400 21px/28px var(--display); letter-spacing: -0.01em; margin-top: 26px; }
.lead + .eyebrow { margin-top: 28px; }
.info { display: flex; align-items: flex-start; gap: 8px; margin-top: 16px; font-size: 13px; line-height: 18px; color: var(--ink-2); }
.info svg { flex-shrink: 0; margin-top: 1px; }

/* Her answer to what you just picked: she sits top right, this is her line */
.says { font: 500 15px/21px var(--ui); color: var(--accent); margin-bottom: 14px; animation: in 0.5s 0.2s ease-out both; }

/* options (QuizQuestionView): one line each, the radio on the right, the same size on and off */
.options { display: grid; gap: 10px; margin-top: 24px; }
.options.many { gap: 6px; }
.opt { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 54px; padding: 0 16px 0 18px; border: 1px solid var(--card-border); border-radius: 16px; background: var(--opt); text-align: left; font: 500 16px/21px var(--ui); transition: background 0.15s, border-color 0.15s, transform 0.15s; }
.options.many .opt { min-height: 48px; }
.opt span { flex: 1; padding: 12px 0; }
.opt::after { content: ""; box-sizing: border-box; width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid var(--radio-off); background: radial-gradient(circle, var(--accent) 0 4.5px, transparent 5px) center / 0 0 no-repeat; transition: border-color 0.15s, background-size 0.15s; }
.opt.multi::after { border-radius: 6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.5l3 3L15.5 8' fill='none' stroke='%2311102A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0 0 no-repeat; }
.opt:active { transform: scale(0.99); }
.opt[aria-checked="true"] { background: var(--opt-on); border-color: var(--accent); box-shadow: inset 0 0 0 0.5px var(--accent); }
.opt[aria-checked="true"]::after { border-color: var(--accent); background-size: 100% 100%; }
.opt.multi[aria-checked="true"]::after { background-color: var(--accent); }

/* health (HealthStep): short chips on two columns */
.chips-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 22px; }
.chip-opt { display: flex; align-items: center; justify-content: space-between; gap: 6px; height: 50px; padding: 0 14px; border-radius: 16px; border: 1.5px solid var(--card-border); background: var(--opt); font: 500 15px/1.2 var(--ui); text-align: left; transition: background 0.15s, border-color 0.15s; }
.chip-opt[aria-checked="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.chip-opt[aria-checked="true"]::after { content: ""; width: 14px; height: 14px; flex-shrink: 0; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.name-field { margin-top: 30px; border-radius: 16px; }

/* Ama alone in the middle (insight, the test's intro, building): she takes the free height, the text sits under her
   with room to breathe, near the button */
.ob-body.solo { display: flex; flex-direction: column; }
/* An orb host is positioned, so its mist would paint over the text around it: the text goes above. */
.ob-top, .ob-body > :not([data-form]), .ex-head, .cue, .segs { position: relative; z-index: 1; }
.hero-orb { display: block; flex: 1; width: 100%; min-height: 300px; margin-bottom: 28px; }
.hero-orb.sm { min-height: 230px; margin-bottom: 20px; }

/* Ama in the onboarding (onboarding.js): every orb with data-ama mutes her and the whale song */
.ama-corner { width: 44px; height: 44px; flex-shrink: 0; margin-left: auto; }
.ama-corner + .close { margin-left: 4px; }
.icon-btn.mute { margin: 0 4px 0 auto; background: rgb(255 255 255 / 0.1); }
.icon-btn.mute + .close { margin-left: 0; }
.spk-off, .ama-muted .spk-on { display: none; }
.ama-muted .spk-off { display: block; }
[data-ama] { position: relative; }
.ama-muted [data-ama][data-form]::after { content: ""; position: absolute; right: 2px; bottom: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8.5h2l3-2.5v8l-3-2.5H5z' fill='%23cfc8ff'/%3E%3Cpath d='M12.5 8.5l3 3M15.5 8.5l-3 3' stroke='%23cfc8ff' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.18); }
.ama-corner::after { right: -4px !important; bottom: -4px !important; }
.welcome { display: flex; flex-direction: column; padding-top: 28px; }
.welcome .wordmark { align-self: center; height: 22px; width: auto; opacity: 0.85; }
.welcome-orb { flex: 1; min-height: 300px; width: 100%; }
.ama-muted .welcome-orb::after, .ama-muted .hero-orb::after { right: calc(50% - 64px); bottom: calc(50% - 64px); width: 28px; height: 28px; background-size: 20px; }
.tap-hint { align-self: center; display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 32px; padding: 8px 14px; border-radius: 18px; background: rgb(255 255 255 / 0.08); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12); font: 500 13px/16px var(--ui); color: rgb(255 255 255 / 0.75); }
.tap-hint svg { width: 14px; height: 14px; }
.welcome .ob-title { font-size: 34px; line-height: 40px; }

/* the test's intro: steps light up as she says them */
.timeline { list-style: none; padding: 0; margin-top: 20px; }
.timeline li { position: relative; padding: 0 0 18px 28px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: rgb(255 255 255 / 0.25); transition: background 0.6s, box-shadow 0.6s, scale 0.6s; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 5.25px; top: 23px; bottom: 2px; width: 1.5px; background: rgb(255 255 255 / 0.15); transition: background 0.6s; }
.timeline b { display: block; font: 600 17px/22px var(--ui); color: rgb(255 255 255 / 0.55); transition: color 0.6s; }
.timeline span { font-size: 14px; line-height: 20px; color: rgb(255 255 255 / 0.35); transition: color 0.6s; }
.timeline .said::before { background: var(--glow); }
.timeline .said b { color: #fff; }
.timeline .said span { color: rgb(255 255 255 / 0.65); }
.timeline .said:not(.now)::after { background: color-mix(in srgb, var(--glow) 70%, transparent); }
.timeline .now::before { scale: 1.2; box-shadow: 0 0 0 6px color-mix(in srgb, var(--glow) 30%, transparent); }
.timeline .now b { color: var(--glow); }

.chart { background: var(--chart); color: var(--on-dark); border-radius: 24px; padding: 20px; margin-top: 24px; }
.chart .head { display: flex; justify-content: space-between; font-size: 14px; color: var(--on-dark-2); }
.chart svg { width: 100%; height: auto; margin: 10px 0 6px; overflow: visible; }
.chart .ends { display: flex; justify-content: space-between; }
.chart .ends b { display: block; font: 300 26px/1.1 var(--display); }
.chart .ends span { font-size: 13px; color: var(--on-dark-2); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0 14px; }
.duo div { background: var(--bg-2); border-radius: 18px; padding: 14px; }
.duo b { display: block; font: 400 22px/1.2 var(--display); }
.duo span { font-size: 14px; line-height: 19px; color: var(--ink-2); }

.plan-list { margin-top: 26px; border-top: 1px solid rgb(255 255 255 / 0.1); }
.plan-list div { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; padding: 14px 0; border-bottom: 1px solid rgb(255 255 255 / 0.1); font-size: 16px; }
.plan-list span:first-child { color: var(--on-dark-2); }
.plan-list span:last-child { font-size: 13px; color: var(--on-dark-3); }

.rule-cards { display: grid; gap: 10px; margin-top: 22px; }
.rule-cards > div { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; border-radius: 18px; background: var(--card); border: 1.5px solid var(--card-border); }
.rule-cards .ico { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.rule-cards h3 { font: 600 16px/21px var(--ui); margin-bottom: 3px; }
.rule-cards p { color: var(--ink-2); font-size: 14px; line-height: 20px; }
.check { display: flex; align-items: center; gap: 12px; font-size: 15px; padding: 6px 0; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--accent); margin: 0; }

.ex-head { text-align: center; padding-top: 8px; }
.ex-head h1 { font: 400 26px/32px var(--display); letter-spacing: -0.01em; }
.ex-head p { color: var(--on-dark-2); font-size: 15px; line-height: 21px; margin: 6px auto 0; max-width: 34ch; }
.stage { flex: 1; display: grid; place-items: center; min-height: 300px; }
.orb-text { text-align: center; color: var(--glow-ink); }
.orb-text .t { font: 200 64px/1 var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.orb-text .t.word { font-weight: 400; font-size: 42px; }
.orb-text .l { font: 700 12px/16px var(--ui); letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.6; margin-top: 6px; }
.segs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; max-width: 290px; margin: 0 auto; font-size: 13px; text-align: center; color: var(--on-dark-3); }
.segs i { display: block; height: 4px; border-radius: 2px; background: rgb(255 255 255 / 0.15); margin-bottom: 6px; }
.segs .on { color: var(--on-dark); }
.segs .on i { background: var(--glow); }
.cue { padding: 14px 16px; border-radius: 16px; background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.08); font-size: 15px; line-height: 21px; color: var(--on-dark-2); min-height: 72px; }

.center { text-align: center; }
.big-time { font: 200 120px/1 var(--display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; margin: 10px 0 14px; }
.glass { background: rgb(255 255 255 / 0.05); border: 1px solid rgb(255 255 255 / 0.1); border-radius: 22px; padding: 20px; margin-top: 32px; text-align: left; }
.glass h2 { font: 400 22px/28px var(--display); margin-bottom: 8px; }
.glass p { color: var(--on-dark-2); font-size: 15px; line-height: 21px; }
.building .ob-title { margin-top: 0; }
.loading-list { display: grid; gap: 14px; margin: 24px 0 0; list-style: none; padding: 0; text-align: left; }
.loading-list li { position: relative; padding-left: 34px; color: var(--on-dark-3); transition: color 0.3s; }
.loading-list li span { display: block; font-size: 15px; line-height: 22px; }
.loading-list li small { display: none; margin-top: 4px; font-size: 13px; line-height: 18px; color: var(--glow); animation: in 0.4s ease-out; }
.loading-list li::before { content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid rgb(255 255 255 / 0.2); }
.loading-list li.now { color: var(--on-dark); }
.loading-list li.now small { display: block; }
.loading-list li.now::before { border-color: var(--glow) transparent var(--glow) var(--glow); animation: spin 0.9s linear infinite; }
@keyframes spin { to { rotate: 1turn; } }
.loading-list li.done { color: var(--on-dark); }
.loading-list li.done::before { border: 0; background: var(--glow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.5l3 3L15.5 8' fill='none' stroke='%2311102A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.build-bar { height: 4px; border-radius: 2px; background: rgb(255 255 255 / 0.12); margin-top: 24px; overflow: hidden; }
.build-bar i { display: block; width: 0; height: 100%; background: var(--glow); border-radius: 2px; transition: width 0.4s; }

/* press and hold to start (HoldToStart): fills left to right in 0.7 s */
.btn-press { position: relative; overflow: hidden; isolation: isolate; background: color-mix(in srgb, var(--glow) 55%, transparent); color: var(--glow-ink); touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.btn-press::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--glow); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease-out; }
.btn-press.filling::before { transform: scaleX(1); transition: transform 0.7s linear; }
.next-hold { margin: 14px auto 0; max-width: 360px; padding: 14px 18px; border-radius: 18px; background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.12); text-align: left; }
.next-hold > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.next-hold b { font: 400 20px/1 var(--display); font-variant-numeric: tabular-nums; }
.next-hold p { margin: 6px 0 0; max-width: none; font-size: 14px; line-height: 20px; color: rgb(255 255 255 / 0.85); }
.next-steps { list-style: none; padding: 0; margin-top: 10px; }
.next-steps li { display: flex; align-items: center; gap: 14px; padding: 11px 0; border-bottom: 1px solid rgb(255 255 255 / 0.08); }
.next-steps li:last-child { border: 0; }
.next-steps .n { width: 28px; height: 28px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid rgb(255 255 255 / 0.3); font: 400 13px/1 var(--display); color: rgb(255 255 255 / 0.7); }
.next-steps .n.on { border: 0; background: var(--glow); color: var(--glow-ink); }
.next-steps b { display: block; font: 600 16px/21px var(--ui); }
.next-steps small { font-size: 14px; line-height: 19px; color: var(--on-dark-2); }
.next-steps span:nth-child(2) { flex: 1; }
.next-steps .d { font-size: 14px; color: var(--on-dark-3); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 20px; }
.chips span { background: var(--bg-2); border-radius: 16px; padding: 8px 12px; font: 500 14px/1 var(--ui); }
.target { background: var(--panel); color: var(--on-dark); border-radius: 24px; padding: 20px; }
.target small { display: block; font-size: 13px; color: var(--on-dark-2); }
.target small.accent { color: var(--glow); }
.target b { display: block; font: 200 44px/1.1 var(--display); letter-spacing: -0.03em; margin: 4px 0; font-variant-numeric: tabular-nums; }
.target svg { width: 100%; height: 54px; margin-top: 12px; overflow: visible; }
.target .weeks { display: flex; justify-content: space-between; font-size: 12px; color: var(--on-dark-3); margin-top: 4px; }
.week-rows > div { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.week-rows > div:last-child { border: 0; }
.week-rows > div > span { width: 72px; flex-shrink: 0; padding-top: 2px; font: 600 13px/18px var(--ui); color: var(--ink-2); }
.week-rows > div > span.accent { color: var(--accent); }
.week-rows b { display: block; font: 600 16px/21px var(--ui); }
.week-rows p { font-size: 14px; line-height: 20px; color: var(--ink-2); margin-top: 3px; }

/* paywall (W2), email (W3), done (W4) */
.checks { list-style: none; padding: 0; display: grid; gap: 12px; margin: 22px 0 26px; }
.checks li { display: flex; align-items: center; gap: 12px; color: rgb(255 255 255 / 0.9); }
.checks li::before { content: ""; width: 16px; height: 16px; flex-shrink: 0; background: var(--glow); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.plans { display: grid; gap: 12px; }
.plan { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 20px; text-align: left; border: 1px solid rgb(255 255 255 / 0.15); background: rgb(255 255 255 / 0.03); }
.plan[aria-checked="true"] { border: 1.5px solid var(--glow); background: color-mix(in srgb, var(--glow) 8%, transparent); }
.plan .radio { width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid rgb(255 255 255 / 0.4); }
.plan[aria-checked="true"] .radio { border: 7px solid var(--glow); background: var(--night); }
.plan .name { flex: 1; }
.plan b { display: block; font: 600 18px/22px var(--ui); }
.plan small { font-size: 14px; line-height: 19px; color: var(--on-dark-2); }
.plan .p { text-align: right; font: 700 17px/22px var(--ui); flex-shrink: 0; }
.plan .p s { display: block; font: 400 13px/18px var(--ui); color: var(--on-dark-3); }
.plan .badge { position: absolute; top: -12px; right: 16px; padding: 4px 10px; line-height: 16px; }
.legal { text-align: center; font-size: 13px; line-height: 18px; color: var(--on-dark-3); }
.legal button { color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 2px; }
.recap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 16px; background: rgb(255 255 255 / 0.05); border: 1px solid rgb(255 255 255 / 0.08); }
.recap b { display: block; font: 600 15px/20px var(--ui); }
.recap small { font-size: 13px; line-height: 18px; color: var(--on-dark-2); }
.recap button { font: 600 14px/18px var(--ui); color: var(--glow); }
.ob .wl-form { padding-top: 28px; border: 0; }
.done-orb { height: 240px; margin: 24px 0 16px; }
.unlock { display: grid; gap: 14px; padding: 20px; border-radius: 22px; background: rgb(255 255 255 / 0.05); border: 1px solid rgb(255 255 255 / 0.1); margin-top: 32px; text-align: left; }
.unlock .row { display: flex; gap: 12px; }
.unlock .ico { width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--glow) 12%, transparent); color: var(--glow); }
.unlock b { display: block; font: 600 16px/21px var(--ui); }
.unlock p { font-size: 14px; line-height: 20px; color: var(--on-dark-2); }
.unlock .btn { height: 48px; font-size: 16px; }
