@font-face {
  font-family: 'Gabarito';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/gabarito.woff2') format('woff2');
}
@font-face {
  font-family: 'CB UI';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/cb-ui-700.woff2') format('woff2');
}
@font-face {
  font-family: 'CB UI';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/cb-ui-800.woff2') format('woff2');
}
@font-face {
  font-family: 'CB Digits';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('../fonts/cb-digits.woff2') format('woff2');
}
@font-face {
  font-family: 'CB Title';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cb-title.woff2') format('woff2');
}
/* Shared by every hero: the brand as tokens, the nav, buttons, a classroom screen.
   Sizes follow the hero's own width (container units), so the same code in a narrow box IS the phone layout. */
:host {
  display: block;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
.hx {
  --wb: #fbfcfb; /* whiteboard: the page */
  --ink: #182229; /* black marker */
  --ink-2: #44525b;
  --ink-3: #66747c;
  --line: #d6dde1;
  --pen: #1f3fcf; /* blue marker: the brand colour */
  --pen-dark: #17309e;
  --pen-soft: #e9edfc;
  --paper: #f4f7f8; /* the board's own grid paper */
  --grid: #dde4e8;
  --bezel: #15171a;
  --cream: #fff1c4; /* the board's card colours, used only where a hero borrows the board's look */
  --mint: #dff2ee;
  --peach: #ffede2;
  --font: 'Gabarito', 'Trebuchet MS', 'Segoe UI', system-ui, sans-serif;
  --g: clamp(18px, 4cqw, 56px);
  container: hx / inline-size;
  position: relative;
  overflow-x: clip;
  background: var(--wb);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.5;
  text-align: left;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
:where(.hx) h1,
:where(.hx) h2,
:where(.hx) p,
:where(.hx) ul,
:where(.hx) ol,
:where(.hx) figure {
  margin: 0;
  padding: 0;
}
:where(.hx) ul,
:where(.hx) ol {
  list-style: none;
}
:where(.hx) a {
  color: inherit;
}
:where(.hx) img,
:where(.hx) video {
  display: block;
  max-width: 100%;
  height: auto;
}
:where(.hx) button {
  font: inherit;
  color: inherit;
}
.hx :focus-visible {
  outline: 3px solid var(--pen);
  outline-offset: 3px;
  border-radius: 6px;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* nav: the same on every hero, so only the hero is being judged */
.nav {
  position: relative;
  z-index: 5;
  background: var(--wb);
  border-bottom: 1.5px solid var(--ink);
}
.nav-in {
  height: 64px;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2cqw, 30px);
  padding-inline: var(--g);
}
.logo {
  display: inline-flex;
  margin-right: auto;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}
.logo svg {
  display: block;
  height: 23px;
  width: auto;
}
.pupil {
  transition: transform 0.12s ease-out;
}
.nav-links {
  display: flex;
  gap: clamp(12px, 1.8cqw, 26px);
}
.nav-links a,
.nav-signin {
  text-decoration: none;
  font-weight: 600;
}
.nav-links a:hover,
.nav-signin:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.62em 1.25em;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.btn-pen {
  background: var(--pen);
  color: #fff;
}
.btn-pen:hover {
  background: var(--pen-dark);
}
.btn-line {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn-line:hover {
  background: var(--ink);
  color: #fff;
}
.btn-lg {
  font-size: 1.125rem;
  padding: 0.78em 1.5em;
}
.nav-cta {
  font-size: 0.9875rem;
}

.h1 {
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.02;
  text-wrap: balance;
}
.lede {
  max-width: 33em;
  font-size: clamp(1.0625rem, 0.95rem + 0.6cqw, 1.35rem);
  line-height: 1.4;
  color: var(--ink-2);
  text-wrap: pretty;
}
.acts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--ink-2);
}
.facts li {
  display: flex;
  align-items: center;
  gap: 9px;
}
.facts li::before {
  content: '';
  width: 0.42em;
  height: 0.82em;
  margin-top: -0.2em;
  border: solid var(--pen);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(40deg);
}

/* a classroom panel: a thin bezel with a deeper lip along the bottom and its standby light */
.screen {
  position: relative;
  padding: 7px 7px 15px;
  border-radius: 10px;
  background: var(--bezel);
  box-shadow: 0 22px 44px -22px rgba(24, 34, 41, 0.5);
}
.screen::after {
  content: '';
  position: absolute;
  right: 18px;
  bottom: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8a949b;
}
.screen > img,
.screen > video {
  width: 100%;
  border-radius: 2px;
  background: var(--paper);
}
.swap {
  animation: swap 0.22s ease-out;
}
@keyframes swap {
  from {
    opacity: 0.35;
  }
}

/* a row of choices: the stack's tabs, the timetable, the drawers */
.seg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 4px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
}
.seg button {
  min-height: 36px;
  padding: 0.35em 1em;
  border: 0;
  border-radius: 999px;
  background: none;
  font-weight: 600;
  cursor: pointer;
}
.seg button[aria-pressed='true'] {
  background: var(--ink);
  color: #fff;
}

/* where the hero stops and the page would carry on */
.next {
  padding: 22px var(--g) 26px;
  border-top: 1.5px solid var(--line);
  color: var(--ink-3);
  font-size: 0.95rem;
}

