/* ============================================================
   AFTERBURN PROTOCOL : design tokens
   ------------------------------------------------------------
   Register: blockchain-security incident report. Precise,
   technical, somber. Reads like a forensics firm's product page,
   not a launch page.

   Palette  near-black forest #060f0b (matches avatar.png), thin
            mint #8fe6c8 for structure and hairlines, ember #ff7a45
            reserved ONLY for critical incident states (permission
            change, large sale, withdrawal) and the buy chrome.
            Ember is the delta vs Splitpaid's pure mint-on-black
            and Settle Protocol's settlement-green register.
   Type     Newsreader (serif headlines, editorial report voice)
            + Public Sans (body, neutral agency sans)
            + IBM Plex Mono self-hosted (timestamps, blocks,
            fields, case IDs). Splitpaid runs Playfair + Plex Sans,
            Settle runs Space Grotesk + Plex Mono: this triple
            overlaps neither pairing.
   Radius   4px. Sharp, document-like, no bubbly SaaS corners.
   Spacing  8px base. 24 / 48 / 64 / 96 for the rhythm.
   Motion   one idiom: hairline reveal and height, 0.24s ease.
            No bounce, no float, nothing playful.
   ============================================================ */

@font-face {
  font-family: "Plex Mono";
  src: url("assets/fonts/plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("assets/fonts/plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --bg: #060f0b;
  --bg-panel: #091711;
  --bg-panel-alt: #07130e;
  --bg-sheet: #0b1d15;
  --mint: #8fe6c8;
  --mint-bright: #d3f7e9;
  --mint-dim: rgba(143, 230, 200, 0.5);
  --border: rgba(143, 230, 200, 0.14);
  --border-strong: rgba(143, 230, 200, 0.3);
  --text: #dcf3ea;
  --text-secondary: #a4c8b8;
  --text-muted: #648a7b;
  --ember: #ff7a45;
  --ember-bright: #ffab6b;
  --ember-dim: rgba(255, 122, 69, 0.34);
  --radius: 4px;
  --max-width: 1140px;
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --font-sans: "Public Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Plex Mono", "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.005em;
  margin: 0 0 16px;
  color: var(--mint-bright);
  line-height: 1.18;
}

p {
  margin: 0 0 18px;
}

a {
  color: inherit;
  text-decoration: none;
}

.mono {
  font-family: var(--font-mono);
}

/* ---------------- Header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(6, 15, 11, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: block;
  border: 1px solid var(--border-strong);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 17px;
  color: var(--text);
}

.brand-sub {
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.site-nav {
  display: flex;
  gap: 24px;
  flex: 1;
  justify-content: center;
}

.site-nav a {
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 400;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.site-nav a:hover {
  color: var(--mint-bright);
  border-bottom-color: var(--mint-dim);
}

.header-status {
  font-size: 10.5px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  white-space: nowrap;
  flex-shrink: 0;
}

.header-status .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  margin-right: 7px;
  box-shadow: 0 0 7px var(--mint);
}

/* ---------------- Chrome bar ---------------- */

.chrome-bar {
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border);
}

.chrome-bar-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 24px;
  flex-wrap: wrap;
}

.ticker {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--ember-bright);
}

.chain-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mint);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 4px 11px;
  white-space: nowrap;
}

.ca-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(143, 230, 200, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 7px 12px;
  color: var(--text);
  cursor: pointer;
  font-family: var(--font-mono);
  transition: border-color 0.16s ease, background 0.16s ease;
}

.ca-chip:hover {
  border-color: var(--mint-dim);
  background: rgba(143, 230, 200, 0.1);
}

.ca-chip:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 2px;
}

.ca-label {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ca-value {
  font-size: 12.5px;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ca-copied {
  display: none;
  font-size: 12.5px;
  color: var(--mint-bright);
  white-space: nowrap;
}

.ca-chip.is-copied .ca-value { display: none; }
.ca-chip.is-copied .ca-copied { display: inline; }

.x-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: color 0.16s ease, border-color 0.16s ease;
  flex-shrink: 0;
}

.x-icon-link:hover {
  color: var(--ember-bright);
  border-color: var(--ember-dim);
}

.buy-btn {
  margin-left: auto;
  background: var(--ember);
  color: #1a0a04;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  padding: 9px 18px;
  border-radius: var(--radius);
  transition: background 0.16s ease;
}

.buy-btn:hover {
  background: var(--ember-bright);
}

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  background-color: var(--bg-panel-alt);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

/* Hero motif: the brand seal itself, feathered into the ground with a
   radial mask so there is no hard image edge anywhere on the page. */
.hero::after {
  content: "";
  position: absolute;
  top: 44%;
  right: -150px;
  width: 700px;
  height: 700px;
  transform: translateY(-50%);
  background-image: url("assets/hero-seal.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 0.8;
  z-index: 0;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 52%, rgba(0, 0, 0, 0) 74%);
  mask-image: radial-gradient(circle at 50% 50%, #000 52%, rgba(0, 0, 0, 0) 74%);
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    var(--bg) 0%,
    var(--bg) 42%,
    rgba(6, 15, 11, 0.72) 64%,
    rgba(6, 15, 11, 0.2) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 104px 24px 96px;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--mint);
  display: inline-block;
}

.hero h1 {
  font-size: 58px;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--mint-bright);
}

