/* ============================================================
   Kestrel — home page
   Token names mirror the existing Nuxt system (--font-display,
   --font-ui, --font-body, --font-data, --ink*, --bg*, --border*)
   so this ports into the app without renaming.
   ============================================================ */

:root {
  /* Type families */
  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-ui:      "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --font-body:    Spectral, Georgia, "Times New Roman", serif;
  --font-data:    "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Ground and ink — warm paper, warm near-black */
  --bg:            #f5efe4;
  --bg-elevated:   #fdfaf4;
  --bg-muted:      #efe8db;
  --ink-strong:    #241d15;
  --ink:           #241d15eb;
  --ink-toned:     #241d15d6;
  --ink-muted:     #241d15c4;
  --ink-dim:       #241d15b8;   /* 6.44:1 on sheet — AA floor for small text */
  --border:        #241d1529;
  --border-muted:  #241d1514;

  /* Brand chrome — T1 Indigo. 49deg from the category's blue,
     90deg+ from every colour that carries meaning in data. */
  --brand:       #4b2e86;
  --brand-deep:  #3a2368;
  --brand-tint:  #4b2e860f;
  /* The highlighted comparison column sits behind semantic colour, so its
     tint is lighter — at 6% the explained-amber fell to 4.49:1. */
  --brand-tint-soft: #4b2e860a;
  --brand-edge:  #4b2e865c;
  --on-brand:    #f7f3ec;
  --on-brand-dim:#f7f3ecc7;

  /* Semantic palette — data only, never chrome */
  --sem-unexplained: #a3123a;   /* 7.45:1 on sheet */
  --sem-explained:   #8a5e12;   /* 5.46:1 — darkened from #b0781a, which failed at 3.63 */
  --sem-present:     #0b6e5c26;
  --sem-present-ink: #0b6e5c;

  /* Type scale */
  --text-display: clamp(2.75rem, 7.4vw, 5.875rem);
  --text-h1:      clamp(2rem, 4.6vw, 2.625rem);
  --text-h2:      clamp(1.75rem, 3.6vw, 3.75rem);
  --text-lede:    clamp(1.125rem, 1.9vw, 1.375rem);
  --text-body:    1.0625rem;
  --text-ui:      0.9375rem;
  --text-note:    0.8125rem;
  --text-label:   0.625rem;

  --tracking-display: -0.032em;
  --tracking-heading: -0.026em;
  --tracking-label:   0.2em;

  --radius: 3px;
  --radius-pill: 999px;
  --measure: 74ch;

  --pad-x: clamp(1.25rem, 4.7vw, 3.5rem);
  --section-y: clamp(3rem, 6vw, 4.75rem);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 0.22s;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: var(--text-ui);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 600; color: var(--ink-strong); }
h1 { font-size: var(--text-display); letter-spacing: var(--tracking-display); line-height: 0.93; }
h2 { font-size: var(--text-h1); letter-spacing: var(--tracking-heading); line-height: 1.1; text-wrap: balance; }
p  { margin: 0; }

a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}
a:hover { color: var(--brand-deep); text-decoration-thickness: 2px; }
/* Links that are already unambiguous by position or treatment opt out.
   Everything inside running text keeps its underline. */
.skip, .wordmark, .nav__links a, .nav__actions a, .footer__col a, .contents a,
.btn, .link-rule, .link-brand, .module__more a, .qchip { text-decoration: none; }
.footer__col a:hover, .nav__links a:hover { text-decoration: underline; }

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--brand); color: var(--on-brand);
  padding: 0.75rem 1.25rem; font-weight: 600;
}
.skip:focus { left: 0; color: var(--on-brand); }

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

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

.mono { font-family: var(--font-data); font-variant-numeric: tabular-nums; }
.serif { font-family: var(--font-body); }
.display { font-family: var(--font-display); font-variation-settings: "opsz" 96; }

.eyebrow {
  font-family: var(--font-data);
  font-size: 0.6875rem;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--ink-dim);
}

.section-marker { display: inline-flex; align-items: center; gap: 0.625rem; margin-bottom: 1.375rem; }
.section-marker::before {
  content: ""; width: 7px; height: 7px; border-radius: var(--radius-pill);
  background: var(--brand); flex-shrink: 0;
}

.lede { font-family: var(--font-body); font-size: var(--text-lede); line-height: 1.5; }
.prose { font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.62; color: var(--ink-toned); max-width: var(--measure); }