@container hx (max-width: 860px) {
  .nav-in {
    height: 56px;
  }
  .logo svg {
    height: 20px;
  }
  .nav-links,
  .nav-signin {
    display: none;
  }
  .nav-cta {
    min-height: 40px;
    padding: 0.5em 1em;
    font-size: 0.9rem;
  }
  .btn-lg {
    font-size: 1.0625rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hx *,
  .hx *::before,
  .hx *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ---- round two: the school day. A period's line in the teacher's words, what is on that board, the timetable ---- */
.say {
  font-size: clamp(1.05rem, 0.95rem + 0.5cqw, 1.3rem);
  line-height: 1.35;
  font-weight: 500;
  color: var(--ink);
  text-wrap: pretty;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
}
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.18em 0.75em 0.18em 0.5em;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--wb);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-2);
}
.chips svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--ink);
}
/* the timetable strip: joined cells, the way a school prints one; breaks are hatched */
.strip {
  display: flex;
  border-top: 1.5px solid var(--ink);
  background: var(--wb);
}
.strip .stop,
.strip .gap {
  flex: 1 1 0;
  min-width: 0;
  min-height: 78px;
  border: 0;
  border-right: 1.5px solid var(--ink);
}
.strip > :last-child {
  border-right: 0;
}
.strip .stop {
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 10px clamp(10px, 1.3cqw, 20px);
  background: none;
  text-align: left;
  cursor: pointer;
}
.strip .t {
  font-size: 0.9rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink-3);
  white-space: nowrap;
}
.strip .n {
  font-size: clamp(1.02rem, 1.45cqw, 1.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.strip .stop:hover {
  background: var(--pen-soft);
}
.strip .stop[aria-pressed='true'] {
  background: var(--pen);
  color: #fff;
}
.strip .stop[aria-pressed='true'] .t {
  color: rgba(255, 255, 255, 0.82);
}
.hx .strip .stop:focus-visible {
  outline-offset: -4px;
}
.hx .strip .stop[aria-pressed='true']:focus-visible {
  outline-color: #fff;
}
.strip .gap {
  flex: 0.5 1 0;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-3);
  background: repeating-linear-gradient(135deg, transparent 0 7px, var(--line) 7px 8.5px);
}
@container hx (max-width: 860px) {
  .strip {
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    border-bottom: 1.5px solid var(--ink);
  }
  .strip::-webkit-scrollbar {
    display: none;
  }
  .strip .stop {
    flex: 0 0 auto;
    min-width: 108px;
    min-height: 66px;
    scroll-snap-align: start;
  }
  .strip .gap {
    flex: 0 0 auto;
    min-width: 34px;
    min-height: 66px;
    writing-mode: vertical-rl;
    font-size: 0.74rem;
  }
  .chips li {
    font-size: 0.8rem;
  }
}

.c-clock {
  /* 3D. The clock. A classroom wall clock sits beside the screen with the day's bell times under it. The day plays
   through once when it comes into view: the hands sweep to each bell and the board changes with them. After that
   it waits for a tap. The clock is drawn here, not a picture; the red second hand keeps real time. */
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 3.8fr) minmax(0, 8.6fr);
    align-items: center;
    gap: clamp(20px, 3.4cqw, 52px);
    padding: clamp(24px, 3.4cqw, 50px) var(--g);
  }
  .copy {
    display: grid;
    gap: clamp(16px, 1.8cqw, 26px);
  }
  .h1 {
    font-size: clamp(2.4rem, 4.4cqw, 4.1rem);
  }
  .wall {
    display: grid;
    grid-template-columns: clamp(168px, 15cqw, 214px) minmax(0, 1fr);
    align-items: start;
    gap: clamp(14px, 1.8cqw, 26px);
  }
  .times {
    display: grid;
    gap: 14px;
  }
  .clock svg {
    display: block;
    width: min(100%, 172px);
    height: auto;
    margin-inline: auto;
    filter: drop-shadow(0 8px 10px rgba(24, 34, 41, 0.18));
  }
  .hand {
    transform-origin: 100px 100px;
    transition: transform 0.95s cubic-bezier(0.3, 0.1, 0.2, 1);
  }
  .hand.sh {
    transition: transform 0.12s cubic-bezier(0.3, 1.8, 0.5, 1);
  }
  .clock.still .hand {
    transition: none;
  }
  .bells-box {
    border: 1.5px solid var(--ink);
    border-radius: 10px;
    overflow: hidden;
    background: var(--wb);
  }
  .bells-h {
    padding: 7px 12px;
    border-bottom: 1.5px solid var(--ink);
    font-size: 0.85rem;
    font-weight: 800;
  }
  .bells {
    display: grid;
  }
  .bells .stop {
    display: grid;
    grid-template-columns: 3.3em minmax(0, 1fr);
    align-items: baseline;
    gap: 8px;
    min-height: 40px;
    padding: 6px 12px;
    border: 0;
    border-bottom: 1.5px solid var(--line);
    background: none;
    text-align: left;
    cursor: pointer;
  }
  .bells .t {
    font-size: 0.9rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--ink-3);
  }
  .bells .n {
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.15;
  }
  .bells .stop:hover {
    background: var(--pen-soft);
  }
  .bells .stop[aria-pressed='true'] {
    background: var(--pen);
    color: #fff;
  }
  .bells .stop[aria-pressed='true'] .t {
    color: rgba(255, 255, 255, 0.82);
  }
  .hx .bells .stop:focus-visible {
    outline-offset: -4px;
  }
  .hx .bells .stop[aria-pressed='true']:focus-visible {
    outline-color: #fff;
  }
  .bells .gap {
    display: grid;
    place-items: center;
    height: 18px;
    border-bottom: 1.5px solid var(--line);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--ink-3);
    background: repeating-linear-gradient(135deg, transparent 0 7px, var(--line) 7px 8.5px);
  }
  .bells > :last-child {
    border-bottom: 0;
  }
  .show {
    display: grid;
    gap: 12px;
  }
  .about {
    display: grid;
    align-content: start;
    gap: 10px;
    min-height: 7em;
  }

  @container hx (max-width: 860px) {
    .hero {
      grid-template-columns: minmax(0, 1fr);
      gap: 18px;
      padding-top: 24px;
    }
    .h1 {
      font-size: clamp(2.3rem, 10.4cqw, 3.4rem);
    }
    .acts .btn {
      flex: 1 1 auto;
    }
    .wall {
      grid-template-columns: minmax(0, 1fr);
      gap: 14px;
    }
    .times {
      grid-template-columns: 86px minmax(0, 1fr);
      align-items: center;
      gap: 12px;
    }
    .clock svg {
      width: 86px;
    }
    .bells {
      display: flex;
      overflow-x: auto;
      scroll-snap-type: x proximity;
      scrollbar-width: none;
    }
    .bells::-webkit-scrollbar {
      display: none;
    }
    .bells .stop {
      flex: 0 0 auto;
      grid-template-columns: minmax(0, 1fr);
      align-content: center;
      gap: 1px;
      min-width: 96px;
      min-height: 58px;
      border-bottom: 0;
      border-right: 1.5px solid var(--line);
      scroll-snap-align: start;
    }
    .bells .gap {
      flex: 0 0 auto;
      width: 26px;
      height: auto;
      border-bottom: 0;
      border-right: 1.5px solid var(--line);
      writing-mode: vertical-rl;
    }
    .show {
      margin-inline: calc(var(--g) * -1);
    }
    .screen {
      border-radius: 0;
      padding: 6px 0 12px;
    }
    .about {
      padding-inline: var(--g);
      min-height: 8.6em;
    }
  }
}

.c-whose {
  /* 3B. Whose day? The same timetable idea, with four days to choose from: early years, primary, a secondary
   teacher with a different class each period, and a relief teacher walking into someone else's room.
   The three year bands are the ones the board's own daily content uses.
   On a phone the choice of day sits above the screen and the timetable straight under it. */
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-areas: 'copy screen' 'copy about' 'whose whose' 'strip strip';
    column-gap: clamp(24px, 4cqw, 60px);
  }
  .copy {
    grid-area: copy;
    align-self: center;
    display: grid;
    gap: clamp(16px, 1.8cqw, 26px);
    padding: clamp(24px, 3.2cqw, 46px) 0 clamp(12px, 1.6cqw, 22px) var(--g);
  }
  .h1 {
    font-size: clamp(2.5rem, 5cqw, 4.6rem);
  }
  .show {
    grid-area: screen;
    padding: clamp(24px, 3.2cqw, 46px) var(--g) 0 0;
  }
  .about {
    grid-area: about;
    display: grid;
    align-content: start;
    gap: 10px;
    min-height: 6.6em;
    padding: 12px var(--g) clamp(10px, 1.4cqw, 20px) 0;
  }
  .whose {
    grid-area: whose;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    padding: 0 var(--g) 14px;
  }
  .whose-q {
    font-size: 1.1rem;
    font-weight: 800;
  }
  .whose-a {
    margin-left: auto;
    font-weight: 600;
    color: var(--ink-2);
  }
  .whose .seg button {
    min-height: 40px;
    white-space: nowrap;
  }
  .whose .seg button[aria-pressed='true'] {
    background: var(--pen);
  }
  .strip {
    grid-area: strip;
  }

  @container hx (max-width: 860px) {
    .hero {
      grid-template-columns: minmax(0, 1fr);
      grid-template-areas: 'copy' 'whose' 'screen' 'strip' 'about';
    }
    .copy {
      padding: 24px var(--g) 14px;
    }
    .h1 {
      font-size: clamp(2.3rem, 10.4cqw, 3.4rem);
    }
    .acts .btn {
      flex: 1 1 auto;
    }
    .whose {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      align-items: baseline;
      gap: 8px 10px;
      padding-bottom: 12px;
    }
    .whose .seg {
      grid-column: 1 / -1;
      grid-row: 2;
      flex-wrap: nowrap;
      gap: 6px;
      margin-inline: calc(var(--g) * -1);
      padding: 2px var(--g);
      border: 0;
      border-radius: 0;
      overflow-x: auto;
      scrollbar-width: none;
    }
    .whose .seg::-webkit-scrollbar {
      display: none;
    }
    .whose .seg button {
      flex: 0 0 auto;
      min-height: 44px;
      box-shadow: inset 0 0 0 1.5px var(--ink);
    }
    .whose .seg button[aria-pressed='true'] {
      box-shadow: none;
    }
    .whose-a {
      margin-left: 0;
      font-size: 0.9rem;
      text-align: right;
    }
    .show {
      padding: 0;
    }
    .screen {
      border-radius: 0;
      padding: 6px 0 12px;
    }
    .strip {
      border-top: 0;
    }
    .about {
      min-height: 8.2em;
      padding: 14px var(--g) 18px;
    }
  }
}

