/* =========================================================================
   Epoché · ONBOARDING (2026-11-24) — Brilliant's onboarding flow, screen for
   screen, in Epoché's own palette, type and tutor. public/onboard.js draws it.
   The flow and every animation were taken frame by frame from Ben's screen
   recording of Brilliant's iOS onboarding; the record is
   design/onboarding/BRILLIANT_FLOW.md.

   Self-contained: the tokens are the redesign's (next.css), restated here so
   the flow looks right with or without html.nx. Day mode on this site is a
   GLOBAL invert (plates.css), so #onb2 counter-inverts and takes the light
   tokens, exactly as the redesign's own surfaces do.
   ========================================================================= */
#onb2{
  --o-bg:#181818; --o-card:#212121; --o-soft:#262626; --o-ink:#E8EDE1; --o-ink2:#C8D0BF; --o-ink3:#97A28F;
  --o-line:#333333; --o-terra:#86B892; --o-terraInk:#0E150F; --o-terraText:#9CC9A6;
  --o-ochre:#C99566; --o-chip:#E8EDE1; --o-chipInk:#181818; --o-off:#2A2A2A; --o-offInk:#6E7768;
  --o-pick1:rgba(134,184,146,.10); --o-pick2:rgba(134,184,146,.34); --o-glow:rgba(134,184,146,.55);
  --o-lav:rgba(167,150,214,.20); --o-lavInk:#B9A9E6; --o-halo:rgba(232,237,225,.10); --o-disc:#34352F;
  --o-serif:'Fraunces','Literata',Georgia,serif; --o-read:'Newsreader','Literata',Georgia,serif;
  --o-sans:'Albert Sans','IBM Plex Sans',system-ui,-apple-system,sans-serif;
  --o-out:cubic-bezier(0.23,1,0.32,1); --o-spring:cubic-bezier(0.34,1.56,0.64,1);
  position:fixed; inset:0; z-index:9000; background:var(--o-bg); color:var(--o-ink);
  font-family:var(--o-sans); -webkit-font-smoothing:antialiased; overflow:hidden;
  display:flex; justify-content:center;
}
html.daymode #onb2{
  filter:invert(1) hue-rotate(180deg);
  --o-bg:#FFFFFF; --o-card:#FFFFFF; --o-soft:#F3F3F1; --o-ink:#1F2A22; --o-ink2:#3D4A3F; --o-ink3:#5C6656;
  --o-line:#E3E3E3; --o-terra:#2F5D3A; --o-terraInk:#F4F7EE; --o-terraText:#2F5D3A;
  --o-ochre:#8A5A33; --o-chip:#1F2A22; --o-chipInk:#FFFFFF; --o-off:#F0F0EE; --o-offInk:#A3A99E;
  --o-pick1:rgba(47,93,58,.05); --o-pick2:rgba(47,93,58,.20); --o-glow:rgba(47,93,58,.35);
  --o-lav:rgba(120,96,200,.12); --o-lavInk:#5B48A8; --o-halo:rgba(31,42,34,.06); --o-disc:#EEF0EA;
}
html.daymode #onb2 img{ filter:none !important; }
#onb2[hidden]{ display:none; }
#onb2 *{ box-sizing:border-box; }
#onb2 button{ font:inherit; color:inherit; background:none; border:0; padding:0; cursor:pointer; -webkit-tap-highlight-color:transparent; }

/* the column: a phone's width on the phone, a reading column on the desktop */
#onb2 .o2-col{ position:relative; width:100%; max-width:560px; height:100%; display:flex; flex-direction:column;
  padding:env(safe-area-inset-top) 20px 0; }
#onb2 .o2-top{ flex:0 0 auto; height:56px; display:flex; align-items:center; gap:12px; }
#onb2 .o2-back{ width:36px; height:36px; margin-left:-8px; border-radius:50%; display:grid; place-items:center; color:var(--o-ink2);
  transition:opacity .2s, background .15s; }
#onb2 .o2-back:hover{ background:var(--o-soft); }
#onb2 .o2-back svg{ width:22px; height:22px; }
#onb2 .o2-back.off{ opacity:0; pointer-events:none; }
#onb2 .o2-prog{ flex:1; display:flex; gap:6px; transition:opacity .3s; }
#onb2 .o2-prog.off{ opacity:0; }
#onb2 .o2-seg{ flex:1; height:6px; border-radius:3px; background:var(--o-off); overflow:hidden; }
#onb2 .o2-seg i{ display:block; height:100%; width:0; border-radius:3px; background:var(--o-terra); transition:width .6s var(--o-out); }
#onb2 .o2-topsp{ width:28px; }

#onb2 .o2-stage{ position:relative; flex:1 1 auto; min-height:0; }
#onb2 .o2-scr{ position:absolute; inset:0; display:flex; flex-direction:column; overflow-y:auto; overflow-x:hidden;
  scrollbar-width:none; padding-bottom:12px; }
