/* =========================================================================
   AI Enablement Labs — design system
   Paper and ink with a warm-grey neutral scale; red marks only the binding
   constraint, the primary action and one line of the hero illustration.
   Source Serif 4 for headlines, Inter for body and UI, JetBrains Mono for
   labels and data. Self-hosted fonts, CSP-safe, no inline styles.
   ========================================================================= */

/* ---------- Fonts (self-hosted, latin subset, CSP-safe) ---------------- */

/* Source Serif 4 ships from Google Fonts as one variable file covering
   weights 400 to 600, so both weights come from a single woff2. */
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/SourceSerif4-var.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/Inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/Inter-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/Inter-700.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/JetBrainsMono-400.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/JetBrainsMono-500.woff2") format("woff2");
}

/* ---------- Tokens ----------------------------------------------------- */

:root {
  color-scheme: light;

  /* Colour: paper and ink, a warm-grey scale, one red. */
  --paper: #ffffff;
  --paper-2: #f6f4ef;
  --paper-3: #ece9e2;
  --rule: #dcd8cf;
  --ink: #141414;
  --ink-2: #2a2926;
  --muted: #5c5a55;
  --accent: #c5271e; /* AA primary red */
  --red: var(--accent);
  --red-dark: #9c1f17;
  --rule-soft: var(--rule);
  /* Text and rules on the ink band. */
  --on-ink: #ffffff;
  --on-ink-muted: #b9b5ac;
  --on-ink-rule: #3a3935;

  /* Type */
  --font-serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype",
    Georgia, serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas,
    monospace;

  /* Fluid type scale (390px to 1280px) */
  --step--2: 0.75rem; /* 12px: mono labels */
  --step--1: 0.875rem; /* 14px: captions, fine print */
  --step-0: clamp(1.0625rem, 1.03rem + 0.14vw, 1.125rem); /* 17–18px body */
  --step-1: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem); /* lede, h3 */
  --step-2: clamp(1.375rem, 1.2rem + 0.75vw, 1.75rem); /* h3 large */
  --step-3: clamp(1.875rem, 1.4rem + 2vw, 2.875rem); /* h2 */
  --step-4: clamp(2.375rem, 1.6rem + 3.4vw, 4.25rem); /* h1, numerals */
  --measure: 66ch;

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  /* Radii and the one shadow */
  --radius-s: 4px;
  --radius-m: 8px;
  --radius-l: 14px;
  --radius-device: 34px;
  --shadow: 0 1px 2px rgba(20, 20, 20, 0.06),
    0 18px 40px -18px rgba(20, 20, 20, 0.28);

  /* Motion */
  --dur: 180ms;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);

  /* Layout */
  --max-w: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(64px, 9vw, 128px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--step-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: text-decoration-color var(--dur) var(--ease);
}

a:hover {
  text-decoration-color: currentColor;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: var(--gutter);
  z-index: 100;
  padding: 10px 14px;
  min-height: 44px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-s);
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform var(--dur) var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px var(--gutter);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--rule);
}

@supports (backdrop-filter: blur(8px)) {
  .site-header {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: saturate(1.4) blur(10px);
  }
}

.brand {
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}

.brand::before {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--red);
  flex: none;
}

.brand-wordmark {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

nav.primary {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 32px);
}

nav.primary a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

nav.primary a:hover,
nav.primary a[aria-current="page"] {
  border-bottom-color: var(--ink);
}

nav.primary a.nav-cta {
  background: var(--red);
  color: var(--paper);
  padding: 8px 16px;
  border: 0;
  border-radius: var(--radius-s);
  min-height: 44px;
}

nav.primary a.nav-cta:hover {
  background: var(--red-dark);
}

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 1px solid var(--rule);
  border-radius: var(--radius-s);
  cursor: pointer;
}

.menu-toggle span[aria-hidden] {
  position: absolute;
  left: 11px;
  right: 11px;
  top: 50%;
  height: 2px;
  background: var(--ink);
  transform: translateY(-50%);
}

.menu-toggle span[aria-hidden]::before,
.menu-toggle span[aria-hidden]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--ink);
  transition: transform var(--dur) var(--ease), top var(--dur) var(--ease);
}

.menu-toggle span[aria-hidden]::before {
  top: -6px;
}

.menu-toggle span[aria-hidden]::after {
  top: 6px;
}

.menu-toggle[aria-expanded="true"] span[aria-hidden] {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] span[aria-hidden]::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span[aria-hidden]::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 820px) {
  .menu-toggle {
    display: block;
  }

  nav.primary {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    box-shadow: var(--shadow);
    display: none;
  }

  nav.primary.is-open {
    display: flex;
  }

  nav.primary a {
    padding: 14px var(--gutter);
    border-bottom: 1px solid var(--rule);
  }

  nav.primary a:hover,
  nav.primary a[aria-current="page"] {
    border-bottom-color: var(--rule);
    background: var(--paper-2);
  }

  nav.primary a.nav-cta {
    margin: 12px var(--gutter) 16px;
    justify-content: center;
  }
}

/* ---------- Layout primitives ------------------------------------------ */

.section {
  padding: var(--section-y) var(--gutter);
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* 12-column grid, for sections that need it. */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5) clamp(20px, 3vw, 40px);
}

.section-inner.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

@media (max-width: 900px) {
  .section-inner.split {
    grid-template-columns: 1fr;
  }
}

/* Section rhythm: paper (default), paper-2, ink, and full-bleed. */
.section--paper2,
.section--tint {
  background: var(--paper-2);
}

.section--ink {
  background: var(--ink);
  color: var(--on-ink);
}

.section--ink a {
  color: var(--on-ink);
  text-decoration-color: var(--on-ink-muted);
}

.section--ink .eyebrow,
.section--ink .section-heading p:last-child,
.section--ink .lede {
  color: var(--on-ink-muted);
}

.section--ink h2 {
  color: var(--on-ink);
}

.section--ink :focus-visible {
  outline-color: var(--on-ink);
}

/* Full-bleed: the band runs edge to edge and its content may widen. */
.section--bleed {
  padding-left: 0;
  padding-right: 0;
}

.section--bleed > .section-inner {
  max-width: calc(var(--max-w) + 2 * var(--gutter));
  padding: 0 var(--gutter);
}

.section-heading {
  margin-bottom: 0;
}

.section-heading--full-width {
  max-width: 820px;
  margin-bottom: clamp(32px, 4.5vw, 56px);
}

/* Plain mono label above a heading. Numbered only where the content is a
   sequence (the .eyebrow-num span, muted, never red). */
.eyebrow {
  margin: 0 0 var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.eyebrow-num {
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1,
h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.08;
  font-optical-sizing: auto;
}

h1 {
  font-size: var(--step-4);
  line-height: 1.04;
}

h2 {
  font-size: var(--step-3);
}

h2.display {
  font-size: var(--step-4);
  line-height: 1.02;
  max-width: 20ch;
}

h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.012em;
  line-height: 1.3;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

.section-heading p,
.lede {
  max-width: 60ch;
}

.section-heading p:last-child {
  color: var(--muted);
}

.lede {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-2);
}

