:root {
  --bg: #020303;
  --panel: rgba(9, 13, 14, 0.82);
  --panel-2: rgba(16, 21, 22, 0.72);
  --text: #f3f5f1;
  --muted: #9aa2a0;
  --red: #ff2d20;
  --red-2: #ff5a42;
  --amber: #ff9f45;
  --line: rgba(229, 238, 235, 0.14);
  --line-strong: rgba(229, 238, 235, 0.30);
  --mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", Menlo, Consolas, monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: #000;
  color: var(--text);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  background:
    radial-gradient(circle at 22% 16%, rgba(255, 45, 32, 0.12), transparent 31%),
    radial-gradient(circle at 79% 4%, rgba(255, 159, 69, 0.055), transparent 30%),
    linear-gradient(180deg, #060a0a 0%, #020303 56%, #000 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.28));
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0, rgba(255,255,255,.03) 1px, transparent 1px, transparent 5px);
  opacity: .13;
  mix-blend-mode: screen;
  z-index: 50;
}

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

.page {
  position: relative;
  z-index: 1;
  width: min(1320px, calc(100% - 40px));
  margin: 24px auto 40px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(135deg, rgba(255,255,255,.04), transparent 26%), rgba(0,0,0,.54);
  box-shadow: 0 40px 140px rgba(0,0,0,.78), inset 0 0 85px rgba(255,45,32,.025);
  overflow: hidden;
}

.page::before,
.page::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--red);
  opacity: .85;
  pointer-events: none;
}

.page::before { top: 18px; left: 18px; border-left: 1px solid; border-top: 1px solid; }
.page::after { right: 18px; bottom: 18px; border-right: 1px solid; border-bottom: 1px solid; }

header {
  min-height: 86px;
  padding: 18px clamp(22px, 3vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,.30);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 284px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,45,32,.48);
  border-radius: 50%;
  color: white;
  font: 900 24px/1 var(--mono);
  box-shadow: 0 0 25px rgba(255,45,32,.12), inset 0 0 20px rgba(255,255,255,.05);
}

.brand-word {
  font: 800 28px/1 var(--mono);
  letter-spacing: .28em;
  color: var(--text);
}

.brand-sub {
  margin-top: 5px;
  color: rgba(206,214,211,.65);
  font: 800 9px/1.42 var(--mono);
  letter-spacing: .25em;
  text-transform: uppercase;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 46px);
  color: rgba(242,245,241,.78);
  font: 800 12px var(--mono);
  letter-spacing: .18em;
  text-transform: uppercase;
}

nav a { transition: color .2s ease, text-shadow .2s ease; }
nav a:hover, nav a[aria-current="page"] { color: white; text-shadow: 0 0 18px rgba(255,45,32,.55); }

.request {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(255,45,32,.72);
  color: var(--red-2);
  background: linear-gradient(90deg, rgba(255,45,32,.08), rgba(255,45,32,.015));
  box-shadow: inset 0 0 28px rgba(255,45,32,.06);
  font: 800 10px var(--mono);
  letter-spacing: .13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.reports-page {
  padding: clamp(42px, 6vw, 78px) clamp(22px, 4vw, 58px) 54px;
}

.reports-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
  color: var(--red-2);
  font: 900 11px var(--mono);
  letter-spacing: .28em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--red);
  box-shadow: 0 0 16px var(--red);
}

h1 {
  max-width: 900px;
  margin: 0;
  font: clamp(44px, 5.1vw, 76px)/1.02 var(--mono);
  font-weight: 400;
  letter-spacing: -.055em;
  color: var(--text);
  overflow-wrap: anywhere;
}

.lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(220,229,224,.72);
  font-size: clamp(17px, 1.35vw, 22px);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.index-panel {
  border: 1px solid var(--line-strong);
  background: linear-gradient(135deg, rgba(255,255,255,.055), transparent 36%), var(--panel);
  padding: 22px;
  min-height: 180px;
}

.index-panel span {
  display: block;
  color: var(--muted);
  font: 900 10px var(--mono);
  letter-spacing: .22em;
  text-transform: uppercase;
}