.btn {
  display: inline-block; padding: 0.9375rem 1.75rem;
  font-family: var(--font-ui); font-size: var(--text-ui); font-weight: 600;
  border-radius: var(--radius); border: 0; cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn--brand { background: var(--brand); color: var(--on-brand); }
.btn--brand:hover { background: var(--brand-deep); color: var(--on-brand); }
.btn--invert { background: var(--on-brand); color: var(--brand-deep); }
.btn--invert:hover { background: #fff; color: var(--brand-deep); }
.btn--sm { padding: 0.625rem 1.25rem; font-size: 0.875rem; }

.link-rule {
  font-family: var(--font-ui); font-weight: 600; color: var(--ink-strong);
  border-bottom: 2px solid var(--brand); padding-bottom: 2px;
  background: none; border-left: 0; border-right: 0; border-top: 0;
  cursor: pointer; font-size: 0.875rem;
}
.link-rule:hover { color: var(--brand); }
.link-brand { font-family: var(--font-ui); font-weight: 600; font-size: var(--text-ui); color: var(--brand); border-bottom: 2px solid var(--brand); padding-bottom: 2px; }

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.card__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; padding: 1rem 1.625rem; border-bottom: 1px solid var(--border-muted);
}
.card__body { padding: 1.5rem 1.625rem 1.625rem; }

.chip {
  font-family: var(--font-data); font-size: 0.625rem; letter-spacing: 0.16em;
  text-transform: uppercase; padding: 0.25rem 0.625rem; border-radius: 2px;
  border: 1px solid transparent; white-space: nowrap;
}
.chip--alert { color: var(--sem-unexplained); border-color: #a3123a5c; background: #a3123a0f; font-weight: 600; }
.chip--warn  { color: var(--sem-explained);   border-color: #8a5e125c; background: #8a5e120f; }
.chip--brand { color: var(--brand); border-color: var(--brand-edge); background: var(--brand-tint); }

/* ---------- layout ---------- */

.shell { max-width: 1200px; margin: 0 auto; }
.section { padding: var(--section-y) var(--pad-x); border-bottom: 1px solid var(--border); }
.section--band { background: var(--brand); color: var(--on-brand); border-bottom: 0; }
.section--band h1, .section--band h2 { color: var(--on-brand); }
.section--flush { border-bottom: 0; }

/* ---------- nav ---------- */

.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.25rem var(--pad-x); background: var(--bg-elevated);
  border-bottom: 1px solid var(--border-muted); flex-wrap: wrap;
}
.wordmark {
  font-family: var(--font-display); font-weight: 600; font-size: 1.3125rem;
  letter-spacing: -0.022em; color: var(--ink-strong); display: inline-flex; align-items: center;
}
.wordmark__name { position: relative; display: inline-block; line-height: 1; }
.wordmark__point {
  position: absolute; left: calc(100% + 0.09em); bottom: 0.96em;
  width: 0.22em; height: 0.22em; border-radius: var(--radius-pill); background: var(--brand);
}
.nav__links { display: flex; gap: 1.875rem; font-size: 0.875rem; font-weight: 500; }
.nav__links a { color: var(--ink-muted); }
.nav__links a:hover { color: var(--ink-strong); }
.nav__actions { display: flex; gap: 1.25rem; align-items: center; }
.nav__actions .signin { font-size: 0.875rem; color: var(--ink-muted); }

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

.hero { padding: clamp(3.5rem, 7vw, 5.625rem) var(--pad-x); }
.hero h1 { max-width: 15ch; }
.hero__sub { margin-top: 2.125rem; color: var(--on-brand); max-width: 50ch; }
.hero__cta { display: flex; align-items: center; gap: 1.5rem; margin-top: 2.75rem; flex-wrap: wrap; }
.hero__meta { font-family: var(--font-data); font-size: 0.75rem; color: var(--on-brand-dim); }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 0.625rem; margin-bottom: 2rem; color: var(--on-brand-dim); }
.hero__eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: var(--radius-pill); background: var(--on-brand); }

/* ---------- attendance grid ---------- */

.weeks { display: flex; flex-direction: column; border-top: 1px solid var(--border); margin-top: 0.25rem; }
.week {
  display: grid;
  grid-template-columns: 8.5rem repeat(5, minmax(0, 1fr)) 4.5rem;
  gap: 0.4375rem; align-items: center;
  padding: 0.5625rem 0; border-bottom: 1px solid var(--border-muted);
}
.week--head { padding: 0.5rem 0; }
.week__label { font-family: var(--font-data); font-size: 0.75rem; color: var(--ink-muted); }
.week__rate  { font-family: var(--font-data); font-size: 0.8125rem; color: var(--ink-muted); text-align: right; font-variant-numeric: tabular-nums; }
.week__rate--alert { color: var(--sem-unexplained); font-weight: 600; font-size: 0.875rem; }
.day { height: 23px; border-radius: 2px; background: var(--sem-present); }
.day--explained   { background: var(--sem-explained); }
.day--unexplained { background: var(--sem-unexplained); }
.day__hd { font-family: var(--font-data); font-size: var(--text-label); color: var(--ink-dim); text-align: center; }

.legend { display: flex; align-items: center; gap: 1.125rem; margin-top: 1.125rem; flex-wrap: wrap; }
.legend__item { display: inline-flex; align-items: center; gap: 0.375rem; font-family: var(--font-data); font-size: 0.6875rem; color: var(--ink-dim); }
.legend__swatch { width: 11px; height: 11px; border-radius: 2px; }

/* ---------- disclosure ---------- */

.disclosure { margin-top: 1.125rem; border-top: 1px solid var(--border); padding-top: 1.125rem; }
.disclosure[hidden] { display: none; }
.entry { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1.25rem; padding: 0.75rem 0; border-bottom: 1px solid var(--border-muted); }
.entry:last-child { border-bottom: 0; }
.entry__meta { font-family: var(--font-data); font-size: 0.75rem; color: var(--ink-dim); }
.entry__text { font-family: var(--font-body); font-size: 1rem; line-height: 1.55; color: var(--ink-toned); }
.entry__by { display: block; font-family: var(--font-data); font-size: 0.6875rem; color: var(--ink-dim); margin-top: 0.375rem; }

/* ---------- question ---------- */

.qchips { display: flex; gap: 0.625rem; margin-bottom: 1.125rem; flex-wrap: wrap; }
.qchip {
  font-family: var(--font-ui); font-size: 0.8125rem; padding: 0.5rem 0.875rem;
  background: var(--bg-elevated); color: var(--ink-muted);
  border: 1px solid var(--border); border-radius: var(--radius-pill);
  cursor: pointer; text-align: left; transition: all var(--dur) var(--ease);
}
.qchip:hover { border-color: var(--brand-edge); color: var(--ink-strong); }
.qchip[aria-selected="true"] { background: var(--brand); color: var(--on-brand); border-color: var(--brand); font-weight: 500; }

.result__scroll { overflow-x: auto; }
.result__table { width: 100%; border-collapse: collapse; min-width: 640px; }
.result__table th {
  font-family: var(--font-data); font-size: var(--text-label); letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-dim); font-weight: 400;
  text-align: left; padding: 0.625rem 0.5rem 0.625rem 0; border-bottom: 1px solid var(--border);
}
.result__table td { padding: 0.5625rem 0.5rem 0.5625rem 0; border-bottom: 1px solid var(--border-muted); font-size: 0.875rem; }
.result__table th.num, .result__table td.num { text-align: right; padding-right: 0; font-family: var(--font-data); font-variant-numeric: tabular-nums; }
.result__table td.mono { font-family: var(--font-data); font-size: 0.75rem; color: var(--ink-muted); }
.neg { color: var(--sem-unexplained); }
.mid { color: var(--sem-explained); }
.result__foot { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; }