#onb2 .o2-scr::-webkit-scrollbar{ display:none; }
/* screens arrive from the right and leave to the left (back reverses) — Brilliant's push */
#onb2 .o2-scr.in{ animation:o2in .42s var(--o-out) both; }
#onb2 .o2-scr.out{ animation:o2out .28s ease-in both; pointer-events:none; }
#onb2 .o2-scr.in.rev{ animation-name:o2inR; } #onb2 .o2-scr.out.rev{ animation-name:o2outR; }
#onb2 .o2-scr.fade.in{ animation:o2fade .5s ease both; } #onb2 .o2-scr.fade.out{ animation:o2fadeo .35s ease both; }
@keyframes o2in{ from{ opacity:0; transform:translateX(36px); } }
@keyframes o2out{ to{ opacity:0; transform:translateX(-28px); } }
@keyframes o2inR{ from{ opacity:0; transform:translateX(-36px); } }
@keyframes o2outR{ to{ opacity:0; transform:translateX(28px); } }
@keyframes o2fade{ from{ opacity:0; } } @keyframes o2fadeo{ to{ opacity:0; } }

#onb2 .o2-foot{ flex:0 0 auto; padding:10px 0 calc(18px + env(safe-area-inset-bottom)); display:flex; flex-direction:column; gap:10px;
  transition:opacity .3s; }
#onb2 .o2-foot.off{ opacity:0; pointer-events:none; }
#onb2 .o2-btn{ height:54px; border-radius:16px; font-weight:600; font-size:16px; width:100%;
  background:var(--o-chip); color:var(--o-chipInk);
  transition:background .25s, color .25s, transform .16s var(--o-out), box-shadow .2s; }
#onb2 .o2-btn:active{ transform:scale(.98); }
#onb2 .o2-btn[disabled]{ background:var(--o-off); color:var(--o-offInk); cursor:default; transform:none; }
#onb2 .o2-btn.green{ background:var(--o-terra); color:var(--o-terraInk); }
#onb2 .o2-btn.ghost{ background:transparent; color:var(--o-ink); border:1.5px solid var(--o-line); }
#onb2 .o2-link{ font-size:14px; color:var(--o-ink3); text-align:center; }
#onb2 .o2-link b{ color:var(--o-ink); font-weight:600; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }

/* ── headings ─────────────────────────────────────────────────────────── */
#onb2 .o2-h{ margin:28px 0 0; font-family:var(--o-serif); font-weight:700; font-size:26px; line-height:1.2; letter-spacing:-.01em;
  text-align:center; text-wrap:balance; }
#onb2 .o2-sub{ margin:8px 0 0; font-size:14.5px; line-height:1.45; color:var(--o-ink2); text-align:center; text-wrap:balance; }
#onb2 .o2-ask{ display:flex; align-items:center; gap:14px; margin-top:22px; }
#onb2 .o2-ask .o2-tf{ width:54px; flex:0 0 54px; }
#onb2 .o2-ask h2{ margin:0; font-family:var(--o-serif); font-weight:700; font-size:21px; line-height:1.25; text-wrap:balance; }
#onb2 .o2-ask p{ margin:6px 0 0; font-size:14px; line-height:1.4; color:var(--o-ink2); }
#onb2 .o2-ask .o2-info{ display:inline-grid; place-items:center; width:20px; height:20px; margin-left:6px; border-radius:50%;
  border:1.5px solid var(--o-ink3); color:var(--o-ink3); font:600 12px/1 var(--o-sans); vertical-align:2px; cursor:pointer; }
#onb2 .o2-tip{ margin:12px 0 0 68px; font-size:13px; line-height:1.45; color:var(--o-ink2); background:var(--o-soft); border-radius:12px;
  padding:10px 12px; animation:o2fade .25s ease both; }

/* ── the tutor ────────────────────────────────────────────────────────── */
#onb2 .o2-tf{ position:relative; isolation:isolate; display:block; line-height:0; }
/* a soft light behind every figure: the panther is near-black, and on the night
   ground it vanished (the app's small tutors stand on a lightened disc for the
   same reason) */
#onb2 .o2-tf:before{ content:""; position:absolute; z-index:-1; left:-8%; right:-8%; top:4%; bottom:-6%; border-radius:50%;
  background:radial-gradient(closest-side,var(--o-halo) 0%,var(--o-halo) 55%,transparent 100%); }
#onb2 .o2-ask .o2-tf:before, #onb2 .o2-notif .ic .o2-tf:before{ left:-4%; right:-4%; top:-4%; bottom:-4%; background:var(--o-disc); }
#onb2 .o2-tf svg{ width:100%; height:auto; display:block; overflow:visible; }

