/* Blueprint Risk Engine, site design system.
 *
 * One stylesheet for the whole site. No external font loads, no CDN, no webfont
 * request: the type stack is what the machine already has, which is both faster than
 * anything downloaded and consistent with a product page that tells estimators their
 * documents are not marketing data.
 *
 * Dark only, deliberately. This is an instrument, and instruments are read on dark
 * panels. There is no light theme to keep in sync and therefore no light theme to
 * silently break.
 */

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

:root {
  --bg:          #08090c;
  --bg-raise:    #0d0f14;
  --panel:       #111419;
  --panel-2:     #161a21;
  --line:        rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* Four steps, and every one of them clears WCAG AA (4.5:1) against all four surfaces
   * in this file, including --panel-2, which is the lightest and therefore the hardest.
   * The original --ink-4 was #5d6474, which measured 2.94:1 on --panel-2 and 3.36:1 on
   * --bg. It carried the mono labels, the citations, the table headers and the form
   * hints, so the failing colour was on most of the small text on the site. Raising it
   * forced --ink-3 up as well, otherwise the two steps collapse into one and the
   * hierarchy the scale exists for is gone. */
  --ink:         #eceef2;  /* 15.02:1 on --panel-2 */
  --ink-2:       #b6bcc9;  /*  9.16:1 */
  --ink-3:       #949bab;  /*  6.26:1 */
  --ink-4:       #7a8294;  /*  4.53:1 */

  /* One accent, reserved for attention and risk. Everything else earns contrast
   * from weight and spacing rather than from colour. */
  --amber:       #d9a441;
  --amber-dim:   rgba(217, 164, 65, 0.14);
  --amber-line:  rgba(217, 164, 65, 0.34);

  --steel:       #7ea2e0;
  --steel-dim:   rgba(126, 162, 224, 0.12);

  /* Severity. These are semantic and must not be used decoratively. */
  --sev-block:   #e0645f;
  --sev-high:    #d9a441;
  --sev-med:     #8fa9d4;
  --sev-low:     #7c8496;
  --sev-ok:      #6cbf9a;

  --r-sm: 4px;
  --r:    8px;
  --r-lg: 14px;

  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Inter,
          Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
          "Liberation Mono", monospace;

  --wrap: 1200px;
  --nav-h: 60px;
}

/* ------------------------------------------------------------- baseline */

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

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.9rem); letter-spacing: -0.033em; }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.5rem); letter-spacing: -0.028em; }
h3 { font-size: clamp(1.1rem, 1.9vw, 1.3rem); letter-spacing: -0.017em; }
h4 { font-size: 1rem; letter-spacing: -0.01em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--ink); text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--amber); }

strong { color: var(--ink); font-weight: 600; }
code, kbd, samp { font-family: var(--mono); font-size: 0.88em; }

hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }

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

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--amber); color: #14100a; padding: 10px 16px;
  font-weight: 650; border-radius: 0 0 var(--r) 0;
}
.skip:focus { left: 0; }

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

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}
@media (max-width: 640px) { .wrap { padding-inline: 18px; } }

.sec { padding-block: clamp(64px, 9vw, 120px); }
.sec-tight { padding-block: clamp(48px, 6vw, 80px); }
.sec-line { border-top: 1px solid var(--line); }
.sec-raise { background: var(--bg-raise); }

.lede {
  font-size: clamp(1.02rem, 1.5vw, 1.17rem);
  color: var(--ink-2);
  max-width: 62ch;
  line-height: 1.62;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: var(--amber-line); flex: none;
}

.grid { display: grid; gap: 20px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .g-3, .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .g-2, .g-3, .g-4 { grid-template-columns: minmax(0, 1fr); } }

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

.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(8, 9, 12, 0.82);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  height: 100%;
  display: flex; align-items: center; gap: 28px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none; font-weight: 620;
  letter-spacing: -0.02em; font-size: 0.95rem; white-space: nowrap; flex: none;
}
.brand-mark { width: 20px; height: 20px; flex: none; }
.brand-sub { color: var(--ink-4); font-weight: 450; }
@media (max-width: 420px) { .brand-sub { display: none; } }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  color: var(--ink-3); text-decoration: none; font-size: 0.875rem;
  padding: 7px 11px; border-radius: var(--r-sm); white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--ink); background: rgba(255,255,255,0.045); }
.nav-links a[aria-current="page"] { color: var(--ink); }