.index-panel strong {
  display: block;
  margin-top: 14px;
  color: var(--red-2);
  font: 900 32px/1 var(--mono);
}

.index-panel p {
  margin: 16px 0 0;
  color: rgba(220,229,224,.68);
  line-height: 1.55;
}

.reports-list {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

.report-card {
  border: 1px solid var(--line-strong);
  background: linear-gradient(135deg, rgba(255,255,255,.05), transparent 38%), var(--panel);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.report-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,45,32,.62);
  box-shadow: 0 18px 42px rgba(0,0,0,.34);
}

.report-card a {
  display: grid;
  grid-template-columns: 165px minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  min-height: 132px;
  padding: 24px;
}

.report-date,
.report-kicker,
.read-more,
.article-meta {
  color: rgba(210,220,216,.62);
  font: 900 11px var(--mono);
  letter-spacing: .18em;
  text-transform: uppercase;
}

.report-card h2 {
  margin: 0;
  color: var(--text);
  font: 400 clamp(25px, 3vw, 38px)/1.05 var(--mono);
  letter-spacing: -.035em;
}

.report-card p {
  margin: 10px 0 0;
  max-width: 760px;
  color: rgba(220,229,224,.68);
  line-height: 1.5;
}

.read-more { color: var(--red-2); white-space: nowrap; }

.feed-page {
  padding: clamp(42px, 6vw, 78px) clamp(22px, 4vw, 58px) 58px;
}

.feed-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.feed-hero > *,
.feed-item > *,
.feed-status {
  min-width: 0;
}

.feed-status {
  border: 1px solid var(--line-strong);
  background: linear-gradient(135deg, rgba(255,255,255,.055), transparent 36%), var(--panel);
  padding: 22px;
}

.feed-status span {
  display: block;
  color: var(--muted);
  font: 900 10px var(--mono);
  letter-spacing: .22em;
  text-transform: uppercase;
}

.feed-status strong {
  display: block;
  margin-top: 14px;
  color: var(--red-2);
  font: 900 28px/1 var(--mono);
}

.feed-status p {
  margin: 16px 0 0;
  color: rgba(220,229,224,.68);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.feed-list {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

.feed-item {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 28px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(135deg, rgba(255,255,255,.05), transparent 38%), var(--panel);
  padding: 24px;
}

.feed-time,
.feed-actor,
.feed-category,
.feed-link,
.feed-empty {
  color: rgba(210,220,216,.62);
  font: 900 11px var(--mono);
  letter-spacing: .18em;
  text-transform: uppercase;
}

.feed-actor {
  display: block;
  margin-top: 12px;
  color: var(--red-2);
}

.feed-item h2 {
  margin: 0;
  color: var(--text);
  font: 400 clamp(25px, 3vw, 38px)/1.05 var(--mono);
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}

.feed-item p {
  margin: 12px 0 0;
  max-width: 830px;
  color: rgba(220,229,224,.72);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.feed-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.feed-chip,
.ticker-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(255,255,255,.16);
  padding: 6px 9px;
  background: rgba(255,255,255,.025);
  color: rgba(230,238,234,.76);
  font: 900 10px var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.ticker-chip {
  border-color: rgba(255,45,32,.45);
  color: var(--red-2);
}

.feed-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.feed-link {
  color: var(--red-2);
}

.feed-empty {
  border: 1px solid var(--line-strong);
  background: var(--panel);
  padding: 28px;
}

.empty-state {
  border: 1px solid var(--line-strong);
  background: var(--panel);
  padding: 28px;
  color: rgba(220,229,224,.72);
}

.validator-page {
  padding: clamp(42px, 6vw, 78px) clamp(22px, 4vw, 58px) 58px;
}

.validator-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.validator-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.validator-link {
  min-height: 44px;
  padding-inline: 16px;
}

.validator-link.secondary {
  border-color: rgba(255,255,255,.22);
  color: rgba(242,245,241,.82);
}

.validator-status {
  position: relative;
  min-height: 240px;
  display: grid;
  align-content: end;
  border: 1px solid rgba(255,45,32,.46);
  background:
    radial-gradient(circle at 72% 18%, rgba(110,229,143,.14), transparent 35%),
    linear-gradient(135deg, rgba(255,255,255,.06), transparent 34%),
    var(--panel);
  padding: 24px;
  overflow: hidden;
}

.validator-status::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,.07);
  pointer-events: none;
}

.status-light {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #6ee58f;
  box-shadow: 0 0 18px rgba(110,229,143,.76), 0 0 42px rgba(110,229,143,.22);
}

.validator-status span:not(.status-light),
.proof-label,
.verification-strip span {
  display: block;
  color: var(--muted);
  font: 900 10px var(--mono);
  letter-spacing: .22em;
  text-transform: uppercase;
}

.validator-status strong {
  display: block;
  margin-top: 14px;
  color: #6ee58f;
  font: 900 34px/1 var(--mono);
}

.validator-status p,
.proof-card p,
.verification-strip p {
  margin: 16px 0 0;
  color: rgba(220,229,224,.70);
  line-height: 1.55;
}

.validator-status code,
.proof-card code,
.verification-strip code {
  color: rgba(242,245,241,.92);
  font-family: var(--mono);
}

.validator-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.proof-card {
  min-width: 0;
  min-height: 210px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(135deg, rgba(255,255,255,.052), transparent 38%),
    var(--panel);
  padding: 24px;
}

.proof-card.featured {
  grid-column: span 3;
  min-height: 0;
  background:
    radial-gradient(circle at 88% 24%, rgba(255,45,32,.12), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.06), transparent 36%),
    var(--panel);
}

