:root {
  --paper: #fff9ef;
  --paper-strong: #fff4e5;
  --paper-soft: rgba(255, 250, 242, 0.94);
  --ink: #111111;
  --ink-soft: #3d3d3d;
  --red-pop: #ff4d36;
  --pink-pop: #ff8bc2;
  --yellow-pop: #ffd84d;
  --mint-pop: #73f0bf;
  --blue-pop: #2855ff;
  --sky-pop: #dff2ff;
  --line: rgba(17, 17, 17, 0.14);
  --line-strong: rgba(17, 17, 17, 0.2);
  --shadow-card: 0 16px 40px rgba(17, 17, 17, 0.1);
  --shadow-button: 0 6px 0 rgba(17, 17, 17, 0.88);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 16%, rgba(255, 216, 77, 0.35), transparent 18%),
    radial-gradient(circle at 84% 18%, rgba(255, 139, 194, 0.18), transparent 22%),
    radial-gradient(circle at 72% 82%, rgba(115, 240, 191, 0.18), transparent 18%),
    linear-gradient(180deg, #fffaf1 0%, #fff4e2 48%, #fff7ef 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.035) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(circle at center, black 52%, transparent 100%);
}

img {
  max-width: 100%;
  display: block;
}

picture {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* The element resets sit in the base layer, under Tailwind's utilities, so a class like mt-4 in the markup takes
   effect. Outside a layer they beat every utility, and 21 spacings on each page, the gap under every label pill among
   them, were silently 0px (19 Nov). */
@layer base {
  p,
  ul,
  h1,
  h2,
  h3 {
    margin: 0;
  }

  ul {
    list-style: none;
    padding: 0;
  }
}

::selection {
  background: var(--blue-pop);
  color: white;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: 4px;
  background: rgba(17, 17, 17, 0.08);
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red-pop), var(--yellow-pop), var(--blue-pop));
  box-shadow: 0 0 22px rgba(40, 85, 255, 0.28);
}

.retro-shell {
  position: relative;
}

.retro-container {
  width: min(calc(100% - 1.5rem), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: 0.75rem;
}

.site-main {
  padding: 1.5rem 0 6rem;
}

.page-section {
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
}

.page-section-tight-top {
  margin-top: clamp(1.2rem, 2.8vw, 2rem);
}

.page-section:first-child {
  margin-top: 0;
}

.desktop-only,
.mobile-only {
  display: none !important;
}

.retro-nav {
  padding: 0.72rem 0.9rem;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 28px;
  background: rgba(255, 250, 244, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.04);
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.retro-nav.is-scrolled {
  background: rgba(255, 250, 244, 0.98);
  border-color: rgba(17, 17, 17, 0.18);
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.08);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 2vw, 1.6rem);
}

.site-header .logo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  flex-shrink: 0;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: white;
  padding: 0.34rem 0.82rem 0.34rem 0.42rem;
  box-shadow: 5px 5px 0 rgba(17, 17, 17, 0.11);
}

.site-header .logo-mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red-pop), var(--blue-pop));
  color: white;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
}

.site-header .logo-badge > span:last-child {
  display: grid;
  gap: 0.08rem;
  line-height: 1;
}

.site-header .logo-badge > span:last-child > span:first-child {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.site-header .logo-badge > span:last-child > span:last-child {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.48);
}

.nav-links {
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  min-width: 0;
}