.c-week {
  /* 3C. The week. The timetable becomes the one teachers keep taped beside their desk: five days across, the
   sessions down, a colour per subject. Routines that repeat are one wide cell, because they are one board.
   Every cell is a real board. On a phone the whole week fits the screen with no sideways scrolling. */
  .hero {
    display: grid;
    gap: clamp(16px, 2cqw, 28px);
    padding: clamp(24px, 3.2cqw, 46px) var(--g) clamp(24px, 3cqw, 44px);
  }
  .head {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
    gap: clamp(20px, 4cqw, 60px);
  }
  .h1 {
    font-size: clamp(2.4rem, 4.2cqw, 3.9rem);
  }
  .side {
    display: grid;
    gap: 14px;
  }
  .body {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-areas: 'plan screen' 'plan about';
    align-items: start;
    column-gap: clamp(20px, 3cqw, 44px);
  }

  .plan-box {
    border: 1.5px solid var(--ink);
    border-radius: 12px;
    overflow: hidden;
    background: var(--wb);
  }
  .plan-h {
    padding: 8px 12px;
    border-bottom: 1.5px solid var(--ink);
    font-size: 0.9rem;
    font-weight: 800;
  }
  .plan {
    padding: 10px 10px 12px 8px;
    display: grid;
    grid-template-columns: auto repeat(5, minmax(0, 1fr));
    gap: 4px;
    font-variant-numeric: tabular-nums;
  }
  .dayname {
    padding-bottom: 2px;
    font-size: 0.85rem;
    font-weight: 800;
    text-align: center;
    color: var(--ink-2);
  }
  .time {
    align-self: center;
    padding-right: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
    color: var(--ink-3);
  }
  .band {
    grid-column: 1 / -1;
    display: grid;
    place-items: center;
    height: 18px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ink-3);
    background: repeating-linear-gradient(135deg, transparent 0 7px, var(--line) 7px 8.5px);
  }
  .cell {
    min-width: 0;
    min-height: 52px;
    padding: 4px 6px;
    border: 0;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.12;
    text-align: center;
    text-wrap: balance;
    color: var(--ink);
    cursor: pointer;
  }
  /* a colour per subject, from the board's own card colours */
  .k-routine {
    background: #e6eaed;
  }
  .k-english {
    background: var(--pen-soft);
  }
  .k-maths {
    background: var(--cream);
  }
  .k-science {
    background: var(--mint);
  }
  .k-hass {
    background: var(--peach);
  }
  .k-arts {
    background: #ece4fb;
  }
  .k-sport {
    background: #def0d5;
  }
  .k-quiet {
    background: #fff;
    box-shadow: inset 0 0 0 1.5px var(--line);
  }
  .cell:hover {
    box-shadow: inset 0 0 0 2px var(--ink);
  }
  .cell[aria-pressed='true'] {
    background: var(--pen);
    box-shadow: none;
    color: #fff;
  }
  .hx .cell:focus-visible {
    outline-offset: 2px;
  }

  .plan-box {
    grid-area: plan;
  }
  .show {
    grid-area: screen;
  }
  .about {
    grid-area: about;
    display: grid;
    align-content: start;
    gap: 8px;
    min-height: 7.6em;
    padding-top: 12px;
  }
  .when {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--pen);
  }

  /* narrower: the screen first, the week straight under it, then the line about the lesson */
  @container hx (max-width: 1040px) {
    .head {
      grid-template-columns: minmax(0, 1fr);
      gap: 14px;
    }
    .body {
      grid-template-columns: minmax(0, 1fr);
      grid-template-areas: 'screen' 'plan' 'about';
      row-gap: 14px;
    }
    .about {
      padding-top: 0;
    }
  }
  @container hx (max-width: 860px) {
    .hero {
      padding-top: 24px;
      gap: 18px;
    }
    .h1 {
      font-size: clamp(2.3rem, 10.4cqw, 3.4rem);
    }
    .acts .btn {
      flex: 1 1 auto;
    }
    .show {
      margin-inline: calc(var(--g) * -1);
    }
    .screen {
      border-radius: 0;
      padding: 6px 0 12px;
    }
    .about {
      min-height: 8.6em;
    }
    .plan {
      gap: 3px;
      padding: 8px 6px 8px 4px;
    }
    .cell {
      min-height: 48px;
      padding: 3px 2px;
      font-size: 0.72rem;
    }
    .time {
      padding-right: 3px;
      font-size: 0.7rem;
    }
    .dayname {
      font-size: 0.78rem;
    }
  }
}

@keyframes land {
  from {
    transform: translate(-50%, -50%) scale(1.22);
  }
}
@keyframes ring {
  from {
    box-shadow: 0 0 0 0 rgba(31, 63, 207, 0.75);
  }
  to {
    box-shadow: 0 0 0 5cqw rgba(31, 63, 207, 0);
  }
}
.c-try {
  /* 2. Have a go. The right-hand side is a block of blue pen holding a working copy of a real lesson: every card is
   cut from the real capture, and the timer digits, the picked name and the stack's front card are live on top.
   On a phone the cards come off the screen and stack in the blue block, each big enough to tap. */
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8.4fr);
    align-items: stretch;
  }
  .copy {
    display: grid;
    align-content: center;
    gap: clamp(16px, 1.8cqw, 26px);
    padding: clamp(28px, 4.4cqw, 64px) clamp(20px, 3cqw, 44px) clamp(28px, 4.4cqw, 64px) var(--g);
  }
  .h1 {
    font-size: clamp(2.4rem, 4.4cqw, 4.1rem);
  }
  .try {
    display: grid;
    align-content: center;
    gap: 14px;
    padding: clamp(24px, 3.2cqw, 46px) var(--g) clamp(20px, 2.4cqw, 34px) clamp(24px, 3.2cqw, 46px);
    background: var(--pen);
    color: #fff;
  }
  .screen {
    box-shadow: 0 26px 50px -22px rgba(8, 16, 60, 0.75);
  }
  .hint {
    max-width: 44em;
    font-size: 0.975rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
  }
  .hint b {
    color: #fff;
  }

  .board {
    position: relative;
    aspect-ratio: 16 / 9;
    container-type: inline-size;
    overflow: hidden;
    border-radius: 2px;
    background: #ebe2cf;
  }
  .board .bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .zone {
    position: absolute;
    left: calc(var(--x) * 1%);
    top: calc(var(--y) * 1%);
    width: calc(var(--w) * 1%);
    height: calc(var(--h) * 1%);
    container-type: inline-size;
    -webkit-user-select: none;
    user-select: none;
  }
  .zone > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    pointer-events: none;
  }
  .hit {
    position: absolute;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .hit.all {
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 6.5cqw;
  }
  .hx .hit:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -3px;
    box-shadow: inset 0 0 0 6px var(--pen);
  }

  /* the stack: three real pictures of the same card, one per tab */
  .tab {
    top: 0;
    height: 6.2%;
    border-radius: 1.2cqw 1.2cqw 0 0;
  }
  .t1 {
    left: 0;
    width: 24.4%;
  }
  .t2 {
    left: 24.6%;
    width: 33.4%;
  }
  .t3 {
    left: 58.2%;
    width: 33.6%;
  }
  .tab:hover {
    background: rgba(31, 63, 207, 0.1);
  }

  /* the timer: live digits and bar painted over the captured ones, in the card's own colour */
  .z-timer .patch {
    position: absolute;
    left: 6%;
    top: 31.5%;
    width: 88%;
    height: 37%;
    background: rgb(24, 34, 41);
  }
  .digits {
    position: absolute;
    left: 51.6%;
    top: 49.9%;
    transform: translate(-50%, -50%);
    font: 800 39cqw/1 var(--font);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.045em;
    color: #f1f5f7;
    white-space: nowrap;
    pointer-events: none;
  }
  .digits .colon {
    margin: 0;
  }
  .bar {
    position: absolute;
    left: 5.6%;
    right: 5.6%;
    top: 93.1%;
    height: 2.7%;
    border-radius: 99px;
    background: #484020;
    overflow: hidden;
    pointer-events: none;
  }
  .bar i {
    display: block;
    width: 64.2%;
    height: 100%;
    border-radius: 99px;
    background: #f2a900;
  }
  .z-timer.paused .digits {
    opacity: 0.5;
  }

  /* the name picker */
  .z-name .patch {
    position: absolute;
    left: 5%;
    top: 24%;
    width: 90%;
    height: 42%;
    background: rgb(221, 243, 241);
  }
  .who {
    position: absolute;
    left: 50.4%;
    top: 42.2%;
    transform: translate(-50%, -50%);
    font:
      800 calc(27.7cqw * var(--fit, 1)) / 1 'CB UI',
      var(--font);
    letter-spacing: -0.01em;
    color: #182229;
    white-space: nowrap;
    pointer-events: none;
  }
  .who.spin {
    opacity: 0.5;
    filter: blur(0.5px);
  }
  .who.land {
    animation: land 0.42s cubic-bezier(0.2, 1.6, 0.4, 1);
  }

  .undo {
    left: 53%;
    top: 80%;
    width: 20%;
    height: 20%;
    border-radius: 50%;
  }
  /* a ring round Pick a name asks for the first tap, three times, then stops */
  .ring {
    position: absolute;
    left: 2.8%;
    top: 83.4%;
    width: 49.8%;
    height: 14.2%;
    border-radius: 99px;
    pointer-events: none;
    animation: ring 1.7s ease-out 0.9s 3;
  }

  @container hx (max-width: 860px) {
    .hero {
      grid-template-columns: minmax(0, 1fr);
    }
    .copy {
      gap: 14px;
      padding: 26px var(--g) 22px;
    }
    .h1 {
      font-size: clamp(2.3rem, 10.4cqw, 3.4rem);
    }
    .acts .btn {
      flex: 1 1 auto;
    }
    .try {
      padding: 18px var(--g) 22px;
    }
    .screen {
      padding: 0;
      background: none;
      box-shadow: none;
    }
    .screen::after {
      display: none;
    }
    /* off the screen and into a column */
    .board {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
      gap: 10px;
      aspect-ratio: auto;
      overflow: visible;
      padding: 10px;
      border-radius: 16px;
    }
    .board .bg,
    .z-sc,
    .z-mode {
      display: none;
    }
    .zone {
      position: relative;
      left: auto;
      top: auto;
      width: auto;
      height: auto;
      aspect-ratio: var(--ar);
      border-radius: 3.4cqw;
      overflow: hidden;
    }
    .z-li,
    .z-stack {
      grid-column: 1 / -1;
    }
    .z-li {
      order: 1;
    }
    .z-timer {
      order: 2;
      align-self: start;
    }
    .z-name {
      order: 3;
    }
    .z-stack {
      order: 4;
    }
    .hint {
      order: -1;
    }
  }
}

