/* Kaiuna site: "Strands". Light only.
   A light grey stage, ink type, and one warm colour (cloudberry) for the glow.
   Display type: Saira. Text: Instrument Sans. No mono anywhere.
   Shape rule: square edges everywhere. Controls are text with an underline, not pills.
   The only round things are the milestone markers on the timeline. */

:root {
  --bg: #D5D8D9;
  --bg-hi: #E7E9E9;
  --bg-lo: #BCC1C3;
  --text: #0E171C;
  --muted: #3B484E;               /* 6:1 on --bg */
  --line: rgb(14 23 28 / .14);
  --line-strong: rgb(14 23 28 / .5);
  --accent: #9A4200;              /* ember, darkened to pass 4.5:1 on the grey */
  --glow: #F29B38;                /* cloudberry */

  /* read by story.js */
  --strand-ink: #161C20;
  --strand-copper: #8A4C22;
  --strand-pale: #9AA1A4;
  --strand-warm: #E0892F;
  --strand-tip: #FFD27A;
  --strand-sheen: rgba(255, 255, 255, .34);

  --font-display: "Saira", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-text: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 3.2vw, 44px);
  --header-h: 72px;
  --maxw: 1320px;
  --section: clamp(96px, 12vw, 176px);
  --chapter-h: 180svh;            /* each story chapter: a long hold, then one screen of falling */
  --ease: cubic-bezier(.23, 1, .32, 1);          /* strong ease-out: entrances, feedback */
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);  /* things that move or draw on screen */
  color-scheme: light;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; background: var(--bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
/* Controls fire on tap without the double-tap wait, and a long press doesn't select their labels. */
a, button, summary { touch-action: manipulation; }
button, summary, .cta { user-select: none; -webkit-user-select: none; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
/* Fine grain over everything. Fixed and inert, so it never repaints on scroll. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: .07;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg, canvas { display: block; }
[hidden] { display: none !important; }   /* hidden always wins over a component's own display */
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
::selection { background: var(--glow); color: var(--text); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip {
  position: fixed; left: 12px; top: 12px; z-index: 60;
  padding: 10px 16px;
  background: var(--text); color: var(--bg); text-decoration: none;
  transform: translateY(-160%);
}
.skip:focus { transform: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */

.display, .display-m, .h-section {
  font-family: var(--font-display);
  font-weight: 400;
  font-stretch: 106%;
  text-transform: uppercase;
  letter-spacing: -.005em;
}
.display { font-size: clamp(34px, 3.3vw + 6px, 56px); line-height: 1.06; }
.display-m { font-size: clamp(30px, 2.8vw + 6px, 48px); line-height: 1.08; }
.h-section { font-size: clamp(26px, 1.6vw + 12px, 36px); line-height: 1.1; }
.display .ln { display: block; padding-bottom: .04em; }
/* One lowercase italic word, in the hero only: same family, lighter. */
.hero-title em { font-style: italic; font-weight: 300; text-transform: none; letter-spacing: 0; }
.hero-title .ln + .ln { padding-left: 1.4em; }
.lede, .body { max-width: 30rem; color: var(--muted); }
.lede { font-size: 17px; }
.section-lede { max-width: 36rem; margin-top: 18px; color: var(--muted); }

/* ---------- Controls: text with an underline and an arrow ---------- */

.cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 0 0 7px;
  border: 0; border-bottom: 1px solid currentColor; border-radius: 0;
  background: none; color: var(--text);
  font: 500 15px/1.2 var(--font-text);
  letter-spacing: .005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: opacity .16s ease;
}
.cta .arr { display: inline-block; transition: transform .25s var(--ease); }
.cta:active { opacity: .55; }
.cta-sm { font-size: 14px; padding-bottom: 5px; }
.cta-quiet { color: var(--muted); font-size: 14.5px; border-bottom-color: var(--line-strong); }
.cta-quiet[aria-pressed="true"] { color: var(--text); border-bottom-color: var(--text); }
.cta-quiet[aria-pressed="true"] .arr { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cta:hover .arr { transform: translateX(4px); }
  .cta-quiet:hover { color: var(--text); border-bottom-color: var(--text); }
}

/* ---------- Header ---------- */

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  display: flex; align-items: center; gap: 36px;
  /* edge to edge under the notch, content padded clear of it */
  height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) max(var(--gutter), env(safe-area-inset-right, 0px)) 0 max(var(--gutter), env(safe-area-inset-left, 0px));
  transition: background-color .4s ease, box-shadow .4s ease;
}
.site-header.is-solid {
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 1px 0 var(--line);
}
.brand { display: inline-flex; color: var(--text); }
.brand img { height: 32px; width: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.nav a { position: relative; font-size: 14.5px; text-decoration: none; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .3s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .nav a:hover::after { transform: scaleX(1); transform-origin: left; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .site-header .cta { margin-left: auto; }
}

/* ---------- The story ----------
   Without story.js: chapters stack as plain sections, no canvas.
   With story.js (html.story-on): the canvas stays pinned and the chapters scroll over it.
   Each chapter's text holds in place for a while (sticky frame), then scrolls away
   while the strings fall into the next shape. */

.story { position: relative; }
.stage { display: none; }
.chapter { padding: calc(var(--header-h) + 48px) var(--gutter) 64px; }
.frame { display: flex; flex-direction: column; justify-content: center; gap: 22px; min-height: 60svh; }
.copy { display: grid; gap: 22px; justify-items: start; }

.story-on .stage {
  display: block;
  position: sticky; top: 0; z-index: 0;
  height: 100svh;
  margin-bottom: -100svh;          /* chapters start at the top of the stage, over it */
  overflow: hidden;
  background: radial-gradient(120% 95% at 66% 28%, var(--bg-hi) 0%, var(--bg) 50%, var(--bg-lo) 100%);
}
.strands { position: absolute; inset: 0; width: 100%; height: 100%; }
.story-on .chapter {
  position: relative; z-index: 1;
  height: var(--chapter-h);
  padding: 0;
  pointer-events: none;
}
.story-on .frame {
  position: sticky; top: 0;
  height: 100svh; min-height: 0;
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 40px) max(var(--gutter), env(safe-area-inset-right, 0px)) clamp(28px, 6vh, 64px) max(var(--gutter), env(safe-area-inset-left, 0px));
}
.story-on .frame > * { pointer-events: auto; }

/* Chapter layouts (wide screens). Each one leaves room for its shape. */
.story-on .ch-voice .frame {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 330px);
  align-items: end; gap: 40px;
}
.hero-side { display: grid; gap: 26px; justify-items: start; }
.story-on .ch-sound .copy { max-width: 30rem; }
.story-on .ch-both .frame { align-items: flex-end; padding-right: calc(var(--gutter) + 130px); }
.story-on .ch-both .copy { width: min(27rem, 100%); }
.story-on .ch-origin .frame { justify-content: flex-end; }
.story-on .ch-origin .copy { max-width: 34rem; }

/* Text fades in as its chapter scrolls up, and out as it leaves, so two chapters never compete
   and nothing slides under the header at full strength. Scroll-driven CSS, no JS; browsers
   without it just scroll the text normally. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .story-on .chapter { view-timeline: --chapter block; }
    .story-on .frame > * {
      animation: chapter-in linear both, chapter-out linear forwards;
      animation-timeline: --chapter, --chapter;
      animation-range: entry 20% entry 80%, exit 10% exit 60%;
    }
  }
}
@keyframes chapter-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes chapter-out { from { opacity: 1; } to { opacity: 0; } }

.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; font-size: 14px; color: var(--muted); }
.legend .item { display: inline-flex; align-items: center; gap: 10px; }
.key { width: 18px; height: 2px; }
.key-you { background: var(--text); }
.key-ai { background: var(--glow); }

.mic { display: grid; gap: 10px; justify-items: start; margin-top: 4px; }
.mic-note { max-width: 25rem; font-size: 13.5px; color: var(--muted); }

/* Chapter rail: where you are in the story, and a way to jump. */
.rail {
  display: flex; flex-direction: column; align-items: flex-end; gap: 6px;
  position: absolute; z-index: 3;
  right: var(--gutter); top: 50%; transform: translateY(-50%);
}
.rail button {
  display: flex; align-items: center; gap: 12px;
  padding: 6px 0; border: 0; background: none; cursor: pointer;
  font: 500 13px/1 var(--font-text); color: var(--muted);
}
.rail .tick {
  order: 2; width: 40px; height: 1px; background: currentColor;
  transform: scaleX(.35); transform-origin: right;   /* scale, not width: no layout work per frame */
  transition: transform .45s var(--ease);
}
.rail .lbl { opacity: 0; transform: translateX(6px); transition: opacity .25s var(--ease), transform .35s var(--ease); }
.rail button.is-active { color: var(--text); }
.rail button.is-active .tick { transform: none; }
.rail button.is-active .lbl, .rail button:focus-visible .lbl { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) {
  .rail button:hover .lbl { opacity: 1; transform: none; }
}

/* Tall and narrow screens: the shape sits in the upper half, text at the bottom over a soft fade. */
@media (max-width: 900px), (max-aspect-ratio: 19/20) {
  .story-on .stage::after {
    content: ""; position: absolute; inset: auto 0 0 0; z-index: 1; height: 56%;
    background: linear-gradient(to top, var(--bg) 42%, color-mix(in srgb, var(--bg) 0%, transparent));
    pointer-events: none;
  }
  .story-on .frame { justify-content: flex-end; padding-bottom: max(28px, env(safe-area-inset-bottom)); gap: 16px; }
  .story-on .ch-voice .frame { display: flex; align-items: stretch; }   /* the desktop rule's align-items: end would push the text right */
  .story-on .ch-both .frame { align-items: stretch; padding-right: var(--gutter); }
  .hero-title .ln + .ln { padding-left: .9em; }
  .rail { top: calc(var(--header-h) + 4px); transform: none; flex-direction: row; gap: 4px; }
  .rail .lbl { display: none; }
  .rail button { padding: 10px 0; }
  .rail .tick { width: 28px; transform: scaleX(.43); }
  .rail button.is-active .tick { transform: none; }
}

/* ---------- Where it stands ---------- */

.status { padding: var(--section) 0 calc(var(--section) * .7); }
.timeline {
  position: relative;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 72px 0 0; padding: 0; list-style: none;
}
.timeline::before {
  content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px;
  background: linear-gradient(to right, var(--line-strong) 66%, transparent 66%, transparent 67%, var(--line) 67%);
  transform-origin: left;
}
.timeline li { position: relative; padding: 44px 40px 0 0; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--text); border: 1px solid var(--text);
}
.timeline li.next::before { background: var(--bg); border-style: dashed; }
.when { margin-bottom: 12px; font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.timeline h3 { margin-bottom: 10px; font-family: var(--font-display); font-weight: 500; font-size: 22px; line-height: 1.2; }
.timeline p:not(.when) { max-width: 22rem; color: var(--muted); }
@media (max-width: 760px) {
  .timeline { grid-template-columns: 1fr; margin-top: 48px; }
  .timeline::before { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: var(--line-strong); transform-origin: top; }
  .timeline li { padding: 0 0 44px 44px; }
}

/* ---------- Principles ---------- */

.principles { padding: calc(var(--section) * .7) 0 var(--section); }
.rules {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(32px, 7vw, 120px); row-gap: 56px;
  margin: 64px 0 0; padding: 0; list-style: none;
}
.rules li { padding-top: 24px; border-top: 1px solid var(--line-strong); }
.rules li:nth-child(even) { margin-top: 80px; }
.rules h3 { margin-bottom: 12px; font-family: var(--font-display); font-stretch: 106%; font-size: clamp(22px, 1.4vw + 10px, 30px); line-height: 1.15; text-transform: uppercase; }
.rules p { max-width: 30rem; color: var(--muted); }
@media (max-width: 760px) {
  .rules { grid-template-columns: 1fr; row-gap: 40px; margin-top: 44px; }
  .rules li:nth-child(even) { margin-top: 0; }
}

/* ---------- Questions ---------- */

.faq { padding: 0 0 var(--section); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; align-items: start; }
.faq-grid > .h-section { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-list details { border-bottom: 1px solid var(--line-strong); }
.faq-list details:first-child { border-top: 1px solid var(--line-strong); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 20px; line-height: 1.3;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list details p { max-width: 38rem; padding: 0 0 26px; color: var(--muted); }
.plus { position: relative; flex: none; width: 14px; height: 14px; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 14px; height: 1px; background: currentColor; transition: transform .22s var(--ease); }
.plus::after { transform: rotate(90deg); }
details[open] .plus::after { transform: rotate(0deg); }
@media (max-width: 760px) {
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .faq-grid > .h-section { position: static; }
  .faq-list summary { font-size: 18px; }
}

/* ---------- Follow the build ---------- */

.follow {
  position: relative; overflow: hidden;
  padding: var(--section) 0;
  border-top: 1px solid var(--line);
  background: radial-gradient(60% 80% at 85% 100%, color-mix(in srgb, var(--glow) 14%, transparent), transparent 70%);
}
.follow-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: end; }
.follow-title { font-size: clamp(44px, 6.2vw, 104px); line-height: 1; }
.follow-side { display: grid; gap: 28px; }
.follow-form { display: grid; gap: 4px; }
.follow-form label { font-size: 14px; font-weight: 500; }
/* One underlined line: the address on the left, the action on the right. */
.field {
  display: flex; align-items: center; gap: 20px;
  border-bottom: 1px solid var(--text);
  transition: box-shadow .2s ease;
}
.field:focus-within { box-shadow: 0 1px 0 0 var(--text); }
.field:has(input[aria-invalid="true"]) { border-bottom-color: var(--accent); box-shadow: 0 1px 0 0 var(--accent); }
.field input {
  flex: 1; min-width: 0; height: 54px; padding: 0;
  border: 0; border-radius: 0; background: transparent; color: var(--text);
  font: 18px/1 var(--font-text);
  outline: none;                   /* focus shows on the line below instead */
}
.field input::placeholder { color: var(--muted); }
.field-submit {
  flex: none; display: inline-flex; align-items: center; gap: 12px;
  height: 54px; padding: 0; border: 0; background: none; cursor: pointer;
  font: 500 15px/1 var(--font-text); color: var(--text);
  transition: opacity .16s ease;
}
.field-submit .arr { display: inline-block; transition: transform .25s var(--ease); }
.field-submit:active { opacity: .55; }
@media (hover: hover) and (pointer: fine) {
  .field-submit:hover .arr { transform: translateX(4px); }
}
.f-error { margin-top: 8px; font-size: 14px; color: var(--accent); }
.field-submit[disabled] { opacity: .55; cursor: progress; }
.f-confirm { display: grid; gap: 18px; justify-items: start; }
/* the bot trap: present for scripts, invisible and unreachable for people */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-done { font-size: 17px; }
.f-done:focus { outline: none; }
.f-privacy { font-size: 13.5px; color: var(--muted); }
@media (max-width: 760px) {
  .follow-grid { grid-template-columns: 1fr; }
  .field input { font-size: 16px; }
}

/* ---------- Footer ---------- */

.site-footer { padding: 32px 0 calc(40px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.footer-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; }
.footer-mail { font-family: var(--font-display); font-size: 20px; text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .footer-mail:hover { text-decoration: underline; text-underline-offset: 4px; }
}
.footer-small { font-size: 13.5px; color: var(--muted); }

/* ---------- Reveal on scroll (only under html.motion) ---------- */

.motion [data-reveal] {
  opacity: 0; transform: translateY(16px);
  transition: opacity .6s var(--ease) var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms);
}
.motion [data-reveal].in { opacity: 1; transform: none; }
/* the timeline line draws across once its stops are in: on-screen movement, so ease-in-out */
.motion .timeline::before { transform: scaleX(0); transition: transform 1.1s var(--ease-in-out) .15s; }
.motion .timeline.in::before { transform: none; }
@media (max-width: 760px) {
  .motion .timeline::before { transform: scaleY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* ---------- Document pages: the privacy notice and the legal notice (privacy.html, legal.html) ---------- */

.doc { padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(56px, 8vw, 104px)) 0 var(--section); }
.doc-head { max-width: 46rem; display: grid; gap: 18px; }
.doc-title { font-size: clamp(44px, 5.6vw, 84px); line-height: 1; }
.doc-meta { font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.doc-grid {
  display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 44rem);
  gap: clamp(32px, 6vw, 112px); align-items: start;
  margin-top: clamp(48px, 7vw, 88px);
}
/* "On this page": stays in view beside the text on wide screens */
.toc {
  position: sticky; top: calc(var(--header-h) + 32px);
  display: grid; gap: 10px; padding-top: 20px;
  border-top: 1px solid var(--line-strong);
  font-size: 14px;
}
.toc a { color: var(--muted); text-decoration: none; transition: color .2s ease; }
@media (hover: hover) and (pointer: fine) { .toc a:hover { color: var(--text); } }
.doc-body { max-width: 44rem; }
.doc-body-wide { margin-top: clamp(48px, 7vw, 88px); }
.doc-body section { scroll-margin-top: calc(var(--header-h) + 24px); }
.doc-body section + section { margin-top: 52px; }
.doc-body h2 {
  margin-bottom: 16px; padding-top: 20px;
  border-top: 1px solid var(--line-strong);
  font-family: var(--font-display); font-stretch: 106%; text-transform: uppercase;
  font-size: clamp(20px, 1vw + 14px, 26px); line-height: 1.15;
}
.doc-body p, .doc-body li, .doc-body dd { color: var(--muted); }
.doc-body p + p, .doc-body ul + p, .doc-body .table-wrap + p { margin-top: 14px; }
.doc-body ul { margin: 12px 0 0; padding-left: 1.15em; }
.doc-body li + li { margin-top: 8px; }
.doc-body li::marker { color: var(--accent); }
.doc-body strong { color: var(--text); font-weight: 600; }
.doc-body a { color: var(--text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
/* the short version: one framed summary at the top */
.doc-body .short { padding: 26px 28px 28px; border: 1px solid var(--line-strong); background: rgb(255 255 255 / .22); }
.doc-body .short h2 { border-top: 0; padding-top: 0; }
.table-wrap { overflow-x: auto; margin-top: 18px; }
.doc-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; line-height: 1.45; }
.doc-table th, .doc-table td { padding: 12px 18px 12px 0; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.doc-table thead th { border-top: 0; font-weight: 600; font-size: 13px; color: var(--text); }
.doc-table td { color: var(--muted); }
.doc-table td:first-child { color: var(--text); white-space: nowrap; }
/* legal notice: who, how to reach us */
.facts { margin: 0 0 52px; }
.facts > div { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: 24px; padding: 16px 0; border-top: 1px solid var(--line-strong); }
.facts > div:last-child { border-bottom: 1px solid var(--line-strong); }
.facts dt { font-weight: 600; font-size: 14.5px; }
.facts dd { margin: 0; }
/* footer links on every page */
.footer-links { display: flex; gap: 22px; font-size: 13.5px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a[aria-current="page"] { color: var(--text); }
@media (hover: hover) and (pointer: fine) {
  .footer-links a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
}
@media (max-width: 900px) {
  .doc-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }   /* minmax(0): the wide table scrolls inside its box, the page doesn't */
  .toc { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .facts > div { grid-template-columns: 1fr; gap: 4px; }
  .toc { grid-template-columns: 1fr; }
}