.site-header .nav-chip {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.52rem 0.78rem;
  font-size: 0.94rem;
  font-weight: 700;
  color: rgba(17, 17, 17, 0.68);
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.site-header .nav-chip.is-active {
  background: rgba(17, 17, 17, 0.07);
  border-color: rgba(17, 17, 17, 0.08);
  color: var(--ink);
}

.nav-cta {
  margin-left: auto;
  flex-shrink: 0;
  min-height: 2.45rem;
  padding: 0.46rem 0.9rem;
  border-width: 2px;
  box-shadow: 0 3px 0 rgba(17, 17, 17, 0.88);
  font-size: 0.86rem;
  line-height: 1.1;
}

.site-header .button-black.nav-cta {
  background: #171717;
  border-color: #171717;
  box-shadow: 0 3px 0 rgba(17, 17, 17, 0.82);
}

.nav-menu {
  margin-left: auto;
  min-height: 2.9rem;
  padding: 0.68rem 0.96rem;
  border-width: 2px;
  box-shadow: 0 5px 0 rgba(17, 17, 17, 0.86);
}

/* The 404 page (404.html): the code on a yellow card, and the pages that are here as cards to click. */
.notfound-card {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.notfound-number {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(4.5rem, 11vw, 7.5rem);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.06em;
}

.next-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .next-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .next-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.next-card {
  display: grid;
  gap: 0.6rem;
  align-content: start;
  padding: 1.2rem 1.25rem 1.3rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-button);
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.next-card strong {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.next-card:hover {
  transform: translateY(-3px);
}

.next-card:focus-visible {
  outline: 3px solid var(--blue-pop);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .next-card:hover {
    transform: none;
  }
}

/* The theme toggle, in the header beside the waitlist button (the Menu button on phones): a moon in the light theme,
   a sun in the dark one. It takes the right-hand space the buttons after it used to. */
.theme-toggle {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.6rem;
  height: 2.6rem;
  margin-left: auto;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  box-shadow: 0 3px 0 rgba(17, 17, 17, 0.88);
  transition: transform 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.theme-toggle + .nav-cta,
.theme-toggle ~ .nav-menu {
  margin-left: 0;
}

.theme-toggle svg {
  width: 1.2rem;
  height: 1.2rem;
}

.theme-toggle .theme-icon-sun {
  display: none;
}

.theme-toggle:hover {
  background: var(--yellow-pop);
  transform: translateY(-1px);
}

.theme-toggle:focus-visible {
  outline: 3px solid var(--blue-pop);
  outline-offset: 3px;
}

:where(html[data-theme="dark"]) .theme-toggle {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #f4f1ea;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.68);
}

:where(html[data-theme="dark"]) .theme-toggle:hover {
  background: var(--yellow-pop);
  border-color: var(--yellow-pop);
  color: #111111;
}

:where(html[data-theme="dark"]) .theme-toggle .theme-icon-moon {
  display: none;
}

:where(html[data-theme="dark"]) .theme-toggle .theme-icon-sun {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .theme-toggle:hover {
    transform: none;
  }
}

.mobile-sheet {
  grid-template-rows: 0fr;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: grid-template-rows 200ms ease, opacity 160ms ease;
}

.mobile-sheet[data-open="true"] {
  grid-template-rows: 1fr;
  opacity: 1;
  pointer-events: auto;
}

.mobile-sheet-inner {
  overflow: hidden;
  display: grid;
  gap: 0.65rem;
  padding-top: 0;
}

.mobile-sheet[data-open="true"] .mobile-sheet-inner {
  padding-top: 0.85rem;
  margin-top: 0.75rem;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
}

.mobile-sheet .nav-chip {
  display: flex;
  justify-content: flex-start;
  border-color: rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.mobile-sheet-cta {
  width: 100%;
}

.hero-panel,
.retro-panel,
.statement-card,
.quote-card,
.spec-card,
.cta-band,
.gallery-card,
.stat-card,
.art-card {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.surface-paper {
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
}

.surface-soft {
  background: var(--paper-soft);
  color: var(--ink);
}

.surface-yellow {
  background: linear-gradient(180deg, #ffe78d 0%, var(--yellow-pop) 100%);
  color: var(--ink);
}

.surface-pink {
  background: linear-gradient(180deg, #ffd8ea 0%, var(--pink-pop) 100%);
  color: var(--ink);
}

.surface-sky {
  background: linear-gradient(180deg, #eff8ff 0%, var(--sky-pop) 100%);
  color: var(--ink);
}

.surface-mint {
  background: linear-gradient(180deg, #e9fff6 0%, var(--mint-pop) 100%);
  color: var(--ink);
}

.surface-dark {
  background: linear-gradient(180deg, #1d1d1d 0%, #101010 100%);
  color: white;
}

.surface-red {
  background: linear-gradient(180deg, #ff7b64 0%, var(--red-pop) 100%);
  color: white;
}

.surface-outline {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.surface-pattern {
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 216, 77, 0.24), transparent 18%),
    radial-gradient(circle at 76% 24%, rgba(40, 85, 255, 0.1), transparent 18%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 247, 234, 0.96));
}

.surface-card-light {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

.copy-muted {
  color: rgba(17, 17, 17, 0.74);
}

.meta-muted {
  color: rgba(17, 17, 17, 0.56);
}

.surface-dark .copy-muted,
.surface-red .copy-muted {
  color: rgba(255, 255, 255, 0.8);
}

.surface-dark .meta-muted,
.surface-red .meta-muted {
  color: rgba(255, 255, 255, 0.62);
}

:is(.surface-paper, .surface-soft, .surface-yellow, .surface-pink, .surface-sky, .surface-mint, .surface-outline, .surface-pattern) .copy-muted {
  color: rgba(17, 17, 17, 0.74);
}

:is(.surface-paper, .surface-soft, .surface-yellow, .surface-pink, .surface-sky, .surface-mint, .surface-outline, .surface-pattern) .meta-muted {
  color: rgba(17, 17, 17, 0.56);
}

:is(.surface-paper, .surface-soft, .surface-yellow, .surface-pink, .surface-sky, .surface-mint, .surface-outline, .surface-pattern) .proof-copy {
  color: rgba(17, 17, 17, 0.72);
}

.surface-dark .copy-muted,
.surface-red .copy-muted {
  color: rgba(255, 255, 255, 0.8);
}

.surface-dark .meta-muted,
.surface-red .meta-muted {
  color: rgba(255, 255, 255, 0.62);
}

.surface-dark .proof-copy,
.surface-red .proof-copy {
  color: rgba(255, 255, 255, 0.78);
}

.surface-dark :is(.surface-paper, .surface-soft, .surface-yellow, .surface-pink, .surface-sky, .surface-mint, .surface-outline, .surface-pattern) .copy-muted,
.surface-red :is(.surface-paper, .surface-soft, .surface-yellow, .surface-pink, .surface-sky, .surface-mint, .surface-outline, .surface-pattern) .copy-muted {
  color: rgba(17, 17, 17, 0.74);
}

.surface-dark :is(.surface-paper, .surface-soft, .surface-yellow, .surface-pink, .surface-sky, .surface-mint, .surface-outline, .surface-pattern) .meta-muted,
.surface-red :is(.surface-paper, .surface-soft, .surface-yellow, .surface-pink, .surface-sky, .surface-mint, .surface-outline, .surface-pattern) .meta-muted {
  color: rgba(17, 17, 17, 0.56);
}

.surface-dark :is(.surface-paper, .surface-soft, .surface-yellow, .surface-pink, .surface-sky, .surface-mint, .surface-outline, .surface-pattern) .proof-copy,
.surface-red :is(.surface-paper, .surface-soft, .surface-yellow, .surface-pink, .surface-sky, .surface-mint, .surface-outline, .surface-pattern) .proof-copy {
  color: rgba(17, 17, 17, 0.72);
}

.surface-card-light .copy-muted,
.surface-card-light .proof-copy {
  color: rgba(17, 17, 17, 0.74);
}

.surface-card-light .meta-muted,
.surface-card-light .panel-label {
  color: rgba(17, 17, 17, 0.56);
}

.hero-grid,
.feature-grid,
.page-grid,
.faq-grid,
.gallery-grid,
.footer-grid,
.quote-grid,
.art-collage {
  display: grid;
  gap: 1rem;
}

.hero-grid {
  align-items: start;
}

.hero-copy-stack,
.hero-aside,
.stack-notes,
.section-stack {
  display: grid;
  gap: clamp(1.1rem, 2vw, 1.45rem);
  align-content: start;
}

.hero-kicker,
.section-kicker {
  align-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  border: 2px solid rgba(17, 17, 17, 0.86);
  border-radius: 999px;
  background: white;
  padding: 0.42rem 0.88rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.surface-dark .hero-kicker,
.surface-dark .section-kicker,
.surface-red .hero-kicker,
.surface-red .section-kicker,
.kicker-inverse {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.hero-title,
.section-title,
.statement-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.hero-title {
  max-width: 11ch;
  font-size: clamp(2.9rem, 6vw, 5.4rem);
  line-height: 1.01;
}

.section-title {
  max-width: 16ch;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: 1.04;
}

.statement-title {
  max-width: 13ch;
  font-size: clamp(2.15rem, 4.8vw, 4rem);
  line-height: 1.04;
}

.text-balance {
  text-wrap: balance;
}

.hero-copy {
  max-width: 44rem;
  font-size: clamp(1.05rem, 1.5vw, 1.16rem);
  line-height: 1.8;
}

.section-intro {
  max-width: 42rem;
  display: grid;
  gap: 1rem;
  /* Rows at the top: beside a taller column (an FAQ) the rows stretched, and the label pill with them (19 Nov). */
  align-content: start;
}

.section-card-fill {
  display: grid;
  gap: 1.4rem;
  align-content: space-between;
  height: 100%;
}

.manifesto-hero {
  overflow: clip;
}

.manifesto-hero-title {
  max-width: 9ch;
  font-size: clamp(2.7rem, 5.2vw, 4.75rem);
  line-height: 0.98;
}

.manifesto-hero-copy {
  max-width: 34rem;
}

.manifesto-truths-card {
  align-self: start;
}

.mini-stat-grid {
  display: grid;
  gap: 0.8rem;
}

.mini-stat {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.mini-stat-value {
  display: block;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.mini-stat-label {
  margin-top: 0.45rem;
  line-height: 1.58;
  color: rgba(17, 17, 17, 0.68);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.badge-punch {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.88rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.punch-red {
  background: var(--red-pop);
  color: white;
}

.punch-yellow {
  background: var(--yellow-pop);
}

.punch-blue {
  background: var(--blue-pop);
  color: white;
}

.punch-mint {
  background: var(--mint-pop);
}

.punch-paper {
  background: white;
}

.dot-cluster {
  display: inline-grid;
  grid-template-columns: repeat(3, 0.42rem);
  gap: 0.26rem;
}

.dot-cluster span {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: currentColor;
}

.loud-line {
  position: relative;
  display: inline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding-inline: 0.18em;
  background: linear-gradient(transparent 55%, rgba(255, 216, 77, 0.85) 55%);
}

.loud-line-blue {
  background: linear-gradient(transparent 55%, rgba(159, 216, 255, 0.92) 55%);
}

.loud-line-pink {
  background: linear-gradient(transparent 55%, rgba(255, 139, 194, 0.58) 55%);
}

.loud-line-paper {
  background: linear-gradient(transparent 55%, rgba(255, 255, 255, 0.9) 55%);
}

/* Where the words are light (a dark card, or any page in dark mode), the highlight is a translucent band they stay
   readable on: the opaque one left the lower half of each letter white on pale, under 2:1 (19 Nov). The variants
   come after the plain one, so a variant's colour wins. */
.surface-dark .loud-line {
  background: linear-gradient(transparent 55%, rgba(255, 216, 77, 0.36) 55%);
}

.surface-dark .loud-line-blue {
  background: linear-gradient(transparent 55%, rgba(159, 216, 255, 0.34) 55%);
}

.surface-dark .loud-line-pink {
  background: linear-gradient(transparent 55%, rgba(255, 139, 194, 0.34) 55%);
}

.surface-dark .loud-line-paper {
  background: linear-gradient(transparent 55%, rgba(255, 255, 255, 0.22) 55%);
}

/* Dark theme: on when <html> has data-theme="dark", which the header's toggle sets (assets/app.js). */
:where(html[data-theme="dark"]) .loud-line {
  background: linear-gradient(transparent 55%, rgba(255, 216, 77, 0.36) 55%);
}

:where(html[data-theme="dark"]) .loud-line-blue {
  background: linear-gradient(transparent 55%, rgba(159, 216, 255, 0.34) 55%);
}

:where(html[data-theme="dark"]) .loud-line-pink {
  background: linear-gradient(transparent 55%, rgba(255, 139, 194, 0.34) 55%);
}

:where(html[data-theme="dark"]) .loud-line-paper {
  background: linear-gradient(transparent 55%, rgba(255, 255, 255, 0.22) 55%);
}


.retro-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.15rem;
  padding: 0.82rem 1.2rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
  box-shadow: var(--shadow-button);
  overflow: hidden;
  --ripple-color: rgba(17, 17, 17, 0.16);
}

.button-black {
  background: var(--ink);
  color: white;
  --ripple-color: rgba(255, 255, 255, 0.24);
}

.button-yellow {
  background: var(--yellow-pop);
  color: var(--ink);
}

.button-white {
  background: white;
  color: var(--ink);
}

.button-red {
  background: var(--red-pop);
  color: white;
  --ripple-color: rgba(255, 255, 255, 0.24);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-copy-stack > [data-hero-actions] {
  margin-bottom: 0.45rem;
}

.button-ripple {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--ripple-color);
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
  animation: button-ripple 540ms ease-out forwards;
}

@keyframes button-ripple {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(16);
  }
}

.panel-label {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.surface-dark .panel-label,
.surface-red .panel-label {
  color: rgba(255, 255, 255, 0.7);
}

.surface-dark :is(.surface-paper, .surface-soft, .surface-yellow, .surface-pink, .surface-sky, .surface-mint, .surface-outline, .surface-pattern) .panel-label,
.surface-red :is(.surface-paper, .surface-soft, .surface-yellow, .surface-pink, .surface-sky, .surface-mint, .surface-outline, .surface-pattern) .panel-label {
  color: rgba(17, 17, 17, 0.56);
}

.panel-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.icon-badge {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 2px solid var(--ink);
  border-radius: 18px;
  font-size: 1.1rem;
  font-weight: 800;
}

.surface-dark .icon-badge,
.surface-red .icon-badge {
  background: white;
  color: var(--ink);
}

.key-list,
.detail-list,
.note-list {
  display: grid;
  gap: 0.75rem;
}

.panel-list-gap {
  margin-top: 1rem;
}

.key-list li,
.detail-list li,
.note-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.88rem 1rem;
  border: 2px solid rgba(17, 17, 17, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
}

.surface-dark .key-list li,
.surface-dark .detail-list li,
.surface-dark .note-list li,
.surface-red .key-list li,
.surface-red .detail-list li,
.surface-red .note-list li {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
}

.surface-dark :is(.surface-paper, .surface-soft, .surface-yellow, .surface-pink, .surface-sky, .surface-mint, .surface-outline, .surface-pattern) .key-list li,
.surface-dark :is(.surface-paper, .surface-soft, .surface-yellow, .surface-pink, .surface-sky, .surface-mint, .surface-outline, .surface-pattern) .detail-list li,
.surface-dark :is(.surface-paper, .surface-soft, .surface-yellow, .surface-pink, .surface-sky, .surface-mint, .surface-outline, .surface-pattern) .note-list li,
.surface-red :is(.surface-paper, .surface-soft, .surface-yellow, .surface-pink, .surface-sky, .surface-mint, .surface-outline, .surface-pattern) .key-list li,
.surface-red :is(.surface-paper, .surface-soft, .surface-yellow, .surface-pink, .surface-sky, .surface-mint, .surface-outline, .surface-pattern) .detail-list li,
.surface-red :is(.surface-paper, .surface-soft, .surface-yellow, .surface-pink, .surface-sky, .surface-mint, .surface-outline, .surface-pattern) .note-list li {
  border-color: rgba(17, 17, 17, 0.12);
  background: rgba(255, 255, 255, 0.76);
}

.surface-card-light .key-list li,
.surface-card-light .detail-list li,
.surface-card-light .note-list li {
  border-color: rgba(17, 17, 17, 0.12);
  background: rgba(255, 255, 255, 0.76);
}

:is(.surface-paper, .surface-soft, .surface-yellow, .surface-pink, .surface-sky, .surface-mint, .surface-outline, .surface-pattern) .key-list li,
:is(.surface-paper, .surface-soft, .surface-yellow, .surface-pink, .surface-sky, .surface-mint, .surface-outline, .surface-pattern) .detail-list li,
:is(.surface-paper, .surface-soft, .surface-yellow, .surface-pink, .surface-sky, .surface-mint, .surface-outline, .surface-pattern) .note-list li {
  border-color: rgba(17, 17, 17, 0.12);
  background: rgba(255, 255, 255, 0.76);
}

.surface-dark .key-list li,
.surface-dark .detail-list li,
.surface-dark .note-list li,
.surface-red .key-list li,
.surface-red .detail-list li,
.surface-red .note-list li {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
}

.list-mark {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  background: var(--yellow-pop);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 900;
}

.surface-dark .list-mark,
.surface-red .list-mark {
  background: white;
}

.stat-card {
  background: var(--paper-strong);
  padding: 1.2rem;
}

.stat-card strong {
  display: block;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1;
}

@layer components {
  .proof-copy {
    margin-top: 0.55rem;
  }
}

.proof-copy {
  line-height: 1.65;
  color: rgba(17, 17, 17, 0.72);
}

.surface-dark .proof-copy,
.surface-red .proof-copy {
  color: rgba(255, 255, 255, 0.78);
}

.note-card {
  padding: 1.05rem;
  border: 2px solid rgba(17, 17, 17, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
}

.note-card strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ticker {
  overflow: hidden;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--ink);
  color: white;
  border-radius: 18px;
}

.ticker-full-bleed {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  white-space: nowrap;
  padding: 0.8rem 0;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.ticker-burst {
  display: inline-grid;
  place-items: center;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 999px;
  background: var(--yellow-pop);
  color: var(--ink);
}

.art-card {
  background: rgba(255, 255, 255, 0.76);
}

.art-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.art-card .label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.45rem 0.72rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.faq-item {
  border-top: 2px solid rgba(17, 17, 17, 0.14);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.faq-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.faq-item:last-child {
  padding-bottom: 0.2rem;
}

.faq-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font-weight: 800;
}

.faq-answer {
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding-top: 0;
  color: rgba(17, 17, 17, 0.72);
  transition: max-height 220ms ease, opacity 180ms ease, padding-top 180ms ease;
}

.faq-item[data-open="true"] .faq-answer {
  opacity: 1;
  padding-top: 0.85rem;
}

.faq-item[data-open="true"] .faq-plus {
  transform: rotate(45deg);
}

.faq-plus {
  transition: transform 160ms ease;
}

.footer-panel {
  border: 2px solid var(--ink);
  border-radius: 34px 34px 0 0;
  background: var(--ink);
  color: white;
}

.footer-panel .logo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: fit-content;
  max-width: 100%;
  padding: 0.5rem 1rem 0.5rem 0.52rem;
  border: 2px solid rgba(17, 17, 17, 0.9);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  margin-bottom: 1.15rem;
}

.footer-panel .logo-mark {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red-pop), var(--blue-pop));
  color: white;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
}

.footer-panel .logo-badge > span:last-child {
  display: grid;
  gap: 0.08rem;
  line-height: 1;
}

.footer-panel .logo-badge > span:last-child > span:first-child {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.footer-panel .logo-badge > span:last-child > span:last-child {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.52);
}

.footer-panel .copy-muted {
  max-width: 38rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.78);
}

.footer-link {
  color: rgba(255, 255, 255, 0.76);
  transition: color 150ms ease;
}

/* The footer's links in two close columns at the top of their side: the old grid spread them across half the footer
   and stretched its rows to the height of the other side (19 Nov). */
.footer-links {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 0.9rem 2.75rem;
  align-content: start;
  justify-content: start;
}

@media (min-width: 768px) {
  .footer-links {
    justify-content: end;
  }
}

/* The footer's social links: round buttons, 44px to tap, each platform's mark in the footer's light ink. */
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.social-link {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 2px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.social-link svg {
  width: 1.15rem;
  height: 1.15rem;
}

.social-link:hover,
.social-link:focus-visible {
  border-color: var(--yellow-pop);
  background: var(--yellow-pop);
  color: #111111;
  transform: translateY(-2px);
}

.social-link:focus-visible {
  outline: 3px solid var(--blue-pop);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .social-link:hover,
  .social-link:focus-visible {
    transform: none;
  }
}

/* The app's own icon as the logo mark: no circle or gradient behind it. */
.site-header .logo-mark.logo-icon,
.footer-panel .logo-mark.logo-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0;
  background: none;
  object-fit: contain;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 460ms ease, transform 460ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.page-hero-band::before {
  content: "";
  position: absolute;
  inset: auto -8% -24% auto;
  width: 16rem;
  height: 16rem;
  border-radius: 999px;
  background: rgba(40, 85, 255, 0.08);
  filter: blur(8px);
}

/* Dark theme: on when <html> has data-theme="dark", which the header's toggle sets (assets/app.js). */
html:where([data-theme="dark"]) {
  color-scheme: dark;
}

:root:where([data-theme="dark"]) {
  --paper: #10141b;
  --paper-strong: #161c25;
  --paper-soft: rgba(17, 21, 29, 0.94);
  --ink: #f4f1ea;
  --ink-soft: #d7dde7;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --shadow-card: 0 22px 54px rgba(0, 0, 0, 0.36);
  --shadow-button: 0 4px 0 rgba(0, 0, 0, 0.58);
}

:where(html[data-theme="dark"]) body {
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 216, 77, 0.12), transparent 18%),
    radial-gradient(circle at 84% 18%, rgba(255, 139, 194, 0.08), transparent 22%),
    radial-gradient(circle at 72% 82%, rgba(115, 240, 191, 0.08), transparent 18%),
    linear-gradient(180deg, #0d1016 0%, #131823 52%, #0b0e14 100%);
}

:where(html[data-theme="dark"]) body::before {
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
}

:where(html[data-theme="dark"]) .scroll-progress {
  background: rgba(255, 255, 255, 0.08);
}

:where(html[data-theme="dark"]) .retro-nav {
  background: rgba(10, 13, 19, 0.9);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.26);
}

:where(html[data-theme="dark"]) .retro-nav.is-scrolled {
  background: rgba(10, 13, 19, 0.96);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

:where(html[data-theme="dark"]) .site-header .logo-badge,
:where(html[data-theme="dark"]) .footer-panel .logo-badge {
  background: rgba(255, 249, 239, 0.98);
  color: #111111;
  border-color: rgba(17, 17, 17, 0.9);
}

:where(html[data-theme="dark"]) .site-header .nav-chip {
  color: rgba(244, 241, 234, 0.74);
}

:where(html[data-theme="dark"]) .site-header .nav-chip.is-active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

:where(html[data-theme="dark"]) .mobile-sheet[data-open="true"] .mobile-sheet-inner {
  border-top-color: rgba(255, 255, 255, 0.12);
}

:where(html[data-theme="dark"]) .mobile-sheet .nav-chip {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(244, 241, 234, 0.78);
}

:where(html[data-theme="dark"]) .surface-paper {
  background: rgba(18, 22, 30, 0.92);
  color: var(--ink);
}

:where(html[data-theme="dark"]) .surface-soft {
  background: rgba(12, 15, 21, 0.94);
  color: var(--ink);
}

:where(html[data-theme="dark"]) .surface-yellow {
  background: linear-gradient(180deg, #5a4913 0%, #796117 100%);
  color: #fff8df;
}

:where(html[data-theme="dark"]) .surface-pink {
  background: linear-gradient(180deg, #592437 0%, #77354e 100%);
  color: #fff0f7;
}

:where(html[data-theme="dark"]) .surface-sky {
  background: linear-gradient(180deg, #173748 0%, #214d65 100%);
  color: #eef8ff;
}

:where(html[data-theme="dark"]) .surface-mint {
  background: linear-gradient(180deg, #163f35 0%, #1d594a 100%);
  color: #edfff8;
}

:where(html[data-theme="dark"]) .surface-dark {
  background: linear-gradient(180deg, #090c11 0%, #04060a 100%);
  color: #ffffff;
}

:where(html[data-theme="dark"]) .surface-red {
  background: linear-gradient(180deg, #7f3528 0%, #a24434 100%);
  color: #ffffff;
}

:where(html[data-theme="dark"]) .surface-outline {
  background: rgba(18, 22, 30, 0.8);
  color: var(--ink);
}

:where(html[data-theme="dark"]) .surface-pattern {
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 216, 77, 0.1), transparent 18%),
    radial-gradient(circle at 76% 24%, rgba(91, 139, 255, 0.12), transparent 18%),
    linear-gradient(145deg, rgba(18, 22, 30, 0.96), rgba(8, 10, 15, 0.99));
  color: var(--ink);
}

:where(html[data-theme="dark"]) .surface-card-light {
  background: rgba(245, 242, 236, 0.96);
  color: #111111;
}

:where(html[data-theme="dark"]) .copy-muted {
  color: rgba(244, 241, 234, 0.78);
}

:where(html[data-theme="dark"]) .meta-muted {
  color: rgba(244, 241, 234, 0.58);
}

:where(html[data-theme="dark"]) .proof-copy {
  color: rgba(244, 241, 234, 0.78);
}

:where(html[data-theme="dark"]) :is(.surface-paper, .surface-soft, .surface-yellow, .surface-pink, .surface-sky, .surface-mint, .surface-outline, .surface-pattern) .copy-muted {
  color: rgba(244, 241, 234, 0.78);
}

:where(html[data-theme="dark"]) :is(.surface-paper, .surface-soft, .surface-yellow, .surface-pink, .surface-sky, .surface-mint, .surface-outline, .surface-pattern) .meta-muted {
  color: rgba(244, 241, 234, 0.58);
}

:where(html[data-theme="dark"]) :is(.surface-paper, .surface-soft, .surface-yellow, .surface-pink, .surface-sky, .surface-mint, .surface-outline, .surface-pattern) .proof-copy {
  color: rgba(244, 241, 234, 0.78);
}

:where(html[data-theme="dark"]) .surface-dark .copy-muted,
:where(html[data-theme="dark"]) .surface-red .copy-muted {
  color: rgba(255, 255, 255, 0.8);
}

:where(html[data-theme="dark"]) .surface-dark .meta-muted,
:where(html[data-theme="dark"]) .surface-red .meta-muted {
  color: rgba(255, 255, 255, 0.62);
}

:where(html[data-theme="dark"]) .surface-dark .proof-copy,
:where(html[data-theme="dark"]) .surface-red .proof-copy {
  color: rgba(255, 255, 255, 0.78);
}

:where(html[data-theme="dark"]) .surface-dark :is(.surface-paper, .surface-soft, .surface-yellow, .surface-pink, .surface-sky, .surface-mint, .surface-outline, .surface-pattern) .copy-muted,
:where(html[data-theme="dark"]) .surface-red :is(.surface-paper, .surface-soft, .surface-yellow, .surface-pink, .surface-sky, .surface-mint, .surface-outline, .surface-pattern) .copy-muted {
  color: rgba(244, 241, 234, 0.78);
}

:where(html[data-theme="dark"]) .surface-dark :is(.surface-paper, .surface-soft, .surface-yellow, .surface-pink, .surface-sky, .surface-mint, .surface-outline, .surface-pattern) .meta-muted,
:where(html[data-theme="dark"]) .surface-red :is(.surface-paper, .surface-soft, .surface-yellow, .surface-pink, .surface-sky, .surface-mint, .surface-outline, .surface-pattern) .meta-muted {
  color: rgba(244, 241, 234, 0.58);
}

:where(html[data-theme="dark"]) .surface-dark :is(.surface-paper, .surface-soft, .surface-yellow, .surface-pink, .surface-sky, .surface-mint, .surface-outline, .surface-pattern) .proof-copy,
:where(html[data-theme="dark"]) .surface-red :is(.surface-paper, .surface-soft, .surface-yellow, .surface-pink, .surface-sky, .surface-mint, .surface-outline, .surface-pattern) .proof-copy {
  color: rgba(244, 241, 234, 0.78);
}

:where(html[data-theme="dark"]) .surface-card-light .copy-muted,
:where(html[data-theme="dark"]) .surface-card-light .proof-copy {
  color: rgba(17, 17, 17, 0.72);
}

:where(html[data-theme="dark"]) .surface-card-light .meta-muted,
:where(html[data-theme="dark"]) .surface-card-light .panel-label {
  color: rgba(17, 17, 17, 0.56);
}

:where(html[data-theme="dark"]) .hero-kicker,
:where(html[data-theme="dark"]) .section-kicker {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--ink);
}

:where(html[data-theme="dark"]) .badge-punch {
  border-color: rgba(255, 255, 255, 0.16);
}

:where(html[data-theme="dark"]) .punch-paper {
  background: rgba(255, 255, 255, 0.94);
  color: #111111;
}

/* The pastel chips stay pastel in the dark, so their words stay dark: light text on them was unreadable. */
:where(html[data-theme="dark"]) .punch-yellow,
:where(html[data-theme="dark"]) .punch-mint,
:where(html[data-theme="dark"]) .punch-sky,
:where(html[data-theme="dark"]) .punch-pink {
  color: #111111;
}

:where(html[data-theme="dark"]) .button-black {
  background: rgba(255, 249, 239, 0.96);
  color: #111111;
  border-color: rgba(255, 255, 255, 0.14);
  --ripple-color: rgba(17, 17, 17, 0.18);
}

:where(html[data-theme="dark"]) .site-header .button-black.nav-cta {
  background: #171717;
  color: #ffffff;
  border-color: #171717;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.68);
}

:where(html[data-theme="dark"]) .button-white {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.16);
}

:where(html[data-theme="dark"]) .button-yellow,
:where(html[data-theme="dark"]) .button-red {
  border-color: rgba(255, 255, 255, 0.12);
}

:where(html[data-theme="dark"]) .mini-stat,
:where(html[data-theme="dark"]) .note-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

:where(html[data-theme="dark"]) .mini-stat-label {
  color: rgba(244, 241, 234, 0.7);
}

:where(html[data-theme="dark"]) .key-list li,
:where(html[data-theme="dark"]) .detail-list li,
:where(html[data-theme="dark"]) .note-list li {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

:where(html[data-theme="dark"]) :is(.surface-paper, .surface-soft, .surface-yellow, .surface-pink, .surface-sky, .surface-mint, .surface-outline, .surface-pattern) .key-list li,
:where(html[data-theme="dark"]) :is(.surface-paper, .surface-soft, .surface-yellow, .surface-pink, .surface-sky, .surface-mint, .surface-outline, .surface-pattern) .detail-list li,
:where(html[data-theme="dark"]) :is(.surface-paper, .surface-soft, .surface-yellow, .surface-pink, .surface-sky, .surface-mint, .surface-outline, .surface-pattern) .note-list li {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

:where(html[data-theme="dark"]) .surface-dark .key-list li,
:where(html[data-theme="dark"]) .surface-dark .detail-list li,
:where(html[data-theme="dark"]) .surface-dark .note-list li,
:where(html[data-theme="dark"]) .surface-red .key-list li,
:where(html[data-theme="dark"]) .surface-red .detail-list li,
:where(html[data-theme="dark"]) .surface-red .note-list li {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

:where(html[data-theme="dark"]) .surface-dark :is(.surface-paper, .surface-soft, .surface-yellow, .surface-pink, .surface-sky, .surface-mint, .surface-outline, .surface-pattern) .key-list li,
:where(html[data-theme="dark"]) .surface-dark :is(.surface-paper, .surface-soft, .surface-yellow, .surface-pink, .surface-sky, .surface-mint, .surface-outline, .surface-pattern) .detail-list li,
:where(html[data-theme="dark"]) .surface-dark :is(.surface-paper, .surface-soft, .surface-yellow, .surface-pink, .surface-sky, .surface-mint, .surface-outline, .surface-pattern) .note-list li,
:where(html[data-theme="dark"]) .surface-red :is(.surface-paper, .surface-soft, .surface-yellow, .surface-pink, .surface-sky, .surface-mint, .surface-outline, .surface-pattern) .key-list li,
:where(html[data-theme="dark"]) .surface-red :is(.surface-paper, .surface-soft, .surface-yellow, .surface-pink, .surface-sky, .surface-mint, .surface-outline, .surface-pattern) .detail-list li,
:where(html[data-theme="dark"]) .surface-red :is(.surface-paper, .surface-soft, .surface-yellow, .surface-pink, .surface-sky, .surface-mint, .surface-outline, .surface-pattern) .note-list li {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

:where(html[data-theme="dark"]) .surface-card-light .key-list li,
:where(html[data-theme="dark"]) .surface-card-light .detail-list li,
:where(html[data-theme="dark"]) .surface-card-light .note-list li {
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(17, 17, 17, 0.1);
}

:where(html[data-theme="dark"]) .surface-dark .key-list li,
:where(html[data-theme="dark"]) .surface-dark .detail-list li,
:where(html[data-theme="dark"]) .surface-dark .note-list li,
:where(html[data-theme="dark"]) .surface-red .key-list li,
:where(html[data-theme="dark"]) .surface-red .detail-list li,
:where(html[data-theme="dark"]) .surface-red .note-list li {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

:where(html[data-theme="dark"]) .art-card {
  background: rgba(255, 255, 255, 0.05);
}

:where(html[data-theme="dark"]) .art-card .label {
  background: rgba(12, 15, 21, 0.92);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.16);
}

:where(html[data-theme="dark"]) .faq-item {
  border-top-color: rgba(255, 255, 255, 0.12);
}

:where(html[data-theme="dark"]) .faq-answer {
  color: rgba(244, 241, 234, 0.74);
}

:where(html[data-theme="dark"]) .footer-panel {
  background: #05070b;
  border-color: rgba(255, 255, 255, 0.14);
}

:where(html[data-theme="dark"]) .footer-link {
  color: rgba(244, 241, 234, 0.78);
}

:where(html[data-theme="dark"]) .page-hero-band::before {
  background: rgba(91, 139, 255, 0.14);
}

:where(html[data-theme="dark"]) .surface-dark .panel-label,
:where(html[data-theme="dark"]) .surface-red .panel-label {
  color: rgba(255, 255, 255, 0.72);
}

:where(html[data-theme="dark"]) .surface-dark :is(.surface-paper, .surface-soft, .surface-yellow, .surface-pink, .surface-sky, .surface-mint, .surface-outline, .surface-pattern) .panel-label,
:where(html[data-theme="dark"]) .surface-red :is(.surface-paper, .surface-soft, .surface-yellow, .surface-pink, .surface-sky, .surface-mint, .surface-outline, .surface-pattern) .panel-label {
  color: rgba(244, 241, 234, 0.58);
}


@media (min-width: 768px) {
  .desktop-only {
    display: flex !important;
  }

  .feature-grid,
  .quote-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-grid,
  .gallery-grid,
  .faq-grid,
  .footer-grid,
  .art-collage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 1.5rem;
  }

  .manifesto-hero .hero-grid {
    grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.92fr);
  }

  .faq-grid {
    grid-template-columns: 0.92fr 1.08fr;
  }

  .gallery-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .mini-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-aside,
  .section-stack {
    height: 100%;
  }

  .hero-aside {
    grid-template-rows: minmax(0, 1.35fr) minmax(0, 0.65fr);
  }

  .section-stack {
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }

  .hero-aside > *,
  .section-stack > * {
    height: 100%;
  }
}

@media (max-width: 767px) {
  .mobile-only {
    display: inline-flex !important;
  }

  .mobile-sheet.mobile-only {
    display: grid !important;
  }

  .hero-title {
    max-width: 10ch;
    font-size: clamp(2.8rem, 15vw, 4.8rem);
    line-height: 1;
  }

  .button-row {
    display: grid;
  }

  .button-row .retro-button {
    width: 100%;
  }

  .retro-nav {
    padding: 0.8rem 0.85rem;
  }

  .site-header .logo-badge {
    padding-right: 0.8rem;
  }
}

@media (hover: hover) and (pointer: fine) {
  .retro-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 0 rgba(17, 17, 17, 0.88);
  }

  .nav-chip:hover,
  .footer-link:hover {
    color: inherit;
  }

  .site-header .nav-chip:hover {
    background: rgba(17, 17, 17, 0.08);
    border-color: rgba(17, 17, 17, 0.1);
  }

  .site-header .nav-chip.is-active:hover {
    background: rgba(17, 17, 17, 0.1);
    border-color: rgba(17, 17, 17, 0.12);
    color: var(--ink);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .retro-button,
  .retro-nav,
  .mobile-sheet,
  .faq-answer {
    transition: none !important;
    animation: none !important;
  }
}

/* ------------------------------------------------------------------------------------------
   November 2026: the landing page as AdultCoder is today.
   Additive only: nothing above is changed. Colours come from the variables and surface classes
   above, so the dark scheme covers everything here; borders are var(--ink), which turns cream
   in the dark.
   ------------------------------------------------------------------------------------------ */

/* Stats that count up. The number is an element of its own: app.js replaces a counter's whole
   text, and with the label inside it the label was lost ("0 0", "35B+", "1 1"). */
.mini-stat-number {
  font-size: clamp(2rem, 4.2vw, 2.7rem);
  line-height: 1;
}

.mini-stat-name {
  margin-top: 0.4rem;
  font-weight: 800;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .mini-stat-grid.mini-stat-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Hero: the shell in a terminal, stickers floating at their own depth. */
.hero-stage {
  position: relative;
  display: grid;
  gap: 1.1rem;
  align-content: start;
  padding-top: 0.6rem;
}

.ac-terminal {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #181818 0%, #0c0c0c 100%);
  color: #f4f1ea;
  box-shadow: 0 10px 0 rgba(17, 17, 17, 0.9), var(--shadow-card);
}

.ac-terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(244, 241, 234, 0.6);
}

.ac-terminal-bar i {
  display: inline-block;
  width: 0.72rem;
  height: 0.72rem;
  border: 1.5px solid rgba(0, 0, 0, 0.5);
  border-radius: 999px;
}

.ac-terminal-bar i:nth-of-type(1) { background: var(--red-pop); }
.ac-terminal-bar i:nth-of-type(2) { background: var(--yellow-pop); }
.ac-terminal-bar i:nth-of-type(3) { background: var(--mint-pop); }

.ac-terminal-bar span {
  margin-left: 0.5rem;
}

.ac-terminal pre {
  margin: 0;
  padding: 1.1rem 1.25rem 1.35rem;
  overflow-x: auto;
  font: 500 0.84rem/1.8 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  white-space: pre;
}

.ac-line {
  display: block;
}

/* On a phone a demo terminal wraps its lines, with a hanging indent, instead of hiding their ends behind a sideways
   scroll (19 Nov: lines up to 98px wider than a 390px screen's terminal). */
@media (max-width: 640px) {
  .ac-terminal pre {
    font-size: 0.78rem;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }

  .ac-line {
    padding-left: 1.4em;
    text-indent: -1.4em;
  }
}

.ac-terminal .t-c { color: rgba(244, 241, 234, 0.46); }
.ac-terminal .t-p { color: var(--yellow-pop); }
.ac-terminal .t-s { color: var(--mint-pop); }
.ac-terminal .t-k { color: var(--pink-pop); }

.ac-caret {
  display: inline-block;
  width: 0.55em;
  height: 1.05em;
  margin-left: 0.15em;
  vertical-align: -0.15em;
  background: var(--yellow-pop);
}

@media (prefers-reduced-motion: no-preference) {
  .ac-line {
    opacity: 0;
    transform: translateY(4px);
    animation: ac-line-in 0.45s ease forwards;
    animation-delay: calc(var(--i, 0) * 0.2s + 0.5s);
  }

  .ac-caret {
    animation: ac-blink 1.1s steps(1) infinite;
  }
}

@keyframes ac-line-in {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes ac-blink {
  50% {
    opacity: 0;
  }
}

.sticker-row {
  display: flex;
  flex-wrap: wrap;
  /* Each pill keeps its own height: stretched to the line (the third one's stagger made the line taller), two pills
     were 54px tall beside 39px ones (19 Nov). */
  align-items: flex-start;
  gap: 0.6rem;
}

.sticker {
  rotate: var(--tilt, -3deg);
  box-shadow: var(--shadow-button);
}

/* Stickers never cover the terminal's text: one sits on its corner, over the title bar; the rest
   ride in a row below it. */
.sticker:nth-child(1) { --tilt: 4deg; }
.sticker:nth-child(2) { --tilt: -5deg; }
.sticker:nth-child(3) { --tilt: 3deg; }
.sticker:nth-child(4) { --tilt: -2deg; }

@media (min-width: 1024px) {
  /* Room for the tilt (a tilted pill stands taller than its box) and for the few pixels of parallax each
     pill may move (`data-depth-max`), so the pills never touch each other, the terminal or the card below. */
  .sticker-row {
    justify-content: center;
    gap: 1.25rem 1.2rem;
    padding: 0.7rem 0.5rem 0.6rem;
  }

  .sticker:nth-child(1) {
    position: absolute;
    top: -0.55rem;
    right: -0.8rem;
    z-index: 2;
  }

  .sticker:nth-child(3) {
    margin-top: 0.9rem;
  }
}

/* What auto mode still stops for, as a card under the terminal. */
.brake-card {
  padding: 1.15rem 1.25rem 1.2rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-button);
}

.brake-lead {
  margin: 0.55rem 0 0;
  font-weight: 700;
  line-height: 1.5;
}

.brake-list {
  display: grid;
  gap: 0.4rem;
  margin: 0.7rem 0 0;
  padding: 0;
  list-style: none;
}

.brake-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
}

.brake-list li::before {
  content: "";
  flex: none;
  width: 0.85rem;
  height: 0.85rem;
  border: 2px solid #111111;
  border-radius: 3px;
  background: var(--red-pop);
}

/* Short checklists inside the audience cards. */
.tick-list {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  list-style: none;
}

.tick-list li {
  display: flex;
  gap: 0.6rem;
  line-height: 1.5;
  font-weight: 600;
}

.tick-list li::before {
  content: "\2713";
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border: 2px solid #111111;
  border-radius: 999px;
  background: var(--mint-pop);
  color: #111111;
  font-size: 0.75rem;
  font-weight: 900;
}

/* The FAQ's intro keeps to the top of its column, however long the list of questions. */
.faq-intro {
  align-content: start;
}

.punch-pink { background: var(--pink-pop); }
.punch-sky { background: var(--sky-pop); }

/* What it does today: twelve cards, one icon each. */
.cap-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .cap-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1200px) {
  .cap-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.cap-card {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  padding: 1.3rem 1.3rem 1.4rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.cap-card h3 {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cap-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.cap-icon {
  display: grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  border: 2px solid #111111;
  border-radius: 16px;
  background: var(--yellow-pop);
  color: #111111;
}

.cap-icon svg {
  width: 1.65rem;
  height: 1.65rem;
}

.cap-card[data-tone="pink"] .cap-icon { background: var(--pink-pop); }
.cap-card[data-tone="mint"] .cap-icon { background: var(--mint-pop); }
.cap-card[data-tone="sky"] .cap-icon { background: var(--sky-pop); }
.cap-card[data-tone="red"] .cap-icon { background: var(--red-pop); }

@media (hover: hover) and (pointer: fine) {
  .cap-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-button);
  }
}

/* Where your code goes: three zones, two wires. */
.boundary {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .boundary {
    grid-template-columns: minmax(0, 1.05fr) 6.5rem minmax(0, 0.95fr);
    align-items: stretch;
  }
}

.zone {
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
}

.zone h3 {
  margin: 0.5rem 0 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.zone p {
  margin: 0.6rem 0 0;
  line-height: 1.6;
}

.zone-machine {
  display: grid;
  align-content: start;
  gap: 0.2rem;
  border-width: 3px;
  box-shadow: var(--shadow-button);
}

.zone-chips {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.zone-chips li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  font-weight: 700;
}

.zone-chips code {
  font: 600 0.9em ui-monospace, Menlo, Consolas, monospace;
}

.zone-side {
  display: grid;
  gap: 1rem;
}

.zone-lan {
  border-style: dashed;
}

.wires {
  display: none;
}

@media (min-width: 900px) {
  .wires {
    display: grid;
    grid-template-rows: 1fr 1fr;
    align-items: center;
  }
}

.wire {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.wire::before {
  content: "";
  width: 100%;
  height: 0;
  border-top: 3px solid var(--ink);
}

.wire-dashed::before {
  border-top-style: dashed;
  border-top-color: var(--red-pop);
}

.wire-dashed {
  color: var(--red-pop);
}

@media (prefers-reduced-motion: no-preference) {
  .wire-dashed::before {
    animation: wire-flow 1.6s linear infinite;
    border-top: 0;
    height: 3px;
    background: repeating-linear-gradient(90deg, var(--red-pop) 0 10px, transparent 10px 18px);
    background-size: 18px 3px;
  }
}

@keyframes wire-flow {
  to {
    background-position: 18px 0;
  }
}

/* What breaks once a team depends on AI coding, each with its answer: the problem in a few words, then what
   AdultCoder does about it below a dashed rule. The last card says why it was built. */
.pain-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 760px) {
  .pain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1200px) {
  .pain-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.pain-card {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  padding: 1.35rem 1.35rem 1.45rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
}

/* A card's head: its number, title and problem, flowing as one. */
.pain-head {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

/* From two columns up, the cards in a row share three rows (subgrid): the head, the answer, and what comes next. Each
   answer starts at the same height across the row, so the dashed rules line up; a shorter head leaves its spare space
   just above the rule. The closing card has no answer, so it keeps its own rows and sets nothing for the others. */
@media (min-width: 760px) {
  @supports (grid-template-rows: subgrid) {
    .pain-card {
      grid-row: span 3;
      grid-template-rows: subgrid;
      row-gap: 0.75rem;
    }

    .pain-card.pain-why {
      grid-template-rows: none;
      align-content: start;
    }
  }
}

.pain-number {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.62;
}

.pain-card h3 {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.pain-problem {
  margin: 0;
  line-height: 1.55;
  opacity: 0.78;
}

.pain-answer {
  margin: 0.15rem 0 0;
  padding-top: 0.85rem;
  border-top: 2px dashed currentColor;
  font-weight: 600;
  line-height: 1.55;
}

.pain-answer-label {
  display: inline-block;
  margin-right: 0.35rem;
  padding: 0.1rem 0.5rem;
  border: 2px solid #111111;
  border-radius: 999px;
  background: var(--mint-pop);
  color: #111111;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: 0.1em;
}

/* The family: every product on one engine and one policy, each marked beta soon or in development. */
.family-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .family-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .family-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.family-card {
  display: grid;
  gap: 0.7rem;
  align-content: start;
  padding: 1.3rem 1.3rem 1.4rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
}

/* The status above the name, the same in every card, whatever the name's length. */
.family-head {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 0.6rem;
}

.family-card h3 {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.status-chip.is-beta {
  background: var(--mint-pop);
}

/* What is coming for a pain, under its answer: a status chip, then a line. */
.pain-next {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  opacity: 0.85;
}

.pain-next .status-chip {
  margin-right: 0.35rem;
  vertical-align: 0.08em;
}

.status-chip.is-coming {
  background: var(--sky-pop);
}

/* The early-access form (manifesto.html#contact): labelled fields, two columns from 640px, an error under the field
   it belongs to, and a decoy field that only bots fill in. */
.contact-card {
  --field-bg: #ffffff;
  --field-error: #c4321f;
}

.contact-grid {
  display: grid;
  gap: 0.9rem 1rem;
}

@media (min-width: 640px) {
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-wide { grid-column: 1 / -1; }
}

.contact-field {
  display: grid;
  gap: 0.35rem;
  align-content: start;
}

.contact-field label {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.contact-optional {
  margin-left: 0.3rem;
  font-weight: 600;
  opacity: 0.6;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  background: var(--field-bg);
  color: var(--ink);
  font: inherit;
}

.contact-field textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.contact-field input:focus-visible,
.contact-field select:focus-visible,
.contact-field textarea:focus-visible {
  outline: 3px solid var(--blue-pop);
  outline-offset: 2px;
}

.contact-field [aria-invalid="true"] {
  border-color: var(--field-error);
  box-shadow: 0 0 0 3px rgba(255, 77, 54, 0.2);
}

.contact-field-error,
.contact-error {
  margin: 0;
  color: var(--field-error);
  font-size: 0.82rem;
  font-weight: 700;
}

.contact-error {
  margin-top: 0.9rem;
  font-size: 0.92rem;
}

.contact-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 1.1rem;
}

.contact-preview {
  font-size: 0.85rem;
  opacity: 0.78;
}

.contact-actions .contact-preview {
  margin: 0;
}

/* The popup once a request is sent: centred over the page, on the paper colour in both schemes. Preflight's margin
   reset would pin a modal dialog to the corner, hence margin: auto. The content fills the dialog, so a click that
   lands on the dialog itself is a click on the backdrop. */
.contact-dialog {
  width: min(30rem, calc(100vw - 2rem));
  max-width: none;
  margin: auto;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius-xl);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-card);
}

.contact-dialog::backdrop {
  background: rgba(17, 17, 17, 0.6);
}

.contact-dialog-body {
  display: grid;
  justify-items: start;
  gap: 0.8rem;
  padding: 1.75rem;
}

.contact-dialog-mark {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 2px solid #111111;
  border-radius: 999px;
  background: var(--mint-pop);
  color: #111111;
}

.contact-dialog-label {
  opacity: 0.62;
}

.contact-dialog-text {
  line-height: 1.6;
}

.contact-dialog-text strong {
  overflow-wrap: anywhere;
}

.contact-dialog-actions {
  margin-top: 0.4rem;
}

@media (prefers-reduced-motion: no-preference) {
  .contact-dialog[open] {
    animation: contact-dialog-in 180ms ease-out;
  }

  @keyframes contact-dialog-in {
    from {
      opacity: 0;
      transform: translateY(10px) scale(0.98);
    }
  }
}

/* Dark theme: on when <html> has data-theme="dark", which the header's toggle sets (assets/app.js). */
:where(html[data-theme="dark"]) .contact-card {
  --field-bg: rgba(255, 255, 255, 0.06);
  --field-error: #ff8a78;
}


/* The app's icon, heading the family it belongs to. */
.family-icon {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 0.9rem;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.65rem;
  border: 2px solid #111111;
  border-radius: 999px;
  background: var(--yellow-pop);
  color: #111111;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* The header on a narrow phone: the menu button used to be squeezed to 42px and pushed 11px past
   a 390px screen, because the logo's letter-spaced tagline took the row. Every page shares this. */
.site-header .nav-menu {
  flex-shrink: 0;
}

@media (max-width: 479px) {
  .site-header .logo-badge > span:last-child > span:last-child {
    display: none;
  }
}

/* Numbered and lettered markers sit on yellow in both schemes, so their figure stays dark: in the
   dark scheme var(--ink) turned it cream, and on yellow it all but vanished. */
.list-mark {
  color: #111111;
}
