/* ──────────────────────────────────────────────────────────────
   ethereumuptime.com
   ────────────────────────────────────────────────────────────── */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/fonts/bricolage-grotesque-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg:        #FBFAF6;
  --ink:       #111014;
  --body:      #3D3A47;
  --muted:     #8A8794;
  --rule:      rgba(17, 16, 20, .12);
  --rule-firm: rgba(17, 16, 20, .14);

  --green:     #00A45A;
  --green-bg:  #E6F5EC;
  --amber:     #9A5B00;
  --amber-bg:  #FBF1DF;
  --red:       #C4381F;
  --grey:      #6E6B78;
  --grey-bg:   #EFEEEA;

  --sans: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: 64px;
  /* Caps the measure on wide screens. Without it the page stretches to the
     viewport and leaves a large empty gutter beside the text blocks. */
  --maxw: 1480px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-optical-sizing: auto;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, p, ol { margin: 0; }
ol { list-style: none; padding: 0; }

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
a:hover { color: var(--green); }

::selection { background: var(--green); color: #fff; }

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

@keyframes blip { 0%, 100% { opacity: 1 } 50% { opacity: .25 } }

/* ── Primitives ──────────────────────────────────────────── */

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
}
.dot-lg { width: 14px; height: 14px; }
.dot-blip { animation: blip 1.6s ease-in-out infinite; }

.eyebrow, .stat-label, .note-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.h-lg {
  font-size: clamp(34px, 5.2vw, 56px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: .98;
  max-width: 16em;
}
.h-md {
  font-size: clamp(30px, 4.2vw, 44px);
  font-weight: 800;
  letter-spacing: -.035em;
}
.h-sm {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -.025em;
}
.h-tight { line-height: 1; margin-bottom: 8px; }

.lede {
  max-width: 40em;
  margin-bottom: 36px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--body);
  text-wrap: pretty;
}

/* ── Top bar ─────────────────────────────────────────────── */

.topbar-inner, .band, .footer-inner {
  max-width: var(--maxw);
  margin-inline: auto;
}

.topbar {
  border-bottom: 1px solid var(--rule);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px var(--gutter);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.topbar-live {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
}
/* The header indicator tracks the same state as the status card, so the
   page never claims to be live while it is failing to reach a node. */
body[data-chain="pending"] .topbar-live .dot,
body[data-chain="down"] .topbar-live .dot {
  background: var(--muted);
  animation: none;
}
body[data-chain="warn"] .topbar-live .dot { background: var(--amber); }

/* ── Bands ───────────────────────────────────────────────── */

.band { padding: 88px var(--gutter) 0; }
.band-hero { padding-top: 64px; }

/* ── Hero ────────────────────────────────────────────────── */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 0 64px;
  align-items: end;
  margin-bottom: 44px;
}
.hero-title {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: .95;
  text-wrap: balance;
}
.hero-lede {
  padding-bottom: 8px;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.6;
  color: var(--body);
  text-wrap: pretty;
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 64px;
  margin-bottom: 44px;
}
.section-head-tight {
  align-items: baseline;
  margin-bottom: 0;
  padding-bottom: 18px;
  gap: 16px;
}
.section-head .eyebrow {
  display: block;
  margin-bottom: 14px;
  letter-spacing: .18em;
}
.section-note {
  flex: 0 0 300px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.65;
  color: var(--body);
  text-wrap: pretty;
}
.section-meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

/* ── Status card ─────────────────────────────────────────── */

.status {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 28px;
  background: var(--grey-bg);
  border: 1px solid var(--grey);
  transition: background .3s ease, border-color .3s ease;
}
.status .dot { background: var(--grey); }

.status[data-state="live"]     { background: var(--green-bg); border-color: var(--green); }
.status[data-state="live"] .dot { background: var(--green); }
.status[data-state="warn"]     { background: var(--amber-bg); border-color: var(--amber); }
.status[data-state="warn"] .dot { background: var(--amber); }