.nav-cta {
  flex: none;
  background: var(--ink) !important; color: #0a0b0e !important;
  font-weight: 620 !important; padding: 8px 15px !important;
  border-radius: var(--r-sm); font-size: 0.85rem !important;
}
.nav-cta:hover { background: #fff !important; }

.nav-toggle {
  display: none; margin-left: auto;
  background: transparent; border: 1px solid var(--line-strong); color: var(--ink);
  border-radius: var(--r-sm); padding: 6px 10px; font-size: 0.8rem; cursor: pointer;
  font-family: var(--sans);
}
@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-raise); border-bottom: 1px solid var(--line);
    padding: 10px 18px 22px; margin-left: 0;
    max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
  }
  .nav-links[hidden] { display: none; }
  .nav-links a { padding: 13px 4px; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav-cta { text-align: center; margin-top: 16px; border-bottom: 0 !important; padding: 13px !important; }
}

.foot { border-top: 1px solid var(--line); padding-block: 56px 40px; background: var(--bg-raise); }
.foot-grid {
  display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px 24px;
}
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot h4 {
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-4); margin-bottom: 14px; font-weight: 500;
}
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 9px; }
.foot a { color: var(--ink-3); text-decoration: none; font-size: 0.88rem; }
.foot a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot-base {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between;
  color: var(--ink-4); font-size: 0.8rem;
}

/* -------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-size: 0.94rem; font-weight: 600;
  padding: 13px 22px; border-radius: var(--r); border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #0a0b0e; }
.btn-primary:hover { background: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink-3); background: rgba(255,255,255,0.035); }
.btn-sm { padding: 9px 15px; font-size: 0.85rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.arrow { transition: transform 0.15s; }
.btn:hover .arrow { transform: translateX(3px); }

.tlink {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--ink); text-decoration: none; font-weight: 550; font-size: 0.9rem;
}
.tlink:hover { color: var(--amber); }
.tlink:hover .arrow { transform: translateX(3px); }

/* ---------------------------------------------------------------- cards */

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
}
.card h3 { margin-bottom: 10px; }
/* `:where()` contributes no specificity, so this is a default a page-local rule such as
 * `.blk-sub` can override by simply existing. Written as `.card p` it was a (class +
 * element) selector that quietly beat every single-class rule a page defined, and the
 * only symptom was a label rendering at body size in the wrong colour. That is the kind
 * of defect that survives review because nothing about the page looks broken. */
.card :where(p) { color: var(--ink-3); font-size: 0.92rem; margin-bottom: 0; }
.card-link { display: block; text-decoration: none; transition: border-color 0.16s, background 0.16s; }
.card-link:hover { border-color: var(--line-strong); background: var(--panel-2); }

.num {
  font-family: var(--mono); font-size: 0.74rem; color: var(--amber);
  letter-spacing: 0.1em; display: block; margin-bottom: 14px;
}

.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em;
  padding: 4px 9px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--ink-3);
  text-transform: uppercase; white-space: nowrap;
}
.pill-amber { border-color: var(--amber-line); color: var(--amber); background: var(--amber-dim); }

.trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px;
  font-family: var(--mono); font-size: 0.735rem; color: var(--ink-4);
  letter-spacing: 0.04em;
}
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust span::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%;
  background: var(--amber); flex: none; opacity: 0.75;
}

/* -------------------------------------------------------- severity chips */

.sev {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: var(--r-sm); border: 1px solid;
  white-space: nowrap;
}
.sev::before { content: ""; width: 5px; height: 5px; border-radius: 1px; background: currentColor; flex: none; }
.sev-blocking { color: var(--sev-block); border-color: rgba(224,100,95,0.35); background: rgba(224,100,95,0.10); }
.sev-high     { color: var(--sev-high);  border-color: var(--amber-line);      background: var(--amber-dim); }
.sev-medium   { color: var(--sev-med);   border-color: rgba(143,169,212,0.32); background: rgba(143,169,212,0.10); }
.sev-low      { color: var(--sev-low);   border-color: var(--line-strong);     background: rgba(255,255,255,0.03); }