.section-heading .lede:last-child {
  color: var(--ink-2);
}

.muted {
  color: var(--muted);
}

.num,
.tabular {
  font-variant-numeric: tabular-nums;
}

/* ---------- Buttons ----------------------------------------------------- */

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin: var(--space-6) 0 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-s);
  cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    background-color var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.button:active {
  transform: none;
  box-shadow: none;
}

.button-primary {
  background: var(--red);
  color: var(--paper);
  border-color: var(--red);
}

.button-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--paper);
}

.button-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.button-secondary:hover {
  background: var(--ink);
  color: var(--paper);
}

.section--ink .button-secondary {
  color: var(--on-ink);
  border-color: var(--on-ink);
}

.section--ink .button-secondary:hover {
  background: var(--on-ink);
  color: var(--ink);
}

.button-ghost {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.button-ghost:hover {
  border-bottom-width: 2px;
}

/* Quiet text link with an arrow, for "see more" lines. */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}

.link-arrow::after {
  content: "→";
  transition: transform var(--dur) var(--ease);
}

.link-arrow:hover::after {
  transform: translateX(3px);
}

/* ---------- Disclosure -------------------------------------------------- */
/* <details class="disclose"><summary>Read more</summary>
     <div class="disclose-body"><div class="disclose-inner">…</div></div>
   </details>
   The body opens with grid-template-rows 0fr → 1fr; no JavaScript. */

.disclose {
  margin: var(--space-4) 0 0;
  max-width: var(--measure);
}

.disclose > summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-underline-offset: 4px;
  transition: text-decoration-color var(--dur) var(--ease);
}

.disclose > summary::-webkit-details-marker {
  display: none;
}

.disclose > summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--dur) var(--ease), margin var(--dur) var(--ease);
  flex: none;
}

.disclose > summary:hover {
  text-decoration-color: currentColor;
}

.disclose[open] > summary::after {
  transform: rotate(-135deg);
  margin-top: 3px;
}

.disclose-body {
  display: grid;
  grid-template-rows: 1fr;
}

.disclose[open] > .disclose-body {
  animation: disclose-open 260ms var(--ease);
}

.disclose-inner {
  overflow: hidden;
  min-height: 0;
  padding-top: var(--space-3);
  color: var(--muted);
}

.disclose-inner > :last-child {
  margin-bottom: 0;
}

@keyframes disclose-open {
  from {
    grid-template-rows: 0fr;
    opacity: 0;
  }
  to {
    grid-template-rows: 1fr;
    opacity: 1;
  }
}

.section--ink .disclose > summary {
  color: var(--on-ink);
  text-decoration-color: var(--on-ink-muted);
}

.section--ink .disclose-inner {
  color: var(--on-ink-muted);
}

/* ---------- Tabs -------------------------------------------------------- */
/* .tabs > .tabs-list[role=tablist] > button.tabs-tab[role=tab]
   .tabs > .tabs-panel[role=tabpanel]. Without JavaScript every panel is
   shown in order and the tab list is hidden. */

.tabs-list {
  display: none;
}

.js .tabs-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--rule);
  margin-bottom: clamp(24px, 3.5vw, 40px);
}