.status-text { min-width: 0; }
.status-headline {
  font-size: clamp(24px, 3.6vw, 34px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
  text-wrap: balance;
}
.status-detail {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.5;
  color: var(--body);
}
.status-since {
  margin-left: auto;
  text-align: right;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.5;
  color: var(--green);
  white-space: nowrap;
}

/* ── Stats ───────────────────────────────────────────────── */

.stats {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 44px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 2px solid var(--ink);
  padding-top: 14px;
}
.stat-value {
  font-family: var(--mono);
  font-size: clamp(26px, 3.3vw, 38px);
  font-weight: 600;
  letter-spacing: -.03em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.stat-green { color: var(--green); }
.stat-muted { color: var(--muted); }

.substats {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
}
.substat b {
  color: var(--ink);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.substat-src { margin-left: auto; }

/* ── Context strip ───────────────────────────────────────── */

.context {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  border-top: 1px solid var(--rule);
  padding-top: 22px;
  transition: opacity .3s ease;
}
.context[data-pending] { opacity: .45; }
.ctx {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ctx-value {
  font-family: var(--mono);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 500;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.ctx-sub {
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

/* ── Year bars ───────────────────────────────────────────── */

.chart-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 14px;
}
.chart-toolbar-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.toggle {
  display: inline-flex;
  border: 1px solid var(--rule-firm);
}
.toggle-btn {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 7px 16px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.toggle-btn + .toggle-btn { border-left: 1px solid var(--rule-firm); }
.toggle-btn:hover { color: var(--ink); }
.toggle-btn[aria-pressed="true"] {
  background: var(--ink);
  color: var(--bg);
}

.years {
  display: flex;
  flex-direction: column;
  gap: 9px;
  border-top: 1px solid var(--rule-firm);
  border-bottom: 1px solid var(--rule-firm);
  padding: 22px 0;
}
.years-fallback {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}
.year {
  display: flex;
  align-items: center;
  gap: 18px;
}
.year-label, .year-days {
  flex: 0 0 46px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.year-days { text-align: right; }
.year-track {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  min-width: 0;
}
/* One background tile per unit, so the marks are exactly one-per-day or
   one-per-week rather than a decorative stripe at a fixed pitch. --n is the
   unit count for the row, set from JS. */
.year-bar {
  height: 22px;
  --fill: 62%;
  background-image: linear-gradient(90deg,
    var(--green) 0 var(--fill),
    rgba(0, 164, 90, .16) var(--fill) 100%);
  background-size: calc(100% / var(--n, 365)) 100%;
  background-repeat: repeat-x;
}
.years[data-scale="week"] .year-bar { --fill: 74%; }
.year-cap {
  width: 5px;
  height: 22px;
  flex: none;
  background: var(--green);
  box-shadow: 0 0 10px rgba(0, 164, 90, .9);
  animation: blip 1.1s ease-in-out infinite;
}

.legend {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-top: 18px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--body);
  flex-wrap: wrap;
}
.legend-item { display: flex; align-items: center; gap: 9px; }
.legend-muted { color: var(--muted); }
.swatch { width: 10px; height: 10px; flex: none; }
.swatch-green { background: var(--green); }
.swatch-red { background: var(--red); }

/* ── Events ──────────────────────────────────────────────── */

.event {
  display: grid;
  grid-template-columns: 135px minmax(0, 1fr) 200px;
  gap: 22px;
  align-items: baseline;
  padding: 18px 0;
  border-top: 1px solid var(--rule);
}
.event-date {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}
.event-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.event-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.015em;
}
.event-copy {
  font-size: 15px;
  line-height: 1.55;
  color: var(--body);
  text-wrap: pretty;
}
.event-verdict {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--green);
}
.event-verdict-warn { color: var(--amber); }
.event-verdict-warn .dot { background: var(--amber); }

/* ── Ledger ──────────────────────────────────────────────── */

.ledger { display: flex; flex-direction: column; }
.ledger-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 0;
  border-top: 1px solid var(--rule-firm);
}
.ledger-who {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.1;
}
.ledger-dur {
  font-family: var(--mono);
  font-size: 15px;
  color: var(--red);
  white-space: nowrap;
  text-align: right;
}
.ledger-total {
  padding: 26px 0 0;
  border-top: 2px solid var(--ink);
}
.ledger-total .ledger-who {
  font-size: clamp(34px, 5vw, 50px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1;
  color: var(--green);
}
.ledger-total .ledger-dur {
  font-size: 20px;
  font-weight: 600;
  color: var(--green);
}

/* ── Layers (what people actually mean) ──────────────────── */

.layers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 56px;
}
.layer {
  border-top: 1px solid var(--rule-firm);
  padding: 20px 0 24px;
}
.layer-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.layer-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 3px 8px;
  white-space: nowrap;
}
.layer-tag-green { background: var(--green-bg); color: var(--green); }
.layer-tag-red { background: #FBEDEA; color: var(--red); }
.layer-tag-grey { background: var(--grey-bg); color: var(--grey); }
.layer-title {
  margin: 0;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -.025em;
}
.layer p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  text-wrap: pretty;
}

/* ── FAQ ─────────────────────────────────────────────────── */

.faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 56px;
}
.qa {
  border-top: 1px solid var(--rule);
  padding: 18px 0 22px;
}
.qa-q {
  margin: 0 0 7px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.02em;
}
.qa-a {
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  text-wrap: pretty;
}

/* ── Method ──────────────────────────────────────────────── */

.method {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 56px;
}
.method-item {
  border-top: 1px solid var(--rule);
  padding: 18px 0 22px;
}
.method-term {
  margin: 0 0 7px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.02em;
}
.method p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  text-wrap: pretty;
}
.method-src {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* ── Footer ──────────────────────────────────────────────── */

.footer {
  margin-top: 80px;
  border-top: 1px solid var(--rule);
}
.footer-inner {
  padding: 26px var(--gutter) 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

/* ── Top-bar navigation (links) ──────────────────────────── */

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.topbar-link {
  color: var(--muted);
  text-decoration: none;
  transition: color .15s ease;
}
.topbar-link:hover { color: var(--ink); }
.topbar-link[aria-current="page"] { color: var(--ink); }

/* Inline "read the full article" link under a homepage section. */
.more-link {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 13px;
}

/* ── Breadcrumb ──────────────────────────────────────────── */

.crumbs {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 30px;
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-current] { color: var(--ink); }

/* ── Article header ──────────────────────────────────────── */

.article-head {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 34px;
  margin-bottom: 44px;
}
.article-head .eyebrow { display: block; margin-bottom: 16px; letter-spacing: .18em; }
.article-title {
  font-size: clamp(34px, 5.2vw, 56px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  text-wrap: balance;
}
.article-dek {
  max-width: 40em;
  margin-top: 22px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--body);
  text-wrap: pretty;
}
.article-meta {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
}
.article-meta time { color: var(--ink); font-variant-numeric: tabular-nums; }

/* ── Prose (long-form article body) ──────────────────────── */

.prose {
  max-width: 68ch;
  font-size: 18px;
  line-height: 1.7;
  color: var(--body);
  text-wrap: pretty;
}
.prose > * + * { margin-top: 1.15em; }
.prose h2 {
  margin-top: 1.9em;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.12;
  color: var(--ink);
}
.prose h3 {
  margin-top: 1.6em;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ink);
}
.prose h2 + p, .prose h3 + p { margin-top: .7em; }
.prose strong { font-weight: 600; color: var(--ink); }
.prose a { font-weight: 500; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-top: .45em; }
.prose li::marker { color: var(--muted); }
.prose blockquote {
  margin-left: 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--green);
  color: var(--ink);
  font-style: normal;
}
.prose code {
  font-family: var(--mono);
  font-size: .88em;
  background: var(--grey-bg);
  padding: 2px 6px;
}
.prose hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 2.4em 0;
}
.table-wrap { overflow-x: auto; margin: 1.6em 0; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 32em;
}
.prose th, .prose td {
  text-align: left;
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.prose thead th {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  border-bottom: 2px solid var(--ink);
}
.prose tbody th { font-weight: 600; color: var(--ink); }
.prose td { color: var(--body); font-variant-numeric: tabular-nums; }
.prose figure { margin: 1.6em 0; }
.prose figcaption {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}
/* Footnote-style source list at the foot of an article. */
.sources {
  max-width: 68ch;
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}
.sources h2 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 14px;
}
.sources ol { list-style: decimal; padding-left: 1.5em; }
.sources li {
  margin-top: .5em;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--body);
}
.sources li::marker { color: var(--muted); }