/* ── art slots: Ben's illustrations land here; until then a labelled ghost ── */
#onb2 .o2-art{ display:grid; place-items:center; border-radius:16px; overflow:hidden; }
#onb2 .o2-art img{ width:100%; height:100%; object-fit:contain; display:block; }
#onb2 .o2-art.ph{ border:1.5px dashed color-mix(in srgb,var(--o-ink3) 55%,transparent);
  background:repeating-linear-gradient(135deg,transparent 0 9px,color-mix(in srgb,var(--o-ink3) 7%,transparent) 9px 10px); }
#onb2 .o2-art.ph span{ font:500 10.5px/1.2 ui-monospace,Menlo,Consolas,monospace; color:var(--o-ink3); text-align:center; padding:4px;
  letter-spacing:.02em; }

/* ── choice cards (2×2, or two tall) ──────────────────────────────────── */
#onb2 .o2-grid{ display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:26px; }
#onb2 .o2-card{ position:relative; border-radius:18px; background:var(--o-soft); padding:18px 12px 16px; min-height:150px;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; text-align:center;
  border:1.5px solid transparent;
  transition:transform .18s var(--o-out), background .3s, border-color .3s, opacity .3s; }
#onb2 .o2-card:active{ transform:scale(.97); }
#onb2 .o2-card .o2-art{ width:64px; height:64px; }
#onb2 .o2-card .lab{ font-size:15px; font-weight:600; line-height:1.25; color:var(--o-ink); transition:color .3s; }
#onb2 .o2-card .lab small{ display:block; margin-top:5px; font-weight:400; font-size:12.5px; line-height:1.35; color:var(--o-ink3); }
#onb2 .o2-card.on{ background:linear-gradient(165deg,var(--o-pick1),var(--o-pick2)); border-color:color-mix(in srgb,var(--o-terra) 55%,transparent);
  animation:o2pick .34s var(--o-spring); }
#onb2 .o2-grid.has-on .o2-card:not(.on) .lab{ color:var(--o-ink3); }
@keyframes o2pick{ 40%{ transform:scale(1.025); } }
/* the level cards: a snippet of text at that level, where Brilliant shows code */
#onb2 .o2-card.lvl{ justify-content:flex-start; min-height:168px; padding-top:20px; }
#onb2 .o2-card .snip{ min-height:46px; display:grid; place-items:center; font-family:var(--o-read); font-size:13.5px; line-height:1.35;
  color:var(--o-ink2); padding:0 4px; }
#onb2 .o2-card .snip.greek{ font-size:12.5px; font-style:italic; }
#onb2 .o2-card .snip.logic{ font-family:ui-monospace,Menlo,Consolas,monospace; font-size:12.5px; }
/* course cards wear Ben's course icons */
#onb2 .o2-card.course .o2-art{ width:72px; height:72px; border-radius:18px; }

/* the tutor choice: two tall cards, each showing its own tutor from the start;
   the chosen one hops (Ben 2026-11-24: no picture appearing only on a tap) */
#onb2 .o2-duo{ position:relative; display:grid; grid-template-columns:1fr 1fr; gap:14px; margin:40px 14px 0; }
#onb2 .o2-duo .o2-card{ min-height:252px; justify-content:flex-end; padding-bottom:18px; z-index:2; }
#onb2 .o2-duo .o2-card .seat{ width:88%; margin-bottom:6px; transform-origin:50% 100%; }
#onb2 .o2-duo .o2-card.on .seat{ animation:o2hop .55s var(--o-spring) both; }
@keyframes o2hop{ 30%{ transform:translateY(-16px) scale(1.06); } 100%{ transform:none; } }
#onb2 .o2-duo .o2-card.on .seat .o2-tf{ filter:drop-shadow(0 0 18px var(--o-glow)); animation:o2glow 1.4s ease .3s both; }
@keyframes o2glow{ 0%{ filter:drop-shadow(0 0 0 transparent); } 40%{ filter:drop-shadow(0 0 22px var(--o-glow)); } 100%{ filter:drop-shadow(0 0 0 transparent); } }


#onb2 .o2-namerow{ display:flex; align-items:center; justify-content:center; gap:10px; margin-top:26px; font-size:15px; color:var(--o-ink2); }
#onb2 .o2-namerow input{ width:150px; font:600 15px var(--o-sans); color:var(--o-ink); background:var(--o-soft); border:1.5px solid transparent;
  border-radius:12px; padding:10px 12px; outline:none; transition:border-color .2s; }
#onb2 .o2-namerow input:focus{ border-color:color-mix(in srgb,var(--o-terra) 60%,transparent); }

/* ── splash / welcome / hello ─────────────────────────────────────────── */
#onb2 .o2-splash{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font-family:var(--o-serif); font-weight:700; font-size:52px;
  letter-spacing:-.01em; animation:o2fade .6s ease both; }