.c-drawers {
  /* 5. Seven drawers. The app's own widget drawers as a row of tabs; under them the real widgets in that drawer,
   each on the board's grid paper with its own icon, name and line. Eight show on a wide screen, six on a phone. */
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    align-items: start;
    gap: clamp(24px, 4cqw, 60px);
    padding: clamp(28px, 4.4cqw, 64px) var(--g);
  }
  .copy {
    display: grid;
    gap: clamp(16px, 1.8cqw, 26px);
    padding-top: clamp(0px, 2cqw, 30px);
  }
  .h1 {
    font-size: clamp(2.4rem, 4.5cqw, 4.2rem);
  }
  .wall {
    display: grid;
    gap: 16px;
    min-width: 0;
  }
  .drawers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .drawer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0.35em 0.6em 0.35em 1em;
    border: 1.5px solid var(--ink);
    border-radius: 999px;
    background: none;
    font-weight: 700;
    cursor: pointer;
  }
  .drawer i {
    min-width: 1.9em;
    padding: 0.1em 0.5em;
    border-radius: 999px;
    background: var(--pen-soft);
    color: var(--pen-dark);
    font-style: normal;
    font-size: 0.85em;
    font-variant-numeric: tabular-nums;
    text-align: center;
  }
  .drawer:hover {
    background: var(--pen-soft);
  }
  .drawer[aria-pressed='true'] {
    background: var(--pen);
    border-color: var(--pen);
    color: #fff;
  }
  .drawer[aria-pressed='true'] i {
    background: #fff;
  }
  .tiles {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }
  .tile {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 10px;
    min-width: 0;
  }
  .well {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    padding: 10px;
    border-radius: 12px;
    background-color: var(--paper);
    background-image:
      linear-gradient(var(--grid) 1px, transparent 1px),
      linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: 14px 14px;
    overflow: hidden;
  }
  .well img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px -6px rgba(24, 34, 41, 0.4);
  }
  .well > svg {
    width: 34%;
    height: auto;
    color: var(--ink);
  }
  .label {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 2px 8px;
    align-items: center;
  }
  .label svg {
    width: 20px;
    height: 20px;
    color: var(--ink);
  }
  .label b {
    font-weight: 800;
    line-height: 1.2;
  }
  .label small {
    grid-column: 1 / -1;
    font-size: 0.875rem;
    line-height: 1.3;
    color: var(--ink-2);
  }
  .tiles:not(.all) .tile:nth-child(n + 9) {
    display: none;
  }
  .more {
    justify-self: start;
    min-height: 44px;
    padding: 0 0.2em;
    border: 0;
    background: none;
    font-weight: 700;
    color: var(--pen);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
    cursor: pointer;
  }
  .more .p {
    display: none;
  }
  .more[hidden],
  .more.none-wide {
    display: none;
  }

  @container hx (max-width: 860px) {
    .hero {
      grid-template-columns: minmax(0, 1fr);
      gap: 22px;
      padding-top: 26px;
    }
    .h1 {
      font-size: clamp(2.3rem, 10.4cqw, 3.4rem);
    }
    .acts .btn {
      flex: 1 1 auto;
    }
    .drawers {
      flex-wrap: nowrap;
      margin-inline: calc(var(--g) * -1);
      padding: 2px var(--g);
      overflow-x: auto;
      scrollbar-width: none;
    }
    .drawer {
      flex: 0 0 auto;
    }
    .tiles {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
    }
    .tiles:not(.all) .tile:nth-child(n + 7) {
      display: none;
    }
    .label small {
      font-size: 0.82rem;
    }
    .more.none-wide:not([hidden]) {
      display: block;
    }
    .more .w {
      display: none;
    }
    .more .p {
      display: inline;
    }
  }
}

/* Classroom Board, the launched site. Whiteboard white, black ink, blue pen; the board's own cream, mint and peach
   only where a card borrows the board's look. Sections that came from the hero lab keep their own styles (scoped
   by the build under .c-<name>); everything here is the page around them. Text is left aligned. */
:root {
  --wb: #fbfcfb;
  --ink: #182229;
  --ink-2: #44525b;
  --ink-3: #66747c;
  --line: #d6dde1;
  --pen: #1f3fcf;
  --pen-dark: #17309e;
  --pen-soft: #e9edfc;
  --paper: #f4f7f8;
  --grid: #dde4e8;
  --bezel: #15171a;
  --cream: #fff1c4;
  --mint: #dff2ee;
  --peach: #ffede2;
  --red: #c8322b;
  --font: 'Gabarito', 'Trebuchet MS', 'Segoe UI', system-ui, sans-serif;
  --gut: clamp(18px, 4vw, 56px);
  --maxw: 1328px;
  --head-h: 64px;
  color-scheme: light;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 14px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--wb);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
  padding: 0;
}
ul,
ol {
  list-style: none;
}
img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--pen);
  outline-offset: 3px;
  border-radius: 6px;
}
.wrap {
  max-width: calc(var(--maxw) + 2 * var(--gut));
  margin-inline: auto;
  padding-inline: var(--gut);
}
.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}
.skip:focus {
  top: 12px;
}
.btn-white {
  background: #fff;
  color: var(--pen-dark);
}
.btn-white:hover {
  background: var(--pen-soft);
}
.btn-clear {
  color: #fff;
  box-shadow: inset 0 0 0 1.5px #fff;
}
.btn-clear:hover {
  background: #fff;
  color: var(--pen-dark);
}
.plus-tag {
  display: inline-block;
  padding: 0.05em 0.6em;
  border-radius: 999px;
  background: var(--pen);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.5;
  vertical-align: middle;
}

