/* =========================================================
   Reading system — long-form documentation.

   Layered on portal.css + chrome.css.
   Principles:
   - Generous measure (64ch), large body (17px), honest line-height.
   - Hierarchy from size + weight, never from uppercase.
   - Uppercase only for: numbering (OS-01), metadata keys, nav section dividers.
   - One reading column + one quiet TOC rail. Nothing else.
   - Full Aktiv range used: Extended for heads, Standard for body,
     Condensed reserved for metadata and numbering ONLY.
   ========================================================= */

:root {
  --r-measure:       64ch;   /* body max-width */
  --r-side:          220px;  /* TOC rail width */
  --r-gutter:        80px;   /* gap between rail and column */

  --r-body:          17px;
  --r-body-lh:       1.65;
  --r-lead:          21px;   /* first paragraph / summary */
  --r-lead-lh:       1.5;

  --r-h1:            44px;
  --r-h1-lh:         1.08;
  --r-h2:            28px;
  --r-h2-lh:         1.2;
  --r-h3:            19px;
  --r-h3-lh:         1.4;

  --r-pullquote:     34px;
  --r-pullquote-lh:  1.2;

  --r-ink:           #14110E;
  --r-ink-2:         #3A332B;
  --r-ink-3:         #7A6F63;
}

/* =========================================================
   Doc shell — 3 regions: eyebrow crown, article, rail.
   ========================================================= */
.doc {
  display: grid;
  grid-template-columns: 1fr minmax(0, var(--r-measure)) var(--r-side) 1fr;
  grid-column-gap: var(--r-gutter);
  padding: 56px 0 120px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: start;
}
.doc > * { grid-column: 2; }
.doc > .doc__rail { grid-column: 3; }
.doc > .doc__full { grid-column: 2 / span 2; }

/* Stack the rail under content when the viewport gets tight */
@media (max-width: 1200px) {
  .doc { grid-template-columns: 1fr minmax(0, var(--r-measure)) 1fr; grid-column-gap: 0; padding-inline: 32px; }
  .doc > .doc__rail { grid-column: 2; margin-top: 32px; }
  .doc > .doc__full { grid-column: 2; }
}

/* =========================================================
   Doc header — quietly ceremonial
   ========================================================= */
.doc__crown {
  display: flex; align-items: baseline; gap: 14px;
  margin-bottom: 18px;
  font-family: var(--font-cd);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--r-ink-3);
}
.doc__crown .num {
  color: var(--p-accent);
  font-weight: 700;
  letter-spacing: 0.1em;
}
.doc__crown .sep { color: var(--p-ink-4); }

.doc__title {
  font-family: var(--font-ex);
  font-weight: 800;
  font-size: var(--r-h1);
  line-height: var(--r-h1-lh);
  letter-spacing: -0.025em;
  color: var(--r-ink);
  margin: 0 0 20px;
  text-wrap: balance;
}

.doc__lede {
  font-family: var(--font-std);
  font-weight: 400;
  font-size: var(--r-lead);
  line-height: var(--r-lead-lh);
  color: var(--r-ink-2);
  margin: 0 0 32px;
  max-width: 56ch;
  text-wrap: pretty;
}

.doc__metarow {
  display: flex; align-items: center; gap: 28px;
  padding: 14px 0;
  border-top: 1px solid var(--p-rule);
  border-bottom: 1px solid var(--p-rule);
  margin: 0 0 48px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--r-ink-2);
}
.doc__metarow > div { display: flex; flex-direction: column; gap: 2px; }
.doc__metarow .k {
  font-family: var(--font-cd);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--r-ink-3);
}
.doc__metarow .spacer { flex: 1; min-width: 24px; }
.doc__metarow .btn { margin: 0; }

/* =========================================================
   Body type — honest hierarchy from weight + size
   ========================================================= */
.doc__body {
  font-family: var(--font-std);
  font-size: var(--r-body);
  line-height: var(--r-body-lh);
  color: var(--r-ink);
  font-weight: 400;
}
.doc__body > * + * { margin-top: 1.2em; }
.doc__body p { margin: 0; max-width: none; text-wrap: pretty; }
.doc__body p + p { margin-top: 1em; }
.doc__body strong { font-weight: 700; color: var(--r-ink); }
.doc__body em { font-style: italic; }