#onb2 .o2-splash em{ font-style:italic; color:var(--o-terra); }
#onb2 .o2-welcome{ display:flex; flex-direction:column; flex:1; justify-content:center; padding-top:8px; }
#onb2 .o2-welcome .o2-art{ width:100%; aspect-ratio:16/11; border-radius:22px; }
/* the hero is a scene drawn 16:11 with its subject in the middle 16:9, so the desktop's
   wider box crops it rather than letterboxing it */
#onb2 .o2-welcome .o2-art img{ object-fit:cover; }
#onb2 .o2-welcome .o2-h{ font-size:30px; margin-top:26px; }
/* what Epoché is for: three lines, each with its mark (2026-11-26) */
#onb2 .o2-feats{ list-style:none; margin:20px auto 0; padding:0; display:flex; flex-direction:column; gap:12px; width:100%; max-width:400px; }
#onb2 .o2-feats li{ display:flex; align-items:center; gap:14px; text-align:left; font-size:15.5px; line-height:1.35; color:var(--o-ink);
  animation:o2feat .5s var(--o-out) both; }
#onb2 .o2-feats .o2-art.ic{ flex:none; width:44px; height:44px; border-radius:12px; background:var(--o-soft); padding:5px; }
@keyframes o2feat{ from{ opacity:0; transform:translateY(8px); } }
@media (prefers-reduced-motion: reduce){ #onb2 .o2-feats li{ animation:none; } }
#onb2 .o2-hello{ flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; padding-bottom:40px; }
#onb2 .o2-hello .o2-tf{ width:132px; animation:o2pop .7s var(--o-spring) both; }
#onb2 .o2-hello .o2-h{ margin-top:22px; font-size:22px; animation:o2up .5s var(--o-out) .25s both; }
@keyframes o2pop{ from{ opacity:0; transform:scale(.45) translateY(18px); } }
@keyframes o2up{ from{ opacity:0; transform:translateY(10px); } }

/* ── the demo: four beats of the tutor at work, then "Let's begin" ─────── */
#onb2 .o2-demo{ position:relative; width:100%; max-width:340px; height:300px; margin:34px auto 0; }
#onb2 .o2-demo .layer{ position:absolute; inset:0; opacity:0; transition:opacity .45s ease; pointer-events:none; }
#onb2 .o2-demo .layer.on{ opacity:1; }
#onb2 .o2-demo .who{ position:absolute; z-index:5; width:74px; left:0; top:0; transition:transform .75s var(--o-out); will-change:transform; }
#onb2 .o2-demo .who .ring{ position:absolute; inset:-12px; border-radius:50%; background:radial-gradient(circle,var(--o-glow),transparent 66%); opacity:0; }
#onb2 .o2-demo .who.pulse .ring{ animation:o2ring 1.1s ease both; }
@keyframes o2ring{ 0%{ opacity:0; transform:scale(.6); } 35%{ opacity:1; } 100%{ opacity:0; transform:scale(1.35); } }
#onb2 .o2-demo .spark{ position:absolute; z-index:6; width:9px; height:9px; margin:-4.5px 0 0 -4.5px; border-radius:50%; background:var(--o-terra);
  box-shadow:0 0 10px var(--o-glow); transition:transform .6s cubic-bezier(.5,0,.3,1), opacity .25s; }
#onb2 .o2-demo .head-swap{ transition:opacity .25s ease; }
/* beat 1–2: an argument with a gap */
#onb2 .d-arg{ position:absolute; left:46px; right:0; top:18px; background:var(--o-card); border:1px solid var(--o-line); border-radius:16px;
  padding:14px 14px 12px; font-family:var(--o-read); font-size:15px; line-height:1.5; color:var(--o-ink); }
#onb2 .d-arg .pr{ display:block; }
#onb2 .d-arg .pr.c{ margin-top:6px; padding-top:6px; border-top:1px dashed var(--o-line); }
#onb2 .d-arg .w{ border-radius:6px; padding:0 2px; transition:background .35s, box-shadow .35s; }
#onb2 .d-arg .w.hi{ background:var(--o-pick2); box-shadow:0 0 0 2px var(--o-pick2); }
#onb2 .d-arg .gap{ display:inline-block; width:64px; height:22px; vertical-align:-5px; border-radius:7px; border:1.5px dashed var(--o-ink3); transition:border-color .3s; }
#onb2 .d-arg .gap.ask{ border-color:var(--o-terra); animation:o2blink 1.2s ease 2; }
@keyframes o2blink{ 50%{ box-shadow:0 0 0 4px var(--o-pick2); } }
#onb2 .d-tray{ position:absolute; left:46px; right:0; top:176px; display:flex; gap:8px; justify-content:center; padding:12px; border-radius:14px;
  transition:background .4s; }