.tabs-tab {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 12px 12px 14px 0;
  margin-bottom: -1px;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.tabs-tab img {
  width: 36px;
  height: 36px;
  flex: none;
  opacity: 0.55;
  transition: opacity var(--dur) var(--ease);
}

.tabs-tab:hover {
  color: var(--ink);
}

.tabs-tab[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.tabs-tab[aria-selected="true"] img,
.tabs-tab:hover img {
  opacity: 1;
}

.tabs-tab:focus-visible {
  outline-offset: -2px;
}

.tabs-panel {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: var(--space-5) clamp(24px, 5vw, 72px);
  align-items: start;
}

.tabs-panel + .tabs-panel {
  margin-top: var(--space-7);
  padding-top: var(--space-7);
  border-top: 1px solid var(--rule);
}

.js .tabs-panel + .tabs-panel {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.tabs-panel[hidden] {
  display: none;
}

.js .tabs-panel:not([hidden]) {
  animation: panel-in 240ms var(--ease);
}

@keyframes panel-in {
  from {
    opacity: 0;
    translate: 0 6px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

.tabs-panel:focus-visible {
  outline-offset: 8px;
}

.panel-lead {
  display: grid;
  gap: var(--space-4);
}

.panel-lead img {
  width: clamp(88px, 10vw, 120px);
  height: auto;
}

.panel-lead img.panel-art {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 3 / 2;
}

.panel-kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.panel-lead h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: var(--step-2);
  letter-spacing: -0.01em;
  margin: 0;
}

.panel-body > p {
  max-width: 60ch;
  color: var(--ink-2);
}

.facet-list {
  list-style: none;
  margin: var(--space-5) 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.facet-list li {
  padding: 6px 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: var(--step--1);
  color: var(--ink-2);
  background: var(--paper);
}

.facet-label {
  margin: var(--space-5) 0 0;
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.facet-label + .facet-list {
  margin-top: var(--space-3);
}

.remedy {
  margin: 0;
  padding: var(--space-4) 0 0;
  border-top: 1px solid var(--rule);
  max-width: 60ch;
}

.remedy b {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

@media (max-width: 760px) {
  .js .tabs-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tabs-tab {
    min-height: 56px;
    font-size: 0.9375rem;
  }

  .tabs-tab img {
    width: 28px;
    height: 28px;
  }

  .tabs-panel {
    grid-template-columns: 1fr;
  }

  .panel-lead {
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    gap: 4px var(--space-4);
  }

  .panel-lead img {
    grid-row: span 2;
    width: 72px;
  }
}

/* ---------- Hero ---------------------------------------------------------- */
/* Copy on paper in the container's left columns; the photograph runs from the
   copy to the right edge of the viewport. On phones it sits under the h1. */

.hero {
  padding: 0;
}

.hero-inner {
  display: grid;
  grid-template-columns:
    minmax(var(--gutter), 1fr)
    minmax(0, calc(var(--max-w) * 0.52))
    minmax(0, calc(var(--max-w) * 0.48))
    minmax(0, 1fr);
  min-height: clamp(540px, 46vw, 660px);
}

.hero-copy {
  grid-column: 2;
  align-self: center;
  padding: clamp(36px, 4vw, 56px) clamp(32px, 4vw, 64px)
    clamp(36px, 4vw, 56px) 0;
}

.hero h1 {
  font-size: clamp(2.25rem, 1.4rem + 2.4vw, 3.3rem);
  line-height: 1.04;
  max-width: 18ch;
  margin-bottom: var(--space-5);
}

.hero .lede {
  max-width: 46ch;
  margin-bottom: 0;
}

.hero .disclose {
  margin-top: var(--space-2);
}

.hero .cta-row {
  margin-top: var(--space-5);
}

.hero-figure {
  grid-column: 3 / -1;
  position: relative;
  margin: 0;
  background: var(--paper-2);
}

.hero-figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 50%;
}

@media (max-width: 980px) {
  .hero {
    padding: clamp(32px, 6vw, 56px) var(--gutter) var(--section-y);
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .hero-copy {
    display: contents;
  }

  .hero-copy > * {
    order: 2;
  }

  .hero-copy > .eyebrow,
  .hero-copy > h1 {
    order: 0;
  }

  .hero-figure {
    grid-column: 1;
    order: 1;
    margin: var(--space-2) calc(-1 * var(--gutter)) var(--space-6);
    aspect-ratio: 16 / 9;
  }

  .hero-figure img {
    object-position: 60% 50%;
  }
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: var(--space-5) 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-meta span,
.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta span::before,
.hero-meta li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--ink);
  border-radius: 50%;
}

.fig-caption {
  margin-top: var(--space-3);
  font-size: var(--step--1);
  line-height: 1.5;
  color: var(--muted);
  max-width: 52ch;
}

/* ---------- Trust strip (ink) ------------------------------------------- */

.trust-strip {
  background: var(--ink);
  color: var(--on-ink);
}

.trust-strip-inner {
  max-width: calc(var(--max-w) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-strip p {
  margin: 0;
  padding: clamp(22px, 3vw, 34px) 20px clamp(22px, 3vw, 34px) 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.trust-strip p + p {
  border-left: 1px solid var(--on-ink-rule);
  padding-left: clamp(16px, 2vw, 28px);
}

.trust-strip b {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: var(--step-1);
  letter-spacing: -0.01em;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.trust-strip span {
  font-size: var(--step--1);
  color: var(--on-ink-muted);
}

@media (max-width: 860px) {
  .trust-strip-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .trust-strip p:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
  .trust-strip p:nth-child(n + 3) {
    border-top: 1px solid var(--on-ink-rule);
  }
}

/* ---------- Numerals band (the offer, on ink) ---------------------------- */

.numerals {
  list-style: none;
  margin: clamp(32px, 5vw, 64px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--rule);
}

.numerals li {
  padding: var(--space-5) var(--space-5) 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.numerals li + li {
  border-left: 1px solid var(--rule);
  padding-left: var(--space-5);
}

.numerals b {
  font-family: var(--font-serif);
  font-size: var(--step-4);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums lining-nums;
  white-space: nowrap;
}

.numerals span {
  font-size: var(--step--1);
  color: var(--muted);
  max-width: 26ch;
}

.section--ink .numerals {
  border-top-color: var(--on-ink-rule);
}

.section--ink .numerals li + li {
  border-left-color: var(--on-ink-rule);
}

.section--ink .numerals b {
  font-size: clamp(2.75rem, 1.5rem + 4.6vw, 5.25rem);
}

.section--ink .numerals span {
  color: var(--on-ink-muted);
}

@media (max-width: 860px) {
  .numerals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .numerals li:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
  .numerals li:nth-child(n + 3) {
    padding-top: var(--space-6);
  }
}

.offer-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4) var(--space-6);
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: var(--space-5);
  border-top: 1px solid var(--on-ink-rule);
}

.offer-foot p {
  margin: 0;
  color: var(--on-ink-muted);
  max-width: 52ch;
}

/* ---------- Cards ------------------------------------------------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.card-grid--four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.card-grid--get {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1024px) {
  .card-grid--get {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .card-grid,
  .card-grid--four,
  .card-grid--three,
  .card-grid--get {
    grid-template-columns: 1fr;
  }
}

.ed-card {
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--rule);
  border-radius: var(--radius-m);
  background: var(--paper);
  transition: border-color var(--dur) var(--ease);
}

.ed-card:hover {
  border-color: var(--ink);
}

.card-art {
  margin: calc(-1 * clamp(20px, 2.4vw, 28px)) calc(-1 * clamp(20px, 2.4vw, 28px))
    var(--space-5);
  padding: var(--space-4);
  background: var(--paper-2);
  border-bottom: 1px solid var(--rule);
  border-radius: var(--radius-m) var(--radius-m) 0 0;
}

.card-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-art {
  aspect-ratio: 3 / 2;
  display: grid;
  place-items: center;
}

.card-art--glyphs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: var(--space-5);
}

.card-art--glyphs img {
  width: auto;
  height: 100%;
  max-height: 64px;
  aspect-ratio: 1;
}

.card-index {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--space-3);
}

.ed-card h3 {
  margin-bottom: var(--space-2);
}

.ed-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.ed-card .disclose {
  margin-top: auto;
  padding-top: var(--space-3);
}

.ed-card .disclose > summary {
  color: var(--muted);
}

.ed-card:hover .disclose > summary {
  color: var(--ink);
  text-decoration-color: currentColor;
}

.ed-card .disclose-inner {
  font-size: 0.9375rem;
}

.ed-card-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  font-size: 0.9375rem;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.ed-card-list li::before {
  content: "→ ";
  color: var(--ink);
}

/* ---------- Steps (subpages) and the numbered stepper (home) -------------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}

@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.steps--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1024px) {
  .steps--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .steps--four {
    grid-template-columns: 1fr;
  }
}

.step {
  border-top: 1px solid var(--ink);
  padding-top: var(--space-4);
}

.step-num {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--space-3);
}

.step h3 {
  margin-bottom: var(--space-2);
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* The stepper: a numbered sequence joined by a rule. */
.stepper {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 36px);
  counter-reset: step;
}

.stepper-step {
  position: relative;
  padding-top: 64px;
}

.stepper-step::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 44px;
  right: calc(-1 * clamp(20px, 2.5vw, 36px));
  height: 1px;
  background: var(--rule);
}

.stepper-step:last-child::before {
  display: none;
}

.stepper-num {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-variant-numeric: tabular-nums;
}

.stepper-step h3 {
  margin-bottom: var(--space-2);
}

.stepper-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  max-width: 34ch;
}

@media (max-width: 900px) {
  .stepper {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .stepper-step {
    padding: 8px 0 var(--space-6) 68px;
  }

  .stepper-step::before {
    top: 44px;
    bottom: 0;
    left: 21px;
    right: auto;
    width: 1px;
    height: auto;
  }

  .stepper-step p {
    max-width: none;
  }
}

.method-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.method-head .section-heading--full-width {
  margin-bottom: 0;
}

.method-head img {
  width: 100%;
  max-width: 400px;
  justify-self: end;
}

@media (max-width: 860px) {
  .method-head {
    grid-template-columns: 1fr;
  }
  .method-head img {
    justify-self: start;
    max-width: 320px;
  }
}

.section-note {
  margin: var(--space-6) 0 0;
  font-size: 0.9375rem;
  color: var(--muted);
  max-width: var(--measure);
}

/* ---------- Section end line --------------------------------------------- */

.section-end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  margin: clamp(32px, 4vw, 48px) 0 0;
  padding-top: var(--space-4);
  border-top: 1px solid var(--rule);
}

.section-end span {
  color: var(--muted);
  font-size: 0.9375rem;
  max-width: var(--measure);
}

.section-end a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
}

.section-end a:hover {
  border-bottom-width: 2px;
}

/* ---------- Sample profile section --------------------------------------- */

.sample {
  border: 1px solid var(--rule);
  border-radius: var(--radius-m);
  background: var(--paper);
  padding: clamp(20px, 3vw, 36px);
  box-shadow: var(--shadow);
}

.sample .area-card {
  border-top: 1px solid var(--ink);
}

.sample .bar {
  height: auto;
}

.sample .area-bars dd {
  grid-template-columns: minmax(0, 1fr) 44px;
}

.sample .area-card--withheld .muted {
  font-size: 0.9375rem;
  margin-top: var(--space-3);
}

.disclose--wide {
  max-width: none;
  margin-top: var(--space-6);
}

.disclose--wide .disclose-inner > p {
  max-width: var(--measure);
}

.disclose .thesis-list {
  margin-top: var(--space-5);
}

/* ---------- Who we are --------------------------------------------------- */

.who-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.who-grid figure {
  margin: var(--space-7) 0 0;
  max-width: 400px;
}

.who-grid .lede {
  margin-top: 0;
}

.principles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6) clamp(20px, 3vw, 40px);
}

.principles li {
  padding-top: var(--space-4);
  border-top: 1px solid var(--ink);
  color: var(--muted);
  font-size: 0.9375rem;
}

.principles strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .who-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .principles {
    grid-template-columns: 1fr;
  }
}

/* ---------- Stat band / proof band (subpages) ----------------------------- */

.stat-band,
.proof-band {
  background: var(--paper-2);
  color: var(--ink);
}

.stat-figure {
  display: block;
  font-family: var(--font-serif);
  font-size: var(--step-4);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--ink);
  margin-bottom: 12px;
}

.proof ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
}