.proof-value {
  margin-top: 14px;
  color: var(--text);
  font: 400 clamp(26px, 3vw, 38px)/1.05 var(--mono);
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}

.key-block {
  margin: 18px 0 0;
  padding: 18px;
  border: 1px solid rgba(255,45,32,.38);
  background: rgba(0,0,0,.28);
  color: var(--red-2);
  font: 900 clamp(18px, 3vw, 34px)/1.18 var(--mono);
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}

.inline-proof {
  color: var(--red-2);
  border-bottom: 1px solid rgba(255,90,66,.45);
}

.proof-console {
  margin-top: 18px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.48);
  box-shadow: inset 0 0 45px rgba(255,45,32,.045);
}

.console-bar {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid var(--line);
  padding: 0 18px;
  color: rgba(220,229,224,.64);
  font: 900 10px var(--mono);
  letter-spacing: .18em;
  text-transform: uppercase;
}

.console-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
}

.console-bar span:first-child { background: var(--red); }
.console-bar span:nth-child(2) { background: var(--amber); }
.console-bar span:nth-child(3) { background: #6ee58f; }
.console-bar strong { margin-left: 8px; }

.proof-console pre {
  margin: 0;
  padding: 24px;
  overflow-x: auto;
  color: rgba(242,245,241,.84);
  font: 900 13px/1.65 var(--mono);
}

.verification-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  background: var(--line);
  border: 1px solid var(--line);
}

.verification-strip div {
  min-height: 170px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.045), transparent 42%),
    rgba(5,9,8,.78);
}

.verification-strip strong {
  display: block;
  margin-top: 12px;
  color: var(--text);
  font: 400 26px/1.05 var(--mono);
  letter-spacing: -.035em;
}

.report-page {
  padding: clamp(42px, 6vw, 78px) clamp(22px, 4vw, 58px) 58px;
}

