/* ==========================================================================
   PandoCloud — marketing site
   Self-contained: every font, style and image on this page is served from the
   machine serving the page. No external requests, by design (see D41).
   ========================================================================== */

@font-face {
  font-family: 'Archivo';
  src: url('/fonts/archivo-latin-var.woff2') format('woff2-variations');
  font-weight: 400 700;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sometype Mono';
  src: url('/fonts/sometype-mono-latin-var.woff2') format('woff2-variations');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------------------------------------------------------------- tokens -- */

:root {
  /* type */
  --sans: 'Archivo', ui-sans-serif, system-ui, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Sometype Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --step--1: 0.8125rem;
  --step-0: 1.0625rem;
  --step-1: clamp(1.15rem, 1.06rem + 0.42vw, 1.4rem);
  --step-2: clamp(1.35rem, 1.18rem + 0.8vw, 1.85rem);
  --step-3: clamp(1.9rem, 1.4rem + 2.4vw, 3.1rem);
  --step-4: clamp(2.7rem, 1.55rem + 5.6vw, 5.4rem);

  /* rhythm */
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --measure: 66ch;
  --band: clamp(4rem, 8vw, 7.5rem);
  --wrap: 78rem;

  /* colour — light (default). Map inks on white paper. */
  --bg: oklch(1 0 0);
  --surface: oklch(0.972 0.01 118);
  --surface-2: oklch(0.945 0.014 118);
  --ink: oklch(0.205 0.014 118);
  --ink-2: oklch(0.44 0.016 118);
  --rule: oklch(0.88 0.012 118);
  --rule-soft: oklch(0.93 0.01 118);
  --primary: oklch(0.4 0.085 122);
  --primary-strong: oklch(0.32 0.075 122);
  --accent: oklch(0.51 0.112 66);
  --water: oklch(0.5 0.065 236);
  --contour: oklch(0.4 0.085 122 / 0.34);

  /* the deep band — identical in both themes; it is its own place */
  --deep: oklch(0.26 0.045 128);
  --deep-ink: oklch(0.95 0.012 118);
  --deep-ink-2: oklch(0.82 0.02 118);
  --deep-accent: oklch(0.8 0.13 74);
  --deep-rule: oklch(0.4 0.05 128);

  --focus: oklch(0.51 0.112 66);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: light;
}

/* Dark tokens. Declared twice on purpose: once for the system preference
   (so the page is theme-aware with JavaScript disabled) and once for an
   explicit choice, which must win over the system in both directions. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    color-scheme: dark;
    --bg: oklch(0.155 0.014 122);
    --surface: oklch(0.195 0.016 122);
    --surface-2: oklch(0.235 0.018 122);
    --ink: oklch(0.93 0.01 118);
    --ink-2: oklch(0.735 0.014 118);
    --rule: oklch(0.32 0.018 122);
    --rule-soft: oklch(0.26 0.016 122);
    --primary: oklch(0.83 0.14 118);
    --primary-strong: oklch(0.9 0.13 118);
    --accent: oklch(0.8 0.13 72);
    --water: oklch(0.74 0.08 236);
    --contour: oklch(0.83 0.14 118 / 0.3);
    --deep: oklch(0.215 0.032 128);
    --deep-rule: oklch(0.36 0.04 128);
    --focus: oklch(0.85 0.13 90);
  }
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: oklch(0.155 0.014 122);
  --surface: oklch(0.195 0.016 122);
  --surface-2: oklch(0.235 0.018 122);
  --ink: oklch(0.93 0.01 118);
  --ink-2: oklch(0.735 0.014 118);
  --rule: oklch(0.32 0.018 122);
  --rule-soft: oklch(0.26 0.016 122);
  --primary: oklch(0.83 0.14 118);
  --primary-strong: oklch(0.9 0.13 118);
  --accent: oklch(0.8 0.13 72);
  --water: oklch(0.74 0.08 236);
  --contour: oklch(0.83 0.14 118 / 0.3);
  --deep: oklch(0.215 0.032 128);
  --deep-rule: oklch(0.36 0.04 128);
  --focus: oklch(0.85 0.13 90);
}

/* ------------------------------------------------------------------ base -- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-block-start: 5.5rem;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  font-variation-settings: 'wdth' 100;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: oklch(0.83 0.14 118 / 0.35);
  color: var(--ink);
}

h1,
h2,
h3 {
  font-weight: 700;
  font-variation-settings: 'wdth' 82;
  letter-spacing: -0.022em;
  line-height: 1.02;
  text-wrap: balance;
  margin: 0;
}

h1 {
  font-size: var(--step-4);
  letter-spacing: -0.032em;
}
h2 {
  font-size: var(--step-3);
  letter-spacing: -0.028em;
}
h3 {
  font-size: var(--step-2);
  line-height: 1.14;
  font-variation-settings: 'wdth' 88;
}

p {
  margin: 0 0 1.05em;
  text-wrap: pretty;
}
p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: color-mix(in oklab, var(--primary) 45%, transparent);
  transition: color 0.18s var(--ease), text-decoration-color 0.18s var(--ease);
}
a:hover {
  color: var(--primary-strong);
  text-decoration-color: currentColor;
}

strong {
  font-weight: 600;
}
em {
  font-style: normal;
  font-weight: 600;
  color: var(--primary);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 1px;
}

.num,
code,
pre {
  font-family: var(--mono);
  font-size: 0.92em;
  font-variant-ligatures: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  z-index: 60;
  inset-inline-start: var(--gutter);
  inset-block-start: -4rem;
  padding: 0.6rem 1rem;
  background: var(--primary);
  color: var(--bg);
  font-size: var(--step--1);
  text-decoration: none;
  transition: inset-block-start 0.2s var(--ease);
}
.skip-link:focus {
  inset-block-start: 0.6rem;
}

/* -------------------------------------------------------------- masthead -- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
  padding: 0.85rem var(--gutter);
  background: var(--bg);
  border-bottom: 1px solid var(--rule-soft);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-variation-settings: 'wdth' 88;
  letter-spacing: -0.02em;
  font-size: 1.06rem;
  margin-inline-end: auto;
}
.wordmark .mark {
  width: 1.55rem;
  height: 1.55rem;
  color: var(--primary);
  flex: none;
}
.wordmark:hover {
  color: var(--primary);
}

.masthead nav {
  display: flex;
  gap: clamp(0.9rem, 2.2vw, 1.9rem);
  font-size: var(--step--1);
}
.masthead nav a {
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
}
.masthead nav a:hover {
  color: var(--primary);
}

.theme-toggle {
  font: inherit;
  font-size: var(--step--1);
  font-family: var(--mono);
  color: var(--ink-2);
  background: transparent;
  border: 1px solid var(--rule);
  padding: 0.3rem 0.6rem;
  cursor: pointer;
  min-width: 5.1rem;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.theme-toggle:hover {
  color: var(--primary);
  border-color: var(--primary);
}

@media (max-width: 46rem) {
  .masthead nav {
    display: none;
  }
}

/* ------------------------------------------------------------------ hero -- */

.hero {
  padding: clamp(3rem, 7vw, 6rem) var(--gutter) 0;
  max-width: var(--wrap);
  margin-inline: auto;
}

.hero__copy {
  max-width: 54rem;
}

.hero h1 {
  max-width: 22ch;
}

.lede {
  margin-block: clamp(1.4rem, 3vw, 2rem) 0;
  max-width: 56ch;
  font-size: var(--step-1);
  line-height: 1.45;
  color: var(--ink);
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.4rem;
  margin-block: 1.6rem 0;
  font-family: var(--mono);
  font-size: var(--step--1);
  color: var(--ink-2);
}
.facts span {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
}
.facts span::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--accent);
  translate: 0 -0.22em;
  flex: none;
}

