/* ==========================================================================
   Sendy Wave Bond - design system
   Ink navy + warm paper + single teal accent. No framework defaults.
   ========================================================================== */

:root {
  /* Colour ---------------------------------------------------------------- */
  --ink:            #101826;
  --ink-soft:       #1b2637;
  --paper:          #ffffff;
  --canvas:         #f6f5f2;
  --canvas-deep:    #edece7;
  --rule:           #e0dfd9;
  --rule-strong:    #c9c7bf;

  --text:           #101826;
  --text-2:         #4c5563;
  --text-3:         #767f8c;
  --text-inv:       #f4f3ef;

  --accent:         #0e5c52;
  --accent-hover:   #0a463e;
  --accent-wash:    #e8f1ef;
  --accent-rule:    #bcd5d0;

  /* State colours are used ONLY inside the model. Nowhere else. */
  --state-done:     #2f6b3f;
  --state-done-bg:  #eaf2ec;
  --state-done-ru:  #c3dccb;
  --state-wait:     #8a6413;
  --state-wait-bg:  #f8f2e2;
  --state-wait-ru:  #e6d6ab;

  /* Type ------------------------------------------------------------------ */
  --font-display: ui-serif, "Iowan Old Style", "Source Serif 4", Charter,
                  "Georgia Pro", Georgia, Cambria, serif;
  --font-sans:    ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
                  "Helvetica Neue", Arial, sans-serif;
  --font-mono:    ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
                  "Liberation Mono", monospace;

  --t--1: 0.8125rem;
  --t-0:  1.0625rem;
  --t-1:  1.1875rem;
  --t-2:  1.4375rem;
  --t-3:  clamp(1.6rem, 1.2rem + 1.6vw, 2.125rem);
  --t-4:  clamp(2.1rem, 1.4rem + 3vw, 3.25rem);

  /* Space ----------------------------------------------------------------- */
  --s1: 0.5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2rem;
  --s5: 3rem;
  --s6: 4rem;
  --s7: 6rem;
  --s8: 8rem;

  --measure: 68ch;
  --width:   1120px;
  --width-narrow: 820px;

  --radius: 3px;
  --radius-lg: 5px;

  --shadow: 0 1px 2px rgba(16, 24, 38, 0.05),
            0 8px 24px -12px rgba(16, 24, 38, 0.12);
}

/* Optional self-hosted type. Drop the woff2 files in assets/fonts/ and
   uncomment, then swap --font-sans / --font-display. Left off by default so
   there are no 404s in the network tab.
@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700; font-display: swap; font-style: normal;
}
*/

/* Reset -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--font-sans);
  font-size: var(--t-0);
  line-height: 1.65;
  color: var(--text);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1 0 auto; }

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

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-hover); }

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

/* Typography --------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.012em;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: var(--t-4); }
h2 { font-size: var(--t-3); }
h3 { font-size: var(--t-2); }
h4 { font-size: var(--t-1); }

p, li { text-wrap: pretty; }

.lede {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 60ch;
}

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

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--t--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: var(--s2);
}

.muted { color: var(--text-2); }
.small { font-size: 0.9375rem; }
.mono  { font-family: var(--font-mono); font-size: 0.9375em; }

/* Layout ------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--width);
  margin-inline: auto;
  padding-inline: var(--s3);
}
.wrap--narrow { max-width: var(--width-narrow); }

.section { padding-block: var(--s7); }
.section--tight { padding-block: var(--s6); }
.section--rule { border-top: 1px solid var(--rule); }
.section--paper { background: var(--paper); border-block: 1px solid var(--rule); }

.stack > * + * { margin-top: var(--s2); }
.stack-lg > * + * { margin-top: var(--s4); }

.grid { display: grid; gap: var(--s3); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.section-head { max-width: var(--measure); margin-bottom: var(--s5); }
.section-head h2 + p { margin-top: var(--s2); }

/* Skip link ---------------------------------------------------------------- */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--text-inv);
  padding: var(--s2) var(--s3);
  font-size: var(--t--1);
}
.skip:focus { left: 0; color: var(--text-inv); }

