/* Term Talk At Home: shared styles. The base tokens and components mirror
   Term Talk Classroom (site/assets/site.css in that repo) so the two sites
   look like one family. The font is self-hosted. No red anywhere. */

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url('/assets/fonts/dm-sans-latin-wght-normal.woff2') format('woff2');
}

:root {
  --color-blue: #2E6DB4;
  --color-blue-dark: #1E4F8A;
  --color-teal: #4ECDC4;
  --color-teal-faint: #EBF9F8;
  --color-ink: #1A1A2E;
  --color-ink-muted: #5A5A72;
  --color-surface: #FFFFFF;
  --color-bg: #F7F9FC;
  --color-border: #E2E8F0;
  --font-sans: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-sm: 6px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 4px rgba(46,109,180,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 18px rgba(46,109,180,0.11), 0 2px 6px rgba(0,0,0,0.05);
  --container-max: 1100px;
  --container-prose: 700px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-ink);
  background: var(--color-bg);
}

a { color: var(--color-blue); }
a:hover { color: var(--color-blue-dark); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--color-teal); outline-offset: 2px; }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 1.5rem; }
.prose { max-width: var(--container-prose); }

.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 1rem; flex-wrap: wrap;
}
.wordmark {
  font-weight: 700; font-size: 1.25rem; color: var(--color-ink); text-decoration: none;
  display: inline-flex; align-items: center; white-space: pre;
}
.wordmark img { width: 40px; height: 40px; border-radius: 10px; display: block; margin-right: 0.6rem; }
.wordmark span { color: var(--color-blue); }
.site-nav { display: flex; gap: 1.25rem; font-size: 0.95rem; font-weight: 500; }
.site-nav a { text-decoration: none; color: var(--color-ink-muted); }
.site-nav a[aria-current="page"] { color: var(--color-blue); font-weight: 700; }

.page-header {
  background: linear-gradient(135deg, var(--color-bg) 55%, var(--color-teal-faint) 100%);
  padding: 4rem 0 3rem;
}
.eyebrow {
  display: block; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--color-blue); margin-bottom: 0.75rem;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; margin: 0 0 1rem; }
h2 { font-size: 1.5rem; line-height: 1.35; margin: 2.5rem 0 0.75rem; }
h3 { font-size: 1.2rem; line-height: 1.35; margin: 0 0 0.5rem; }
.lead { font-size: 1.2rem; color: var(--color-ink-muted); margin: 0; }

main { padding-bottom: 4rem; }
section.block { padding: 2.5rem 0 0; }

.cards { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); margin-top: 1.5rem; }
.card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 1.75rem;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--color-blue), var(--color-teal));
}
.card p { color: var(--color-ink-muted); margin: 0 0 1.25rem; }
.card:hover { box-shadow: var(--shadow-md); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.75rem 1.5rem; border-radius: var(--radius-sm);
  font: 500 1rem/1 var(--font-sans); text-decoration: none; cursor: pointer;
  background: var(--color-blue); color: #fff; border: 2px solid var(--color-blue);
}
.btn:hover { background: var(--color-blue-dark); border-color: var(--color-blue-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--color-blue); }
.btn--ghost:hover { background: var(--color-blue); color: #fff; }
.btn--lg { min-height: 60px; font-size: 1.15rem; padding: 1rem 2rem; }
.actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

.facts { list-style: none; padding: 0; margin: 1rem 0 0; }
.facts li {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); padding: 0.9rem 1.1rem; margin-bottom: 0.6rem;
}
.facts strong { color: var(--color-ink); }

ol.steps { padding-left: 1.25rem; }
ol.steps li { margin-bottom: 0.6rem; }

.site-footer {
  border-top: 1px solid var(--color-border); background: var(--color-surface);
  padding: 2rem 0; font-size: 0.9rem; color: var(--color-ink-muted);
}
.site-footer p { margin: 0.25rem 0; }

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Promise chips and helpers ---------- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.promise { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.promise li {
  display: inline-flex; align-items: center; gap: 0.45rem; background: var(--color-surface);
  border: 1px solid var(--color-border); border-radius: 999px; padding: 0.35rem 0.9rem;
  font-size: 0.9rem; font-weight: 600; color: var(--color-ink);
}
.promise li::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--color-teal); }
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 10; background: var(--color-blue); color: #fff;
  padding: 0.75rem 1.25rem; border-radius: var(--radius-sm); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }
