:root {
  color-scheme: dark;
  --bg: #07090d;
  --panel: #111823;
  --panel-2: #151f2b;
  --line: #263445;
  --text: #eef4f7;
  --muted: #9fb0bd;
  --green: #45d483;
  --cyan: #4cc9f0;
  --amber: #f2b84b;
  --red: #ff5f69;
  --ink: #0b1017;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 0 28px;
  background: rgba(7, 9, 13, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(76, 201, 240, 0.55);
  border-radius: 8px;
  background: #0d1720;
  color: var(--cyan);
  font-size: 18px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  padding: 8px 10px;
  border-radius: 7px;
  text-decoration: none;
}

.nav a:hover {
  background: var(--panel);
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 34px;
  align-items: stretch;
  padding: 44px 28px 28px;
  max-width: 1240px;
  margin: 0 auto;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  min-height: 430px;
}

.eyebrow {
  margin: 0;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(42px, 6vw, 86px);
  line-height: 0.95;
  letter-spacing: 0;
}

.lede {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
  color: var(--text);
  font-weight: 750;
  text-decoration: none;
}

.button.primary {
  border-color: rgba(69, 212, 131, 0.55);
  background: var(--green);
  color: var(--ink);
}

.hero-visual {
  overflow: hidden;
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0d1118;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px 26px;
}

.metric,
.card,
.asset,
.claim {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.metric {
  padding: 16px;
}

.metric strong {
  display: block;
  font-size: 28px;
}

.metric span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 34px 28px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.section h2 {
  margin-bottom: 0;
  font-size: 26px;
}

.section-note {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.queue {
  display: grid;
  gap: 10px;
}

.card,
.asset,
.claim {
  padding: 16px;
}

.card h3,
.asset h3,
.claim h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.meta,
.source {
  color: var(--muted);
  font-size: 13px;
}

.queue-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 160px;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.score {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #0d1720;
  color: var(--green);
  font-weight: 850;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.tag.verified {
  border-color: rgba(69, 212, 131, 0.45);
  color: var(--green);
}

.tag.speculative {
  border-color: rgba(242, 184, 75, 0.5);
  color: var(--amber);
}

.tag.fan {
  border-color: rgba(76, 201, 240, 0.45);
  color: var(--cyan);
}

.claim-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.claim {
  min-height: 145px;
}

.claim-meter {
  height: 6px;
  overflow: hidden;
  margin-top: 12px;
  border-radius: 999px;
  background: #26303c;
}

.claim-meter span {
  display: block;
  height: 100%;
  background: var(--green);
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.asset p {
  color: var(--muted);
}

.article-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--cyan);
  font-weight: 800;
  text-decoration: none;
}

.brief {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
}

.brief pre {
  overflow: auto;
  margin: 0;
  color: #dce8ee;
  font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
}

.footer {
  padding: 32px 28px 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.article-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 42px 28px 70px;
}

.article-page h1 {
  font-size: clamp(38px, 7vw, 68px);
}

.article-body {
  margin-top: 28px;
  color: #dbe5eb;
  font-size: 17px;
}

.article-body h2 {
  margin-top: 34px;
  color: var(--text);
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.article-body th,
.article-body td {
  padding: 12px;
  border: 1px solid var(--line);
  text-align: left;
}

@media (max-width: 900px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 18px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 28px 18px 20px;
  }

  .hero-copy,
  .hero-visual {
    min-height: auto;
  }

  .hero-visual {
    aspect-ratio: 16 / 10;
  }

  .metrics,
  .grid,
  .asset-grid,
  .claim-list {
    grid-template-columns: 1fr;
  }

  .metrics,
  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .queue-item {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .queue-item .tag-row {
    grid-column: 1 / -1;
  }
}
