@import url('./base.css');

/* ============================================
   WASH REPORT — Dexter Research
   Article-specific overrides & components
   ============================================ */

/* ---- ACCENT OVERRIDE ---- */
/* Base already defaults to --accent: #ef4444, so no override needed.
   We do override --accent2 for the progress bar gradient. */
:root {
  --accent2: #f97316;
}

/* ---- PROGRESS BAR (three-stop gradient override) ---- */
.progress-bar {
  background: linear-gradient(90deg, var(--accent), var(--accent2), var(--yellow));
}

/* ---- CODE (wash report omits accent color on inline code) ---- */
code { color: inherit; }

/* ---- NAV (wash-report-specific: active state + mobile brand hide) ---- */
.nav-step { position: relative; }
.nav-step.active { color: var(--accent); background: rgba(239, 68, 68, 0.08); }

@media (max-width: 768px) {
  .nav-step { padding: 6px 8px; }
  .nav-brand { display: none; }
}

/* ---- HERO (full-height cinematic variant) ---- */
.hero {
  min-height: 90vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 140px 0 100px;
  position: relative;
  text-align: left;
}
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: -50vw; right: -50vw;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, var(--border-bright) 50%, transparent 90%);
}

.hero-kicker {
  font-size: 12px;
  letter-spacing: 5px;
  margin-bottom: 28px;
  opacity: 0; transform: translateY(12px);
  animation: fadeUp 0.6s ease 0.2s forwards;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900; line-height: 1.04;
  margin-bottom: 36px;
  max-width: 820px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 0%, #c0c0d0 50%, #808098 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  color: unset;
  opacity: 0; transform: translateY(16px);
  animation: fadeUp 0.7s ease 0.35s forwards;
}

.hero-lede {
  font-size: 21px;
  max-width: 600px; line-height: 1.7;
  margin-bottom: 48px;
  opacity: 0; transform: translateY(12px);
  animation: fadeUp 0.6s ease 0.5s forwards;
}

.hero-meta {
  font-size: 12px;
  line-height: 1.8;
  opacity: 0;
  animation: fadeIn 0.6s ease 0.7s forwards;
}

/* ---- SECTIONS (expanded padding, pseudo-element separators) ---- */
section {
  padding: 120px 0;
  position: relative;
  border-top: none;
}
section::before {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: -1;
}
section::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border) 20%, var(--border) 80%, transparent 100%);
}
section:last-of-type::after { display: none; }

.section-label {
  letter-spacing: 4px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.section-intro {
  font-size: 18px; color: var(--dim);
  max-width: 640px; line-height: 1.7;
  margin-bottom: 56px;
}

/* Section color escalation */
#tweet::before {
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(59,130,246,.03) 0%, transparent 70%);
}
#who::before {
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(234,179,8,.025) 0%, transparent 70%);
}
#narrative::before {
  background: radial-gradient(ellipse 80% 50% at 50% 20%, rgba(234,179,8,.03) 0%, transparent 70%);
}
#infra::before {
  background:
    radial-gradient(ellipse 100% 40% at 50% 0%, rgba(239,68,68,.04) 0%, transparent 60%),
    radial-gradient(ellipse 80% 40% at 50% 100%, rgba(168,85,247,.03) 0%, transparent 60%);
}
#evidence::before {
  background: radial-gradient(ellipse 80% 50% at 50% 30%, rgba(34,197,94,.025) 0%, transparent 70%);
}
#verify::before {
  background: radial-gradient(ellipse 80% 50% at 50% 30%, rgba(59,130,246,.03) 0%, transparent 70%);
}

/* ---- PULL QUOTE (wash report: left-border italic variant) ---- */
.pull-quote {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-style: italic;
  color: var(--text);
  text-align: left;
  max-width: 700px;
  margin: 56px 0;
  padding: 0 0 0 28px;
}
.pull-quote::before {
  position: absolute; left: 0; top: 4px; bottom: 4px;
  transform: none;
  width: 3px; height: auto;
  background: linear-gradient(to bottom, var(--accent), var(--accent2));
  border-radius: 2px;
}
.pull-quote .pq-highlight {
  color: var(--accent);
}