/* ---------- pipeline ---------- */

.pipeline { display: flex; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 1.625rem; }
.pipeline__stage { flex: 1 1 0; padding: 1.125rem 1.25rem; border-right: 1px solid var(--border-muted); min-width: 0; }
.pipeline__stage:last-child { border-right: 0; background: var(--brand); }
.pipeline__stage:last-child .pipeline__name { color: var(--on-brand); }
.pipeline__stage:last-child .pipeline__n { color: var(--on-brand-dim); }
.pipeline__n { font-family: var(--font-data); font-size: var(--text-label); letter-spacing: 0.16em; color: var(--ink-dim); display: block; margin-bottom: 0.375rem; }
.pipeline__name { font-size: 0.875rem; font-weight: 600; }

/* ---------- roll ---------- */

.roll__row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 1rem; align-items: center; padding: 0.6875rem 0; border-bottom: 1px solid var(--border-muted);
}
.roll__row:last-child { border-bottom: 0; }
.roll__name { font-size: 0.9375rem; }
.roll__marks { display: flex; gap: 0.375rem; }
.mark {
  font-family: var(--font-data); font-size: 0.6875rem; padding: 0.3125rem 0.6875rem;
  border: 1px solid var(--border); background: none; color: var(--ink-dim);
  border-radius: 2px; cursor: pointer; transition: all var(--dur) var(--ease);
}
.mark:hover { border-color: var(--ink-dim); color: var(--ink-strong); }
.mark[aria-pressed="true"] { border-color: transparent; color: var(--on-brand); }
.mark--present[aria-pressed="true"] { background: var(--sem-present-ink); }
.mark--absent[aria-pressed="true"]  { background: var(--sem-unexplained); }

/* ---------- definition rows ---------- */

.rows { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.row { display: grid; grid-template-columns: 12.25rem minmax(0, 1fr); gap: 2rem; padding: 1rem 0; border-bottom: 1px solid var(--border-muted); }
.row__term { font-weight: 600; font-size: var(--text-ui); color: var(--ink-strong); }
.row__def { font-family: var(--font-body); font-size: 1rem; line-height: 1.55; color: var(--ink-muted); }

.pullquote {
  font-family: var(--font-body); font-size: 1.1875rem; line-height: 1.55;
  color: var(--ink-strong); max-width: 58ch; margin-top: 2rem;
  border-left: 3px solid var(--brand); padding-left: 1.25rem;
}

.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; }
.spec { padding: 1rem 0; border-top: 1px solid var(--border); }
.spec__name { font-size: var(--text-ui); font-weight: 600; margin-bottom: 0.3125rem; color: var(--ink-strong); }
.spec__body { font-family: var(--font-body); font-size: 1rem; line-height: 1.55; color: var(--ink-muted); }
.placeholder {
  font-family: var(--font-data); font-size: 0.8125rem; color: var(--sem-unexplained);
  background: #a3123a0f; border: 1px dashed #a3123a5c; padding: 0.375rem 0.625rem;
  border-radius: 2px; display: inline-block;
}

/* ---------- boundary ---------- */

.boundary { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.boundary__head, .boundary__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }
.boundary__head { padding: 0.6875rem 0; border-bottom: 1px solid var(--border); }
.boundary__row { padding: 0.9375rem 0; border-bottom: 1px solid var(--border-muted); }
.boundary__to { color: var(--brand); font-weight: 500; }

/* ---------- close + footer ---------- */

.close { padding: clamp(3rem, 6vw, 4.875rem) var(--pad-x); }
.close h2 { font-size: var(--text-h2); line-height: 1; max-width: 18ch; letter-spacing: -0.03em; }
.close__sub { margin-top: 1.625rem; color: var(--on-brand); max-width: 46ch; }

.footer {
  background: var(--bg-elevated); padding: 2.5rem var(--pad-x) 2.75rem;
  border-top: 1px solid var(--border-muted);
  display: flex; align-items: flex-start; justify-content: space-between; gap: 2.5rem; flex-wrap: wrap;
}
.footer__cols { display: flex; gap: 3.5rem; flex-wrap: wrap; }
.footer__col { display: flex; flex-direction: column; gap: 0.5625rem; font-size: 0.875rem; }
.footer__col a { color: var(--ink-muted); }
.footer__col a:hover { color: var(--ink-strong); }
.footer__legal { font-family: var(--font-data); font-size: 0.6875rem; color: var(--ink-dim); margin-top: 0.75rem; line-height: 1.7; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .nav__links { order: 3; width: 100%; gap: 0.875rem 1.25rem; flex-wrap: wrap; padding-top: 0.25rem; }
  .nav { gap: 0.75rem 1rem; }
  .nav__actions { gap: 0.875rem; }
  .nav__actions .btn--sm { padding: 0.5rem 0.875rem; font-size: 0.8125rem; }
  .grid2 { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pipeline { overflow-x: auto; }
  .pipeline__stage { min-width: 8.5rem; }
}

@media (max-width: 700px) {
  .row, .boundary__head, .boundary__row { grid-template-columns: minmax(0, 1fr); gap: 0.375rem; }
  .boundary__head { display: none; }
  .boundary__to::before { content: "hands to — "; font-family: var(--font-data); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim); }
  .entry { grid-template-columns: minmax(0, 1fr); gap: 0.375rem; }
  .roll__row { grid-template-columns: minmax(0, 1fr); gap: 0.5rem; }
  .roll__marks { justify-content: flex-start; }
  .week { grid-template-columns: repeat(5, minmax(0, 1fr)) 3.25rem; }
  .week__label { grid-column: 1 / -1; margin-bottom: 0.125rem; }
  .week--head .day__hd:first-of-type { grid-column: auto; }
  .footer { flex-direction: column; gap: 2rem; }
}

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