/* ---------------------------------------------------------------- header */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--wb);
  border-bottom: 1.5px solid var(--ink);
}
.site-head-in {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 30px);
  height: var(--head-h);
  padding-inline: var(--gut);
}
.site-head .logo {
  min-height: 44px;
  align-items: center;
}
.site-head .logo svg {
  height: 23px;
}
.site-links {
  display: flex;
  gap: clamp(12px, 1.8vw, 26px);
}
.site-links a,
.site-signin {
  font-weight: 600;
  text-decoration: none;
}
.site-links a:hover,
.site-signin:hover,
.site-links a[aria-current='page'] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.site-acct {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 22px);
}
.site-cta {
  font-size: 0.9875rem;
}
.menu-btn {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  border: 0;
  background: none;
  cursor: pointer;
}
.menu-btn i,
.menu-btn i::before,
.menu-btn i::after {
  display: block;
  width: 22px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
}
.menu-btn i {
  position: relative;
}
.menu-btn i::before,
.menu-btn i::after {
  content: '';
  position: absolute;
  left: 0;
}
.menu-btn i::before {
  top: -7px;
}
.menu-btn i::after {
  top: 7px;
}
[hidden] {
  display: none !important;
}
.site-menu {
  display: grid;
  gap: 2px;
  padding: 8px var(--gut) 16px;
  border-top: 1.5px solid var(--line);
}
.site-menu a {
  display: flex;
  align-items: center;
  min-height: 48px;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
}
/* signed in: a way back to the board, and who is signed in */
.acct-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.acct-wrap {
  position: relative;
}
.acct-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 60;
  display: grid;
  gap: 2px;
  width: max-content;
  min-width: 230px;
  padding: 10px;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  background: var(--wb);
  box-shadow: 0 16px 34px -16px rgba(24, 34, 41, 0.5);
}
.acct-menu p {
  padding: 4px 10px 8px;
  font-size: 0.9rem;
  color: var(--ink-2);
  border-bottom: 1.5px solid var(--line);
  margin-bottom: 4px;
}
.acct-menu p b {
  display: block;
  font-size: 1rem;
  color: var(--ink);
}
.acct-menu a,
.acct-menu button {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: none;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.acct-menu a:hover,
.acct-menu button:hover {
  background: var(--pen-soft);
}

/* ---------------------------------------------------------------- bands */
.band {
  position: relative;
}
.band > .hx {
  background: transparent;
}
.band.how,
.band.room,
.band.plus,
.band.schools,
.band.said,
.band.pricing,
.band.faq,
.band.final {
  padding-block: clamp(52px, 7vw, 104px);
}
.band .sec-h {
  margin: 0;
  font-size: clamp(2rem, 3.7vw, 3.3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.04;
  text-wrap: balance;
}
.band .lede {
  max-width: 34em;
}
.c-whose,
.c-week {
  padding-top: clamp(24px, 3.4vw, 48px);
}
.c-whose,
.band.how,
.band.room,
.band.pricing {
  background: var(--paper);
}
.c-drawers,
.c-week {
  padding-block: clamp(28px, 4vw, 56px);
}
.c-drawers .acts {
  margin-top: 4px;
}

/* the three numbers under the hero */
.proof {
  border-block: 1.5px solid var(--ink);
  background: var(--wb);
}
.proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.proof-row li {
  display: grid;
  gap: 2px;
  padding: 18px clamp(12px, 2vw, 28px);
  border-left: 1.5px solid var(--ink);
}
.proof-row li:first-child {
  border-left: 0;
  padding-left: 0;
}
.proof-row b {
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.proof-row span {
  color: var(--ink-2);
}

/* drawers: tiles are links to each widget's own page */
.c-drawers .tile {
  text-decoration: none;
  color: inherit;
}
.c-drawers a.tile:hover .well {
  box-shadow: inset 0 0 0 2px var(--ink);
}
.c-drawers .label .plus-tag {
  margin-left: 6px;
}

/* how a board gets made */
.how-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
}
.how-copy {
  display: grid;
  gap: clamp(18px, 2.2vw, 30px);
}
.steps {
  display: grid;
  gap: 18px;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding-left: 58px;
  color: var(--ink-2);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--wb);
  color: var(--ink);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.steps b {
  display: block;
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1.3;
}
.how-film {
  display: grid;
  gap: 10px;
}
.how-film video {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0d0f12;
}
.how-film figcaption,
.room-note {
  font-size: 0.95rem;
  color: var(--ink-2);
}
.film-btn {
  position: absolute;
  inset: 7px 7px 15px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.film-btn span {
  display: grid;
  place-items: center;
  width: clamp(56px, 6vw, 80px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--pen);
  box-shadow: 0 8px 24px -8px rgba(8, 16, 60, 0.7);
  transition: opacity 0.2s;
}
.film-btn span::before {
  content: '';
  margin-left: 12%;
  border-style: solid;
  border-width: 0.75em 0 0.75em 1.2em;
  border-color: transparent transparent transparent #fff;
}
.playing .film-btn span {
  opacity: 0;
}
.playing .film-btn:hover span,
.playing .film-btn:focus-visible span {
  opacity: 0.9;
}
.playing .film-btn span::before {
  margin-left: 0;
  width: 0.34em;
  height: 1.4em;
  border-width: 0 0.36em;
  border-color: transparent #fff;
}

/* in the room */
.room-head {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(22px, 3vw, 40px);
}
.room-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 20px);
}
.rm {
  display: grid;
  gap: 10px;
  align-content: start;
}
.rm-pic {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: var(--line);
}
.rm-pic img,
.rm-pic video {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.rm figcaption {
  display: grid;
  font-size: 0.92rem;
  line-height: 1.3;
  color: var(--ink-2);
}
.rm b {
  font-size: 1rem;
  color: var(--ink);
}
.rm:nth-child(even) {
  padding-top: clamp(14px, 2.2vw, 34px);
}
.room-note {
  margin-top: 18px;
}

/* Plus */
.plus-head {
  display: grid;
  gap: 12px;
  margin-bottom: clamp(22px, 3vw, 40px);
}
.plus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
}
.pcard {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(16px, 2vw, 26px);
  border-radius: 18px;
  background: var(--cream);
}
.pcard:nth-child(2) {
  background: var(--mint);
}
.pcard:nth-child(3) {
  background: var(--peach);
}
.pcard-wide {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(18px, 3vw, 44px);
}
.pcard-copy {
  display: grid;
  gap: 14px;
  justify-items: start;
}
.pcard h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.pcard p {
  color: var(--ink-2);
}
.pcard .seg {
  background: var(--wb);
}
.c-clock .hero-note {
  font-size: 0.95rem;
  color: var(--ink-2);
  max-width: 34ch;
}

/* for schools */
.band.schools {
  background: var(--pen-soft);
}
.schools-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 60px);
  align-items: start;
}
.schools-grid > div:first-child {
  display: grid;
  gap: clamp(16px, 1.8vw, 24px);
}
.straight {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(18px, 2.4vw, 36px);
}
.straight > div {
  padding: 14px 0;
  border-top: 1.5px solid var(--ink);
}
.straight dt {
  font-weight: 800;
}
.straight dd {
  color: var(--ink-2);
}

/* what teachers say */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
  margin-top: clamp(22px, 3vw, 40px);
}
.quote {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 18px;
  padding: clamp(18px, 2vw, 26px);
  border: 1.5px solid var(--ink);
  border-radius: 16px;
  background: var(--wb);
}
.quote blockquote {
  margin: 0;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  font-weight: 500;
  line-height: 1.35;
  text-wrap: pretty;
}
.quote footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 2px 12px;
  font-size: 0.92rem;
  color: var(--ink-2);
}
.quote .av {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--pen-soft);
  color: var(--pen-dark);
  font-weight: 800;
}
.quote footer b {
  color: var(--ink);
  font-size: 1rem;
}

/* pricing */
.pricing-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px 30px;
  margin-bottom: clamp(22px, 3vw, 40px);
}
.pricing-head .sec-h {
  max-width: 17em;
}
.pricing-head .seg {
  background: var(--wb);
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
  align-items: stretch;
}
.plan-card {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: clamp(18px, 2.2vw, 30px);
  border: 1.5px solid var(--ink);
  border-radius: 18px;
  background: var(--wb);
}
.plan-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
}
.price {
  color: var(--ink-2);
  font-weight: 600;
}
.price b {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.price-note {
  min-height: 3em;
  color: var(--ink-2);
}
.plan-card .btn {
  justify-self: start;
  margin-block: 4px 8px;
}
.ticks {
  display: grid;
  gap: 8px;
}
.ticks li {
  position: relative;
  padding-left: 26px;
  line-height: 1.35;
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.22em;
  width: 0.42em;
  height: 0.82em;
  border: solid var(--pen);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(40deg);
}
.plan-plus {
  border-color: var(--pen);
  background: var(--pen);
  color: #fff;
}
.plan-plus .price,
.plan-plus .price-note {
  color: rgba(255, 255, 255, 0.88);
}
.plan-plus .price b {
  color: #fff;
}
.plan-plus .ticks li::before {
  border-color: #fff;
}
.pricing-foot {
  margin-top: 18px;
  color: var(--ink-2);
}

/* questions */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(24px, 4vw, 60px);
  align-items: start;
}
.faq-grid > div:first-child {
  display: grid;
  gap: 14px;
  position: sticky;
  top: calc(var(--head-h) + 24px);
}
.faq-list details {
  border-top: 1.5px solid var(--ink);
}
.faq-list details:last-child {
  border-bottom: 1.5px solid var(--ink);
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 12px 0;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: '';
  flex: none;
  width: 12px;
  height: 12px;
  margin-right: 6px;
  border: solid var(--ink);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 0.2s;
}
.faq-list details[open] summary::after {
  transform: rotate(-135deg) translate(-3px, -3px);
}
.faq-list details p {
  max-width: 46em;
  padding: 0 0 18px;
  color: var(--ink-2);
}

