/* FocusHour on the web: one stylesheet for every page (content/brand/website-brief.md).
   Tokens first (light, then dark), then the shared parts, then Practise, then the landing page. */

@font-face{font-family:"Plus Jakarta Sans";src:url(/fonts/PlusJakartaSans.woff2) format("woff2");font-weight:200 800;font-display:swap}

:root{
  --paper:#F7F3EC; --card:#FFFFFF; --ink:#17211C; --muted:#55625B; --line:#E4DDD0; --soft:#EFE9DE;
  --green:#0E7C5A; --deep:#0A3B2C; --mint:#3FD4AE; --indigo:#3D4DB7; --spark:#FFC24B;
  --blue:#2F6FBF; --red:#D9573F; --coral:#B4432B; --black:#17211C;
  --accent:var(--green); --on-accent:#FFFFFF; --eyebrow:#8A5800;
  --hintbg:#FDF1DA; --hintink:#5A3A00; --okbg:#E1F2EA; --okink:#0A4F39;
  --kibg:#EEF0FB; --kiink:#2B378A;
  --on-deep:#F7F3EC; --on-deep-muted:#B9D3C7; --stage:#FFFFFF;
  --head:"EB Garamond",Georgia,"Times New Roman",serif; --body:"Plus Jakarta Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  color-scheme:light;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --paper:#0E1311; --card:#151C19; --ink:#EDF2EE; --muted:#9DADA4; --line:#2A3530; --soft:#1B2420;
    --green:#3CC592; --deep:#123F30; --indigo:#9AA6FF;
    --blue:#6AA8F0; --red:#F07A62; --coral:#F28B74; --black:#EDF2EE;
    --on-accent:#0E1311; --eyebrow:#F5B53D;
    --hintbg:#33280F; --hintink:#F5DDA6; --okbg:#10301F; --okink:#A6E3C0;
    --kibg:#1C2142; --kiink:#C9D0FF; --stage:#E6EFEA;
    color-scheme:dark;
  }
}
:root[data-theme="dark"]{
  --paper:#0E1311; --card:#151C19; --ink:#EDF2EE; --muted:#9DADA4; --line:#2A3530; --soft:#1B2420;
  --green:#3CC592; --deep:#123F30; --indigo:#9AA6FF;
  --blue:#6AA8F0; --red:#F07A62; --coral:#F28B74; --black:#EDF2EE;
  --on-accent:#0E1311; --eyebrow:#F5B53D;
  --hintbg:#33280F; --hintink:#F5DDA6; --okbg:#10301F; --okink:#A6E3C0;
  --kibg:#1C2142; --kiink:#C9D0FF; --stage:#E6EFEA;
  color-scheme:dark;
}

/* ---------- base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--body);
  font-size:17px;line-height:1.5;padding-bottom:env(safe-area-inset-bottom,0px)}
h1,h2,h3{font-family:var(--head);font-stretch:112%;letter-spacing:-0.02em;margin:0}
h1{font-weight:700;font-size:32px;line-height:1.1;margin:8px 0}
h2{font-weight:700;font-size:20px;line-height:1.2}
p{margin:0 0 12px}
a{color:var(--accent);text-underline-offset:3px}
img,svg{max-width:100%}
button{font:inherit;color:inherit;cursor:pointer}
:focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-radius:6px}
[hidden]{display:none!important}
.muted{color:var(--muted)}
.small{font-size:16px}
.center{text-align:center}
.eyebrow{font:700 14px/1.2 var(--head);letter-spacing:.12em;text-transform:uppercase;color:var(--eyebrow)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- header (every page) ---------- */
.site{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:560px;margin:0 auto;
  padding:calc(12px + env(safe-area-inset-top,0px)) 16px 0}
.site.wide{max-width:1120px;padding-left:20px;padding-right:20px}
.site > a{display:flex;align-items:center;gap:9px;flex:none;min-height:44px;color:var(--ink);text-decoration:none;font:700 19px var(--head)}
.site > a img{width:34px;height:34px;border-radius:10px}
.site nav{display:flex;align-items:center;gap:6px}
.site nav a.nav{font:700 16px var(--head);color:var(--muted);text-decoration:none;padding:11px 8px;min-height:44px;display:inline-flex;align-items:center}
.site nav a.nav[aria-current="page"],.site nav a.nav:hover{color:var(--ink)}
.site .who{display:inline-block;max-width:34vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* ---------- buttons, cards, forms ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--green);color:var(--on-accent);border:0;
  border-radius:999px;font:700 17px var(--head);padding:12px 22px;min-height:48px;text-decoration:none;transition:transform .12s}
.btn:active{transform:scale(.98)}
.btn:hover{filter:brightness(1.06)}
button.opt:not(:disabled){cursor:pointer}
button.opt:not(:disabled):hover{border-color:var(--green)}
.btn:disabled{opacity:.6;cursor:default}
.btn.ghost{background:transparent;color:var(--ink);border:1.5px solid var(--line)}
.btn.wide{width:100%}
.btn.small{min-height:44px;padding:8px 16px;font-size:16px}
.link{background:none;border:0;padding:10px 0;min-height:44px;color:var(--accent);font-weight:700;text-decoration:underline;text-underline-offset:3px}
.link.small{font-size:16px}
.card{overflow-wrap:anywhere;background:var(--card);border:1px solid var(--line);border-radius:20px;padding:18px;margin:14px 0}
.row{display:flex;align-items:center;justify-content:space-between;gap:12px}
label{font-weight:700}
input[type=email],input[type=text],input[type=search],input#code,select,textarea{width:100%;font:17px var(--body);color:var(--ink);
  background:var(--paper);border:1.5px solid var(--line);border-radius:12px;padding:11px 12px;margin-top:6px;min-height:48px}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--green);box-shadow:0 0 0 3px color-mix(in srgb,var(--green) 25%,transparent)}
#code{letter-spacing:.3em;font-size:22px;text-align:center}
.err{color:var(--coral);font-weight:700;font-size:16px;margin:8px 0 0}
.err:empty{margin:0}