.hero-description {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
}

.hero-description-second {
  color: var(--text-muted);
  font-size: 16px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
  padding: 13px 24px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ember);
  color: #1a0a04;
}

.btn-primary:hover {
  background: var(--ember-bright);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--mint-bright);
}

.btn-ghost:hover {
  border-color: var(--mint);
  background: rgba(143, 230, 200, 0.07);
}

.report-clock {
  margin-top: 36px;
  margin-bottom: 0;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-muted);
  letter-spacing: 0.12em;
}

.report-clock strong {
  color: var(--mint);
  font-weight: 400;
}

.hero-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  background: rgba(6, 15, 11, 0.86);
  backdrop-filter: blur(6px);
}

.hero-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.strip-cell {
  padding: 26px 28px 28px 0;
  border-right: 1px solid var(--border);
}

.strip-cell:first-child { padding-left: 0; }

.strip-cell:not(:first-child) { padding-left: 28px; }

.strip-cell:last-child { border-right: none; padding-right: 0; }

.strip-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.strip-value {
  display: block;
  font-family: var(--font-serif);
  font-size: 21px;
  color: var(--mint-bright);
  margin-bottom: 8px;
  line-height: 1.2;
}

.strip-note {
  display: block;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ---------------- Section shell ---------------- */

.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--bg-panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 680px;
  margin-bottom: 56px;
}

.section-head-wide { max-width: 760px; }

.section-index {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--mint);
  margin-bottom: 14px;
}

.section h2 {
  font-size: 38px;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}

.section-lead {
  color: var(--text-secondary);
  font-size: 17px;
  margin-bottom: 0;
}

.case-id {
  display: inline-block;
  font-size: 10.5px;
  color: var(--ember-bright);
  letter-spacing: 0.14em;
  border: 1px solid var(--ember-dim);
  border-radius: var(--radius);
  padding: 3px 9px;
  margin-bottom: 14px;
}

/* ---------------- Why: editorial prose ---------------- */

.prose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  border-top: 1px solid var(--border);
  padding-top: 44px;
}

.prose-col p {
  font-size: 16.5px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.prose-col p:first-child::first-letter {
  font-family: var(--font-serif);
  font-size: 54px;
  line-height: 0.82;
  float: left;
  padding: 6px 12px 0 0;
  color: var(--mint);
}

.prose-col:last-child p:first-child::first-letter {
  font-size: inherit;
  float: none;
  padding: 0;
  color: inherit;
}

.pull-quote {
  margin: 32px 0 0;
  padding: 24px 0 4px;
  border-top: 1px solid var(--ember-dim);
}

.pull-quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 21px;
  line-height: 1.45;
  color: var(--ember-bright);
  margin: 0;
}

/* ---------------- Reconstruct ---------------- */

.recon-list {
  border-top: 1px solid var(--border);
}

.recon-item {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  padding: 44px 0;
  border-bottom: 1px solid var(--border);
}

.recon-head {
  position: sticky;
  top: 96px;
  align-self: start;
}

.recon-number {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--mint);
  margin-bottom: 10px;
}

.recon-head h3 {
  font-size: 25px;
  margin: 0;
  letter-spacing: -0.01em;
}

.recon-body p {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 660px;
}

.recon-fields {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.recon-fields li {
  background: var(--bg-panel-alt);
  padding: 12px 14px;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--mint);
  line-height: 1.5;
}

/* ---------------- Timeline ---------------- */

.timeline-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.tl-btn {
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  color: var(--mint-bright);
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 9px 16px;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.tl-btn:hover {
  background: rgba(143, 230, 200, 0.08);
  border-color: var(--mint);
}

.tl-btn:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 2px;
}

