/* Self-hosted fonts. Licences: ../fonts/licenses/ */
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-600.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-500.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/source-serif-4-latin-600-opsz.woff2") format("woff2"); }

:root {
  --navy: #13233A;
  --teal: #0F6E6A;
  --teal-light: #8FD0C9;
  --paper: #F6F7F4;
  --mist: #E9EDEA;
  --mint-tint: #E3F1EF;
  --ink-muted: #4A5566;
  --line: #C9D1CD;

  --bg: var(--paper);
  --bg-alt: var(--mist);
  --surface: var(--paper);
  --text: var(--navy);
  --muted: var(--ink-muted);
  --accent: var(--teal);
  --on-accent: #FFFFFF;
  --rule: var(--line);
  --control-border: #76818D;
  --tint: var(--mint-tint);
  --band: var(--navy);
  --band-text: var(--paper);
  --band-muted: #C3CCD6;
  --band-accent: var(--teal-light);
  --band-rule: #2D4262;
  --band-surface: #1A2E4A;
  --error: #A3261F;
  --white: #FFFFFF;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", Arial, Helvetica, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: var(--navy);
  --bg-alt: #182B45;
  --surface: #1C3150;
  --text: var(--paper);
  --muted: #B7C1CC;
  --accent: var(--teal-light);
  --on-accent: var(--navy);
  --rule: #2F4566;
  --control-border: #7388A5;
  --tint: #183C47;
  --band: #0D1A2C;
  --band-surface: #172941;
  --band-rule: #2A3E5C;
  --error: #F2A49C;
  --white: #172A44;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--sans);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); max-width: 22ch; }
h3 { font-size: 1.3rem; line-height: 1.25; }
p { margin: 0; }
a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--accent); color: var(--on-accent); padding: 10px 14px; border-radius: var(--radius); font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 112px); scroll-margin-top: 72px; }
.section--alt { background: var(--bg-alt); }
.section--white { background: var(--white); }
/* Tint band: re-points the band tokens to the page colours, which follow the theme. */
.section--tint {
  --band: var(--tint);
  --band-text: var(--text);
  --band-muted: var(--muted);
  --band-accent: var(--accent);
  --band-rule: var(--rule);
}
.section--tint .form { background: var(--white); border: 1px solid var(--rule); }
.section--band { background: var(--band); color: var(--band-text); }
.eyebrow {
  display: block; margin-bottom: 14px;
  font: 600 0.78rem/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
}
.section--band .eyebrow { color: var(--band-accent); }
.lede { margin-top: 18px; max-width: 62ch; color: var(--muted); font-size: 1.125rem; }
.section--band .lede { color: var(--band-muted); }
.id { font-family: var(--mono); font-size: 0.8em; font-weight: 500; letter-spacing: 0.01em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 20px; border-radius: var(--radius);
  font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--accent);
  transition: background-color .15s ease, color .15s ease;
}
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: color-mix(in srgb, var(--accent) 86%, var(--text)); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--accent); }
.btn--ghost:hover { background: var(--tint); text-decoration: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 97%, transparent);
  backdrop-filter: saturate(1.2) blur(6px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 26px; width: auto; }
.logo-dark { display: none; }
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav ul a { display: block; padding: 8px 12px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.95rem; border-radius: var(--radius); }
.nav ul a:hover { background: var(--bg-alt); }
.nav .btn { min-height: 40px; padding: 8px 16px; font-size: 0.95rem; margin-left: 8px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none;
  border: 1px solid var(--control-border); border-radius: var(--radius); background: transparent; color: var(--text); cursor: pointer;
}
.icon-btn:hover { background: var(--bg-alt); }
.menu-btn { display: none; }
@media (max-width: 880px) {
  .menu-btn { display: inline-grid; }
  .nav { order: 3; margin-left: 0; }
  .site-header .wrap { flex-wrap: wrap; justify-content: space-between; align-content: flex-start; min-height: 0; padding-block: 12px; row-gap: 8px; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: 16px; }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; }
  .nav ul a { padding: 12px 4px; border-bottom: 1px solid var(--rule); border-radius: 0; }
  .nav .btn { margin: 12px 0 0; }
  .header-tools { margin-left: auto; display: flex; gap: 8px; }
}
@media (min-width: 881px) { .header-tools { order: 4; display: flex; } }
html:not(.js) .nav { display: flex; }