/* ---- BIG NUMBER ---- */
.big-number {
  font-family: var(--mono);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 24px 0 12px;
}
.big-number-label {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 32px;
}

/* ---- REVEAL ANIMATION ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }
.reveal-delay-5 { transition-delay: 0.6s; }

/* ---- TWEET EMBEDS ---- */
.tweet-pair {
  display: flex; flex-direction: column;
  gap: 24px; margin: 0 auto;
  max-width: 550px;
}

.post-tweet-context {
  font-size: 18px; color: var(--dim);
  margin-top: 40px; line-height: 1.7;
  max-width: 680px;
}

/* ---- EVIDENCE CARDS ---- */
.evidence-chain {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.evidence-chain .evidence-card {
  margin: 0;
}
.evidence-connector {
  width: 2px; height: 16px;
  background: var(--border-bright);
  margin-left: 48px;
}

.evidence-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 36px;
  margin: 16px 0;
  transition: border-color 0.3s, transform 0.25s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.evidence-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-2px);
}

/* Background evidence number watermark */
.evidence-card::after {
  content: attr(data-num);
  position: absolute;
  right: 20px; top: -10px;
  font-family: var(--mono);
  font-size: 120px;
  font-weight: 800;
  line-height: 1;
  color: rgba(255,255,255,.015);
  pointer-events: none;
  z-index: 0;
}
.evidence-card > * { position: relative; z-index: 1; }

/* Featured card (Evidence 1) */
.evidence-card.card-featured {
  border-color: rgba(239,68,68,.2);
  padding: 44px;
  background: linear-gradient(135deg, rgba(239,68,68,.03) 0%, var(--surface) 40%);
}
.evidence-card.card-featured:hover {
  border-color: rgba(239,68,68,.35);
  box-shadow: 0 0 32px rgba(239,68,68,.06);
}
.evidence-card.card-featured::after {
  color: rgba(239,68,68,.04);
}

/* Alternating accent stripe (even cards) */
.evidence-card.card-stripe {
  border-left: 3px solid var(--border-bright);
  padding-left: 33px;
}
.evidence-card.card-stripe-green { border-left-color: var(--green); }
.evidence-card.card-stripe-red { border-left-color: var(--accent); }
.evidence-card.card-stripe-yellow { border-left-color: var(--yellow); }

.evidence-badge {
  display: inline-block;
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px;
  padding: 5px 12px; border-radius: 4px;
  margin-bottom: 16px;
}
.badge-onchain { background: rgba(34, 197, 94, 0.1); color: var(--green); }
.badge-press { background: rgba(234, 179, 8, 0.1); color: var(--yellow); }
.badge-code { background: rgba(168, 85, 247, 0.1); color: var(--purple); }
.badge-thirdparty { background: rgba(6, 182, 212, 0.1); color: var(--cyan); }

.evidence-card h3 {
  font-family: var(--display);
  font-size: 21px; font-weight: 700;
  margin-bottom: 12px; line-height: 1.3;
}
.evidence-card p {
  font-size: 15px; color: var(--dim);
  line-height: 1.75;
}

.evidence-addr {
  font-family: var(--mono); font-size: 12px;
  color: var(--green); word-break: break-all;
  background: rgba(34, 197, 94, 0.04);
  padding: 12px 16px; border-radius: 6px;
  margin-top: 16px;
  border: 1px solid rgba(34, 197, 94, 0.08);
}
.evidence-source {
  font-family: var(--mono); font-size: 11px;
  color: var(--dim2); margin-top: 16px;
}

/* ---- TWO-UP GRID ---- */
.grid-2 {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin: 16px 0;
}
@media (max-width: 700px) { .grid-2 { grid-template-columns: 1fr; } }