/* the close: blue, with the clock on the visitor's own time */
.band.final {
  background: var(--pen);
  color: #fff;
}
.final-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 80px);
}
.final-clock svg {
  display: block;
  width: clamp(150px, 20vw, 290px);
  height: auto;
  filter: drop-shadow(0 18px 24px rgba(8, 16, 60, 0.45));
}
.final-clock .hand {
  transform-origin: 100px 100px;
}
.final-copy {
  display: grid;
  gap: clamp(14px, 1.8vw, 24px);
}
.band.final .sec-h {
  font-size: clamp(2.2rem, 4.6vw, 4.2rem);
}
.band.final .lede,
.final-note {
  color: rgba(255, 255, 255, 0.9);
}
.final-note {
  font-size: 0.95rem;
}
.band.final :focus-visible {
  outline-color: #fff;
}

/* ---------------------------------------------------------------- footer */
.site-foot {
  border-top: 1.5px solid var(--ink);
  padding-block: clamp(36px, 5vw, 64px) 28px;
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) repeat(4, minmax(0, 2fr));
  gap: 28px clamp(18px, 3vw, 44px);
}
.foot-brand {
  display: grid;
  gap: 12px;
  align-content: start;
  max-width: 24em;
  color: var(--ink-2);
}
.foot-brand .logo svg {
  height: 24px;
}
.foot-col h2 {
  margin-bottom: 8px;
  font-size: 1rem;
  font-weight: 800;
}
.foot-col a {
  display: block;
  padding: 5px 0;
  color: var(--ink-2);
  text-decoration: none;
}
.foot-col a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.foot-base {
  display: grid;
  gap: 10px;
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: 20px;
  border-top: 1.5px solid var(--line);
  font-size: 0.9rem;
  color: var(--ink-3);
}
.foot-base p {
  max-width: 70em;
}