.proof ul li {
  padding: var(--space-4) 0 0;
  border-top: 1px solid var(--rule);
  color: var(--ink-2);
}

/* ---------- FAQ accordion ------------------------------------------------ */

.faq-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ink);
}

.faq-item {
  border-bottom: 1px solid var(--rule);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 44px;
  padding: 20px 0;
  font-weight: 500;
  font-size: var(--step-1);
  letter-spacing: -0.01em;
  line-height: 1.35;
  transition: color var(--dur) var(--ease);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-right: 4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  transition: transform var(--dur) var(--ease);
  flex: none;
}

.faq-item[open] summary::after {
  transform: translateY(2px) rotate(-135deg);
}

.faq-item summary:hover {
  color: var(--muted);
}

.faq-item > p,
.faq-item > div {
  margin: 0 0 24px;
  color: var(--muted);
  max-width: var(--measure);
}

.faq-item[open] > p,
.faq-item[open] > div {
  animation: panel-in 240ms var(--ease);
}

/* ---------- Contact form ------------------------------------------------- */

.contact-fallback {
  font-size: 0.9375rem;
  color: var(--muted);
}

.contact-fallback a {
  display: inline-block;
  min-height: 44px;
  padding: 10px 0;
}

.cta-row + .contact-fallback {
  margin-top: 16px;
}

.contact-form {
  display: grid;
  gap: 20px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-m);
  background: var(--paper);
  padding: clamp(22px, 3vw, 40px);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-s);
  width: 100%;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.contact-form input:hover,
.contact-form textarea:hover {
  border-color: var(--muted);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--paper-3);
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible,
.contact-form .select:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 132px;
}

.contact-form .button {
  justify-self: start;
}

/* ---------- Brand lockup (inline SVG) ------------------------------------ */
.page-logo {
  width: min(300px, 70%);
  height: auto;
  display: block;
  color: var(--ink);
  margin-bottom: var(--space-4);
}

/* ---------- Select ------------------------------------------------------ */
/* One select for every form on the site (contact, cohort, portal): 44px,
   ink hairline, a CSS chevron, the site focus ring. */

.select {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 10px 44px 10px 14px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink);
  text-overflow: ellipsis;
  background-color: var(--paper);
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  border: 1px solid var(--ink);
  border-radius: var(--radius-s);
  cursor: pointer;
  transition: box-shadow var(--dur) var(--ease);
}

.select:hover {
  box-shadow: inset 0 0 0 1px var(--ink);
}

.select:focus {
  outline: none;
}

.select:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.select:invalid,
.select option[value=""] {
  color: var(--muted);
}

.select option {
  color: var(--ink);
}

.select:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.section--ink .select {
  color: var(--on-ink);
  background-color: transparent;
  background-image: linear-gradient(45deg, transparent 50%, var(--on-ink) 50%),
    linear-gradient(135deg, var(--on-ink) 50%, transparent 50%);
  border-color: var(--on-ink);
}

.hidden-field {
  display: none;
}

.form-note {
  margin: 0;
  font-size: var(--step--1);
  color: var(--muted);
}

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

.site-footer {
  background: var(--ink);
  color: var(--on-ink);
  padding: clamp(48px, 6vw, 72px) var(--gutter) 32px;
  font-size: 0.9375rem;
}

.site-footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: var(--space-5) clamp(24px, 5vw, 72px);
  align-items: start;
}

.footer-brand {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.footer-brand::before {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--red);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 0 28px;
}