/* ---------- Practise, sign-in, account (narrow column) ---------- */
#app{max-width:560px;margin:0 auto;padding:16px 16px 48px}
/* the piste rail: rung markers graded like ski runs */
.rail{display:flex;align-items:center;margin:12px 0 6px}
.rail .seg{flex:1;height:3px;background:var(--line)}
.rail .seg.on{background:var(--ink)}
.mk{width:18px;height:18px;border-radius:50%;border:2.5px solid var(--c);background:transparent;flex:none}
.mk.d{border-radius:2px;transform:rotate(45deg);width:15px;height:15px;margin:0 2px}
.mk.done{background:var(--c)}
.mk.here{box-shadow:0 0 0 4px var(--paper),0 0 0 6px var(--c)}
.g{--c:var(--green)} .b{--c:var(--blue)} .r{--c:var(--red)} .k{--c:var(--black)}
.top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:4px}
.top .link{flex:none}
.settitle{text-align:right;line-height:1.3}
.rungname{font-weight:700;margin:10px 0 2px}
.timer{height:6px;background:var(--line);border-radius:3px;overflow:hidden;margin:10px 0 2px}
.timer i{display:block;height:100%;width:100%;background:var(--ink);transform-origin:left}
.timer.over i{background:var(--red)}
.fig{background:var(--card);border:1px solid var(--line);border-radius:14px;margin:12px 0;padding:4px}
.fig svg{display:block;width:100%;height:auto;max-height:42vh}
.ln{stroke:var(--ink);stroke-width:2.2;fill:none;stroke-linecap:round;stroke-linejoin:round}
.arc{stroke:var(--muted);stroke-width:1.5;fill:none}
.lb{fill:var(--ink);font-size:16px;font-family:inherit}
.lx{fill:var(--accent);font-size:17px;font-weight:700;font-family:inherit}
.ls{font-size:15px}
.nts{fill:var(--muted);font-size:12px;font-family:inherit}
.q{font-size:21px;line-height:1.3;font-weight:700;margin:14px 0}
.fr{display:inline-flex;flex-direction:column;align-items:center;vertical-align:middle;line-height:1.05;font-size:.92em;margin:0 3px}
.fr span:first-child{border-bottom:2px solid currentColor;padding:0 4px 1px}
.fr span:last-child{padding:1px 4px 0}
.opts{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.opts.one{grid-template-columns:1fr}
.opt{background:var(--card);border:1.5px solid var(--line);border-radius:14px;min-height:64px;font-size:21px;font-weight:700;padding:8px;
  display:flex;align-items:center;justify-content:center}
.opt:active{transform:scale(.98)}
.opt.text{font-size:17px;justify-content:flex-start;text-align:left;padding:12px 14px;min-height:56px}
.opt.no{opacity:.45;text-decoration:line-through;border-style:dashed;cursor:default}
.opt.yes{background:var(--okbg);border-color:var(--green);color:var(--okink)}
.opt.picked{border-color:var(--ink);border-width:2.5px}
.opt.wrong{background:var(--hintbg);border-color:var(--red);color:var(--hintink)}
.opt:disabled{cursor:default}
.q,.opt.text{white-space:pre-line}
.q u,.opt u{text-decoration-thickness:2px;text-underline-offset:3px}
sup{font-size:.68em;line-height:0}
sup .fr.sm{font-size:.95em;vertical-align:.95em;margin:0 1px}
sup .fr.sm span:first-child{border-bottom-width:1.5px;padding:0 2px 1px}
sup .fr.sm span:last-child{padding:1px 2px 0}
.opt > sup{align-self:flex-start;margin-top:.15em}
.opt > sup .fr.sm{vertical-align:baseline}
.hint{background:var(--hintbg);color:var(--hintink);border-radius:14px;padding:13px 15px;margin:14px 0 0}
.hint b{display:block;font-size:16px;margin-bottom:2px}
.ok{background:var(--okbg);color:var(--okink);border-radius:14px;padding:13px 15px;margin:14px 0 12px}
.sure{display:flex;gap:10px;margin-top:14px}
.sure .btn{flex:1}
.keyidea{border-left:3px solid var(--indigo);padding:4px 0 4px 12px;margin:10px 0;color:var(--muted);font-size:16px}
.progress-dots{display:flex;gap:6px;margin:8px 0 2px}
.progress-dots i{width:22px;height:5px;border-radius:3px;background:var(--line)}
.progress-dots i.on{background:var(--ink)}
.free{display:inline-block;font:700 14px/1 var(--head);letter-spacing:.12em;text-transform:uppercase;color:var(--eyebrow);margin-top:6px}
.today{background:var(--card);border:2px solid var(--green);border-radius:22px;padding:18px;margin:16px 0;position:relative}
.today .why{color:var(--muted);font-size:16px;margin:4px 0 12px}
.today .pal{position:absolute;right:12px;top:10px;width:56px;height:auto}
.today h2{padding-right:60px}
h2.section{font-size:16px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin:24px 0 4px}
.list .card{padding:12px 14px;margin:8px 0}
.list button.card{display:block;width:100%;text-align:left;font:inherit;color:inherit}
.card.mine{border:1.5px solid var(--green)}
details.topic{background:var(--card);border:1px solid var(--line);border-radius:16px;margin:8px 0;padding:0 14px}
details.topic summary{list-style:none;cursor:pointer;padding:13px 0;min-height:48px;font:700 17px var(--head);display:flex;justify-content:space-between;align-items:center}
details.topic summary::-webkit-details-marker{display:none}
details.topic .sub{display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid var(--line);padding:10px 0}
.pill{font:700 15px/1.2 var(--head);color:var(--muted)}
.end{text-align:center}
.end .rail,.end .hint{text-align:left}
.end .pal{display:block;width:150px;height:auto;margin:12px auto 0}
.end h1{margin-top:8px}
table{width:100%;border-collapse:collapse;font-size:16px}
th,td{text-align:left;padding:7px 6px;border-bottom:1px solid var(--line);vertical-align:top}
th{color:var(--muted);font-weight:400}
.scroll{overflow-x:auto}
.stat{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}
.stat div{border-top:2px solid var(--line);padding-top:6px}
.stat b{display:block;font-size:22px}
textarea.log{min-height:150px;font:15px/1.4 ui-monospace,Menlo,Consolas,monospace}
.join{background:var(--card);border:1.5px solid var(--green);border-radius:20px;padding:16px;margin:16px 0}
.join h2{margin-bottom:6px}
.join p{color:var(--muted);font-size:16px}
.join .row{margin-top:10px;flex-wrap:wrap}
.page-pal{display:block;width:120px;height:auto;margin:8px 0 0}

/* Practise: the signed-out sampler and the signed-in portal (the funnel, 12 Oct 2026) */
.setcard{display:flex!important;flex-direction:column;gap:4px;cursor:pointer;border:1.5px solid var(--line)}
.setcard:hover{border-color:var(--green)}
.setcard b{font:700 19px/1.25 var(--head)}
.progcard{cursor:pointer;border:1.5px solid var(--line)}
.progcard:hover{border-color:var(--green)}
.progcard .go,.setcard .go{color:var(--accent);font:700 16px var(--body);margin-top:4px}
.unlock{display:flex;gap:14px;align-items:center;background:var(--okbg);color:var(--ink);border-radius:22px;padding:18px;margin:18px 0 14px}
.unlock img{width:92px;height:auto;flex:none}
.unlock h2{margin:0 0 4px}
.unlock .btn{margin-top:10px}
.end-cta{text-align:left;margin-top:20px}
.end-cta + .btn{margin-top:4px}
.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}
.stats div{border-left:3px solid var(--green);padding:2px 0 2px 10px}
.stats b{display:block;font:700 26px/1.1 var(--head)}
.stats span{font-size:16px;color:var(--muted)}
.steps{background:var(--card);border:1px solid var(--line);border-radius:20px;padding:16px 18px;margin:14px 0}
.steps ol{list-style:none;padding:0;margin:8px 0 0;display:grid;gap:8px}
.steps li{display:flex;align-items:center;gap:10px;font-weight:600}
.steps .tick{width:22px;height:22px;border-radius:50%;border:2px solid var(--line);flex:none}
.steps li.did{color:var(--muted);text-decoration:line-through}
.steps li.did .tick{background:var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;border-color:var(--green)}
.tablet{background:var(--deep);color:#F2FBF7;border-radius:22px;padding:18px;margin:18px 0}
.tablet .eyebrow{color:#3FD4AE}
.tablet h2{margin:6px 0 6px}
.tablet p{color:#C9E2D8}
.tablet .btn{background:#3FD4AE;color:#0A3B2C;margin-top:4px}
.tablet.done{background:var(--okbg);color:var(--okink)}
.tablet.done p{color:var(--okink)}
.tablet.done .eyebrow{color:var(--okink)}
#app .form{margin-top:14px}
.nextbtn{margin-top:12px}
details.why{margin:10px 0 0}
details.why summary{cursor:pointer;list-style:none;color:var(--accent);font-weight:700;min-height:44px;display:inline-flex;align-items:center}
details.why summary::-webkit-details-marker{display:none}
.steplink{display:flex;align-items:center;gap:10px;width:100%;background:none;border:0;padding:6px 0;min-height:44px;text-align:left;font:600 17px var(--body);color:var(--accent);cursor:pointer}
.steplink:hover{text-decoration:underline}
#demo-out .btn{margin-top:2px}

/* The student area as a programme (Fable, 12 Oct 2026) */
:focus:not(:focus-visible){outline:none}
/* A screen's heading takes focus so screen readers start there; it isn't a control, so no ring. */
[tabindex="-1"]:focus{outline:none}
.stepkey{list-style:none;padding:0;margin:4px 0 14px;display:flex;flex-wrap:wrap;gap:4px 10px;font-size:15px;color:var(--muted);justify-content:center}
.stepkey li{counter-increment:sk}
.stepkey li::before{content:counter(sk) " ";font-weight:700}
.stepkey{counter-reset:sk}
.stepkey li.here{color:var(--ink);font-weight:700}
.weekline{font-size:16px;color:var(--muted);margin:2px 0 12px}
.weekline b{color:var(--ink);margin-right:4px}
.steps li.todo{color:var(--muted)}
.navrow{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0}
.navcard{display:flex!important;flex-direction:column;gap:2px;text-align:left;cursor:pointer;border:1.5px solid var(--line);margin:0;position:relative;padding:14px 16px}
.navcard:hover{border-color:var(--green)}
.navcard b{font:700 17px var(--head)}
.navcard .go{position:absolute;right:14px;top:14px;color:var(--accent);font-weight:700}
.tabs{display:inline-flex;background:var(--soft);border-radius:999px;padding:4px;margin:6px 0 12px}
.tab{border:0;background:none;border-radius:999px;padding:8px 18px;min-height:40px;font:700 16px var(--body);color:var(--muted);cursor:pointer}
.tab[aria-pressed="true"]{background:var(--card);color:var(--ink);box-shadow:0 2px 6px -3px rgba(0,0,0,.3)}
.search{display:block;margin:0 0 12px}
details.topic summary .tstate{font:600 16px var(--body);color:var(--muted)}
details.topic summary::after{content:"";width:9px;height:9px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg);margin:0 4px 4px 12px;flex:none;transition:transform .2s}
details.topic[open] summary::after{transform:rotate(-135deg);margin-bottom:-4px}
details.topic summary > span:first-child{flex:1}
button.sub{width:100%;background:none;border:0;border-top:1px solid var(--line);text-align:left;font:inherit;color:inherit;cursor:pointer;padding:12px 0}
button.sub .go{color:var(--accent);font-weight:700}
button.sub:hover .go{transform:translateX(3px)}
.bests{list-style:none;padding:0;margin:6px 0 4px;display:grid;gap:6px;font-size:16px}
.strength{display:grid;gap:8px;margin:6px 0}
.strength .bar{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) 3.2em;gap:10px;align-items:center;font-size:16px}
.strength .bar i{display:block;height:10px;border-radius:5px;background:linear-gradient(90deg,var(--green) var(--w),var(--line) var(--w))}
.strength .bar b{text-align:right;font-weight:700}
.logrow{display:grid;grid-template-columns:2.6em minmax(0,1fr) auto 1em;gap:8px;align-items:center;width:100%;background:var(--card);border:1px solid var(--line);
  border-radius:14px;padding:11px 12px;margin:6px 0;text-align:left;font:inherit;color:inherit;cursor:pointer;min-height:48px}
.logrow:hover{border-color:var(--green)}
.logrow .d{font-weight:700;color:var(--muted);font-size:16px}
.logrow .t{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.logrow .r{font-size:16px;color:var(--muted);white-space:nowrap}
.logrow .go{color:var(--accent);font-weight:700}

/* ---------- landing page (direction B: bright and bold) ---------- */
.wrap{max-width:1160px;margin:0 auto;padding:0 24px}
.band{padding:88px 0}
.band.white{background:var(--card)}
.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;align-items:center}
.split.flip > :first-child{order:2}
.split.atop{align-items:start}
.lede{font-size:19px;line-height:1.55;color:var(--muted);max-width:32em}
.band h2{font-size:clamp(32px,4.6vw,52px);font-weight:700;line-height:1.05;letter-spacing:-0.02em;margin:12px 0 16px}
.tag{display:block;font:700 15px/1.3 var(--body);letter-spacing:.1em;text-transform:uppercase;color:var(--okink)}
.ticks{list-style:none;padding:0;margin:20px 0 0;display:grid;gap:10px}
.ticks li{display:flex;gap:10px;align-items:flex-start}
.ticks li::before{content:"";flex:none;width:22px;height:22px;margin-top:1px;border-radius:50%;
  background:var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat}

/* hero: deep green, header on it */
.herotop{background:var(--deep)}
.hero{background:var(--deep);color:#F2FBF7;padding-bottom:96px;overflow:hidden}
.herotop .site{color:#F2FBF7}
.herotop .site > a{color:#F2FBF7}
.herotop .site nav a.nav{color:#B9D3C7}
.herotop .site nav a.nav:hover,.herotop .site nav a.nav[aria-current="page"]{color:#fff}
.herotop :focus-visible{outline-color:#FFC24B}
.herotop .site .btn.small{background:none;color:#F2FBF7;border:1.5px solid rgba(255,255,255,.35)}
.hero .split{padding-top:56px}
.hero h1{font-size:clamp(46px,7.4vw,88px);line-height:.94;font-weight:700;letter-spacing:-0.025em;margin:0 0 22px}
.hero h1 span{display:block}
.hero h1 .click{color:#3FD4AE}
.hero .lede{color:#C9E2D8;margin-bottom:22px}
.for{color:#BFF3E3;font:700 16px/1.5 var(--body);margin:0 0 28px}
.ctas{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.hero .btn{background:#3FD4AE;color:#0A3B2C}
.hero .btn.ghost{background:none;color:#F2FBF7;border:1.5px solid rgba(255,255,255,.35)}
.hero :focus-visible{outline-color:#FFC24B}
.stage{position:relative;max-width:540px;margin-left:auto;background:#3FD4AE;border-radius:40px;padding:28px}
.stage .shot{display:block;width:100%;height:auto;border-radius:18px;aspect-ratio:1000/768;box-shadow:0 30px 50px -22px rgba(0,0,0,.5)}
.moods{position:absolute;right:-22px;top:-44px;width:178px;background:#FFC24B;color:#17211C;border-radius:30px;padding:10px 10px 8px;
  transform:rotate(4deg);box-shadow:0 18px 30px -18px rgba(0,0,0,.5)}
.moods .pics{position:relative;aspect-ratio:640/500}
.moods .pics img{position:absolute;inset:0;width:100%;height:100%;opacity:0}
.moods .pics img:nth-child(3),.moods .caps span:nth-child(3){opacity:1}
.moods.anim .pics img,.moods.anim .caps span{opacity:0;animation:mood 12s infinite}
.moods .caps{position:relative;height:24px;text-align:center;font:700 17px/24px var(--head)}
.moods .caps span{position:absolute;inset:0;opacity:0;white-space:nowrap}
/* Delays must out-rank the animation shorthand above, which resets them (owner, 12 Oct 2026: "doesn't continue"). */
.moods.anim .pics > :nth-child(2),.moods.anim .caps > :nth-child(2){animation-delay:3s}
.moods.anim .pics > :nth-child(3),.moods.anim .caps > :nth-child(3){animation-delay:6s}
.moods.anim .pics > :nth-child(4),.moods.anim .caps > :nth-child(4){animation-delay:9s}
@keyframes mood{0%{opacity:0} 3%,25%{opacity:1} 28%,100%{opacity:0}}
.moods.paused .pics img,.moods.paused .caps span,.moods.off .pics img,.moods.off .caps span{animation-play-state:paused}
.moods .pause{position:absolute;left:2px;top:2px;width:44px;height:44px;border:0;background:transparent;border-radius:50%;
  display:flex;align-items:center;justify-content:center;color:#17211C}
.hero .moods .pause:focus-visible{outline:3px solid #17211C;outline-offset:0}
.moods .pause svg{width:16px;height:16px}
.moods .pause .play{display:none}
.moods.paused .pause .play{display:block}
.moods.paused .pause .bars{display:none}

/* spare minutes: a rung on a phone */
.phonebox{padding:8px 0}
.phone{width:300px;max-width:100%;margin:0 auto;display:block;background:#17211C;border-radius:44px;padding:11px;box-shadow:0 30px 50px -24px rgba(10,30,60,.55)}
.phone .screen{background:#F7F3EC;color:#17211C;border-radius:34px;padding:22px 16px 18px;min-height:460px;
  --paper:#F7F3EC;--card:#fff;--line:#E4DDD0;--ink:#17211C;--muted:#55625B;--hintbg:#FDF1DA;--hintink:#5A3A00;
  --green:#0E7C5A;--blue:#2F6FBF;--red:#D9573F;--black:#17211C}
.phone .rail{margin:6px 0 4px}
.phone .rail .mk{transition:background .3s,box-shadow .3s}
.phone .rungname{font:700 16px var(--body);color:var(--muted);margin:2px 0 12px}
.phone .q{font-size:17px;margin:0 0 12px}
.phone .opt{font-size:16px;min-height:50px;width:100%;margin:0 0 8px}
.phone .hint{font-size:16px;margin-top:4px}
.demo-opts .opt{text-align:left}
.demo-opts .opt:disabled{opacity:1}
#demo-out .ok,#demo-out .hint{margin:4px 0 10px;font-size:16px}
#demo-out a{font-weight:700}
.slipname{display:inline-block;background:#fff;color:#5A3A00;border-radius:999px;padding:2px 10px;font:700 14px var(--body);margin-bottom:6px}

/* tests */
.tests{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 28px;margin-top:28px}
.test{border-top:2px solid var(--line);padding:16px 0 18px}
.test.lead{border-top-color:var(--green)}
.test h3{font:700 26px/1 var(--head);letter-spacing:-0.02em}
.test .name{color:var(--muted);font-size:16px;margin:6px 0 12px}
.test .st{font:700 16px var(--body);color:var(--green)}
.test.soon h3{font-size:22px;color:var(--muted)}
details.more{margin-top:18px}
details.more summary{cursor:pointer;font:700 16px var(--body);color:var(--accent);min-height:44px;display:inline-flex;align-items:center;list-style:none}
details.more summary::-webkit-details-marker{display:none}
details.more summary::after{content:"+";margin-left:8px}
details.more[open] summary::after{content:"−"}
details.more p{font-size:16px;color:var(--muted);max-width:44em}

/* parents: an example report */
.report{background:var(--card);border:1px solid var(--line);border-radius:28px;padding:22px;box-shadow:0 30px 60px -40px rgba(10,59,44,.5)}
.report .rhead{display:flex;justify-content:space-between;align-items:baseline;gap:10px;border-bottom:1px solid var(--line);padding-bottom:10px;margin-bottom:14px}
.report .rhead b{font:700 19px var(--head)}
.report .nums{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:14px}
.report .nums div{border-left:3px solid var(--line);padding:2px 0 2px 12px}
.report .nums b{display:block;font:700 26px var(--head);letter-spacing:-0.02em}
.report .nums span{font-size:16px;color:var(--muted)}
.report h3{font:700 14px var(--body);letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:14px 0 6px}
.report .work{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:start;font-size:16px}
.report .work img{width:100%;height:auto;border-radius:12px;border:1px solid var(--line);background:#fff;aspect-ratio:400/538}
.report .todo{margin:0;padding-left:20px;font-size:16px}
.example{font-size:16px;color:var(--muted);margin:10px 2px 0}

/* free and invite only */
.plans{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;margin-top:36px}
.plan{border-radius:28px;padding:26px}
.plan.pfree{background:var(--card);border:1px solid var(--line)}
.plan.pinv{background:var(--deep);color:#F2FBF7}
.plan h3{font:700 28px/1.05 var(--head);letter-spacing:-0.02em;margin:10px 0 8px}
.plan .who{font-size:16px;color:var(--muted);margin:0 0 16px}
.plan.pinv .who{color:#B9D3C7}
.plan.pinv .tag{color:#3FD4AE}
.plan.pinv .ticks li::before{background-color:#3FD4AE}
.plan .btn{margin-top:22px}
.plan.pinv .btn{background:#3FD4AE;color:#0A3B2C}

/* ask for access */
.form{display:grid;gap:16px}
.form .two{display:grid;grid-template-columns:1fr 1fr;gap:14px}
fieldset{border:0;padding:0;margin:0;min-width:0}
legend{font-weight:700;padding:0;margin-bottom:8px}
.choices{display:flex;flex-wrap:wrap;gap:8px}
.choice{position:relative;font-weight:700}
.choice input{position:absolute;opacity:0;width:1px;height:1px}
.choice span{display:inline-flex;align-items:center;min-height:44px;padding:8px 16px;border:1.5px solid var(--line);border-radius:999px;background:var(--card);cursor:pointer}
.choice input:checked + span{background:var(--okbg);border-color:var(--green);color:var(--okink)}
.choice input:focus-visible + span{outline:3px solid var(--accent);outline-offset:2px}
.form textarea{min-height:90px;resize:vertical}
.opt-label{font-weight:400;color:var(--muted)}
.trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.consent{font-size:16px;color:var(--muted);margin:0}
.form-error{color:var(--coral);font-weight:700;margin:0}
.thanks{background:var(--okbg);color:var(--okink);border-radius:28px;padding:26px}
.thanks h3{font:700 28px var(--head);margin:6px 0 8px}
.thanks .eyebrow{color:var(--okink)}
.askpal{width:180px;height:auto;display:block;margin-top:22px}
.askrow{margin-top:72px;scroll-margin-top:24px}
.askh{font:700 28px/1.1 var(--head);letter-spacing:-0.02em;margin:0 0 10px}
.nosign{font-size:16px;color:#B9D3C7;margin:14px 0 0}

footer.foot{background:var(--deep);color:#B9D3C7;padding:32px 0 calc(32px + env(safe-area-inset-bottom,0px));font-size:16px}
footer.foot a{color:#F2FBF7;display:inline-block;padding:12px 4px}
footer.foot .wrap{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}

@media (max-width:1000px){
  .tests{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:900px){
  .split{grid-template-columns:minmax(0,1fr);gap:40px}
  .split.flip > :first-child{order:0}
  .stage{margin:20px auto 0;max-width:480px;padding:20px}
  .moods{right:-6px;top:-40px;width:150px}
  .band{padding:64px 0}
  .plans{grid-template-columns:minmax(0,1fr)}
  .askpal{display:none}
}
@media (max-width:560px){
  .wrap,.site.wide{padding-left:16px;padding-right:16px}
  .hero{padding-bottom:64px}
  .hero .split{padding-top:32px}
  .tests{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}
  .form .two{grid-template-columns:minmax(0,1fr)}
  .stage{margin-top:96px}
  .moods{width:144px;top:-124px;right:10px;border-radius:22px}
  .moods .caps{font-size:16px}
  .report .nums b{font-size:21px}
  .report .work{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:380px){
  .site{gap:6px}
  .site > a{font-size:17px;gap:7px}
  .site > a img{width:30px;height:30px}
  .site nav{gap:2px}
  .site nav a.nav{padding:11px 5px;font-size:16px}
  .site .who{max-width:22vw}
  .site .btn.small{padding:8px 12px;font-size:16px}
}

/* ---------- the tour (Fable's storyboard, docs/research/website-tour-storyboard-2026-10-12.md) ----------
   Each scene shows one why-point; the mascot (drawn inline from img/mascot/moods.json by landing.js) changes pose with
   the story. Under reduced motion, or Save-Data, every scene is a complete still. */
.scene{padding:96px 0;position:relative}
.scene.alt{background:var(--card)}
.scene h2{font-size:clamp(32px,4.6vw,54px);font-weight:700;line-height:1.05;letter-spacing:-0.02em;margin:12px 0 16px;max-width:15em}
body.tour .herotop,body.tour .hero,body.tour footer{position:relative;z-index:2}
/* Mascots lean past their boxes on purpose; the page never scrolls sideways for it. clip (not hidden) keeps the
   tablet scene's sticky pin working. */
body.tour main{overflow-x:clip}

/* the mascot */
.pal{position:relative;width:200px;aspect-ratio:640/500}
.pal > img,.pal > svg{position:absolute;inset:0;width:100%;height:100%;transition:opacity .35s ease}
.pal svg.out{opacity:0}
.pal.big{width:min(340px,80%);margin:0 auto}
.pal.side{position:absolute;left:0;bottom:0;width:180px;z-index:3}
.say.beat-say{position:absolute;left:0;bottom:150px;width:180px;max-width:180px;margin:0}
.say.beat-say::before{left:auto;right:30px;top:auto;bottom:-9px;transform:rotate(225deg)}
.pal.mid{width:170px}
.pal.corner{position:absolute;right:-30px;bottom:-26px;width:150px;z-index:3}
.pal.wave{width:150px;flex:none}
.pal.in{animation:palin .32s cubic-bezier(.2,.7,.2,1) both}
@keyframes palin{from{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}
.pal svg [data-part="eyes"]{transform-box:fill-box;transform-origin:center;animation:blink 5.5s infinite}
/* The layers carry their own transform attribute (their place in the drawing); animating `transform` would replace it
   and throw them out of place (owner, 12 Oct 2026: eyes above the glasses). `scale` and `rotate` add to it instead. */
@keyframes blink{0%,95%,100%{scale:1 1}97%{scale:1 .1}}
.say{position:relative;display:inline-block;background:var(--card);color:var(--ink);border:2px solid var(--ink);border-radius:18px;
  padding:9px 14px;font:700 16px/1.35 var(--body);max-width:260px;margin:10px 0 0}
.scene.alt .say{background:var(--paper)}
.say::before{content:"";position:absolute;left:24px;top:-9px;width:14px;height:14px;background:inherit;border-left:2px solid var(--ink);border-top:2px solid var(--ink);transform:rotate(45deg)}

/* the footage's own play/pause (phones), and one page-wide pause for the mascots' motion (the hero's button) */
.tour-ipad{position:relative}
body.calm .pal.live > svg,body.calm .pal svg [data-part]{animation-play-state:paused!important}

/* "where they are": the line that opens the tablet, coach and phone scenes */
.scene.where{padding-bottom:0;text-align:center}
.scene.where h2{margin-left:auto;margin-right:auto}
.scene.where + .scene{padding-top:56px}

/* scene 3: the tablet, pinned while the attempt plays */
/* Pinned only while the script scrubs it (wide screens with motion); otherwise an ordinary scene. */
.scene.pin.scrub{padding:0;height:260vh}
#s-focus.scrub{height:320vh}
#s-load.scrub{height:280vh}
.scene.pin.scrub .sticky{position:sticky;top:0;height:100vh;height:100svh;display:flex;align-items:center}   /* svh: the screen left by the browser's bars */
.scene.pin.scrub .sticky > .wrap{width:100%}
/* The guide stands in reserved room beside the tablet, never off screen (Codex, 12 Oct 2026). */
.tabletbox{position:relative;max-width:calc(min(360px,62vh) + 190px);padding-left:190px;margin:0 0 0 auto}
.tour-ipad{background:#1B2320;border-radius:30px;padding:11px;box-shadow:0 30px 60px -30px rgba(10,59,44,.5)}
.tour-ipad img,.tour-ipad video{display:block;width:100%;height:auto;aspect-ratio:560/806;border-radius:20px;background:#F5F1EA}
.beats{list-style:none;padding:0;margin:8px 0 18px;display:grid;gap:12px;counter-reset:b}
.beats li{position:relative;padding:10px 0 10px 46px;color:var(--muted);font-size:18px;transition:color .3s}
.beats li::before{counter-increment:b;content:counter(b);position:absolute;left:0;top:8px;width:32px;height:32px;border-radius:50%;
  border:2px solid var(--line);display:flex;align-items:center;justify-content:center;font:700 16px var(--head);transition:all .3s}
.beats li b{color:var(--ink)}
.beats li.on{color:var(--ink)}
.beats li.on::before{background:var(--green);border-color:var(--green);color:var(--on-accent)}

/* scene 4: the right load */
.loadbox{position:relative;max-width:440px;margin:0 auto;padding:30px 26px 18px;border-radius:28px;box-shadow:0 30px 60px -40px rgba(10,59,44,.5)}
.loadnote{text-align:center;font:700 18px var(--head);min-height:1.4em;margin:0 0 14px}
.meter{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:22px}
.meter span{display:block;text-align:center;font:700 16px var(--body);color:var(--muted);padding:34px 0 0;border-top:10px solid var(--line);border-radius:6px}
.meter span:nth-child(1){border-top-color:#A6E3C0}.meter span:nth-child(2){border-top-color:#3FD4AE}.meter span:nth-child(3){border-top-color:#0E7C5A}
.meter .mark{position:absolute;top:-10px;left:calc(var(--lv,1) * 33.33% + 16.66% - 13px);width:26px;height:26px;border-radius:50%;
  background:var(--ink);border:4px solid var(--card);transition:left .3s cubic-bezier(.2,.7,.2,1)}
.reps{display:flex;gap:10px;justify-content:center;margin:0 0 18px}
.reps i{width:26px;height:26px;border-radius:50%;border:2px dashed var(--line);display:block}
.reps i.shown.y{border:0;background:#0E7C5A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat}
.reps i.shown.n{border:0;background:#B4432B url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 6l8 8M14 6l-8 8' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/18px no-repeat}
.loadbox .pal{margin:0 auto}

/* scene 5: the phone takes over */
#s-phone .phonebox{position:relative}
#s-phone .phone{transition:transform .35s cubic-bezier(.2,.7,.2,1),opacity .35s}
#s-phone.pre .phone{transform:translateX(24px);opacity:0}
.say.corner{position:absolute;right:120px;bottom:-12px;z-index:3}
.say.corner::before{left:auto;right:-9px;top:14px;transform:rotate(135deg)}

/* scene 6: tests rise in turn */
.tests.rise .test{transition:transform .32s cubic-bezier(.2,.7,.2,1),opacity .32s}
#s-tests.pre .tests.rise .test{opacity:0;transform:translateY(12px)}
.tests.rise .test:nth-child(2){transition-delay:.05s}.tests.rise .test:nth-child(3){transition-delay:.1s}
.tests.rise .test:nth-child(4){transition-delay:.15s}.tests.rise .test:nth-child(5){transition-delay:.2s}
.tests.rise .test:nth-child(6){transition-delay:.25s}

/* scene 7: the parent's report */
.palrow{display:flex;align-items:center;gap:10px;margin-top:18px}
.palrow .say{margin:0}
.palrow .say::before{left:-9px;top:20px;transform:rotate(-45deg)}
.reportbox .report{transition:transform .32s cubic-bezier(.2,.7,.2,1),opacity .32s}
#s-parents.pre .reportbox .report{transform:translateY(12px);opacity:0}

/* scene 8: close */
.closehead{display:flex;align-items:center;justify-content:space-between;gap:16px}

@media (max-width:900px){
  .scene{padding:64px 0}
  .tabletbox{max-width:320px;margin-top:8px}
  .tabletbox{display:flex;flex-direction:column;align-items:flex-start;padding-left:0;max-width:320px}
  .pal.side{position:relative;left:auto;bottom:auto;width:120px;order:-2;margin:0 0 -6px 4px}
  .say.beat-say{position:relative;left:auto;bottom:auto;width:auto;max-width:none;order:-1;margin:0 0 12px}
  .say.beat-say::before{left:24px;right:auto;top:-9px;bottom:auto;transform:rotate(45deg)}
  #s-tablet .tour-ipad{width:100%}
  .pal.corner{right:-6px;bottom:-30px;width:120px}
  .say.corner{position:relative;right:auto;bottom:auto;margin-top:16px}
  .say.corner::before{left:24px;right:auto;top:-9px;transform:rotate(45deg)}
}
@media (max-width:560px){
  .pal.big{width:240px}
  .pal.wave{width:110px}
}

/* Motion is decoration: under reduced motion every animation stops on its most telling frame. */
@media (prefers-reduced-motion: reduce){
  *{transition:none!important;animation:none!important}
  .moods .pics img,.moods .caps span{opacity:0}
  .moods .pics img:nth-child(3),.moods .caps span:nth-child(3){opacity:1}
  .moods .pause{display:none}
}

/* the coach: a real Ask coach reply to the screen beside it (maths only; owner, 12 Oct 2026) */
.coachshot img{display:block;width:100%;height:auto;border-radius:18px;box-shadow:0 30px 50px -24px rgba(10,59,44,.45)}
.coachcard{background:var(--card);border:1px solid var(--line);border-radius:22px;padding:20px 22px;margin:18px 0 12px;max-width:30em}
.coachlab{display:block;font:700 14px var(--body);letter-spacing:.08em;text-transform:uppercase;color:var(--okink);margin-bottom:8px}
.coachcard .nudge{font:600 21px/1.4 var(--head);margin:0}

/* the coach: the app's own screen zooms into Ask coach, then across to the coach's card (scrubbed by the scroll) */
.zoombox{width:100%;max-width:min(460px,52vh);margin:0 auto}
.zoomipad{background:#17211C;border-radius:30px;padding:11px;box-shadow:0 30px 60px -30px rgba(10,59,44,.5)}
.zoomview{position:relative;overflow:hidden;border-radius:20px;aspect-ratio:1200/1727;background:#F5F1EA}
.zplane{position:absolute;inset:0;transform-origin:0 0}
.zplane img{position:absolute;inset:0;width:100%;height:100%;display:block}
.zb{transition:opacity .35s}
.tap{position:absolute;left:37.6%;top:88.4%;width:24%;height:5.6%;translate:-50% -50%;border:3px solid #FFC24B;border-radius:999px;opacity:0;transition:opacity .2s}
.tap.on{opacity:1;animation:tap 1s ease-out infinite}
@keyframes tap{0%{scale:1}100%{scale:1.25;opacity:.2}}
@media (max-width:900px){ .zoombox{max-width:340px} }
#s-coach.scrub{height:320vh}

/* Focus, told in three beats while the scroll holds the scene (owner, 12 Oct 2026: show the distraction, don't just
   fade it): pings stack on a phone on the desk and it buzzes; the phone goes face down; the mascot locks in and the
   hour fills. The finished state (phone down, locked in, the hour full, all three lines) is the HTML's. */
.fstage{position:relative;width:100%;max-width:520px;margin:0 auto;padding-top:56px}
.fpal{width:72%;aspect-ratio:640/500}
.fpal > img,.fpal > svg{position:absolute;inset:0;width:100%;height:100%}
.fphone{position:absolute;right:2%;bottom:6%;width:27%;aspect-ratio:9/17;background:#17211C;border-radius:18px;padding:5px;
  transition:transform .5s cubic-bezier(.3,.7,.2,1);box-shadow:0 18px 30px -16px rgba(0,0,0,.45)}
.fscreen{position:relative;height:100%;border-radius:13px;background:#E9F4EF;padding:8px 5px;display:flex;flex-direction:column;gap:5px;overflow:hidden;transition:background .4s}
.fscreen span{background:#fff;color:#17211C;border-radius:8px;padding:5px 6px;font:700 11px/1.2 var(--body);box-shadow:0 2px 6px rgba(0,0,0,.12);
  transition:opacity .3s,transform .3s}
.fphone.live .fscreen span{opacity:0;transform:translateY(-8px)}
.fphone.live .fscreen span.on{opacity:1;transform:none}
.fphone.buzz{animation:buzz .35s linear}
@keyframes buzz{20%{rotate:-5deg}40%{rotate:5deg}60%{rotate:-3deg}80%{rotate:2deg}}
.fphone.down{transform:translate(-14%,12%) rotate(-74deg) scale(.82)}
.fphone.down .fscreen{background:#0E1512}
.fphone.down .fscreen span{opacity:0!important}
.hourring{position:absolute;right:4%;top:0;display:flex;align-items:center;gap:8px;font:700 16px var(--body);color:var(--muted);transition:opacity .4s}
.hourring svg{width:44px;height:44px;rotate:-90deg}
.hourring circle{fill:none;stroke-width:5}
.hourring .track{stroke:var(--line)}
.hourring .fill{stroke:var(--green);stroke-dasharray:100;stroke-dashoffset:calc(100 - var(--hour,1) * 100);stroke-linecap:round}
.fstage.early .hourring{opacity:0}
.lines span{display:block;transition:opacity .4s,color .4s}
.lines .l0{color:var(--muted)}
#s-focus.live .lines span{opacity:0}
#s-focus.live .lines span.on{opacity:1}
#s-focus.live .lines .l0.now{color:var(--ink)}
@media (max-width:900px){ .fstage{max-width:400px} }

/* The climb: an example SAT goal (not a result), the score rising with the scroll. --sc is 0 at 1060, 1 at 1450. */
#s-climb.scrub{height:240vh}
.climb{position:relative;max-width:460px;width:100%;margin:0 auto;padding-bottom:120px}
.climb .score{display:flex;align-items:baseline;gap:12px}
.climb .num{font:800 clamp(64px,9vw,112px)/1 var(--head);font-stretch:112%;letter-spacing:-0.03em;color:var(--ink);font-variant-numeric:tabular-nums}
.climb .score span{font:700 18px var(--body);color:var(--muted)}
.climb .track{position:relative;height:14px;border-radius:99px;background:var(--line);margin:28px 0 40px}
.climb .fillbar{position:absolute;left:0;top:0;bottom:0;border-radius:99px;background:var(--green);width:calc((660 + var(--sc,1) * 390) / 1200 * 100%)}
.climb .from{position:absolute;top:-6px;width:3px;height:26px;background:var(--ink);left:calc(660 / 1200 * 100%)}
.climb .track span{position:absolute;top:24px;translate:-50% 0;font:700 15px var(--body);color:var(--muted)}
.climb .t0{left:0;translate:0 0!important}.climb .t1{left:55%}.climb .t2{left:87.5%;color:var(--green)!important}.climb .t3{right:0;left:auto;translate:0 0!important}
.climbpal{position:absolute!important;right:0;bottom:0;width:170px}

/* The opening is a sentence now, not three words: a size that keeps it to three or four lines. */
.hero h1{font-size:clamp(36px,4.8vw,62px);line-height:1.02}

/* The opening holds while the scroll plays the mascot's moods (stuck, try another way, it clicks, earned); no timer
   (owner, 12 Oct 2026: tie it all to the scroll). Without the script it rests on "It clicks." */
.hero.scrub{height:190vh;padding-bottom:0;overflow:clip}   /* hidden would stop the sticky hold */
.hero.scrub > .sticky{position:sticky;top:0;min-height:100vh;display:flex;align-items:center;padding-bottom:40px}
.hero.scrub > .sticky > .wrap{width:100%}
.moods.scroll .pics img,.moods.scroll .caps span{opacity:0;transition:opacity .3s}
.moods.scroll .pics img.on,.moods.scroll .caps span.on{opacity:1}
.hero h1 span{display:inline}
.hero .lede b{color:#F2FBF7;font-weight:700;font-size:clamp(20px,1.8vw,24px)}

/* Every scene reads heading first, then its picture: on the left on wide screens, above on phones (owner, 12 Oct
   2026). The held tablet fits a phone's screen. */
.scene .split > :has(> .tag){order:-1}
@media (max-width:900px){
  #s-tablet .tabletbox{max-width:min(300px,calc((100vh - 330px) / 1.45));max-width:min(300px,calc((100svh - 330px) / 1.45))}
  #s-tablet .beats{display:none}   /* the guide's comments tell the three steps here */
}
#s-phone.scrub{height:440vh}

/* The phone scene fits one screen while it holds (owner, 12 Oct 2026: "still messy"): no card behind it, and on phones
   a smaller phone with tighter text and no mascot. */
#s-phone .btnrow{margin-top:20px}
@media (max-width:900px){
  #s-phone .split{gap:20px}
  #s-phone .phone{width:min(250px,64vw);border-radius:34px;padding:8px}
  #s-phone .phone .screen{min-height:0;border-radius:27px;padding:14px 12px 10px}
  #s-phone .phone .rungname{margin:0 0 8px}
  #s-phone .phone .q{font-size:14.5px;line-height:1.35;margin-bottom:8px}
  #s-phone .phone .opt{min-height:40px;font-size:14.5px;padding:8px 12px;margin-bottom:6px}
  #s-phone .pal.corner,#s-phone .say.corner{display:none}
  #s-phone .btnrow{margin-top:14px}
}

/* The opening's second line: "you" in italics with a mint underline, to say it's personal (owner, 12 Oct 2026). */
.hero .lede .say2{display:block;line-height:1.35}
.hero .lede .say2 em{font-style:italic;padding:0 .12em;color:#3FD4AE;text-decoration:underline;text-decoration-thickness:3px;text-underline-offset:5px}

/* ---------- the plate (owner, 12 Oct 2026, after Anatomy's figures) ----------
   Quiet and exact: an off-white page, each scene a white plate with a hairline edge, drawings in crisp grey line on
   light solids, one colour at a time (the mascot's mint, a screen), and a serif whose second clause turns italic and
   grey. Big serif numbers for readouts; small grey sans for labels, numbered like figures. */
@font-face{font-family:"EB Garamond";src:url(/fonts/EBGaramond.woff2) format("woff2");font-weight:400 800;font-style:normal;font-display:swap}
@font-face{font-family:"EB Garamond";src:url(/fonts/EBGaramond-Italic.woff2) format("woff2");font-weight:400 800;font-style:italic;font-display:swap}
:root{--head:"EB Garamond",Georgia,"Times New Roman",serif;--page:#F3F3F1;--plate:#FFFFFF;--hair:#E3E3DF;--line2:#B9BAB5;--soft2:#8A8C87;--graphite:#2B2C2A}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){--page:#0E1110;--plate:#151918;--hair:#262B29;--line2:#4A504C;--soft2:#8E9691;--graphite:#E6E8E4}}
:root[data-theme="dark"]{--page:#0E1110;--plate:#151918;--hair:#262B29;--line2:#4A504C;--soft2:#8E9691;--graphite:#E6E8E4}

body.tour,body.tour .herotop,body.tour .hero,body.tour main,body.tour footer.foot{background:var(--page);color:var(--graphite)}
body.tour .scene.alt{background:transparent}
body.tour .scene + .scene{border-top:0}
body.tour h1,body.tour h2,body.tour h3{font-family:var(--head);font-weight:500;letter-spacing:-0.01em;color:var(--graphite);font-stretch:normal}
body.tour h1 em,body.tour h2 em{font-style:italic;font-weight:400;color:var(--soft2)}
body.tour .hero h1{font-size:clamp(44px,5.6vw,76px);line-height:1.02}
body.tour .scene h2{font-size:clamp(36px,4.4vw,58px);line-height:1.04;max-width:12em}
body.tour .scene h2::before{display:none}

/* each scene a plate: white, a hairline edge, a soft shadow */
body.tour .scene > .wrap,body.tour .scene .sticky > .wrap{background:var(--plate);border:1px solid var(--hair);border-radius:6px;
  box-shadow:0 1px 2px rgba(0,0,0,.03),0 30px 60px -44px rgba(0,0,0,.28);padding:52px 56px}
body.tour .scene{padding:56px 0}
body.tour .scene.pin.scrub{padding:0}

/* labels: small grey sans, numbered like the plates of a book */
body.tour main{counter-reset:plate}
body.tour .tag{font:500 15px/1.3 var(--body);letter-spacing:.01em;text-transform:none;color:var(--soft2);rotate:none;margin-bottom:10px}
body.tour .scene .wrap .tag:first-child::before{counter-increment:plate;content:"No. " counter(plate) "  ·  ";color:var(--soft2)}
body.tour .small,body.tour .note,body.tour .muted{color:var(--soft2)}

/* the opening: on the page, no plate */
body.tour .herotop .site{border-bottom:1px solid var(--hair);padding-bottom:12px}
body.tour .herotop .site,body.tour .herotop .site > a{color:var(--graphite)}
body.tour .herotop .site nav a.nav{color:var(--soft2)}
body.tour .herotop .site .btn.small{background:none;color:var(--graphite);border:1px solid var(--line2)}
body.tour .hero{color:var(--graphite)}
body.tour .hero .lede{color:var(--soft2)}
body.tour .hero .lede b{color:var(--graphite);font-weight:600}
body.tour .hero .lede .say2 em{font-family:var(--head);font-style:italic;font-size:1.2em;font-weight:500;color:var(--graphite);
  text-decoration:underline;text-decoration-color:#3FD4AE;text-decoration-thickness:2px;text-underline-offset:5px;background:none;padding:0}
body.tour .for{color:var(--soft2)}
body.tour .herotop :focus-visible,body.tour .hero :focus-visible{outline-color:var(--graphite)}
body.tour .stage{background:none;padding:0}
body.tour .stage .shot{border:1px solid var(--line2);box-shadow:0 30px 50px -36px rgba(0,0,0,.35);border-radius:10px}

/* buttons: ink and hairline, nothing loud */
body.tour .btn{background:var(--graphite);color:var(--plate);border:1px solid var(--graphite);border-radius:999px;box-shadow:none;font:600 16px var(--body)}
body.tour .btn:hover{filter:none;opacity:.88}
body.tour .btn.ghost{background:transparent;color:var(--graphite);border:1px solid var(--line2)}
body.tour .hero .btn:not(.ghost){background:var(--graphite);color:var(--plate)}
body.tour .hero .btn.ghost{background:transparent;color:var(--graphite);border:1px solid var(--line2)}

/* devices drawn as clean line figures: a grey outline, light body, the screen the one bright thing */
body.tour .tour-ipad,body.tour .zoomipad,body.tour .phone{background:#F7F7F5;border:1.5px solid var(--line2);box-shadow:0 30px 50px -40px rgba(0,0,0,.35);outline:none}
body.tour .tour-ipad img,body.tour .zoomview,body.tour .phone .screen{box-shadow:0 0 0 1px var(--hair)}
body.tour .phonebox{background:none}
body.tour .fphone{background:#F7F7F5;border:1.5px solid var(--line2);box-shadow:none}
body.tour .fphone .fscreen{box-shadow:0 0 0 1px var(--hair)}
body.tour .fphone.down .fscreen{background:#E9E9E6 repeating-linear-gradient(-45deg,var(--line2) 0 1px,transparent 1px 5px)}
body.tour .say{font:500 16px/1.35 var(--body);border:1px solid var(--line2);background:var(--plate);color:var(--graphite)}
body.tour .say::before{border-color:var(--line2)}
body.tour .report,body.tour .loadbox,body.tour .plan.pfree{background:var(--plate);border:1px solid var(--hair);box-shadow:none;border-radius:6px}
body.tour .loadbox{background:#FAFAF8}
body.tour .plan.pinv{background:var(--graphite);color:var(--plate)}
body.tour .test{border-top:1px solid var(--line2)}
body.tour .test.lead{border-top:2px solid var(--graphite)}
body.tour .meter .mark{background:var(--graphite)}
footer.foot{border-top:1px solid var(--hair)}
body.tour footer.foot,body.tour footer.foot a{color:var(--soft2)}

/* readouts: a big serif number, its unit in grey italic, a thin bar (the climb) */
body.tour .climb .num{font:400 clamp(72px,9vw,120px)/1 var(--head);letter-spacing:-0.02em;color:var(--graphite)}
body.tour .climb .score span{font:italic 400 34px var(--head);color:var(--soft2)}
body.tour .climb .track{height:4px;background:var(--hair)}
body.tour .climb .fillbar{background:var(--graphite)}
body.tour .climb .from{background:var(--soft2);height:16px;top:-6px;width:1.5px}

/* Pen and paper: the sheet of working; what paper can't do, line by line; then the sheet becomes a tablet */
.cant{list-style:none;padding:0;margin:8px 0 0;font-size:20px;line-height:1.55;color:var(--graphite)}
.cant li{transition:opacity .35s,translate .35s}
.cant li::before{content:"×";font:400 26px/1 var(--head);color:var(--soft2);margin-right:12px}
#s-paper.live .cant li{opacity:0;translate:0 6px}
#s-paper.live .cant li.on{opacity:1;translate:0 0}
.keeps{margin:22px 0 0;font:italic 400 30px/1.2 var(--head);color:var(--graphite)}
#s-paper.live .keeps{opacity:0;transition:opacity .4s}
#s-paper.live .keeps.on{opacity:1}
.sheetbox{max-width:340px;width:100%;margin:0 auto}
.sheet{background:#FFFFFF linear-gradient(var(--hair) 1px,transparent 1px) 0 0/100% 26px;padding:18px;rotate:-2deg;border:1px solid var(--hair);
  box-shadow:0 26px 40px -30px rgba(0,0,0,.35);border-radius:2px;transition:rotate .6s cubic-bezier(.3,.7,.2,1),border-radius .6s,padding .6s,border-color .6s}
.sheet img{display:block;width:100%;height:auto;mix-blend-mode:multiply}
.sheet.tab{rotate:0deg;border:1.5px solid var(--line2);border-radius:22px;padding:22px;background:#F7F7F5}

#s-paper.scrub{height:260vh}
@media (max-width:900px){
  body.tour .scene > .wrap,body.tour .scene .sticky > .wrap{padding:28px 22px;margin:0 12px;width:auto}
  body.tour .scene{padding:28px 0}
  .sheetbox{max-width:min(240px,calc((100svh - 430px) * .7))}
  .cant{font-size:17px}
  .keeps{font-size:25px}
}

/* Plates in two panels, as in Anatomy's figures: words on the left, the figure on the right over a faint grid, with
   small mono labels in the corners ("Fig n", and "Scroll to play" where the scroll drives it). */
:root{--mono:ui-monospace,"SF Mono",Menlo,Consolas,monospace;--gridc:rgba(0,0,0,.035)}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){--gridc:rgba(255,255,255,.04)}}
:root[data-theme="dark"]{--gridc:rgba(255,255,255,.04)}
body.tour main{counter-reset:plate fig}
body.tour .scene .wrap.split{position:relative;gap:112px;
  background:linear-gradient(90deg,var(--plate) calc(50% - 1px),var(--hair) calc(50% - 1px) 50%,transparent 50%),
    linear-gradient(var(--gridc) 1px,transparent 1px) 0 0/24px 24px,linear-gradient(90deg,var(--gridc) 1px,transparent 1px) 0 0/24px 24px,var(--plate)}
body.tour .scene .wrap.split::before,body.tour .scene.pin .wrap.split::after{position:absolute;top:16px;font:500 12.5px var(--mono);letter-spacing:.08em;
  text-transform:uppercase;color:var(--soft2);pointer-events:none}
body.tour .scene .wrap.split::before{counter-increment:fig;content:"Fig " counter(fig);left:calc(50% + 22px)}
body.tour .scene.pin .wrap.split::after{content:"Scroll to play";right:22px}
body.tour .tag{font:500 13.5px/1.3 var(--mono);letter-spacing:.08em;text-transform:uppercase}
body.tour .scene .wrap .tag:first-child::before{content:"No. " counter(plate) "  ·  "}

@media (max-width:900px){
  body.tour .scene .wrap.split{background:var(--plate);gap:24px}
  body.tour .scene .wrap.split::before,body.tour .scene.pin .wrap.split::after{display:none}
}

/* ---------- the student area as plates (owner, 12 Oct 2026: "redone with this style in mind") ----------
   The same voice as the site: an off-white page, each block a white plate with a hairline, EB Garamond headings with
   an italic grey second clause, small mono labels, ink buttons; the steps' ski colours are the one colour. */
body.student{background:var(--page);color:var(--graphite)}
body.student .site{border-bottom:1px solid var(--hair);padding-bottom:10px;max-width:640px}
body.student main{max-width:640px}
body.student h1,body.student h2,body.student h3{font-family:var(--head);font-weight:500;letter-spacing:-0.01em;color:var(--graphite)}
body.student h1{font-size:clamp(34px,7vw,46px);line-height:1.05;margin:14px 0 10px}
body.student h1 em,body.student h2 em{font-style:italic;font-weight:400;color:var(--soft2)}
body.student h2{font-size:26px;line-height:1.15}
body.student .muted,body.student .small.muted{color:var(--soft2)}
body.student .eyebrow,body.student .free,body.student .pill,body.student h2.section{font:500 12.5px/1.3 var(--mono);letter-spacing:.08em;
  text-transform:uppercase;color:var(--soft2)}
body.student h2.section{margin:28px 0 10px}
/* plates */
body.student .card,body.student .today,body.student .steps,body.student .tablet,body.student .ipadcard,body.student .unlock,
body.student .passed,body.student details.topic{background:var(--plate);color:var(--graphite);border:1px solid var(--hair);border-radius:6px;
  box-shadow:0 1px 2px rgba(0,0,0,.03),0 20px 40px -34px rgba(0,0,0,.28)}
body.student .today{padding:22px 22px 20px;border-top:1px solid var(--hair)}
body.student .today h2{font-size:30px}
body.student .setcard{border:1px solid var(--hair)}
body.student .setcard:hover,body.student .navcard:hover{border-color:var(--line2)}
body.student .setcard b,body.student .navcard b{font:500 22px/1.2 var(--head)}
body.student .go{font:500 13px var(--mono);letter-spacing:.04em;color:var(--soft2)}
body.student .tablet,body.student .unlock{padding:22px}
body.student .tablet .eyebrow{color:var(--soft2)}
body.student .tablet p,body.student .unlock p{color:var(--soft2)}
body.student .unlock{display:flex}
body.student .ipadcard{padding:22px;margin:18px 0}
body.student .ipadcard h2{margin:6px 0 4px}
body.student .split2{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:6px 0 12px}
body.student .split2 div{border-top:1px solid var(--hair);padding-top:10px;display:flex;flex-direction:column}
body.student .split2 b{font:400 40px/1.1 var(--head)}
body.student .stats div{border-left:1px solid var(--line2)}
body.student .stats b{font:400 40px/1.05 var(--head)}
body.student .weekline{font-size:16px;color:var(--soft2)}
body.student .weekline b{font:500 12.5px var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--graphite);margin-right:6px}
body.student .steps .tick{border-color:var(--line2)}
body.student .steps li.did .tick{background-color:var(--graphite);border-color:var(--graphite)}
body.student .logrow{border:1px solid var(--hair);border-radius:6px;background:var(--plate)}
/* buttons and answers */
body.student .btn{background:var(--graphite);color:var(--plate);border:1px solid var(--graphite);border-radius:999px;font:600 16px var(--body)}
body.student .btn:hover{filter:none;opacity:.88}
body.student .btn.ghost{background:transparent;color:var(--graphite);border:1px solid var(--line2)}
body.student .tablet .btn{background:var(--graphite);color:var(--plate)}
body.student .link{color:var(--graphite);font-weight:600}
body.student .opt{background:var(--plate);border:1px solid var(--line2);border-radius:8px;font-weight:600}
body.student .opt.picked{border-color:var(--graphite);box-shadow:inset 0 0 0 1px var(--graphite)}
body.student .opt.yes{border-color:#0E7C5A;background:#EEF8F3;box-shadow:inset 0 0 0 1px #0E7C5A}
body.student .opt.wrong{border-color:#C9472F;background:#FBF0EC}
body.student .q{font-size:19px;line-height:1.5}
body.student .ok,body.student .hint{background:var(--plate);color:var(--graphite);border:1px solid var(--hair);border-left:3px solid #0E7C5A;border-radius:6px}
body.student .hint{border-left-color:#C98A2B}
body.student .hint b,body.student .ok b{display:block;font:500 20px/1.3 var(--head);margin-bottom:2px}
/* the climb: the step, and the run towards passing it */
body.student .rungname{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap;font:500 12.5px var(--mono);
  letter-spacing:.06em;text-transform:uppercase;color:var(--graphite);margin:10px 0 6px}
body.student .run{display:inline-flex;align-items:center;gap:5px;color:var(--soft2);text-transform:none;letter-spacing:0;font:500 13px var(--mono)}
body.student .run i{width:10px;height:10px;border-radius:50%;border:1.5px solid var(--graphite);display:inline-block}
body.student .run i.on{background:var(--graphite)}
body.student .passed{padding:20px;margin:14px 0 4px;text-align:left}
body.student .passed p{font:italic 400 22px/1.3 var(--head);color:var(--graphite);margin:6px 0 14px}
body.student .stepkey li.here{color:var(--graphite)}
body.student .tabs .tab[aria-pressed="true"]{background:var(--graphite);color:var(--plate)}
body.student input[type=email],body.student input[type=text],body.student input[type=search],body.student input#code,body.student select,body.student textarea{
  background:var(--plate);border:1px solid var(--line2);border-radius:8px}
body.student .page-pal,body.student .end .pal{opacity:.95}

/* The pen scene's camera: the frame zooms inside the screen (landing.js), the device stays put. */
.tzoom{overflow:hidden;border-radius:10px;line-height:0}
.tzoom img{transform-origin:0 0;will-change:transform}

/* ---------- the rung as a marked paper (owner, 12 Oct 2026: pen, paper and charcoal; limited colour; keep going) ----------
   Answers are printed rows; picking circles the letter in pencil; the reveal ticks the right one and strikes through a
   wrong pick; the verdict is a margin note; the steps are a ladder drawn in charcoal with the current rung in mint. */
body.student .top .link.quiet{font:500 13px var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--soft2);text-decoration:none}
body.student .settitle{font:italic 400 19px/1.25 var(--head);color:var(--soft2);text-align:right}
.ladder{display:block;width:100%;max-width:340px;height:auto;margin:14px 0 4px;overflow:visible}
.ladder .lrail{fill:none;stroke:var(--graphite);stroke-width:1.6;stroke-linecap:round}
.ladder .lrung{fill:none;stroke-linecap:round;stroke-width:2.6}
.ladder .lrung.done{stroke:var(--graphite)}
.ladder .lrung.here{stroke:#2FBF94;stroke-width:3.4}
.ladder .lrung.ahead{stroke:var(--line2);stroke-width:1.6}
.ladder .lhere{fill:var(--plate);stroke:#2FBF94;stroke-width:2}
body.student .rungname{font:500 12.5px var(--mono);letter-spacing:.08em;margin:6px 0 4px}
body.student .run{gap:2px}
body.student .run i{width:20px;height:16px;border:0;border-bottom:1.5px solid var(--line2);border-radius:0;margin:0 3px}
.ptick{width:22px;height:19px;display:inline-block;overflow:visible}
.ptick path,.pmark path{fill:none;stroke:var(--graphite);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;
  stroke-dasharray:100;stroke-dashoffset:0;animation:draw .38s ease-out both}
@keyframes draw{from{stroke-dashoffset:100}}
body.student .q{font:500 21px/1.45 var(--body);margin:18px 0 10px;color:var(--graphite)}
/* the printed answers */
.paper{border-top:1px solid var(--hair);margin:6px 0 4px}
.paper .row{display:flex;align-items:center;gap:16px;width:100%;text-align:left;background:none;border:0;border-bottom:1px solid var(--hair);
  padding:14px 6px;min-height:58px;font:500 18px/1.35 var(--body);color:var(--graphite);cursor:pointer;border-radius:0}
.paper .row:not(:disabled):hover{background:rgba(0,0,0,.025)}
.paper .row:disabled{cursor:default;opacity:1}
.paper .ltr{position:relative;flex:none;width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;font:500 15px var(--mono);color:var(--soft2)}
.paper .row.picked .ltr,.paper .row.yes .ltr,.paper .row.wrong .ltr{color:var(--graphite)}
.paper .pmark{position:absolute;inset:-7px;width:44px;height:44px;overflow:visible;pointer-events:none}
.paper .otx{flex:1}
.paper .row.wrong .otx{text-decoration:line-through;text-decoration-thickness:1.6px;text-decoration-color:var(--graphite);color:var(--soft2)}
.paper .row.yes .otx{font-weight:700}
.paper .row.yes .pmark path{stroke:#2FBF94}
.paper .tickcell{flex:none}
/* how sure: two quiet pencil pills */
body.student .sure{display:flex;align-items:center;gap:10px;margin:16px 0 0;font:italic 400 19px var(--head);color:var(--soft2)}
.pill2{border:1px solid var(--line2);background:var(--plate);border-radius:999px;padding:9px 18px;min-height:44px;font:600 15px var(--body);color:var(--graphite);cursor:pointer}
.pill2:hover{border-color:var(--graphite)}
/* the verdict as a margin note */
body.student .note{display:block;margin:16px 0 10px;padding:2px 0 2px 16px;border-left:1.5px solid var(--graphite)}
body.student .note b{display:block;font:500 22px/1.3 var(--head);color:var(--graphite)}
body.student .note span{display:block;font:italic 400 19px/1.4 var(--head);color:var(--soft2);margin-top:4px}
body.student .note.good{border-left-color:#2FBF94}
body.student .nextbtn.auto{background:transparent;color:var(--graphite);border:1px solid var(--line2)}
body.student details.why summary{color:var(--graphite);font:500 13px var(--mono);letter-spacing:.06em;text-transform:uppercase}
body.student .keyidea{border-left:1.5px solid var(--line2);color:var(--soft2);font:italic 400 18px/1.45 var(--head)}
@media (prefers-reduced-motion: reduce){ .ptick path,.pmark path{animation:none} }

/* Rung screen, tightened (owner, 12 Oct 2026: Next too far down, Why too small): a smaller question and rows, the
   ladder smaller, the note closer, and Why? and Next on one row right under it. */
body.student .ladder{max-width:250px;margin:8px 0 2px}
body.student .rungname{margin:2px 0 2px}
body.student .q{font-size:18px;line-height:1.45;margin:12px 0 8px}
.paper .row{padding:10px 4px;min-height:48px;font-size:16.5px;gap:12px}
.paper .ltr{width:26px;height:26px;font-size:14px}
.paper .pmark{inset:-6px;width:38px;height:38px}
body.student .note{margin:12px 0 8px;padding-left:14px}
body.student .note b{font-size:20px}
body.student .note span{font-size:17px;margin-top:2px}
.acts{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 0 0}
.acts .nextbtn{min-width:140px;margin-left:auto}
.acts .whybtn{font:600 16px var(--body);padding:11px 20px;min-height:48px}
.acts .whybtn[aria-expanded="true"]{background:var(--graphite);color:var(--plate);border-color:var(--graphite)}
.whybox{margin:12px 0 0;padding:14px 16px;background:var(--plate);border:1px solid var(--hair);border-radius:6px}
.whybox .keyidea{border:0;padding:0;margin:0 0 8px;font:italic 400 18px/1.45 var(--head);color:var(--graphite)}
.whybox .lab{display:block;font:500 12px var(--mono);font-style:normal;letter-spacing:.08em;text-transform:uppercase;color:var(--soft2);margin-bottom:4px}
.whybox .whyline{margin:0;font-size:15.5px;line-height:1.5;color:var(--soft2)}
body.student .sure{margin:10px 0 0;font-size:17px}
@media (min-width:700px){ body.student .q{font-size:19px} }

/* The landing page's phone shows Practise's own look (the marked paper). */
body.tour .phone .screen{background:#FBF8F1;padding:18px 14px 14px;min-height:0}
.phone .dtop{display:flex;justify-content:space-between;align-items:center;font:500 11.5px var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--graphite)}
.phone .dtop .run{display:inline-flex;gap:2px}
.phone .dtop .run i{width:16px;height:13px;border-bottom:1.5px solid var(--line2);display:inline-block;margin:0 2px}
.phone .dtop .ptick{width:18px;height:15px}
.phone .ladder{max-width:none;margin:8px 0 4px}
.phone .q{font:500 15.5px/1.45 var(--body);margin:8px 0 6px;color:var(--graphite)}
.phone .paper .row{min-height:42px;padding:8px 2px;font-size:14.5px;gap:10px}
.phone .paper .ltr{width:22px;height:22px;font-size:12px}
.phone .paper .pmark{inset:-6px;width:34px;height:34px}
.phone .paper .ptick{width:18px;height:15px}
.phone .dnote{margin:10px 0 10px;padding:1px 0 1px 12px;border-left:1.5px solid var(--graphite)}
.phone .dnote.good{border-left-color:#2FBF94}
.phone .dnote b{display:block;font:500 17px/1.3 var(--head);color:var(--graphite)}
.phone .dnote span{display:block;font:italic 400 15px/1.35 var(--head);color:var(--soft2);margin-top:2px}
.phone #demo-out .btn{min-height:40px;padding:8px 16px;font-size:14px}

/* ---------- 13 Oct 2026: the report, read up close; the lesson library; light surfaces in dark mode ---------- */
/* For parents: a sample report in the family reports' phone format; the scroll turns its pages (landing.js). The frame
   shows the top of each page, where its content is, at full width so the text reads. */
#s-parents.scrub{height:320vh}
.pdfview{position:relative;overflow:hidden;aspect-ratio:1100/1180;max-width:460px;margin:0 auto;background:#FFFFFF;
  border:1px solid var(--hair);border-radius:6px;box-shadow:0 30px 50px -40px rgba(0,0,0,.35)}
.pdfview .zplane img{height:auto;bottom:auto;opacity:0;transition:opacity .3s,translate .45s;translate:0 8px}
.pdfview .zplane img.on{opacity:1;translate:0 0}
@media (max-width:900px){.pdfview{max-width:min(360px,calc((100svh - 260px) * .93))}}
/* The lesson library: its own held scene, a film that plays as you scroll, and where to watch (owner, 13 Oct 2026). */
.library{margin:0 auto;max-width:560px;width:100%}
#s-library.scrub{height:320vh}
.library .player{overflow:hidden;border:1px solid var(--hair);border-radius:8px;background:#F5F1EA;box-shadow:0 24px 48px -30px rgba(10,59,44,.45)}
.library .player{position:relative}
.library .player img,.library .player canvas{display:block;width:100%;height:auto;aspect-ratio:16/9}
.library .player canvas{position:absolute;inset:0;height:100%;opacity:0}
#s-library.live .player canvas{opacity:1}
#s-library.live .player img{visibility:hidden}
.scrubbar{height:3px;background:var(--hair);border-radius:2px;margin-top:10px;overflow:hidden}
.scrubbar i{display:block;height:100%;width:100%;background:var(--green, #0E7C5A);transform-origin:0 50%}
/* A fixed shape: title and clock on one line, the step below in a box as tall as the tallest caption at this width
   and text size (measured by landing.js), so the card's height never changes as the captions do (a changing height re-centres the held card and it darts up and down). */
.library figcaption{margin-top:8px;display:grid;grid-template-columns:1fr auto;column-gap:8px;line-height:1.4}
.library figcaption b{grid-column:1;grid-row:1}
.library .libtime{grid-column:2;grid-row:1;font-variant-numeric:tabular-nums;white-space:nowrap}
.library .libsay{grid-column:1 / -1;grid-row:2;display:block;min-height:2.8em}   /* the script raises it to the tallest caption */
@media (max-width:900px){#s-library .socials{margin-top:12px}}
.socials{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:18px}
.social{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border:1px solid var(--hair);border-radius:999px;
  color:var(--graphite);text-decoration:none;font-weight:600;font-size:15px;cursor:default}
.social svg{width:20px;height:20px}
.social:first-child svg{color:#FF0033}
.social:nth-child(2) svg{color:#D62976}
/* Some figures stay light in dark mode (a phone screen, the load card, paper, a report page). Their text keeps the
   light theme's colours, or it turns light on light and disappears (owner, 13 Oct 2026). */
.phone .screen,body.tour .loadbox,.sheet,.pdfview{
  --paper:#F7F3EC;--card:#FFFFFF;--ink:#17211C;--muted:#55625B;--line:#E4DDD0;--soft:#EFE9DE;--green:#0E7C5A;--red:#D9573F;
  --coral:#B4432B;--black:#17211C;--okbg:#E1F2EA;--okink:#0A4F39;--hintbg:#FDF1DA;--hintink:#5A3A00;
  --graphite:#2B2C2A;--soft2:#8A8C87;--hair:#E3E3DF;--line2:#B9BAB5;color-scheme:light;color:#17211C}

/* The phone's scroll story (landing.js): a miss is a pencil cross in the run, like the tick. */
.pcross{width:14px;height:14px;display:inline-block;overflow:visible;margin:0 3px}
.pcross path{fill:none;stroke:var(--graphite);stroke-width:2.2;stroke-linecap:round;stroke-dasharray:100;animation:draw .38s ease-out both}
#s-phone.seq .screen{display:flex;flex-direction:column}
#s-phone.seq .paper .row{cursor:default}
@media (prefers-reduced-motion: reduce){ .pcross path{animation:none} }

/* The access form, one question at a time (owner, 13 Oct 2026; landing.js). Without the script every step shows. */
.form.flow{display:block;position:relative}
.flowtop{display:flex;align-items:center;gap:12px;margin:0 0 18px}
.flowbar{flex:1;height:3px;background:var(--hair);border-radius:2px;overflow:hidden}
.flowbar i{display:block;height:100%;background:var(--green);transform-origin:0 50%;transform:scaleX(.143);transition:transform .35s ease}
.flowcount{font:500 12px var(--mono, ui-monospace, Menlo, monospace);letter-spacing:.06em;color:var(--soft2)}
.form.flow:not(.live) .flowtop,.form.flow:not(.live) .back{display:none}
.form.flow:not(.live) .step{margin-bottom:28px}
.form.flow .step{display:grid;gap:12px;align-content:start}
.form.flow .step[hidden]{display:none}
.form.flow.live .step.on{animation:stepin .32s cubic-bezier(.2,.7,.2,1) both}
@keyframes stepin{from{opacity:0;transform:translateY(14px)}}
.form.flow .q{display:block;font:500 clamp(26px,6.6vw,34px)/1.15 var(--head);letter-spacing:-0.01em;color:var(--graphite);margin:0 0 4px;padding:0}
.form.flow .q .opt-label{display:block;font:400 15px/1.4 var(--body);color:var(--soft2);margin-top:6px}
.tiles{display:grid;gap:8px}
.tiles.grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr))}
.tiles.months{grid-template-columns:repeat(auto-fill,minmax(104px,1fr))}
.tiles.months .tile:last-child{grid-column:1 / -1}
.tile{position:relative;font-weight:500}
.tile input{position:absolute;opacity:0;width:1px;height:1px}
.tile span{display:flex;align-items:center;gap:12px;min-height:50px;padding:10px 14px;border:1px solid var(--line2);border-radius:8px;
  background:var(--plate);color:var(--graphite);font:500 17px var(--body);cursor:pointer;transition:background .15s,border-color .15s}
.tile span:hover{border-color:var(--graphite)}
.tile kbd{flex:none;display:inline-grid;place-items:center;width:24px;height:24px;border:1px solid var(--line2);border-radius:4px;
  font:500 12px var(--mono, ui-monospace, Menlo, monospace);color:var(--soft2);background:transparent}
.tile input:checked + span{background:color-mix(in srgb,var(--green) 12%,var(--plate));border-color:var(--green)}
.tile input:checked + span kbd{background:var(--green);border-color:var(--green);color:#fff}
.tile input:focus-visible + span{outline:3px solid var(--accent);outline-offset:2px}
.form.flow input[type=text],.form.flow input[type=email]{font:400 22px var(--body);border:0;border-bottom:1.5px solid var(--line2);
  border-radius:0;background:transparent;padding:8px 2px;color:var(--graphite);box-shadow:none}
.form.flow input[type=text]:focus,.form.flow input[type=email]:focus{border-bottom-color:var(--green);box-shadow:0 1.5px 0 0 var(--green)}
.form.flow textarea{background:var(--plate);color:var(--graphite);border-color:var(--line2);min-height:110px}
.stepnav{display:flex;align-items:center;gap:14px;margin-top:4px}
.hintkey{font-size:14px;color:var(--soft2)}
@media (hover:none){.hintkey,.tile kbd{display:none}}
.form.flow .back{margin-top:14px;background:none;border:0;padding:8px 0;font:500 15px var(--body);color:var(--soft2);cursor:pointer}
.form.flow .back:hover{color:var(--graphite)}
.form.flow .err{margin:0}
@media (prefers-reduced-motion: reduce){.form.flow.live .step.on{animation:none}.flowbar i{transition:none}}
.social[href]{cursor:pointer}
.social[href]:hover{border-color:var(--graphite)}
.social[aria-disabled="true"]{opacity:.55}

/* Lessons in Practise (practice.js): film cards, the player and the offer after the same slip twice. */
.filmcard{display:grid!important;cursor:pointer;grid-template-columns:132px minmax(0,1fr);gap:14px;align-items:center;text-align:left;width:100%}
.filmcard img{width:132px;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:4px;border:1px solid var(--hair);background:#F5F1EA}
.filmcard .ftxt{display:grid;gap:3px;min-width:0}
.filmcard b{font:500 19px/1.2 var(--head);color:var(--graphite)}
.fmeta{font:500 12.5px var(--mono);letter-spacing:.04em;color:var(--soft2)}
.fdone{display:inline-flex;align-items:center;gap:3px;color:var(--graphite)}
.fdone .ptick{width:15px;height:13px}
@media (max-width:420px){.filmcard{grid-template-columns:104px minmax(0,1fr);gap:12px}.filmcard img{width:104px}}
.player{margin:14px 0 16px;border-radius:6px;overflow:hidden;background:#000;border:1px solid var(--hair)}
.player video{display:block;width:100%;height:auto;aspect-ratio:16/9;background:#000}
.filmidea{margin:0 0 8px}
body.student .whyline .lab,body.student .filmidea .lab{display:block;font:500 12px var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--soft2);font-style:normal;margin-bottom:4px}
body.student .note.filmnote{border-left-color:var(--green)}
.note.filmnote .pill2{margin-top:10px;justify-self:start}
.filmlink{display:block;margin:12px auto 0;font-size:15px}
.player video::cue{font:500 15px/1.35 var(--body);color:#fff;background:rgba(0,0,0,.72)}

/* The student area, redesigned (Fable and Codex, 13 Oct 2026: it read pedestrian and lessons didn't stand out).
   Lessons are its pictures: today's film as a full poster, a shelf to watch next, a poster grid. One clear type
   scale, mono only for small labels, mint as the one accent, cards that exist in dark mode, one mascot a screen. */
body.student{--soft2:#626760;--mint:#3FD4AE}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) body.student{--soft2:#ABB4AD;--plate:#1A201D;--hair:#2C3330}}
:root[data-theme="dark"] body.student{--soft2:#ABB4AD;--plate:#1A201D;--hair:#2C3330}
body.student #app{max-width:640px}
body.student #app.wide{max-width:960px}
@media (min-width:900px){body.student .site{max-width:960px}}
body.student h1{font-size:clamp(32px,6.4vw,40px);line-height:1.08;margin:6px 0 8px}
body.student h2{font-size:22px}
body.student .today h2{font-size:28px;margin:6px 0 4px}
body.student .card,body.student .today,body.student .tablet,body.student .ipadcard{box-shadow:none}
/* Today · Lessons · Progress */
.subnav{display:flex;gap:4px;margin:4px 0 18px;border-bottom:1px solid var(--hair)}
.subnav button{background:none;border:0;padding:10px 12px 9px;font:600 15px var(--body);color:var(--soft2);cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px}
.subnav button:first-child{padding-left:0}
.subnav button[aria-current="page"]{color:var(--graphite);border-bottom-color:var(--mint)}
.subnav button:hover{color:var(--graphite)}
.hello{font:500 12px var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--soft2);margin:0}
.lastline{margin:0 0 16px}
/* Today and the film for today: stacked on a phone, side by side on a wide screen */
.homegrid{display:grid;gap:14px;margin:14px 0}
@media (min-width:900px){.homegrid{grid-template-columns:1fr 1fr;align-items:stretch}.homegrid .today{margin:0}}
.feature{display:flex;flex-direction:column;text-align:left;padding:0;overflow:hidden;cursor:pointer;width:100%;
  background:var(--plate);border:1px solid var(--hair);border-radius:8px;color:var(--graphite);font:inherit}
.feature:hover{border-color:var(--line2)}
.fposter{position:relative;display:block;background:#F5F1EA}
.fposter img,.sfposter img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.play{position:absolute;right:14px;bottom:12px;width:44px;height:44px;border-radius:50%;background:rgba(23,33,28,.82);
  box-shadow:0 6px 18px -6px rgba(0,0,0,.4)}
.play::after{content:"";position:absolute;left:17px;top:13px;border-style:solid;border-width:9px 0 9px 14px;border-color:transparent transparent transparent #fff}
.feature:hover .play{background:#0E7C5A}
.fbody{display:grid;gap:5px;padding:16px 20px 18px}
.fbody b{font:500 26px/1.15 var(--head)}
.ftrap{font:italic 400 18px/1.35 var(--head);color:var(--soft2)}
.pwhy{font-size:15px;color:var(--soft2)}
/* Shelves and grids of posters */
.sechead{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.sechead .link{font-size:14px}
.shelf{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(220px,240px);gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;
  padding:2px 2px 10px;margin:0 -2px;scrollbar-width:thin}
.shelf .ptile{scroll-snap-align:start}
.filmgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}
@media (min-width:700px){.filmgrid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.ptile{display:grid;align-content:start;gap:4px;text-align:left;background:none;border:0;padding:0;cursor:pointer;color:var(--graphite);font:inherit}
.ptile img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:6px;border:1px solid var(--hair);background:#F5F1EA;
  transition:transform .18s ease,box-shadow .18s ease}
.ptile:hover img{transform:translateY(-2px);box-shadow:0 10px 22px -14px rgba(0,0,0,.45)}
.ptile b{font:500 17px/1.2 var(--head);margin-top:4px}
.ptile .pwhy{font-size:13.5px;line-height:1.3}
.count{white-space:nowrap;font:500 12px var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--graphite);margin-left:4px}
.sticktabs{position:sticky;top:0;z-index:2;background:var(--page);padding:8px 0;margin:18px 0 0}
.nextfilm{max-width:300px}
/* Getting started, folded into one row */
.getting{margin:6px 0 14px;border:1px solid var(--hair);border-radius:8px;background:var(--plate);padding:0 16px}
.getting summary{display:flex;justify-content:space-between;align-items:center;padding:13px 0;cursor:pointer;font:600 15px var(--body);list-style:none}
.getting summary::-webkit-details-marker{display:none}
.getting ol{list-style:none;padding:0 0 12px;margin:0;display:grid;gap:8px}
.getting li{display:flex;align-items:center;gap:10px;font-weight:600}
.getting li.did{color:var(--soft2);text-decoration:line-through}
.getting .tick{width:20px;height:20px;border-radius:50%;border:2px solid var(--line2);flex:none}
.getting li.did .tick{background:var(--graphite);border-color:var(--graphite)}
.allsets{display:flex!important;width:100%;margin:22px 0 0}
/* Two minutes on this slip: the offer looks like a film */
.slipfilm{display:grid;grid-template-columns:144px minmax(0,1fr);gap:14px;align-items:start;margin:12px 0 10px;padding:12px;
  background:var(--plate);border:1px solid var(--hair);border-left:3px solid var(--mint);border-radius:8px}
.sfposter{position:relative;padding:0;border:0;background:none;cursor:pointer;border-radius:4px;overflow:hidden}
.sfposter .play{width:34px;height:34px;right:8px;bottom:8px}
.sfposter .play::after{left:13px;top:10px;border-width:7px 0 7px 11px}
.slipfilm b{display:block;font:500 19px/1.25 var(--head);color:var(--graphite)}
.slipfilm span{display:block;font:italic 400 15.5px/1.35 var(--head);color:var(--soft2);margin-top:2px}
.slipfilm .pill2{margin-top:10px}
@media (max-width:380px){.slipfilm{grid-template-columns:1fr}}
@media (prefers-reduced-motion: reduce){.ptile img{transition:none}}

/* Deleting your account (account page) */
.dangerzone{margin-top:22px}
.dangerzone summary{cursor:pointer;font-weight:600;color:var(--soft2)}
.dangerzone[open] summary{color:#B3261E}
.dangerzone input{margin:6px 0 10px}
body.student .btn.danger,.btn.danger{background:#B3261E;border-color:#B3261E;color:#fff}
.btn.danger:disabled{opacity:.45}
.deleted-note{margin:0;padding:12px 16px;text-align:center;background:#EAF3EE;color:#0A3B2C;font-weight:600}