/* Hero */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 104px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.9rem, 6.6vw, 5.1rem); line-height: 1.02; letter-spacing: -0.02em; }
.hero h1 span { display: block; }
.hero h1 .q { color: var(--accent); }
.hero .descriptor { margin-top: 24px; font-size: clamp(1.15rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 34ch; }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Product mock: the trace of one requirement */
.mock { background: var(--surface); border: 1px solid var(--rule); border-radius: 6px; box-shadow: 0 1px 0 var(--rule), 0 24px 48px -32px rgba(19, 35, 58, .45); overflow: hidden; }
.mock-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--rule); background: var(--bg-alt); font-size: 0.85rem; }
.mock-bar strong { font-weight: 600; }
.mock-bar .id { color: var(--muted); }
.trace { list-style: none; margin: 0; padding: 8px 18px 10px; position: relative; }
.trace::before { content: ""; position: absolute; left: 31px; top: 30px; bottom: 34px; width: 2px; background: var(--accent); opacity: .5; }
.trace li { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--rule); }
.trace li:last-child { border-bottom: 0; }
.node { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--accent); background: var(--surface); display: grid; place-items: center; position: relative; z-index: 1; }
.node::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.trace .kicker { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 0.8rem; color: var(--muted); }
.trace .kicker .id { color: var(--text); font-size: 0.82rem; }
.trace .body { margin-top: 4px; font-size: 0.95rem; line-height: 1.45; }
.pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font: 600 0.72rem/1.5 var(--sans); letter-spacing: 0.02em; background: var(--tint); color: var(--accent); white-space: nowrap; }
.pill--quiet { background: var(--bg-alt); color: var(--muted); }
.meter { margin-top: 8px; display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--muted); }
.meter-track { flex: 1; height: 8px; border-radius: 4px; background: var(--bg-alt); border: 1px solid var(--rule); overflow: hidden; }
.meter-fill { height: 100%; width: 90%; background: var(--accent); }
.accept { margin-top: 8px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; font-size: 0.85rem; }
.accept dt { color: var(--muted); }
.accept dd { margin: 0; }
.mock-figure { margin: 0; }
.mock-caption { margin-top: 12px; font-size: 0.82rem; color: var(--muted); }

/* Problem */
.problems { margin-top: 44px; width: 100%; border-collapse: collapse; }
.problems th { text-align: left; font: 600 0.78rem/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding: 0 0 12px; border-bottom: 2px solid var(--text); }
.problems td { vertical-align: top; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.problems td:first-child { width: 50%; padding-right: 40px; font-weight: 600; font-size: 1.08rem; }
.problems td:last-child { color: var(--muted); }
.problems tr:last-child td { border-bottom: 0; }
.problems tr.is-key td { background: var(--tint); }
.problems tr.is-key td:first-child { padding-left: 16px; }
.problems tr.is-key td:last-child { padding-right: 16px; color: var(--text); }
@media (max-width: 720px) {
  .problems thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .problems tr { display: block; border-bottom: 1px solid var(--rule); padding: 18px 0; }
  .problems tr.is-key { background: var(--tint); padding: 18px 16px; }
  .problems td { display: block; padding: 0; border: 0; width: auto !important; }
  .problems tr.is-key td { background: none; padding: 0 !important; }
  .problems td:last-child { margin-top: 6px; }
  .problems td:last-child::before { content: "Cost: "; font-weight: 600; color: var(--text); }
}

/* Stages */
.stages { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); counter-reset: stage; list-style: none; padding: 0; }
.stage { border-top: 3px solid var(--accent); padding-top: 22px; }
.stage-num { font: 500 0.85rem/1 var(--mono); color: var(--accent); }
.stage h3 { margin-top: 10px; font-size: 1.75rem; }
.stage p { margin-top: 10px; color: var(--muted); }
.stage ul { margin: 18px 0 0; padding: 0; list-style: none; }
.stage li { padding: 9px 0; border-top: 1px solid var(--rule); font-size: 0.98rem; }
@media (max-width: 820px) { .stages { grid-template-columns: minmax(0, 1fr); } }