.site-footer a {
  color: var(--on-ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer :focus-visible {
  outline-color: var(--on-ink);
}

.footer-fineprint {
  grid-column: 1 / -1;
  margin: var(--space-5) 0 0;
  padding-top: var(--space-5);
  border-top: 1px solid var(--on-ink-rule);
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.06em;
  color: var(--on-ink-muted);
}

@media (max-width: 760px) {
  .site-footer-inner {
    grid-template-columns: 1fr;
  }
}

/* ---------- Product captures: browser window and device -------------------- */

.shots {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 290px);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  margin-top: clamp(40px, 5vw, 72px);
}

.shot {
  margin: 0;
}

.shot-window {
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: var(--radius-m);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.shot-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 10px 14px;
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.shot-dots {
  display: inline-flex;
  gap: 6px;
  flex: none;
}

.shot-dots::before,
.shot-dots::after,
.shot-dots span {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  opacity: 0.55;
}

.shot-url {
  flex: 1;
  min-width: 0;
  padding: 3px 10px;
  border-radius: var(--radius-s);
  background: var(--paper);
  border: 1px solid var(--rule);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shot-window img {
  display: block;
  width: 100%;
  height: auto;
  padding: clamp(10px, 1.6vw, 20px);
}

.shot-device {
  padding: 10px;
  border-radius: var(--radius-device);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.shot-device img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-device) - 10px);
  background: var(--paper);
}

.shot figcaption {
  margin-top: var(--space-4);
  font-size: var(--step--1);
  line-height: 1.5;
  color: var(--muted);
  max-width: 60ch;
}

@media (max-width: 760px) {
  .shots {
    grid-template-columns: 1fr;
  }
  .shot--phone {
    max-width: 280px;
  }
}

/* ---------- Scroll reveal ------------------------------------------------ */
/* Content is visible at rest. Only when main.js has confirmed that motion is
   allowed (html.motion-ready) do .reveal children start hidden, and each
   child rises in turn (--i, 60ms steps). */

.motion-ready .reveal:not(.is-visible) > * {
  opacity: 0;
}

.motion-ready .reveal.is-visible > * {
  animation: reveal-rise 560ms var(--ease) both;
  animation-delay: calc(min(var(--i, 0), 8) * 60ms);
}

@keyframes reveal-rise {
  from {
    opacity: 0;
    translate: 0 14px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .motion-ready .reveal > *,
  .motion-ready .reveal:not(.is-visible) > * {
    opacity: 1;
    translate: none;
  }

  .button:hover {
    transform: none;
  }
}

/* ---------- Comparison grid (measure, evidence) --------------------------- */
/* Two columns read against each other. Hairline rules, no fills; the
   right-hand column carries the weight through type, never through red. */

.compare-grid {
  display: grid;
  grid-template-columns: minmax(120px, 0.8fr) repeat(2, minmax(0, 2fr));
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.compare-axis {
  padding: 16px 16px 16px 0;
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: flex-start;
}

.compare-axis:first-child {
  border-top: none;
}

.compare-head {
  padding: 16px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.compare-head--ungoverned {
  color: var(--muted);
}

.compare-head--governed {
  color: var(--ink);
  box-shadow: inset 0 3px 0 var(--ink);
}

.compare-cell {
  padding: 16px;
  font-size: 0.9375rem;
  border-top: 1px solid var(--rule);
}

.compare-cell--ungoverned {
  color: var(--muted);
}

.compare-cell--governed {
  color: var(--ink);
  background: var(--paper-2);
}

.section--paper2 .compare-cell--governed {
  background: var(--paper);
}

@media (max-width: 760px) {
  .compare-grid {
    grid-template-columns: 1fr;
  }

  .compare-axis {
    padding: 20px 0 6px;
    border-top: 1px solid var(--ink);
  }

  .compare-axis:first-child {
    display: none;
  }

  .compare-head {
    padding: 12px 0;
  }

  .compare-head--governed {
    box-shadow: none;
  }

  .compare-cell {
    padding: 10px 12px;
    border-top: none;
  }

  .compare-cell--ungoverned {
    padding-left: 0;
  }

  .compare-head--governed {
    padding: 12px;
    background: var(--paper-2);
  }

  .section--paper2 .compare-head--governed {
    background: var(--paper);
  }
}

/* ---------- Price ---------------------------------------------------------- */

.price {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: auto 0 0 !important;
  padding-top: 14px;
  color: var(--ink);
}

.price small {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
  margin-top: 4px;
}

/* ---------- Subpages --------------------------------------------------------------------- */

.subpage-crumb {
  max-width: calc(var(--max-w) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 18px var(--gutter) 0;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.subpage-crumb a {
  color: var(--muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.crumb-sep {
  color: var(--muted);
  margin: 0 6px;
}

.crumb-here {
  color: var(--muted);
}

.page-hero {
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(32px, 5vw, 64px);
}

.simple-page {
  min-height: 50vh;
}

.message-panel {
  max-width: 640px;
  margin: clamp(64px, 12vw, 160px) auto;
  border: 1px solid var(--rule);
  border-radius: var(--radius-m);
  background: var(--paper);
  padding: clamp(28px, 4vw, 48px);
}

.message-panel h1 {
  font-size: var(--step-3);
}

.simple-page {
  background: var(--paper-2);
  padding: 0 var(--gutter);
}

/* ---------- Thesis list (economics) ----------------------------------------- */

.thesis-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 2px solid var(--ink);
}

.thesis-list-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule-soft);
}

.thesis-list-num {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--red);
  padding-top: 3px;
}

.thesis-list-body {
  margin: 0;
}

.thesis-list-title {
  display: block;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.thesis-list-copy {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Calculator (economics) ----------------------------------------- */

.calc-reset {
  justify-self: start;
  background: none;
  border: none;
  padding: 0 0 3px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--red);
  border-bottom: 2px solid var(--red);
  cursor: pointer;
}

.calc-reset:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* ---------- Error table (economics) ------------------------------------------ */

.error-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-size: 0.9375rem;
  background: var(--paper);
}

.error-table th {
  text-align: left;
  vertical-align: top;
  padding: 14px 16px;
}

.error-table thead th {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--ink);
}

.error-table tbody th {
  font-weight: 700;
  color: var(--ink);
  border-top: 1px solid var(--rule);
}

.error-table tbody th .muted {
  font-weight: 400;
  font-size: var(--step--1);
}

.error-table td {
  padding: 14px 16px;
  border-top: 1px solid var(--rule);
  vertical-align: top;
  color: var(--ink-2);
}

.error-table tbody tr:first-child > * {
  border-top: none;
}

@media (max-width: 700px) {
  .error-table,
  .error-table thead,
  .error-table tbody,
  .error-table tr,
  .error-table th,
  .error-table td {
    display: block;
  }

  .error-table thead {
    display: none;
  }

  .error-table tr {
    border-top: 1px solid var(--ink);
    padding: 10px 0;
  }

  .error-table tbody tr:first-child {
    border-top: none;
  }

  .error-table tbody th,
  .error-table td {
    border-top: none;
    padding: 4px 0;
  }
}

/* ---------- Print -------------------------------------------------------------- */

@media print {
  .site-header,
  .menu-toggle,
  .skip-link {
    display: none;
  }

  body {
    font-size: 12pt;
  }
}

/* ---------- Founders (about page) ----------------------------------------- */

.founder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 48px);
}

@media (max-width: 860px) {
  .founder-grid {
    grid-template-columns: 1fr;
  }
}

.founder {
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2.4vw, 32px);
  border: 1px solid var(--rule);
  border-radius: var(--radius-m);
  background: var(--paper);
}

.founder h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: var(--step-2);
  letter-spacing: -0.01em;
}

.founder > p {
  color: var(--ink-2);
}

.founder h3 {
  margin-bottom: 2px;
}

.founder-post {
  font-family: var(--font-mono);
  font-size: 0.6em;
  letter-spacing: 0.08em;
  color: var(--muted);
  vertical-align: middle;
}

.founder-role {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 4px 0 16px;
}

.founder-links {
  display: flex;
  gap: 18px;
  margin: auto 0 0;
  padding-top: var(--space-4);
}

.founder-links a {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.founder-why {
  margin-top: 18px;
  padding-top: var(--space-4);
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.9375rem;
  max-width: 60ch;
}

/* ---------- Evidence claims ----------------------------------------------- */

.claim-list {
  display: grid;
  gap: 0;
  border-top: 2px solid var(--ink);
}

.claim {
  padding: 28px 0;
  border-bottom: 1px solid var(--rule-soft);
}

.claim h3 {
  margin-bottom: 16px;
  max-width: 58ch;
}

.claim-line {
  margin: 0 0 12px;
  max-width: 74ch;
}

.claim-tag {
  font-weight: 600;
}

.claim-tag--limit {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-underline-offset: 3px;
}

.claim-source {
  margin: 10px 0 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 74ch;
}

/* ---------- Evidence brief reference list --------------------------------- */

.ref-list {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 12px;
  border-top: 2px solid var(--ink);
  padding-top: 22px;
}

.ref-list li {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 80ch;
  line-height: 1.55;
}

.ref-list li em {
  color: var(--ink);
}

/* ---------- Reviewer profile diagnostic ----------------------------------- */

.diag {
  max-width: 860px;
}

.diag h1 span,
.page-hero h1 span {
  color: var(--accent);
}

.diag-section {
  margin-top: 36px;
}

.diag .sec-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 4px;
}