.upfront {
  margin-block-start: clamp(2rem, 4vw, 2.75rem);
  padding-block-start: 1.4rem;
  border-top: 1px solid var(--rule);
  max-width: 62ch;
}
.upfront p {
  font-size: 1rem;
  color: var(--ink-2);
}
.upfront em {
  color: var(--ink);
}
.upfront__more {
  font-family: var(--mono);
  font-size: var(--step--1);
}
.upfront__more a {
  text-decoration: none;
  border-bottom: 1px solid color-mix(in oklab, var(--primary) 40%, transparent);
}

/* ------------------------------------------------- plates (figures/maps) -- */

.plate {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--rule);
}

.plate figcaption {
  padding: 0.9rem clamp(0.9rem, 2vw, 1.4rem) 1.05rem;
  border-top: 1px solid var(--rule);
  font-size: var(--step--1);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 78ch;
}
.fig {
  font-family: var(--mono);
  color: var(--accent);
  margin-inline-end: 0.35rem;
}

.hero__plate {
  margin-block-start: clamp(2.5rem, 5vw, 4rem);
}
.hero__plate .map {
  display: block;
  width: 100%;
  height: clamp(18rem, 42vw, 30rem);
  color: var(--contour);
}

/* contours — every path carries pathLength="1", so one dasharray fits all */
.map .contours path {
  stroke-width: 1;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  animation: draw 1.5s var(--ease) both;
  animation-delay: calc(var(--i) * 90ms);
}
@keyframes draw {
  from {
    stroke-dashoffset: 1;
  }
}
.map .contours path:last-child {
  stroke-width: 1.5;
}