#onb2 .d-tray.lav{ background:var(--o-lav); }
#onb2 .d-tray span{ font:600 13.5px var(--o-sans); padding:7px 11px; border-radius:9px; background:var(--o-card); border:1px solid var(--o-line); }
/* beat 3: the line of thinkers, drawn */
#onb2 .d-svg{ position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
#onb2 .d-svg .draw{ stroke-dasharray:400; stroke-dashoffset:400; }
#onb2 .layer.on .d-svg .draw{ transition:stroke-dashoffset 1.3s cubic-bezier(.45,0,.2,1) .35s; stroke-dashoffset:0; }
#onb2 .d-svg text{ font:500 11.5px var(--o-sans); fill:var(--o-ink2); }
#onb2 .d-svg .dot{ fill:var(--o-ink); opacity:0; transform-box:fill-box; transform-origin:center; }
#onb2 .layer.on .d-svg .dot{ animation:o2dot .45s var(--o-spring) both; }
@keyframes o2dot{ from{ opacity:0; transform:scale(0); } to{ opacity:1; transform:none; } }
#onb2 .d-svg .halo{ fill:var(--o-glow); opacity:0; }
#onb2 .layer.on .d-svg .halo{ animation:o2halo 1.6s ease both; }
@keyframes o2halo{ 30%{ opacity:.7; } 100%{ opacity:.18; } }
#onb2 .d-svg .grid{ stroke:var(--o-line); stroke-width:1; }
#onb2 .d-svg .axis{ stroke:var(--o-ink3); stroke-width:1.4; }
#onb2 .d-svg .dash{ stroke:var(--o-terra); stroke-width:1.4; stroke-dasharray:4 4; opacity:.8; }
#onb2 .d-svg .sweep{ stroke:var(--o-terra); stroke-width:2.6; filter:drop-shadow(0 0 6px var(--o-glow)); opacity:0; transition:opacity .4s; }
#onb2 .layer.go .d-svg .sweep{ opacity:1; }
#onb2 .d-svg .sweep.v{ transform-box:fill-box; transform-origin:50% 50%; }
#onb2 .layer.go .d-svg .sweep.v{ animation:o2sweepv 1s var(--o-out) both; }
#onb2 .layer.go .d-svg .sweep.h{ animation:o2sweeph 1s var(--o-out) .1s both; }
@keyframes o2sweepv{ from{ transform:translateX(-70px); opacity:0; } }
@keyframes o2sweeph{ from{ transform:translateY(60px); opacity:0; } }

/* ── the constellation: everything → where to start → no limit ─────────── */
#onb2 .o2-sky{ position:relative; width:100%; height:330px; margin-top:22px; }
#onb2 .o2-sky .who{ position:absolute; z-index:4; width:78px; left:50%; top:50%; margin:-40px 0 0 -39px; transition:transform .9s var(--o-out); }
#onb2 .o2-sky .who .ring{ position:absolute; inset:-14px; border-radius:50%; background:radial-gradient(circle,rgba(230,205,120,.7),transparent 66%); opacity:0; }
#onb2 .o2-sky .who.pulse .ring{ animation:o2ring 1.3s ease both; }
/* a topic: a short coloured bar over a one- or two-line label, as Brilliant's */
#onb2 .o2-sky .tag{ position:absolute; z-index:2; margin-left:calc(var(--w,80px) / -2); display:flex; flex-direction:column; align-items:flex-start; gap:4px;
  max-width:96px; font-size:11px; line-height:1.2; font-weight:600; color:var(--o-ink2); transition:transform .9s var(--o-out), opacity .5s ease; }
#onb2 .o2-sky .tag i{ display:block; width:22px; height:3px; border-radius:2px; }
/* "> svg": the constellation only — the tutor in .who is an svg too, and this
   rule squashed it to nothing (half-drawn on iPhone; Ben, 2026-11-27) */
#onb2 .o2-sky > svg{ position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
#onb2 .o2-sky .sd{ opacity:0; transition:opacity .5s ease; }
#onb2 .o2-sky.dots .sd{ opacity:1; }
#onb2 .o2-sky .ln{ stroke-width:1; opacity:.55; stroke-dasharray:var(--l); stroke-dashoffset:var(--l); transition:stroke-dashoffset 1.1s ease; }
#onb2 .o2-sky.web .ln{ stroke-dashoffset:0; }
#onb2 .o2-sky .target{ opacity:0; transform-box:fill-box; transform-origin:center; transition:opacity .4s; }
#onb2 .o2-sky.dots .target{ opacity:1; animation:o2dot .5s var(--o-spring) .6s both; }