.diag-section h2 {
  margin: 4px 0 6px;
}

.sec-note {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 18px;
  max-width: 62ch;
}

.q {
  padding: 16px 0;
  border-top: 1px solid var(--rule-soft);
}

.q:first-of-type {
  border-top: 0;
}

.q-text {
  font-size: 1rem;
  margin: 0 0 12px;
}

.opts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.stakes-row {
  max-width: 520px;
}

.opt {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  border-radius: 8px;
  padding: 10px 6px;
  min-height: 44px;
  cursor: pointer;
  text-align: center;
  line-height: 1.25;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.opt:hover {
  border-color: var(--accent);
  color: var(--ink);
}

.opt:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.opt[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.result {
  margin: 8px 0 16px;
  background: #f7f7f6;
  border: 1px solid var(--rule-soft);
  border-radius: 4px;
  padding: 28px 24px;
}

.result-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.persona {
  font-size: 1.7rem;
  letter-spacing: -0.01em;
  margin: 0;
}

.persona-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.persona-tag--target {
  background: var(--ink);
  color: var(--paper);
}

.persona-desc {
  color: var(--ink);
  font-size: 1rem;
  margin: 14px 0 0;
  max-width: 58ch;
}

@media (max-width: 620px) {
  
  .opts {
    gap: 6px;
  }
  .opt {
    font-size: 0.78rem;
    padding: 9px 4px;
  }
}

.scores {
  display: flex;
  gap: 18px;
  margin: 14px 0 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
}

.scores b {
  color: var(--ink);
  font-weight: 500;
}

.next {
  margin: 0;
  padding: 0;
  list-style: none;
}

.next li {
  font-size: 0.9rem;
  color: var(--ink);
  padding: 7px 0 7px 22px;
  position: relative;
  border-top: 1px solid var(--rule-soft);
}

.next li:first-child {
  border-top: 0;
}

.next li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 14px;
  width: 7px;
  height: 7px;
  background: var(--accent);
}

.reset {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: none;
  border: 1px solid var(--rule-soft);
  border-radius: 8px;
  color: var(--muted);
  padding: 9px 14px;
  cursor: pointer;
  margin-top: 24px;
}

.reset:hover {
  border-color: var(--accent);
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  .opt {
    transition: none;
  }
}

/* ---------- Evidence stat cards ------------------------------------------- */

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
}

@media (max-width: 860px) {
  .evidence-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .evidence-grid {
    grid-template-columns: 1fr;
  }
}

.stat-card {
  border-top: 1px solid var(--ink);
  padding-top: var(--space-4);
}

.evidence-grid .stat-figure {
  font-size: clamp(2.5rem, 1.8rem + 2.6vw, 3.5rem);
  margin: 0 0 12px;
}

.stat-unit {
  font-size: 0.36em;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0;
  margin-left: 3px;
}

.stat-claim {
  font-size: 1.08rem;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}

.stat-line {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 12px;
  max-width: 38ch;
}

.stat-src {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

/* ---------- Portal, survey and pricing calculator additions ---------------- */

.site-header--quiet {
  justify-content: space-between;
}

.portal-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.portal-user {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--muted);
}

.survey-org {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.portal-notice {
  margin: 18px 0 0;
  padding: 12px 16px;
  border: 2px solid var(--red);
  color: var(--red-dark);
  font-size: 0.92rem;
  max-width: 70ch;
}

.portal-demo {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: center;
  margin: 14px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.portal-auth {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

@media (max-width: 900px) {
  .portal-auth {
    grid-template-columns: 1fr;
  }
}

.portal-form .section-heading {
  border-top: none;
  padding-top: 0;
}

.portal-form .section-heading h2 {
  font-size: 1.4rem;
  margin-bottom: 0;
}

.portal-form .check-label {
  grid-template-columns: 20px 1fr;
  align-items: start;
  font-family: var(--font-body);
  font-size: 0.88rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}

.portal-form .check-label input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--red);
}

.field-hint {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}

.form-error {
  margin: 0;
  padding: 10px 14px;
  border-left: 3px solid var(--red);
  color: var(--red-dark);
  font-size: 0.92rem;
}

.portal-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  border-top: 2px solid var(--ink);
}

.portal-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule-soft);
}

.portal-list-empty {
  color: var(--muted);
  font-size: 0.95rem;
  padding: 12px 0;
}

.portal-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 0 0 12px;
}

.portal-inline input[type="text"],
.portal-inline textarea,
.portal-inline select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  border-radius: 0;
  flex: 1 1 260px;
}

.portal-inline--stack {
  flex-direction: column;
  align-items: stretch;
}

.portal-inline--stack textarea {
  width: 100%;
}

.portal-inline--select label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portal-inline--select select {
  flex: 0 1 360px;
}

.round {
  border: 2px solid var(--ink);
  padding: clamp(18px, 2.5vw, 28px);
  margin: 0 0 18px;
  display: grid;
  gap: 16px;
}

.round--closed {
  border-color: var(--rule-soft);
}

.round-head h3 {
  margin-bottom: 4px;
}

.round-meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--muted);
}

.round-share {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 18px;
  align-items: start;
}

@media (max-width: 640px) {
  .round-share {
    grid-template-columns: 1fr;
  }
}

.round-link {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.round-link input {
  flex: 1 1 240px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 10px 12px;
  border: 1px solid var(--ink);
  background: #f7f7f6;
  color: var(--ink);
  border-radius: 0;
}

.qr {
  width: 132px;
  height: 132px;
  border: 1px solid var(--rule-soft);
}

.round-invites summary {
  cursor: pointer;
  font-weight: 700;
}

.round-invites .portal-inline {
  margin-top: 12px;
}

.invite-list {
  font-size: 0.92rem;
}

.round-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.results-lead {
  font-weight: 700;
  margin: 0 0 18px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}

@media (max-width: 860px) {
  .results-grid {
    grid-template-columns: 1fr;
  }
}

.area-card {
  border-top: 3px solid var(--ink);
  padding-top: 16px;
}

.area-card--all {
  grid-column: 1 / -1;
  border-top-width: 6px;
}

.area-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
}

.area-head h3 {
  margin: 0;
}

.area-n {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
}

.area-bars {
  margin: 14px 0 0;
  display: grid;
  gap: 6px 16px;
  grid-template-columns: minmax(0, 1fr);
}

.area-bars dt {
  font-size: 0.9rem;
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
}

.area-bars dd {
  margin: 0 0 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  gap: 12px;
  align-items: center;
}

.bar {
  width: 100%;
  height: 14px;
}

.bar-track {
  fill: var(--rule-soft);
}

.bar-fill {
  fill: var(--ink);
}

.bar--binding .bar-fill {
  fill: var(--red);
}

.bar-value {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
  text-align: right;
}