/* ------------------------------------------------------- build states
 *
 * Four states, and no fifth. "Not built", "not validated", "not wired" and "not ready"
 * were four ways of saying the same thing in four different tones, and a page carrying
 * all four reads as a product apologising for itself. One vocabulary, used everywhere:
 *
 *   Available      runs today on a real package
 *   Pilot          runs, and is being validated with design partners
 *   In Development actively being built, not reachable yet
 *   Planned        specified, id block reserved, no code
 *
 * The colour carries no judgement. Planned is not a failure state, it is a roadmap entry,
 * so it is grey rather than red. Nothing here is red: there is no broken state to show.
 */
.state {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 3px 9px; border-radius: var(--r-sm); border: 1px solid;
  white-space: nowrap;
}
.state::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex: none; }
.state-available { color: var(--sev-ok);  border-color: rgba(108,191,154,0.34); background: rgba(108,191,154,0.10); }
.state-pilot     { color: var(--amber);   border-color: var(--amber-line);      background: var(--amber-dim); }
.state-dev       { color: var(--sev-med); border-color: rgba(143,169,212,0.32); background: rgba(143,169,212,0.10); }
.state-planned   { color: var(--ink-4);   border-color: var(--line-strong);     background: rgba(255,255,255,0.03); }

/* The capability table. A .tbl whose first column is the thing and second is its state. */
.cap td:last-child, .cap th:last-child { text-align: right; white-space: nowrap; }
.cap td:first-child { color: var(--ink); }

/* ------------------------------------------------------- product surface */

/* The chrome that makes an embedded panel read as the product rather than as a
 * picture of the product. Used for the hero finding card and the register. */
.surface {
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 26px 70px -30px rgba(0, 0, 0, 0.9);
}
.surface-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: var(--bg-raise);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 0.72rem; color: var(--ink-4);
}
/* Truncate rather than wrap. On a phone the identifier in this bar is long enough to take
 * two lines, and a two-line title bar makes the panel below it read as a broken card
 * instead of as a product. An ellipsis is the honest loss here: the identifier is repeated
 * in full inside the panel. */
/* Truncate rather than wrap, and let BOTH labels shrink. On a phone the identifier and
 * the run summary are each long enough to take two lines, and a two-line title bar makes
 * the panel below it read as a broken card instead of as a product. `min-width: 0` is the
 * load-bearing declaration: without it a nowrap flex item refuses to shrink below its
 * text and pushes the whole page wider than the viewport. Both labels are repeated in
 * full inside the panel, so an ellipsis here loses nothing. */
.surface-bar > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 0 1 auto; }
.surface-bar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); flex: none; }
.surface-bar .grow { margin-left: auto; padding-left: 12px; }
.surface-body { padding: 20px; }

.kv { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 9px 16px; }
@media (max-width: 560px) { .kv { grid-template-columns: minmax(0, 1fr); gap: 3px 0; } }
.kv dt {
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--ink-4); padding-top: 2px;
}
.kv dd { margin: 0; color: var(--ink-2); font-size: 0.88rem; }
@media (max-width: 560px) { .kv dd { margin-bottom: 11px; } }

.quote {
  font-family: var(--mono); font-size: 0.8rem; line-height: 1.55;
  color: var(--ink); background: var(--bg); border: 1px solid var(--line);
  border-left: 2px solid var(--amber-line);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 10px 13px; margin: 0 0 8px;
  overflow-wrap: anywhere;
}
.quote:last-child { margin-bottom: 0; }
.quote cite {
  display: block; margin-top: 7px; font-style: normal;
  color: var(--ink-4); font-size: 0.75rem; letter-spacing: 0.04em;
}

.mono-note {
  font-family: var(--mono); font-size: 0.74rem; color: var(--ink-4);
  line-height: 1.6;
}

/* ------------------------------------------------------- risk register */

