/* =========================================================================
   mt4-oder-mt5.de — Design System
   Art direction: "Handelsledger" — a finance-editorial aesthetic (think a
   Handelsblatt/FT feature page crossed with a broker's trading ledger).
   Warm paper base, large serif editorial type for headings/numerals, two
   dark "terminal" zones (comparison + final CTA) breaking the paper flow,
   two accent colours with strictly separate jobs: amber = action, teal =
   data/leader. No pill-everything, no thin generic outline icon kit.
   Mobile-first: base rules target small screens, layout upgrades live in
   min-width media queries further down the file.
   ========================================================================= */

:root {
  /* ---- Type ---- */
  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* ---- Colour: paper (light editorial base) ---- */
  --paper: #f7f2e7;
  --paper-tint: #efe6d2;
  --surface: #fffdf8;
  --rule: #ddd0ae;
  --rule-strong: #c7b790;

  --ink: #201a10;
  --ink-muted: #675b45;
  --ink-faint: #93876c;

  /* ---- Colour: dark terminal zones ---- */
  --dark: #16130e;
  --dark-raised: #211c14;
  --dark-text: #f4ecda;
  --dark-muted: #b7a98a;
  --dark-rule: #3a3324;

  /* ---- Accents: two colours, two jobs. Never swap their role. ---- */
  --action: #b5480f;       /* amber/sealing-wax — CTAs and interactive commitment only */
  --action-dark: #8f3a0c;
  --action-bright: #ff8a4c; /* action accent tuned for dark zones */
  --data: #1f6f5c;         /* deep teal — MT5 / "leading" data only */
  --data-dark: #164f41;
  --data-bright: #4fd7b6;  /* data accent tuned for dark zones */
  --mt4-tone: #8a8171;     /* neutral baseline tone for MT4 in comparisons */

  /* ---- Spacing scale ---- */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 28px;
  --sp-7: 40px;
  --sp-8: 56px;
  --sp-9: 80px;
  --sp-10: 112px;

  /* ---- Radius: small and deliberate, not "pill everything" ---- */
  --r-sm: 3px;
  --r-md: 6px;
  --r-lg: 10px;

  --shadow-1: 0 1px 2px rgba(32, 26, 16, 0.06), 0 6px 16px -8px rgba(32, 26, 16, 0.18);
  --shadow-2: 0 10px 30px -10px rgba(32, 26, 16, 0.35);

  --max-width: 1180px;
  --ease: cubic-bezier(0.22, 0.68, 0.32, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  /* faint graph-paper texture: a ledger cue, not decoration for its own sake */
  background-image:
    linear-gradient(90deg, rgba(32, 26, 16, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(32, 26, 16, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
}

img, svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ink);
  text-decoration-color: var(--rule-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s var(--ease), text-decoration-color 0.15s var(--ease);
}

a:hover {
  color: var(--action);
  text-decoration-color: var(--action);
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.header-cta:focus-visible {
  outline: 2px solid var(--action);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================================================
   Header
   ========================================================================= */

.site-header {
  background: var(--surface);
  border-bottom: 3px solid var(--ink);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-3) 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: var(--sp-4);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.site-logo:hover {
  color: var(--ink);
}

.site-logo svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: var(--r-sm);
}

.site-nav {
  display: none;
  gap: var(--sp-6);
  font-size: 0.88rem;
}

.site-nav a {
  color: var(--ink-muted);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.site-nav a:hover {
  color: var(--action);
}

/* "Vergleiche" dropdown (cluster pages) — native <details>/<summary>, no JS
   needed to open/close; a tiny script only closes it on outside click. */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown summary {
  color: var(--ink-muted);
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.15s var(--ease);
}

.nav-dropdown[open] summary::after {
  transform: rotate(-135deg) translateY(1px);
}

.nav-dropdown summary:hover {
  color: var(--action);
}

.nav-dropdown__menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: var(--sp-3);
  min-width: 260px;
  list-style: none;
  padding: var(--sp-2);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-1);
  z-index: 60;
}

.nav-dropdown__menu li {
  margin: 0;
}

.nav-dropdown__menu a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  color: var(--ink);
  font-weight: 500;
  font-size: 0.88rem;
  text-decoration: none;
}

.nav-dropdown__menu a:hover {
  background: var(--paper-tint);
  color: var(--action);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--action);
  color: var(--paper);
  padding: 9px 16px;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease), background 0.15s var(--ease);
}

