/* home-v2 (STAGING; the Boss approved Johnny's prototype 31 Oct 2026). The site's own tokens (--card, --ink, --muted, --line, --bg) keep
   light and dark; each box takes its app's colour as --a (edge stripe, light tint, the number). Scroll is the player's black + yellow. */
:root{
  --hv2-scroll:#FFD21E;--hv2-hy:#1F7FA3;--hv2-drill:#2F6F8F;--hv2-due:#5A7A6A;--hv2-plan:#1F6F8B;--hv2-batch:#1F3A5F;--hv2-gt:#9A7414;
  --hv2-fresh:#0F7C74;--hv2-notebook:#3F5F8C;--hv2-weak:#B23A5A;--hv2-mock:#4A5560;--hv2-mentor:#6B4FC2;--hv2-learner:#C2453A;
  --hv2-spot:#2F5FA8;--hv2-cards:#8A5A2B;--hv2-journal:#8A4E92;--hv2-free:#295C52;--hv2-plus:#9A7414;--hv2-premium:#B03A78;--hv2-pro:#9A6B12;
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  --hv2-hy:#5BB8D8;--hv2-drill:#8FC7E0;--hv2-due:#A7C4B5;--hv2-plan:#6FB6CF;--hv2-batch:#9DB4D6;--hv2-gt:#E3C25E;--hv2-fresh:#4FC2B4;
  --hv2-notebook:#9DB4DE;--hv2-weak:#E27A94;--hv2-mock:#DDE3E5;--hv2-mentor:#B39DEB;--hv2-learner:#E0786E;--hv2-spot:#8FB4F0;
  --hv2-cards:#D9A066;--hv2-journal:#C9A0CE;--hv2-free:#7FF2C8;--hv2-plus:#F2D16B;--hv2-premium:#F4A6C8;--hv2-pro:#E8B54B}}
:root[data-theme="dark"]{
  --hv2-hy:#5BB8D8;--hv2-drill:#8FC7E0;--hv2-due:#A7C4B5;--hv2-plan:#6FB6CF;--hv2-batch:#9DB4D6;--hv2-gt:#E3C25E;--hv2-fresh:#4FC2B4;
  --hv2-notebook:#9DB4DE;--hv2-weak:#E27A94;--hv2-mock:#DDE3E5;--hv2-mentor:#B39DEB;--hv2-learner:#E0786E;--hv2-spot:#8FB4F0;
  --hv2-cards:#D9A066;--hv2-journal:#C9A0CE;--hv2-free:#7FF2C8;--hv2-plus:#F2D16B;--hv2-premium:#F4A6C8;--hv2-pro:#E8B54B}

.hv2{max-width:1120px;margin:0 auto}
/* dark-home v1 (the Boss, 31 Oct 2026: the home page ALWAYS wears the approved prototype's dark green, whatever the light/dark setting).
   Scoped to the home wrapper (and the page ground while the home is open); every other screen keeps its own theme. */
.hv2{--bg:#0f2622;--card:#16332d;--card-2:#1c3d36;--line:#2a4b44;--ink:#eef5f2;--muted:#a9c2bb;--muted-2:#7f9a93;--brand:#7ff2c8;--gold:#e8b54b;
  --hv2-hy:#5BB8D8;--hv2-drill:#8FC7E0;--hv2-due:#A7C4B5;--hv2-plan:#85C6DC;--hv2-batch:#9DB4D6;--hv2-gt:#E3C25E;--hv2-fresh:#4FC2B4;--hv2-notebook:#9DB4DE;
  --hv2-weak:#F0A0B6;--hv2-mock:#DDE3E5;--hv2-mentor:#C8B8F4;--hv2-learner:#F2A49A;--hv2-spot:#8FB4F0;--hv2-cards:#D9A066;--hv2-journal:#C9A0CE;
  --hv2-free:#7FF2C8;--hv2-plus:#F2D16B;--hv2-premium:#F4A6C8;--hv2-pro:#E8B54B;color:var(--ink);color-scheme:dark}   /* weak, mentor, learner lifted to >=4.5:1 */
html.hv2-home body,html.hv2-home #main{background:#0f2622!important}
.hv2 .hv2-box{background:linear-gradient(180deg,color-mix(in srgb,var(--a) 15%,var(--card)),color-mix(in srgb,var(--a) 6%,var(--card)));border:1px solid color-mix(in srgb,var(--a) 42%,var(--line));box-shadow:inset 4px 0 0 var(--a)}
.hv2 .hv2-show{box-shadow:inset 0 5px 0 var(--a)}
.hv2 .hv2-btn.gold{background:#e8b54b;color:#2a1d05}.hv2 .hv2-show .hv2-btn.gold{background:var(--a);color:#0f2622}
.hv2 .hv2-btn.ghost{color:#eef5f2;border-color:#2a4b44}
.hv2 .hv2-hero h1 em{color:#e8b54b}.hv2 .hv2-eyebrow{color:#7ff2c8}.hv2 .hv2-track i{background:linear-gradient(90deg,#7ff2c8,#e8b54b)}
.hv2 .hv2-founding{background:linear-gradient(120deg,#1c3d36,#16332d)}.hv2 .hv2-founding b{color:#e8b54b}
.hv2 .hv2-chip{color:#0f2622}

.hv2 section{padding:22px 0}
.hv2 h2{font-family:Fraunces,Georgia,serif;font-size:1.55rem;margin:0 0 .2rem;color:var(--ink)}
.hv2-sub{color:var(--muted);margin:0 0 1rem;font-size:.92rem}
.hv2-eyebrow{font-size:.74rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--brand)}
.hv2-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:36px;align-items:center}
.hv2-hero h1{font-family:Fraunces,Georgia,serif;font-size:clamp(2rem,5.2vw,3.4rem);line-height:1.05;margin:.3em 0 .3em;color:var(--ink)}
.hv2-hero h1 em{font-style:italic;color:var(--gold,#c9a227)}
.hv2-lede{color:var(--muted);max-width:56ch;margin:0 0 16px}
.hv2-count{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:14px 16px;max-width:520px}
.hv2-n{font-family:Fraunces,Georgia,serif;font-size:1.9rem;font-weight:700;font-variant-numeric:tabular-nums;color:var(--ink)}
.hv2-of{color:var(--muted);font-size:.84rem}
.hv2-track{height:6px;background:var(--line);border-radius:99px;margin:10px 0 4px;overflow:hidden}
.hv2-track i{display:block;height:100%;background:linear-gradient(90deg,var(--brand),var(--gold,#c9a227));border-radius:99px;transition:width .6s}
.hv2-cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.hv2-btn{font:800 .95rem Manrope,system-ui,sans-serif;border-radius:12px;padding:12px 18px;border:0;cursor:pointer;min-height:44px}
.hv2-btn.gold{background:var(--gold,#c9a227);color:#2a1d05}
.hv2-btn.ghost{background:transparent;color:var(--ink);border:1px solid var(--line)}
.hv2-phonewrap{display:flex;justify-content:center}
.hv2-phone{width:min(250px,64vw);aspect-ratio:9/19;border-radius:36px;background:#0b0b0b;padding:10px;box-shadow:0 26px 50px rgba(0,0,0,.35);position:relative}
.hv2-screen{position:absolute;inset:10px;border-radius:28px;overflow:hidden;background:#fbf6ec}
.hv2-screen img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .9s}
.hv2-screen img.on{opacity:1;animation:hv2zoom 5s ease-in-out forwards}
@keyframes hv2zoom{0%{transform:scale(1)}35%{transform:scale(1.25)}80%{transform:scale(1.25)}100%{transform:scale(1)}}
.hv2-island{position:absolute;top:16px;left:50%;transform:translateX(-50%);width:78px;height:22px;border-radius:12px;background:#0b0b0b}
.hv2-swipe{position:absolute;left:50%;bottom:14%;transform:translateX(-50%);background:rgba(255,255,255,.85);border-radius:999px;padding:7px 12px;font:700 .75rem Manrope,system-ui,sans-serif;color:#16352f;white-space:nowrap}
.hv2-big{font-size:clamp(1.7rem,4vw,2.6rem)!important;margin:.2em 0 .6em!important}
@media (prefers-reduced-motion:reduce){.hv2-screen img.on{animation:none}.hv2-track i{transition:none}}

/* the boxes */
.hv2-box{background:linear-gradient(180deg,color-mix(in srgb,var(--a) 12%,var(--card)),color-mix(in srgb,var(--a) 4%,var(--card)));border:1px solid color-mix(in srgb,var(--a) 38%,var(--line));
  box-shadow:inset 4px 0 0 var(--a);border-radius:16px;color:var(--ink);text-align:left;font:inherit}
.hv2-show{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;align-items:center;padding:26px;margin-bottom:16px;box-shadow:inset 0 5px 0 var(--a)}
.hv2-show.rev .hv2-showtext{order:2}
.hv2-showtext h3{font-family:Fraunces,Georgia,serif;font-size:clamp(1.4rem,3vw,1.9rem);margin:.4em 0 .3em;line-height:1.12}
.hv2-showtext p{color:var(--muted);margin:0 0 12px;max-width:52ch}
.hv2-chip{display:inline-block;font-size:.74rem;font-weight:800;letter-spacing:.04em;color:#111;background:var(--a);border-radius:999px;padding:4px 12px}
.hv2-ticks{margin:0 0 12px;padding:0;list-style:none;display:grid;gap:4px;font-size:.9rem;color:var(--muted)}
.hv2-ticks li::before{content:"✓";color:var(--a);font-weight:800;margin-right:8px}
.hv2-stat{display:flex;align-items:baseline;gap:8px;margin:6px 0 12px;flex-wrap:wrap}
.hv2-stat .v{font-family:Fraunces,Georgia,serif;font-size:1.6rem;font-weight:700;font-variant-numeric:tabular-nums;color:var(--a)}
.hv2-show .hv2-stat .v{font-size:2.3rem}
.hv2-stat .l{font-size:.84rem;color:var(--muted)}
.hv2-stat .go{flex-basis:100%;font-size:.84rem;font-weight:800;color:var(--a)}
.hv2-scroll .hv2-stat .go{color:#FFD21E}
.hv2-show .hv2-btn.gold{background:var(--a);color:#111}
/* Scroll: the player's black + yellow, in both themes */
.hv2-scroll{background:linear-gradient(180deg,#0b0b0b,#161616)!important;border-color:#2b2b2b!important;color:#f4f4f4}
.hv2-scroll .hv2-showtext p,.hv2-scroll .hv2-ticks,.hv2-scroll .hv2-stat .l{color:#c9c9c9}
/* Drill: the subject hues */
.hv2-drill{box-shadow:none;position:relative;overflow:hidden}
.hv2-drill::before{content:"";position:absolute;left:0;right:0;top:0;height:5px;background:linear-gradient(90deg,hsl(12,62%,62%),hsl(150,52%,48%),hsl(287,52%,62%),hsl(48,72%,52%),hsl(202,62%,52%),hsl(340,62%,62%))}
.hv2-drillchip{background:linear-gradient(90deg,hsl(12,62%,72%),hsl(150,52%,62%),hsl(287,52%,72%),hsl(48,72%,62%),hsl(202,62%,62%),hsl(340,62%,72%))}
.hv2-ui{width:100%;max-width:400px;background:var(--bg);border:1px solid var(--line);border-radius:16px;padding:14px;justify-self:center}
.hv2-uihead{display:flex;justify-content:space-between;font-weight:800;margin-bottom:8px}
.hv2-muted{color:var(--muted);font-weight:600;font-size:.82rem}
.hv2-row{display:grid;grid-template-columns:110px minmax(0,1fr) 44px;gap:10px;align-items:center;padding:7px 0;border-top:1px solid var(--line);font-size:.88rem}
.hv2-bar{height:8px;background:var(--line);border-radius:99px;overflow:hidden}
.hv2-bar i{display:block;height:100%;border-radius:99px}
.hv2-pc{text-align:right;color:var(--muted);font-variant-numeric:tabular-nums;font-size:.82rem}
.hv2-hyrow{display:flex;justify-content:space-between;align-items:center;padding:9px 12px;margin-top:7px;background:var(--card);border:1px solid var(--line);border-radius:12px;font-size:.88rem}
.hv2-hyb{font-weight:800;color:var(--hv2-hy);font-variant-numeric:tabular-nums}
.hv2-uifoot{margin-top:10px;font-size:.76rem;color:var(--muted)}
.hv2-day{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.hv2-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.hv2-small{display:flex;flex-direction:column;gap:4px;padding:14px;min-width:0;cursor:pointer;min-height:44px}
.hv2-small h4{margin:0;font-size:.95rem;font-weight:800;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.hv2-small p{margin:0;color:var(--muted);font-size:.82rem}
.hv2-plan{font-size:.62rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;border:1px solid var(--line);border-radius:999px;padding:2px 7px;color:var(--muted)}
.hv2-founding{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:18px;display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}
.hv2-founding b{color:var(--brand)}
.hv2-plans{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.hv2-plancard{padding:14px;cursor:pointer}
.hv2-plancard h4{margin:0 0 4px;font-size:1rem}
.hv2-plancard p{margin:0;font-size:.82rem;color:var(--muted)}
.hv2-plancard.best{border-color:var(--a)}
.hv2-badge{font-size:.62rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--a)}
@media (max-width:900px){.hv2-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:820px){.hv2-hero,.hv2-show{grid-template-columns:1fr}.hv2-show{padding:18px;gap:18px}.hv2-show.rev .hv2-showtext{order:0}
  .hv2-day,.hv2-plans{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:520px){.hv2-grid{grid-template-columns:1fr}.hv2-row{grid-template-columns:90px minmax(0,1fr) 40px}}

/* ---------------- phone menus (<=560px) ---------------- */
#nav-screen,#hv2-more,.hv2-plansbtn{display:none}
@media (max-width:560px),(min-width:561px) and (max-width:1366px) and (hover:none) and (pointer:coarse){
  html.hv2-on body > header nav #nav-plans,
  html.hv2-on body > header nav #nav-profile,html.hv2-on body > header nav #nav-batches{display:none!important}
  html.hv2-on body > header nav #nav-screen{display:flex}
  html.hv2-on body > header nav #nav-home{order:1}html.hv2-on body > header nav #nav-shorts{order:2}html.hv2-on body > header nav #nav-screen{order:3}
  html.hv2-on body > header nav #nav-drill{order:4}html.hv2-on body > header nav #nav-today{display:flex!important;order:5}html.hv2-on body > header nav #nav-apps{order:6}html.hv2-on body > header nav #nav-blog{display:flex!important;order:7}   /* menus v3 (the Boss: "Blog should also be on the bottom menu"): 7 tabs */
  html.hv2-on body > header nav button{flex:1 1 0;min-width:0}html.hv2-on body > header nav button span{white-space:nowrap;overflow:hidden;text-overflow:clip}
  html.hv2-on body > header nav{display:flex}
  html.hv2-on body #helpbtn,html.hv2-on body #themebtn,html.hv2-on body.rl-in .authbar button.who,html.hv2-on body .authbar .quotapill{display:none!important}   /* Profile, Help and Dark mode live in More */
  html.hv2-on #hv2-more,html.hv2-on .authbar .hv2-plansbtn{display:inline-flex}
  html.hv2-on body > header nav{gap:0!important;padding-left:2px!important;padding-right:2px!important}
  html.hv2-on body > header nav button{padding-left:1px!important;padding-right:1px!important;min-height:44px}
  html.hv2-on body > header nav button span{font-size:.75rem}
  @media (max-width:340px){html.hv2-on body > header nav button span{letter-spacing:-.02em}}   /* never below the .75rem floor */
  .hv2-topbtn{position:relative;align-items:center;justify-content:center;width:36px;height:36px;min-width:36px;border-radius:50%;border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.08);color:#fff;cursor:pointer;padding:0}
  .hv2-topbtn svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
  .hv2-topbtn .navbadge:not([hidden]){display:block;position:absolute;top:-5px;right:-5px;min-width:15px;height:15px;padding:0 4px;border-radius:999px;background:#C62828;color:#fff;font:800 10px/15px Manrope,system-ui,sans-serif;text-align:center}
}
#hv2-sheet{position:fixed;top:calc(56px + env(safe-area-inset-top));right:10px;z-index:9999;min-width:200px;background:var(--card);border:1px solid var(--line);border-radius:14px;box-shadow:0 12px 32px rgba(0,0,0,.25);padding:6px;display:flex;flex-direction:column}
#hv2-sheet button{font:700 .95rem Manrope,system-ui,sans-serif;text-align:left;background:none;border:0;color:var(--ink);padding:12px 14px;border-radius:10px;min-height:44px;cursor:pointer}
#hv2-sheet button:hover{background:var(--line)}
/* dark-home v1.1 (Johnny, 31 Oct): on the home only, the phone bottom bar goes dark green to match; every other screen keeps its bar */
@media (max-width:560px),(min-width:561px) and (max-width:1366px) and (hover:none) and (pointer:coarse){
  html.hv2-home:root:root body > header > nav{background:#16332d!important;border-top:1px solid #2a4b44!important;box-shadow:none!important}
  html.hv2-home:root:root body > header > nav button{color:#a9c2bb!important;background:transparent!important}
  html.hv2-home:root:root body > header > nav button svg{stroke:currentColor}
  html.hv2-home:root:root body > header > nav button.active,html.hv2-home.rl-apptint:root:root body > header > nav button.active{background:#1c3d36!important;color:#7ff2c8!important}
  html.hv2-home:root:root body > header > nav button .navbadge{box-shadow:0 0 0 1.5px #16332d!important}
}
/* menus v4.1 (the Boss via Johnny, 31 Oct: keep "Recallab" and "PG", just smaller; keep all six controls). Logo = the full-res lockup
   scaled (the tagline row cropped off: rows 0-113 of 153); circles 36 px with an invisible 4 px hit extension = 44 px tap areas */
.hv2-themebtn{display:none}
@media (max-width:560px),(min-width:561px) and (max-width:1366px) and (hover:none) and (pointer:coarse){
  html.hv2-on body > header{gap:4px!important;padding-left:6px!important;padding-right:6px!important}
  html.hv2-on body > header .logo{flex:0 0 auto}
  html.hv2-on .authbar .adminbtn:not(.topbatch),html.hv2-on .authbar .admmore{display:none!important}   /* menus v5.2: Admin is in More; the admin '...' menu repeats More */
  #hv2-more.hv2-dot::before{content:"";position:absolute;top:1px;right:1px;width:10px;height:10px;border-radius:50%;background:#e5484d;border:2px solid #0f2622}
  html.hv2-on .authbar{display:flex!important;align-items:center;gap:6px!important;margin-left:auto!important}
  html.hv2-on #msgbtn{margin-left:auto!important}
  html.hv2-on #msgbtn + .authbar{margin-left:6px!important}
  html.hv2-on #hv2-more{margin-left:6px}
  html.hv2-on .authbar .hv2-plansbtn{order:1}html.hv2-on .authbar .topbatch{order:2}html.hv2-on .authbar .totchip{order:3}
  html.hv2-on .authbar .hv2-themebtn{order:4}html.hv2-on .authbar > button:not(.totchip):not(.hv2-topbtn):not(.topbatch):not(.who){order:5}
  .hv2-topbtn,html.hv2-on #msgbtn,html.hv2-on .authbar .topbatch{width:36px!important;height:36px!important;min-width:36px!important;position:relative;border-radius:50%!important;padding:0!important}
  .hv2-topbtn::after,html.hv2-on #msgbtn::after{content:"";position:absolute;inset:-4px}   /* 44 px tap area around the 36 px circle */
}
@media (max-width:340px){
  html.hv2-on body > header{padding-left:3px!important;padding-right:3px!important}
  html.hv2-on .authbar{gap:4px!important}html.hv2-on #msgbtn + .authbar,html.hv2-on #hv2-more{margin-left:4px!important}
  .hv2-topbtn,html.hv2-on #msgbtn,html.hv2-on .authbar .topbatch{width:34px!important;height:34px!important;min-width:34px!important}
  .hv2-topbtn::after,html.hv2-on #msgbtn::after{inset:-5px}   /* still a 44 px tap area */
}
@media (max-width:560px),(min-width:561px) and (max-width:1366px) and (hover:none) and (pointer:coarse){html.hv2-on body:not(.rl-in) #msgbtn{display:none!important}}   /* menus v4.1: Messages is signed-in only */

/* hero-carousel v1 (31 Oct): the showcase figures are landscape drawings: whole figure, centred on the cream screen; the Scroll phone in its panel */
.hv2-carousel{display:flex;align-items:center}
.hv2-carousel img{object-fit:contain;background:#fbf6ec;padding:0 6px;box-sizing:border-box}
.hv2-carousel img.on{animation:none}
.hv2-cappill{padding:7px 14px}
.hv2-scroll .hv2-phonewrap{justify-content:center}
@media (max-width:820px){.hv2-scroll .hv2-phonewrap{margin-top:6px}}

/* hero-carousel v1.1 (Johnny's review, 31 Oct): the hero device turns LANDSCAPE (16:10 screen, full column width on phones) so each
   landscape figure fills it whole; the Scroll phone's screen takes the posters' own 9:16, so logo and caption are never cropped */
.hv2-phone.hv2-land{width:min(100%,520px);aspect-ratio:auto;border-radius:30px}
.hv2-land .hv2-screen{position:relative;inset:auto;aspect-ratio:16/10;border-radius:22px}
.hv2-land .hv2-island{top:50%;left:10px;transform:translateY(-50%);width:18px;height:60px;border-radius:10px}
.hv2-land .hv2-carousel img,.hv2-land.hv2-phone .hv2-carousel img{padding:0 34px}
.hv2-land .hv2-cappill{bottom:8px;padding:3px 10px;font-size:.68rem}
.hv2-scroll .hv2-phone{aspect-ratio:auto}
.hv2-scroll .hv2-screen{position:relative;inset:auto;aspect-ratio:9/16}

/* scroll-phone-video v1: the short fills the 9:16 screen; its poster covers it until the video is really playing */
.hv2-vscreen{cursor:pointer;background:#0b0b0b}
.hv2-vscreen video,.hv2-vscreen .hv2-vposter{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:1;animation:none}
.hv2-vscreen .hv2-vposter[hidden]{display:none}

/* app-chrome v1: sizes in container units of each phone screen (1cqw = 1% of its width), measured from the Boss's 1080 px screenshots */
.hv2-appscreen,.hv2-landscreen{container-type:inline-size}
.hv2-appscreen{position:relative;inset:auto;aspect-ratio:auto;display:flex;flex-direction:column;background:#000}
.hv2-appscreen .hv2-vscreen{position:relative;aspect-ratio:9/16;overflow:hidden;flex:none}
.hv2-scroll .hv2-screen.hv2-vscreen{aspect-ratio:9/16}
.hv2-abar{display:flex;background:#000;padding:1.6cqw .6cqw 2.2cqw;flex:none}
.hv2-abar span{position:relative;flex:1 1 0;display:flex;flex-direction:column;align-items:center;gap:.6cqw;padding:1.6cqw 0;border-radius:2.6cqw;color:#fff}
.hv2-abar span.on{background:#fff;color:#000}
.hv2-abar svg{width:4.6cqw;height:4.6cqw;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hv2-abar i{font:600 3cqw/1 Manrope,system-ui,sans-serif;font-style:normal;white-space:nowrap}
.hv2-abadge{position:absolute;top:.4cqw;left:52%;min-width:4.6cqw;height:3.6cqw;padding:0 .8cqw;border-radius:2cqw;background:#e5484d;color:#fff;font:800 2.5cqw/3.6cqw Manrope,system-ui,sans-serif;text-align:center}
.hv2-abadge[hidden]{display:none}
.hv2-sc-top{position:absolute;top:7.5cqw;right:3.2cqw;display:flex;gap:1.7cqw;z-index:2}
.hv2-sc-top span,.hv2-sc-count{display:inline-flex;align-items:center;gap:1.5cqw;height:8cqw;padding:0 3.4cqw;border-radius:4cqw;font:700 3.3cqw/1 Manrope,system-ui,sans-serif}
.hv2-sc-auto{background:#FFD21E;color:#111}
.hv2-sc-saved,.hv2-sc-count{background:rgba(120,120,120,.85);color:#fff}
.hv2-sc-top svg{width:3.4cqw;height:3.4cqw;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linejoin:round}
.hv2-sc-auto svg path:first-child{fill:currentColor}
.hv2-sc-count{position:absolute;top:17.5cqw;right:3.2cqw;height:6.5cqw;z-index:2}
.hv2-sc-rail{position:absolute;right:2.8cqw;top:52%;display:flex;flex-direction:column;gap:1.6cqw;z-index:2}
.hv2-sc-rail span{width:7.6cqw;min-height:7.6cqw;border-radius:3.8cqw;background:rgba(120,120,120,.75);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.4cqw}
.hv2-sc-rail span.qs{padding:1.4cqw 0}
.hv2-sc-rail svg{width:4cqw;height:4cqw;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hv2-sc-rail i{font:800 2.4cqw/1 Manrope,system-ui,sans-serif;font-style:normal}
.hv2-appscreen .hv2-island{top:2.5cqw}
/* the landscape carousel phone: slim header, the figure, the bar */
.hv2-landscreen{display:flex;flex-direction:column;aspect-ratio:16/10;background:#fbf6ec}
.hv2-landscreen .hv2-carousel{position:relative;flex:1 1 auto;min-height:0}
.hv2-landscreen .hv2-carousel img{padding:0 7cqw}
.hv2-shead{display:flex;align-items:center;gap:1.2cqw;background:#1d3a33;padding:1.2cqw 2cqw 1.2cqw 7cqw;flex:none}
.hv2-shead-logo{display:flex;align-items:center;gap:.8cqw;margin-right:auto}
.hv2-shead-logo img{height:3.4cqw;width:auto}
.hv2-shead-logo b{background:#cfeee3;color:#16352f;border-radius:1cqw;padding:.2cqw .8cqw;font:800 1.7cqw/1.2 Manrope,system-ui,sans-serif}
.hv2-shead-c{width:4.6cqw;height:4.6cqw;border-radius:50%;border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.08);color:#fff;display:flex;align-items:center;justify-content:center}
.hv2-shead-c svg{width:2.6cqw;height:2.6cqw;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.hv2-shead-t{color:#fff;font:800 2.1cqw/1 Manrope,system-ui,sans-serif}
.hv2-shead-t em{color:#7ff2c8;font-style:normal;margin-right:.6cqw}
.hv2-landscreen .hv2-abar{padding:.6cqw 5cqw .8cqw 7cqw}
.hv2-landscreen .hv2-abar span{padding:.6cqw 0;gap:.2cqw;border-radius:1.2cqw}
.hv2-landscreen .hv2-abar svg{width:2.2cqw;height:2.2cqw}
.hv2-landscreen .hv2-abar i{font-size:1.4cqw}
.hv2-landscreen .hv2-abadge{min-width:2.2cqw;height:1.8cqw;font-size:1.2cqw;line-height:1.8cqw;padding:0 .4cqw;top:0}
.hv2-land .hv2-cappill{bottom:1.6cqw;font-size:1.6cqw;padding:.5cqw 1.6cqw}
.hv2-land .hv2-island{z-index:3}
.hv2-scroll .hv2-screen.hv2-appscreen{aspect-ratio:auto;position:relative;inset:auto}
.hv2-vscreen video,.hv2-vscreen .hv2-vposter{z-index:1}
/* app-chrome v1.1: the landscape phone's bars a size up, so they read as the app */
.hv2-shead{padding:1.4cqw 2.4cqw 1.4cqw 7cqw;gap:1.4cqw}
.hv2-shead-logo img{height:4.6cqw}
.hv2-shead-logo b{font-size:2.1cqw}
.hv2-shead-c{width:5.4cqw;height:5.4cqw}.hv2-shead-c svg{width:3cqw;height:3cqw}
.hv2-shead-t{font-size:2.6cqw}
.hv2-landscreen .hv2-abar svg{width:2.9cqw;height:2.9cqw}
.hv2-landscreen .hv2-abar i{font-size:1.9cqw}
.hv2-landscreen .hv2-abar span{padding:.8cqw 0;gap:.4cqw}

/* device v1: one drawn phone per panel (inline SVG over a screen window); the window holds the moving part */
.hv2-dev{position:relative;cursor:pointer;filter:drop-shadow(0 22px 34px rgba(0,0,0,.45))}
.hv2-dev-svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.hv2-dev-scr{position:absolute;overflow:hidden;background:#fbf6ec}
.hv2-dev-p{width:min(270px,72vw);aspect-ratio:452/817}
.hv2-dev-p .hv2-dev-scr{left:5.31%;top:2.2%;width:89.38%;height:87.88%;background:#0b0b0b}
.hv2-dev-l{width:min(100%,600px);aspect-ratio:900/452}
.hv2-dev-l .hv2-dev-scr{left:2%;top:15.04%;width:96%;height:68.14%}
.hv2-dev-l .hv2-carousel img{padding:0 6.5%}
.hv2-dev-l .hv2-cappill{bottom:4%;font-size:clamp(.6rem,1.6vw,.72rem);padding:3px 10px;z-index:2}
.hv2-dev .hv2-vscreen video,.hv2-dev .hv2-vscreen .hv2-vposter{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hv2-dev-scr{z-index:1}.hv2-dev-svg{z-index:2}
.hv2-dev-scr.hv2-carousel{display:block}
.hv2-dev-scr.hv2-carousel img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0;transition:opacity .9s;box-sizing:border-box;animation:none}
.hv2-dev-scr.hv2-carousel img.on{opacity:1}
.hv2-dev-scr .hv2-cappill{position:absolute;left:50%;transform:translateX(-50%)}
.hv2-dev-l .hv2-cappill{font-size:clamp(.55rem,1.4vw,.66rem);padding:2px 9px}
/* device v1.1 (Johnny's polish): screen layers below the status bars; the carousel caption under the phone */
.hv2-dev-p{aspect-ratio:452/843}
.hv2-dev-p .hv2-dev-scr{top:5.22%;height:85.17%}
.hv2-dev-l{aspect-ratio:900/472}
.hv2-dev-l .hv2-dev-scr{left:2%;top:18.64%;width:96%;height:65.25%}
.hv2-hero .hv2-phonewrap{flex-direction:column;align-items:center}
.hv2-devcap{margin-top:12px;padding:4px 12px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);color:#d8e7e3;font:700 .75rem Manrope,system-ui,sans-serif}
/* drill-cards v1: mini Drill subject cards, 2 x 2 (the real Drill page's look, dark) */
.hv2-dgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;max-width:440px;justify-self:center}
.hv2-dc{--sc:hsl(var(--h),62%,70%);display:flex;flex-direction:column;gap:6px;background:#132b26;border:1px solid rgba(255,255,255,.08);border-top:4px solid var(--sc);border-radius:14px;padding:12px 12px 0;cursor:pointer;min-width:0;overflow:hidden}
.hv2-dc-mono{width:30px;height:30px;border-radius:8px;background:var(--sc);color:#10231e;display:flex;align-items:center;justify-content:center;font:800 .82rem Manrope,system-ui,sans-serif}
.hv2-dc b{font-family:Fraunces,Georgia,serif;font-weight:800;font-size:1.02rem;color:#eef5f2;line-height:1.15;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hv2-dc-n{color:#a9c2bb;font-size:.74rem;line-height:1.3}.hv2-dc-n strong{color:#eef5f2}
.hv2-dc-bar{height:5px;border-radius:3px;background:rgba(255,255,255,.12);overflow:hidden}.hv2-dc-bar i{display:block;height:100%;background:var(--sc);border-radius:3px}
.hv2-dc-pc{color:var(--sc);font:800 .8rem Manrope,system-ui,sans-serif}
.hv2-dc-cont{display:flex;align-items:center;gap:6px;margin:4px -12px 0;padding:9px 12px;border-top:1px solid rgba(255,255,255,.08);background:rgba(0,0,0,.12)}
.hv2-dc-cont small{display:block;color:var(--sc);font:800 .64rem Manrope,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase}
.hv2-dc-cont em{display:block;font-style:normal;color:#eef5f2;font:700 .74rem Manrope,system-ui,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hv2-dc-cont > small + em{flex:1 1 auto}.hv2-dc-cont small:only-of-type{flex:1 1 auto}
.hv2-dc-cont{flex-wrap:wrap}.hv2-dc-cont i{margin-left:auto;color:var(--sc);font-style:normal;font-weight:800}
/* hero-carousel v2 (the Boss: one picture at a time, from the admin carousel, its heading below; no phone): a card like the live
   home gallery's, white figure ground, subject in small capitals and the heading under it */
.hv2-hcar{width:min(100%,480px);justify-self:center;align-self:center;cursor:pointer;border-radius:18px;overflow:hidden;background:#16332d;border:1px solid #2a4b44;box-shadow:0 20px 40px rgba(0,0,0,.35)}
.hv2-hcar-img{position:relative;aspect-ratio:4/3;background:#fff;overflow:hidden}
.hv2-hcar-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#fff;opacity:0;transition:opacity .9s;animation:none;padding:0}
.hv2-hcar-img img.on{opacity:1}
.hv2-hcar-cap{display:flex;flex-direction:column;gap:3px;padding:12px 16px 14px}
.hv2-hcar-sub{color:#7ff2c8;font:800 .7rem Manrope,system-ui,sans-serif;letter-spacing:.09em;text-transform:uppercase}
.hv2-hcar-tit{color:#eef5f2;font:700 1rem/1.3 Manrope,system-ui,sans-serif}
/* hero-carousel v2.1 (the Boss's screenshot of the live "Every question illustrated" card): the same white card, green subject, dark heading */
.hv2-hcar{background:#fff;border:1px solid #e1e8e5;border-radius:16px;box-shadow:0 10px 28px rgba(0,0,0,.18)}
.hv2-hcar-img{aspect-ratio:3/2;background:#fff}
.hv2-hcar-img img{background:#fff;padding:4% 0 0}
.hv2-hcar-cap{padding:14px 18px 18px;min-height:3.9rem;background:#fff}
.hv2-hcar-sub{color:#2E6B5E;font-size:.72rem;letter-spacing:.1em}
.hv2-hcar-tit{color:#16211e;font-size:1.05rem;font-weight:700;line-height:1.3}
.hv2-hcarwrap{width:min(100%,480px);justify-self:center;align-self:center}
.hv2-hcarwrap .hv2-hcar{width:100%}
.hv2-hcar-eyebrow{color:#a9c2bb;font:800 .74rem Manrope,system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;margin:0 0 10px 2px}
@media (prefers-reduced-motion:reduce){.hv2-hcar-img img{transition:none}}
/* showcase-remember v1: the Remember line reads as the explanation's blue box, in small */
.hv2-hcar-cap.rem{border-left:3px solid #3B6EA8;margin:0 16px 14px;padding:10px 12px;background:#EAF1FA;border-radius:0 10px 10px 0}
.hv2-hcar-cap.rem .hv2-hcar-sub{color:#2C5A8C}
.hv2-hcar-cap.rem .hv2-hcar-tit{font-size:.98rem;font-weight:600;color:#14243a}
.hv2-hcar-cap{transition:none}
/* live-hero v1: the live home's hero card on top, then v2; the Scroll phone alone, centred */
.hv2-hero.hv2-solo{grid-template-columns:1fr!important;justify-items:center;padding-top:8px}
html.hv2-home #main > .card.hero.hv2-livehero{margin-bottom:8px}
html.hv2-home #main > [hidden]{display:none!important}   /* live-hero v1: the live blocks v2 replaces stay hidden whatever their own display rule */
html.hv2-home .hv2 [hidden]{display:none!important}
/* live-top v2.1: of the live hero only the What's new pill, the number, the MentorQs and orange lines, the heading and the count block
   (#wyswrap: "You've answered N", the bar, "Under 1% of the bank · stacks · videos", "N to go"); a late redraw cannot bring the rest back */
html.hv2-home #main > .card.hero.hv2-livehero > :not(.relchip):not(.big):not(.biglabel):not(.bigsub):not(h1):not(#wyswrap):not(.getapps){display:none!important}   /* get-apps back in the hero (the Boss, 1 Nov) */
/* side-phone v1: the Scroll card is two columns (text + carousel left, the phone right, both centred); it stacks at <=820 px */
.hv2-scroll.hv2-show{align-items:center}
.hv2-scroll .hv2-showtext .hv2-hcarwrap{margin-top:18px;width:100%;max-width:440px}
@media (max-width:820px){.hv2-scroll .hv2-phonewrap{margin-top:18px}}
/* hero-box v1 (the Boss via Johnny, 31 Oct: "the top box doesn't look good without the border designs"): the live hero wears the app-box
   treatment in the house mint: a 15% -> 6% mint tint, a 42% mint border and a 5 px mint -> gold top stripe; 16 px corners like the cards */
html.hv2-home #main > .card.hero.hv2-livehero{position:relative;overflow:hidden;border-radius:16px!important;
  background:linear-gradient(180deg,color-mix(in srgb,#7ff2c8 15%,#16332d),color-mix(in srgb,#7ff2c8 6%,#16332d))!important;
  border:1px solid color-mix(in srgb,#7ff2c8 42%,#2a4b44)!important}
html.hv2-home #main > .card.hero.hv2-livehero::before{content:"";position:absolute;left:0;right:0;top:0;height:5px;background:linear-gradient(90deg,#7ff2c8,#e8b54b);pointer-events:none}
/* ios-play v1: the play button over the poster when autoplay is refused */
.hv2-vplay{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:3;width:64px;height:64px;border-radius:50%;border:0;background:rgba(0,0,0,.55);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 6px 18px rgba(0,0,0,.35)}
.hv2-vplay svg{width:30px;height:30px;fill:currentColor;margin-left:4px}
/* phone-first v1 (the Boss, 31 Oct: "in the mobile screen first, the phone should come before the showcase carousel"): at <=820 px the
   Scroll card reads text, then the phone, then the carousel (desktop keeps text + carousel left, phone right) */
@media (max-width:820px){
  .hv2-scroll.hv2-show{display:flex!important;flex-direction:column;align-items:flex-start;gap:0!important}
  .hv2-scroll .hv2-phonewrap,.hv2-scroll .hv2-showtext .hv2-hcarwrap{align-self:stretch}
  .hv2-scroll .hv2-showtext{display:contents}
  .hv2-scroll .hv2-phonewrap{order:2;margin:20px 0 0!important}
  .hv2-scroll .hv2-showtext .hv2-hcarwrap{order:3;margin:22px auto 0!important}
}
/* phone-first v1.1 (the Boss: "the phone should come after the sentence, part of the learner mode ... before the number of videos
   watched"): on phones the order is chip, heading, pitch, ticks, PHONE, videos watched, Get started, Open Scroll, carousel */
@media (max-width:820px){
  .hv2-scroll .hv2-showtext > *{order:3}
  .hv2-scroll .hv2-showtext > .hv2-chip,.hv2-scroll .hv2-showtext > h3,.hv2-scroll .hv2-showtext > .hv2-ttl,.hv2-scroll .hv2-showtext > p,.hv2-scroll .hv2-showtext > .hv2-ticks{order:1}
  .hv2-scroll .hv2-phonewrap{order:2;margin:14px 0 20px!important}
  .hv2-scroll .hv2-showtext .hv2-hcarwrap{order:4}
}
/* home-footer v1 (the Boss via Johnny, 31 Oct: the footer logo "nearly invisible" in light mode): the home is always dark green, so while
   html.hv2-home is set the footer shows the light wordmark (the header's) and reads in the home's ink; other screens keep their theme */
html.hv2-home body > footer{background:#0f2622!important;color:#a9c2bb!important;border-top-color:#2a4b44!important}
html.hv2-home body > footer .flogo .fl-onlight{display:none!important}
html.hv2-home body > footer .flogo .fl-ondark{display:block!important}
html.hv2-home body > footer .ftag,html.hv2-home body > footer .ftag-s{color:#a9c2bb!important}
html.hv2-home body > footer a,html.hv2-home body > footer .flinks a{color:#a9c2bb!important}
html.hv2-home body > footer a:hover{color:#eef5f2!important}
html.hv2-home body > footer small,html.hv2-home body > footer .fcopy,html.hv2-home body > footer .fine{color:#7f9a93!important}
html.hv2-home body > footer .rl-exam{background:#cfeee3;color:#16352f}

/* panel-icons v1 (the Boss approved Codex's large icons via Johnny, 31 Oct): each of the three panels has its icon left of its title;
   Scroll a tile (rounded square), Screen and Drill open line icons with a glow; 68 px on computers, 48 px on phones */
.hv2-ttl{display:flex;align-items:center;gap:16px;margin:.2rem 0 .1rem}
.hv2-ttl h3{margin:0!important}
.hv2-pico{width:68px;height:68px;flex:0 0 68px;display:block}
.hv2-pico-scroll{border-radius:25%;box-shadow:0 5px 14px rgba(0,0,0,.18)}
.hv2-pico-screen,.hv2-pico-drill{border-radius:50%;box-shadow:0 5px 14px rgba(0,0,0,.09)}
@media (max-width:560px){.hv2-ttl{gap:12px}.hv2-pico{width:48px;height:48px;flex-basis:48px}}

/* box-icons v1: 44 px app icons left of each home box title (40 px on phones) and on "From the blog" */
.hv2 .hv2-small h4{display:flex;align-items:center;gap:10px;flex-wrap:nowrap}
.hv2-sttl{display:flex;flex-wrap:wrap;align-items:center;gap:2px 8px;min-width:0}
.hv2-sico{width:44px;height:44px;flex:0 0 44px;border-radius:50%;display:inline-block;vertical-align:middle}
#hbhead{display:flex;align-items:center;gap:10px}
@media (max-width:560px){.hv2-sico{width:40px;height:40px;flex-basis:40px}}

/* app-icons v1.1: the Apps page card icon slot shows the new icon whole: the light variant in light mode, the dark file in dark mode */
.appbtn .ai.hv2-aico{background:transparent!important;border-radius:50%!important;padding:0!important;overflow:hidden;display:inline-flex;align-items:center;justify-content:center}
.appbtn .ai.hv2-aico img{width:100%;height:100%;display:block}
.appbtn .ai.hv2-aico .hv2-ai-d{display:none}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .appbtn .ai.hv2-aico .hv2-ai-d{display:block}:root:not([data-theme="light"]) .appbtn .ai.hv2-aico .hv2-ai-l{display:none}}
:root[data-theme="dark"] .appbtn .ai.hv2-aico .hv2-ai-d{display:block}
:root[data-theme="dark"] .appbtn .ai.hv2-aico .hv2-ai-l{display:none}

/* home-tone v1 (the Boss, 31 Oct 2026; Johnny's measure): the top of the home on the same dark base as the boxes and the bottom bar */
html.hv2-home body > header::before{background:#16332d!important;border-bottom:1px solid #2a4b44}
html.hv2-home #main > .card.hero.hv2-livehero{background-color:#16332d!important;
  background-image:linear-gradient(rgba(127,242,200,.04),rgba(127,242,200,.02))!important}
/* apps-three v1.1 (the Boss approved Johnny's tiles, 2 Nov 2026) */
html body .appbtn.app3.app3.app3d{--ap:#487B08;--aps:#EAF3DA}
html body .appbtn.app3.app3.app3s{--ap:#9A6A00;--aps:#F6EDD5}
html body .appbtn.app3.app3.app3k{--ap:#1740DF;--aps:#E4EAFE}
@media (prefers-color-scheme:dark){
:root:not([data-theme="light"]) body .appbtn.app3.app3.app3d{--ap:#C0EA49;--aps:#303B18}
:root:not([data-theme="light"]) body .appbtn.app3.app3.app3s{--ap:#F5D94E;--aps:#37321B}
:root:not([data-theme="light"]) body .appbtn.app3.app3.app3k{--ap:#6D94FF;--aps:#252F50}
}
:root[data-theme="dark"] body .appbtn.app3.app3.app3d{--ap:#C0EA49;--aps:#303B18}
:root[data-theme="dark"] body .appbtn.app3.app3.app3s{--ap:#F5D94E;--aps:#37321B}
:root[data-theme="dark"] body .appbtn.app3.app3.app3k{--ap:#6D94FF;--aps:#252F50}
html body .appshelf .appbtn.appbtn.appbtn.app3{background:linear-gradient(90deg,var(--ap) 0 4px,transparent 4px),linear-gradient(270deg,var(--ap) 0 3px,transparent 3px),linear-gradient(180deg,var(--card),color-mix(in srgb,var(--card) 96%,var(--ap)));background-origin:border-box;background-repeat:no-repeat}
:root[data-theme="dark"] body .appshelf .appbtn.appbtn.appbtn.app3{background:linear-gradient(90deg,var(--ap) 0 5px,transparent 5px),linear-gradient(180deg,var(--lift-top),var(--lift-bot))}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]) body .appshelf .appbtn.appbtn.appbtn.app3{background:linear-gradient(90deg,var(--ap) 0 5px,transparent 5px),linear-gradient(180deg,var(--lift-top),var(--lift-bot))}}
/* home-type v1 (the Boss, 6 Nov 2026: "the top part has smaller fonts and looks appropriate"): the rest of the home page
   follows the top part's scale; the Scroll/Screen/Drill showcase was the loudest part (16px text, headings above the page's h1) */
.hv2 h2{font-size:1.375rem}
.hv2-big{font-size:clamp(1.4rem,3vw,2.1rem)!important}
.hv2-showtext h3{font-size:clamp(1.2rem,2.2vw,1.55rem)}
.hv2-showtext p{font-size:.875rem}
.hv2-ticks{font-size:.82rem}