/* ---------------------------------------------------------------- narrower */
@media (max-width: 1040px) {
  .site-links {
    display: none;
  }
  .menu-btn {
    display: grid;
  }
  .site-head-in .logo {
    margin-right: auto;
  }
  .how-grid,
  .schools-grid,
  .faq-grid,
  .pcard-wide {
    grid-template-columns: minmax(0, 1fr);
  }
  .faq-grid > div:first-child {
    position: static;
  }
  .plans,
  .quotes {
    grid-template-columns: minmax(0, 1fr);
  }
  .quotes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .foot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .foot-brand {
    grid-column: 1 / -1;
  }
  .price-note {
    min-height: 0;
  }
}
@media (min-width: 1040.02px) {
  .site-menu {
    display: none !important;
  }
}
@media (max-width: 860px) {
  :root {
    --head-h: 56px;
  }
  .site-head .logo svg {
    height: 20px;
  }
  .site-signin {
    display: none;
  }
  .site-cta {
    min-height: 40px;
    padding: 0.5em 1em;
    font-size: 0.9rem;
  }
  .band .sec-h {
    font-size: clamp(1.9rem, 8.4vw, 2.7rem);
  }
  .band.final .sec-h {
    font-size: clamp(2.1rem, 9.4vw, 3rem);
  }
  .proof-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .proof-row li,
  .proof-row li:first-child {
    grid-template-columns: minmax(5.6em, auto) minmax(0, 1fr);
    align-items: baseline;
    gap: 12px;
    padding: 12px 0;
    border-left: 0;
    border-top: 1.5px solid var(--line);
  }
  .proof-row li:first-child {
    border-top: 0;
  }
  .room-grid {
    display: flex;
    gap: 12px;
    margin-inline: calc(var(--gut) * -1);
    padding-inline: var(--gut);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .rm {
    flex: 0 0 66vw;
    scroll-snap-align: center;
  }
  .rm:nth-child(even) {
    padding-top: 0;
  }
  .plus-grid,
  .straight,
  .quotes {
    grid-template-columns: minmax(0, 1fr);
  }
  .final-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .final-clock svg {
    width: 132px;
  }
  .acts .btn {
    flex: 1 1 auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
@media (max-width: 480px) {
  .pcard .seg {
    flex-wrap: nowrap;
  }
  .pcard .seg button {
    padding-inline: 11px;
    font-size: 0.88rem;
    white-space: nowrap;
  }
}
@media (max-width: 860px) {
  /* the live board is small on a phone: give its tabs and the undo button a finger-sized area */
  .c-try .tab {
    top: calc(0% - 10px);
    height: calc(6.2% + 22px);
  }
  .c-try .undo {
    width: 44px;
    height: 44px;
    left: calc(53% - 6px);
    top: calc(80% - 8px);
  }
  .seg button {
    min-height: 44px;
  }
  .site-foot .logo {
    min-height: 44px;
    align-items: center;
  }
  .foot-col a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
}
.cta-short {
  display: none;
}
@media (max-width: 480px) {
  .cta-long {
    display: none;
  }
  .cta-short {
    display: inline;
  }
}

/* ================================================================ after the reviews */
/* the hero-lab sections line up with the rest of the page on a very wide screen (the blue slab stays full-bleed) */
.band:not(.c-try) > .hx > .hero {
  max-width: calc(var(--maxw) + 2 * var(--g));
  margin-inline: auto;
}
/* the clock is the idea, so it is bigger, and the day's play button sits under it */
@container hx (min-width: 860.02px) {
  .c-clock .wall {
    grid-template-columns: clamp(200px, 17cqw, 250px) minmax(0, 1fr);
  }
  .c-clock .clock svg {
    width: min(100%, 224px);
  }
  .c-clock .play-day {
    justify-self: center;
    min-height: 40px;
    padding: 0.3em 1.1em;
    font-size: 0.95rem;
  }
}
@container hx (max-width: 860px) {
  /* phone: headline, then the screen and its bells, then the button, then the words */
  .c-clock .copy {
    display: contents;
  }
  .c-clock .h1 {
    order: 1;
  }
  .c-clock .wall {
    order: 2;
  }
  .c-clock .acts {
    order: 3;
  }
  .c-clock .lede {
    order: 4;
  }
  .c-clock .hero-note {
    order: 5;
  }
  .c-clock .play-day {
    display: none;
  }
  .c-clock .about {
    min-height: 6.4em;
  }
  .c-whose .whose .seg {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    border-radius: 18px;
  }
  .c-whose .whose .seg button {
    min-height: 48px;
    border-radius: 14px;
  }
}
/* the live board: the ring waits until the board is on screen; the cards that answer a tap say so on hover */
.c-try .ring {
  animation: none;
}
.c-try .ring.go {
  animation: ring 1.7s ease-out 0.4s 3;
}
.c-try .zone:has(> .hit.all:hover) {
  outline: 0.45cqw solid var(--pen);
  outline-offset: 0.35cqw;
  border-radius: 2cqw;
}
/* the film ends on a button */
.film-end {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  background: rgba(251, 252, 251, 0.9);
  border-radius: inherit;
}
.film-end:not([hidden]) ~ .film-btn {
  display: none;
}
@media (min-width: 1040px) {
  .how-film {
    order: -1;
  }
}
/* what teachers say: one line given room, three kept short, no boxes */
.said-main {
  margin: 0;
  max-width: 30ch;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
}
.said-main blockquote {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.said-main figcaption,
.said-lines p {
  margin-top: 0.9em;
  font-size: 0.98rem;
  color: var(--ink-2);
}
.said-main figcaption b,
.said-lines b {
  color: var(--ink);
}
.said-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
  margin-top: clamp(22px, 3vw, 40px);
}
.said-lines {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.said-lines li {
  padding: 18px 0;
  border-top: 1.5px solid var(--line);
}
.said-lines li:last-child {
  border-bottom: 1.5px solid var(--line);
}
.said-lines blockquote {
  margin: 0;
  font-size: 1.14rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}
.said-lines p {
  margin-top: 0.4em;
}
.said .acts {
  margin-top: clamp(22px, 3vw, 36px);
}
/* Plus: colour for the daily starter only; the two smaller cards are plain */
.pcard:nth-child(2),
.pcard:nth-child(3) {
  background: var(--wb);
  border: 1.5px solid var(--line);
}
.plus-acts {
  margin-top: clamp(18px, 2.4vw, 30px);
}
.band.final .sec-h {
  font-size: clamp(2rem, 3.8vw, 3.25rem);
}
/* widget pages: the picture stays beside you as you read */
@media (min-width: 1040px) {
  .wpage > .wwell {
    position: sticky;
    top: calc(var(--head-h, 64px) + 20px);
    align-self: start;
  }
}
.wmeta span + span {
  padding-left: 0.9em;
  border-left: 1.5px solid var(--line);
}
.nf-eyes {
  display: block;
  width: 120px;
  margin-bottom: 18px;
  color: var(--pen);
  --pupil: #fff;
}
.site-menu .menu-out {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 1.15rem;
  font-weight: 700;
  color: inherit;
  cursor: pointer;
}
@media (max-width: 860px) {
  .said-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .site-head-in {
    gap: 10px;
  }
}
@media (max-width: 480px) {
  /* signed in on a phone: logo, My board, menu. The account's own items are in the menu. */
  .acct-wrap {
    display: none;
  }
}
/* the six voice-level buttons drawn on the card, made real */
.c-try .modes {
  position: absolute;
  left: 3%;
  top: 59%;
  width: 94%;
  height: 39%;
  display: grid;
  grid-template: 1fr 1fr / 1fr 1fr 1fr;
  gap: 2.5% 2%;
}
.c-try .mhit {
  border: 0;
  border-radius: 6cqw;
  background: none;
  cursor: pointer;
}
.c-try .mhit:hover {
  box-shadow: inset 0 0 0 0.6cqw var(--pen);
}
.c-try .mhit:focus-visible {
  outline: 3px solid var(--pen);
  outline-offset: 1px;
}
.card .seg {
  justify-self: start;
  width: max-content;
  max-width: 100%;
}

/* Inner pages: sign-in and account pages, the first-run steps, policy pages, widget pages, help and schools. */

/* ---------------------------------------------------------------- page heads */
.page-head {
  padding-block: clamp(32px, 5vw, 68px) clamp(20px, 3vw, 36px);
  border-bottom: 1.5px solid var(--line);
}
.page-head h1 {
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  text-wrap: balance;
}
.page-head .lede {
  margin-top: 14px;
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-bottom: 14px;
  font-size: 0.92rem;
  color: var(--ink-3);
}
.crumbs a {
  color: var(--ink-2);
}
.crumbs li + li::before {
  content: '/';
  margin-right: 10px;
  color: var(--line);
}

/* ---------------------------------------------------------------- forms */
.field {
  display: grid;
  gap: 6px;
}
.field label,
.field .label {
  font-weight: 700;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.field textarea {
  min-height: 120px;
  resize: vertical;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline-offset: 1px;
}
.field .hint {
  font-size: 0.9rem;
  color: var(--ink-2);
}
.field .err {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--red);
}
.field[data-bad] input,
.field[data-bad] select,
.field[data-bad] textarea {
  border-color: var(--red);
}
.btn-block {
  width: 100%;
}
.btn[disabled] {
  opacity: 0.55;
  cursor: default;
}
.or {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  color: var(--ink-3);
  font-size: 0.95rem;
}
.or::before,
.or::after {
  content: '';
  height: 1.5px;
  background: var(--line);
}
.btn-google {
  gap: 12px;
  width: 100%;
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn-google:hover {
  background: var(--paper);
}
.btn-google svg {
  width: 20px;
  height: 20px;
}
.note {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--cream);
  font-size: 0.95rem;
}
.note b {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}
.done {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--mint);
  font-weight: 600;
}

/* ---------------------------------------------------------------- sign in, start free */
.auth {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: calc(100vh - var(--head-h));
}
.auth-form {
  display: grid;
  align-content: center;
  justify-items: center;
  padding: clamp(28px, 5vw, 72px) var(--gut);
}
.auth-box {
  display: grid;
  gap: 18px;
  width: min(100%, 430px);
}
.auth-box :is(h1, .step-h) {
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
}
.auth-box .sub {
  color: var(--ink-2);
}
.auth-box form {
  display: grid;
  gap: 14px;
}
.auth-small {
  font-size: 0.9rem;
  color: var(--ink-2);
}
.auth-small a,
.auth-box .sub a {
  font-weight: 600;
}
.linkish {
  padding: 0;
  border: 0;
  background: none;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}
.code {
  font-size: 1.7rem !important;
  font-weight: 800;
  letter-spacing: 0.4em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.auth-side {
  display: grid;
  align-content: center;
  gap: clamp(18px, 2.4vw, 30px);
  padding: clamp(28px, 5vw, 72px) var(--gut);
  background: var(--pen);
  color: #fff;
}
.auth-side .eyes svg {
  width: clamp(110px, 13vw, 180px);
  height: auto;
}
.auth-side blockquote {
  margin: 0;
  max-width: 17em;
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.18;
  text-wrap: balance;
}
.auth-side p {
  color: rgba(255, 255, 255, 0.88);
}
dialog.gsheet {
  width: min(92vw, 430px);
  padding: 22px;
  border: 1.5px solid var(--ink);
  border-radius: 16px;
  background: var(--wb);
  color: var(--ink);
}
dialog.gsheet::backdrop {
  background: rgba(24, 34, 41, 0.55);
}
dialog.gsheet form {
  display: grid;
  gap: 14px;
}
dialog.gsheet h2 {
  font-size: 1.5rem;
  font-weight: 800;
}

/* ---------------------------------------------------------------- first run */
.onb {
  padding-block: clamp(28px, 5vw, 64px);
}
.onb-in {
  display: grid;
  gap: clamp(18px, 2.4vw, 30px);
  width: min(100%, 940px);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.onb-steps {
  display: flex;
  gap: 6px;
}
.onb-steps i {
  flex: 1 1 0;
  height: 6px;
  border-radius: 99px;
  background: var(--line);
}
.onb-steps i.on {
  background: var(--pen);
}
.onb :is(h1, .step-h) {
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
}
.choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.choice {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  background: var(--wb);
  text-align: left;
  cursor: pointer;
}
.choice b {
  font-size: 1.25rem;
}
.choice span {
  color: var(--ink-2);
}
.choice:hover {
  background: var(--pen-soft);
}
.choice[aria-pressed='true'] {
  border-color: var(--pen);
  background: var(--pen);
  color: #fff;
}
.choice[aria-pressed='true'] span {
  color: rgba(255, 255, 255, 0.88);
}
.starts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.startb {
  display: grid;
  gap: 8px;
  padding: 10px 10px 14px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--wb);
  text-align: left;
  cursor: pointer;
}
.startb img {
  width: 100%;
  border-radius: 8px;
}
.startb b {
  padding-inline: 4px;
}
.startb[aria-pressed='true'] {
  border-color: var(--pen);
  box-shadow: 0 0 0 3px var(--pen);
}
.onb-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ---------------------------------------------------------------- the board (preview of the app) */
.appbar {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 8px var(--gut);
  border-bottom: 1.5px solid var(--ink);
}
.appbar .mark svg {
  height: 22px;
  width: auto;
}
.appbar .cls {
  white-space: nowrap;
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  padding: 0.25em 0.9em;
  border-radius: 999px;
  background: var(--pen);
  color: #fff;
  font-weight: 800;
}
.appbar .sp {
  margin-left: auto;
}
.appwrap {
  display: grid;
  gap: 16px;
  padding: clamp(14px, 2.4vw, 32px) var(--gut) 40px;
  background: var(--paper);
  min-height: calc(100vh - 57px);
  align-content: start;
}
.appwrap .screen {
  width: min(100%, 1280px, calc((100vh - 250px) * 16 / 9));
  min-width: min(100%, 320px);
  margin-inline: auto;
}
.appnote {
  width: min(100%, 1280px);
  margin-inline: auto;
  color: var(--ink-2);
}

/* ---------------------------------------------------------------- policy pages */
.doc {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  padding-block: clamp(28px, 4vw, 56px) clamp(48px, 6vw, 96px);
}
.doc-nav {
  position: sticky;
  top: calc(var(--head-h) + 20px);
  align-self: start;
  display: grid;
  gap: 2px;
}
.doc-nav h2 {
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--ink-3);
}
.doc-nav a {
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--ink-2);
  text-decoration: none;
}
.doc-nav a:hover {
  background: var(--paper);
}
.doc-nav a[aria-current='page'] {
  background: var(--pen-soft);
  color: var(--pen-dark);
  font-weight: 700;
}
.prose {
  max-width: 46em;
  font-size: 1.09rem;
  line-height: 1.6;
}
.prose h1 {
  margin-bottom: 8px;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
  text-wrap: balance;
}
.prose h2 {
  margin: 1.9em 0 0.5em;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.15;
  scroll-margin-top: calc(var(--head-h) + 20px);
}
.prose h3 {
  margin: 1.5em 0 0.4em;
  font-size: 1.2rem;
  font-weight: 800;
}
.prose p,
.prose ul,
.prose ol,
.prose table {
  margin-bottom: 1em;
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
}
.prose ul {
  list-style: disc;
}
.prose ol {
  list-style: decimal;
}
.prose li {
  margin-bottom: 0.35em;
}
.prose a {
  color: var(--pen-dark);
  font-weight: 600;
}
.prose .updated {
  color: var(--ink-3);
  font-size: 0.95rem;
}
.prose .inshort {
  margin: 1.2em 0 1.6em;
  padding: 18px 22px 8px;
  border-radius: 16px;
  background: var(--cream);
}
.prose .inshort h2 {
  margin-top: 0;
  font-size: 1.2rem;
}
.prose table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 0.98rem;
}
.prose th,
.prose td {
  padding: 10px 12px;
  border: 1.5px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.prose th {
  background: var(--paper);
  font-weight: 800;
}

/* ---------------------------------------------------------------- widgets */
.wcat {
  padding-block: clamp(22px, 3vw, 40px);
  border-top: 1.5px solid var(--line);
}
.wcat h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 1.6rem;
  font-weight: 800;
}
.wcat h2 span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-3);
}
.wgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.wtile {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}
.wwell {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  padding: 10px;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 14px 14px;
}
.wwell img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px -6px rgba(24, 34, 41, 0.4);
}
.wwell > svg {
  width: 34%;
  height: auto;
}
.wtile:hover .wwell {
  box-shadow: inset 0 0 0 2px var(--ink);
}
.wlabel {
  display: grid;
  gap: 2px;
}
.wlabel b {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.2;
}
.wlabel b svg {
  flex: none;
  width: 20px;
  height: 20px;
}
.wlabel small {
  font-size: 0.875rem;
  line-height: 1.3;
  color: var(--ink-2);
}
.wpage {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(24px, 4vw, 60px);
  align-items: start;
  padding-block: clamp(24px, 4vw, 52px) clamp(40px, 6vw, 88px);
}
.wpage .wwell {
  aspect-ratio: auto;
  padding: clamp(16px, 3vw, 40px);
  border-radius: 18px;
  position: sticky;
  top: calc(var(--head-h) + 20px);
}
.wpage .wwell img {
  border-radius: 12px;
}
.wbody {
  display: grid;
  gap: clamp(18px, 2.2vw, 28px);
}
.wbody .what {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.4;
}
.saycard {
  padding: 26px 22px 20px;
  border-radius: 18px;
  background: var(--cream);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 700;
  line-height: 1.25;
  text-wrap: balance;
  position: relative;
}
.saycard::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  width: 54px;
  height: 6px;
  margin-left: -27px;
  border-radius: 99px;
  background: var(--ink);
}
.saycard small {
  display: block;
  margin-top: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-2);
}
.wbody h2 {
  font-size: 1.3rem;
  font-weight: 800;
}
.uses {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}
.uses li {
  padding: 12px 0 0;
  border-top: 1.5px solid var(--line);
}
.pairs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.pairs a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0.2em 1em 0.2em 0.7em;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}
.pairs a:hover {
  background: var(--pen-soft);
}
.pairs svg {
  width: 20px;
  height: 20px;
}
.wmeta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--ink-2);
  font-weight: 600;
}