/* ============================================================
   Interior pages — compact head, status vocabulary, spec blocks
   ============================================================ */

.pagehead { padding: clamp(2.75rem, 5vw, 4rem) var(--pad-x) clamp(2.5rem, 4.5vw, 3.5rem); }
.pagehead h1 { font-size: var(--text-h2); line-height: 1.02; max-width: 20ch; letter-spacing: -0.03em; }
.pagehead__sub { margin-top: 1.5rem; color: var(--on-brand); max-width: 56ch; }
.pagehead__meta { margin-top: 2rem; font-family: var(--font-data); font-size: 0.75rem; color: var(--on-brand-dim); }

.contents {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
  padding: 1.125rem var(--pad-x); background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}
.contents a { font-family: var(--font-data); font-size: 0.75rem; color: var(--ink-muted); }
.contents a:hover { color: var(--brand); }

.nav__links a[aria-current="page"] { color: var(--ink-strong); font-weight: 600; box-shadow: inset 0 -2px 0 var(--brand); }

.status {
  font-family: var(--font-data); font-size: 0.625rem; letter-spacing: 0.16em;
  text-transform: uppercase; padding: 0.25rem 0.625rem; border-radius: 2px;
  border: 1px solid; white-space: nowrap; font-weight: 500;
}
.status--yes     { color: var(--sem-present-ink); border-color: #0b6e5c5c; background: #0b6e5c0f; }
.status--wip     { color: var(--sem-explained);   border-color: #8a5e125c; background: #8a5e120f; }
.status--no      { color: var(--sem-unexplained); border-color: #a3123a5c; background: #a3123a0f; }
.status--confirm { color: var(--ink-dim); border-color: var(--ink-dim); border-style: dashed; background: none; }

.block { padding: var(--section-y) var(--pad-x); border-bottom: 1px solid var(--border); }
.block__num { font-family: var(--font-data); font-size: 0.75rem; color: var(--ink-dim); letter-spacing: 0.16em; }
.block h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0.75rem 0 1.25rem; max-width: 26ch; }

.defs { display: flex; flex-direction: column; border-top: 1px solid var(--border); margin-top: 1.75rem; }
.def { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 2rem; padding: 1.125rem 0; border-bottom: 1px solid var(--border-muted); }
.def__k { font-weight: 600; font-size: var(--text-ui); color: var(--ink-strong); }
.def__v { font-family: var(--font-body); font-size: 1rem; line-height: 1.6; color: var(--ink-muted); }
.def__v code, .inline-code {
  font-family: var(--font-data); font-size: 0.8125rem;
  background: var(--bg-muted); padding: 0.0625rem 0.3125rem; border-radius: 2px; color: var(--ink-strong);
}

.tiers { width: 100%; border-collapse: collapse; margin-top: 1.75rem; }
.tiers th {
  font-family: var(--font-data); font-size: var(--text-label); letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-dim); font-weight: 400; text-align: left;
  padding: 0.625rem 1rem 0.625rem 0; border-bottom: 1px solid var(--border);
}
.tiers td { padding: 0.8125rem 1rem 0.8125rem 0; border-bottom: 1px solid var(--border-muted); font-size: 0.9375rem; vertical-align: top; }
.tiers td:last-child, .tiers th:last-child { padding-right: 0; }
.tiers .t-name { font-weight: 600; white-space: nowrap; }
.tiers .t-note { font-family: var(--font-body); color: var(--ink-muted); font-size: 1rem; line-height: 1.5; }

.assess { display: flex; flex-direction: column; border-top: 1px solid var(--border); margin-top: 1.75rem; }
.assess__row { display: grid; grid-template-columns: minmax(0, 1fr) 9rem; gap: 1.5rem; align-items: start; padding: 1rem 0; border-bottom: 1px solid var(--border-muted); }
.assess__name { font-weight: 600; font-size: var(--text-ui); color: var(--ink-strong); }
.assess__note { font-family: var(--font-body); font-size: 0.9375rem; line-height: 1.5; color: var(--ink-muted); margin-top: 0.25rem; }
.assess__status { justify-self: end; }

.gaps { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--border); margin-top: 1.75rem; }
.gap { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr) 9rem; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border-muted); align-items: start; }
.gap__dot { width: 7px; height: 7px; border-radius: var(--radius-pill); background: var(--sem-unexplained); margin-top: 0.5rem; }
.gap__dot--wip { background: var(--sem-explained); }
.gap__text { font-family: var(--font-body); font-size: 1rem; line-height: 1.6; color: var(--ink-toned); }
.gap__when { justify-self: end; font-family: var(--font-data); font-size: 0.75rem; color: var(--ink-dim); text-align: right; }

.note-panel {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-left: 3px solid var(--brand); border-radius: var(--radius);
  padding: 1.375rem 1.625rem; margin-top: 1.75rem;
}

@media (max-width: 700px) {
  .def, .assess__row { grid-template-columns: minmax(0, 1fr); gap: 0.375rem; }
  .assess__status { justify-self: start; margin-top: 0.5rem; }
  .gap { grid-template-columns: 1.5rem minmax(0, 1fr); }
  .gap__when { grid-column: 2; justify-self: start; text-align: left; margin-top: 0.25rem; }
  .tiers, .tiers thead, .tiers tbody, .tiers tr, .tiers td { display: block; width: 100%; }
  .tiers thead { display: none; }
  .tiers tr { padding: 0.875rem 0; border-bottom: 1px solid var(--border-muted); }
  .tiers td { border: 0; padding: 0.125rem 0; }
  .tiers td:nth-child(2)::before,
  .tiers td:nth-child(3)::before {
    font-family: var(--font-data); font-size: 0.625rem; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--ink-dim); display: block; margin-top: 0.5rem;
  }
  .tiers td:nth-child(2)::before { content: "Default reach"; }
  .tiers td:nth-child(3)::before { content: "Notes"; }
}