/* ── age ──────────────────────────────────────────────────────────────── */
#onb2 .o2-field{ display:block; width:100%; max-width:220px; margin:34px 0 0 68px; font:600 18px var(--o-sans); color:var(--o-ink);
  background:transparent; border:1.5px solid var(--o-line); border-radius:12px; padding:13px 14px; outline:none; transition:border-color .2s; }
#onb2 .o2-field:focus{ border-color:color-mix(in srgb,var(--o-terra) 65%,transparent); }
#onb2 .o2-note{ margin:10px 0 0 68px; font-size:13px; color:var(--o-ochre); min-height:18px; }
/* the year wheel: five rows, the middle one in a band */
#onb2 .o2-wheel{ position:relative; height:230px; margin:30px 40px 0; }
#onb2 .o2-wheel .band{ position:absolute; left:0; right:0; top:92px; height:46px; border-radius:12px; background:var(--o-soft); pointer-events:none; }
#onb2 .o2-wheel .list{ position:relative; height:100%; overflow-y:auto; scroll-snap-type:y mandatory; padding:92px 0; box-sizing:border-box;
  scrollbar-width:none; outline:none; -webkit-mask-image:linear-gradient(transparent,#000 30%,#000 70%,transparent); mask-image:linear-gradient(transparent,#000 30%,#000 70%,transparent); }
#onb2 .o2-wheel .list::-webkit-scrollbar{ display:none; }
#onb2 .o2-wheel .yr{ height:46px; display:grid; place-items:center; scroll-snap-align:center; cursor:pointer;
  font:500 15px var(--o-sans); font-variant-numeric:tabular-nums; color:var(--o-ink3); transition:font-size .12s, color .12s; }
#onb2 .o2-wheel .yr.near{ font-size:18px; color:var(--o-ink2); }
#onb2 .o2-wheel .yr.mid{ font-size:22px; color:var(--o-ink2); }
#onb2 .o2-wheel .yr.on{ font-size:24px; font-weight:600; color:var(--o-ink); }
#onb2 .o2-wheel + .o2-note{ margin-left:0; text-align:center; }

/* ── proof ────────────────────────────────────────────────────────────── */
#onb2 .o2-proof{ position:relative; margin:24px auto 0; width:76%; }
#onb2 .o2-proof .o2-art{ width:100%; aspect-ratio:4/5; border-radius:20px; }
#onb2 .o2-proof .cap{ position:absolute; left:10px; right:10px; bottom:10px; background:rgba(14,14,14,.78); color:#F2F2EE; border-radius:14px;
  padding:10px 12px; text-align:center; font-size:12.5px; line-height:1.4; }
#onb2 .o2-proof .cap b{ display:block; font-size:14px; }
#onb2 .o2-proof .o2-tf{ position:absolute; width:52px; left:-30px; bottom:-14px; }
#onb2 .o2-legs{ margin-top:30px; text-align:center; }
#onb2 .o2-legs .k{ font-size:11px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--o-ink3); }
#onb2 .o2-legs .n{ margin-top:12px; display:flex; flex-wrap:wrap; justify-content:center; gap:6px 16px; font-family:var(--o-serif); font-size:17px;
  color:var(--o-ink2); }
#onb2 .o2-legs .n span{ animation:o2up .5s var(--o-out) both; }

/* ── reminders ────────────────────────────────────────────────────────── */
#onb2 .o2-remind{ flex:1; display:flex; flex-direction:column; justify-content:center; align-items:center; padding-bottom:10px; }
#onb2 .o2-notif{ position:relative; width:100%; max-width:340px; margin-top:64px; }
#onb2 .o2-notif .o2-tf{ position:absolute; width:76px; left:50%; top:-58px; margin-left:-38px; z-index:0; animation:o2peek .8s var(--o-spring) .2s both; }
@keyframes o2peek{ from{ transform:translateY(40px); opacity:0; } }
#onb2 .o2-notif .card{ position:relative; z-index:1; display:flex; gap:12px; align-items:flex-start; background:var(--o-card); border:1px solid var(--o-line);
  border-radius:18px; padding:14px; box-shadow:0 14px 30px rgba(0,0,0,.25); animation:o2up .5s var(--o-out) both; }
#onb2 .o2-notif .ic{ flex:0 0 38px; height:38px; border-radius:10px; background:var(--o-soft); display:grid; place-items:center; overflow:hidden; }
#onb2 .o2-notif .ic .o2-tf{ position:relative; left:auto; top:auto; width:32px; margin:0; animation:none; }
#onb2 .o2-notif .tx{ flex:1; font-size:13px; line-height:1.4; color:var(--o-ink2); }
#onb2 .o2-notif .tx b{ display:flex; justify-content:space-between; color:var(--o-ink); font-size:13.5px; }
#onb2 .o2-notif .tx b small{ font-weight:400; color:var(--o-ink3); font-size:11.5px; }