.tl-count {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.timeline-wrap {
  position: relative;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 150px 26px 1fr;
  gap: 0;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.timeline-gutter {
  padding-top: 1px;
}

.timeline-time {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.timeline-block {
  display: block;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 4px;
}

.timeline-item.is-critical .timeline-time { color: var(--ember-bright); }

.timeline-dot {
  position: relative;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--mint);
  margin-top: 6px;
  justify-self: center;
  z-index: 1;
}

/* continuous rail: drawn on the row itself so it survives an expanded panel */
.timeline-item::after {
  content: "";
  position: absolute;
  left: 163px;
  top: 24px;
  bottom: -1px;
  width: 1px;
  background: var(--border-strong);
}

.timeline-item:last-child::after { display: none; }

.timeline-item.is-critical .timeline-dot {
  border-color: var(--ember);
  box-shadow: 0 0 0 3px var(--ember-dim);
}

.timeline-item.is-terminal .timeline-dot {
  border-color: var(--ember);
  background: var(--ember);
}

.timeline-main {
  padding-left: 4px;
}

.timeline-event {
  display: block;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
}

.timeline-event:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 5px;
}

.timeline-title {
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 400;
  color: var(--mint-bright);
  margin-bottom: 5px;
  line-height: 1.3;
}

.timeline-event:hover .timeline-title { color: var(--mint); }

.timeline-caret {
  font-size: 12px;
  color: var(--mint);
  transition: transform 0.24s ease;
  flex-shrink: 0;
  display: inline-block;
}

.timeline-item.is-critical .timeline-caret { color: var(--ember); }

.timeline-event[aria-expanded="true"] .timeline-caret {
  transform: rotate(90deg);
}

.timeline-hint {
  display: block;
  font-size: 13.5px;
  color: var(--text-muted);
}

.timeline-detail {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.28s ease, opacity 0.22s ease, margin 0.28s ease;
  margin-top: 0;
}

.timeline-detail.is-open {
  opacity: 1;
  margin-top: 18px;
}

.timeline-detail-inner {
  border-left: 1px solid var(--border-strong);
  padding: 2px 0 2px 20px;
  max-width: 660px;
}

.timeline-item.is-critical .timeline-detail-inner { border-left-color: var(--ember-dim); }

.timeline-detail-inner p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.68;
  margin-bottom: 18px;
}

.detail-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin: 0 0 18px;
}

.detail-fields > div {
  background: var(--bg-panel-alt);
  padding: 10px 13px;
}

.detail-fields dt {
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.detail-fields dd {
  margin: 0;
  font-size: 12.5px;
  color: var(--mint);
  word-break: break-word;
}

.detail-reading {
  font-size: 14px !important;
  color: var(--text) !important;
  margin-bottom: 0 !important;
}

.detail-reading .mono {
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--ember);
  margin-right: 10px;
}

/* ---------------- Report sheet ---------------- */

.report-sheet {
  background: var(--bg-sheet);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 36px 40px 30px;
  max-width: 900px;
}

.report-sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.report-kicker {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin: 0 0 8px;
}

.report-title {
  font-size: 30px;
  margin: 0;
}

.report-stamp {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--ember);
  border: 1px solid var(--ember-dim);
  border-radius: var(--radius);
  padding: 6px 14px;
  white-space: nowrap;
}

.report-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin: 26px 0 30px;
}

.report-meta > div {
  background: var(--bg-panel-alt);
  padding: 13px 16px;
}

.report-meta dt {
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.report-meta dd {
  margin: 0;
  font-size: 12.5px;
  color: var(--mint);
}

.report-meta dd.is-flag { color: var(--ember-bright); }

.report-findings h4 {
  font-size: 19px;
  margin-bottom: 16px;
}

.report-findings ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.report-findings li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}

.finding-tag {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ember);
  padding-top: 3px;
}

.report-findings p {
  margin: 0;
  font-size: 15px;
  color: var(--text-secondary);
}

.report-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.report-note {
  max-width: 900px;
  margin: 20px 0 0;
  font-size: 13.5px;
  color: var(--text-muted);
}

/* ---------------- Method + limits ---------------- */

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.method-card {
  background: var(--bg-panel-alt);
  padding: 28px 24px 26px;
}

.method-step {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--mint);
  margin-bottom: 14px;
}

.method-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.method-card p {
  font-size: 14.5px;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.62;
}

.limits {
  margin-top: 64px;
  border-top: 1px solid var(--ember-dim);
  padding-top: 36px;
}