.header-cta:hover {
  background: var(--action-dark);
  color: var(--paper);
  transform: translateY(-1px);
  box-shadow: var(--shadow-1);
}

/* =========================================================================
   Hero — asymmetric two-zone layout on wide screens: editorial headline
   left, a vertical "duel" data panel right. Single column on mobile.
   ========================================================================= */

.hero {
  padding: var(--sp-8) 0 var(--sp-7);
  border-bottom: 1px solid var(--rule);
}

.hero .container {
  display: grid;
  gap: var(--sp-6);
}

.hero__updated {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 5px 0;
  width: max-content;
}

.hero__updated svg {
  width: 12px;
  height: 12px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.35rem + 2.6vw, 3.1rem);
  font-weight: 700;
  font-style: normal;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: var(--sp-4) 0 0;
  max-width: 17ch;
}

.hero p.lead {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.62;
  color: var(--ink-muted);
  max-width: 60ch;
  margin: 0;
}

.hero .stat-grid {
  margin-top: var(--sp-3);
}

/* =========================================================================
   Sections — deliberate, per-section treatment instead of mechanical
   even/odd zebra striping. Two dark "terminal" zones bookend the middle
   and the close of the page.
   ========================================================================= */

main section {
  padding: var(--sp-8) 0;
  scroll-margin-top: 76px;
}

#regulierung,
#expert-advisors,
#voraussetzungen {
  background: var(--paper-tint);
}

#unterschiede,
#fazit {
  background: var(--dark);
  color: var(--dark-text);
}

#unterschiede h2,
#unterschiede h3,
#fazit h2 {
  color: var(--dark-text);
}

#unterschiede p,
#fazit > .container > p {
  color: var(--dark-muted);
}

#unterschiede a,
#fazit a {
  color: var(--dark-text);
  text-decoration-color: var(--data-bright);
}

#unterschiede a:hover,
#fazit a:hover {
  color: var(--action-bright);
  text-decoration-color: var(--action-bright);
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 1.3rem + 1.1vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 var(--sp-6);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

/* Icons read as ink stamps: bold stroke, rotated seal, not a mechanical
   Feather-style outline kit repeated identically before every heading. */
h2 svg {
  width: 34px;
  height: 34px;
  padding: 7px;
  flex-shrink: 0;
  stroke-width: 2.4;
  color: var(--ink);
  background: transparent;
  border: 2px solid var(--ink);
  border-radius: var(--r-md);
  transform: rotate(-4deg);
}

#unterschiede h2 svg,
#fazit h2 svg {
  color: var(--dark-text);
  border-color: var(--dark-text);
}

#was-ist-mt4-mt5 h2 svg { transform: rotate(3deg); }
#unterschiede h2 svg { transform: rotate(-3deg); border-color: var(--data-bright); color: var(--data-bright); }
#was-ist-besser h2 svg { transform: rotate(2deg); border-color: var(--action); color: var(--action); }
#regulierung h2 svg { transform: rotate(-2deg); }
#lebenszyklus h2 svg { transform: rotate(4deg); }
#expert-advisors h2 svg { transform: rotate(-3deg); }
#kosten h2 svg { transform: rotate(3deg); }
#voraussetzungen h2 svg { transform: rotate(-4deg); }
#fazit h2 svg { transform: rotate(2deg); border-color: var(--action-bright); color: var(--action-bright); }
#faq h2 svg { transform: rotate(-2deg); }