/* streams */
.map .streams,
.cascade .streams {
  color: var(--water);
  opacity: 0.85;
}
.map .streams path {
  stroke-dasharray: 1;
  animation: draw 1.2s var(--ease) 0.5s both;
}

/* machine markers */
.nodes {
  font-family: var(--mono);
  font-size: 12.5px;
}
.node rect {
  fill: var(--bg);
  stroke: var(--primary);
  stroke-width: 1.5;
}
.node text {
  fill: var(--ink-2);
  dominant-baseline: middle;
  /* A cartographer's halo: labels stay readable where they cross a contour. */
  paint-order: stroke fill;
  stroke: var(--surface);
  stroke-width: 3.5px;
  stroke-linejoin: round;
}
/* Below tablet the plate is cropped and the labels would render at ~5px.
   The markers stay; the caption and the <desc> carry the meaning. */
@media (max-width: 48rem) {
  .node text {
    display: none;
  }
}
.node {
  animation: pop 0.5s var(--ease) both;
  animation-delay: calc(1s + var(--n, 0) * 110ms);
}
.node:nth-child(2) {
  --n: 1;
}
.node:nth-child(3) {
  --n: 2;
}
.node:nth-child(4) {
  --n: 3;
}
.node:nth-child(5) {
  --n: 4;
}
.node:nth-child(6) {
  --n: 5;
}
@keyframes pop {
  from {
    opacity: 0;
    scale: 0.9;
  }
}
.node--live rect {
  fill: var(--accent);
  stroke: var(--accent);
}
.node--live text {
  fill: var(--ink);
  font-weight: 600;
}
.node__pulse {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.25;
  transform-origin: center;
  animation: pulse 3.4s ease-out infinite;
}
@keyframes pulse {
  0% {
    scale: 0.55;
    opacity: 0.9;
  }
  70%,
  100% {
    scale: 2.1;
    opacity: 0;
  }
}

/* --------------------------------------------------------------- section -- */

.section {
  max-width: var(--wrap);
  margin-inline: auto;
  /* 0.6 because two adjacent sections stack their padding — the gap a reader
     sees between sections is 1.2 bands, not 2. */
  padding: calc(var(--band) * 0.6) var(--gutter);
}

/* Grid and flex children default to min-width:auto, which lets a long
   unbreakable child (the code block) push a column past the viewport on narrow
   screens. Let the columns shrink; the code block scrolls inside itself. */
.args > *,
.arg--wide > *,
.how-grid > *,
.hw > *,
.status > *,
.limits__grid > *,
.footer__cols > * {
  min-width: 0;
}

.section__head {
  max-width: 60ch;
  margin-block-end: clamp(2.5rem, 5vw, 4rem);
}
.section__lede {
  margin-block-start: 1.1rem;
  font-size: var(--step-1);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 56ch;
}

/* ------------------------------------------------------------ why place -- */

