/* Home page product screens and the ink drawings paired with them (workstream W2, 2026-11-14).
   Loads after site.css, so everything here adds to it or overrides it. one student on every screen: the comment at
   the top of index.html. Each differentiator chapter pairs an ink drawing (.feat--ink) with a full app screen (.feat--app). */

/* ---------------------------------------------------------------- chapter layout */
.feat--ink { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 56px; margin-bottom: 72px; align-items: center; }
.feat--ink.feat--flip { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); }
.feat--app { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-bottom: 72px; align-items: start; }
.feat--app .feat__copy { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 8px 48px; align-items: start; }
.feat--app .feat__copy > p { align-self: center; }
.feat--app .feat__copy .link { display: inline-flex; min-height: 0; margin-top: 4px; }
.pg-home .chapter .feat:last-child, .pg-home .chapter .hold:last-child .feat { margin-bottom: 0; }
.ink-lead { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 8px 48px; align-items: center; margin-bottom: 28px; }
.ink-lead p { color: var(--text-2); font-size: 17px; }
.race-fig { margin-bottom: 72px; }

/* ---------------------------------------------------------------- ink drawings: the hero's language, sized for a half width */
figure.ink { margin: 0; min-width: 0; display: grid; gap: 10px; justify-items: center; }
.ink__svg { display: block; width: 100%; max-width: 600px; height: auto; overflow: visible; }
.ink__svg .cap { font: 700 20px var(--head); letter-spacing: .1em; text-transform: uppercase; fill: var(--g); }
.ink__svg .t { font: 600 20px var(--body); fill: var(--text); }
.ink__svg .tm { font: 500 20px var(--body); fill: var(--text-2); }
.ink__svg .tg { font: 700 20px var(--body); fill: var(--g); }
.ink__svg .dk { fill: var(--ink); font-weight: 700; }
.ink__svg .note { font: 700 26px var(--head); fill: var(--text); }
.ink__svg .band { fill: rgba(46, 230, 166, .16); }
.ink__svg .ln { fill: none; stroke: rgba(242, 247, 245, .32); stroke-width: 5; stroke-linecap: round; }
.ink__svg .hl { fill: rgba(46, 230, 166, .42); }
.ink__svg .hl2 { fill: rgba(242, 184, 75, .42); }
figure.ink .settled { font-size: 14px; }
figure.ink .settled svg.ic { display: inline-block; width: 14px; height: 14px; flex: none; }
.hero-scene .cnt { font: 700 14px var(--mono); fill: var(--text-2); }