h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: var(--sp-7) 0 var(--sp-3);
  line-height: 1.32;
}

p {
  margin: 0 0 var(--sp-4);
  max-width: 70ch;
}

ul, ol {
  padding-left: 1.2em;
}

li {
  margin-bottom: var(--sp-2);
}

/* A pull-quote treatment for the section that carries the verdict text,
   using scale/serif for hierarchy rather than another icon+card block. */
#was-ist-besser p:first-of-type {
  font-family: var(--font-display);
  font-size: 1.28rem;
  line-height: 1.42;
  color: var(--ink);
  max-width: 34ch;
  border-left: 3px solid var(--action);
  padding-left: var(--sp-5);
  margin-bottom: var(--sp-6);
}

/* =========================================================================
   Stat "duel" panel (hero) — head-to-head bars instead of stacked numbers.
   Bar widths are set per element via the --w custom property (see HTML).
   ========================================================================= */

.stat-grid {
  display: grid;
  gap: var(--sp-3);
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-5);
}

.stat-card__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--ink-faint);
  margin-bottom: var(--sp-3);
  font-weight: 700;
}

.stat-card__row {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  align-items: center;
  gap: var(--sp-3);
  padding: 6px 0;
}

.stat-card__platform {
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.stat-card__row::before {
  content: "";
  height: 8px;
  border-radius: var(--r-sm);
  background: var(--mt4-tone);
  width: var(--w, 10%);
}

.stat-card__row:has(.stat-card__value--mt5)::before {
  background: var(--data);
}

.stat-card__value {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.stat-card__value--mt4 { color: var(--mt4-tone); }
.stat-card__value--mt5 { color: var(--data); }

/* =========================================================================
   Comparison table — a ledger sheet: numeric rows carry an inline bar
   (via --w), qualitative rows mark the leading cell instead of listing
   plain text side by side.
   ========================================================================= */

.table-scroll {
  overflow-x: auto;
  margin: var(--sp-6) 0;
  border: 1px solid var(--dark-rule);
  border-radius: var(--r-md);
}

table.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  background: var(--dark-raised);
  font-variant-numeric: tabular-nums;
}

.compare-table caption {
  caption-side: bottom;
  text-align: left;
  font-size: 0.78rem;
  color: var(--dark-muted);
  padding: var(--sp-3) var(--sp-5);
  border-top: 1px solid var(--dark-rule);
}

.compare-table th,
.compare-table td {
  padding: 13px var(--sp-5);
  text-align: left;
  border-bottom: 1px solid var(--dark-rule);
  color: var(--dark-text);
  position: relative;
}

.compare-table th[scope="row"] {
  font-weight: 600;
  color: var(--dark-muted);
  font-family: var(--font-body);
  font-size: 0.92rem;
}

.compare-table thead th {
  background: var(--dark);
  color: var(--dark-text);
  font-weight: 700;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 2px solid var(--data-bright);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}

/* numeric bar fill, drawn behind the value text */
.compare-table td[data-bar]::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 6px;
  height: 4px;
  width: var(--w, 0%);
  background: var(--mt4-tone);
  border-radius: 2px;
}

.compare-table td[data-bar="mt5"]::before {
  background: var(--data-bright);
}

.compare-table td[data-bar] {
  padding-top: 13px;
  padding-bottom: 20px;
}

/* qualitative rows: highlight the leading platform's cell */
.compare-table tr[data-winner="mt5"] td:last-child {
  color: var(--data-bright);
  font-weight: 700;
}

.compare-table tr[data-winner="mt5"] td:last-child::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--data-bright);
}

/* =========================================================================
   Timeline — a horizontal ledger strip on wide screens (large serif year,
   thin connecting rule), a simple stacked list on mobile. No dot-bullet
   vertical list.
   ========================================================================= */