/* ---- STATS — FULL BLEED ---- */
.stats-band {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 32px;
  margin: 56px -32px;
  /* break out of container */
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: var(--container-wide);
  margin: 0 auto;
}
@media (max-width: 700px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr; } }

.stat-cell {
  text-align: center;
  padding: 32px 24px;
  position: relative;
}
/* vertical dividers */
.stat-cell:not(:nth-child(3n))::after {
  content: '';
  position: absolute; right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--border);
}
@media (max-width: 700px) {
  .stat-cell:not(:nth-child(2n))::after { right: 0; }
  .stat-cell:nth-child(3n)::after { display: block; }
}

.stat-val {
  font-family: var(--mono);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.stat-val.red { color: var(--accent); }
.stat-val.yellow { color: var(--yellow); }
.stat-val.green { color: var(--green); }
.stat-val.blue { color: var(--blue); }
.stat-val.purple { color: var(--purple); }
.stat-val.cyan { color: var(--cyan); }

/* ---- FLOW DIAGRAM V2 (CSS-drawn) ---- */
.flow-diagram-v2 {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 48px 40px;
  margin: 48px 0;
  position: relative;
  overflow: hidden;
}
.flow-diagram-v2::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(239,68,68,.04) 0%, transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(168,85,247,.04) 0%, transparent 50%);
  pointer-events: none;
}

.flow-label {
  font-family: var(--mono); font-size: 11px;
  color: var(--accent); text-transform: uppercase;
  letter-spacing: 2px; margin-bottom: 36px;
  position: relative;
}

/* Tiers */
.flow-tier {
  display: flex;
  justify-content: center;
  gap: 12px;
  position: relative;
}
.tier-relayers {
  gap: 10px;
}
@media (max-width: 700px) {
  .tier-relayers { flex-wrap: wrap; }
}

/* Nodes */
.flow-node {
  background: var(--bg);
  border: 1px solid var(--border-bright);
  padding: 20px 24px;
  text-align: center;
  position: relative;
  min-width: 0;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.flow-node:hover {
  border-color: rgba(239,68,68,.3);
  box-shadow: 0 0 24px rgba(239,68,68,.06);
}

.node-role {
  font-family: var(--mono); font-size: 12px;
  font-weight: 600; text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 8px;
}
.node-addr {
  font-family: var(--mono); font-size: 11px;
  color: var(--green);
  word-break: break-all;
  margin-bottom: 10px;
  opacity: 0.8;
}
.node-stat {
  font-family: var(--mono); font-size: 13px;
  color: var(--yellow); font-weight: 600;
}
.node-details {
  display: flex; flex-wrap: wrap;
  gap: 6px; justify-content: center;
  margin-top: 4px;
}
.node-tag {
  font-family: var(--mono); font-size: 10px;
  padding: 3px 10px;
  border: 1px solid var(--border);
  display: inline-block;
}
.tag-red { color: var(--accent); border-color: rgba(239,68,68,.2); background: rgba(239,68,68,.04); }
.tag-yellow { color: var(--yellow); border-color: rgba(234,179,8,.2); background: rgba(234,179,8,.04); }
.tag-green { color: var(--green); border-color: rgba(34,197,94,.2); background: rgba(34,197,94,.04); }
.tag-cyan { color: var(--cyan); border-color: rgba(6,182,212,.2); background: rgba(6,182,212,.04); }
.tag-dim { color: var(--dim); border-color: var(--border); background: rgba(255,255,255,.01); }

/* Special node variants */
.node-funder {
  border-color: rgba(239,68,68,.25);
  background: linear-gradient(180deg, rgba(239,68,68,.03), var(--bg));
  max-width: 480px;
}
.node-relayer {
  flex: 1; min-width: 120px; max-width: 180px;
  padding: 14px 12px;
}
.node-relayer-ellipsis {
  border-style: dashed;
  border-color: var(--border);
  display: flex; align-items: center; justify-content: center;
  max-width: 120px;
}
.node-relayer-ellipsis .node-role {
  color: var(--dim); font-size: 11px;
  margin-bottom: 0;
}
.node-ghost {
  border-color: rgba(6,182,212,.2);
  background: linear-gradient(180deg, rgba(6,182,212,.02), var(--bg));
  max-width: 420px;
  border-style: dashed;
}
.node-ghost .node-role { color: var(--cyan); }
.node-payto {
  border-color: rgba(34,197,94,.25);
  background: linear-gradient(180deg, rgba(34,197,94,.03), var(--bg));
  max-width: 520px;
}
.node-payto .node-role { color: var(--green); }
.node-sweep {
  border-color: rgba(168,85,247,.25);
  background: linear-gradient(180deg, rgba(168,85,247,.03), var(--bg));
  max-width: 480px;
}
.node-sweep .node-role { color: var(--purple); }

/* Connectors */
.flow-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 0;
  position: relative;
}
.connector-line {
  width: 2px; height: 28px;
  background: linear-gradient(to bottom, var(--border-bright), var(--border));
  position: relative;
}
.connector-line::after {
  content: '';
  position: absolute; bottom: -3px; left: -3px;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--border-bright);
}