/* ============================================================
   Migration · Integrations · Admissions
   ============================================================ */

.phases { display: flex; flex-direction: column; border-top: 1px solid var(--border); margin-top: 1.75rem; }
.phase { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) 9rem; gap: 1.5rem; padding: 1.375rem 0; border-bottom: 1px solid var(--border-muted); align-items: start; }
.phase__n { font-family: var(--font-data); font-size: 0.75rem; color: var(--brand); letter-spacing: 0.12em; padding-top: 0.1875rem; }
.phase__name { font-weight: 600; font-size: 1.0625rem; color: var(--ink-strong); margin-bottom: 0.375rem; }
.phase__body { font-family: var(--font-body); font-size: 1rem; line-height: 1.6; color: var(--ink-muted); }
.phase__who { justify-self: end; text-align: right; font-family: var(--font-data); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim); line-height: 1.7; }

.matrix { width: 100%; border-collapse: collapse; margin-top: 1.75rem; }
.matrix th {
  font-family: var(--font-data); font-size: var(--text-label); letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-dim); font-weight: 400; text-align: left;
  padding: 0.625rem 1rem 0.625rem 0; border-bottom: 1px solid var(--border);
}
.matrix td { padding: 0.875rem 1rem 0.875rem 0; border-bottom: 1px solid var(--border-muted); font-size: 0.9375rem; vertical-align: top; }
.matrix td:last-child, .matrix th:last-child { padding-right: 0; text-align: right; }
.matrix .m-what { font-weight: 600; }
.matrix .m-note { font-family: var(--font-body); font-size: 1rem; line-height: 1.5; color: var(--ink-muted); }

.intgroup { padding: 1.5rem 0; border-bottom: 1px solid var(--border-muted); }
.intgroup:last-child { border-bottom: 0; }
.intgroup__head { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.625rem; }
.intgroup__name { font-weight: 600; font-size: 1.0625rem; color: var(--ink-strong); }
.intgroup__posture { font-family: var(--font-data); font-size: 0.625rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand); border: 1px solid var(--brand-edge); background: var(--brand-tint); padding: 0.1875rem 0.5rem; border-radius: 2px; }
.intgroup__names { font-family: var(--font-data); font-size: 0.8125rem; color: var(--ink-muted); line-height: 1.8; }
.intgroup__how { font-family: var(--font-body); font-size: 1rem; line-height: 1.6; color: var(--ink-muted); margin-top: 0.5rem; }

.never { display: flex; flex-direction: column; border-top: 1px solid var(--border); margin-top: 1.75rem; }
.never__row { display: grid; grid-template-columns: 16rem minmax(0, 1fr); gap: 2rem; padding: 1rem 0; border-bottom: 1px solid var(--border-muted); }
.never__what { font-weight: 600; color: var(--ink-strong); }
.never__why { font-family: var(--font-body); font-size: 1rem; line-height: 1.55; color: var(--ink-muted); }

.stages { display: flex; flex-direction: column; border-top: 1px solid var(--border); margin-top: 1.75rem; }
.stage { display: grid; grid-template-columns: 3rem 11rem minmax(0, 1fr); gap: 1.5rem; padding: 1.125rem 0; border-bottom: 1px solid var(--border-muted); align-items: baseline; }
.stage__n { font-family: var(--font-data); font-size: 0.75rem; color: var(--brand); }
.stage__name { font-weight: 600; color: var(--ink-strong); }
.stage__what { font-family: var(--font-body); font-size: 1rem; line-height: 1.6; color: var(--ink-muted); }

.callout {
  background: var(--brand); color: var(--on-brand);
  border-radius: var(--radius); padding: 2rem 2.125rem; margin-top: 2rem;
}
.callout h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.024em; margin: 0 0 0.875rem; color: var(--on-brand); }
.callout p { font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; color: var(--on-brand); max-width: 78ch; }
.callout p + p { margin-top: 0.875rem; }

@media (max-width: 700px) {
  .phase { grid-template-columns: 2.5rem minmax(0, 1fr); }
  .phase__who { grid-column: 2; justify-self: start; text-align: left; margin-top: 0.5rem; }
  .stage { grid-template-columns: 3rem minmax(0, 1fr); gap: 0.375rem 1rem; }
  .stage__what { grid-column: 2; }
  .never__row { grid-template-columns: minmax(0, 1fr); gap: 0.375rem; }
  .matrix, .matrix thead, .matrix tbody, .matrix tr, .matrix td { display: block; width: 100%; }
  .matrix thead { display: none; }
  .matrix tr { padding: 0.875rem 0; border-bottom: 1px solid var(--border-muted); }
  .matrix td { border: 0; padding: 0.125rem 0; text-align: left !important; }
  .matrix td:last-child { margin-top: 0.5rem; }
}

/* ============================================================
   Before / after — what an answer costs today vs in Kestrel
   ============================================================ */

.contrast { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin: 2.125rem 0 1.75rem; }

.pane { border: 1px solid var(--border); border-radius: var(--radius); padding: 1.375rem 1.5rem 1.5rem; display: flex; flex-direction: column; }
.pane--today { background: var(--bg-muted); }
.pane--kestrel { background: var(--bg-elevated); border-color: var(--brand-edge); }

.pane__label {
  font-family: var(--font-data); font-size: 0.625rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-dim); margin-bottom: 1rem;
}
.pane--kestrel .pane__label { color: var(--brand); }

.steps { display: flex; flex-direction: column; gap: 0; flex-grow: 1; }
.step { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr) auto; gap: 0.75rem; align-items: baseline; padding: 0.4375rem 0; }
.step__n { font-family: var(--font-data); font-size: 0.6875rem; color: var(--ink-dim); }
.step__what { font-family: var(--font-body); font-size: 0.9375rem; line-height: 1.45; color: var(--ink-toned); }
.step__when { font-family: var(--font-data); font-size: 0.6875rem; color: var(--ink-dim); white-space: nowrap; }
.step--wait .step__what { color: var(--ink-dim); font-style: italic; }