.timeline {
  list-style: none;
  padding: 0;
  margin: var(--sp-7) 0 var(--sp-2);
  display: grid;
  gap: var(--sp-4);
  border-top: 1px solid var(--dark-rule);
  padding-top: var(--sp-5);
}

.timeline li {
  margin: 0;
  padding-left: var(--sp-4);
  border-left: 2px solid var(--data-bright);
}

.timeline__year {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  font-variant-numeric: tabular-nums;
  color: var(--dark-text);
  display: block;
  line-height: 1;
  margin-bottom: var(--sp-2);
}

/* =========================================================================
   Icon checklist ("Was brauche ich")
   ========================================================================= */

.icon-list {
  list-style: none;
  padding: 0;
  margin: var(--sp-5) 0;
  display: grid;
  gap: var(--sp-3);
}

.icon-list li {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  padding: var(--sp-4) 0;
  border-top: 1px solid var(--rule);
}

.icon-list li:last-child {
  border-bottom: 1px solid var(--rule);
}

.icon-list svg {
  width: 30px;
  height: 30px;
  padding: 6px;
  flex-shrink: 0;
  stroke-width: 2.2;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--r-md);
  transform: rotate(-3deg);
}

.icon-list li:nth-child(even) svg {
  transform: rotate(3deg);
}

.icon-list span {
  padding-top: 4px;
}

/* =========================================================================
   Fit cards ("Fuer wen eignet sich...")
   ========================================================================= */

.fit-grid {
  display: grid;
  gap: var(--sp-4);
  margin: var(--sp-5) 0 var(--sp-2);
  list-style: none;
  padding: 0;
}

.fit-grid li {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--ink-faint);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  margin: 0;
}

.fit-grid li:first-child {
  border-top-color: var(--mt4-tone);
}

.fit-grid li:nth-child(2) {
  border-top-color: var(--data);
}

.fit-grid li:nth-child(3) {
  border-top-color: var(--action);
}

.fit-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--ink);
  margin-bottom: var(--sp-2);
}

/* =========================================================================
   CTA blocks — three distinct compositions sharing one conversion logic:
   a "ticket" stub, a plain stamped notice, and the dark final crescendo.
   ========================================================================= */

.cta-block {
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-md);
  padding: var(--sp-6);
  margin: var(--sp-7) 0;
  display: grid;
  gap: var(--sp-5);
  background: var(--surface);
}

.cta-block__text h3 {
  margin: 0 0 var(--sp-2);
  font-size: 1.15rem;
}

.cta-block__text p {
  margin: 0;
  color: var(--ink-muted);
  max-width: 48ch;
}

.cta-block__actions {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

/* CTA #1 — "ticket" stub: angled amber edge + dashed tear line */
.cta-block--ticket {
  position: relative;
  border-left: 4px solid var(--action);
  background: linear-gradient(135deg, var(--paper-tint) 0%, var(--surface) 55%);
}

.cta-block--ticket::before {
  content: "";
  position: absolute;
  left: 0;
  top: var(--sp-5);
  bottom: var(--sp-5);
  border-left: 2px dashed var(--rule-strong);
  margin-left: 3px;
}

/* CTA final (Fazit) — dark climactic close */
.cta-block--final {
  background: var(--dark-raised);
  border-color: var(--dark-rule);
  box-shadow: var(--shadow-2);
  padding: var(--sp-7);
}

.cta-block--final .cta-block__text h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--dark-text);
}

.cta-block--final .cta-block__text p {
  color: var(--dark-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 13px 22px;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease), background 0.15s var(--ease), border-color 0.15s var(--ease);
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.15s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--action);
  color: var(--paper);
  box-shadow: var(--shadow-1);
}

.btn-primary:hover {
  background: var(--action-dark);
  color: var(--paper);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

.btn-secondary:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-1px);
}

.cta-block--final .btn-secondary {
  color: var(--dark-text);
  border-color: var(--dark-muted);
}