.doc__body h2 {
  font-family: var(--font-ex);
  font-weight: 700;
  font-size: var(--r-h2);
  line-height: var(--r-h2-lh);
  letter-spacing: -0.02em;
  color: var(--r-ink);
  margin: 72px 0 20px;
  scroll-margin-top: 80px;
  text-wrap: balance;
}
.doc__body h2:first-child { margin-top: 0; }

.doc__body h3 {
  font-family: var(--font-ex);
  font-weight: 500;
  font-size: var(--r-h3);
  line-height: var(--r-h3-lh);
  letter-spacing: -0.01em;
  color: var(--r-ink);
  margin: 40px 0 12px;
  scroll-margin-top: 80px;
}

.doc__body ul, .doc__body ol { margin: 0; padding-left: 1.4em; }
.doc__body li { margin: 0.3em 0; }
.doc__body li::marker { color: var(--p-ink-3); }

.doc__body a {
  color: var(--p-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: color-mix(in srgb, var(--p-accent) 30%, transparent);
}

.doc__body hr {
  border: 0; height: 1px;
  background: var(--p-rule);
  margin: 48px 0;
}

/* Section numbering — used sparingly, only in operational docs */
.doc__body h2 .n {
  display: inline-block;
  font-family: var(--font-cd);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--p-accent);
  vertical-align: top;
  margin-right: 10px;
  padding-top: 6px;
}

/* =========================================================
   Editorial primitives — the things that make a doc sing
   ========================================================= */

/* Pull-quote: takes the eye. Use once per doc. */
.pullquote {
  font-family: var(--font-ex);
  font-weight: 500;
  font-size: var(--r-pullquote);
  line-height: var(--r-pullquote-lh);
  letter-spacing: -0.02em;
  color: var(--r-ink);
  border-top: 1px solid var(--p-rule-strong);
  border-bottom: 1px solid var(--p-rule-strong);
  padding: 28px 0;
  margin: 48px 0;
  text-wrap: balance;
}
.pullquote cite {
  display: block;
  font-family: var(--font-cd);
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--r-ink-3);
  margin-top: 14px;
}

/* Aside — quiet callout, indented, no box */
.aside {
  margin: 32px 0;
  padding-left: 20px;
  border-left: 1px solid var(--p-rule-strong);
  color: var(--r-ink-2);
  font-size: 15px;
  line-height: 1.6;
}
.aside__label {
  font-family: var(--font-cd);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--r-ink-3);
  margin-bottom: 6px;
  display: block;
}

/* Marginalia — floats to the right of the column (big screens),
   stacks inline otherwise. Use for author notes, cross-refs. */
.doc__body .margin-note {
  font-family: var(--font-cd);
  font-size: 12px;
  line-height: 1.5;
  color: var(--r-ink-3);
  letter-spacing: 0.01em;
}
@media (min-width: 1200px) {
  .doc__body .margin-note {
    float: right;
    clear: right;
    width: 180px;
    margin: 6px -210px 12px 24px;
    padding-top: 4px;
    border-top: 1px solid var(--p-rule);
  }
}

/* Numbered counter — tenets, pillars, rules */
.counter {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--p-rule);
  align-items: baseline;
}
.counter:last-child { border-bottom: 1px solid var(--p-rule); }
.counter__n {
  font-family: var(--font-ex);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--p-ink-4);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.counter__title {
  font-family: var(--font-ex);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--r-ink);
  margin: 0 0 10px;
  text-wrap: balance;
}
.counter__body {
  font-family: var(--font-std);
  font-size: 15px;
  line-height: 1.6;
  color: var(--r-ink-2);
  max-width: 52ch;
}

/* Big tenet — louder counter, for the quotable list */
.tenet {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 28px;
  padding: 36px 0;
  border-top: 1px solid var(--p-rule);
  align-items: baseline;
}
.tenet:last-child { border-bottom: 1px solid var(--p-rule-strong); }
.tenet__n {
  font-family: var(--font-cd);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--r-ink-3);
  padding-top: 12px;
}
.tenet__phrase {
  font-family: var(--font-ex);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--r-ink);
  margin: 0 0 12px;
  text-wrap: balance;
}
.tenet__phrase em {
  font-style: normal;
  color: var(--p-accent);
}
.tenet__expand {
  font-family: var(--font-std);
  font-size: 15px;
  line-height: 1.6;
  color: var(--r-ink-2);
  max-width: 52ch;
}