.binding-tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid var(--red);
  padding: 2px 6px;
}

.area-classes {
  margin: 8px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.results-table th,
.results-table td {
  text-align: left;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--rule-soft);
  vertical-align: top;
}

.results-table th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--ink);
}

.results-table .num {
  font-variant-numeric: tabular-nums;
  text-align: right;
  padding-right: 18px;
}

.area-opts {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

.survey-submit {
  border-top: 2px solid var(--ink);
  padding-top: 22px;
}

.opts--dk {
  grid-template-columns: repeat(6, 1fr);
}

@media (max-width: 620px) {
  .opts--dk {
    grid-template-columns: repeat(3, 1fr);
  }
}

.survey-input {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 10px 12px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  border-radius: 0;
  width: 100%;
  max-width: 560px;
}

/* ---------- Plain-language layer and sample result ------------------------- */

.plain-words {
  margin: -6px 0 14px;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 60ch;
}

.plain-words::before {
  content: "In plain words: ";
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

.glossary {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 10px 24px;
  border-top: 2px solid var(--ink);
  padding-top: 16px;
}

@media (max-width: 640px) {
  .glossary {
    grid-template-columns: 1fr;
  }
}

.glossary dt {
  font-weight: 700;
}

.glossary dd {
  max-width: var(--measure);
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.95rem;
}

.sample-cap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.sample-cap b {
  color: var(--ink);
  font-weight: 500;
}

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

@media (max-width: 900px) {
  .sample .results-grid {
    grid-template-columns: 1fr;
  }
}

.sample-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  margin-left: 8px;
  vertical-align: middle;
}

.faq-item > div > .section:first-child {
  padding-top: 8px;
}

/* ---------- Kind line, kind strips, fit figure ------------------------------ */

.kind-line {
  margin: -6px 0 18px;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 62ch;
  border-left: 3px solid var(--red);
  padding-left: 12px;
}

.fit-figure {
  margin: 0;
  border: 1px solid var(--rule);
  border-radius: var(--radius-m);
  background: var(--paper);
  padding: clamp(16px, 2.5vw, 28px);
}

.fit-figure svg {
  width: 100%;
  height: auto;
  color: var(--ink);
}

.fit-figure figcaption {
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 78ch;
}

.scroll-x {
  overflow-x: auto;
}

/* Sub-condition means under each condition bar in the results view. */
.facet-line {
  margin: 4px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}

/* Interpretive band beside a condition label in the results view. */
.band-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 7px;
  border: 1px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: 2px;
}

.band-tag--established {
  background: var(--ink);
  color: var(--paper);
}

.band-tag--mixed {
  background: var(--paper);
  color: var(--ink);
}

.band-tag--limited {
  border-style: dashed;
  border-color: var(--muted);
  color: var(--muted);
}

/* =========================================================================
   Subpages (measure, start, evidence, about, privacy, thank-you)
   Built on the same tokens and patterns as the home page.
   ========================================================================= */

/* Page hero with a spot illustration beside the text. */
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.page-hero-grid h1 {
  max-width: 20ch;
  margin-bottom: var(--space-5);
}

.page-hero-grid .lede {
  max-width: 54ch;
  margin-bottom: 0;
}

.page-hero-figure {
  margin: 0;
  justify-self: end;
  align-self: center;
  width: 100%;
  max-width: 440px;
  padding-top: var(--space-6);
}

.page-hero-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
}

@media (max-width: 900px) {
  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-figure {
    justify-self: start;
    max-width: 300px;
    order: -1;
  }
}

/* A plain mono label and one sentence saying what a thing is. */
.kind-note {
  margin: var(--space-6) 0 0;
  padding-top: var(--space-4);
  border-top: 1px solid var(--rule);
  max-width: 60ch;
  font-size: var(--step--1);
  color: var(--muted);
}

.kind-note-label,
.draft-note-label {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

/* A notice that a page is a draft: paper-3 panel, no red. */
.draft-note {
  margin: var(--space-6) 0 0;
  padding: var(--space-4) var(--space-5);
  max-width: 60ch;
  background: var(--paper-3);
  border-radius: var(--radius-s);
  font-size: var(--step--1);
  color: var(--ink-2);
}

/* Section heading with a spot illustration beside it. */
.head-art {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(32px, 4.5vw, 56px);
}

.head-art .section-heading--full-width {
  margin-bottom: 0;
}

.head-art img {
  width: 100%;
  max-width: 360px;
  height: auto;
  justify-self: end;
}

@media (max-width: 860px) {
  .head-art {
    grid-template-columns: 1fr;
  }

  .head-art img {
    justify-self: start;
    max-width: 280px;
  }
}

/* Definition rows: a title on the left, its sentence on the right, joined by
   hairlines. For lists that are not a sequence, so no numbers. */
.def-rows {
  margin: 0;
  border-top: 1px solid var(--ink);
}

.def-row {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: var(--space-2) clamp(20px, 4vw, 56px);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--rule);
}

.def-row dt {
  font-weight: 700;
  line-height: 1.35;
}

.def-row dd {
  margin: 0;
  max-width: var(--measure);
  color: var(--ink-2);
}

.def-row-key {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.def-rows--stack .def-row,
.disclose .def-row {
  grid-template-columns: 1fr;
}

.disclose .def-rows {
  max-width: var(--measure);
}

@media (max-width: 700px) {
  .def-row {
    grid-template-columns: 1fr;
  }
}

.section--ink .def-rows {
  border-top-color: var(--on-ink);
}

.section--ink .def-row {
  border-bottom-color: var(--on-ink-rule);
}

.section--ink .def-row dd {
  color: var(--on-ink-muted);
}

/* Claims as rows (privacy): the heading left, the text and its disclosure
   right. */
.claim-list--rows {
  border-top: 1px solid var(--ink);
}

.claim-list--rows .claim {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: var(--space-2) clamp(20px, 4vw, 56px);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--rule);
}

.claim-list--rows .claim h3 {
  margin: 0;
}

.claim-list--rows .claim-line {
  margin: 0;
  max-width: var(--measure);
  color: var(--ink-2);
}

.claim-list--rows .disclose {
  margin-top: var(--space-1);
}

@media (max-width: 700px) {
  .claim-list--rows .claim {
    grid-template-columns: 1fr;
  }
}

/* The source line under a card or a tab panel. */
.card-source,
.panel-body .claim-source {
  margin: auto 0 0;
  padding-top: var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.04em;
  color: var(--muted);
}

.ed-card .card-source {
  font-size: var(--step--2);
}

.panel-body .disclose {
  margin-top: 0;
}

.panel-body .claim-line {
  max-width: 60ch;
}

.claim-source {
  max-width: var(--measure);
}

/* The call-to-action column of a closing split section. */
.cta-block {
  align-self: center;
}

.cta-block .cta-row {
  margin: 0;
}

/* A shorter band, for reference material behind a disclosure. */
.section--compact {
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(48px, 6vw, 80px);
}

.section--compact .section-heading--full-width {
  margin-bottom: var(--space-4);
}

.section--compact h2 {
  font-size: var(--step-2);
}