/* ---------------------------------------------------------------- help, schools quote */
.two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 60px);
  padding-block: clamp(28px, 4vw, 56px) clamp(48px, 6vw, 96px);
  align-items: start;
}
.card {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 2.4vw, 30px);
  border: 1.5px solid var(--ink);
  border-radius: 18px;
  background: var(--wb);
}
.card h2 {
  font-size: 1.5rem;
  font-weight: 800;
}
.card form {
  display: grid;
  gap: 14px;
}
.contacts {
  display: grid;
  gap: 0;
}
.contacts li {
  display: grid;
  gap: 2px;
  padding: 14px 0;
  border-top: 1.5px solid var(--line);
}
.contacts b {
  font-size: 1.1rem;
}
.contacts span {
  color: var(--ink-2);
}
.quote-sum {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--pen-soft);
  font-weight: 700;
}
.quote-sum b {
  font-size: 1.5rem;
  font-variant-numeric: tabular-nums;
}
.nf {
  display: grid;
  gap: 18px;
  justify-items: start;
  padding-block: clamp(48px, 9vw, 130px);
}
.nf h1 {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

@media (max-width: 1040px) {
  .auth {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
  .auth-side {
    display: none;
  }
  .doc {
    grid-template-columns: minmax(0, 1fr);
  }
  .doc-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    order: 2;
    padding-top: 20px;
    border-top: 1.5px solid var(--line);
  }
  .doc-nav h2 {
    grid-column: 1 / -1;
  }
  .wgrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .wpage,
  .two {
    grid-template-columns: minmax(0, 1fr);
  }
  .wpage .wwell {
    position: static;
  }
}
@media (max-width: 640px) {
  .wgrid,
  .choices,
  .starts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .choices {
    grid-template-columns: minmax(0, 1fr);
  }
  .doc-nav {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 700px) {
  .prose table,
  .prose tbody,
  .prose tr,
  .prose td {
    display: block;
    width: auto;
  }
  .prose table {
    border: 0;
    overflow: visible;
  }
  .prose thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .prose tr {
    border: 1.5px solid var(--line);
    border-radius: 12px;
    padding: 6px 14px;
    margin-bottom: 12px;
    background: var(--wb);
  }
  .prose td {
    border: 0;
    padding: 8px 0;
  }
  .prose td + td {
    border-top: 1px solid var(--line);
  }
  .prose td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--ink-2);
  }
}
.printrow {
  margin: 0.6em 0 0;
}
@media print {
  .site-head,
  .site-foot,
  .doc-nav,
  .skip,
  .printrow,
  #quote {
    display: none !important;
  }
  .doc {
    display: block;
  }
  body {
    background: #fff;
  }
  .prose {
    max-width: none;
    font-size: 10.5pt;
  }
  .prose h2 {
    break-after: avoid;
  }
  .prose tr,
  .prose .inshort {
    break-inside: avoid;
  }
}
.aka {
  font-size: 0.92rem;
  color: var(--ink-2);
}
.wbody .faq-list summary {
  font-size: 1.02rem;
}
.wcat h2 .wmore {
  margin-left: auto;
  font-size: 0.95rem;
  font-weight: 700;
}
.buy-steps {
  display: grid;
  gap: 8px;
  margin: 4px 0 18px;
  padding-left: 1.3em;
}
.buy-steps b {
  color: var(--ink);
}
.auth-small {
  font-size: 0.86rem;
  color: var(--ink-2);
}

/* ---------------------------------------------------------------- moved into the board (lane O, 16 Nov 2026) */
/* the board's own logo (Tile B, R622) in place of the drawn wordmark */
.logo img {
  display: block;
  width: auto;
  height: 34px;
}
.foot-brand .logo img {
  height: 40px;
}
@media (max-width: 860px) {
  .site-head .logo img {
    height: 30px;
  }
}
.foot-grid {
  grid-template-columns: minmax(0, 4fr) repeat(2, minmax(0, 2fr));
}
/* a small word above a card's heading: New, Coming */
.soon-tag {
  display: inline-block;
  padding: 0.05em 0.6em;
  border-radius: 999px;
  background: var(--pen);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.5;
}
.pcard.pcard-arcade {
  background: var(--mint);
}
.arcade-games {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}
.arcade-games li {
  padding: 10px 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 800;
}
.daisy-pic figcaption {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--ink-2);
}
/* the early-access form: lane H's fields on the blue close */
.tell-grid {
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: start;
}
.band.final .notice {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
}
.band.final .notice h3 {
  font-size: 1rem;
  font-weight: 800;
}
.band.final .notice p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}
.band.final .final-note a {
  color: #fff;
}
.ea-card {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 2.4vw, 30px);
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
}
.band.final .ea-card :focus-visible {
  outline-color: var(--pen);
}
.ea-card .opt {
  font-weight: 400;
  color: var(--ink-2);
}
.ea-card .pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.ea-card .tick {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
}
.ea-card .tick input {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  accent-color: var(--pen);
}
.ea-card button[type='submit'] {
  justify-self: start;
}
#early-access-status:empty {
  display: none;
}
#early-access-status {
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
}
#early-access-status[data-kind='ok'] {
  background: var(--mint);
}
#early-access-status[data-kind='busy'] {
  background: var(--paper);
}
#early-access-status[data-kind='problem'] {
  background: #fde8e6;
  color: var(--red);
}
@media (max-width: 860px) {
  .tell-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 520px) {
  .ea-card .pair {
    grid-template-columns: minmax(0, 1fr);
  }
  .ea-card button[type='submit'] {
    justify-self: stretch;
  }
}