.report-article {
  max-width: 860px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 36px;
  color: var(--red-2);
  font: 900 11px var(--mono);
  letter-spacing: .18em;
  text-transform: uppercase;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.article-meta span,
.article-meta time {
  border: 1px solid rgba(255,255,255,.16);
  padding: 8px 10px;
  background: rgba(255,255,255,.025);
}

.report-content {
  margin-top: 42px;
  color: rgba(232,238,235,.82);
  font-size: 19px;
  line-height: 1.72;
}

.report-content h2 {
  margin: 42px 0 12px;
  color: var(--text);
  font: 400 32px/1.12 var(--mono);
  letter-spacing: -.035em;
}

.report-content h3 {
  margin: 32px 0 10px;
  color: rgba(242,245,241,.94);
  font: 400 24px/1.18 var(--mono);
  letter-spacing: -.025em;
}

.report-content p { margin: 0 0 22px; }
.report-content a { color: var(--red-2); border-bottom: 1px solid rgba(255,90,66,.45); }
.report-content ul { margin: 0 0 26px; padding-left: 22px; }
.report-content li + li { margin-top: 10px; }
.report-content hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 36px 0;
}
.report-content code {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  padding: 2px 6px;
  color: rgba(242,245,241,.9);
  font: .88em var(--mono);
}
.report-content table {
  display: block;
  width: 100%;
  margin: 30px 0;
  border-collapse: collapse;
  overflow-x: auto;
  font-size: 15px;
  line-height: 1.45;
}
.report-content th,
.report-content td {
  border: 1px solid rgba(229,238,235,.16);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.report-content th {
  color: var(--text);
  background: rgba(255,45,32,.09);
  font: 900 11px var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.report-content td {
  color: rgba(232,238,235,.78);
  background: rgba(255,255,255,.018);
}
.report-content blockquote {
  margin: 34px 0;
  padding: 20px 24px;
  border-left: 2px solid var(--red);
  background: rgba(255,45,32,.055);
  color: rgba(242,245,241,.82);
}

footer {
  border-top: 1px solid var(--line);
  padding: 22px clamp(22px, 4vw, 58px);
  color: rgba(210,220,216,.56);
  font: 900 11px var(--mono);
  letter-spacing: .18em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  header { align-items: flex-start; flex-direction: column; }
  nav { display: none; }
  .request { width: 100%; }
  .reports-hero, .feed-hero, .validator-hero { grid-template-columns: 1fr; }
  .feed-item { grid-template-columns: 1fr; }
}

@media (max-width: 1180px) and (min-width: 981px) {
  header {
    flex-wrap: wrap;
    gap: 16px 22px;
  }
  .brand { flex: 1 1 300px; }
  nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }
  .request { margin-left: auto; }
}

@media (max-width: 680px) {
  .page { width: 100%; margin: 0; border-inline: 0; }
  header { gap: 18px; padding-inline: 18px; }
  .brand { min-width: 0; }
  .brand-word { font-size: 27px; }
  .request {
    min-width: 0;
    justify-content: center;
    gap: 12px;
    padding-inline: 16px;
    font-size: 10px;
    letter-spacing: .15em;
  }
  .reports-page, .report-page, .feed-page, .validator-page { padding: 38px 18px 46px; }
  .reports-hero, .feed-hero, .validator-hero { gap: 22px; padding-bottom: 28px; }
  h1 { font-size: clamp(34px, 9.7vw, 40px); line-height: 1.05; letter-spacing: -.035em; }
  .lead { margin-top: 18px; }
  .index-panel, .feed-status { min-height: 0; padding: 18px; }
  .index-panel strong, .feed-status strong { margin-top: 10px; font-size: 26px; }
  .index-panel p, .feed-status p { margin-top: 12px; font-size: 15px; line-height: 1.45; }
  .reports-list, .feed-list { margin-top: 18px; }
  .feed-list {
    display: flex;
    gap: 14px;
    margin-inline: -18px;
    overflow-x: auto;
    padding: 0 18px 12px;
    scroll-padding-inline: 18px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .feed-list::-webkit-scrollbar { display: none; }
  .feed-item {
    flex: 0 0 min(86vw, 380px);
    gap: 16px;
    padding: 18px;
    scroll-snap-align: start;
  }
  .feed-item h2 { font-size: 27px; letter-spacing: -.025em; }
  .report-card a { grid-template-columns: 1fr; gap: 14px; min-height: 0; }
  .read-more { white-space: normal; }
  .validator-status { min-height: 0; padding: 18px; }
  .validator-status::before { inset: 12px; }
  .validator-grid, .verification-strip { grid-template-columns: 1fr; }
  .proof-card.featured { grid-column: span 1; }
  .proof-card { min-height: 0; padding: 18px; }
  .key-block { padding: 14px; font-size: 16px; }
  .proof-console pre { padding: 18px; font-size: 11px; }
  .console-bar { letter-spacing: .12em; }
}