.args {
  display: grid;
  gap: clamp(2rem, 4vw, 3.25rem) clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(24rem, 100%), 1fr));
}
.arg {
  max-width: 46ch;
}
.arg h3 {
  margin-block-end: 0.75rem;
}
.arg p {
  color: var(--ink-2);
}

.arg--wide {
  grid-column: 1 / -1;
  max-width: none;
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.5rem) clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(26rem, 100%), 1fr));
  align-items: start;
  padding-block-start: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--rule);
}
.arg--wide h3 {
  grid-column: 1 / -1;
  max-width: 30ch;
  /* Bigger than its sibling h3s — it carries the section's closing argument —
     but deliberately smaller than an h2 so the hierarchy still reads. */
  font-size: clamp(1.65rem, 1.2rem + 1.7vw, 2.45rem);
  font-variation-settings: 'wdth' 82;
  letter-spacing: -0.028em;
}
.arg--wide > p:not(.arg__caveat) {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink);
  max-width: 44ch;
}
.arg__caveat {
  font-size: var(--step-0);
  color: var(--ink-2);
  padding: clamp(1.1rem, 2vw, 1.5rem) clamp(1.1rem, 2vw, 1.6rem);
  background: var(--surface);
  border: 1px solid var(--rule);
  max-width: 52ch;
}

/* ----------------------------------------------------------- how it works -- */

.how-grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
}
@media (max-width: 62rem) {
  .how-grid {
    grid-template-columns: 1fr;
  }
}

.cascade-plate {
  position: sticky;
  top: 5.5rem;
}
@media (max-width: 62rem) {
  .cascade-plate {
    position: static;
  }
}
.cascade {
  display: block;
  width: 100%;
  height: auto;
  color: var(--contour);
}
/* The two search areas are filled, not just outlined — the widening of the
   filter should be legible before anybody reads the legend. */
.cascade .ring-ws {
  fill: color-mix(in oklab, var(--primary) 9%, transparent);
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-dasharray: 5 4;
}
.cascade .ring-city {
  fill: color-mix(in oklab, var(--primary) 15%, transparent);
  stroke: var(--primary);
  stroke-width: 1.5;
}
.cascade-nodes rect {
  fill: var(--bg);
  stroke: var(--primary);
  stroke-width: 1.4;
}

.cascade .legend text {
  font-family: var(--mono);
  font-size: 13.5px;
  fill: var(--ink-2);
}
.cascade .legend .tier {
  fill: var(--accent);
  font-weight: 600;
}
.cascade .legend .sw {
  stroke-width: 1.3;
}
.cascade .legend .sw--city {
  fill: color-mix(in oklab, var(--primary) 15%, transparent);
  stroke: var(--primary);
}
.cascade .legend .sw--ws {
  fill: color-mix(in oklab, var(--primary) 9%, transparent);
  stroke: currentColor;
  stroke-dasharray: 3 2.5;
}
.cascade .legend .sw--any {
  fill: none;
  stroke: var(--rule);
}

.rules {
  display: grid;
  gap: 0;
}
.rule {
  padding-block: clamp(1.6rem, 3vw, 2.25rem);
  border-top: 1px solid var(--rule);
  max-width: 60ch;
}
.rule:first-child {
  border-top: 0;
  padding-block-start: 0;
}
.rule h3 {
  margin-block-end: 0.7rem;
}
.rule p {
  color: var(--ink-2);
}
.rule__note {
  margin-block-start: 0.9rem;
  padding-inline-start: 1.1rem;
  border-inline-start: 1px solid var(--rule);
  font-size: 0.97rem;
}

/* -------------------------------------------------------------- hardware -- */

.hw {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
  align-items: start;
}
@media (max-width: 62rem) {
  .hw {
    grid-template-columns: 1fr;
  }
}
.hw__prose p {
  max-width: 58ch;
  color: var(--ink-2);
}
.hw__prose p:first-child {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink);
}
.hw__figure {
  margin-block-start: 1.6rem;
  padding-block-start: 1.3rem;
  border-top: 1px solid var(--rule);
}
.hw__figure .num {
  color: var(--ink);
  font-weight: 500;
  white-space: nowrap;
}