.cta-block--final .btn-secondary:hover {
  background: var(--dark-text);
  color: var(--dark);
}

/* Legal / disclaimer text: unchanged wording, made unmissable per brief */
.risk-note {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--paper-tint);
  border: 1.5px solid var(--ink);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  margin: var(--sp-6) 0;
}

/* =========================================================================
   FAQ — an indexed dossier list (large serif numerals via CSS counters)
   instead of a repeated question-mark-icon card grid.
   ========================================================================= */

#faq .container {
  counter-reset: faq;
}

.faq-item {
  counter-increment: faq;
  position: relative;
  border-top: 1px solid var(--rule);
  padding: var(--sp-5) 0 var(--sp-5) 52px;
}

.faq-item:last-of-type {
  border-bottom: 1px solid var(--rule);
}

.faq-item::before {
  content: counter(faq, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: var(--sp-5);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--action);
  font-variant-numeric: tabular-nums;
}

.faq-item h3 {
  margin: 0 0 var(--sp-2);
  font-size: 1.08rem;
  font-weight: 700;
}

.faq-item h3 svg {
  display: none;
}

.faq-item p {
  margin: 0;
  color: var(--ink-muted);
}

/* =========================================================================
   Footer
   ========================================================================= */

.site-footer {
  background: var(--dark);
  color: var(--dark-muted);
  padding: var(--sp-8) 0 var(--sp-5);
  font-size: 0.9rem;
  border-top: 3px solid var(--action);
}

.site-footer a {
  color: var(--dark-text);
  text-decoration: none;
  border-bottom: 1px solid var(--dark-rule);
}

.site-footer a:hover {
  color: var(--action-bright);
  border-bottom-color: var(--action-bright);
}

.footer-grid {
  display: grid;
  gap: var(--sp-6);
  margin-bottom: var(--sp-6);
}

.footer-col h4 {
  font-family: var(--font-display);
  color: var(--dark-text);
  font-size: 0.95rem;
  font-weight: 700;
  font-style: italic;
  margin: 0 0 var(--sp-4);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: var(--sp-3);
}

.footer-bottom {
  border-top: 1px solid var(--dark-rule);
  padding-top: var(--sp-5);
  font-size: 0.8rem;
}

/* Legal disclaimer in the footer: unchanged text, given real visual weight */
.disclaimer {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--dark-text);
  line-height: 1.6;
  margin-bottom: var(--sp-5);
  max-width: 80ch;
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid var(--dark-rule);
}

/* =========================================================================
   Placeholder pages
   ========================================================================= */

.placeholder {
  padding: var(--sp-9) 0;
  text-align: center;
}

.placeholder h1 {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem);
  font-weight: 700;
}

.placeholder .lead {
  max-width: 56ch;
  margin: 0 auto;
  color: var(--ink-muted);
}

/* =========================================================================
   Mobile-first breakpoints
   ========================================================================= */

@media (min-width: 640px) {
  .stat-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .icon-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .fit-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .timeline {
    grid-template-columns: repeat(4, 1fr);
    border-top: none;
    border-bottom: 1px solid var(--dark-rule);
    padding-top: 0;
    padding-bottom: var(--sp-5);
  }

  .timeline li {
    border-left: none;
    border-top: 2px solid var(--data-bright);
    padding-left: 0;
    padding-top: var(--sp-4);
  }
}

@media (min-width: 900px) {
  .site-nav {
    display: flex;
  }

  .hero .container {
    grid-template-columns: 1.35fr 1fr;
    align-items: start;
    gap: var(--sp-8);
  }

  .hero__updated,
  .hero h1,
  .hero p.lead {
    grid-column: 1;
  }

  .hero .stat-grid {
    grid-column: 2;
    grid-row: 1 / 5;
    grid-template-columns: 1fr;
    margin-top: 4px;
  }

  .cta-block {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}