/* Header ------------------------------------------------------------------- */
.masthead {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 60;
}

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  min-height: 68px;
  padding-block: var(--s1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--ink);
}
.brand svg { color: var(--ink); flex: none; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand__name em { font-style: normal; color: var(--accent); }

.nav { display: flex; align-items: center; gap: var(--s4); }
.nav__list { display: flex; gap: var(--s4); list-style: none; }
.nav__list a {
  font-size: 0.9375rem;
  color: var(--text-2);
  text-decoration: none;
  padding-block: var(--s1);
  border-bottom: 2px solid transparent;
}
.nav__list a:hover { color: var(--ink); }
.nav__list a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.release-chip {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  padding: 0.1875rem 0.5rem;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  padding: 0.4375rem 0.625rem;
  font: inherit;
  font-size: 0.875rem;
  color: var(--ink);
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 0.375rem; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding: var(--s2) var(--s3) var(--s3);
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s2);
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; gap: 0; width: 100%; }
  .nav__list a {
    display: block;
    width: 100%;
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--rule);
  }
  .nav__list a[aria-current="page"] { border-bottom-color: var(--accent); }
  .masthead__inner { position: relative; }
}

/* Notice bar --------------------------------------------------------------- */
.notice {
  background: var(--ink);
  color: #c3cbd8;
  font-size: 0.8125rem;
  line-height: 1.5;
  padding-block: 0.5rem;
}
.notice strong { color: var(--text-inv); font-weight: 600; }
.notice a { color: #9fc4bd; }

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  padding: 0.75rem 1.125rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.btn--ghost {
  background: transparent;
  border-color: var(--rule-strong);
  color: var(--ink);
}
.btn--ghost:hover { background: var(--canvas-deep); border-color: var(--text-3); color: var(--ink); }
.btn--small { padding: 0.5rem 0.8125rem; font-size: 0.875rem; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s2); }

/* Cards -------------------------------------------------------------------- */
.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: var(--s4);
}
.card--flat { background: transparent; border: 0; padding: 0; }
.card__num {
  font-family: var(--font-mono);
  font-size: var(--t--1);
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: var(--s2);
}
.card h3 { font-size: var(--t-1); margin-bottom: 0.5rem; }
.card p { color: var(--text-2); font-size: 0.9375rem; }

.callout {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: var(--s4);
}
.callout h3 { margin-bottom: var(--s2); }
.callout p + p { margin-top: var(--s2); }
.callout p { color: var(--text-2); }

/* Definition rows ---------------------------------------------------------- */
.deflist { border-top: 1px solid var(--rule); }
.deflist__row {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: var(--s3);
  padding-block: var(--s3);
  border-bottom: 1px solid var(--rule);
}
.deflist__row dt {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--ink);
}
.deflist__row dd { color: var(--text-2); font-size: 0.9375rem; }
@media (max-width: 720px) {
  .deflist__row { grid-template-columns: 1fr; gap: 0.375rem; }
}

/* Tables ------------------------------------------------------------------- */
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--paper);
}
table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
th, td { text-align: left; padding: 0.875rem 1rem; border-bottom: 1px solid var(--rule); }
thead th {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 500;
  background: var(--canvas);
}
tbody tr:last-child td { border-bottom: 0; }
td { color: var(--text-2); vertical-align: top; }
td code { color: var(--ink); }