main:focus { outline: none; }

/* ---------- Park map (home page) ---------- */
.park-wrap { max-width: 1200px; margin: 0 auto; padding: 1rem 1.5rem 0; }
.park-scroll { overflow-x: auto; }
.park { position: relative; min-width: 940px; aspect-ratio: 1088 / 682; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
/* Full screen: the map alone fills the window, as large as it can be while
   keeping its shape. */
.park { container-type: inline-size; }
.park__full {
  position: absolute; top: 12px; right: 12px; z-index: 3; min-height: 48px; padding: 0 1.1rem;
  font: inherit; font-weight: 700; color: var(--color-ink); background: #fff;
  border: 2px solid var(--color-ink); border-radius: 999px; cursor: pointer; box-shadow: var(--shadow-sm);
}
.park__full:hover { background: var(--color-teal-faint); }
html.is-map-full { overflow: hidden; }
.is-map-full .park-wrap { position: fixed; inset: 0; z-index: 50; max-width: none; margin: 0; padding: 0; display: grid; place-items: center; background: #9BD18C; }
.is-map-full .park-scroll { overflow: visible; width: min(100vw, calc(100vh * 1088 / 682)); width: min(100vw, calc(100dvh * 1088 / 682)); }
.is-map-full .park { min-width: 0; border-radius: 0; box-shadow: none; }
.is-map-full .land__tag b { font-size: max(0.8rem, 1.45cqw); }
.is-map-full .land__tag i { font-size: max(0.65rem, 1.1cqw); }
@media print { .park__full { display: none; } }
.park__ground { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.park__lands { list-style: none; margin: 0; padding: 0; }
.land {
  position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column;
  align-items: center; text-decoration: none; color: var(--color-ink);
}
.land img { display: block; }
a.land { transition: transform .15s; }
/* The landmark itself is part of the picture, so an open land gets an unseen
   area above its label that can be tapped as well. */
a.land::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: var(--hit-w, 160px); height: var(--hit-h, 160px); transform: translateX(-50%); }
a.land:hover { color: var(--color-ink); transform: translate(-50%, -52%); }
.land__tag {
  display: flex; flex-direction: column; align-items: center; margin-top: -2px;
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 14px;
  box-shadow: 0 4px 18px rgba(46,109,180,0.16), 0 2px 6px rgba(0,0,0,0.06);
  padding: 5px 14px 6px; white-space: nowrap; line-height: 1.25;
}
.land__tag b { font-weight: 700; font-size: 1rem; }
.land__tag i { font-style: normal; font-size: 0.75rem; font-weight: 500; color: var(--color-ink-muted); }
.land--open .land__tag { background: var(--color-blue); border-color: var(--color-blue); color: #fff; }
.land--open .land__tag i { color: #fff; font-weight: 700; }

/* ---------- Land page ---------- */
.land-head { display: flex; flex-wrap: wrap; align-items: center; gap: 2rem; }
.land-head__art { flex: none; width: 206px; height: auto; }
.land-head__pair { position: relative; width: 190px; }
.land-head__pair img { display: block; width: 128px; height: auto; }
.land-head__pair .land-head__friend { position: absolute; right: 0; bottom: 0; width: 96px; }
.land-head__text { flex: 1 1 420px; min-width: 0; }
.card h3 a { color: var(--color-ink); text-decoration: none; }
.card h3 a:hover { color: var(--color-blue); }
.card__meta { font-size: 0.85rem; font-weight: 600; color: var(--color-ink-muted); margin: 0 0 0.75rem; }
.soon {
  display: inline-block; font-size: 0.78rem; font-weight: 600; border-radius: 999px; padding: 0.2rem 0.6rem;
  background: var(--color-bg); color: var(--color-ink-muted); border: 1px solid var(--color-border);
}

/* ---------- Rides: navy bar and a white page, like the Classroom tools ---------- */
.ride-bar { background: #14304A; color: #fff; }
.ride-bar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; min-height: 68px; }
.ride-bar__back { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; font-weight: 600; color: #fff; text-decoration: none; }
.ride-bar__back:hover { color: #fff; text-decoration: underline; }
.ride-bar__back img { width: 36px; height: 36px; border-radius: 9px; display: block; }
.ride-bar__sound {
  min-height: 44px; padding: 0 1rem; border: 0; border-radius: 999px; background: #1D4263; color: #fff;
  font: 600 0.95rem/1 var(--font-sans); cursor: pointer;
}
.stamps { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; font-weight: 500; }
.stamps i { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; display: block; }
.stamps i.is-on { background: #FFD166; }
.ride-bar button:focus-visible, .ride button:focus-visible { outline: 3px solid var(--color-teal); outline-offset: 2px; }

.ride-head { padding-top: 2rem; }
.ride-head h1 { margin-bottom: 0.5rem; }
.ride-head p { margin: 0; color: var(--color-ink-muted); }
.ride { display: flex; flex-wrap: wrap; gap: 2rem; align-items: flex-start; padding-top: 1.5rem; padding-bottom: 3rem; }
.ride__stage {
  flex: 1 1 380px; min-width: 0; background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 1.75rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.ride__stage--centre { align-items: center; text-align: center; }
.ride__play { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 0.9rem; }
.ride__play h2 { margin: 0; font-size: 1.35rem; }
.ride__play p { margin: 0; }
.ride .muted { color: var(--color-ink-muted); font-size: 0.95rem; }
.ride__big { margin: 0; font-weight: 700; font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.2; min-height: 5.5rem; }
.ride__big.is-empty { color: var(--color-ink-muted); }

.choice {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; width: 100%; min-height: 64px;
  padding: 0.75rem 1.25rem; text-align: left; font: 500 1.15rem/1.3 var(--font-sans); color: var(--color-ink);
  background: var(--color-surface); border: 2px solid var(--color-ink); border-radius: 12px; cursor: pointer;
}
.choice[aria-pressed="true"] { background: var(--color-blue); color: #fff; }
.choice small { flex: none; font-size: 0.8rem; font-weight: 700; }
.choice--tick[aria-pressed="true"] { background: var(--color-teal-faint); color: var(--color-ink); }
.choice--tick::before {
  content: ""; flex: none; width: 24px; height: 24px; border-radius: 6px; border: 2px solid var(--color-ink); background: #fff;
}
.choice--tick { justify-content: flex-start; }
.choice--tick[aria-pressed="true"]::before { background: var(--color-blue); }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
.big-btn {
  min-height: 72px; padding: 0.5rem; font: 700 1.2rem/1.2 var(--font-sans); color: var(--color-ink);
  background: var(--color-surface); border: 2px solid var(--color-ink); border-radius: 12px; cursor: pointer;
}
.big-btn--tall { min-height: 120px; font-size: 1.6rem; border-radius: 20px; }
.big-btn--sun { background: #FFD166; }
.big-btn--teal { background: var(--color-teal); }
.panel { background: var(--color-teal-faint); border: 2px solid var(--color-ink); border-radius: var(--radius-lg); padding: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.panel--plain { background: var(--color-surface); }
.verdict { font-weight: 700; font-size: 1.5rem; line-height: 1.2; }
.stamped { background: var(--color-blue); color: #fff; border-radius: var(--radius-lg); padding: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.stamped__top { display: flex; align-items: center; gap: 0.9rem; }
.stamped__top svg { flex: none; }
.stamped__title { font-weight: 700; font-size: 1.6rem; line-height: 1.1; display: block; }
.stamped a, .btn--paper {
  display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 1rem; text-align: center;
  background: #fff; color: var(--color-ink); font-weight: 700; text-decoration: none; border: 2px solid var(--color-ink); border-radius: 12px;
  font-family: var(--font-sans); font-size: 1.05rem; cursor: pointer;
}
.stamped a.is-sun { background: #FFD166; }
.train { display: flex; gap: 8px; width: 100%; }
.train i { flex: 1 1 0; height: 34px; border-radius: 10px; border: 2px solid var(--color-ink); background: #fff; display: block; }
.train i.is-done { background: #FFD166; }
.train i.is-now { background: var(--color-teal); }
.rule-card { border: 2px dashed var(--color-blue); border-radius: 16px; padding: 1.5rem; display: flex; flex-direction: column; gap: 0.9rem; }
.rule-card__draw {
  display: flex; align-items: center; justify-content: center; min-height: 150px; padding: 0.75rem; text-align: center;
  border: 2px dashed var(--color-ink-muted); border-radius: 12px; font-size: 0.95rem; color: var(--color-ink-muted);
}
[hidden] { display: none !important; }

@media print {
  .site-header, .ride-bar, .ride__play, .site-footer, .ride-head p, .scene { display: none; }
  .ride__stage { border: 0; box-shadow: none; }
}

/* ---------- Ride scenes: the moving picture at the top of each ride ---------- */
.scene {
  position: relative; overflow: hidden; background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); margin-top: 1.5rem;
}
.scene svg { display: block; width: 100%; height: auto; }
.confetti {
  position: absolute; top: -12px; width: 10px; height: 14px; border-radius: 2px; pointer-events: none;
  animation: confetti-fall 2s ease-in forwards;
}
@keyframes confetti-fall { to { transform: translateY(320px) rotate(540deg); opacity: 0.2; } }
@keyframes wobble { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-7deg); } 50% { transform: rotate(6deg); } 80% { transform: rotate(-3deg); } }
.is-wobbling { animation: wobble 0.6s ease-in-out; transform-origin: 50% 90%; }
@keyframes flag-wave { 0%, 100% { transform: skewY(0); } 50% { transform: skewY(-8deg); } }
.coaster__flag { animation: flag-wave 1.2s ease-in-out infinite; transform-box: fill-box; transform-origin: left center; }

/* The Who's-Talking Train */
.scene--train { height: 150px; background: url(/assets/rides/backdrop-strip.svg) center bottom / cover no-repeat; }
.scene--train .rail { position: absolute; left: 0; right: 0; bottom: 22px; height: 6px; background: var(--color-ink-muted); }
.scene--train .rail::after {
  content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 8px;
  background: repeating-linear-gradient(90deg, #B98F5E 0 8px, transparent 8px 26px);
}
.train-set { position: absolute; inset: 0; transition: transform 2.4s ease-in; }
.train-set.is-leaving { transform: translateX(-130%); }
.loco { position: absolute; left: 2%; bottom: 26px; width: 15%; max-width: 150px; min-width: 84px; }
.loco svg { width: 100%; height: auto; }
@keyframes puff { 0% { transform: translate(0, 0) scale(0.4); opacity: 0.9; } 100% { transform: translate(-26px, -46px) scale(1.5); opacity: 0; } }
.loco__puff { transform-box: fill-box; transform-origin: center; animation: puff 1.4s ease-out infinite; }
.loco__puff + .loco__puff { animation-delay: 0.7s; }
.car {
  position: absolute; bottom: 34px; width: 12%; max-width: 120px; min-width: 62px; height: 62px; left: 110%;
  background: var(--color-surface); border: 2.5px solid var(--color-ink); border-radius: 12px;
  display: grid; place-items: center; font-weight: 700; font-size: 1.6rem; color: var(--color-ink-muted);
  transition: left 0.9s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s;
}
.car::before, .car::after {
  content: ""; position: absolute; bottom: -11px; width: 16px; height: 16px; border-radius: 50%; background: var(--color-ink);
}
.car::before { left: 12%; } .car::after { right: 12%; }
.car svg { width: 34px; height: 34px; }
.car.is-person { background: #FFD166; }
.car.is-machine { background: var(--color-teal); }
@keyframes hop { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-10px); } }
.car.is-hopping { animation: hop 0.4s ease-out; }

/* The Double-Check Dodgems */
.scene--arena {
  height: 190px; background: url(/assets/rides/arena.svg) center / cover no-repeat;
}
.dodgem { position: absolute; width: 112px; margin: -38px 0 0 -56px; transition: left 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), top 0.8s cubic-bezier(0.34, 1.56, 0.64, 1); }
.dodgem svg { width: 100%; height: auto; overflow: visible; }
.dodgem__body { animation: drift 3.2s ease-in-out infinite alternate; }
.dodgem:nth-child(2n) .dodgem__body { animation-duration: 2.6s; animation-direction: alternate-reverse; }
@keyframes drift { from { transform: translate(-7px, 3px) rotate(-4deg); } to { transform: translate(7px, -3px) rotate(4deg); } }
@keyframes bumped { 0%, 100% { transform: translate(0, 0) rotate(0); } 30% { transform: translate(16px, -6px) rotate(14deg); } 60% { transform: translate(-8px, 3px) rotate(-8deg); } }
.dodgem.is-bumped .dodgem__body { animation: bumped 0.6s ease-out; }
@keyframes spin { to { transform: rotate(720deg); } }
.dodgem.is-spinning .dodgem__body { animation: spin 1.3s cubic-bezier(0.22, 1, 0.36, 1); }
.dodgem__body { transform-box: fill-box; transform-origin: center; }
.dodgem.is-away { transition-timing-function: ease-in; }
.park__train { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }

/* ---------- I'm-Almost-Done Land ---------- */
.closing { background: var(--color-surface); border: 2px solid var(--color-ink); border-radius: var(--radius-lg); padding: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }
.closing__title { font-weight: 700; font-size: 1.35rem; line-height: 1.2; }
.closing a { font-size: 0.95rem; }

/* The One-More Merry-Go-Round */
@keyframes seat-x { from { transform: translateX(-250px); } to { transform: translateX(250px); } }
@keyframes seat-z { from { transform: scale(0.68); opacity: 0.45; } to { transform: scale(1.08); opacity: 1; } }
.seat { animation: seat-x 2.2s ease-in-out infinite alternate; }
.seat__in { transform-box: fill-box; transform-origin: center; animation: seat-z 2.2s ease-in-out infinite alternate; }
.carousel.is-stopped .seat, .carousel.is-stopped .seat__in { animation-play-state: paused; }

/* Beat the Bell */
.bell-scene { display: flex; flex-wrap: wrap; align-items: stretch; }
.bell-scene__clock { flex: 0 0 210px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.25rem; padding: 1rem; background: var(--color-teal-faint); }
.bell-scene__clock svg { width: 150px; height: auto; }
.bell-scene__round { font-weight: 700; }
.bubbles { position: relative; flex: 1 1 320px; min-height: 280px; overflow: hidden; background: url(/assets/rides/backdrop-sky.svg) center bottom / cover no-repeat; }
.bubbles__note { position: absolute; inset: 0; display: grid; place-items: center; padding: 1rem; text-align: center; font-weight: 700; font-size: 1.4rem; color: var(--color-ink); pointer-events: none; text-shadow: 0 0 10px #fff, 0 0 10px #fff, 0 0 4px #fff; }
@keyframes float-up { from { transform: translateY(0); } to { transform: translateY(-380px); } }
.bubble {
  position: absolute; bottom: -80px; border-radius: 50%; border: 2.5px solid var(--color-ink); cursor: pointer; padding: 0;
  animation: float-up 5s linear forwards;
}
.bubble::after { content: ""; position: absolute; left: 22%; top: 18%; width: 24%; height: 18%; border-radius: 50%; background: rgba(255,255,255,0.85); }
.bubble--still { bottom: auto; animation: none; }
.bubble--last { left: 50%; top: 50%; bottom: auto; width: 120px; height: 120px; margin: -60px 0 0 -60px; animation: none; background: #FFD166; }
.bubble.is-popped { transform: scale(1.5); opacity: 0; transition: transform 0.15s, opacity 0.15s; animation-play-state: paused; }
@keyframes swing { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(18deg); } 75% { transform: rotate(-18deg); } }
.bell { transform-box: fill-box; transform-origin: 50% 0; }
.bell.is-ringing { animation: swing 0.5s ease-in-out 4; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.steps li { display: flex; align-items: baseline; gap: 0.75rem; font-size: 1.15rem; }
.steps b { flex: none; display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--color-blue); color: #fff; }

/* The Tick-Tock Plan */
@keyframes turn { to { transform: rotate(360deg); } }
.cog { transform-box: fill-box; transform-origin: center; fill: #FFFFFF; }
.cog.is-on { animation: turn 6s linear infinite; }
.cog--back.is-on { animation-direction: reverse; }
.cog.is-chiming { animation-duration: 0.9s; }
.plan { display: flex; flex-direction: column; gap: 0.8rem; }
.plan p { margin: 0; }
.plan b { display: block; font-size: 1.25rem; line-height: 1.25; }
.plan b.is-empty { color: var(--color-ink-muted); font-weight: 500; }
.group { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.group legend { font-weight: 700; font-size: 1.1rem; padding: 0; margin-bottom: 0.5rem; }
.group .choice { min-height: 54px; font-size: 1.05rem; }