/* ── account ──────────────────────────────────────────────────────────── */
#onb2 .o2-acct{ flex:1; display:flex; flex-direction:column; justify-content:center; padding:8px 0; transition:justify-content .3s; }
#onb2 .o2-acct.open{ justify-content:flex-start; }
#onb2 .o2-acct .o2-h{ margin-top:10px; }
#onb2 .o2-sso{ margin-top:26px; display:flex; flex-direction:column; gap:10px; }
#onb2 .o2-sso button{ height:50px; border-radius:14px; border:1.5px solid var(--o-line); display:flex; align-items:center; justify-content:center; gap:10px;
  font-weight:600; font-size:15px; color:var(--o-ink); transition:background .15s; }
#onb2 .o2-sso button:hover{ background:var(--o-soft); }
#onb2 .o2-sso svg{ width:18px; height:18px; }
#onb2 .o2-or{ display:flex; align-items:center; gap:12px; margin:16px 0; font-size:11.5px; font-weight:700; letter-spacing:.12em; color:var(--o-ink3); }
#onb2 .o2-or:before, #onb2 .o2-or:after{ content:""; flex:1; height:1px; background:var(--o-line); }
#onb2 .o2-in{ display:block; width:100%; height:50px; margin-top:10px; font:500 15px var(--o-sans); color:var(--o-ink); background:transparent;
  border:1.5px solid var(--o-line); border-radius:12px; padding:0 14px; outline:none; transition:border-color .2s; }
#onb2 .o2-in:first-child{ margin-top:0; }
#onb2 .o2-in:focus{ border-color:var(--o-ink2); }
#onb2 .o2-more{ display:grid; grid-template-rows:0fr; transition:grid-template-rows .4s var(--o-out); }
#onb2 .o2-more > div{ overflow:hidden; }
#onb2 .o2-acct.open .o2-more{ grid-template-rows:1fr; }
#onb2 .o2-err{ min-height:18px; margin-top:10px; font-size:13px; color:#E08A7A; text-align:center; }
#onb2 .o2-legal{ margin-top:12px; font-size:12px; line-height:1.5; color:var(--o-ink3); text-align:center; }
#onb2 .o2-legal a{ color:var(--o-ink2); }

/* ── building the plan ────────────────────────────────────────────────── */
#onb2 .o2-build{ flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; padding-bottom:70px; }
#onb2 .o2-tile{ position:relative; width:92px; height:92px; border-radius:22px; background:var(--o-lav); display:grid; place-items:center; }
/* "> svg" for the same reason: the orbiting tutor is a child svg too */
#onb2 .o2-tile > svg{ position:absolute; width:52px; height:52px; color:var(--o-lavInk); opacity:0; transform:scale(.8); transition:opacity .35s, transform .45s var(--o-spring); }
#onb2 .o2-tile > svg.on{ opacity:1; transform:none; }
#onb2 .o2-tile .o2-tf{ position:absolute; width:50px; right:-38px; top:-40px; animation:o2orbit 2.6s ease-in-out infinite; }
@keyframes o2orbit{ 0%,100%{ transform:translate(0,0) rotate(0); } 25%{ transform:translate(-6px,4px) rotate(-6deg); } 50%{ transform:translate(-2px,10px) rotate(0); } 75%{ transform:translate(5px,4px) rotate(6deg); } }
#onb2 .o2-build p{ margin:30px 0 0; font-family:var(--o-serif); font-weight:700; font-size:20px; }

/* ── the plan and the path ────────────────────────────────────────────── */
#onb2 .o2-kick{ margin-top:22px; font-size:11.5px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--o-ink3); text-align:center; }
#onb2 .o2-plan{ position:relative; width:80%; margin:70px auto 0; }
#onb2 .o2-plan .card{ position:relative; z-index:1; background:var(--o-card); border:1px solid var(--o-line); border-radius:22px; padding:14px;
  box-shadow:0 18px 40px rgba(0,0,0,.28); animation:o2rise .6s var(--o-out) both; }
@keyframes o2rise{ from{ opacity:0; transform:translateY(26px) scale(.97); } }
#onb2 .o2-plan .card .o2-art{ width:100%; aspect-ratio:4/3; border-radius:14px; }
#onb2 .o2-plan .card .t{ margin-top:12px; font-family:var(--o-serif); font-weight:700; font-size:17px; }
#onb2 .o2-plan .card .m{ margin-top:4px; font-size:12.5px; color:var(--o-ink3); }
#onb2 .o2-plan > .o2-tf{ position:absolute; z-index:0; width:62px; right:14%; top:-46px; animation:o2peek .7s var(--o-spring) .45s both; }
#onb2 .o2-path-head{ text-align:center; padding-top:10px; }
#onb2 .o2-path-head .o2-art{ width:64px; height:64px; margin:0 auto; border-radius:16px; }
#onb2 .o2-path-head .o2-h{ margin-top:8px; font-size:24px; }
#onb2 .o2-path{ margin-top:26px; display:flex; flex-direction:column; gap:10px; }
#onb2 .o2-week{ position:relative; display:flex; align-items:center; gap:12px; padding:14px; border-radius:16px; border:1px solid var(--o-line);
  background:var(--o-card); opacity:.5; animation:o2up .45s var(--o-out) both; }