/* Branching connector (funder -> relayers) */
.connector-branch {
  display: flex;
  justify-content: center;
  gap: 0;
  width: 60%;
  max-width: 400px;
  position: relative;
}
.connector-branch::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--border-bright);
}
.branch-line {
  flex: 1;
  height: 20px;
  position: relative;
}
.branch-line::after {
  content: '';
  position: absolute; top: 0; left: 50%;
  width: 2px; height: 100%;
  background: var(--border-bright);
  transform: translateX(-50%);
}

/* Method label on connector */
.connector-method {
  font-family: var(--mono); font-size: 10px;
  color: var(--cyan);
  padding: 6px 16px;
  border: 1px solid rgba(6,182,212,.15);
  background: rgba(6,182,212,.03);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 4px 0;
}
.connector-method.sweep-flag {
  color: var(--accent);
  border-color: rgba(239,68,68,.2);
  background: rgba(239,68,68,.04);
  animation: sweepPulse 2.5s ease infinite;
}
@keyframes sweepPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
  50% { box-shadow: 0 0 16px 2px rgba(239,68,68,.12); }
}

/* Amount label on connector */
.connector-amount {
  font-family: var(--mono); font-size: 12px;
  font-weight: 600; color: var(--yellow);
  padding: 4px 14px;
  margin: 2px 0;
}

/* Loop-back label */
.connector-loop {
  font-family: var(--mono); font-size: 11px;
  color: var(--accent); font-weight: 600;
  padding: 8px 20px;
  border: 1px dashed rgba(239,68,68,.3);
  background: rgba(239,68,68,.03);
  position: relative;
}
.connector-loop::before {
  content: '\21A9';
  margin-right: 8px;
  font-size: 14px;
}