.hw__no {
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--rule);
}
.hw__no h3 {
  font-size: var(--step-1);
  font-variation-settings: 'wdth' 90;
  margin-block-end: 0.85rem;
}
.hw__no p {
  font-size: 0.97rem;
  color: var(--ink-2);
}

/* ------------------------------------------- the confidentiality limit -- */

.limits {
  background: var(--deep);
  color: var(--deep-ink);
  border-block: 1px solid var(--deep-rule);
  padding: clamp(4.5rem, 9vw, 8rem) var(--gutter);
}
.limits__inner {
  max-width: var(--wrap);
  margin-inline: auto;
}
.limits h2 {
  color: var(--deep-ink);
  max-width: 24ch;
}
.limits em,
.limits strong {
  color: var(--deep-ink);
}
.limits__lead {
  margin-block-start: 1.2rem;
  font-size: var(--step-1);
  color: var(--deep-ink-2);
  max-width: 44ch;
}

.limits__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: start;
  margin-block-start: clamp(2.5rem, 5vw, 4rem);
  padding-block-start: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--deep-rule);
}
@media (max-width: 62rem) {
  .limits__grid {
    grid-template-columns: 1fr;
  }
}
.limits__big {
  font-size: var(--step-2);
  line-height: 1.28;
  font-variation-settings: 'wdth' 92;
  letter-spacing: -0.014em;
  max-width: 34ch;
  margin-block-end: 1.5rem;
}
.limits__big strong {
  font-weight: 700;
}
.limits__big--neg {
  color: var(--deep-accent);
  margin-block-end: 0;
}
.limits__big--neg strong {
  color: var(--deep-accent);
}
.limits__detail p {
  color: var(--deep-ink-2);
  max-width: 56ch;
}

.consequences {
  list-style: none;
  counter-reset: c;
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  padding: 0;
  display: grid;
  gap: clamp(1.75rem, 3vw, 2.5rem) clamp(2rem, 5vw, 4rem);
  grid-template-columns: repeat(auto-fit, minmax(min(26rem, 100%), 1fr));
}
.consequences li {
  counter-increment: c;
  padding-block-start: 1.35rem;
  border-top: 1px solid var(--deep-rule);
  max-width: 50ch;
}
.consequences h3 {
  font-size: var(--step-1);
  font-variation-settings: 'wdth' 90;
  color: var(--deep-ink);
  margin-block-end: 0.7rem;
}
.consequences h3::before {
  content: counter(c) '. ';
  font-family: var(--mono);
  font-weight: 400;
  color: var(--deep-accent);
}
.consequences p {
  color: var(--deep-ink-2);
  font-size: 0.99rem;
}

.limits__coda {
  margin-block-start: clamp(2.5rem, 5vw, 3.5rem);
  padding-block-start: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--deep-rule);
  max-width: 74ch;
  color: var(--deep-ink-2);
  font-size: 0.99rem;
}
.limits a {
  color: var(--deep-accent);
}
.limits a:hover {
  color: var(--deep-ink);
}

/* ---------------------------------------------------------------- status -- */

.status {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: start;
}
@media (max-width: 62rem) {
  .status {
    grid-template-columns: 1fr;
  }
}
.status h3 {
  font-size: var(--step-1);
  font-variation-settings: 'wdth' 90;
  margin-block-end: 1rem;
}
.status p {
  color: var(--ink-2);
  max-width: 56ch;
}
.status__aside {
  font-size: 0.94rem;
  color: var(--ink-2);
  margin-block-start: 1.2rem;
  padding-block-start: 1.1rem;
  border-top: 1px solid var(--rule-soft);
}

.code {
  margin-block: 1.3rem;
  max-width: 100%;
  padding: 1rem 1.1rem;
  background: var(--surface-2);
  border: 1px solid var(--rule);
  overflow-x: auto;
  font-size: 0.84rem;
  line-height: 1.75;
  color: var(--ink);
  white-space: pre;
}

.ledger {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.97rem;
}
.ledger li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding-block: 0.62rem;
  border-bottom: 1px solid var(--rule-soft);
}
.ledger li:first-child {
  border-top: 1px solid var(--rule);
}
.ledger__k {
  font-family: var(--mono);
  font-size: 0.86rem;
  color: var(--ink);
  flex: none;
}
.ledger__v {
  color: var(--ink-2);
  margin-inline-start: auto;
  text-align: right;
}

