@font-face {
  font-family: 'Space Grotesk';
  src: url('/fonts/0640890476fc1198.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/fonts/08949f728dc52d52.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/fonts/0d1f0b8d0722224e.woff2') format('woff2');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  color: #dce9e3;
  background: #030b09;
  color-scheme: dark;
  font-synthesis: none;
  --bg: #030b09;
  --surface: #071713;
  --surface-deep: #05110e;
  --surface-hover: #0a201a;
  --border: #173028;
  --border-card: #174334;
  --border-panel: #1d4433;
  --text: #dce9e3;
  --text-bright: #f1f8f4;
  --text-muted: #9bb4a8;
  --text-dim: #668277;
  --mint: #6ee7b7;
  --mint-bright: #78edbf;
  --mint-link: #74e8bb;
  --mint-border: #479c7c;
  --amber: #e8d1a0;
  --amber-bright: #f2d58b;
  --coral: #ffb6a2;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(74, 222, 128, .029) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 222, 128, .029) 1px, transparent 1px);
  background-size: 48px 48px;
}

a {
  color: var(--mint-link);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: #9af4d0; }

:focus-visible {
  outline: 3px solid var(--amber-bright);
  outline-offset: 3px;
}

.site-shell {
  width: min(1152px, calc(100% - 32px));
  margin: 0 auto;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 92px;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: #b7ccc2;
  text-decoration: none;
  text-transform: uppercase;
  font: 600 11px/1.2 'IBM Plex Mono', monospace;
  letter-spacing: .15em;
}
.brand:hover { color: var(--text-bright); }

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #279a75;
  border-radius: 6px;
  color: #70e5b4;
  background: #0b2018;
  font: 700 12px 'Space Grotesk', sans-serif;
  letter-spacing: 0;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font: 600 11px/1.2 'IBM Plex Mono', monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.site-nav a:hover { color: var(--mint-bright); }

.protocol {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-dim);
  background: #0c1914;
  font: 400 10px 'IBM Plex Mono', monospace;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Hero (Fortress silhouette) */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr);
  gap: 48px;
  align-items: start;
  padding: 64px 0 52px;
}