.disclose .ref-list {
  border-top: 1px solid var(--rule);
  margin-top: var(--space-2);
}

/* Inline SVG figures keep a legible size on a phone by scrolling sideways. */
.fit-scroll {
  overflow-x: auto;
}

@media (max-width: 700px) {
  .fit-scroll svg {
    min-width: 640px;
  }
}

.fit-figure + .compare-grid,
.fit-figure + .disclose {
  margin-top: clamp(24px, 3.5vw, 40px);
}

/* Lists and tables on the ink band. */
.section--ink .proof ul li {
  color: var(--on-ink-muted);
  border-top-color: var(--on-ink-rule);
}

.section--ink .compare-grid {
  border-color: var(--on-ink);
}

.section--ink .compare-axis,
.section--ink .compare-cell,
.section--ink .compare-head {
  border-top-color: var(--on-ink-rule);
}

.section--ink .compare-axis,
.section--ink .compare-head--ungoverned,
.section--ink .compare-cell--ungoverned {
  color: var(--on-ink-muted);
}

.section--ink .compare-head--governed,
.section--ink .compare-cell--governed {
  color: var(--on-ink);
  background: rgba(255, 255, 255, 0.06);
}

.section--ink .compare-head--governed {
  box-shadow: inset 0 3px 0 var(--on-ink);
}

.processing-table {
  min-width: 720px;
}

.processing-table td:first-child {
  font-weight: 500;
  color: var(--ink);
}

.scroll-x + .section-end {
  border-top: 0;
  padding-top: 0;
}


/* =========================================================================
   Photographs
   One visual world: warm paper, steel, ink, one red element. No border;
   --radius-m inside a column, square when full-bleed.
   ========================================================================= */

.photo {
  margin: 0;
}

.photo picture,
.photo img {
  display: block;
  width: 100%;
}

.photo img {
  height: auto;
  border-radius: var(--radius-m);
  background: var(--paper-3);
}

.photo--bleed img {
  border-radius: 0;
}

.photo figcaption {
  margin-top: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* Subpage hero: the photograph beside the copy, under the h1 on phones. */
.page-hero-grid {
  align-items: center;
}

.page-hero-figure.photo {
  max-width: 520px;
  padding-top: 0;
}

.page-hero-figure.photo img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

@media (max-width: 900px) {
  .page-hero-copy {
    display: contents;
  }

  .page-hero-copy > * {
    order: 2;
  }

  .page-hero-copy > .eyebrow,
  .page-hero-copy > h1 {
    order: 0;
  }

  .page-hero-figure.photo {
    order: 1;
    justify-self: stretch;
    max-width: none;
    margin: 0 0 var(--space-5);
  }

  .page-hero-grid {
    row-gap: 0;
  }

  .page-hero-grid h1 {
    margin-bottom: var(--space-5);
  }

  .page-hero-figure.photo + * {
    margin-top: 0;
  }
}

/* Section heads with a photograph beside them (benchmark, how it runs). */
.head-art .photo,
.method-head .photo {
  width: 100%;
  max-width: 420px;
  justify-self: end;
}

.head-art .photo img,
.method-head .photo img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

@media (max-width: 860px) {
  .head-art .photo,
  .method-head .photo {
    justify-self: stretch;
    max-width: none;
  }
}

.who-grid .photo {
  margin-top: var(--space-7);
  max-width: 440px;
}

.who-grid .photo img {
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

@media (max-width: 900px) {
  .who-grid .photo {
    max-width: none;
  }
}

/* The offer band: the ink field of dots behind the numerals. The photograph
   sits at the foot of the band and an ink wash keeps the text at AA. */
.section--photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.section--photo > .section-inner {
  position: relative;
  z-index: 1;
}

.section-photo {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(360px, 46vw, 680px);
  z-index: 0;
}

.section-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 100%;
}

/* Ink wash: solid at the top edge so the photo melts into the band, lighter
   over the curve, and heavy enough behind the small text for AA. */
.section-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--ink) 0%,
    rgba(20, 20, 20, 0.45) 30%,
    rgba(20, 20, 20, 0.35) 70%,
    rgba(20, 20, 20, 0.65) 100%
  );
}

/* Card copy: a title and one visible line; the rest behind "Read more". */
.ed-card .card-line {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.ed-card .card-line + .disclose {
  margin-top: var(--space-1);
}

/* About: the timeline becomes a vertical list on phones. */
.timeline-list {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 600px) {
  .fit-figure--timeline .fit-scroll {
    display: none;
  }

  .timeline-list {
    display: grid;
    gap: 0;
  }
}

.timeline-list li {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 0 0 var(--space-5) 28px;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.timeline-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ink);
}

.timeline-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 16px;
  bottom: 0;
  width: 1px;
  background: var(--ink);
}

.timeline-list li:last-child {
  padding-bottom: 0;
}

.timeline-list li:last-child::after {
  display: none;
}

.timeline-list li:last-child::before {
  background: var(--accent);
}

.timeline-year {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.08em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.timeline-list li:last-child .timeline-year,
.timeline-list li:last-child b {
  color: var(--accent);
}

/* Evidence: rows of dots in HTML, so they wrap on a phone. */
.dot-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-5);
}

.dot-rows-title {
  margin: 0 0 var(--space-5);
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.dot-row {
  display: grid;
  grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
  gap: var(--space-2) var(--space-5);
  align-items: center;
}

.dot-row-label {
  font-weight: 700;
  font-size: 0.9375rem;
}

.dot-row-dots {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

.dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ink);
  flex: none;
}

.dot--light {
  background: #8a8780;
}

.dot--open {
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--ink);
}

.dot-row-count {
  margin-left: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--step--2);
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 600px) {
  .dot-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .dot {
    width: 20px;
    height: 20px;
  }
}

/* A table that scrolls sideways shows a fade at the edge it can scroll to. */
.scroll-x {
  background:
    linear-gradient(90deg, var(--scroll-bg, var(--paper)) 30%, transparent) left / 40px 100% no-repeat local,
    linear-gradient(270deg, var(--scroll-bg, var(--paper)) 30%, transparent) right / 40px 100% no-repeat local,
    linear-gradient(90deg, rgba(20, 20, 20, 0.16), transparent) left / 16px 100% no-repeat scroll,
    linear-gradient(270deg, rgba(20, 20, 20, 0.16), transparent) right / 16px 100% no-repeat scroll;
}

.section--paper2 .scroll-x {
  --scroll-bg: var(--paper-2);
}

.scroll-x > table {
  background: transparent;
}

.head-art .photo img,
.method-head .photo img {
  max-width: none;
  justify-self: auto;
}

.timeline-list b {
  color: var(--ink);
}

/* Partners page: the three rules beneath the terms. */
.rules {
  margin-top: clamp(32px, 4.5vw, 56px);
}

.rules-title {
  margin: 0 0 var(--space-4);
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: var(--step-1);
  letter-spacing: -0.01em;
}

.survey-copyright {
  max-width: 70ch;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px) var(--space-6);
  font-size: var(--step--2);
  color: var(--muted);
}