.pane__ask {
  font-family: var(--font-data); font-size: 0.8125rem; color: var(--ink-strong);
  background: var(--bg); border: 1px solid var(--border); border-radius: 2px;
  padding: 0.75rem 0.875rem; line-height: 1.45;
}
.pane__rows { display: flex; flex-direction: column; gap: 0.375rem; margin-top: 0.875rem; flex-grow: 1; }
.pane__rowline { height: 9px; border-radius: 2px; background: var(--ink-dim); opacity: 0.16; }
.pane__rowline:nth-child(2) { width: 82%; }
.pane__rowline:nth-child(3) { width: 91%; }
.pane__rowline:nth-child(4) { width: 74%; }

.pane__foot { margin-top: 1.25rem; padding-top: 0.875rem; border-top: 1px solid var(--border-muted); display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.pane__cost { font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; letter-spacing: -0.026em; color: var(--ink-strong); }
.pane--kestrel .pane__cost { color: var(--brand); }
.pane__costlabel { font-family: var(--font-data); font-size: 0.625rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-dim); }

@media (max-width: 760px) {
  .contrast { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
}

/* ============================================================
   Hero video
   ============================================================ */

.videofig { margin: 0; padding: 0 var(--pad-x); }
.videofig__frame {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  margin-top: calc(-1 * clamp(1.5rem, 3.5vw, 3rem));
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.videofig__frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.videofig__placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1rem;
  border: 2px dashed var(--brand-edge); background: var(--brand-tint); margin: 0.75rem;
  border-radius: 2px;
}
.videofig__play {
  width: 64px; height: 64px; border-radius: var(--radius-pill);
  background: var(--brand); color: var(--on-brand);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.videofig__note { font-family: var(--font-data); font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand); text-align: center; line-height: 1.8; }
.videofig__cap {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  margin-top: 0.875rem; flex-wrap: wrap;
  font-family: var(--font-data); font-size: 0.75rem; color: var(--ink-dim);
}

/* ============================================================
   Status page
   ============================================================ */

.overall { display: flex; align-items: center; gap: 1rem; padding: 1.375rem 1.625rem; border-radius: var(--radius); border: 1px solid; margin-top: 1.75rem; flex-wrap: wrap; }
.overall--ok { background: #0b6e5c0f; border-color: #0b6e5c5c; }
.overall__dot { width: 12px; height: 12px; border-radius: var(--radius-pill); background: var(--sem-present-ink); flex-shrink: 0; }
.overall__text { font-family: var(--font-display); font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink-strong); }
.overall__when { margin-left: auto; font-family: var(--font-data); font-size: 0.75rem; color: var(--ink-dim); }

.components { display: flex; flex-direction: column; border-top: 1px solid var(--border); margin-top: 1.75rem; }
.component { padding: 1.125rem 0; border-bottom: 1px solid var(--border-muted); }
.component__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.component__name { font-weight: 600; font-size: var(--text-ui); color: var(--ink-strong); }
.component__note { font-family: var(--font-body); font-size: 0.9375rem; color: var(--ink-muted); }
.uptime { display: flex; gap: 2px; align-items: stretch; height: 26px; }
.uptime span { flex: 1 1 0; border-radius: 1px; background: var(--sem-present-ink); opacity: 0.75; min-width: 2px; }
.uptime span.deg { background: var(--sem-explained); opacity: 1; }
.uptime span.out { background: var(--sem-unexplained); opacity: 1; }
.uptime__scale { display: flex; justify-content: space-between; margin-top: 0.375rem; font-family: var(--font-data); font-size: 0.625rem; color: var(--ink-dim); }

.incident { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1.5rem; padding: 1.25rem 0; border-bottom: 1px solid var(--border-muted); }
.incident__when { font-family: var(--font-data); font-size: 0.75rem; color: var(--ink-dim); line-height: 1.7; }
.incident__title { font-weight: 600; margin-bottom: 0.5rem; color: var(--ink-strong); }
.incident__updates { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.75rem; }
.incident__u { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1rem; font-family: var(--font-body); font-size: 0.9375rem; line-height: 1.5; color: var(--ink-muted); }
.incident__u time { font-family: var(--font-data); font-size: 0.6875rem; color: var(--ink-dim); }

/* ============================================================
   Comparison
   ============================================================ */

.cmp__scroll { overflow-x: auto; margin-top: 1.75rem; }
.cmp { width: 100%; border-collapse: collapse; min-width: 720px; }
.cmp th {
  font-family: var(--font-data); font-size: var(--text-label); letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-dim); font-weight: 400;
  padding: 0.75rem 0.5rem; border-bottom: 1px solid var(--border); text-align: center; vertical-align: bottom;
}
.cmp th:first-child { text-align: left; padding-left: 0; width: 32%; }
.cmp th.us { color: var(--brand); font-weight: 600; background: var(--brand-tint-soft); border-bottom-color: var(--brand-edge); }
.cmp td { padding: 0.8125rem 0.5rem; border-bottom: 1px solid var(--border-muted); text-align: center; font-size: 0.875rem; }
.cmp td:first-child { text-align: left; padding-left: 0; font-size: 0.9375rem; }
.cmp td.us { background: var(--brand-tint-soft); }
.cmp tr.grouphead td { border-bottom: 1px solid var(--border); padding-top: 1.75rem; }
.cmp tr.grouphead td:first-child { font-family: var(--font-data); font-size: var(--text-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-dim); }
.mk { font-family: var(--font-data); font-size: 0.75rem; letter-spacing: 0.04em; }
.mk--y { color: var(--sem-present-ink); font-weight: 600; }
.mk--p { color: var(--sem-explained); }
.mk--n { color: var(--ink-dim); }
.mk--np { color: var(--ink-dim); font-style: italic; }