/* ---------------------------------------------------------------- the app frame: top bar with the test date, a rail of sections */
.shot--app { background: none; border: 0; box-shadow: none; border-radius: 0; overflow: visible; }
.shot--app .shot__cap { border-top: 0; padding: 10px 2px 0; }
.app { display: grid; grid-template-columns: 184px minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); background: #0B1210; border: 1.5px solid rgba(242, 247, 245, .24); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(46, 230, 166, .05); font: 400 14px/1.45 var(--body); color: var(--text); text-align: left; }
.app__top { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; min-height: 50px; padding: 0 16px; background: #0F1715; border-bottom: 1px solid var(--line); min-width: 0; }
.app__brand { flex: none; display: inline-flex; align-items: center; gap: 8px; width: 152px; font: 700 15px var(--head); letter-spacing: .02em; }
.app__brand .mark { flex: none; }
.app__crumb { min-width: 0; font: 600 14px var(--body); color: var(--text-2); white-space: nowrap; overflow: hidden; }
.app__crumb i { font-style: normal; color: var(--faint); margin: 0 7px; }
.app__when { margin-left: auto; flex: none; display: flex; align-items: center; gap: 8px; font: 500 12.5px var(--mono); color: var(--muted); white-space: nowrap; }
.app__when > span { padding: 5px 10px; border-radius: 99px; }
.app__test { border: 1px solid var(--line-2); } .app__test b { color: var(--text); font-weight: 600; }
.app__count { background: rgba(46, 230, 166, .13); color: var(--g); } .app__count b { font-weight: 700; }
.app__rail { display: flex; flex-direction: column; gap: 2px; padding: 12px 10px; border-right: 1px solid var(--line); background: #09100E; min-width: 0; }
.app__rail span { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; color: var(--muted); font: 500 14px var(--body); }
.app__rail span b { font-weight: 500; }
.app__rail .ic { flex: none; color: var(--faint); }
.app__rail [data-on] { background: rgba(46, 230, 166, .12); color: var(--text); box-shadow: inset 3px 0 0 var(--g); }
.app__rail [data-on] b { font-weight: 600; } .app__rail [data-on] .ic { color: var(--g); }
.app__goal { margin-top: auto; display: grid; gap: 1px; padding: 14px 10px 4px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.app__goal b { font: 800 28px/1.05 var(--head); color: var(--text); }
.app__main { min-width: 0; padding: 18px 22px 22px; display: grid; gap: 14px; align-content: start; }
.app__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; }
.app__head > div { min-width: 0; }
.app__head h4 { font: 700 21px/1.2 var(--head); letter-spacing: .01em; }
.app__head p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.ap-chip { display: inline-flex; align-items: center; gap: 6px; font: 600 12px var(--mono); padding: 5px 11px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--text-2); white-space: nowrap; }
.ap-chip--g { color: var(--g); border-color: var(--line-g); background: rgba(46, 230, 166, .08); }
.ap-chip--r { color: var(--rose); border-color: rgba(242, 123, 114, .45); background: rgba(242, 123, 114, .08); }
.apc { background: #111A17; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; min-width: 0; }
.apc__h { display: flex; align-items: center; justify-content: space-between; gap: 6px 10px; flex-wrap: wrap; font: 600 11.5px var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.apc__h span { letter-spacing: .02em; text-transform: none; color: var(--faint); font-weight: 500; }
.apc__h .ic { color: var(--g); margin-right: 6px; }
.app .why { font-size: 14px; }
/* range bar */
.app .rbw { position: relative; }
.app .rb { position: relative; height: 8px; border-radius: 4px; background: #1C2925; margin: 14px 0 6px; }
.app .rb i { position: absolute; top: -2px; bottom: -2px; left: var(--l); right: var(--r); border-radius: 6px; background: rgba(46, 230, 166, .3); border: 1px solid rgba(46, 230, 166, .6); }
.app .rb em { position: absolute; top: -7px; bottom: -7px; left: var(--t); width: 2px; margin-left: -1px; background: var(--text); }
.app .rb b { position: absolute; top: -4px; left: var(--x); width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--g); box-shadow: 0 0 0 4px rgba(46, 230, 166, .2); }
.app .rb__t { position: relative; display: flex; justify-content: space-between; font: 500 11.5px var(--mono); color: var(--faint); }
.app .rb__t .tg { position: absolute; left: var(--t); transform: translateX(-50%); color: var(--text-2); white-space: nowrap; }

/* ---------------------------------------------------------------- 01 diagnostic results */
.dg__top { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 2.22fr); gap: 12px; }
.dg__big { font: 800 54px/1 var(--head); color: var(--g); letter-spacing: -.01em; }
.dg__rng { font: 600 13px var(--mono); color: var(--text-2); margin-top: 4px; }
.dg__secs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.dg__secs li { display: grid; align-content: start; gap: 1px; padding: 12px 13px 10px; border-radius: 12px; background: #111A17; border: 1px solid var(--line); min-width: 0; }
.dg__secs .apc__h { margin-bottom: 2px; }
.dg__secs li > b { font: 800 31px/1.05 var(--head); }
.dg__secs li > em { font: 500 12px var(--mono); font-style: normal; color: var(--text-2); }
.dg__secs dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3px 8px; margin: 9px 0 0; padding-top: 8px; border-top: 1px solid var(--line); font-size: 12.5px; }
.dg__secs dt { color: var(--muted); } .dg__secs dd { margin: 0; text-align: right; color: var(--text); font-weight: 600; }
.dg__secs .lo { color: var(--amber); } .dg__secs .na { color: var(--faint); font-weight: 500; }
.dg__mid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.app .tr { display: grid; gap: 7px; }
.app .tr li { display: grid; grid-template-columns: 82px minmax(0, 1fr) 34px; gap: 10px; align-items: center; }
.app .tr li b { font: 500 13px var(--body); color: var(--text-2); }
.app .tr li em { font: 700 16px var(--head); font-style: normal; text-align: right; }
.app .tr svg { display: block; width: 100%; height: auto; }
.app .tr__band { fill: rgba(46, 230, 166, .15); }
.app .tr__line { fill: none; stroke: rgba(242, 247, 245, .5); stroke-width: 1.4; }
.app .tr circle.ok, .app .tr__key .ok { fill: var(--g); background: var(--g); }
.app .tr circle.no { fill: #0B1210; stroke: var(--amber); stroke-width: 1.8; }
.app .tr__key { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.app .tr__key span { display: inline-flex; align-items: center; gap: 6px; }
.app .tr__key i { width: 9px; height: 9px; border-radius: 50%; }
.app .tr__key .no { border: 1.8px solid var(--amber); } .app .tr__key .bd { width: 16px; border-radius: 3px; background: rgba(46, 230, 166, .25); }
.app .fp { gap: 10px; }
.app .fp li { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) 18px 36px; gap: 10px; font-size: 14px; }
.app .fp .bar { height: 11px; }
.app .fp .bar b { width: var(--w); }
.app .fp .is-warn .bar b { background: var(--amber); }
.app .fp em { font: 700 14px var(--mono); }
.app .fp small { font: 500 12.5px var(--mono); color: var(--muted); text-align: right; }
.dg__by { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.dg__by b { font: 600 12px var(--mono); color: var(--text-2); padding: 3px 8px; border-radius: 99px; background: #18221F; }

/* ---------------------------------------------------------------- 02 gap map */
.gm__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 14px; }
.gm__map { display: grid; gap: 8px; align-content: start; min-width: 0; }
.gm__row { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 10px; align-items: center; }
.gm__row > b { font: 600 13px var(--body); color: var(--text-2); }
.gm__cells { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; }
.gk { display: grid; place-items: center; align-content: center; min-width: 0; height: 40px; border-radius: 8px; font: 700 12.5px/1.1 var(--mono); font-style: normal; text-align: center; }
.gk small { display: block; font: 500 11px/1.2 var(--mono); opacity: .85; }
.gm__row--wide .gm__cells .gk { grid-column: span 4; height: 46px; font: 600 12px/1.15 var(--body); padding: 0 8px; }
.gm__row--sk .gm__cells .gk { grid-column: span 3; height: 46px; font: 600 12px/1.15 var(--body); padding: 0 8px; }
.gk--l { background: var(--g); color: var(--ink); }
.gk--s { background: rgba(46, 230, 166, .13); color: var(--g); box-shadow: inset 0 0 0 1px rgba(46, 230, 166, .32); }
.gk--b { background: #1C2925; color: var(--text-2); box-shadow: inset 0 0 0 1px rgba(242, 247, 245, .14); }
.gk--g { background: var(--amber); color: #2A1C02; }
.gk.is-sel { box-shadow: 0 0 0 2px #0B1210, 0 0 0 4px var(--text); }
.gm__key { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 4px 0 0 98px; font-size: 12.5px; color: var(--muted); }
.gm__key span { display: inline-flex; align-items: center; gap: 7px; }
.gm__key .gk { width: 14px; height: 14px; border-radius: 4px; }
.gm__sel p:first-child { font-size: 14px; color: var(--text-2); }
.gm__sel p:first-child b { font: 700 13px var(--mono); color: #2A1C02; background: var(--amber); padding: 2px 7px; border-radius: 6px; margin-right: 6px; }
.gm__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; font: 500 12.5px var(--mono); color: var(--muted); }
.gm__meta span:last-child { color: var(--g); }
.gm__rank ol { display: grid; gap: 6px; }
.gm__rank li { display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.gm__rank li:last-child { border-bottom: 0; }
.gm__rank .gk { height: 30px; font-size: 11.5px; }
.gm__rank li > span { display: grid; min-width: 0; }
.gm__rank li b { font-size: 14px; font-weight: 600; } .gm__rank li em { font: 500 12px var(--mono); font-style: normal; color: var(--muted); }
.gm__rank strong { font: 800 20px var(--head); color: var(--g); }
.gm__sum { margin-top: 10px; font-size: 13.5px; color: var(--text-2); } .gm__sum b { color: var(--g); }

/* ---------------------------------------------------------------- 03 plan and Leap */
.pl__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 14px; }
.pl__left { display: grid; gap: 12px; align-content: start; min-width: 0; }
.pl__wk { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 3px; }
.pl__ph { grid-row: 1; font: 600 11.5px var(--mono); padding: 4px 8px; border-radius: 6px; white-space: nowrap; overflow: hidden; }
.pl__ph--r { grid-column: 1 / span 8; background: rgba(26, 158, 115, .28); color: var(--text-2); }
.pl__ph--p { grid-column: 9 / span 6; background: rgba(124, 199, 242, .16); color: var(--sky); }
.pl__wk .w { grid-row: 2; display: grid; justify-items: center; gap: 4px; padding: 6px 0 5px; border-radius: 7px; background: #111A17; font: 600 11.5px var(--mono); font-style: normal; color: var(--muted); }
.pl__wk .w u { display: grid; place-items: center; min-width: 22px; height: 18px; padding: 0 3px; border-radius: 5px; font: 700 11px var(--mono); text-decoration: none; }
.pl__wk .lp { background: var(--g); color: var(--ink); } .pl__wk .hl { box-shadow: inset 0 0 0 1.5px var(--sky); color: var(--sky); }
.pl__wk .fl { background: var(--sky); color: #06202E; } .pl__wk .td { background: var(--text); color: var(--ink); }
.pl__wk .is-now { background: rgba(46, 230, 166, .14); color: var(--g); box-shadow: inset 0 0 0 1.5px var(--g); }
.pl__list { display: grid; gap: 4px; position: relative; }
.pl__list li { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 6px 10px; border-radius: 9px; font-size: 14px; }
.pl__list b { font: 600 12px var(--mono); color: var(--muted); }
.pl__list em { font: 500 12.5px var(--mono); font-style: normal; color: var(--text-2); text-align: right; display: inline-flex; align-items: center; gap: 5px; }
.pl__list .is-done span { color: var(--text-2); }
.pl__list .is-done b::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--g-3); vertical-align: 1px; }
.pl__list .is-leap em { color: var(--g); }
.pl__list .is-now { background: rgba(46, 230, 166, .12); box-shadow: inset 0 0 0 1px var(--line-g); }
.pl__list .is-now b { color: var(--g); } .pl__list .is-now span { font-weight: 600; } .pl__list .is-now em { color: var(--g); font-weight: 600; }
.pl__list .is-goal b, .pl__list .is-goal em { color: var(--g); } .pl__list .is-goal span { font-weight: 600; }
.pl__list li:not(.is-done):not(.is-now):not(.is-goal) b::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--muted); vertical-align: 1px; }
.pl__rule { font-size: 13px; color: var(--text-2); margin-bottom: 8px; }
.pl__leap ul { display: grid; gap: 2px; }
.pl__leap li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.pl__leap li b { font: 700 12px var(--mono); text-align: center; padding: 3px 0; border-radius: 6px; background: var(--g); color: var(--ink); }
.pl__leap li em { font: 600 12px var(--mono); font-style: normal; color: var(--g); }
.pl__leap .is-fail b { background: #1C2925; color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.pl__leap .is-fail em { color: var(--amber); }
.pl__more { margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.pl__save { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(46, 230, 166, .1); border: 1px solid var(--line-g); font-size: 13px; color: var(--text-2); }
.pl__save b { font: 800 20px var(--head); color: var(--g); margin-right: 4px; }

/* ---------------------------------------------------------------- 03 the week, bars to scale (1 h = 15 px) */
.wk__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.wk__days > li { display: grid; grid-template-rows: auto 118px auto; gap: 8px; align-content: start; padding: 10px 9px 10px; border-radius: 12px; background: #111A17; border: 1px solid var(--line); min-width: 0; }
.wk__h { display: flex; justify-content: space-between; align-items: baseline; gap: 4px; }
.wk__h b { font: 700 13px var(--mono); } .wk__h span { font: 500 12px var(--mono); color: var(--text-2); white-space: nowrap; }
.wk__bar { position: relative; align-self: end; justify-self: center; width: 70%; max-width: 56px; height: calc(var(--c) * 15px); border-radius: 8px; box-shadow: inset 0 0 0 1.5px rgba(242, 247, 245, .22); }
.wk__bar::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--h) * 15px); border-radius: 8px; background: var(--g-3); }
.wk__bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: calc(var(--h) * 15px); height: calc(var(--m, 0) * 15px); border-radius: 6px 6px 2px 2px; background: var(--g); }
.wk__days ul { display: grid; gap: 4px; }
.wk__days ul li { display: flex; justify-content: space-between; gap: 6px; font-size: 12.5px; line-height: 1.3; color: var(--text-2); padding: 5px 7px; border-radius: 7px; background: #16201D; }
.wk__days ul li em { font: 500 11.5px var(--mono); font-style: normal; color: var(--muted); }
.wk__days ul li.mv { background: rgba(46, 230, 166, .14); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-g); } .wk__days ul li.mv em { color: var(--g); }
.wk__days .is-done { opacity: .78; }
.wk__days .is-miss { background: repeating-linear-gradient(135deg, #111A17 0 7px, rgba(242, 123, 114, .07) 7px 14px); border-color: rgba(242, 123, 114, .45); }
.wk__days .is-miss .wk__h span { color: var(--rose); }
.wk__days .is-miss .wk__bar::before { background: none; box-shadow: inset 0 0 0 1.5px var(--rose); }
.wk__days .is-miss ul li { text-decoration: line-through; text-decoration-color: rgba(242, 123, 114, .7); color: var(--muted); background: transparent; box-shadow: inset 0 0 0 1px rgba(242, 123, 114, .25); }
.wk__days .is-now { border-color: var(--g); box-shadow: 0 0 0 1px var(--g); }
.wk__days .is-now .wk__h b { color: var(--g); }
.wk__days .is-exam .wk__bar::before { background: var(--sky); }
.wk__days .is-exam .wk__h span { color: var(--sky); }
.wk__days .is-exam ul li:first-child { background: rgba(124, 199, 242, .16); color: var(--text); }
.wk__days .is-rev .wk__bar::before { background: rgba(124, 199, 242, .55); }
.wk__days .is-exam ul li:nth-child(2), .wk__days .is-rev ul li:nth-child(2) { background: transparent; color: var(--muted); padding-top: 0; }
.wk__foot { display: grid; gap: 8px; }
.wk__key { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12.5px; color: var(--muted); }
.wk__key span { display: inline-flex; align-items: center; gap: 7px; }
.wk__key i { width: 14px; height: 12px; border-radius: 3px; }
.wk__key .k1 { background: var(--g-3); } .wk__key .k2 { background: var(--g); } .wk__key .k3 { box-shadow: inset 0 0 0 1.5px rgba(242, 247, 245, .3); }

/* ---------------------------------------------------------------- 04 misses queue */
.mq2__grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 14px; }
.mq2__tbl ul { display: grid; gap: 6px; }
.mq2__th, .mq2__tbl li { display: grid; grid-template-columns: minmax(0, 1fr) 100px 50px 58px 84px; gap: 10px; align-items: center; }
.mq2__th span:last-child { text-align: right; }
.mq2__th { padding: 0 12px 6px; font: 600 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.mq2__tbl li { padding: 10px 12px; border-radius: 11px; background: #111A17; border: 1px solid var(--line); }
.mq2__tbl li > div { display: grid; min-width: 0; }
.mq2__tbl li > div b { font-size: 14px; font-weight: 600; line-height: 1.3; }
.mq2__tbl li > div span { font-size: 12px; color: var(--muted); }
.mq2__tbl em { font: 600 12.5px var(--mono); font-style: normal; color: var(--amber); white-space: nowrap; }
.mq2__tbl strong { font: 600 12.5px var(--mono); color: var(--text-2); text-align: right; white-space: nowrap; }
.mq2__tbl strong.due { color: var(--g); } .mq2__tbl strong.ok { color: var(--g); font-size: 11.5px; }
.mq2__tbl .is-sel { border-color: var(--g); background: rgba(46, 230, 166, .07); }
.mq2__tbl .is-done { opacity: .6; } .mq2__tbl .is-done em { color: var(--muted); }
.app .dots { display: flex; gap: 5px; } .app .dots i { width: 13px; height: 13px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--g-3); } .app .dots i.on { background: var(--g); box-shadow: none; }
.app .cz { justify-self: start; font: 600 11.5px var(--body); font-style: normal; padding: 3px 9px; border-radius: 99px; white-space: nowrap; }
.cz--t { background: rgba(124, 199, 242, .15); color: var(--sky); } .cz--c { background: rgba(242, 184, 75, .14); color: var(--amber); } .cz--m { background: rgba(46, 230, 166, .13); color: var(--g); }
.mq2__det { display: grid; gap: 10px; align-content: start; }
.mq2__det .apc__h { margin-bottom: 0; }
.mq2__q { font: 500 14px/1.45 Georgia, "Times New Roman", serif; color: var(--text); }
.mq2__ans { display: flex; flex-wrap: wrap; gap: 6px; font: 600 12px var(--mono); }
.mq2__ans span { padding: 3px 8px; border-radius: 6px; background: #18221F; color: var(--muted); }
.mq2__ans .pick { color: var(--rose); background: rgba(242, 123, 114, .1); } .mq2__ans .key { color: var(--g); background: rgba(46, 230, 166, .1); }
.mq2__lbl { font: 600 12.5px var(--body); color: var(--text-2); }
.mq2__cz { display: flex; flex-wrap: wrap; gap: 5px; }
.mq2__cz i { display: inline-flex; align-items: center; gap: 4px; font: 500 12px var(--body); font-style: normal; padding: 4px 9px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--muted); }
.mq2__cz i.on { background: var(--g); color: var(--ink); box-shadow: none; font-weight: 700; }
.mq2__note { font-size: 12.5px; color: var(--muted); }
.mq2__next { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--g); padding-top: 8px; border-top: 1px solid var(--line); }

/* ---------------------------------------------------------------- 05 Node session */
.ns__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; }
.ns__steps { display: flex; flex-wrap: wrap; gap: 6px; }
.ns__steps li { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 6px; border-radius: 99px; border: 1px solid var(--line-2); font: 600 12.5px var(--body); color: var(--muted); }
.ns__steps i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #1C2925; font: 700 11px var(--head); font-style: normal; color: var(--text); }
.ns__steps .is-done { color: var(--text-2); padding-left: 10px; } .ns__steps .is-done .ic { color: var(--g); }
.ns__steps .is-on { background: var(--g); color: var(--ink); border-color: var(--g); } .ns__steps .is-on i { background: var(--ink); color: var(--g); }
.ns__modes { display: flex; gap: 2px; padding: 3px; border-radius: 99px; background: #111A17; border: 1px solid var(--line); }
.ns__modes span { font: 500 12px var(--body); color: var(--muted); padding: 4px 10px; border-radius: 99px; }
.ns__modes .on { background: #22312C; color: var(--text); font-weight: 600; }
.ns__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 14px; }
.ns__pass { display: grid; gap: 10px; align-content: start; padding: 14px 16px; border-radius: 12px; background: #111A17; border: 1px solid var(--line); font: 400 14.5px/1.62 Georgia, "Times New Roman", serif; color: var(--text-2); }
.ns__ph { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font: 600 11.5px var(--mono); color: var(--faint); text-transform: uppercase; letter-spacing: .05em; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.ns__pass sup { font: 700 10.5px var(--mono); color: var(--faint); margin-right: 5px; vertical-align: 4px; }
.ns__pass mark { color: var(--text); background: linear-gradient(rgba(46, 230, 166, .26), rgba(46, 230, 166, .26)) 0 0 / 100% 100% no-repeat; border-bottom: 2px solid var(--g); }
.ns__pass mark.m2 { background-image: linear-gradient(rgba(242, 184, 75, .22), rgba(242, 184, 75, .22)); border-bottom-color: var(--amber); }
.ns__q { font: 600 14px/1.45 var(--body); color: var(--text); padding-top: 8px; border-top: 1px solid var(--line); }
.ns__ch { display: grid; gap: 5px; font: 400 13.5px/1.4 var(--body); }
.ns__ch li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; align-items: start; padding: 6px 9px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); color: var(--text-2); }
.ns__ch b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font: 700 11px var(--mono); box-shadow: inset 0 0 0 1.5px var(--muted); color: var(--text-2); }
.ns__ch .is-x { color: var(--faint); text-decoration: line-through; }
.ns__ch .is-pick { box-shadow: inset 0 0 0 1.5px var(--g); background: rgba(46, 230, 166, .08); color: var(--text); }
.ns__ch .is-pick b { background: var(--g); color: var(--ink); box-shadow: none; }
.ns__chat { display: grid; gap: 8px; align-content: start; }
.ns__chat li { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; }
.ns__chat i { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--g); color: var(--ink); font: 700 12px var(--head); font-style: normal; }
.ns__chat .n p { padding: 8px 11px; border-radius: 4px 12px 12px 12px; background: #16201D; border: 1px solid var(--line); color: var(--text); }
.ns__chat .y { justify-content: flex-end; padding-left: 34px; }
.ns__chat .y p { padding: 8px 11px; border-radius: 12px 4px 12px 12px; background: rgba(46, 230, 166, .1); border: 1px solid var(--line-g); color: var(--text); }
.ns__chat .y p { font-weight: 500; }
.ns__chat .ns__tag { display: block; font: 600 11px var(--mono); color: var(--g); margin-bottom: 2px; }
.ns__chat .is-last p { border-color: var(--line-g); }

/* ---------------------------------------------------------------- 06 lesson */
.ls__grid { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); gap: 16px; }
.ls__toc { display: grid; gap: 6px; align-content: start; }
.ls__toc li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; padding: 9px 11px; border-radius: 10px; border: 1px solid var(--line); background: #111A17; font-size: 13.5px; font-weight: 600; }
.ls__toc li span { display: grid; min-width: 0; }
.ls__toc em { font: 500 11.5px var(--mono); font-style: normal; color: var(--muted); }
.ls__toc i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #1C2925; font: 700 11.5px var(--head); font-style: normal; }
.ls__toc .is-skip { background: transparent; color: var(--muted); } .ls__toc .is-skip .ic { color: var(--g); margin-top: 3px; } .ls__toc .is-skip em { color: var(--g); }
.ls__toc .is-on { border-color: var(--g); background: rgba(46, 230, 166, .08); } .ls__toc .is-on i { background: var(--g); color: var(--ink); } .ls__toc .is-on em { color: var(--amber); }
.ls__body { display: grid; gap: 12px; align-content: start; min-width: 0; }
.ls__idea { font-size: 14.5px; line-height: 1.55; color: var(--text-2); } .ls__idea b { color: var(--text); }
.ls__fig { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.mm2 { display: block; width: 100%; height: auto; background: #111A17; border: 1px solid var(--line); border-radius: 12px; }
.mm2 path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.mm2__ax { stroke: rgba(242, 247, 245, .55); stroke-width: 1.6; }
.mm2__grid { stroke: rgba(242, 247, 245, .06); stroke-width: 1; }
.mm2__vm { stroke: var(--text-2); stroke-width: 1.4; stroke-dasharray: 6 6; }
.mm2__half { stroke: rgba(242, 247, 245, .4); stroke-width: 1.2; stroke-dasharray: 3 5; }
.mm2__a { stroke: var(--text); stroke-width: 2.6; }
.mm2__b { stroke: var(--g); stroke-width: 2.8; }
.mm2__pt { fill: var(--text); } .mm2__pt--b { fill: var(--g); }
.mm2 text { font: 500 15px var(--body); fill: var(--muted); }
.mm2 text.b { fill: var(--g); font-weight: 600; }
.ls__tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; background: #111A17; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.ls__tbl th, .ls__tbl td { padding: 8px 10px; text-align: left; border-bottom: 1px solid var(--line); }
.ls__tbl thead th { font: 600 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.ls__tbl tbody th { font-weight: 600; color: var(--text-2); }
.ls__tbl tbody tr:last-child > * { border-bottom: 0; }
.ls__tbl td { color: var(--text-2); }
.ls__tbl .up { color: var(--amber); font-weight: 600; } .ls__tbl .dn { color: var(--rose); font-weight: 600; }
.ls__tbl .is-on > * { background: rgba(46, 230, 166, .08); } .ls__tbl .is-on th { color: var(--g); }
.ls__q { display: flex; align-items: center; gap: 8px; font: 600 14px var(--body); color: var(--g); }

/* ---------------------------------------------------------------- 07 exams */
.ex__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 14px; }
.ex__mon { font: 700 14px var(--head); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 8px; color: var(--text-2); }
.ex__days, .ex__wks { display: grid; grid-template-columns: 34px repeat(7, minmax(0, 1fr)); gap: 4px; }
.ex__days span { font: 600 11px var(--mono); color: var(--faint); text-align: center; padding-bottom: 4px; }
.ex__wks .wn { font: 600 11px var(--mono); color: var(--faint); align-self: center; }
.ex__wks i { display: grid; align-content: start; gap: 1px; min-width: 0; height: 52px; padding: 4px 5px; border-radius: 8px; background: #111A17; border: 1px solid var(--line); font: 500 11px var(--mono); font-style: normal; color: var(--muted); overflow: hidden; }
.ex__wks i b { font: 700 11.5px var(--body); color: var(--text); white-space: nowrap; }
.ex__wks i em { font: 600 11px var(--mono); font-style: normal; white-space: nowrap; }
.ex__wks .fl { border: 1.5px dashed var(--sky); } .ex__wks .fl b, .ex__wks .fl em { color: var(--sky); }
.ex__wks .fl.done { border-style: solid; background: rgba(124, 199, 242, .12); } .ex__wks .fl.done b { color: var(--text); } .ex__wks .fl.done em { color: var(--sky); font-size: 12.5px; }
.ex__wks .rv { background: rgba(124, 199, 242, .06); } .ex__wks .rv b { color: var(--text-2); font-weight: 500; }
.ex__wks .ms { background: repeating-linear-gradient(135deg, #111A17 0 6px, rgba(242, 123, 114, .12) 6px 12px); border-color: rgba(242, 123, 114, .45); } .ex__wks .ms b { color: var(--rose); font-weight: 600; }
.ex__wks .busy { background: repeating-linear-gradient(135deg, #111A17 0 6px, rgba(242, 123, 114, .12) 6px 12px); border-color: rgba(242, 123, 114, .45); } .ex__wks .busy b { color: var(--rose); }
.ex__wks .hf { box-shadow: inset 0 0 0 1.5px var(--sky); border-color: transparent; } .ex__wks .hf b { color: var(--sky); } .ex__wks .hf em { color: var(--muted); }
.ex__wks .now { background: var(--g); border-color: var(--g); color: var(--ink); } .ex__wks .now b { color: var(--ink); }
.ex__wks .off { opacity: .6; }
.ex__wks .td { background: var(--text); border-color: var(--text); color: var(--ink); } .ex__wks .td b { color: var(--ink); white-space: normal; line-height: 1.1; }
.ex__wks .pad { visibility: hidden; }
.ex__side { display: grid; gap: 12px; align-content: start; min-width: 0; }
.ex__scores table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ex__scores th, .ex__scores td { padding: 7px 4px; text-align: right; border-bottom: 1px solid var(--line); }
.ex__scores thead th { font: 600 11px var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--faint); }
.ex__scores thead th:first-child, .ex__scores tbody th { text-align: left; }
.ex__scores tbody th { font-weight: 600; color: var(--text); }
.ex__scores tbody th span { display: block; font: 500 11px var(--mono); color: var(--faint); }
.ex__scores td { font: 600 13.5px var(--mono); color: var(--text-2); }
.ex__scores td:nth-child(2) { color: var(--text); font-weight: 700; }
.ex__scores td.na { font: 500 11px var(--mono); color: var(--faint); }
.ex__scores td.lo { color: var(--amber); }
.ex__scores tbody tr:last-child > * { border-bottom: 0; }
.ex__scores .is-last td:nth-child(2) { color: var(--g); }
.ex__big { display: grid; } .ex__big b { font: 800 30px/1.05 var(--head); color: var(--g); } .ex__big span { font-size: 12.5px; color: var(--muted); }

/* ---------------------------------------------------------------- scroll play inside held screens (motion.js drives --q) */
html.anim .hold.is-pinned [data-anim] .app .fp .bar b { transform: scaleX(clamp(0, calc((var(--q) - .3 - var(--n, 0) * .06) * 3.2), 1)); }
html.anim .hold.is-pinned [data-anim] .app .fp li { opacity: clamp(.3, calc((var(--q) - .25 - var(--n, 0) * .06) * 5), 1); }

/* ---------------------------------------------------------------- tablets */
@media (max-width: 1080px) {
  .feat--ink, .feat--ink.feat--flip { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .feat--ink.feat--flip .feat__copy { order: 0; }
  figure.ink .ink__svg { max-width: 560px; }
  .app { grid-template-columns: 64px minmax(0, 1fr); }
  .app__rail span { justify-content: center; padding: 9px 0; }
  .app__rail span b, .app__goal { display: none; }
  .app__brand { width: auto; }
  .dg__top { grid-template-columns: minmax(0, 1fr); }
  .dg__est { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 4px 18px; align-items: center; }
  .dg__est .apc__h { grid-column: 1 / -1; margin-bottom: 0; }
  .dg__est .rbw { align-self: center; }
  .wk__days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .feat--app .feat__copy, .ink-lead { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .dg__mid, .gm__grid, .pl__grid, .mq2__grid, .ns__grid, .ls__grid, .ex__grid { grid-template-columns: minmax(0, 1fr); }
  .dg__secs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app__wk { display: none; }
}

/* ---------------------------------------------------------------- phones: the same screen as the phone app, tab bar at the bottom */
@media (max-width: 639px) { .hero-p .cnt { font-size: 24px; } }
@media (max-width: 700px) {
  .app { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; border-radius: 28px; border-width: 2px; }
  .app__top { min-height: 52px; padding: 0 14px; gap: 10px; }
  .app__brand b, .app__test { display: none; }
  .app__crumb { font-size: 14px; }
  .app__crumb i, .app__crumb span { display: none; }
  .app__when > span { padding: 4px 9px; }
  .app__count { font-size: 12px; }
  .app__rail { order: 3; flex-direction: row; justify-content: space-around; gap: 0; padding: 6px 4px 10px; border-right: 0; border-top: 1px solid var(--line); }
  .app__rail span { display: none; flex-direction: column; gap: 3px; padding: 6px 2px; min-width: 58px; font-size: 11px; justify-content: center; }
  .app__rail span b { display: block; font-size: 11px; }
  .app__rail span:is([data-s="today"], [data-s="plan"], [data-s="review"], [data-s="node"]), .app__rail span[data-on] { display: flex; }
  .app__rail [data-on] { box-shadow: none; background: none; color: var(--g); }
  .app__main { padding: 14px 12px 16px; gap: 12px; }
  .app__head h4 { font-size: 19px; }
  .app__head p { font-size: 12.5px; }
  .ap-chip { font-size: 11.5px; padding: 4px 9px; white-space: normal; }
  .apc { padding: 12px; }
  .app .why { font-size: 13px; padding: 10px 11px; }
  .shot--app .shot__cap { font-size: 12px; }
  /* diagnostic */
  .dg__est { grid-template-columns: auto minmax(0, 1fr); }
  .dg__est .rbw { grid-column: 1 / -1; }
  .dg__big { font-size: 46px; }
  .dg__secs li > b { font-size: 26px; }
  .dg__secs dl { font-size: 12px; }
  .app .tr li { grid-template-columns: 74px minmax(0, 1fr) 30px; gap: 8px; }
  .app .tr li b { font-size: 12px; }
  .app .fp li { grid-template-columns: minmax(0, 1fr) 54px 14px 32px; gap: 7px; font-size: 13px; }
  /* gap map: six to a row */
  .gm__row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .gm__cells { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .gm__row--wide .gm__cells .gk, .gm__row--sk .gm__cells .gk { grid-column: span 6; height: 36px; flex-direction: row; display: flex; justify-content: space-between; padding: 0 12px; font-size: 12.5px; }
  .gm__row--wide .gm__cells .gk small, .gm__row--sk .gm__cells .gk small { font-size: 12px; }
  .gm__row--sk .gm__cells .gk { grid-column: span 3; }
  .gm__key { padding-left: 0; }
  /* plan */
  .pl__wk { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .pl__ph { display: none; }
  .pl__wk .w { grid-row: auto; }
  .pl__list li { grid-template-columns: 78px minmax(0, 1fr); row-gap: 1px; padding: 7px 8px; font-size: 13.5px; }
  .pl__list em { grid-column: 2; text-align: left; font-size: 12px; }
  .pl__list b { font-size: 11.5px; white-space: nowrap; }
  .pl__list li { grid-template-columns: 92px minmax(0, 1fr); }
  /* week: one row a day, tasks under the bar */
  .wk__days { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .wk__days > li { grid-template-columns: 58px minmax(0, 1fr); grid-template-rows: auto auto; gap: 6px 10px; padding: 9px 10px; }
  .wk__h { grid-column: 1; grid-row: 1 / span 2; flex-direction: column; justify-content: flex-start; gap: 2px; }
  .wk__bar { grid-column: 2; grid-row: 1; justify-self: start; align-self: center; width: calc(var(--c) / 7.5 * 100%); max-width: none; height: 12px; border-radius: 6px; }
  .wk__bar::before { top: 0; bottom: 0; left: 0; right: auto; height: auto; width: calc(var(--h) / var(--c) * 100%); border-radius: 6px; }
  .wk__bar::after { top: 0; bottom: 0; left: calc(var(--h) / var(--c) * 100%); right: auto; height: auto; width: calc(var(--m, 0) / var(--c) * 100%); border-radius: 2px 6px 6px 2px; }
  .wk__days ul { grid-column: 2; grid-row: 2; display: flex; flex-wrap: wrap; gap: 4px; }
  .wk__days ul li { padding: 3px 7px; font-size: 12px; gap: 5px; }
  /* misses */
  .mq2__th { display: none; }
  .mq2__tbl li { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; padding: 10px; }
  .mq2__tbl li > div { grid-column: 1 / -1; }
  .mq2__tbl li > .app .cz { grid-column: 1; }
  .mq2__tbl li > em { grid-column: 2; grid-row: 2; justify-self: end; }
  .mq2__tbl li > .app .dots { grid-column: 1; grid-row: 3; }
  .mq2__tbl li > strong { grid-column: 2; grid-row: 3; }
  /* node */
  .ns__modes { display: none; }
  .ns__pass { font-size: 14px; padding: 12px; }
  .ns__pass sup { font-size: 11px; }
  .ns__chat .y { padding-left: 20px; }
  /* lesson */
  .ls__toc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ls__toc li { padding: 8px 9px; font-size: 12.5px; }
  .ls__fig { grid-template-columns: minmax(0, 1fr); }
  .mm2 text { font-size: 16px; }
  /* exams */
  .ex__days, .ex__wks { grid-template-columns: 26px repeat(7, minmax(0, 1fr)); gap: 3px; }
  .ex__wks i { height: 46px; padding: 3px; font-size: 11px; }
  .ex__wks i b { font-size: 11px; white-space: normal; line-height: 1.1; }
  .ex__wks i em { font-size: 11px; }
  .ex__wks .rv b, .ex__wks .hf em, .ex__wks .fl:not(.done) em, .ex__wks .ms b { display: none; }
  .ex__scores th, .ex__scores td { padding: 6px 3px; font-size: 12px; }
  .ex__scores td { font-size: 12.5px; }
  .ex__scores td.na { font-size: 11px; }
}
@media (max-width: 380px) {
  .dg__secs { grid-template-columns: minmax(0, 1fr); }
  .ls__toc { grid-template-columns: minmax(0, 1fr); }
  .app__rail span { min-width: 52px; }
}

/* ================================================================ every home section plays (tabs-motion, 2026-11-14)
   New parts in the site's motion language. Each plays once by the clock when a block is not held (site.js adds is-in, the
   delay is --d), and by the scroll when it is held (motion.js sets --o from --d plus any [data-step] on an ancestor).
   a-grow   a bar grows to its value (.y upward, .c from its middle)
   a-check  a task ticks off
   a-strike a line goes through a missed task
   a-lit    a card lights up once, then settles
   Reduced motion: none of these rules apply (no html.anim), so every part shows finished. */
html.anim [data-anim] .a-grow { transform: scaleX(0); transform-box: fill-box; transform-origin: left center; }
html.anim [data-anim] .a-grow.y { transform: scaleY(0); transform-origin: center bottom; }
html.anim [data-anim] .a-grow.c { transform-origin: center; }
html.anim [data-anim].is-in .a-grow { transform: none; transition: transform 900ms var(--ease-out) var(--d, 0ms); }
html.anim .hold.is-pinned [data-anim] .a-grow { --v: clamp(0, calc((var(--q) - var(--o, 0)) * 6), 1); transform: scaleX(var(--v)); transition: none; }
html.anim .hold.is-pinned [data-anim] .a-grow.y { transform: scaleY(var(--v)); }

.a-check { position: relative; padding-left: 25px !important; }
.a-check::before { content: ""; position: absolute; left: 6px; top: var(--ck-top, 6px); width: 14px; height: 14px; border-radius: 50%; background: var(--g) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2.2 5.3l1.9 1.9 3.8-4.3' fill='none' stroke='%230A0E0D' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat; }
html.anim [data-anim] .a-check::before { transform: scale(0); }
html.anim [data-anim].is-in .a-check::before { transform: none; transition: transform 380ms var(--ease-pop, ease) var(--d, 0ms); }
html.anim .hold.is-pinned [data-anim] .a-check::before { transform: scale(clamp(0, calc((var(--q) - var(--o, 0)) * 9), 1)); transition: none; }

.a-strike { position: relative; }
.a-strike::after { content: ""; position: absolute; left: 5px; right: 5px; top: 50%; height: 1.6px; margin-top: -.8px; border-radius: 1px; background: rgba(242, 123, 114, .85); transform-origin: left; pointer-events: none; }
html.anim [data-anim] .a-strike::after { transform: scaleX(0); }
html.anim [data-anim].is-in .a-strike::after { transform: none; transition: transform 460ms var(--ease-out) var(--d, 0ms); }
html.anim .hold.is-pinned [data-anim] .a-strike::after { transform: scaleX(clamp(0, calc((var(--q) - var(--o, 0)) * 9), 1)); transition: none; }

.a-lit { position: relative; }
.a-lit::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 1.5px solid var(--g); box-shadow: 0 0 0 4px rgba(46, 230, 166, .08), 0 18px 44px rgba(46, 230, 166, .12); pointer-events: none; opacity: 0; }
html.anim [data-anim].is-in .a-lit::before, html.anim [data-anim].is-in.a-lit::before { animation: litOnce 1.3s ease var(--d, 0ms) both; }
html.anim .hold.is-pinned [data-anim] .a-lit::before, html.anim .hold.is-pinned [data-anim].a-lit::before { animation: none; opacity: calc(clamp(0, calc((var(--q) - var(--o, 0)) * 10), 1) * clamp(0, calc((var(--o, 0) + .2 - var(--q)) * 8), 1)); }
@keyframes litOnce { 0% { opacity: 0; } 25% { opacity: 1; } 100% { opacity: 0; } }

/* a held set (any [data-hold] block): its heading inks in line by line, like a feature's copy */
.hold.is-pinned [data-hold] > .sec__head > * { --v: clamp(.12, calc((var(--p) * 2.4 - var(--n, 0) * .16) * 6), 1); opacity: var(--v); transform: translate3d(0, calc((1 - var(--v)) * 18px), 0); }
.hold.is-pinned [data-hold] > .sec__head { margin-bottom: 40px; }
.hold--set + .hold--set { margin-top: 0; }

/* ---------------------------------------------------------------- Only in Ranvier: each tile's drawing plays in turn */
.dx__tile { position: relative; }
.dx__art .a-grow, .dx__art .a-pop { transform-box: fill-box; }

/* ---------------------------------------------------------------- the week: bars grow, Monday ticks off, Tuesday is missed,
   its work moves to Wednesday, Thursday and Friday. --ob is when a day's planned bar grows, --om its moved part, in held q. */
.wk__bar::before { transform-origin: bottom; }
.wk__bar::after { transform-origin: bottom; }
html.anim [data-anim] .wk__bar::before { transform: scaleY(0); }
html.anim [data-anim] .wk__bar::after { transform: scaleY(0); }
html.anim [data-anim].is-in .wk__bar::before { transform: none; transition: transform 800ms var(--ease-out) var(--db, 0ms); }
html.anim [data-anim].is-in .wk__bar::after { transform: none; transition: transform 700ms var(--ease-out) var(--dm, 0ms); }
html.anim .hold.is-pinned [data-anim] .wk__bar::before { transform: scaleY(clamp(0, calc((var(--q) - var(--ob, 0)) * 6), 1)); transition: none; }
html.anim .hold.is-pinned [data-anim] .wk__bar::after { transform: scaleY(clamp(0, calc((var(--q) - var(--om, 0)) * 7), 1)); transition: none; }
.wk__days .is-miss ul li { text-decoration: none; }
.wk__days .is-miss ul li.a-strike::after { left: 6px; right: 6px; }
.wk__days > li.is-miss { position: relative; background: #111A17; border-color: var(--line); }
.wk__days > li.is-miss::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 1px solid rgba(242, 123, 114, .5); background: repeating-linear-gradient(135deg, transparent 0 7px, rgba(242, 123, 114, .08) 7px 14px); pointer-events: none; }
html.anim [data-anim] .wk__days > li.is-miss::after { opacity: 0; }
html.anim [data-anim].is-in .wk__days > li.is-miss::after { opacity: 1; transition: opacity 500ms ease var(--dx, 0ms); }
html.anim .hold.is-pinned [data-anim] .wk__days > li.is-miss::after { opacity: clamp(0, calc((var(--q) - var(--ox, 0)) * 8), 1); transition: none; }
.wk__days .is-done ul li.a-check { --ck-top: 6px; }

/* ---------------------------------------------------------------- everything you use: ten tiles light one by one, each
   showing where the student uses it this week */
.core li em.core__ex { font: 500 11.5px/1.4 var(--mono); font-style: normal; color: var(--g); padding-top: 8px; margin-top: 2px; border-top: 1px solid var(--line); }
.ev__cap { text-align: center; font-size: 12.5px; color: var(--faint); margin-top: -40px; }
html.anim .hold.is-pinned [data-anim] .core li.a-lit { opacity: clamp(.32, calc(.32 + (var(--q) - var(--o, 0)) * 6), 1); }
html.anim .hold.is-pinned [data-anim] .core li.a-lit .ic { transform: scale(calc(.8 + .2 * clamp(0, calc((var(--q) - var(--o, 0)) * 6), 1))); }

/* ---------------------------------------------------------------- 06 and 07 drawings */
.ink__svg .fold { fill: rgba(46, 230, 166, .1); stroke: var(--g); stroke-width: 2; }
.ink__svg .gap { fill: rgba(242, 184, 75, .16); stroke: var(--amber); stroke-width: 2.4; }
.ink__svg .ta { font: 700 20px var(--body); fill: var(--amber); }
.ink__svg .ts { font: 500 16px var(--mono); fill: var(--muted); }
.ink__svg .tsg { font: 600 16px var(--mono); fill: var(--g); }
.ink__svg .ck { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ink__svg .cr { fill: rgba(26, 158, 115, .3); }
.ink__svg .pr { fill: rgba(124, 199, 242, .14); }
.ink__svg .sky { fill: var(--sky); }
.ink__svg .hf { fill: #0E1513; stroke: var(--sky); stroke-width: 2.2; }
.ink__svg .td { fill: var(--text); }
.ink__svg .tsk { font: 700 16px var(--mono); fill: var(--sky); }
.ink__svg .tk { font: 700 16px var(--mono); fill: #06202E; }
.ink__svg .tdk { font: 700 16px var(--mono); fill: var(--ink); }

/* ---------------------------------------------------------------- why switch, price, founder */
.dated .new li .ic { transform-box: fill-box; }
.price-compare > div.a-lit { border-radius: 10px; }
.price-compare > div.a-lit::before { inset: 4px -10px; }

/* ---------------------------------------------------------------- symmetry: captions sit under the middle of a centred
   picture, and an incomplete last row of cards is centred */
.pg-home .shot__cap, .pg-home .tds-cap, .pg-home .hero-cap { text-align: center; }
@media (max-width: 1180px) and (min-width: 681px) {
  .pg-home .core { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .pg-home .core > li { grid-column: span 2; }
  .pg-home .core > li:last-child { grid-column: 3 / span 2; }
}
@media (max-width: 1100px) and (min-width: 761px) {
  .dx__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .dx__grid > li { grid-column: span 2; }
  .dx__grid > li:nth-child(4) { grid-column: 2 / span 2; }
}
@media (max-width: 760px) and (min-width: 521px) {
  .dx__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .dx__grid > li { grid-column: span 2; }
  .dx__grid > li:nth-child(5) { grid-column: 2 / span 2; }
}
@media (max-width: 1080px) and (min-width: 701px) {
  .wk__days { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .wk__days > li { grid-column: span 2; }
  .wk__days > li:nth-child(5) { grid-column: 2 / span 2; }
}

/* ---------------------------------------------------------------- phones: the week's bars run sideways */
@media (max-width: 700px) {
  .wk__bar::before, .wk__bar::after { transform-origin: left center; }
  html.anim [data-anim] .wk__bar::before, html.anim [data-anim] .wk__bar::after { transform: scaleX(0); }
  html.anim [data-anim].is-in .wk__bar::before, html.anim [data-anim].is-in .wk__bar::after { transform: none; }
  html.anim .hold.is-pinned [data-anim] .wk__bar::before { transform: scaleX(clamp(0, calc((var(--q) - var(--ob, 0)) * 6), 1)); }
  html.anim .hold.is-pinned [data-anim] .wk__bar::after { transform: scaleX(clamp(0, calc((var(--q) - var(--om, 0)) * 7), 1)); }
  .wk__days .is-done ul li.a-check { --ck-top: 3px; }
  .ev__cap { margin-top: -28px; }
}

/* ================================================================ home top, in the order of the Ranvier page on aurifex.llc
   (docs BASIS_FROM_AURIFEX): hero with the Spiral, the mountain with the product on a device, the targets band, five things
   plus our sixth with the miss fingerprint, traditional prep against Ranvier, six students. */
.h-sec .g { color: var(--g); }

/* ---------------------------------------------------------------- hero: copy left, the Spiral right */
.hero--spiral { padding: 40px 0 24px; overflow: visible; }
.hero--spiral::before { display: none; }
.hero--spiral .hero__in { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.hero--spiral .hero__copy { gap: 22px; }
.hero--spiral h1.display { font-size: clamp(42px, 4.6vw, 70px); }
.hero--spiral .lede { max-width: 34em; }
.hero .hold.is-pinned > .hold-pin { padding-top: var(--navh, 68px); }
.spiral-fig { margin: 0; display: grid; justify-items: center; gap: 6px; min-width: 0; position: relative; }
.spiral-fig::before { content: ""; position: absolute; inset: -4% 0 4%; background: radial-gradient(60% 70% at 50% 45%, rgba(46, 230, 166, .09), transparent 70%); pointer-events: none; }
.spiral-stage { width: 100%; max-width: 520px; }
.spiral-cap { font: 500 11.5px var(--mono); letter-spacing: 1.4px; text-transform: uppercase; color: var(--faint); text-align: center; max-width: 46ch; text-wrap: balance; }
.rvs-scene { display: block; width: 100%; height: auto; overflow: visible; }
.tl-scene.rvs-scene mask rect, .tl-scene.rvs-scene circle[fill] { stroke: none; }
.tl-scene.rvs-scene .k-draw { opacity: clamp(0, calc((var(--t) - var(--a)) * 200), 1); }
.tl-scene.rvs-scene .rvs-band { fill: none; stroke: #133a2d; stroke-width: 11; stroke-linecap: round; }
.tl-scene.rvs-scene .rvs-line { fill: none; stroke: #e2be55; stroke-width: 2.4; stroke-linecap: round; }
.tl-scene.rvs-scene .rvs-core { fill: #2ee6a6; stroke: #b6fbe2; stroke-width: 2; }
.tl-scene.rvs-scene .rvs-you { font: 700 20px var(--mono); fill: #04100b; letter-spacing: 1px; }
.tl-scene.rvs-scene .rvs-node { fill: #2ee6a6; stroke: none; }
.tl-scene.rvs-scene .rvs-halo { fill: rgba(46, 230, 166, .12); stroke: #2ee6a6; stroke-width: 2; }
.tl-scene.rvs-scene .rvs-flare { fill: none; stroke: #b6fbe2; stroke-width: 2; opacity: .55; }
.tl-scene.rvs-scene .rvs-lab { font: 22px var(--mono); fill: #8ff5d0; letter-spacing: .5px; text-transform: uppercase; }
.tl-scene.rvs-scene .rvs-hop { fill: none; stroke: #2ee6a6; stroke-width: 2; stroke-linecap: round; stroke-dasharray: .012 .018; stroke-dashoffset: 0; opacity: calc(clamp(0, calc((var(--t) - var(--a)) / var(--len, .1)), 1) * .5); }
.tl-scene.rvs-scene .rvs-exit { fill: none; stroke: #e2be55; stroke-width: 2.6; stroke-linecap: round; }
.tl-scene.rvs-scene .rvs-pole { fill: none; stroke: var(--text); stroke-width: 2.4; stroke-linecap: round; }
.tl-scene.rvs-scene .rvs-flag { fill: #e2be55; stroke: none; }
.tl-scene.rvs-scene .rvs-test { font: 600 26px var(--head); fill: #f7e3a1; letter-spacing: 1px; text-transform: uppercase; }
.tl-scene.rvs-scene .rvs-big { font: 800 50px var(--head); fill: #2ee6a6; text-transform: uppercase; letter-spacing: .5px; }
.tl-scene.rvs-scene .rvs-note { font: 500 28px var(--body); fill: var(--text); }
.tl-scene.rvs-scene .rvs-tag { font: 20px var(--mono); fill: var(--muted); letter-spacing: .5px; text-transform: uppercase; }
@media (max-width: 1080px) {
  .hero--spiral .hero__in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .spiral-stage { max-width: 440px; }
}

/* ---------------------------------------------------------------- the mountain with the product on a device, and the targets */
.mtn { padding-top: 24px; }
.mtn-fig { margin-bottom: 0; }
.tl-scene.mtn-scene .t-l { font: 600 16px var(--body); fill: var(--text); }
.tl-scene.mtn-scene .t-s { font: 500 15px var(--body); fill: var(--text-2); }
.tl-scene.mtn-scene .t-xl { font: 800 46px var(--head); fill: var(--g); }
.tl-scene.mtn-scene .t-m { font: 800 26px var(--head); fill: var(--g); }
.tl-scene.mtn-scene .t-m2 { font: 700 20px var(--head); fill: var(--text); }
.tl-scene.mtn-scene .t-s2 { font: 500 12.5px var(--mono); fill: var(--muted); }
.tl-scene.mtn-scene .t-chip { font: 600 12.5px var(--mono); fill: var(--g); }
.tl-scene.mtn-scene .t-row { font: 500 14px var(--body); fill: var(--text); }
.tl-scene.mtn-scene .t-min { font: 500 12.5px var(--mono); fill: var(--muted); }
.tl-scene.mtn-scene .mtn-screen { fill: #0B1210; stroke: rgba(242, 247, 245, .14); stroke-width: 1.4; }
.tl-scene.mtn-scene .mtn-row { fill: #121b18; stroke: rgba(242, 247, 245, .08); stroke-width: 1; }
.tl-scene.mtn-scene .mtn-rule { stroke: rgba(242, 247, 245, .1); stroke-width: 1; }
.tl-scene.mtn-scene .no-s { stroke: none; }
.stat-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 28px 0 0; border-block: 1px solid var(--line); background: rgba(10, 14, 13, .55); }
.stat-band div { padding: 26px 24px; border-left: 1px solid var(--line); }
.stat-band div:first-child { border-left: 0; }
.stat-band dt { font: 800 clamp(28px, 3vw, 42px)/1.05 var(--head); color: var(--g); }
.stat-band dd { margin: 8px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.stat-note { margin-top: 14px; font-size: 12.5px; color: var(--faint); text-align: center; }
@media (max-width: 900px) {
  .stat-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-band div:nth-child(3) { border-left: 0; }
  .stat-band div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .stat-band { grid-template-columns: minmax(0, 1fr); }
  .stat-band div { border-left: 0; border-top: 1px solid var(--line); padding: 18px 6px; }
  .stat-band div:first-child { border-top: 0; }
}

/* ---------------------------------------------------------------- five things plus our sixth: three by two */
.dx__grid.dx__grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dx__grid--6 .dx__tile { grid-column: auto; grid-template-rows: auto auto auto 1fr auto; }
.dx__grid--6 .dx__art { height: 108px; width: auto; max-width: 100%; justify-self: start; margin-bottom: 2px; }
.dx__n { font: 500 12px var(--mono); letter-spacing: 2px; color: var(--g); }
.dx__art .a-draw, .who6 .a-draw { --span: .2; }
html.anim .hold.is-pinned [data-anim] .dx__art .a-draw, html.anim .hold.is-pinned [data-anim] .who6__spot .a-draw { stroke-dashoffset: calc(1 - clamp(0, calc((var(--q) - var(--o, 0)) / .18), 1)); }
#different .fp-fig { margin: 56px 0 0; }
@media (max-width: 1100px) and (min-width: 761px) { .dx__grid.dx__grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .dx__grid--6 > li, .dx__grid--6 > li:nth-child(4) { grid-column: auto; } }
@media (max-width: 760px) and (min-width: 521px) { .dx__grid.dx__grid--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dx__grid--6 > li, .dx__grid--6 > li:nth-child(5) { grid-column: auto; } }

/* ---------------------------------------------------------------- the miss fingerprint */
.tl-scene.fp-scene .d-lab { font: 700 20px var(--head); fill: var(--text); }
.tl-scene.fp-scene .d-lab.d-sm { font: 600 15px var(--mono); }
.tl-scene.fp-scene .d-cap { font: 500 15px var(--body); fill: var(--muted); }
.tl-scene.fp-scene .d-xs { font: 600 15px var(--body); fill: var(--text); }
.tl-scene.fp-scene .d-hi { fill: var(--g); font-family: var(--mono); }
.tl-scene.fp-scene .d-m { font: 800 26px var(--head); fill: var(--text); }
.tl-scene.fp-scene .d-call { font: 700 28px var(--head); fill: var(--g); }
.tl-scene.fp-scene .fp-x { stroke: var(--amber); opacity: .6; }
.tl-scene.fp-scene .fp-link { stroke: var(--g); stroke-width: 1.8; stroke-dasharray: 3 6; opacity: .8; }
.tl-scene.fp-scene .fp-hand { stroke: var(--g); stroke-width: 2.4; }
.tl-scene.fp-scene .f-am { fill: var(--amber); }
.tl-scene.fp-scene .arc-am { stroke: var(--amber); }
.tl-scene.fp-scene .fp-book { stroke: rgba(242, 247, 245, .5); }
.tl-scene.fp-scene .arc-a, .fp-scene .arc-s, .fp-scene .arc-w, .fp-scene .arc-sp, .fp-scene .arc-am { stroke-linecap: butt; }

/* ---------------------------------------------------------------- traditional prep against Ranvier: the story drawing, then the race */
#versus .hero-fig { margin: 8px 0 64px; }
#versus .race-fig { margin-bottom: 0; }

/* ---------------------------------------------------------------- six students: three by two cards, each with its own picture */
.who6 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.who6__c { display: grid; align-content: start; gap: 10px; padding: 24px 24px 26px; border-radius: var(--r-surface); background: var(--panel); border: 1px solid var(--line); }
.who6__c h3 { font: 700 18px/1.25 var(--head); letter-spacing: .02em; text-transform: uppercase; }
.who6__c p { font-size: 14.5px; color: var(--text-2); line-height: 1.55; }
.who6__spot { display: block; width: 160px; height: 96px; margin-bottom: 6px; }
.who6__spot svg { display: block; width: 100%; height: 100%; overflow: visible; }
.who6__spot :is(path, rect, circle) { stroke: var(--text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.who6__spot .f-n { fill: none; } .who6__spot .f-p { fill: #12201b; } .who6__spot .f-a { fill: var(--g); }
.who6__spot .f-s { fill: rgba(46, 230, 166, .38); } .who6__spot .f-w { fill: #CFF7E8; }
.who6__spot .base { stroke-width: 1.6; opacity: .4; } .who6__spot .thick-a { fill: none; stroke: #8ff5d0; stroke-width: 3; }
.who6__spot :is(.a-rise, .a-pop, .a-fade, .a-grow, .a-slide-l) { transform-box: fill-box; }
@media (max-width: 1080px) { .who6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .who6 { grid-template-columns: minmax(0, 1fr); } .dx__grid.dx__grid--6 { grid-template-columns: minmax(0, 1fr); } }
.tl-scene.fp-scene .arc-a { stroke: var(--g); } .tl-scene.fp-scene .arc-s { stroke: rgba(46, 230, 166, .55); } .tl-scene.fp-scene .arc-w { stroke: #CFF7E8; }
.tl-scene.fp-scene .arc-am { stroke: var(--amber); } .tl-scene.fp-scene .arc-sp { stroke: #2b5c4c; }
/* labels on a drawing keep a halo of the stage colour, so a line passing under them never runs through the words */
.tl-scene.mtn-scene .t-l { paint-order: stroke; stroke: #111816; stroke-width: 7px; stroke-linejoin: round; }

/* QC R-007 and R-009 on the home page (owner D-56, CSS only, no words changed): small text in held scenes is drawn at 0.8 to 0.89 of its size,
   so its size is raised until the drawn size stays at 10.5 px or more; the laptop scene's caption gives back 26px so the whole scene
   fits above the early access bar at 600x900 and 390x660. */
.pg-home .dx__n { font-size: 13.5px; line-height: 14.4px; } /* the line box keeps its old height so the held scene keeps its fit scale */
.pg-home .core li em.core__ex { font-size: 13.5px; }
.pg-home .shot__cap { font-size: 13.5px; }
.pg-home .scene__bar span { font-size: 13.5px; }
.pg-home .hero-fig .hero-cap { padding-bottom: 0; }