#onb2 .o2-week .n{ flex:0 0 32px; height:32px; border-radius:10px; background:var(--o-soft); display:grid; place-items:center; font-weight:700; font-size:13px; color:var(--o-ink3); }
#onb2 .o2-week .t{ font-size:14.5px; font-weight:600; }
#onb2 .o2-week .u{ font-size:12px; color:var(--o-ink3); margin-top:2px; }
#onb2 .o2-week.first{ opacity:1; margin-top:16px; background:linear-gradient(165deg,var(--o-pick1),var(--o-pick2)); border-color:color-mix(in srgb,var(--o-terra) 50%,transparent); }
#onb2 .o2-week.first .n{ background:var(--o-terra); color:var(--o-terraInk); }
#onb2 .o2-week .badge{ position:absolute; left:12px; top:-11px; font-size:10px; font-weight:800; letter-spacing:.12em; padding:4px 8px; border-radius:7px;
  background:var(--o-chip); color:var(--o-chipInk); }
#onb2 .o2-week > .o2-tf{ position:absolute; width:40px; right:16px; top:-30px; animation:o2peek .7s var(--o-spring) .5s both; }

/* ── "wiser every day" and the comet ──────────────────────────────────── */
#onb2 .o2-wiser{ flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; padding-bottom:40px; }
#onb2 .o2-wiser .o2-tf{ width:104px; animation:o2pop .7s var(--o-spring) both; }
#onb2 .o2-wiser .o2-h{ font-size:21px; margin-top:22px; max-width:300px; animation:o2up .5s var(--o-out) .2s both; }
#onb2 .o2-comet{ position:absolute; inset:0; }
#onb2 .o2-comet .beam{ position:absolute; left:50%; width:96px; margin-left:-48px; top:-10%; height:0; border-radius:48px;
  background:linear-gradient(to bottom,transparent,color-mix(in srgb,#A796D6 34%,transparent) 62%,color-mix(in srgb,var(--o-terra) 55%,transparent));
  filter:blur(2px);
  transition:height 1s cubic-bezier(.3,.7,.2,1), opacity .6s ease; }
#onb2 .o2-comet .o2-tf{ position:absolute; left:50%; width:84px; margin-left:-42px; top:-120px; transition:transform 1s cubic-bezier(.3,.7,.2,1); }
#onb2 .o2-comet.drop .beam{ height:62%; }
#onb2 .o2-comet.drop .o2-tf{ transform:translateY(calc(52vh + 20px)); }
#onb2 .o2-comet.land .beam{ opacity:0; }
#onb2.leaving{ animation:o2fadeo .6s ease both; }

/* ── the desktop: the same column, more air ───────────────────────────── */
@media (min-width:900px){
  #onb2 .o2-col{ max-width:600px; padding-top:20px; }
  #onb2 .o2-h{ font-size:32px; margin-top:40px; }
  #onb2 .o2-ask{ margin-top:36px; }
  #onb2 .o2-ask h2{ font-size:25px; }
  #onb2 .o2-grid{ gap:16px; margin-top:34px; }
  #onb2 .o2-card{ min-height:180px; }
  #onb2 .o2-card .o2-art{ width:80px; height:80px; }
  #onb2 .o2-welcome .o2-art{ aspect-ratio:16/9; }
  #onb2 .o2-demo{ transform:scale(1.15); transform-origin:50% 0; margin-top:44px; }
  #onb2 .o2-foot{ padding-bottom:40px; }
  #onb2 .o2-btn{ max-width:600px; }
}
@media (max-height:700px){
  #onb2 .o2-welcome .o2-art{ aspect-ratio:16/8; }
  #onb2 .o2-welcome .o2-h{ font-size:26px; margin-top:16px; }
  #onb2 .o2-feats{ margin-top:14px; gap:8px; }
  #onb2 .o2-card{ min-height:128px; }
  #onb2 .o2-duo{ margin-top:80px; }
  #onb2 .o2-duo .o2-card{ min-height:210px; }
  #onb2 .o2-demo{ height:280px; margin-top:20px; }
  #onb2 .o2-sky{ height:280px; }
}
@media (prefers-reduced-motion:reduce){
  #onb2 *, #onb2 *:before, #onb2 *:after{ animation-duration:.01ms !important; animation-delay:0s !important; transition-duration:.01ms !important; transition-delay:0s !important; }
}