/* Inline mark — emphasised phrase used like a printed highlighter */
.mark {
  background: linear-gradient(180deg, transparent 55%, var(--p-accent-wash) 55%);
  padding: 0 2px;
}

/* =========================================================
   TOC rail
   ========================================================= */
.doc__rail {
  position: sticky;
  top: 80px;
  font-family: var(--font-std);
  font-size: 13px;
  line-height: 1.5;
  color: var(--r-ink-3);
  padding-top: 4px;
}
.doc__rail-label {
  font-family: var(--font-cd);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--r-ink-3);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--p-rule);
  margin-bottom: 12px;
}
.doc__rail-list { list-style: none; margin: 0; padding: 0; }
.doc__rail-list li { margin: 0; }
.doc__rail-list a {
  display: block;
  padding: 6px 0 6px 14px;
  color: var(--r-ink-2);
  text-decoration: none;
  border-left: 1px solid var(--p-rule);
  font-size: 13px;
  transition: color var(--pd-fast), border-color var(--pd-fast);
}
.doc__rail-list a:hover { color: var(--r-ink); border-left-color: var(--p-ink-3); }
.doc__rail-list a.is-active {
  color: var(--r-ink);
  border-left-color: var(--p-accent);
  font-weight: 500;
}
.doc__rail-progress {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--p-rule);
  font-family: var(--font-cd);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--r-ink-3);
}
.doc__rail-progress .bar {
  height: 2px;
  background: var(--p-rule);
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}
.doc__rail-progress .bar span {
  position: absolute; inset: 0 auto 0 0;
  width: 0%;
  background: var(--p-accent);
  transition: width var(--pd-med) var(--pe-std);
}

/* =========================================================
   Doc footer — prev / next / back
   ========================================================= */
.doc__footer {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid var(--p-rule-strong);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: stretch;
}
.doc__nav {
  display: flex; flex-direction: column;
  padding: 14px 0;
  text-decoration: none;
  color: var(--r-ink);
  min-width: 0;
}
.doc__nav:hover { color: var(--p-accent); }
.doc__nav--next { text-align: right; }
.doc__nav .k {
  font-family: var(--font-cd);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--r-ink-3);
  margin-bottom: 4px;
}
.doc__nav .t {
  font-family: var(--font-ex);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.doc__nav-back {
  align-self: center;
  font-family: var(--font-cd);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--r-ink-3);
  text-decoration: none;
  padding: 14px 0;
  border-left: 1px solid var(--p-rule);
  border-right: 1px solid var(--p-rule);
  padding-inline: 32px;
}
.doc__nav-back:hover { color: var(--p-accent); }

/* =========================================================
   Foundation index (page A) — editorial directory, not cards
   ========================================================= */
.idx {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 48px 40px 96px;
  max-width: var(--p-content-max);
  margin: 0 auto;
}
.idx__col-head {
  font-family: var(--font-ex);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.015em;
  color: var(--r-ink);
  margin: 0 0 6px;
}
.idx__col-sub {
  font-family: var(--font-std);
  font-size: 14px;
  color: var(--r-ink-3);
  line-height: 1.55;
  margin: 0 0 24px;
  max-width: 42ch;
}

.idx__list { border-top: 1px solid var(--p-rule-strong); }
.idx__doc {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--p-rule);
  align-items: baseline;
  text-decoration: none;
  color: var(--r-ink);
  transition: background var(--pd-fast);
  position: relative;
}
.idx__doc:hover { background: color-mix(in srgb, var(--p-paper-2) 60%, transparent); }
.idx__doc:hover .idx__doc-title { color: var(--p-accent); }

.idx__doc-num {
  font-family: var(--font-cd);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--p-ink-4);
  padding-top: 4px;
  text-transform: uppercase;
}
.idx__doc-title {
  font-family: var(--font-ex);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.015em;
  color: var(--r-ink);
  margin: 0;
  transition: color var(--pd-fast);
  display: flex; align-items: baseline; gap: 10px;
  text-wrap: balance;
}
.idx__doc-meta {
  font-family: var(--font-cd);
  font-size: 12px;
  color: var(--r-ink-3);
  line-height: 1.5;
  margin-top: 4px;
  letter-spacing: 0.02em;
}
.idx__doc-meta .owner { color: var(--r-ink-2); }
.idx__doc-updated {
  font-family: var(--font-cd);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--r-ink-3);
  text-align: right;
  padding-top: 4px;
  white-space: nowrap;
}