.disclaim {
  border: 1px solid var(--border); border-left: 3px solid var(--sem-explained);
  background: var(--bg-elevated); border-radius: var(--radius);
  padding: 1.375rem 1.625rem; margin-top: 1.75rem;
}
.disclaim h3 { font-family: var(--font-ui); font-size: 0.9375rem; font-weight: 600; margin: 0 0 0.625rem; color: var(--ink-strong); }
.disclaim p { font-family: var(--font-body); font-size: 0.9375rem; line-height: 1.6; color: var(--ink-muted); max-width: none; }
.disclaim p + p { margin-top: 0.625rem; }

/* ============================================================
   Product overview — a list, deliberately not a tile grid
   ============================================================ */

.modgroup { margin-top: 2rem; }
.modgroup__label { font-family: var(--font-data); font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-dim); padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); }
.module { display: grid; grid-template-columns: 14rem minmax(0, 1fr) 7rem; gap: 2rem; padding: 1.125rem 0; border-bottom: 1px solid var(--border-muted); align-items: baseline; }
.module__name { font-weight: 600; font-size: 1.0625rem; color: var(--ink-strong); }
.module__what { font-family: var(--font-body); font-size: 1rem; line-height: 1.6; color: var(--ink-muted); }
.module__more { justify-self: end; }
.module__more a { font-family: var(--font-ui); font-size: 0.8125rem; font-weight: 600; border-bottom: 2px solid var(--brand); padding-bottom: 2px; white-space: nowrap; }
.module__more span { font-family: var(--font-data); font-size: 0.6875rem; color: var(--ink-dim); white-space: nowrap; }

@media (max-width: 760px) {
  .module { grid-template-columns: minmax(0, 1fr); gap: 0.375rem; }
  .module__more { justify-self: start; margin-top: 0.375rem; }
  .incident { grid-template-columns: minmax(0, 1fr); gap: 0.5rem; }
  .incident__u { grid-template-columns: minmax(0, 1fr); gap: 0.125rem; }
  .overall__when { margin-left: 0; width: 100%; }
}

/* ============================================================
   Security — the 60-second read above the detailed blocks.
   Deliberately airier than everything below it; the change in
   density is part of the signal.
   ============================================================ */

.shortver { padding: var(--section-y) var(--pad-x) calc(var(--section-y) * 0.8); border-bottom: 1px solid var(--border); }
.shortver__label { font-family: var(--font-data); font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 1.5rem; }
.shortver__list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--border); }
.shortver__item {
  display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: 0.875rem;
  padding: 1rem 0; border-bottom: 1px solid var(--border-muted);
  font-family: var(--font-body); font-size: 1.1875rem; line-height: 1.5; color: var(--ink-toned);
}
.shortver__item::before {
  content: ""; width: 7px; height: 7px; border-radius: var(--radius-pill);
  background: var(--brand); margin-top: 0.6875rem; justify-self: center;
}
.shortver__item strong { color: var(--ink-strong); font-weight: 600; }
.shortver__item--gap { color: var(--ink-strong); }
.shortver__item--gap::before { background: var(--sem-unexplained); }
.shortver__foot {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  margin-top: 1.5rem; flex-wrap: wrap;
}
.shortver__foot p { font-family: var(--font-body); font-size: 1rem; color: var(--ink-muted); }

/* ============================================================
   About — people, and the ownership map
   ============================================================ */

.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1.75rem 2rem; margin-top: 1.75rem; }
.person { border-top: 1px solid var(--border); padding-top: 1.125rem; }
.person__portrait {
  aspect-ratio: 1 / 1; width: 100%; max-width: 8rem; border-radius: var(--radius);
  background: var(--brand-tint); border: 2px dashed var(--brand-edge);
  display: flex; align-items: center; justify-content: center; margin-bottom: 0.875rem;
  font-family: var(--font-data); font-size: 0.625rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--brand); text-align: center; padding: 0.5rem;
}
.person__name { font-weight: 600; font-size: 1.0625rem; color: var(--ink-strong); }
.person__role { font-family: var(--font-data); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-dim); margin: 0.3125rem 0 0.625rem; }
.person__bio { font-family: var(--font-body); font-size: 0.9375rem; line-height: 1.55; color: var(--ink-muted); }

.owners { width: 100%; border-collapse: collapse; margin-top: 1.75rem; }
.owners th {
  font-family: var(--font-data); font-size: var(--text-label); letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-dim); font-weight: 400; text-align: left;
  padding: 0.625rem 1rem 0.625rem 0; border-bottom: 1px solid var(--border);
}
.owners td { padding: 0.8125rem 1rem 0.8125rem 0; border-bottom: 1px solid var(--border-muted); font-size: 0.9375rem; vertical-align: top; }
.owners td:last-child, .owners th:last-child { padding-right: 0; }
.owners .o-sys { font-weight: 600; color: var(--ink-strong); }
.owners .o-own { font-family: var(--font-data); font-size: 0.8125rem; color: var(--ink-muted); }

/* ============================================================
   Walkthrough booking form
   ============================================================ */