.reg { width: 100%; }
.reg-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.reg table { width: 100%; border-collapse: collapse; min-width: 780px; font-size: 0.855rem; }
.reg th {
  text-align: left; font-family: var(--mono); font-size: 0.71rem;
  letter-spacing: 0.11em; text-transform: uppercase; color: var(--ink-4);
  font-weight: 500; padding: 11px 14px; border-bottom: 1px solid var(--line);
  background: var(--bg-raise); position: sticky; top: 0;
}
.reg td { padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.reg tbody tr { cursor: pointer; transition: background 0.12s; }
.reg tbody tr:hover { background: rgba(255,255,255,0.028); }
.reg tbody tr[aria-selected="true"] { background: var(--amber-dim); }
.reg tbody tr[aria-selected="true"] td:first-child { box-shadow: inset 2px 0 0 var(--amber); }
.reg .rid { font-family: var(--mono); color: var(--ink); font-size: 0.8rem; }
.reg .tgt { color: var(--ink); }
.reg .src { font-family: var(--mono); font-size: 0.76rem; color: var(--ink-3); }

.reg-cards { display: none; }
@media (max-width: 860px) {
  .reg-scroll { display: none; }
  .reg-cards { display: grid; gap: 10px; }
}
.reg-card {
  width: 100%; text-align: left; cursor: pointer;
  background: var(--panel-2); border: 1px solid var(--line);
  border-radius: var(--r); padding: 15px; font-family: var(--sans);
  color: var(--ink-2); font-size: 0.9rem;
}
.reg-card[aria-selected="true"] { border-color: var(--amber-line); background: var(--amber-dim); }
.reg-card .top { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; flex-wrap: wrap; }
.reg-card .rid { font-family: var(--mono); font-size: 0.78rem; color: var(--ink); }
.reg-card .tgt { color: var(--ink); font-weight: 550; display: block; margin-bottom: 4px; }
.reg-card .act { color: var(--ink-3); font-size: 0.83rem; }

.detail { border-top: 1px solid var(--line); background: var(--bg-raise); padding: 22px; }
.detail h4 {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-4); font-weight: 500; margin: 0 0 9px;
}
.detail .blk { margin-bottom: 22px; }
.detail .blk:last-child { margin-bottom: 0; }
.detail :where(p) { font-size: 0.89rem; color: var(--ink-2); }

.trace { list-style: none; margin: 0; padding: 0; font-family: var(--mono); font-size: 0.76rem; }
.trace li {
  position: relative; padding: 0 0 12px 22px; color: var(--ink-3);
  border-left: 1px solid var(--line); margin-left: 4px;
}
.trace li:last-child { border-left-color: transparent; padding-bottom: 0; }
.trace li::before {
  content: ""; position: absolute; left: -4px; top: 6px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--bg-raise); border: 1px solid var(--line-strong);
}
.trace li.on::before { background: var(--amber); border-color: var(--amber); }
.trace li strong { color: var(--ink); font-weight: 500; }

/* --------------------------------------------------------------- tables */

.tbl { width: 100%; border-collapse: collapse; font-size: 0.89rem; }
.tbl th {
  text-align: left; font-family: var(--mono); font-size: 0.72rem;
  letter-spacing: 0.11em; text-transform: uppercase; color: var(--ink-4);
  font-weight: 500; padding: 10px 14px; border-bottom: 1px solid var(--line-strong);
}
.tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* --------------------------------------------------------------- notice */

.notice {
  border: 1px solid var(--amber-line); background: var(--amber-dim);
  border-radius: var(--r); padding: 16px 18px;
  font-size: 0.89rem; color: var(--ink-2);
}
.notice strong { color: var(--amber); }
.notice p:last-child { margin-bottom: 0; }

.flat {
  border: 1px solid var(--line); background: var(--panel);
  border-radius: var(--r); padding: 16px 18px; font-size: 0.89rem; color: var(--ink-3);
}
.flat p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- forms */

.field { margin-bottom: 18px; }
.field label {
  display: block; font-size: 0.83rem; font-weight: 550; color: var(--ink-2);
  margin-bottom: 7px;
}
.field .hint { display: block; font-weight: 400; color: var(--ink-4); font-size: 0.78rem; margin-top: 3px; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--r);
  padding: 11px 13px; font-family: var(--sans); font-size: 0.94rem;
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-4); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--amber); outline: none;
  box-shadow: 0 0 0 3px rgba(217, 164, 65, 0.14);
}
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%),
                    linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
  background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 38px;
}
.field option { background: var(--panel); color: var(--ink); }
.field-err input, .field-err select, .field-err textarea { border-color: var(--sev-block); }
.err-msg { color: var(--sev-block); font-size: 0.8rem; margin-top: 6px; }

.form-note {
  font-size: 0.82rem; color: var(--ink-4); line-height: 1.6;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin-top: 18px; }
.form-status[hidden] { display: none; }

/* --------------------------------------------------------------- prose */

.prose { max-width: 74ch; }
.prose h2 { margin-top: 2.4em; }
.prose h3 { margin-top: 1.9em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.15em; margin: 0 0 1.1em; }
.prose li { margin-bottom: 0.5em; }
.prose li::marker { color: var(--ink-4); }