/* the Phase 7 slot */
.soon {
  margin-block-start: clamp(3rem, 6vw, 5rem);
  padding: clamp(1.6rem, 3.5vw, 2.5rem);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-block-start: 2px solid var(--accent);
}
.soon h3 {
  font-size: var(--step-1);
  font-variation-settings: 'wdth' 90;
  margin-block-end: 0.85rem;
}
.soon > p {
  color: var(--ink-2);
  max-width: 60ch;
}
.soon__list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  max-width: 70ch;
}
.soon__list li {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 0.4rem 1rem;
  align-items: baseline;
  font-size: 0.96rem;
  color: var(--ink-2);
  padding-block: 0.45rem;
  border-top: 1px solid var(--rule-soft);
}
@media (max-width: 34rem) {
  .soon__list li {
    grid-template-columns: 1fr;
  }
}
.soon__list .num {
  color: var(--accent);
}
.soon__why {
  margin-block-start: 1.5rem;
  padding-block-start: 1.2rem;
  border-top: 1px solid var(--rule);
  font-size: 0.96rem;
  color: var(--ink-2);
  max-width: 64ch;
}

/* ------------------------------------------------------------------ join -- */

.section--join {
  padding-block-end: clamp(5rem, 10vw, 8rem);
}
.join {
  max-width: 60ch;
}
.join h2 {
  max-width: 18ch;
}
.join__intro {
  margin-block-start: 1.3rem;
  font-size: var(--step-1);
  line-height: 1.5;
}
.join__cta {
  margin-block: clamp(1.75rem, 3vw, 2.5rem) 0;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1.2rem;
  background: var(--primary);
  color: var(--bg);
  text-decoration: none;
  font-weight: 600;
  font-variation-settings: 'wdth' 92;
  transition: background 0.18s var(--ease), translate 0.18s var(--ease);
}
.button:hover {
  background: var(--primary-strong);
  color: var(--bg);
  translate: 0 -1px;
}
.button__off {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 400;
  padding: 0.2rem 0.45rem;
  border: 1px solid color-mix(in oklab, var(--bg) 55%, transparent);
  white-space: nowrap;
}
.join__note {
  font-size: 0.97rem;
  color: var(--ink-2);
  padding-block-start: 1.3rem;
  border-top: 1px solid var(--rule);
}

/* ---------------------------------------------------------------- footer -- */

.footer {
  border-top: 1px solid var(--rule);
  background: var(--surface);
  padding: clamp(3rem, 6vw, 5rem) var(--gutter);
  font-size: 0.94rem;
}
.footer__inner {
  max-width: var(--wrap);
  margin-inline: auto;
}
.footer__lead {
  font-family: var(--mono);
  font-size: var(--step--1);
  color: var(--ink-2);
  margin-block-end: clamp(2rem, 4vw, 3rem);
}
.footer__cols {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr));
}
.footer__cols h2 {
  font-size: 0.95rem;
  font-weight: 600;
  font-variation-settings: 'wdth' 100;
  letter-spacing: 0;
  line-height: 1.4;
  margin-block-end: 0.5rem;
  color: var(--ink);
}
.footer__cols p {
  color: var(--ink-2);
  max-width: 42ch;
}

/* ------------------------------------------------------- reduced motion -- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .map .contours path,
  .map .streams path {
    stroke-dashoffset: 0;
  }
  .node {
    opacity: 1;
    scale: 1;
  }
  .node__pulse {
    opacity: 0.35;
    scale: 1.3;
  }
}

/* --------------------------------------------------------------- print -- */

@media print {
  .masthead,
  .theme-toggle,
  .skip-link {
    display: none;
  }
  body {
    background: #fff;
    color: #000;
  }
  .limits {
    background: #fff;
    color: #000;
    border: 1px solid #000;
  }
  .limits h2,
  .limits__big,
  .limits__big--neg,
  .limits__detail p,
  .consequences h3,
  .consequences p,
  .limits__coda,
  .limits__lead {
    color: #000;
  }
}