.formwrap { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 3rem; margin-top: 1.75rem; align-items: start; }
.field { display: flex; flex-direction: column; gap: 0.4375rem; margin-bottom: 1.375rem; }
.field label { font-family: var(--font-ui); font-size: 0.875rem; font-weight: 600; color: var(--ink-strong); }
.field .hint { font-family: var(--font-body); font-size: 0.875rem; color: var(--ink-dim); }
.field input, .field select, .field textarea {
  font-family: var(--font-ui); font-size: 1rem; color: var(--ink-strong);
  background: var(--bg-elevated); border: 1px solid var(--border-accented, #241d1552);
  border-radius: var(--radius); padding: 0.6875rem 0.875rem; width: 100%;
}
.field textarea { min-height: 7rem; resize: vertical; font-family: var(--font-body); line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.field--req label::after { content: " *"; color: var(--sem-unexplained); }
.fieldrow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.25rem; }
.consent { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr); gap: 0.75rem; align-items: start; margin: 0.5rem 0 1.75rem; }
.consent input { width: 1.125rem; height: 1.125rem; margin-top: 0.1875rem; accent-color: var(--brand); }
.consent label { font-family: var(--font-body); font-size: 0.9375rem; line-height: 1.5; color: var(--ink-muted); font-weight: 400; }
.aside { background: var(--bg-elevated); border: 1px solid var(--border); border-left: 3px solid var(--brand); border-radius: var(--radius); padding: 1.5rem 1.625rem; }
.aside h2, .aside h3 { font-family: var(--font-ui); font-size: 0.9375rem; font-weight: 600; margin: 0 0 0.875rem; color: var(--ink-strong); }
.aside li { font-family: var(--font-body); font-size: 0.9375rem; line-height: 1.55; color: var(--ink-muted); margin-bottom: 0.625rem; }
.aside ul { margin: 0; padding-left: 1.125rem; }

@media (max-width: 860px) {
  .formwrap { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .fieldrow { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .owners, .owners thead, .owners tbody, .owners tr, .owners td { display: block; width: 100%; }
  .owners thead { display: none; }
  .owners tr { padding: 0.75rem 0; border-bottom: 1px solid var(--border-muted); }
  .owners td { border: 0; padding: 0.125rem 0; }
}

/* ============================================================
   Mid-page prompt. Deliberately quieter than the closing band —
   it sits inside the argument rather than ending it.
   ============================================================ */

.prompt {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1.25rem 2rem; flex-wrap: wrap;
  margin-top: 2rem; padding: 1.375rem 1.625rem;
  /* Tinted and fully bordered, so it does not read as another pullquote or
     note-panel — both of which use a brand left rule. This is an ask. */
  background: var(--brand-tint);
  border: 1px solid var(--brand-edge);
  border-radius: var(--radius);
}
.prompt__text {
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.55;
  color: var(--ink-toned); max-width: 62ch; margin: 0;
}
.prompt__text strong { color: var(--ink-strong); font-weight: 600; }
.prompt a { white-space: nowrap; }
/* ============================================================
   Modifiers and utilities.

   These exist so no element on the site needs a style attribute.
   That is a rendering decision and a security one: with no inline
   style anywhere, the content policy the container serves can say
   `style-src 'self'` and mean it.

   Component modifiers come first, because most of what used to be
   an inline style was a variant of a component rather than a
   one-off. The spacing steps at the foot are the genuine one-offs,
   and they keep the exact values the pages were tuned with.
   ============================================================ */

/* ---------- component modifiers ---------- */

/* The label above a footer column or a legend group. */
.eyebrow--col { letter-spacing: 0.16em; margin-bottom: 0.1875rem; }
.eyebrow--wide { letter-spacing: 0.16em; }

/* The wordmark set small, as the footer and the 404 page set it. */
.wordmark--sm { font-size: 1.1875rem; }

/* The paragraph holding the button that closes a band. */
.band__action { margin-top: 2.375rem; }

/* Prose that runs the full column rather than stopping at the measure. */
.prose--wide { max-width: none; }

/* A muted note directly under the section it qualifies. */
.note-after { margin-top: 1.5rem; color: var(--ink-muted); max-width: 62ch; }

/* The lede that opens a block and carries more weight than the rest. */
.lede--lead {
  color: var(--ink-strong); max-width: 64ch;
  font-weight: 500; margin-bottom: 1.625rem;
}

/* A heading set at the size between h3 and body. */
.subhead { font-size: 1.3125rem; font-weight: 600; letter-spacing: -0.024em; }

/* Legend swatches take their fill from the semantic palette, never from brand. */
.legend__swatch--unexplained { background: var(--sem-unexplained); }
.legend__swatch--explained { background: var(--sem-explained); }
.legend__swatch--present { background: var(--sem-present); }
.legend__swatch--present-ink { background: var(--sem-present-ink); opacity: 0.75; }

/* The rate column heading in the attendance grid, which reads right. */
.day__hd--rate { text-align: right; letter-spacing: 0.16em; }

/* Mono metadata, at the three sizes the set-pieces use it. */
.meta { font-size: 0.6875rem; color: var(--ink-dim); }
.meta--md { font-size: 0.75rem; color: var(--ink-dim); }
.meta--nowrap { font-size: 0.6875rem; color: var(--ink-dim); white-space: nowrap; }
.meta--label {
  font-size: 0.6875rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-dim);
}
.meta--strong { font-size: 0.8125rem; color: var(--ink-strong); }

/* A row of items that wraps, used above a set-piece. */
.inline-row {
  display: flex; align-items: center;
  gap: 0.875rem; margin-bottom: 0.9375rem; flex-wrap: wrap;
}

/* Pushes what follows it to the far end of a flex row. */
.spacer { flex-grow: 1; }

.semibold { font-weight: 600; }
.ruled-top { border-top: 1px solid var(--border); margin-top: 1.75rem; }

/* ---------- spacing steps ---------- */
/* The values the pages were tuned with, named rather than repeated.
   1: 0.375  2: 0.5   3: 0.875  4: 1     5: 1.125  6: 1.375  7: 1.5
   8: 1.625  9: 1.75  10: 1.875  11: 2   12: 2.25  13: 2.5   (rem) */

.mt-5 { margin-top: 1.125rem; }
.mt-7 { margin-top: 1.5rem; }
.mt-8 { margin-top: 1.625rem; }
.mt-9 { margin-top: 1.75rem; }
.mt-11 { margin-top: 2rem; }
.mt-12 { margin-top: 2.25rem; }
.mt-13 { margin-top: 2.5rem; }

.mb-3 { margin-bottom: 0.875rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.375rem; }
.mb-7 { margin-bottom: 1.5rem; }
.mb-10 { margin-bottom: 1.875rem; }

.pt-1 { padding-top: 0.375rem; }
.pt-2 { padding-top: 0.5rem; }