/* Code --------------------------------------------------------------------- */
code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: var(--canvas-deep);
  padding: 0.1em 0.35em;
  border-radius: 2px;
}
.code {
  background: var(--ink);
  color: #cfd6e0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.code__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  padding: 0.625rem 1rem;
  border-bottom: 1px solid #27334a;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8b97a9;
}
.code pre {
  margin: 0;
  padding: var(--s3);
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.7;
}
.code code { background: none; padding: 0; font-size: inherit; color: inherit; }
.tok-key { color: #8fc7f0; }
.tok-str { color: #9fd6b4; }
.tok-num { color: #e0be7a; }
.tok-com { color: #6f7b8f; }

.code__tabs { display: flex; gap: 0.375rem; }
.code__tab {
  font: inherit;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: transparent;
  color: #8b97a9;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.25rem 0.5rem;
  cursor: pointer;
}
.code__tab[aria-selected="true"] { background: #27334a; color: #eef2f7; }

/* Model (simulator) -------------------------------------------------------- */
.model {
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.model__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  background: var(--ink);
  color: #b9c2d0;
  padding: 0.875rem var(--s3);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}
.model__bar strong { color: var(--text-inv); font-weight: 500; }
.model__body { padding: var(--s4) var(--s3); }

.model__banner {
  display: flex;
  gap: 0.625rem;
  background: var(--accent-wash);
  border: 1px solid var(--accent-rule);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #14453e;
  margin-bottom: var(--s4);
}

.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: var(--s2); margin-bottom: var(--s4); }
.figure { border: 1px solid var(--rule); border-radius: var(--radius); padding: var(--s3); background: var(--canvas); }
.figure__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 0.375rem;
}
.figure__value { font-family: var(--font-mono); font-size: 1.375rem; font-weight: 600; color: var(--ink); }

.tranches { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: var(--s4); }
.tranche {
  display: grid;
  grid-template-columns: 120px 1fr 150px 150px;
  align-items: center;
  gap: var(--s3);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--rule-strong);
  border-radius: var(--radius);
  padding: var(--s3);
  background: var(--paper);
}
.tranche.is-current { border-left-color: var(--accent); background: var(--accent-wash); }
.tranche.is-settled { border-left-color: var(--state-done); background: var(--state-done-bg); }
.tranche__id { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.tranche__name { font-weight: 600; font-size: 0.9375rem; }
.tranche__cond { font-size: 0.875rem; color: var(--text-2); }
.tranche__ref { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-3); margin-top: 0.25rem; }
.tranche__amt { font-family: var(--font-mono); font-weight: 600; text-align: right; }
@media (max-width: 860px) {
  .tranche { grid-template-columns: 1fr; gap: 0.625rem; }
  .tranche__amt { text-align: left; }
}

.tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 2px;
  border: 1px solid var(--rule-strong);
  background: var(--canvas);
  color: var(--text-2);
  white-space: nowrap;
}
.tag--done { background: var(--state-done-bg); border-color: var(--state-done-ru); color: var(--state-done); }
.tag--wait { background: var(--state-wait-bg); border-color: var(--state-wait-ru); color: var(--state-wait); }
.tag--live { background: var(--accent-wash); border-color: var(--accent-rule); color: var(--accent); }
.tranche .tag { justify-self: end; }
@media (max-width: 860px) { .tranche .tag { justify-self: start; } }

.model__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s2);
  padding-top: var(--s2);
  border-top: 1px solid var(--rule);
  margin-bottom: var(--s4);
}
.model__controls .spacer { margin-left: auto; font-size: 0.875rem; color: var(--text-3); }