/* ── Article CTA + related ───────────────────────────────── */

.article-cta {
  max-width: 68ch;
  margin-top: 48px;
  padding: 26px 30px;
  background: var(--green-bg);
  border: 1px solid var(--green);
}
.article-cta p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
}
.article-cta a { font-weight: 600; }

.related {
  margin-top: 64px;
  border-top: 1px solid var(--rule);
  padding-top: 30px;
}
.related-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

/* ── Article hub (index of articles) ─────────────────────── */

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 56px;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 2px solid var(--ink);
  padding-top: 18px;
}
.card-kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.card-title {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 27px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.12;
}
.card-title a { text-decoration: none; }
.card-title a:hover { color: var(--green); }
.card-dek {
  font-size: 16px;
  line-height: 1.55;
  color: var(--body);
  text-wrap: pretty;
}
.card-meta {
  margin-top: auto;
  padding-top: 6px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
.card-soon { color: var(--muted); }
.card-soon .card-title { color: var(--muted); }

@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; gap: 32px; }
  .prose, .sources, .article-cta { max-width: 100%; }
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 1080px) {
  :root { --gutter: 40px; }
  .stats { gap: 32px; }
  .section-head { gap: 40px; }
  .layers, .faq, .method { gap: 0 36px; }
}

@media (max-width: 860px) {
  :root { --gutter: 24px; }
  .band { padding-top: 64px; }

  .status { flex-wrap: wrap; }
  .status-since {
    margin-left: 0;
    flex-basis: 100%;
    text-align: left;
    padding-top: 4px;
  }
  .status-since br { display: none; }

  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .context { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .substat-src { margin-left: 0; flex-basis: 100%; }

  .section-head { flex-direction: column; gap: 20px; }
  .section-note { flex: 1 1 auto; max-width: 40em; }

  .event { grid-template-columns: 1fr; gap: 8px; }
  .event-verdict { justify-content: flex-start; }

  .layers, .faq, .method { grid-template-columns: 1fr; gap: 0; }
  .legend { gap: 8px 24px; }
  .footer { margin-top: 56px; }
  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 32px;
  }
  .hero-lede { padding-bottom: 0; }
}

@media (max-width: 560px) {
  .topbar { font-size: 10.5px; letter-spacing: .1em; }
  .stats { grid-template-columns: 1fr; }
  .year-label, .year-days { flex-basis: 40px; }
  .year { gap: 12px; }
  .ledger-row { flex-direction: column; gap: 4px; align-items: flex-start; }
  .ledger-dur { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .dot-blip, .year-cap { animation: none; }
  .band { padding: 24px 0 0; break-inside: avoid; }
}