/* Connected thread: the signature */
.thread-wrap { margin-top: 56px; position: relative; }
.thread { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; position: relative; z-index: 1; }
.thread-line { position: absolute; left: 12px; right: calc((100% - 60px) / 4 - 12px); top: 11px; height: 2px; background: var(--band-accent); transform-origin: left center; }
.thread-step { position: relative; }
.thread-dot { width: 24px; height: 24px; border-radius: 50%; background: var(--band); border: 2px solid var(--band-accent); display: grid; place-items: center; position: relative; z-index: 1; }
.thread-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--band-accent); }
.thread-step .stage-label { margin-top: 18px; font: 500 0.8rem/1.3 var(--mono); color: var(--band-accent); letter-spacing: 0.06em; text-transform: uppercase; }
.thread-step h3 { margin-top: 6px; color: var(--band-text); font-size: 1.25rem; }
.doc { margin-top: 16px; background: var(--band-surface); border: 1px solid var(--band-rule); border-radius: var(--radius); font-size: 0.9rem; }
.doc-head { display: flex; justify-content: space-between; gap: 8px; padding: 9px 12px; border-bottom: 1px solid var(--band-rule); font: 400 0.75rem/1.3 var(--mono); color: var(--band-muted); }
.doc-body { padding: 12px; color: var(--band-text); line-height: 1.5; }
.doc-body p + p { margin-top: 8px; }
.doc-body .muted { color: var(--band-muted); font-size: 0.85rem; }
.ref { display: inline-block; padding: 1px 6px; border-radius: 3px; border: 1px solid var(--band-accent); color: var(--band-accent); font: 500 0.78rem/1.4 var(--mono); white-space: nowrap; }
.ref--solid { background: var(--band-accent); color: var(--band); }
.score { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; margin-top: 8px; font-size: 0.85rem; }
.score span:nth-child(even) { color: var(--band-accent); font-weight: 600; }
.thread-foot { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--band-rule); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.thread-foot p { color: var(--band-muted); font-size: 0.98rem; }
.thread-foot strong { display: block; color: var(--band-text); font-weight: 600; margin-bottom: 4px; }
@media (max-width: 960px) {
  .thread { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-left: 40px; }
  .thread-line { left: 11px; right: auto; top: 12px; bottom: 12px; width: 2px; height: auto; transform-origin: center top; }
  .thread-dot { position: absolute; left: -40px; top: 0; }
  .thread-step .stage-label { margin-top: 3px; }
  .thread-foot { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: no-preference) {
  .js .thread-line { transform: scaleX(0); transition: transform 1.4s cubic-bezier(.3, .1, .2, 1); }
  .js .thread-dot, .js .thread-step .doc { opacity: 0; transition: opacity .5s ease; }
  .js .thread-wrap.is-drawn .thread-line { transform: none; }
  .js .thread-wrap.is-drawn .thread-dot, .js .thread-wrap.is-drawn .doc { opacity: 1; }
  .js .thread-wrap.is-drawn .thread-step:nth-child(2) .thread-dot, .js .thread-wrap.is-drawn .thread-step:nth-child(2) .doc { transition-delay: .35s; }
  .js .thread-wrap.is-drawn .thread-step:nth-child(3) .thread-dot, .js .thread-wrap.is-drawn .thread-step:nth-child(3) .doc { transition-delay: .7s; }
  .js .thread-wrap.is-drawn .thread-step:nth-child(4) .thread-dot, .js .thread-wrap.is-drawn .thread-step:nth-child(4) .doc { transition-delay: 1.05s; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 960px) {
  .js .thread-line { transform: scaleY(0); }
}

/* Lifecycle strip */
.life { margin-top: 48px; }
.life-legend { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-bottom: 22px; font-size: 0.92rem; color: var(--muted); }
.life-legend span { display: inline-flex; align-items: center; gap: 10px; }
.swatch { width: 28px; height: 10px; border-radius: 2px; flex: none; }
.swatch--suite { background: var(--accent); }
.swatch--val { background: transparent; border: 2px dashed var(--muted); }
.life ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.life li { display: grid; grid-template-rows: auto 14px 14px; row-gap: 8px; padding-right: 0; }
.life .stage-name { padding: 0 10px 12px 0; font-weight: 600; font-size: 0.95rem; line-height: 1.3; border-bottom: 1px solid var(--rule); min-height: 64px; display: flex; flex-direction: column; justify-content: flex-end; }
.life .stage-name .id { color: var(--muted); font-weight: 400; margin-bottom: 4px; }
.life .stage-name { grid-row: 1; }
.life .bar-suite { grid-row: 2; background: var(--accent); box-shadow: 1px 0 0 var(--accent); }
.life .bar-val { grid-row: 3; }
.bar-val { border-top: 2px dashed var(--muted); border-bottom: 2px dashed var(--muted); }
.life li:first-child .bar-suite { border-radius: 3px 0 0 3px; }
.life li:last-child .bar-suite { border-radius: 0 3px 3px 0; }
.life li:first-child .bar-val { border: 0; }
.life li:nth-child(2) .bar-val { border-left: 2px dashed var(--muted); }
.life li:last-child .bar-val { border-right: 2px dashed var(--muted); }
@media (max-width: 760px) {
  .life ol { grid-template-columns: minmax(0, 1fr); }
  .life li { grid-template-rows: none; grid-template-columns: 12px 12px minmax(0, 1fr); column-gap: 10px; row-gap: 0; }
  .life .bar-suite { grid-column: 1; grid-row: 1; }
  .life .bar-val { grid-column: 2; grid-row: 1; border: 0; border-left: 2px dashed var(--muted); border-right: 2px dashed var(--muted); }
  .life .stage-name { grid-column: 3; grid-row: 1; min-height: 0; padding: 14px 0; }
  .life li:first-child .bar-suite { border-radius: 3px 3px 0 0; }
  .life li:last-child .bar-suite { border-radius: 0 0 3px 3px; }
  .life li:first-child .bar-val { border: 0; }
  .life li:nth-child(2) .bar-val { border-top: 2px dashed var(--muted); }
  .life li:last-child .bar-val { border-bottom: 2px dashed var(--muted); }
}

/* Works with what you have */
.fit { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; padding: 0; }
.fit li { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px; }
.fit h3 { font-size: 1.2rem; }
.fit p { margin-top: 10px; color: var(--muted); }
.fit .formats { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 860px) { .fit { grid-template-columns: minmax(0, 1fr); } }

/* Trust */
.trust { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.trust h3 { font: 600 0.78rem/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding-bottom: 12px; border-bottom: 2px solid var(--text); }
.trust ul { list-style: none; margin: 0; padding: 0; }
.trust li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.trust li strong { display: block; font-weight: 600; }
.trust li span.d { display: block; margin-top: 2px; color: var(--muted); font-size: 0.97rem; }
.tick { width: 20px; height: 20px; margin-top: 3px; color: var(--accent); }
.trust-note { margin-top: 28px; padding: 18px 20px; background: var(--tint); border-radius: var(--radius); font-size: 0.97rem; }
@media (max-width: 860px) { .trust { grid-template-columns: minmax(0, 1fr); } }

/* Design partner */
.partner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.places { margin-top: 28px; display: flex; gap: 10px; align-items: center; font-weight: 600; }
.places i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--band-accent); }
.terms { margin: 24px 0 0; padding: 0; list-style: none; }
.terms li { padding: 12px 0; border-top: 1px solid var(--band-rule); color: var(--band-muted); }
.terms li strong { color: var(--band-text); font-weight: 600; }
.form { background: var(--surface); color: var(--text); border-radius: 6px; padding: clamp(20px, 3vw, 32px); }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field input {
  min-height: 46px; padding: 10px 12px; font: 400 1rem/1.3 var(--sans); color: var(--text);
  background: var(--bg); border: 1.5px solid var(--muted); border-radius: var(--radius);
}
.field input:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field .err { color: var(--error); font-size: 0.88rem; min-height: 0; }
.field .err:empty { display: none; }
.form .btn { margin-top: 24px; width: 100%; }
/* Honeypot: off screen rather than display:none, which many bots skip. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.turnstile { margin-top: 18px; }
.form-note { margin-top: 12px; font-size: 0.85rem; color: var(--muted); }
.form-status { margin-top: 14px; font-weight: 600; }
.form-status:empty { display: none; }
@media (max-width: 860px) { .partner { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }

/* Founder */
.founder { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.founder-photo { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.founder blockquote { margin: 0; font: 600 clamp(1.35rem, 2.4vw, 1.75rem)/1.3 var(--serif); max-width: 32ch; }
.founder .who { margin-top: 18px; font-weight: 600; }
.founder .who span { display: block; font-weight: 400; color: var(--muted); }
.founder p.bio { margin-top: 16px; color: var(--muted); max-width: 60ch; }
@media (max-width: 640px) { .founder { grid-template-columns: minmax(0, 1fr); } .founder-photo { width: 140px; } }

/* Footer */
.site-footer { background: var(--band); color: var(--band-muted); padding-block: 48px 40px; font-size: 0.95rem; }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: end; }
.site-footer img { height: 24px; width: auto; }
.site-footer .tag { margin-top: 14px; color: var(--band-text); }
.site-footer .tag span { display: block; color: var(--band-muted); font-size: 0.9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { color: var(--band-text); }
.site-footer .legal { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--band-rule); font-size: 0.85rem; }
@media (max-width: 720px) { .site-footer .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Plain text pages */
.prose { max-width: 70ch; }
.prose h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.prose .updated { margin-top: 12px; color: var(--muted); font-size: 0.95rem; }
.prose h2 { margin-top: 44px; font-size: 1.5rem; line-height: 1.25; max-width: none; }
.prose p, .prose ul { margin-top: 14px; }
.prose ul { padding-left: 1.25em; }
.prose li + li { margin-top: 8px; }

/* The accent colour is too dark for a focus ring on the footer band in the light theme. */
.site-footer :focus-visible { outline-color: var(--band-text); }

/* Articles */
.draft-flag { display: inline-block; margin: 0 0 20px; padding: 6px 12px; border: 1.5px solid var(--error); border-radius: var(--radius); color: var(--error); font: 600 0.85rem/1.3 var(--sans); }
.prose .answer { margin-top: 24px; font-size: 1.15rem; }
.prose ol { margin-top: 14px; padding-left: 1.4em; }
.prose h3 { margin-top: 24px; font-size: 1.15rem; }
.table-scroll { margin-top: 18px; overflow-x: auto; }
.prose table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 0.95rem; }
.prose th, .prose td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.prose thead th { border-bottom: 2px solid var(--text); font-weight: 600; }
.prose .closing { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--rule); color: var(--muted); }
.article-list { list-style: none; padding: 0; margin-top: 32px; }
.article-list li + li { margin-top: 28px; }
.article-list h2 { margin-top: 0; font-size: 1.35rem; }
.article-list p { margin-top: 6px; color: var(--muted); }

/* Holding page */
.holding { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; }
.holding h1 { margin-top: 18px; font-size: clamp(2.4rem, 6vw, 3.6rem); }
.holding .lede { margin-top: 0; }