.log {
  background: var(--ink);
  border-radius: var(--radius);
  padding: var(--s3);
  height: 172px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.75;
  color: #9aa6b8;
}
.log__row { display: flex; gap: 0.75rem; }
.log__t { color: #5f6c81; flex: none; user-select: none; }
.log__m--ok { color: #8fd0a6; }
.log__m--info { color: #8fc7f0; }

/* Timeline ----------------------------------------------------------------- */
.phases { display: grid; gap: var(--s3); }
.phase {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: var(--s3);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: var(--s4);
}
.phase--current { border-color: var(--accent-rule); background: var(--accent-wash); }
.phase__when {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-3);
}
.phase h3 { font-size: var(--t-1); margin-bottom: 0.5rem; }
.phase p { color: var(--text-2); font-size: 0.9375rem; }
.phase ul { margin-top: var(--s2); padding-left: 1.125rem; color: var(--text-2); font-size: 0.9375rem; }
.phase li { margin-top: 0.375rem; }
@media (max-width: 720px) { .phase { grid-template-columns: 1fr; gap: var(--s2); } }

/* Changelog ---------------------------------------------------------------- */
.changelog { border-top: 1px solid var(--rule); }
.changelog__entry {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: var(--s3);
  padding-block: var(--s3);
  border-bottom: 1px solid var(--rule);
}
.changelog__date { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--text-3); }
.changelog__body p { font-size: 0.9375rem; color: var(--text-2); }
.changelog__body strong { color: var(--ink); font-weight: 600; }
@media (max-width: 720px) { .changelog__entry { grid-template-columns: 1fr; gap: 0.375rem; } }

/* Prose (legal pages) ------------------------------------------------------ */
.prose { max-width: var(--measure); }
.prose h2 { font-size: var(--t-2); margin-top: var(--s5); margin-bottom: var(--s2); }
.prose h3 { font-size: var(--t-1); margin-top: var(--s4); margin-bottom: 0.5rem; }
.prose p { margin-top: var(--s2); color: var(--text-2); }
.prose ul, .prose ol { margin-top: var(--s2); padding-left: 1.25rem; color: var(--text-2); }
.prose li { margin-top: 0.5rem; }
.prose > h2:first-child { margin-top: 0; }

/* Forms -------------------------------------------------------------------- */
.field { margin-bottom: var(--s3); }
.field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin-bottom: 0.375rem;
}
.field .hint { font-size: 0.8125rem; color: var(--text-3); font-weight: 400; }

input[type="text"], input[type="email"], select, textarea {
  width: 100%;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  padding: 0.625rem 0.75rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
textarea { resize: vertical; min-height: 7rem; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 92, 82, 0.13);
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%), linear-gradient(135deg, var(--text-3) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 2.25rem; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }

/* Honeypot: visually and programmatically out of the way, never focusable. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  border-radius: var(--radius);
  padding: var(--s3);
  font-size: 0.9375rem;
  margin-bottom: var(--s3);
}
.form-status[hidden] { display: none; }
.form-status--ok { background: var(--state-done-bg); border: 1px solid var(--state-done-ru); color: #1f4c2c; }
.form-status--err { background: #fbeceb; border: 1px solid #e8c4c0; color: #7d2b23; }
.form-status a { color: inherit; }

/* Contact layout ----------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: var(--s5); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: var(--s4); } }

/* Footer ------------------------------------------------------------------- */
.footer {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  padding-top: var(--s6);
  padding-bottom: var(--s4);
  margin-top: auto;
}
.disclosure {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--canvas);
  padding: var(--s3);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text-2);
  margin-bottom: var(--s5);
}
.disclosure strong { color: var(--ink); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.2fr;
  gap: var(--s4);
  margin-bottom: var(--s5);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s4); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer h2 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: var(--s2);
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.5rem; }
.footer a { font-size: 0.9375rem; color: var(--text-2); text-decoration: none; }
.footer a:hover { color: var(--accent); text-decoration: underline; }
.footer__about { font-size: 0.9375rem; color: var(--text-2); max-width: 34ch; margin-top: var(--s2); }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s2);
  padding-top: var(--s3);
  border-top: 1px solid var(--rule);
  font-size: 0.8125rem;
  color: var(--text-3);
}

/* Hero --------------------------------------------------------------------- */
.hero { background: var(--paper); border-bottom: 1px solid var(--rule); padding-block: var(--s7); }
.hero h1 { max-width: 20ch; }
.hero .lede { margin-top: var(--s3); }
.hero .btn-row { margin-top: var(--s4); }
.hero__note { margin-top: var(--s3); font-size: 0.875rem; color: var(--text-3); }

.page-head { background: var(--paper); border-bottom: 1px solid var(--rule); padding-block: var(--s6); }
.page-head h1 { font-size: var(--t-3); }
.page-head .lede { margin-top: var(--s2); }

/* Error page --------------------------------------------------------------- */
.centered { text-align: center; max-width: 52ch; margin-inline: auto; }
.centered .btn-row { justify-content: center; }