.limits h3 {
  font-size: 26px;
  color: var(--ember-bright);
  margin-bottom: 24px;
}

.limits-cols {
  columns: 2;
  column-gap: 48px;
}

.limits-cols p {
  font-size: 15.5px;
  color: var(--text-secondary);
  break-inside: avoid;
  margin-bottom: 20px;
}

/* ---------------- Footer ---------------- */

.site-footer {
  padding: 40px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-panel-alt);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.footer-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
}

.footer-name {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--text);
  margin: 0 0 3px;
}

.footer-line {
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin: 0;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-buy { margin-left: 0; }

.footer-copy {
  color: var(--text-muted);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  margin: 8px 0 0;
  width: 100%;
  text-align: center;
  order: 3;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* ---------------- Error banner ---------------- */

#boot-error-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: #2a0d06;
  color: #ffcdb8;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 11px 16px;
  border-top: 1px solid var(--ember);
  display: none;
  white-space: pre-wrap;
}

/* ---------------- Responsive ---------------- */

@media (max-width: 1080px) {
  .site-nav { gap: 18px; }
  .site-nav a { font-size: 12.5px; }
  .header-status { display: none; }
  .recon-item { grid-template-columns: 220px 1fr; gap: 32px; }
  .method-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .site-nav { display: none; }

  .chrome-bar-inner {
    gap: 8px 10px;
    align-items: center;
  }

  .buy-btn {
    order: 5;
    margin-left: 0;
    flex: 1 1 100%;
    text-align: center;
  }

  .ca-chip {
    order: 4;
    flex: 1 1 100%;
    justify-content: flex-start;
  }

  .x-icon-link { order: 3; margin-left: auto; }
  .ca-value { max-width: none; }

  .hero::after {
    top: auto;
    bottom: -140px;
    right: -180px;
    width: 460px;
    height: 460px;
    transform: none;
    opacity: 0.4;
  }

  .hero-inner { padding: 64px 24px 56px; }
  .hero h1 { font-size: 40px; }
  .hero-description { font-size: 16px; }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-strip-inner { grid-template-columns: 1fr; }

  .strip-cell {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
  }

  .strip-cell:not(:first-child) { padding-left: 0; }
  .strip-cell:last-child { border-bottom: none; }

  .section { padding: 64px 0; }
  .section h2 { font-size: 30px; }
  .section-head { margin-bottom: 36px; }

  .prose-grid { grid-template-columns: 1fr; gap: 0; }

  .recon-item { grid-template-columns: 1fr; gap: 18px; padding: 32px 0; }
  .recon-head { position: static; }
  .recon-fields { grid-template-columns: 1fr; }

  .timeline-item { grid-template-columns: 22px 1fr; padding: 20px 0; }

  .timeline-gutter {
    grid-column: 1 / -1;
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 10px;
    padding-left: 34px;
  }

  .timeline-block { margin-top: 0; }
  .timeline-dot { grid-column: 1; justify-self: start; margin-top: 6px; }
  .timeline-item::after { left: 5px; top: 52px; }
  .timeline-main { grid-column: 2; padding-left: 12px; }
  .timeline-title { font-size: 17px; }
  .detail-fields { grid-template-columns: 1fr; }

  .report-sheet { padding: 26px 20px 22px; }
  .report-sheet-head { flex-direction: column; }
  .report-meta { grid-template-columns: 1fr; }
  .report-title { font-size: 25px; }

  .method-grid { grid-template-columns: 1fr; }

  .limits-cols { columns: 1; }

  .footer-inner { justify-content: center; text-align: center; }
  .footer-brand { flex-direction: column; text-align: center; }
  .footer-right { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 33px; }
  .section h2 { font-size: 26px; }
  .timeline-gutter { flex-direction: column; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------------- Report layout: sheet plus figure plate ---------------- */

.report-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
}

.report-layout .report-sheet { max-width: none; }

.report-plate {
  position: sticky;
  top: 96px;
}

.report-plate figure {
  margin: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg-panel-alt);
  padding: 14px 14px 16px;
}

/* the plate is mint line work on black: screen blending drops the black
   ground so the figure sits on the panel instead of on a darker square */
.report-plate img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: screen;
}

.report-plate figcaption {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-muted);
}

.plate-tag {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--mint);
  margin-bottom: 6px;
}

@media (max-width: 1080px) {
  .report-layout { grid-template-columns: 1fr; gap: 28px; }
  .report-plate { position: static; max-width: 420px; }
}