/* Flow animation (nodes appear in sequence) */
.flow-anim {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.flow-diagram-v2.visible .flow-anim { opacity: 1; transform: translateY(0); }
.flow-diagram-v2.visible .flow-anim[data-delay="1"] { transition-delay: 0.15s; }
.flow-diagram-v2.visible .flow-anim[data-delay="2"] { transition-delay: 0.3s; }
.flow-diagram-v2.visible .flow-anim[data-delay="3"] { transition-delay: 0.5s; }
.flow-diagram-v2.visible .flow-anim[data-delay="4"] { transition-delay: 0.65s; }
.flow-diagram-v2.visible .flow-anim[data-delay="5"] { transition-delay: 0.8s; }
.flow-diagram-v2.visible .flow-anim[data-delay="6"] { transition-delay: 0.95s; }
.flow-diagram-v2.visible .flow-anim[data-delay="7"] { transition-delay: 1.1s; }
.flow-diagram-v2.visible .flow-anim[data-delay="8"] { transition-delay: 1.25s; }
.flow-diagram-v2.visible .flow-anim[data-delay="9"] { transition-delay: 1.4s; }

/* ---- INFRA SECTION STICKY DIAGRAM ---- */
.infra-sticky-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.infra-scroll-content {
  padding-top: 16px;
}
@media (min-width: 1100px) {
  .infra-sticky-wrap {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: start;
  }
  .infra-sticky-diagram {
    position: sticky;
    top: 72px;
    align-self: start;
  }
  .infra-sticky-diagram .flow-diagram-v2 {
    margin-top: 0;
  }
  .infra-scroll-content {
    padding-top: 0;
  }
}

/* ---- TIMELINE ---- */
.timeline {
  position: relative;
  padding-left: 44px;
  margin: 48px 0;
}
/* Static track (dim background line) */
.timeline::before {
  content: '';
  position: absolute; left: 9px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--border);
}
/* Animated fill line (draws on scroll via --tl-fill-h) */
.timeline::after {
  content: '';
  position: absolute; left: 9px; top: 8px;
  width: 2px;
  height: var(--tl-fill-h, 0px);
  max-height: calc(100% - 16px);
  background: linear-gradient(to bottom, var(--blue), var(--yellow), var(--accent), var(--purple));
  z-index: 1;
}

