/* The Apply2Succeed website's one stylesheet. Tokens on :root, redefined for dark mode; every page uses it.
   The homepage rules came from the one-page mockup (home.template.html, retired 2026-10-31; see git history). */

/* THE TWO TYPEFACES, SERVED FROM THIS SITE (2026-11-06, Ron): nothing may load from another host (Website_Plan.md
   decision 3, /privacy). The files are Google Fonts' own "latin" subset, Sora v17 and Source Sans 3 v20, under the
   SIL Open Font License. Each is a VARIABLE font, one file for every weight, which is why Google served the same URL
   for each weight asked for. Latin covers every character the site uses; the 🔊 emoji comes from the system. */
@font-face {
  font-family: "Sora"; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url("/assets/sora-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url("/assets/source-sans-3-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #ffffff; --surface: #f3f7f9; --ink: #14212e; --muted: #56677a; --line: #dde6ec;
  --accent: #10788d; --accent-ink: #ffffff; --accent-soft: #e2eef1; --accent-on-soft: #0b6070; --warm: #f5871f; --warm-soft: #fff1df;
  --hint-bg: #fff7e6; --hint-line: #e0a93f; --good: #1e7a34; --good-bg: #e6f4ea; --bad: #b23b3b; --bad-bg: #fbe9e9;
  --tint: #fff1df; --explain-bg: #eef2ff; --shot-bg: #e9f0f4; --shot-stripe: #dfe8ee;
  --note-bg: #e2eef1; --note-ink: #14212e; --hint-ink: #8a5a00;
  --head-bg: #1f3864; --head-ink: #ffffff; --head-muted: #c9d6ea; --head-line: #5f7f9e; --head-btn: #1a9fbf; --head-btn-ink: #06202a; --head-label: #33c3c8;
  --card-bg: #ffffff; --card-ink: #14212e;
  --display: "Sora", "Segoe UI", system-ui, sans-serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --radius: 16px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0e161d; --surface: #142029; --ink: #e6edf2; --muted: #9fb0bf; --line: #26353f;
  --accent: #45b9d1; --accent-ink: #062027; --accent-soft: #143039; --accent-on-soft: #45b9d1; --warm: #ff9a3c; --warm-soft: #2a2116;
  --hint-bg: #2b2414; --hint-line: #b7862c; --good: #6fd08a; --good-bg: #13291a; --bad: #f08a8a; --bad-bg: #321617;
  --tint: #2a2116; --explain-bg: #1a2140; --shot-bg: #18252f; --shot-stripe: #1d2c37;
  --note-bg: #143039; --note-ink: #e6edf2; --hint-ink: #f0c36d;
  --head-bg: #13213b; --head-ink: #ffffff; --head-muted: #b6c4da; --head-line: #4a6584; --head-btn: #45b9d1; --head-btn-ink: #062027; --head-label: #45b9d1;
  --card-bg: #18252f; --card-ink: #e6edf2; color-scheme: dark } }
:root[data-theme="dark"] {
  --bg: #0e161d; --surface: #142029; --ink: #e6edf2; --muted: #9fb0bf; --line: #26353f;
  --accent: #45b9d1; --accent-ink: #062027; --accent-soft: #143039; --accent-on-soft: #45b9d1; --warm: #ff9a3c; --warm-soft: #2a2116;
  --hint-bg: #2b2414; --hint-line: #b7862c; --good: #6fd08a; --good-bg: #13291a; --bad: #f08a8a; --bad-bg: #321617;
  --tint: #2a2116; --explain-bg: #1a2140; --shot-bg: #18252f; --shot-stripe: #1d2c37;
  --note-bg: #143039; --note-ink: #e6edf2; --hint-ink: #f0c36d;
  --head-bg: #13213b; --head-ink: #ffffff; --head-muted: #b6c4da; --head-line: #4a6584; --head-btn: #45b9d1; --head-btn-ink: #062027; --head-label: #45b9d1;
  --card-bg: #18252f; --card-ink: #e6edf2; color-scheme: dark }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.55; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; text-wrap: balance; margin: 0; letter-spacing: -0.015em; }
/* 10% smaller (Ron, 2026-10-21): was clamp(1.8rem, 3.6vw, 2.7rem). Covers all nine section headlines. */
h2 { font-size: clamp(1.62rem, 3.24vw, 2.43rem); }
h3 { font-size: 1.15rem; }
p { margin: 0; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--warm); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.btn { display: inline-flex; align-items: center; gap: 8px; font: 700 1rem/1 var(--body); padding: 15px 24px; border-radius: 999px; border: 2px solid var(--accent); background: var(--accent); color: var(--accent-ink); text-decoration: none; cursor: pointer; }
.btn.small { padding: 10px 16px; font-size: .92rem; }

/* The thin bar above the header on local and staging builds only (build-site.js). */
.envbar { background: var(--note-bg); color: var(--note-ink); font: 600 13px/1.3 system-ui, sans-serif; }
.envbar .wrap { padding-block: 8px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--bg); color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }

/* Header: navy band as in the app; the white eLEARNster logo shows as it is */
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: var(--head-bg); color: var(--head-ink); border-bottom: 1px solid rgba(255,255,255,.08); }
.nav { display: flex; align-items: center; gap: 22px; padding-block: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; color: inherit; }
.elogo { display: block; flex: 0 0 auto; width: auto; height: 45px; }
.brand-divider { width: 1px; align-self: stretch; min-height: 44px; background: var(--head-line); flex: 0 0 auto; }
.brand-text { display: grid; gap: 5px; }
.wordmark { display: flex; align-items: flex-end; font-family: var(--display); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.01em; line-height: 1; }
.wordmark svg { width: 1.15em; height: 1.2em; margin-right: -.04em; }
/* Matches the app header exactly: teal "2", a superscript ™, and "Reading" as the subject name in light blue
   (Ron, 2026-11-02: Reading replaced Literacy, which implies writing, speaking and listening the program does not teach). */
.wordmark .wm2 { color: #33c3c8; }
/* The wordmark is a flex row aligned to the bottom, which ignores vertical-align, so the ™ is raised by
   aligning it to the top of the row instead: small and up beside the d, as in the app. */
.wordmark .tm { font-size: .45em; font-weight: 600; margin-left: 2px; align-self: flex-start; line-height: 1; margin-top: .3em; }
.wordmark .subject { font-weight: 500; color: #aecbe8; margin-left: 10px; letter-spacing: .01em; }
.tagline { font-size: .74rem; font-weight: 600; color: #aecbe8; letter-spacing: .02em; }
@media (max-width: 520px) { .wordmark { font-size: 1.15rem; } .wordmark .subject { margin-left: 6px; } }
.navlinks { display: flex; gap: 20px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.navlinks a, .dd-btn { color: inherit; text-decoration: none; font: 600 .95rem/1.2 var(--body); }
.navlinks > a[aria-current], .dd[data-current] .dd-btn { text-decoration: underline; text-decoration-color: var(--head-btn); text-decoration-thickness: 3px; text-underline-offset: 8px; }
/* "Who it's for": a disclosure, not a hover menu, so it works by keyboard and touch alike. */
.dd { position: relative; }
.dd-btn { background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.dd-btn::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); }
.dd-btn[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
.dd-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 14px); left: -12px; min-width: 220px; background: var(--card-bg); color: var(--card-ink);
  border-radius: 12px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .55); border: 1px solid var(--line); }
.js .dd-menu:not(.open) { display: none; }
.dd-menu a { display: block; padding: 9px 12px; border-radius: 8px; }
.dd-menu a:hover, .dd-menu a[aria-current] { background: var(--accent-soft); }
/* Sign in and Menu: one group at the right, so they wrap together. Sign in is an outlined button like Menu. */
.head-actions { display: flex; align-items: center; gap: 10px; }
.signin { color: var(--head-ink); text-decoration: none; font: 700 .95rem/1 var(--body); border: 1px solid var(--head-line); border-radius: 999px; padding: 9px 16px; white-space: nowrap; transition: background-color .15s ease, border-color .15s ease; }
.signin:hover { background: rgba(255, 255, 255, .1); border-color: var(--head-ink); }
.signin:focus-visible { outline: 3px solid var(--head-btn); outline-offset: 3px; }
.menu-toggle { display: none; font: 700 .95rem/1 var(--body); color: var(--head-ink); background: none; border: 1px solid var(--head-line); border-radius: 999px; padding: 9px 16px; cursor: pointer; }
/* Phones and narrow tablets: the links fold under a Menu button. Without script they simply stay open. */
@media (max-width: 900px) {
  .js .menu-toggle { display: inline-flex; }
  .js .navlinks { display: none; }
  .js .navlinks.open { display: flex; }
  .navlinks { flex-direction: column; align-items: flex-start; gap: 14px; width: 100%; margin-left: 0; padding: 6px 0 10px; order: 3; }
  .head-actions { margin-left: auto; }
  .dd-menu { position: static; box-shadow: none; background: transparent; color: inherit; border: 0; padding: 8px 0 0 14px; min-width: 0; }
  .dd-menu a:hover, .dd-menu a[aria-current] { background: transparent; text-decoration: underline; }
}
@media (max-width: 520px) { .brand { gap: 10px; } .elogo { height: 37px; } .brand-divider { min-height: 36px; } }
/* THE SMALLEST PHONES (Ron, 2026-11-15): at 320px the lockup was 340px wide in 288px of room, so "Reading" ran off the
   screen and every page scrolled sideways. Under 360px the whole lockup shrinks about 17%; nothing is dropped, because the
   lockup is always logo, divider and wordmark, and "Reading" is part of the name. 360px and up are unchanged. */
@media (max-width: 359px) {
  .brand { gap: 8px; } .elogo { height: 31px; } .brand-divider { min-height: 30px; }
  .wordmark { font-size: .95rem; } .wordmark .subject { margin-left: 5px; } .tagline { font-size: .62rem; }
}

/* Hero: same navy as the header, students on the right, real product moments floating over them */
.hero-band { background: var(--head-bg); color: var(--head-ink); overflow: hidden; }
.hero { display: grid; gap: 40px; align-items: center; grid-template-columns: minmax(0, 1fr); padding-block: 40px 72px; }
@media (min-width: 960px) { .hero { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero .eyebrow { color: var(--head-label); }
/* Headline: each phrase on its own line and never split inside itself. The size follows the width of the
   copy column (container units), so "Sharper thinkers." always fits on one line: ~31px on a phone, ~48px
   on desktop. The vw value is the fallback for browsers without container units. */
.hero-copy { container-type: inline-size; }
/* 10% smaller too (Ron, 2026-10-21), the tenth headline: was clamp(1.6rem, 7vw, 3rem) / 8.8cqi / 4rem.
   Both declarations shrink together — the first is the fallback for browsers without container units. */
.hero h1 { font-size: clamp(1.44rem, 6.3vw, 2.7rem); font-size: clamp(1.44rem, 7.92cqi, 3.6rem); font-weight: 800; letter-spacing: -0.03em; text-wrap: initial; }
.hero h1 .ph1, .hero h1 .ph2 { display: block; white-space: nowrap; }
.hero h1 .ph2 { color: #7fd4e8; }
.hero .lede { font-size: 1.2rem; color: var(--head-muted); max-width: 40ch; }
.hero .btn { background: var(--head-btn); border-color: var(--head-btn); color: var(--head-btn-ink); }
/* The hero carries no button and no audience chips (Ron, 2026-10-20): a visitor needs to understand the
   program before being asked to join, and the chips jumped to three one-sentence cards. Restore the chips
   when the For teachers / administrators / families pages exist. */

.hero-art { position: relative; min-width: 0; }
.float { position: absolute; background: var(--card-bg); color: var(--card-ink); border-radius: 14px; padding: 12px 14px; font-size: .88rem; line-height: 1.4;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .55); max-width: 270px; animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
.float b { display: block; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.float mark { background: var(--tint); color: inherit; box-shadow: 0 0 0 3px var(--tint); border-radius: 3px; }
.float.hint { background: var(--hint-bg); border: 1px solid var(--hint-line); }
.float.hint b { color: var(--hint-ink); }
.float.good { background: var(--good-bg); color: var(--good); font-weight: 700; border: 1px solid var(--good); }
.float.tools { display: flex; gap: 8px; padding: 8px; border-radius: 999px; }
.float.tools span { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-weight: 600; }
.float.tools span.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
/* Grade-range card: nine level bars rise, then a student marker climbs from Copper to Diamond once and rests there
   (Ron, 2026-11-05): motion past five seconds would need a pause control. home.js holds other animations until 4.8s,
   the end of this one, so keep the two figures together. Overall range only, never a grade per level (Website_Plan.md decision 8). Bars: 9 x 24px with 6px gaps in a
   264px track, so bar centres sit at (30i + 12) / 264; the track is 58px tall above its 16px top padding. */
.float.range { width: 250px; max-width: 250px; padding: 12px 14px 14px; display: grid; gap: 8px; }
.float.range .lad { position: relative; display: flex; gap: 5px; align-items: flex-end; height: 58px; padding-top: 12px; }
.float.range .lad i { flex: 1; border-radius: 3px 3px 0 0; transform-origin: bottom; animation: barup .9s ease-out both; }
.float.range .lad i:nth-child(2) { animation-delay: .08s; } .float.range .lad i:nth-child(3) { animation-delay: .16s; }
.float.range .lad i:nth-child(4) { animation-delay: .24s; } .float.range .lad i:nth-child(5) { animation-delay: .32s; }
.float.range .lad i:nth-child(6) { animation-delay: .4s; } .float.range .lad i:nth-child(7) { animation-delay: .48s; }
.float.range .lad i:nth-child(8) { animation-delay: .56s; } .float.range .lad i:nth-child(9) { animation-delay: .64s; }
@keyframes barup { from { transform: scaleY(.15); } to { transform: none; } }
.float.range .climber { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--warm); box-shadow: 0 0 0 3px var(--card-bg);
  transform: translateX(-50%); left: 95.5%; bottom: calc(46px * 1 + 3px); animation: climb 4.6s ease-in-out .3s 1 both; }
/* Hops bar to bar and rests at each, about 0.58s a step, like the checklist ticks (Ron, 2026-11-05). 4.9s with the delay;
   home.js waits the same before the next animation. */
@keyframes climb {
  0% { left: 4.5%; bottom: calc(46px * .30 + 3px); opacity: 0; }
  3%, 8.7% { left: 4.5%; bottom: calc(46px * .30 + 3px); opacity: 1; }
  14.41%, 20.11% { left: 15.9%; bottom: calc(46px * .38 + 3px); opacity: 1; }
  25.82%, 31.52% { left: 27.3%; bottom: calc(46px * .46 + 3px); opacity: 1; }
  37.23%, 42.94% { left: 38.6%; bottom: calc(46px * .54 + 3px); opacity: 1; }
  48.64%, 54.35% { left: 50%; bottom: calc(46px * .62 + 3px); opacity: 1; }
  60.06%, 65.76% { left: 61.4%; bottom: calc(46px * .70 + 3px); opacity: 1; }
  71.47%, 77.17% { left: 72.7%; bottom: calc(46px * .80 + 3px); opacity: 1; }
  82.88%, 88.59% { left: 84.1%; bottom: calc(46px * .90 + 3px); opacity: 1; }
  94.29%, 100% { left: 95.5%; bottom: calc(46px * 1 + 3px); opacity: 1; }
}
.float.range .scale { display: flex; justify-content: space-between; align-items: baseline; font-size: .74rem; color: var(--muted); margin-top: -4px; }
.float.range .scale b { display: inline; margin: 0; font-size: .78rem; letter-spacing: 0; text-transform: none; color: var(--card-ink); }
.float.range .msg { font-size: .98rem; font-weight: 700; line-height: 1.3; margin: 0; }
.climb-counts { font-size: 1rem; color: var(--muted); margin: 16px 0 0; }
.climb-section .split { align-items: start; }
/* The dashboard's four points (Ron, 2026-11-14): the .copy paragraph's size and colour, with the lead in ink. */
.dash-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 44ch; }
.dash-points li { position: relative; padding-left: 22px; font-size: 1.05rem; color: var(--muted); }
.dash-points li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.dash-points b { color: var(--ink); }
/* Read-aloud card: says both settings in words. It covers the last quarter of the headphones photo's width (Ron, 2026-11-04), which takes it past the
   text column, so the screenshot beside it is top-aligned to leave it clear (.audio-section). Its sound
   bars move once (7s, past the five-second limit at Ron's request, 2026-11-05) when home.js adds .go, then rest at these heights. The photo gives way where the columns
   are close: 83px is the 131px the card hangs past it, plus a 16px gap to the screenshot, less the 64px between columns.
   Below 900px the columns stack, so the card sits under the photo instead. */
.photo-card { position: relative; width: min(330px, calc(100% - 83px)); margin-bottom: 34px; }
.photo-card .copy-photo { margin: 0; width: 100%; }
.photo-card .float.audio { bottom: -30px; right: calc(25% - 262px); width: 262px; max-width: 262px; animation: none; }
@media (max-width: 899px) {
  .photo-card { width: min(100%, 330px); }
  .photo-card { margin-bottom: 0; display: grid; gap: 10px; }
  .photo-card .float.audio { position: static; width: auto; max-width: none; }
}
.float.audio { display: grid; gap: 10px; max-width: 290px; }
.float.audio .arow { display: flex; align-items: center; gap: 10px; }
.float.audio .spk { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; flex: 0 0 auto; }
.float.audio .spk svg { width: 18px; height: 18px; }
.float.audio .bars { display: flex; gap: 3px; align-items: flex-end; height: 18px; flex: 0 0 auto; }
.float.audio .bars i { width: 4px; height: 5px; background: var(--accent); border-radius: 2px; }
.float.audio .bars i:nth-child(1) { height: 7px; }
.float.audio .bars i:nth-child(2) { height: 13px; } .float.audio .bars i:nth-child(3) { height: 18px; }
.float.audio .bars i:nth-child(4) { height: 12px; } .float.audio .bars i:nth-child(5) { height: 6px; }
/* Each bar has its own irregular run, like a voice's levels, starting and ending at its resting height (Ron, 2026-11-05). */
.float.audio.go .bars i:nth-child(1) { animation: eq1 7s ease-in-out 1; } .float.audio.go .bars i:nth-child(2) { animation: eq2 7s ease-in-out 1; }
.float.audio.go .bars i:nth-child(3) { animation: eq3 7s ease-in-out 1; } .float.audio.go .bars i:nth-child(4) { animation: eq4 7s ease-in-out 1; }
.float.audio.go .bars i:nth-child(5) { animation: eq5 7s ease-in-out 1; }
@keyframes eq1 { 7% { height: 14px; } 13% { height: 5px; } 21% { height: 10px; } 28% { height: 17px; } 36% { height: 6px; } 43% { height: 12px; } 52% { height: 4px; } 60% { height: 15px; } 67% { height: 8px; } 75% { height: 13px; } 83% { height: 5px; } 91% { height: 11px; } }
@keyframes eq2 { 6% { height: 6px; } 14% { height: 18px; } 20% { height: 9px; } 29% { height: 15px; } 35% { height: 4px; } 44% { height: 17px; } 50% { height: 10px; } 58% { height: 5px; } 66% { height: 16px; } 74% { height: 7px; } 82% { height: 14px; } 90% { height: 6px; } }
@keyframes eq3 { 8% { height: 9px; } 15% { height: 16px; } 23% { height: 5px; } 30% { height: 18px; } 38% { height: 11px; } 46% { height: 6px; } 54% { height: 18px; } 61% { height: 8px; } 69% { height: 14px; } 77% { height: 4px; } 85% { height: 17px; } 93% { height: 10px; } }
@keyframes eq4 { 5% { height: 17px; } 12% { height: 7px; } 19% { height: 14px; } 27% { height: 4px; } 34% { height: 16px; } 42% { height: 9px; } 49% { height: 18px; } 57% { height: 6px; } 65% { height: 12px; } 72% { height: 17px; } 80% { height: 5px; } 88% { height: 15px; } }
@keyframes eq5 { 9% { height: 12px; } 16% { height: 4px; } 24% { height: 15px; } 31% { height: 7px; } 40% { height: 13px; } 47% { height: 5px; } 55% { height: 11px; } 63% { height: 16px; } 70% { height: 6px; } 78% { height: 12px; } 86% { height: 4px; } 94% { height: 9px; } }
.float.audio .t1 { display: block; font-weight: 700; font-size: .95rem; line-height: 1.25; }
.float.audio .t2 { display: block; font-size: .84rem; color: var(--muted); line-height: 1.3; }
.float.audio .adiv { height: 1px; background: var(--line); }
.float.audio .es-chip { font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-on-soft); flex: 0 0 auto; }
.f1 { top: -14px; left: -22px; animation-delay: .15s; }
.f2 { bottom: -48px; left: calc(3.5% - 55px); animation-delay: .35s; }
/* Where the hero stacks, the photo starts near the screen's edge, so the card stops short of it. */
@media (max-width: 959px) { .f2 { left: max(calc(3.5% - 55px), -8px); } }
.f3 { top: -18px; right: 6%; animation-delay: .55s; }
.f4 { bottom: -16px; right: 8%; animation-delay: .75s; }
@keyframes rise { from { transform: translateY(18px); } to { transform: none; } }
@media (max-width: 760px) {
  .hero-art { display: grid; gap: 10px; }
  .float { position: static; max-width: none; }
  .float.range { width: 250px; max-width: 100%; }
  .f4 { display: none; }
}

/* Placeholders: people images and product-moment crops look different so each is obvious */
.ph { position: relative; border-radius: var(--radius); overflow: hidden; display: grid; place-content: center; gap: 6px; text-align: center; padding: 22px; max-width: 100%; }
.ph em { font-style: normal; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ph b { font-family: var(--display); font-size: 1.02rem; }
.ph span { font-size: .88rem; max-width: 34ch; justify-self: center; opacity: .85; }
.ph.photo { aspect-ratio: 3 / 2; color: #ffffff;
  background: radial-gradient(circle at 70% 35%, rgba(255,255,255,.18) 0 12%, transparent 13%),
              radial-gradient(ellipse at 70% 85%, rgba(255,255,255,.14) 0 30%, transparent 31%),
              linear-gradient(135deg, #10788d, #1f3864 55%, #b8661c); }
.ph.photo em { color: #ffd9ad; }
.hero-art .ph.photo, .hero-photo { border-radius: 28px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.photo-img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; max-width: 100%; border-radius: var(--radius); box-shadow: 0 30px 60px -36px rgba(10, 40, 60, .55); }
.hero-photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; max-width: 100%; }
.ph.crop { aspect-ratio: 4 / 3; color: var(--ink); border: 1px solid var(--line); background: repeating-linear-gradient(135deg, var(--shot-bg) 0 16px, var(--shot-stripe) 16px 32px); }
.ph.crop em { color: var(--accent); }
/* Portraits: the face sits in the upper third of each square image, so crop toward it. */
.portrait-img { display: block; width: 112px; height: 112px; border-radius: 50%; object-fit: cover; object-position: 50% 28%; box-shadow: 0 0 0 4px var(--bg); }
.portrait-img.family { object-position: 50% 36%; }
.ph.portrait { aspect-ratio: 1; width: 112px; border-radius: 50%; padding: 8px; color: #ffffff;
  background: linear-gradient(135deg, #10788d, #1f3864 60%, #b8661c); }
.ph.portrait em { font-size: .62rem; color: #ffd9ad; }

/* Proof strip */
.proof { border-bottom: 1px solid var(--line); }
.proof ul { list-style: none; margin: 0; padding-block: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; }
.proof li { font-weight: 600; color: var(--muted); }
.proof b { font-family: var(--display); color: var(--ink); font-size: 1.15rem; margin-right: 6px; font-variant-numeric: tabular-nums; }

/* Sections */
.screen { padding-block: clamp(56px, 9vw, 110px); }
/* The top space of the section after the proof strip, cut in two passes (Ron, 2026-10-21): 30%, then another
   20% of what was left, so 56% of the page-wide base. 110->62 on a wide window, 9vw->5vw in the middle, 56->31
   at the floor. It was the try-it section's until the seven steps went in above it (2026-11-04). */
.screen.path { padding-top: clamp(31px, 5vw, 62px); padding-bottom: clamp(40px, 6vw, 64px); }
.path-grid { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
.path-copy { display: grid; gap: 14px; }
.path-copy p { color: var(--muted); font-size: 1.1rem; }
.path .steps h3 { font-size: 1.12rem; }
/* The seven steps light up in order, once (2026-11-04). All of this hangs off .lighting, which home.js adds only when
   motion is allowed, so without it the steps are simply the plain list. The text is never hidden. */
.path .steps.lighting { position: relative; }
.path .steps.lighting > li { position: relative; }
.path .steps.lighting > li::before { position: relative; z-index: 1; }
.step-track { position: absolute; left: 21px; width: 2px; background: var(--line); border-radius: 1px; z-index: 0; }
.step-fill { position: absolute; inset: 0; background: var(--accent); border-radius: 1px; transform: scaleY(0); transform-origin: top; }
.path .steps.lighting > li:not(.lit)::before { background: var(--accent-soft); color: var(--accent); }
.path .steps.lighting > li.lit::before { transition: background .25s, color .25s; animation: step-pop .45s ease-out 1; }
@keyframes step-pop { 45% { transform: scale(1.14); } }
@media (min-width: 960px) {
  .path-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
}
.screen + .screen { padding-top: 0; }
.screen.privacy, .screen.join-band { padding-top: clamp(56px, 9vw, 110px); }
.split { display: grid; gap: 36px; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 901px) {
  .split { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; }
  .flip .split { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  .flip .copy { order: 2; }
}
.copy { display: grid; gap: 14px; min-width: 0; }
.copy p { font-size: 1.15rem; color: var(--muted); max-width: 40ch; }
.visual { min-width: 0; position: relative; }

/* A product moment: one cropped element of the real app, enlarged, on a soft shape with depth */
.moment { position: relative; padding: clamp(22px, 4vw, 44px); border-radius: 32px;
  background: radial-gradient(circle at 15% 20%, var(--accent-soft) 0 40%, transparent 41%),
              radial-gradient(circle at 90% 85%, var(--warm-soft) 0 35%, transparent 36%), var(--surface); }
.moment-img { display: block; width: 100%; height: auto; max-width: 100%; border-radius: 12px; border: 1px solid var(--line); background: #ffffff; box-shadow: 0 30px 60px -36px rgba(10, 40, 60, .55); }
.moment .ph.crop { box-shadow: 0 30px 60px -36px rgba(10, 40, 60, .55); background-color: var(--bg); }
.moment .float { position: absolute; animation: none; }
/* .inset / .inset-img LIVED HERE AND ARE GONE (2026-10-26). They floated section 3's photo over the
   screenshot's bottom-left corner, and this was the page's only use of them. The photo moved into the copy
   column when the crop was lowered to reveal the Spanish panel and the overlay started covering the first
   words of four Spanish lines. Removed rather than left behind, so nobody reuses a pattern the page has
   abandoned; the rules are in git history if an overlay is ever wanted again. */
/* Section 3's photo, in the copy column rather than overlaid on the screenshot (see the section).
   Top-aligned columns so the photo and the screenshot begin on the same line; .try .split sets the same
   thing. The photo is capped so it stays a companion to the text rather than competing with the UI
   beside it, and keeps the inset's 3:2 crop and soft border. */
.s3 .split { align-items: start; }
/* THE SCREENSHOT CENTRES AGAINST THE COPY (Ron, 2026-10-26). The two columns are top-aligned, which was
   right when the photo overlapped the screenshot -- but the photo now sits in the copy column, so that
   column runs 473px at desktop width against the screenshot's 316, leaving 156px of hole beneath it and
   the image stranded in the top third. The copy still starts at the top of the row; only the visual
   centres. The crop is 2:1 and the column is the wider of the two, which is why it comes out short. */
.s3 .visual { align-self: center; }
.audio-section .visual { align-self: start; }
@media (min-width: 900px) { .audio-section .visual { margin-top: 45px; } } /* Balances the space above it with the card below (Ron, 2026-11-04). */
.copy-photo { display: block; width: 100%; max-width: 330px; height: auto; aspect-ratio: 3 / 2;
  object-fit: cover; margin-top: 6px; border-radius: 14px; border: 4px solid var(--bg);
  box-shadow: 0 24px 50px -22px rgba(0, 0, 0, .35); }
/* The audio photo (it was the Challenge photo until 2026-11-10) eases in slowly, once, when home.js adds .go and holds there (Ron, 2026-11-09). The frame stays put and the
   picture moves inside it, so the frame carries what .copy-photo normally draws. Without motion it simply rests at full size. */
.zoom-photo { max-width: 330px; margin-top: 6px; overflow: hidden; border-radius: 14px; border: 4px solid var(--bg);
  box-shadow: 0 24px 50px -22px rgba(0, 0, 0, .35); }
.zoom-photo .copy-photo { margin: 0; max-width: none; border: 0; border-radius: 0; box-shadow: none; transform-origin: 50% 42%; }
.zoom-photo.go .copy-photo { animation: photo-push 4s ease-out forwards; }
.photo-card .zoom-photo { margin: 0; max-width: none; }
@keyframes photo-push { from { transform: scale(1); } to { transform: scale(1.14); } }
/* A wide strip of the real UI laid over the photo's lower edge. */
.over { position: absolute; width: min(78%, 480px); bottom: -24px; right: -12px; }
.over-img { display: block; width: 100%; height: auto; max-width: 100%; border-radius: 10px; border: 1px solid var(--line); background: #ffffff; box-shadow: 0 24px 50px -22px rgba(0, 0, 0, .55); }
.over .ph.crop { aspect-ratio: 4 / 3; padding: 12px; background-color: var(--bg); }
.over .ph.crop b { font-size: .85rem; }
.over .ph.crop span { font-size: .75rem; }
.flip .over { right: auto; left: -10px; }
@media (max-width: 560px) { .over { position: static; width: 100%; margin-top: 12px; } }
.levelrow { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; justify-content: center; }
.levelrow span, .levelrow li { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; padding: 4px 10px 4px 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); }
.levelrow span::before, .levelrow li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--tier); }
.levelrow span.here { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }

/* Scroll reveal: visible at rest; JS only adds motion to sections below the fold */
.reveal.pre { transform: translateY(28px); }
.reveal { transition: transform .7s cubic-bezier(.2, .8, .2, 1); }

/* Try it (mirrors QuestionItem.razor) */
.try .split { align-items: start; }
.tryit { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -36px rgba(10, 40, 60, .55); }
.tryit-head { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg); }
.tryit-head .meta { font-size: .85rem; color: var(--muted); }
.tryit-head .meta b { color: var(--ink); }
.lvl { display: inline-block; width: .7em; height: .7em; border-radius: 50%; background: #D4AF37; margin-right: 6px; }
.tools { display: flex; gap: 8px; }
.tool { font: 600 .85rem/1 var(--body); border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 7px 12px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.tool[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.tryit-body { padding: 16px; display: grid; gap: 14px; }
.passage { font-size: .98rem; display: grid; gap: 8px; border-radius: 8px; transition: background .25s, box-shadow .25s; }
.passage.lit { background: var(--tint); box-shadow: 0 0 0 6px var(--tint); }
.es { display: none; border-left: 3px solid var(--accent); background: var(--accent-soft); padding: 8px 12px; border-radius: 0 6px 6px 0; font-size: .93rem; }
.es-on .es { display: block; }
.es .es-tools { margin-top: 6px; }
.question { display: grid; gap: 10px; }
.stem { font-weight: 700; }
.opts-list { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }
.opt { width: 100%; text-align: left; font: 500 1rem/1.35 var(--body); color: var(--ink); background: var(--bg); border: 2px solid var(--line); border-radius: 10px; padding: 10px 14px; cursor: pointer; display: grid; gap: 2px; }
.opt:hover:not([aria-disabled="true"]) { border-color: var(--accent); }
.opt .es-line { display: none; font-size: .88rem; color: var(--muted); }
.es-on .opt .es-line { display: block; }
.opt.wrong { border-color: var(--bad); background: var(--bad-bg); color: var(--bad); }
.opt.right { border-color: var(--good); background: var(--good-bg); color: var(--good); }
.opt[aria-disabled="true"] { cursor: default; }
.feedback { display: none; border-radius: 8px; padding: 12px 14px; font-size: .95rem; }
.feedback.show { display: block; }
.feedback.hint { background: var(--hint-bg); border: 1px solid var(--hint-line); }
.feedback.done { background: var(--good-bg); border: 1px solid var(--good); }
.feedback.explain { background: var(--explain-bg); border: 1px solid var(--line); }
.feedback > b { display: block; margin-bottom: 4px; }
.feedback .why, .feedback .panel-hint, .feedback .panel-explain { display: block; }
.feedback .panel-explain { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--hint-line); }
/* The Spanish hint and explanation beneath the English, shown while Español is on (home.js). */
.feedback .fb-es { display: none; margin-top: 6px; font-size: .9rem; }
.es-on .feedback .fb-es { display: block; }
.tryit-foot { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; align-items: center; font-size: .82rem; color: var(--muted); padding: 0 16px 14px; }
/* Try-it laid out like the app: copy across the top, passage left, question right. */
.try-copy { max-width: 760px; margin-bottom: 28px; }
.try-copy p { max-width: 62ch; }
.tryit-body.two { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 860px) { .tryit-body.two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .passage-pane { padding-right: 22px; border-right: 1px solid var(--line); } }
.passage-pane { display: grid; gap: 12px; }
.passage { grid-template-columns: 22px minmax(0, 1fr); gap: 8px; padding: 6px 8px 6px 4px; }
.passage .pnum { font-size: .8rem; font-weight: 700; color: var(--muted); padding-top: 3px; text-align: right; }
.linkbtn { font: inherit; color: var(--accent); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
.foot-links { display: flex; gap: 16px; }
/* One-time demo: a pretend cursor answers wrong, then right, then the question clears for the visitor. */
.tryit { position: relative; }
.demo-cursor { position: absolute; left: 0; top: 0; width: 26px; height: 26px; z-index: 5; pointer-events: none;
  transition: transform .7s cubic-bezier(.4, 0, .2, 1); filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35)); }
.demo-cursor svg { width: 100%; height: 100%; transition: transform .12s; }
.demo-cursor.press svg { transform: scale(.82); }
/* "Click me" at Español after the demo (home.js, Ron 2026-11-19). Outside the card, whose overflow is hidden, so the
   card's container is the positioning box; placed by script, above the button or beside it. Never takes a click. */
.has-callout { position: relative; }
.es-callout { position: absolute; z-index: 6; display: flex; align-items: flex-start; gap: 2px; color: var(--accent); font: 700 1rem/1.1 var(--display); white-space: nowrap; pointer-events: none; }
.es-callout.beside { align-items: center; }
.es-callout[hidden] { display: none; }
.es-callout svg { width: 36px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.es-callout.beside svg { height: 22px; }
.tool.nudge { animation: es-nudge 1s ease-out 3; }
@keyframes es-nudge { from { box-shadow: 0 0 0 0 var(--accent); } to { box-shadow: 0 0 0 12px transparent; } }
@media (prefers-reduced-motion: reduce) { .tool.nudge { animation: none; } }

/* Roles */
.center { text-align: center; display: grid; justify-items: center; gap: 12px; }
.roles { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
@media (min-width: 820px) { .roles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.role { padding: 26px; border-radius: var(--radius); background: var(--surface); display: grid; gap: 12px; align-content: start; justify-items: start; scroll-margin-top: 90px; }
.role p { color: var(--muted); }
.roles-cta { display: flex; justify-content: center; margin-top: 28px; }

/* Privacy icons */
.privacy { background: var(--surface); }
/* Page 1's privacy section: "What we keep" beside "What we never do" (2026-11-06), stacked below 760px. A check marks
   what we keep and a struck circle what we never do, both in the accent: a red cross would read as a warning. */
.privacy .center p { color: var(--muted); }
.pv-cols { display: grid; gap: 20px; margin: 32px auto 0; max-width: 980px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .pv-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pv-col { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; align-content: start; }
.pv-col h3 { font-size: 1.2rem; }
.pv-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pv-col li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; }
.pv-col li::before { content: ""; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft) center / 16px no-repeat; }
.pv-col.keep li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310788d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.pv-col.never li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310788d' stroke-width='2.6' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M6.5 6.5l11 11'/%3E%3C/svg%3E"); }
/* The marks are drawn in the light theme's accent; the dark theme's accent is #45b9d1. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pv-col.keep li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2345b9d1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
  :root:not([data-theme="light"]) .pv-col.never li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2345b9d1' stroke-width='2.6' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M6.5 6.5l11 11'/%3E%3C/svg%3E"); }
}
:root[data-theme="dark"] .pv-col.keep li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2345b9d1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
:root[data-theme="dark"] .pv-col.never li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2345b9d1' stroke-width='2.6' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M6.5 6.5l11 11'/%3E%3C/svg%3E"); }
.pv-foot { margin: 26px auto 0; max-width: 70ch; text-align: center; color: var(--muted); }
.privacy .more { margin-top: 20px; text-align: center; }

/* Join */
.join-band { background: var(--accent-soft); }
/* "Help shape Apply2Succeed Reading" wraps to two lines in the narrow column: a little more room between them than
   the 1.1 every heading gets (Ron, 2026-11-06). */
.join-band h2 { line-height: 1.25; }
.join-grid { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .join-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
/* Contact: the form leads, so its column (now first) keeps the wider share. */
@media (min-width: 900px) { .join-grid.form-first { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.contact-form { display: grid; gap: 14px; }
/* Contact headings (Ron, 2026-11-16): 28px on a desktop (2rem elsewhere), the same phone size as every band h2, and 14px
   more space under each. */
.join-grid.form-first h2 { font-size: clamp(1.45rem, 2.8vw, 1.75rem); margin-bottom: 14px; }
/* A form's title inside its box, Join's "Sign up" and Contact's "Send us a message" (Ron, 2026-11-18): a little smaller
   than the heading beside it (25.6px on a desktop, against 32px on Join and 28px on Contact), and 14px more space under it
   than the form's own 14px gap. .join-grid makes it outrank Contact's .join-grid.form-first h2 above. */
.join-grid form.panel > h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin-bottom: 14px; }
form.join { background: var(--bg); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; border: 1px solid var(--line); }
.field { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.field input, .field select { font: 400 1rem var(--body); padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); width: 100%; }
.form-row { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form-msg { font-size: .9rem; color: var(--good); min-height: 1.2em; }

/* Footer: the brand line and three link groups, then the copyright row. */
.site-foot { background: var(--surface); border-top: 1px solid var(--line); font-size: .95rem; color: var(--muted); }
.foot-grid { display: grid; gap: 28px; padding-block: 44px 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .foot-grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); } }
.foot-brand { display: grid; gap: 10px; align-content: start; }
.foot-brand b { color: var(--ink); }
.site-foot h2 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.site-foot a { color: inherit; }
.site-foot .btn { color: var(--accent-ink); justify-self: start; }
.foot-base { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; padding-block: 18px 30px; border-top: 1px solid var(--line); font-size: .88rem; }

/* THE CHALLENGE BACKDROP (Ron, 2026-11-05). Abstract, to catch the eye: source shapes fly in, fan out and tuck behind
   the screenshot, then a ring and a check mark the decision. Without motion the resting state shows as drawn here; home.js
   adds .ready (hidden, waiting for its turn) and .go (play). Each shape's start (--sx/--sy/--sr), fan (--fx/--fy), resting
   tilt (--r) and delay (--d) are set on it. The shapes reach past the column, so the section clips sideways only.
   NOTHING REACHES RIGHT: at desktop width the screenshot's right edge is 64px from the copy, and this column paints over
   it, so a shape out there covers the paragraph (it did, in the first draft). The left side has the page margin. */
.challenge { overflow-x: clip; }
.converge-host { isolation: isolate; }
.converge { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.converge .src { position: absolute; display: flex; flex-direction: column; gap: 9%; padding: 7% 8%; border-radius: 14px;
  background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  box-shadow: 0 18px 40px -26px rgba(10, 40, 60, .55); transform: rotate(var(--r)); }
.converge .src i { display: block; height: 7px; flex: 0 0 auto; border-radius: 4px; background: color-mix(in srgb, var(--accent) 30%, transparent); }
.converge .src i:first-child { background: color-mix(in srgb, var(--accent) 60%, transparent); width: 45%; }
.converge .src i:nth-child(3) { width: 85%; }
.converge .src i:nth-child(4) { width: 65%; }
.converge .s-mail { left: -8%; top: -15%; width: 30%; aspect-ratio: 4 / 3; --r: -7deg; --sx: -80%; --sy: -45%; --sr: -26deg; --fx: -22%; --fy: -16%; --d: 0s; }
.converge .s-page { right: -3%; top: -18%; width: 21%; aspect-ratio: 3 / 4; --r: 8deg; --sx: 70%; --sy: -70%; --sr: 28deg; --fx: 18%; --fy: -18%; --d: .12s; }
.converge .s-chart { left: -10%; top: 36%; width: 24%; aspect-ratio: 5 / 4; --r: 5deg; --sx: -90%; --sy: 10%; --sr: 22deg; --fx: -24%; --fy: 0%; --d: .24s;
  flex-direction: row; align-items: flex-end; gap: 9%; padding: 9% 10%; }
.converge .s-chart i, .converge .s-chart i:first-child { width: auto; flex: 1 1 0; height: 45%; background: color-mix(in srgb, var(--accent) 45%, transparent); }
.converge .s-chart i:nth-child(2) { height: 75%; }
.converge .s-chart i:nth-child(3) { height: 58%; width: auto; }
.converge .s-chart i:nth-child(4) { height: 92%; width: auto; background: var(--accent); }
.converge .s-talk { left: 8%; bottom: -14%; width: 23%; aspect-ratio: 3 / 2; border-radius: 18px 18px 18px 4px; --r: -5deg; --sx: -70%; --sy: 70%; --sr: -24deg; --fx: -18%; --fy: 16%; --d: .36s; }
.converge .s-dot { left: 44%; top: -15%; width: 7%; aspect-ratio: 1; padding: 0; border-radius: 50%; background: var(--warm-soft);
  border-color: color-mix(in srgb, var(--warm) 45%, transparent); --r: 0deg; --sx: 0%; --sy: -260%; --sr: 0deg; --fx: 0%; --fy: -40%; --d: .48s; }
/* The check sits top-right, where the screenshot is empty; bottom-right it covered "Pause and Exit". */
.converge .pulse { position: absolute; inset: 0; border-radius: 14px; border: 2px solid var(--accent); opacity: 0; }
.converge-host .decide { position: absolute; right: -16px; top: -16px; width: 52px; height: 52px; border-radius: 50%; background: var(--accent);
  display: grid; place-items: center; box-shadow: 0 0 0 6px var(--bg), 0 12px 26px -10px rgba(10, 40, 60, .6); }
.converge-host .decide svg { width: 26px; height: 26px; fill: none; stroke: var(--accent-ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; }
@media (max-width: 899px) {
  /* A phone's column is the screen less its gutters, so the shapes stay closer in and the badge inside the edge. Stacked,
     the student photo sits 36px above the screenshot, so the rise is in pixels, allowing for each shape's tilt (a share of
     the height overlapped the photo on a wide tablet). */
  .converge .s-mail { left: -4%; top: -12px; } .converge .s-page { right: -3%; top: -12px; } .converge .s-dot { top: -22px; }
  .converge .s-chart { left: -4%; } .converge .s-talk { left: 6%; bottom: -10%; }
  .converge-host .decide { right: -6px; top: -14px; width: 44px; height: 44px; }
}
@keyframes src-in {
  0% { opacity: 0; transform: translate(var(--sx), var(--sy)) rotate(var(--sr)); }
  22% { opacity: 1; }
  55% { transform: translate(var(--fx), var(--fy)) rotate(calc(var(--r) * 1.8)); }
  100% { opacity: 1; transform: translate(0, 0) rotate(var(--r)); }
}
@keyframes ring-out { 0% { opacity: .6; transform: scale(1); } 100% { opacity: 0; transform: scale(1.06, 1.09); } }
@keyframes decide-pop { 0% { transform: scale(0); } 70% { transform: scale(1.14); } 100% { transform: scale(1); } }
@keyframes tick-draw { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }
.converge-host.ready:not(.go) .src, .converge-host.ready:not(.go) .decide { opacity: 0; }
.converge-host.go .src { animation: src-in 2s cubic-bezier(.25, .8, .3, 1) var(--d) both; }
.converge-host.go .pulse { animation: ring-out 1.1s ease-out 2.1s both; }
.converge-host.go .pulse.p2 { animation-delay: 2.35s; }
.converge-host.go .decide { animation: decide-pop .45s cubic-bezier(.3, 1.5, .5, 1) 2.4s both; }
.converge-host.go .decide path { animation: tick-draw .35s ease-out 2.7s both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.pre { transform: none; }
  .float.range .climber { opacity: 1; }
}

/* ===================================================================================================
   Inner pages (2026-10-31). The homepage is a run of one-idea screens; every other page is a navy page
   header, then sections of plain reading with cards, steps and questions where they help.
   =================================================================================================== */
.page-head { background: var(--head-bg); color: var(--head-ink); }
.page-head .wrap { padding-block: clamp(40px, 7vw, 76px); display: grid; gap: 16px; }
.page-head .eyebrow { color: var(--head-label); }
.page-head h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 800; letter-spacing: -0.03em; max-width: 24ch; }
/* Ron, 2026-11-05: about 10px more between the heading's two lines (1.1 -> 1.33). Schools only, so far. */
.page-schools .page-head h1 { line-height: 1.33; }
.page-head .lede { font-size: 1.2rem; color: var(--head-muted); max-width: 60ch; }
/* A lede as bulleted lines (the Schools page, Ron 2026-11-15): same size and colour as .lede, with a SOLID DOT larger than a
   normal bullet (10px against ~6px), in the eyebrow's teal, so the three lines stand out. Ron chose dots over the check
   marks first built. role="list" in the page keeps it a list for VoiceOver, which drops list semantics when list-style is
   none. */
.page-head .lede-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 60ch; font-size: 1.2rem; color: var(--head-muted); }
.page-head .lede-list li { position: relative; padding-left: 28px; }
.page-head .lede-list li::before { content: ""; position: absolute; left: 4px; top: calc(.8em - 5px); width: 10px; height: 10px; border-radius: 50%; background: var(--head-label); }
.page-head .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.page-head .btn { background: var(--head-btn); border-color: var(--head-btn); color: var(--head-btn-ink); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); } /* ink, not teal: teal was 4.33:1 on the pale bands (2026-11-12) */
.page-head .btn.ghost { background: transparent; color: var(--head-ink); border-color: var(--head-line); }

.band { padding-block: clamp(44px, 7vw, 84px); }
.band + .band { padding-top: 0; }
.band.tint { background: var(--surface); }
.band.tint + .band, .band + .band.tint { padding-top: clamp(44px, 7vw, 84px); }
.band > .wrap { display: grid; gap: 22px; }
.band h2 { font-size: clamp(1.45rem, 2.8vw, 2rem); }
.band h3 { font-size: 1.12rem; }
.prose { display: grid; gap: 14px; max-width: 70ch; }
.prose p, .prose li { color: var(--muted); }
.prose ul, .prose ol { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.prose strong, .prose b { color: var(--ink); }
.section-head { display: grid; gap: 10px; max-width: 70ch; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

.cards { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1020px) { .cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Four across from 1120px, not 1020 (Ron, 2026-11-15): below it a four-wide card is too narrow for "Technical requirements"
   on one line, and a two-line link stands taller than its row's other links. Two across until then. */
@media (min-width: 1120px) { .cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1020px) { .cards.three .card.span2 { grid-column: span 2; } }
@media (min-width: 720px) { .cards .card.wide { grid-column: span 2; } }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; align-content: start; }
/* A CARD'S LINK SITS AT ITS FOOT (Ron, 2026-11-15): cards in a row are stretched to one height, and each link now takes the
   card's last line, so the links in a row line up, whatever the text above them. Only cards that end in a .more link; a
   column, so the gap is unchanged, and the link keeps its own width rather than stretching the row. */
.card:has(> .more) { display: flex; flex-direction: column; }
.card > .more { margin-top: auto; align-self: flex-start; }
.card p, .card li { color: var(--muted); font-size: 1rem; }
.card ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }

/* Numbered steps: a column of numbered rows, the number in a teal disc. */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; counter-reset: step; max-width: 820px; }
.steps > li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; counter-increment: step; }
.steps > li::before { content: counter(step); width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font: 800 1.1rem var(--display); }
.steps > li > div { display: grid; gap: 6px; }
.steps p { color: var(--muted); }

/* Questions and answers: native details, so they open without script and a screen reader announces the state. */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 700; }
.faq details > div { padding: 0 18px 16px; color: var(--muted); display: grid; gap: 10px; }
/* An answer that stays open (Ron, 2026-11-15): the price, on Schools and Homeschool. It is the same card as a question,
   but its heading is not a button, so it reads as part of the page while scrolling and cannot be clicked shut. */
.faq .faq-open { border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.faq .faq-open h3 { margin: 0; padding: 14px 18px; font: inherit; font-weight: 700; letter-spacing: normal; color: var(--ink); } /* the summary's own type, not h3's */
.faq .faq-open > div { padding: 0 18px 16px; color: var(--muted); display: grid; gap: 10px; }

.callout { border-radius: var(--radius); background: var(--accent-soft); padding: 22px 24px; display: grid; gap: 10px; max-width: 820px; }
.callout p { color: var(--ink); }
.callout .actions { margin-top: 16px; } /* page 1: lowered 16px below "All we ask in return is your feedback." (Ron, 2026-11-05) */
.cta-band { background: var(--accent-soft); }
.cta-band .wrap { display: grid; gap: 14px; justify-items: center; text-align: center; padding-block: clamp(44px, 7vw, 80px); }
.cta-band p { color: var(--muted); max-width: 56ch; font-size: 1.1rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .actions { justify-content: center; }

.two { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } .two.center-y { align-items: center; } }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; max-width: 900px; }
table.plain { border-collapse: collapse; width: 100%; font-size: .98rem; }
table.plain th, table.plain td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.plain th { background: var(--surface); font-weight: 700; }
table.plain tr:last-child td { border-bottom: 0; }

/* PLACEHOLDERS. Anything not yet written is a dashed amber box naming what it needs. build-site.js counts
   data-draft and a prod build refuses while any remain, so none of these can reach the live site. */
.draft { border: 2px dashed var(--hint-line); background: var(--hint-bg); color: var(--ink); border-radius: 12px; padding: 14px 16px; display: grid; gap: 6px; font-size: .98rem; max-width: 820px; }
.draft::before { content: "Placeholder"; font: 700 .72rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--hint-ink); }
.draft p, .draft li { color: var(--ink); }
.draft.media { aspect-ratio: 16 / 9; place-content: center; text-align: center; justify-items: center; max-width: 900px; width: 100%; justify-self: center; }
/* THE TOUR (page 1, mockup 2026-11-06): one player beside a three-video playlist; below 900px the list sits under the
   player. The poster is a screenshot cropped to 16:9 from its top left, where every app screen keeps its heading. */
.tour .center { margin-bottom: 28px; }
.tour .center p { color: var(--muted); max-width: 60ch; }
.tour-grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .tour-grid { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); } }
.tour-player { display: grid; gap: 14px; }
.tour-player .draft { max-width: none; }
.tour-screen { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #ffffff; box-shadow: 0 30px 60px -36px rgba(10, 40, 60, .55); }
.tour-video { display: block; width: 100%; height: 100%; background: #000; }
/* Close (Ron, 2026-11-13): top right, over the picture, white on a dark circle so it reads on any frame. */
.tour-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(10, 20, 35, .72); color: #ffffff; cursor: pointer; }
.tour-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; }
.tour-close:hover { background: var(--head-bg); }
.tour-close:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
/* The caption panel under a training video (Ron, 2026-11-13; site.js captionPanel): one screen's whole line, white on the
   site navy, with real padding. Its height holds three lines so the page does not jump as the lines change. */
.cc-panel { display: flex; align-items: center; justify-content: center; min-height: calc(3 * 1.45em + 32px); padding: 16px 32px; border-radius: 12px; background: #1f3864; color: #ffffff; font-size: 1.05rem; line-height: 1.45; text-align: center; text-wrap: balance; }
.cc-panel[hidden] { display: none; }
.card .cc-panel { margin-bottom: 10px; padding: 12px 16px; font-size: .95rem; min-height: calc(4 * 1.45em + 24px); }
/* Captions (2026-11-13): white on the site navy, the colours the words had when they were drawn into the video. */
video::cue { color: #ffffff; background-color: rgba(31, 56, 100, .92); font-family: inherit; line-height: 1.35; }
.tour-poster { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.tour-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; border: 0; background: var(--head-bg); color: #ffffff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6); }
.tour-play svg { width: 34px; height: 34px; margin-left: 4px; fill: currentColor; }
.tour-play:hover { background: var(--accent); }
.tour-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; gap: 12px; padding: 28px 18px 12px; color: #ffffff; font-weight: 700; background: linear-gradient(transparent, rgba(10, 20, 35, .82)); }
.tour-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tour-list button { width: 100%; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: start; text-align: left; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--ink); font: inherit; cursor: pointer; }
.tour-list button:hover { border-color: var(--accent); }
.tour-list button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.tour-num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font: 800 1rem var(--display); }
.tour-list button[aria-pressed="true"] .tour-num { background: var(--accent); color: var(--accent-ink); }
.tour-txt { display: grid; gap: 4px; }
.tour-txt b { font-family: var(--display); font-size: 1.05rem; }
.tour-txt span { color: var(--muted); font-size: .95rem; }
.tour-time { color: var(--muted); font-weight: 700; font-variant-numeric: tabular-nums; }
.draft.crop { aspect-ratio: 4 / 3; place-content: center; text-align: center; justify-items: center; max-width: none; }

/* Homepage additions (2026-10-31): the benefits row, the overview video, path links. */
.benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1020px) { .benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.benefits li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; background: var(--surface); border-radius: 14px; padding: 16px 18px; }
.benefits li::before { content: ""; width: 28px; height: 28px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 16px no-repeat; }
.benefits b { display: block; color: var(--ink); }
.benefits span { color: var(--muted); font-size: .98rem; }
/* The checks tick in turn (home.js). Only while .ticking is set, which home.js adds when motion is allowed, so without
   it every check simply shows. An unticked check is an empty ring; ticking fills it and pops the mark in. */
.benefits.ticking li::before { background-color: transparent; background-size: 0; box-shadow: inset 0 0 0 2px var(--accent);
  transition: background-color .25s ease-out, background-size .35s cubic-bezier(.3, 1.6, .5, 1); }
.benefits.ticking li.ticked::before { background-color: var(--accent); background-size: 16px; }

/* Forms (Contact, Join): the old mockup's join form, with a message box and the spam guards. */
form.panel { background: var(--bg); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; border: 1px solid var(--line); }
.field textarea { font: 400 1rem/1.45 var(--body); padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); width: 100%; resize: vertical; min-height: 9em; }
.field .optional { font-weight: 400; color: var(--muted); }
.form-note { font-size: .9rem; color: var(--muted); }
/* A link to a heading must not land it under the sticky header, which is up to 119px tall on a narrow laptop. */
html { scroll-padding-top: 130px; }
/* "On this page", under the head of a long page (Schools & Districts, 2026-11-04). Sticks to nothing, so it costs no screen. */
.jump { border-bottom: 1px solid var(--line); }
.jump .wrap { display: flex; flex-wrap: wrap; gap: 6px 18px; padding-block: 14px; }
.jump a { font-weight: 600; font-size: .95rem; text-decoration: none; }
.jump a:hover { text-decoration: underline; }
@media print { .jump { display: none; } }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg.err { color: var(--bad); }
.form-done { display: grid; gap: 10px; background: var(--good-bg); border: 1px solid var(--good); border-radius: var(--radius); padding: 22px; }
.form-done b { color: var(--good); font-size: 1.1rem; }
.form-done p { color: var(--ink); }
.form-done .done-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form-done[hidden], form.panel[hidden] { display: none; }

/* The quote page's counts (Ron, 2026-11-15): the label, with its price and dates beneath it, on the left and a narrow
   box on the right, numbers at its right edge. Under 560px each row stacks, label first. */
.qrows { display: grid; }
.qrow { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 14px 0; border-top: 1px solid var(--line); }
.qrow:first-child { border-top: 0; padding-top: 0; }
.qrow-text { display: grid; gap: 3px; }
.qrow-name { font-weight: 700; font-size: 1rem; color: var(--ink); }
.qrow input, .qrow select { font: 400 1rem var(--body); padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); width: 100%; }
.qrow input { text-align: right; }
/* THE QUOTE FORM IS 720px AT MOST (Ron, 2026-11-15): full width it was 1148px on a laptop and each box sat ~940px from its
   label. Its done panel matches. Only this page: the other forms share form.panel and keep their width. The semester note
   breaks on purpose, Fall on one line and Spring on the next (quote.js), where it would otherwise wrap mid-date. */
form.panel[data-quote], .quote-done { max-width: 720px; }
.qrow-text [data-detail="semester"] { white-space: pre-line; }
@media (min-width: 560px) { .qrow { grid-template-columns: minmax(0, 1fr) 160px; gap: 24px; align-items: center; } }
/* The quote's price table on a phone (Ron, 2026-11-15): four columns ran past the screen and hid Amount. Under 560px the
   Price column goes, its figure shows beneath the item (quote.js .line-price), the cells tighten, and the numbers sit
   right so they line up. Wider screens are unchanged. */
.quote-lines .line-price { display: none; }
@media (max-width: 559px) {
  table.plain.quote-lines { font-size: .92rem; }
  table.plain.quote-lines th, table.plain.quote-lines td { padding: 9px 8px; }
  .quote-lines thead th:nth-child(3), .quote-lines tbody td:nth-child(3), .quote-lines tfoot td:nth-child(2) { display: none; } /* Total spans two, so its empty Price cell is the second */
  table.plain.quote-lines th:nth-child(2), table.plain.quote-lines td:nth-child(2), table.plain.quote-lines th:last-child, table.plain.quote-lines td:last-child { text-align: right; white-space: nowrap; }
  .quote-lines .line-price { display: block; font-size: .85rem; color: var(--muted); }
}


/* Setup form (setup.html): one box per teacher, same border all round. */
.teacher-rows { display: grid; gap: 14px; }
.teacher-row { border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px 16px; margin: 0; display: grid; gap: 12px; min-width: 0; }
.teacher-row legend { font-weight: 700; padding: 0 6px; }
.row-remove { align-content: end; }
/* .field and .form-row set display, which beats the browser's own [hidden]; the setup form's role switch needs it to win. */
[data-show][hidden], [data-row-limit][hidden], [data-add-row][hidden] { display: none !important; }
.teacher-block { display: grid; gap: 14px; }
/* Join's fields below "I am a…", shown once a choice is made (2026-11-19); the same spacing as the form's own grid. */
.join-rest { display: grid; gap: 14px; }

/* Join (2026-11-18, the Field Test Sign-up and Terms of Use Plan): "I am a…" as four radio buttons in one box, two across from
   560px; then the Terms of Use shown in place, scrolling inside its own box so the form stays
   short, and the checkbox that accepts them. */
fieldset.choice { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; min-width: 0; }
fieldset.choice legend { font-weight: 600; font-size: .92rem; padding: 0; margin-bottom: 6px; }
/* One box round all four, since only one can be chosen (Ron, 2026-11-18); it replaced a box per choice. */
.choice-opts { display: grid; gap: 4px 16px; grid-template-columns: minmax(0, 1fr); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
@media (min-width: 560px) { .choice-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.choice label, label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 1rem; cursor: pointer; }
.choice label { padding: 6px 0; }
.choice input, label.check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--accent); flex: none; }
.terms-box { border: 1px solid var(--line); border-radius: 8px; }
.terms-head { padding: 11px 12px; margin: 0; font-weight: 600; font-size: .92rem; }
.terms-text { max-height: 18rem; overflow: auto; padding: 12px 14px 14px; font-size: .9rem; display: grid; gap: 8px; border-top: 1px solid var(--line); }
.terms-text h3 { font-size: .98rem; margin: 8px 0 0; }
.terms-text ul { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }

/* THE SCHOOL LOOK-UP (Ron, 2026-11-18; docs/SignUp_Walkthrough_Decisions.md T2a), on Join and the teacher list: a text box
   with its list of matches dropped below it, over the fields beneath. The highlighted match (aria-selected, set by the arrow
   keys) and the one under the mouse share one look. Read-only District and City take the surface colour, so they do not
   look like boxes to type in. "My school isn't listed" is a link-style button under the look-up. */
.lookup-block, [data-path] { display: grid; gap: 14px; min-width: 0; }
[data-path][hidden], .cb-pop[hidden], [data-tl-view][hidden], [data-remove-row][hidden] { display: none !important; }
.cb-wrap { position: relative; }
.field input[role="combobox"] { padding-right: 12px; }
.cb-pop { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px); background: var(--bg); border: 1px solid var(--line);
  border-radius: 8px; box-shadow: 0 10px 28px rgba(20, 33, 46, .16); max-height: 24rem; overflow: auto; font-weight: 400; }
.cb-pop ul { list-style: none; margin: 0; padding: 4px; }
.cb-pop li { display: grid; gap: 1px; padding: 8px 10px; border-radius: 6px; cursor: pointer; }
.cb-pop li:hover, .cb-pop li[aria-selected="true"] { background: var(--accent-soft); color: var(--accent-on-soft); }
.cb-name { font-size: 1rem; color: var(--ink); }
.cb-meta { font-size: .85rem; color: var(--muted); }
.cb-pop li[aria-selected="true"] .cb-name, .cb-pop li:hover .cb-name { color: var(--accent-on-soft); }
.cb-more { margin: 0; padding: 8px 14px 10px; font-size: .88rem; color: var(--muted); }
.cb-more:empty { display: none; }
.cb-pop ul:empty { display: none; }
.cb-help, .cb-picked { font-weight: 400; font-size: .88rem; color: var(--muted); }
.cb-picked:empty { display: none; }
/* Join's District and City, shown as text once a school or district is picked (2026-11-19); side by side like .form-row. */
.cb-chosen { display: grid; gap: 4px 14px; grid-template-columns: minmax(0, 1fr); font-size: .95rem; }
.cb-chosen p { margin: 0; }
@media (min-width: 560px) { .cb-chosen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
[data-chosen][hidden] { display: none !important; }
.field input[readonly] { background: var(--surface); }
.path-switch { justify-self: start; font-size: .95rem; }
.row-actions { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
/* The teacher list's notes for an expired link or a failed check: a box like the form's, so the page is not empty. */
.tl-note { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; max-width: 720px; }
.tl-wrap { display: grid; gap: 16px; }

/* Button rollover (Ron, 2026-11-10): the cursor alone was too faint. A small lift, a shadow and a slightly brighter
   fill; an outlined button fills lightly instead. Motion is dropped for visitors who ask for less. */

/* The state picker on /standards */
.state-pick { max-width: 340px; margin: 0 0 16px; }
.fit-tag { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--surface); border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }

/* BUTTON HOVER (Ron, 2026-11-11): colour and a ring, no lift, the way well-regarded sites do it. A filled button
   deepens one step and gains a soft ring in its own colour; an outline button fills in; keyboard focus gets a
   separate, offset outline. It replaced a lift-and-shadow hover the same day. */
.btn { transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, color .15s ease; }
.btn:hover { transform: none; filter: none; background: color-mix(in srgb, var(--accent) 80%, #000); border-color: color-mix(in srgb, var(--accent) 80%, #000); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.btn:active { transform: none; background: color-mix(in srgb, var(--accent) 70%, #000); box-shadow: none; }
.btn.ghost:hover { background: var(--accent); color: var(--accent-ink); }
.btn:focus-visible { transform: none; filter: none; box-shadow: none; outline: 3px solid var(--accent); outline-offset: 3px; }

/* LINKS (Ron, 2026-11-11), two kinds, the way well-regarded sites do it:
   - in a sentence (and the footer): always underlined, thin and set below the letters, so colour is never the only
     cue; on hover the line thickens and the teal deepens, matching the buttons;
   - a standalone link that leads somewhere (.go, and a card's .more): bold, with an arrow that slides right on hover
     while the words underline. The arrow is never underlined (inline-block stops the line), and a fine stroke makes it
     as heavy as the bold text. Write the link text alone: the arrow comes from here, never from &rarr; in the page.
   Keyboard focus gets the buttons' offset outline. The .jump links keep their own style. */
main a:not([class]):not(.jump a), footer a:not([class]) {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
  transition: color .15s ease, text-decoration-thickness .15s ease; }
main a:not([class]):not(.jump a):hover, footer a:not([class]):hover {
  color: color-mix(in srgb, var(--accent) 80%, #000); text-decoration-thickness: 3px; }
/* a.go, not .go (Ron, 2026-11-13): home.js adds a class named "go" to start an animation, and a bare .go drew this link arrow inside
   the audio photo and card, and anything else that animates. */
a.go, .card .more, .role .more { font-weight: 700; text-decoration: none; }
/* THE ARROW NEVER WRAPS ALONE (Ron, 2026-11-15): as an inline-block it was a line-break opportunity of its own, so a link one
   arrow too long for its card ("Research and measurement" on the Schools cards) left the arrow alone on the next line. Now it
   is an INLINE box holding only a word joiner (U+2060), which glues it to the last word: if the link wraps, the word moves
   down with it. AND THE HOVER UNDERLINE SKIPS IT (Ron, the same day): an underline is drawn under text, and the word joiner
   has no width, so the arrow is not text at all but the box's padding, painted in the link's colour (currentColor) through
   an arrow-shaped mask. Screen readers hear nothing for it, as before. An inline box ignores transform, so the hover slide
   moves it with left instead. In forced colours (Windows contrast themes) the paint is kept, so the arrow does not vanish. */
a.go::after, .card .more::after, .role .more::after {
  content: "\2060"; position: relative; left: 0; margin-left: 6px; padding-left: .95em;
  background: currentColor; transition: left .15s ease;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 8h12M9 3.5 13.5 8 9 12.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / .95em .95em no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 8h12M9 3.5 13.5 8 9 12.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / .95em .95em no-repeat;
  forced-color-adjust: none; }
@media (forced-colors: active) { a.go::after, .card .more::after, .role .more::after { background: LinkText; } }
a.go:hover, .card .more:hover, .role .more:hover { color: color-mix(in srgb, var(--accent) 80%, #000); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
a.go:hover::after, .card .more:hover::after, .role .more:hover::after { left: 3px; }
a:not(.btn):focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) { a.go::after, .card .more::after, .role .more::after { transition: none; } }

/* MAIN MENU HOVER (Ron, 2026-11-11): a thick white line under the link, in the same place as the current page's teal
   line, so "you are here" (teal) and "you are pointing at this" (white) never look alike. The current page keeps teal. */
@media (min-width: 901px) {
  .navlinks > a:hover:not([aria-current]), .dd:not([data-current]) .dd-btn:hover {
    text-decoration: underline; text-decoration-color: var(--head-ink); text-decoration-thickness: 3px; text-underline-offset: 8px; }
}

/* Numbered cards (Research, "The research plan"): the bold number sits on the title's line; a card's link sits apart. */
.step-num { font-weight: 800; color: var(--accent); margin-right: 10px; }
.card .card-link { margin-top: 14px; }

/* Research sources list */
.refs { margin-top: 22px; }
.refs summary { cursor: pointer; font-weight: 700; color: var(--accent); }
.refs ul { margin: 12px 0 0; padding-left: 20px; font-size: .92rem; }
.refs li { margin-bottom: 8px; padding-left: 1.5em; text-indent: -1.5em; list-style: none; }

/* Schools page: the principal's PDF, a link under the hero buttons rather than a third button (Ron, 2026-11-12). */
.pdf-link { margin: 14px 0 0; font-weight: 600; }
.pdf-link a { display: inline-flex; align-items: center; gap: 6px; }
.pdf-link svg { flex: none; }

/* WCAG AA ON THE NAVY HEADER, SITE-WIDE (Ron, 2026-11-12; trialled on the Schools page first). The site's teal and its
   hover rules were written for white backgrounds and failed on navy:
   - the eyebrow label was #1a9fbf (3.74:1); --head-label #33c3c8 is 5.4:1;
   - the header button's hover darkened toward its dark text (~2.3:1). Rule: hover moves the background 20% AWAY from
     the text colour, so this dark-text button lightens (~6.8:1) and the white-text buttons below darken, as before;
   - a plain link went teal (2.26:1) and darker teal on hover (~1.6:1); it is white, and hover thickens the underline;
   - keyboard focus outlines were teal (~2.3:1, under the 3:1 bar for focus indicators); they are white here. */
.page-head .btn:not(.ghost):hover, .hero .btn:not(.ghost):hover {
  background: color-mix(in srgb, var(--head-btn) 80%, #fff); border-color: color-mix(in srgb, var(--head-btn) 80%, #fff);
  color: var(--head-btn-ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--head-btn) 35%, transparent); }
.page-head .btn:not(.ghost):active, .hero .btn:not(.ghost):active { background: color-mix(in srgb, var(--head-btn) 70%, #fff); }
main .page-head a:not([class]), main .hero a:not([class]) { color: var(--head-ink); }
main .page-head a:not([class]):hover, main .hero a:not([class]):hover { color: var(--head-ink); text-decoration-thickness: 3px; }
.page-head a:focus-visible, .hero a:focus-visible { outline-color: var(--head-ink); }
/* Teal text on the pale teal band was 4.33:1; --accent-on-soft is a darker teal for that background (2026-11-12). */
.join-band .eyebrow { color: var(--accent-on-soft); }
/* Schools page, Pricing and funding (Ron, 2026-11-12): the one line of price kept in view above the collapsed questions. */
.lede-sm { font-size: 1.1rem; font-weight: 600; color: var(--ink); margin: 10px 0 0; max-width: 60ch; }
address { font-style: normal; }
/* About page: the founder's photo above his bio (2026-11-12). */
.bio-photo { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.stack { display: grid; gap: 40px; } /* blocks one under another, e.g. the Privacy page (2026-11-12) */