/* Unread dot */
.idx__doc[data-unread="1"] .idx__doc-title::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--p-accent);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  align-self: center;
  transform: translateY(-1px);
}

/* Continue reading — strip at top of index */
.idx-continue {
  background: var(--p-card);
  border: 1px solid var(--p-rule);
  border-radius: var(--pr-2);
  padding: 20px 24px;
  margin: 8px 40px 48px;
  max-width: calc(var(--p-content-max) - 80px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}
.idx-continue__label {
  font-family: var(--font-cd);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--r-ink-3);
  margin-bottom: 6px;
}
.idx-continue__title {
  font-family: var(--font-ex);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--r-ink);
  text-decoration: none;
}
.idx-continue__title:hover { color: var(--p-accent); }
.idx-continue__progress {
  font-family: var(--font-cd);
  font-size: 12px;
  color: var(--r-ink-3);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

/* Recently updated strip — dateline, not a card */
.idx-recent {
  padding: 0 40px 40px;
  max-width: var(--p-content-max);
  margin: 0 auto;
}
.idx-recent__head {
  font-family: var(--font-ex);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.015em;
  color: var(--r-ink);
  margin: 0 0 18px;
}
.idx-recent__list { border-top: 1px solid var(--p-rule-strong); }
.idx-recent__item {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--p-rule);
  align-items: baseline;
  text-decoration: none;
  color: var(--r-ink);
}
.idx-recent__item:hover .idx-recent__title { color: var(--p-accent); }
.idx-recent__date {
  font-family: var(--font-cd);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--r-ink-3);
}
.idx-recent__title {
  font-family: var(--font-ex);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--r-ink);
  transition: color var(--pd-fast);
}
.idx-recent__who {
  font-family: var(--font-cd);
  font-size: 12px;
  color: var(--r-ink-3);
  letter-spacing: 0.02em;
}

/* =========================================================
   Mission & Pillars — tree analogy frame
   ========================================================= */
.tree {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  padding: 48px 0 24px;
  border-top: 1px solid var(--p-rule-strong);
}
.tree + .tree { border-top: 1px solid var(--p-rule); padding-top: 48px; }
.tree:last-of-type { border-bottom: 1px solid var(--p-rule-strong); padding-bottom: 48px; }
.tree__marker {
  font-family: var(--font-cd);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--p-ink-3);
  padding-top: 6px;
}
.tree__marker strong {
  display: block;
  font-family: var(--font-ex);
  font-weight: 800;
  font-size: 36px;
  letter-spacing: -0.03em;
  color: var(--p-accent);
  text-transform: none;
  margin-top: 4px;
  line-height: 1;
}
.tree__title {
  font-family: var(--font-ex);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.025em;
  color: var(--r-ink);
  margin: 0 0 16px;
  line-height: 1.1;
  text-wrap: balance;
}
.tree__body {
  font-family: var(--font-std);
  font-size: 17px;
  line-height: 1.6;
  color: var(--r-ink);
  max-width: 56ch;
}
.tree__body p + p { margin-top: 1em; }

/* Mission hero — the ceremonial statement */
.mission {
  padding: 80px 0 48px;
  border-bottom: 1px solid var(--p-rule-strong);
  margin-bottom: 0;
}
.mission__label {
  font-family: var(--font-cd);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--p-ink-3);
  margin-bottom: 24px;
}
.mission__statement {
  font-family: var(--font-ex);
  font-weight: 500;
  font-size: 56px;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--r-ink);
  margin: 0 0 32px;
  max-width: 18ch;
  text-wrap: balance;
}
.mission__statement em {
  font-style: normal;
  color: var(--p-accent);
  font-weight: 700;
}
.mission__footer {
  font-family: var(--font-std);
  font-size: 17px;
  color: var(--r-ink-2);
  line-height: 1.6;
  max-width: 52ch;
}

/* =========================================================
   SPED — acronym frame
   ========================================================= */
.sped-frame {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 48px;
  padding: 56px 0;
  border-top: 1px solid var(--p-rule-strong);
  border-bottom: 1px solid var(--p-rule-strong);
  margin-bottom: 48px;
}
.sped-frame__acro {
  font-family: var(--font-ex);
  font-weight: 800;
  font-size: 96px;
  line-height: 0.88;
  letter-spacing: -0.06em;
  color: var(--p-accent);
  text-transform: uppercase;
}
.sped-frame__acro .letter { display: block; color: var(--p-ink); }
.sped-frame__acro .letter strong { color: var(--p-accent); }
.sped-frame__statement {
  font-family: var(--font-ex);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--r-ink);
  margin: 8px 0 0;
  max-width: 44ch;
  text-wrap: balance;
}
.sped-frame__statement em { font-style: normal; color: var(--p-accent); font-weight: 700; }