.tl-item {
  position: relative;
  margin-bottom: 36px;
  padding-bottom: 4px;
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
/* JS adds .tl-animated to timeline on init, enabling scroll-driven reveal */
.tl-animated .tl-item {
  opacity: 0.3;
  transform: translateX(-6px);
}
.tl-animated .tl-item.tl-visible {
  opacity: 1;
  transform: translateX(0);
}

.tl-item::before {
  content: '';
  position: absolute; left: -40px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid var(--border-bright);
  background: var(--bg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  z-index: 2;
}
.tl-item.tl-visible::before { transform: scale(1.3); }
.tl-item:hover::before { transform: scale(1.5); }

.tl-item.c-blue::before { border-color: var(--blue); background: rgba(59,130,246,.25); }
.tl-item.c-yellow::before { border-color: var(--yellow); background: rgba(234,179,8,.25); }
.tl-item.c-red::before { border-color: var(--accent); background: rgba(239,68,68,.25); }
.tl-item.c-purple::before { border-color: var(--purple); background: rgba(168,85,247,.5); }

.tl-item.c-blue.tl-visible::before { box-shadow: 0 0 12px rgba(59,130,246,.3); }
.tl-item.c-yellow.tl-visible::before { box-shadow: 0 0 12px rgba(234,179,8,.3); }
.tl-item.c-red.tl-visible::before { box-shadow: 0 0 12px rgba(239,68,68,.3); }
.tl-item.c-purple.tl-visible::before { box-shadow: 0 0 12px rgba(168,85,247,.4); }

/* Final timeline item (tweet day) — special flare */
.tl-item:last-child.c-red.tl-visible::before {
  box-shadow: 0 0 20px rgba(239,68,68,.5), 0 0 40px rgba(239,68,68,.15);
  animation: dotFlare 2s ease infinite;
}
@keyframes dotFlare {
  0%, 100% { box-shadow: 0 0 12px rgba(239,68,68,.3), 0 0 24px rgba(239,68,68,.08); }
  50% { box-shadow: 0 0 20px rgba(239,68,68,.5), 0 0 40px rgba(239,68,68,.15); }
}

.tl-date {
  font-family: var(--mono); font-size: 12px;
  color: var(--dim2); letter-spacing: 0.5px;
}
.tl-title {
  font-family: var(--display);
  font-size: 19px; font-weight: 700;
  margin: 6px 0 8px;
  line-height: 1.3;
}
.tl-detail {
  font-size: 15px; color: var(--dim);
  line-height: 1.6;
}
.tl-link {
  font-family: var(--mono); font-size: 11px;
  margin-top: 6px;
}

/* ---- CALLOUT (wash-report: tinted background variant) ---- */
.callout {
  background: rgba(239, 68, 68, 0.03);
  border: 1px solid rgba(239, 68, 68, 0.1);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  padding: 28px 32px;
  margin: 48px 0;
  font-size: 16px; line-height: 1.75;
}
.callout strong { color: var(--accent); }
.callout .callout-source {
  font-family: var(--mono); font-size: 11px; margin-top: 14px;
}

/* ---- TABLE (wash-report: wrapped variant) ---- */
.table-section-title {
  font-family: var(--display);
  font-size: 24px; font-weight: 700;
  margin: 56px 0 12px;
}
.table-section-desc {
  font-size: 16px; color: var(--dim); margin-bottom: 28px;
  line-height: 1.6;
}

.table-wrap {
  overflow-x: auto; margin: 28px 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}
table { margin: 0; }
thead { background: var(--surface2); }
th {
  padding: 14px 16px;
  font-size: 10px;
  color: var(--dim);
  letter-spacing: 1.5px; white-space: nowrap;
  border-bottom: 1px solid var(--border);
}
td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(26,26,42,.5);
}
td.addr-cell {
  font-family: var(--mono); font-size: 11px;
  color: var(--green); word-break: break-all;
  max-width: 320px;
}
td.num-cell {
  font-family: var(--mono);
  text-align: right; color: var(--yellow);
}
td.accent-cell {
  color: var(--accent); font-weight: 600;
}
tr:hover td { background: rgba(255,255,255,.015); }

/* ---- VERIFY BOX ---- */
.verify-box {
  background: linear-gradient(135deg, rgba(59,130,246,.05), rgba(168,85,247,.05));
  border: 1px solid rgba(59,130,246,.12);
  border-radius: 12px;
  padding: 36px;
  margin: 48px 0;
}
.verify-box h3 {
  font-family: var(--display);
  color: var(--blue); font-size: 20px; margin-bottom: 20px;
}
.verify-box p {
  font-size: 15px; color: var(--dim);
  margin-bottom: 12px; line-height: 1.75;
}
.verify-box a {
  font-family: var(--mono); font-size: 12px;
}

/* ---- SECTION BREAKER (between major sections) ---- */
.section-breaker {
  padding: 80px 32px;
  text-align: center;
  position: relative;
  /* full bleed */
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
}
.section-breaker .breaker-text {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  max-width: 700px;
  margin: 0 auto;
}
.section-breaker .breaker-text .hl-red { color: var(--accent); }
.section-breaker .breaker-text .hl-yellow { color: var(--yellow); }
.section-breaker .breaker-text .hl-green { color: var(--green); }

/* ---- SECTION PROGRESS INDICATOR ---- */
.section-progress {
  position: fixed;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.section-progress.sp-visible { opacity: 1; }

.sp-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--border-bright);
  transition: all 0.35s ease;
  position: relative;
}
.sp-dot.sp-active {
  background: var(--accent);
  transform: scale(1.5);
  box-shadow: 0 0 8px rgba(239,68,68,.3);
}
.sp-dot.sp-passed {
  background: var(--dim2);
}
.sp-label {
  position: absolute;
  right: 16px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 10px;
  color: var(--dim);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.sp-dot.sp-active .sp-label,
.sp-dot:hover .sp-label {
  opacity: 1;
}

@media (max-width: 1200px) {
  .section-progress { display: none; }
}

/* ---- FOOTER (wash-report: expanded variant) ---- */
footer {
  padding: 72px 0 56px;
}
.footer-inner {
  font-family: var(--mono); font-size: 11px;
  color: var(--dim2); line-height: 2.2;
}
.footer-inner a { color: var(--blue); }

/* ---- PRINT ---- */
@media print {
  .section-breaker { display: none; }
  .hero h1 { -webkit-text-fill-color: #111; }
  .evidence-card, .stat-cell, .flow-diagram-v2 { border-color: #ccc; background: #f9f9f9; }
  .stats-band { background: #f5f5f5; }
}