.eyebrow {
  margin: 0;
  color: var(--mint-bright);
  font: 600 10px/1.5 'IBM Plex Mono', monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-copy > .eyebrow { margin-bottom: 20px; }

h1 {
  margin: 0;
  color: var(--text-bright);
  font-size: clamp(34px, 4.1vw, 58px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.055em;
}
h1 span, h1 strong { display: block; }
h1 span { color: #c3d7cd; font-weight: 600; }
h1 strong {
  margin-top: 7px;
  color: #fff;
  font-size: 1.08em;
  font-weight: 700;
  letter-spacing: -.06em;
  text-shadow: 0 0 .6em rgba(226, 244, 235, .16);
}

.claims {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 19px 26px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}
.claims li {
  padding-left: 12px;
  border-left: 2px solid var(--mint-border);
}
.claims strong {
  display: block;
  color: var(--text-bright);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}
.claims span {
  display: block;
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.45;
}

.hero-kicker {
  margin: 32px 0 0;
  color: #87e5ba;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
}

/* Featured Verdict Card */
.verdict-card {
  padding: 28px 28px 26px;
  border: 1px solid var(--border-card);
  border-radius: 17px;
  background: var(--surface);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .35);
}
.card-eyebrow {
  color: var(--mint-bright);
  font-size: 9.5px;
}
.verdict-card h2 {
  margin: 12px 0 10px;
  color: var(--text-bright);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.03em;
}
.verdict-card p.card-summary {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 16px;
  color: #8ba99b;
  font: 400 11px/1.4 'IBM Plex Mono', monospace;
}

.primary-button {
  display: block;
  width: 100%;
  margin-top: 22px;
  padding: 14px 18px;
  border: 0;
  border-radius: 6px;
  color: #04100d;
  background: var(--mint);
  font: 700 11px/1.2 'IBM Plex Mono', monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  transition: background .15s ease, transform .15s ease;
}
.primary-button:hover {
  background: #94f0c9;
  color: #04100d;
}

.secondary-link {
  display: block;
  margin-top: 15px;
  color: #80d9b1;
  font: 500 11px/1.4 'IBM Plex Mono', monospace;
  text-align: center;
  text-decoration: none;
}
.secondary-link:hover { text-decoration: underline; }

/* Dispatches Section */
.section-block {
  padding: 40px 0 60px;
  border-top: 1px solid var(--border);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 26px;
}
.section-heading h2 {
  margin: 8px 0 0;
  color: var(--text-bright);
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.15;
  letter-spacing: -.04em;
}
.section-heading .section-count {
  color: #8ba99b;
  font: 400 11px 'IBM Plex Mono', monospace;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.post-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 26px 28px;
  border: 1px solid var(--border-panel);
  border-left: 3px solid var(--mint-border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 15px 45px rgba(0, 0, 0, .14);
  text-decoration: none;
  color: inherit;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.post-card:hover {
  border-color: var(--mint);
  border-left-color: var(--mint);
  background: var(--surface-hover);
  transform: translateY(-1px);
  color: inherit;
}

.post-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.tag {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid #52705e;
  border-radius: 4px;
  color: var(--amber);
  font: 600 10px/1.3 'IBM Plex Mono', monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.tag-mint {
  border-color: #279a75;
  color: var(--mint-bright);
  background: #0b2018;
}

.meta-mono {
  color: #8ba99b;
  font: 400 11px/1.4 'IBM Plex Mono', monospace;
}

.post-card h3 {
  margin: 0;
  color: var(--text-bright);
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.03em;
}
.post-card p {
  margin: 10px 0 0;
  max-width: 72ch;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.post-card-cta {
  color: var(--mint);
  font: 600 11px/1.2 'IBM Plex Mono', monospace;
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Telemetry Stats Strip */
.scores {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.panel {
  padding: 22px 24px;
  border: 1px solid var(--border-panel);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 15px 45px rgba(0, 0, 0, .12);
}
.scores strong {
  display: block;
  margin-top: 8px;
  color: var(--text-bright);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.1;
}
.scores p {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

/* Article Layout */
.article-wrap {
  padding: 46px 0 72px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: #80d9b1;
  font: 600 11px/1.2 'IBM Plex Mono', monospace;
  letter-spacing: .09em;
  text-transform: uppercase;
  text-decoration: none;
}
.back-link:hover { text-decoration: underline; }

.article-header {
  max-width: 820px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.article-header h1 {
  margin-top: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.article-subtitle {
  margin: 18px 0 0;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.55;
}
.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  margin-top: 22px;
  padding: 14px 18px;
  border: 1px solid var(--border-panel);
  border-radius: 10px;
  background: var(--surface);
  font: 400 11px/1.4 'IBM Plex Mono', monospace;
  color: #8ba99b;
}
.article-meta-bar strong {
  color: var(--text-bright);
  font-weight: 600;
}

/* Prose */
.article-body {
  max-width: 780px;
  margin-top: 34px;
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--text);
}

.article-body h2 {
  margin: 44px 0 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  color: var(--text-bright);
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.03em;
}
.article-body h3 {
  margin: 30px 0 10px;
  color: #eff9f4;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.02em;
}
.article-body p {
  margin: 0 0 18px;
}
.article-body strong {
  color: var(--text-bright);
  font-weight: 600;
}
.article-body ul,
.article-body ol {
  margin: 0 0 20px;
  padding-left: 24px;
}
.article-body li {
  margin-bottom: 8px;
}
.article-body li::marker {
  color: var(--mint-border);
}

.article-body blockquote {
  margin: 26px 0;
  padding: 18px 22px;
  border: 1px solid var(--border-panel);
  border-left: 3px solid var(--mint);
  border-radius: 0 12px 12px 0;
  background: var(--surface);
  color: #c8dcd2;
}
.article-body blockquote p:last-child { margin-bottom: 0; }

.article-body code {
  padding: 2px 6px;
  border: 1px solid #173028;
  border-radius: 4px;
  background: #081c16;
  color: #9af4d0;
  font: 400 .86em/1.4 'IBM Plex Mono', monospace;
}

.code-block {
  margin: 24px 0;
  border: 1px solid var(--border-panel);
  border-radius: 12px;
  background: var(--surface-deep);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .24);
}
.code-block-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  border-bottom: 1px solid var(--border);
  background: #071713;
  color: var(--text-dim);
  font: 600 10px/1.2 'IBM Plex Mono', monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.code-block pre {
  margin: 0;
  padding: 16px 18px;
  overflow-x: auto;
  color: #cbe2d6;
  font: 400 13px/1.55 'IBM Plex Mono', monospace;
}
.code-block pre code {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
}

.table-wrap {
  margin: 26px 0;
  overflow-x: auto;
  border: 1px solid var(--border-panel);
  border-radius: 12px;
  background: var(--surface);
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
}
.article-body th {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-card);
  background: #0b2018;
  color: var(--mint-bright);
  text-align: left;
  font: 600 10.5px/1.3 'IBM Plex Mono', monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.article-body td {
  padding: 11px 16px;
  border-bottom: 1px solid #132c23;
  color: var(--text);
  vertical-align: top;
}
.article-body tr:last-child td { border-bottom: 0; }

.article-body hr {
  margin: 36px 0;
  border: 0;
  border-top: 1px solid var(--border);
}

/* Post navigation */
.post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 780px;
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.post-nav a {
  display: block;
  padding: 18px 20px;
  border: 1px solid var(--border-panel);
  border-radius: 12px;
  background: var(--surface);
  text-decoration: none;
  transition: border-color .15s ease, background .15s ease;
}
.post-nav a:hover {
  border-color: var(--mint);
  background: var(--surface-hover);
}
.post-nav small {
  display: block;
  color: var(--text-dim);
  font: 600 10px/1.3 'IBM Plex Mono', monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.post-nav strong {
  display: block;
  margin-top: 6px;
  color: var(--text-bright);
  font-size: 15px;
  line-height: 1.35;
}
.post-nav .next { text-align: right; }

/* Footer */
footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0 40px;
  border-top: 1px solid var(--border);
  color: #456157;
  font: 400 9.5px/1.5 'IBM Plex Mono', monospace;
  letter-spacing: .09em;
  text-transform: uppercase;
}
footer a {
  color: #6b9182;
  text-decoration: none;
}
footer a:hover { color: var(--mint-bright); }

/* 404 */
.not-found {
  padding: 88px 0;
  max-width: 640px;
}
.not-found p {
  margin: 18px 0 26px;
  color: var(--text-muted);
  font-size: 16px;
}
.not-found .primary-button {
  width: auto;
  display: inline-block;
  padding: 14px 24px;
}

@media (max-width: 880px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .verdict-card { max-width: 580px; }
  .scores { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .site-header { min-height: 76px; }
  .protocol { display: none; }
  .hero { padding: 36px 0 32px; }
  .claims { grid-template-columns: 1fr; gap: 12px; margin-top: 26px; }
  h1 { font-size: clamp(29px, 8vw, 42px); }
  .post-card { grid-template-columns: 1fr; gap: 14px; padding: 20px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .next { text-align: left; }
  footer { flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .primary-button, .post-card, .post-nav a { transition: none; }
}