.sped-section {
  padding: 56px 0;
  border-bottom: 1px solid var(--p-rule);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 48px;
}
.sped-section:last-of-type { border-bottom: 1px solid var(--p-rule-strong); }
.sped-section__marker {
  font-family: var(--font-cd);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--r-ink-3);
  padding-top: 4px;
}
.sped-section__marker strong {
  display: block;
  font-family: var(--font-ex);
  font-weight: 800;
  font-size: 72px;
  letter-spacing: -0.04em;
  color: var(--p-ink-4);
  text-transform: uppercase;
  line-height: 0.9;
  margin-top: 10px;
}
.sped-section__title {
  font-family: var(--font-ex);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.025em;
  color: var(--r-ink);
  margin: 0 0 18px;
  line-height: 1.1;
}
.sped-section__body {
  font-family: var(--font-std);
  font-size: 17px;
  line-height: 1.6;
  color: var(--r-ink);
  max-width: 56ch;
}
.sped-section__body p + p { margin-top: 1em; }
.sped-section__body ul {
  margin: 16px 0 0; padding-left: 1.4em;
  font-size: 16px;
}
.sped-section__body li { margin: 0.3em 0; }

/* Paradox callout — mid-doc pull-quote variant */
.paradox {
  padding: 56px 0;
  border-top: 1px solid var(--p-rule-strong);
  border-bottom: 1px solid var(--p-rule-strong);
  margin: 56px 0;
  text-align: left;
}
.paradox__label {
  font-family: var(--font-cd);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--p-accent);
  margin-bottom: 20px;
}
.paradox__body {
  font-family: var(--font-ex);
  font-weight: 500;
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--r-ink);
  max-width: 22ch;
  text-wrap: balance;
}
.paradox__body em { font-style: normal; color: var(--p-accent); font-weight: 700; }

/* =========================================================
   Value (page C) — six short essays
   ========================================================= */
.value {
  padding: 44px 0;
  border-top: 1px solid var(--p-rule);
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 48px;
}
.value:first-of-type { border-top: 1px solid var(--p-rule-strong); }
.value:last-of-type { border-bottom: 1px solid var(--p-rule-strong); }
.value__marker {
  font-family: var(--font-cd);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--r-ink-3);
  padding-top: 8px;
}
.value__marker strong {
  display: block;
  font-family: var(--font-ex);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--r-ink);
  margin-top: 6px;
  text-transform: none;
  line-height: 1.1;
}
.value__body {
  font-family: var(--font-std);
  font-size: 16px;
  line-height: 1.65;
  color: var(--r-ink);
}
.value__body .lead {
  font-size: 18px;
  font-weight: 500;
  color: var(--r-ink);
  margin-bottom: 12px;
  max-width: 48ch;
  line-height: 1.45;
}
.value__body p + p { margin-top: 0.9em; }

/* Rules block — terse, numbered */
.rules {
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid var(--p-rule-strong);
}
.rules__head {
  font-family: var(--font-ex);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--r-ink);
  margin: 0 0 24px;
}
.rule {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--p-rule);
  align-items: baseline;
}
.rule:last-child { border-bottom: 1px solid var(--p-rule-strong); }
.rule__n {
  font-family: var(--font-cd);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--p-accent);
}
.rule__text {
  font-family: var(--font-ex);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--r-ink);
  text-wrap: balance;
}

/* =========================================================
   Foundation index head — broad page intro
   ========================================================= */
.idx-head {
  padding: 48px 40px 32px;
  max-width: var(--p-content-max);
  margin: 0 auto;
}
.idx-head__eyebrow {
  font-family: var(--font-cd);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--r-ink-3);
  margin-bottom: 12px;
}
.idx-head h1 {
  font-family: var(--font-ex);
  font-weight: 800;
  font-size: 44px;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--r-ink);
  margin: 0 0 14px;
}
.idx-head p {
  font-size: 19px;
  line-height: 1.5;
  color: var(--r-ink-2);
  max-width: 58ch;
  margin: 0;
  font-family: var(--font-std);
}
