:root {
  --bg: #f8faf7;
  --ink: #12201b;
  --muted: #5d6d66;
  --line: #d9e2dc;
  --paper: #ffffff;
  --accent: #0f766e;
  --accent-2: #9f1239;
  --accent-soft: #d9f4ef;
  --warm: #f5ead7;
  --shadow: 0 18px 50px rgba(21, 35, 30, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a:hover {
  color: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 250, 247, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  font-weight: 800;
  letter-spacing: 0;
}

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

.hero {
  max-width: 1180px;
  min-height: 660px;
  margin: 0 auto;
  padding: 78px 24px 60px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 42px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(52px, 7vw, 84px);
  line-height: 0.96;
  letter-spacing: 0;
  overflow-wrap: normal;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.project-logo {
  display: block;
  width: min(620px, 94vw);
  height: auto;
  margin: 0 0 22px;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
}

.subtitle {
  max-width: 760px;
  margin: 20px 0 0;
  color: #253a33;
  font-size: clamp(21px, 3vw, 34px);
  line-height: 1.18;
  font-weight: 650;
}

.summary {
  max-width: 740px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.story-chain {
  max-width: 820px;
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.story-step {
  min-height: 150px;
  padding: 16px;
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 12px;
  align-content: start;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(20, 35, 30, 0.06);
}

.story-step:hover {
  border-color: rgba(15, 118, 110, 0.45);
  background: var(--accent-soft);
}

.story-step span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #10241f;
  color: #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
}

.story-step strong {
  color: #1d342c;
  font-size: 15px;
  line-height: 1.2;
}

.story-step p {
  grid-column: 2;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.authors-block {
  margin: 28px 0 0;
}

.authors-label {
  margin: 0 0 4px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.affiliation-label {
  margin: 0 0 12px;
  color: #405c53;
  font-size: 14px;
  font-weight: 760;
}

.authors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #274238;
}

.authors a,
.authors > span {
  min-height: 54px;
  padding: 10px 13px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.2;
  box-shadow: 0 7px 18px rgba(20, 35, 30, 0.05);
}

.authors a {
  border-color: rgba(15, 118, 110, 0.45);
  background: #ffffff;
}

.authors a:hover {
  background: var(--accent-soft);
}

.authors strong {
  font-weight: 820;
}

.authors span span,
.authors a span {
  margin-top: 5px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.authors a span + span {
  color: #5c746c;
}

.cta-row,
.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button,
.inline-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 7px;
  color: #1d342c;
  font-weight: 760;
  box-shadow: 0 5px 18px rgba(31, 45, 40, 0.06);
}

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.button:hover,
.inline-links a:hover {
  transform: translateY(-1px);
  color: var(--accent);
}

.button.primary:hover {
  color: #fff;
}

.hero-panel {
  padding: 24px;
  background: #10241f;
  color: #f4fbf8;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.metric {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.metric:first-child {
  padding-top: 0;
}

.metric:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.metric-value {
  display: block;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1;
  font-weight: 850;
}

.metric-label {
  display: block;
  margin-top: 8px;
  color: #c8d9d4;
  font-size: 15px;
}

.metric.accent .metric-value {
  color: #7dd3c7;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 24px;
  border-top: 1px solid var(--line);
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
}

.text-block p,
.section-heading p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 17px;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 28px;
}

.finding-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.figure-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

figure {
  margin: 0;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

figure img {
  display: block;
  width: 100%;
  min-height: 180px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.pipeline-scene {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 34px;
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.pipeline-intro h3 {
  margin: 8px 0 14px;
  max-width: 520px;
  font-size: clamp(23px, 2.7vw, 31px);
  line-height: 1.16;
}

.pipeline-intro p {
  margin: 0;
  max-width: 510px;
  color: var(--muted);
  font-size: 16px;
}

.pipeline-intro .inline-links {
  gap: 8px;
  margin-top: 22px;
}

.pipeline-intro .inline-links a {
  min-height: 36px;
  padding: 8px 12px;
  font-size: 14px;
  box-shadow: none;
}

.pipeline-steps {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.pipeline-steps details {
  position: relative;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.pipeline-steps details[open] {
  background: linear-gradient(90deg, rgba(45, 124, 95, 0.07), rgba(45, 124, 95, 0));
}

.pipeline-steps summary {
  display: grid;
  grid-template-columns: 32px 1fr 22px;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
}

.pipeline-steps summary::-webkit-details-marker {
  display: none;
}

.pipeline-steps summary::after {
  content: "+";
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 850;
  font-size: 17px;
}

.pipeline-steps details[open] summary::after {
  content: "-";
}

.pipeline-steps summary span {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e7f1eb;
  color: var(--accent);
  border-radius: 50%;
  font-weight: 850;
  font-size: 14px;
}

.pipeline-steps details[open] summary span {
  background: var(--accent);
  color: #fff;
}

.pipeline-steps summary strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
}

.pipeline-steps details p {
  margin: 0;
  max-width: 680px;
  padding: 0 28px 20px 46px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.finding,
.resource-card,
.preprint-note,
.filter-analysis,
.tier-card,
.impact-panel,
.resources a {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 32px rgba(20, 35, 30, 0.07);
}

.finding {
  padding: 22px;
}

.finding p {
  margin: 0 0 18px;
  color: var(--muted);
}

.finding strong {
  color: var(--accent);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: #365147;
  background: #eef5f1;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

tr:last-child td {
  border-bottom: 0;
}

.tier-label td {
  padding: 13px 16px 9px;
  background: #f6faf7;
  border-top: 2px solid rgba(45, 124, 95, 0.2);
  border-bottom: 1px solid rgba(45, 124, 95, 0.14);
  color: #45635a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.tier-label:first-child td {
  border-top: 0;
}

.tier-label span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-right: 10px;
  padding: 3px 9px;
  background: #e2f0ea;
  color: var(--accent);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tier-member td:first-child {
  font-weight: 760;
  color: var(--ink);
}

.tier-member + .tier-label td {
  border-top-width: 8px;
}

td:last-child {
  font-weight: 800;
  color: var(--accent-2);
}

.filter-analysis {
  margin-top: 18px;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 22px;
  align-items: start;
}

.filter-copy p {
  margin: 0 0 14px;
  color: var(--muted);
}

.tier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.tier-card {
  padding: 18px;
  box-shadow: none;
}

.tier-card span {
  display: block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tier-card h4 {
  margin: 6px 0 12px;
  color: #1d342c;
  font-size: 18px;
  line-height: 1.2;
}

.tier-card ol {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.tier-card li + li {
  margin-top: 10px;
}

.tier-card strong {
  color: #1d342c;
}

.resource-card {
  margin-top: 18px;
  padding: 22px;
}

.resource-card p {
  margin: 0;
  color: var(--muted);
}

.preprint-note {
  margin-top: 26px;
  padding: 22px;
}

.preprint-note p {
  margin: 0;
  color: var(--muted);
}

.verified-section {
  background: linear-gradient(180deg, rgba(245, 234, 215, 0.5), rgba(248, 250, 247, 0));
  max-width: none;
}

.verified-section > * {
  max-width: 1132px;
  margin-left: auto;
  margin-right: auto;
}

.impact-panel {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 26px;
  align-items: center;
  padding: 24px;
  margin-bottom: 20px;
}

.impact-total {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #10241f;
  color: #fff;
  border-radius: 8px;
}

.impact-total span {
  font-size: 76px;
  line-height: 0.9;
  font-weight: 880;
}

.impact-total p {
  margin: 10px 0 0;
  color: #c8d9d4;
  font-weight: 750;
}

.impact-copy p {
  margin: 0;
  color: var(--muted);
}

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

.issue {
  min-height: 76px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  border-radius: 7px;
  box-shadow: 0 6px 18px rgba(20, 35, 30, 0.06);
}

.issue:hover {
  border-color: rgba(15, 118, 110, 0.45);
  background: var(--accent-soft);
}

.issue span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.issue strong {
  color: var(--accent-2);
  font-size: 28px;
  line-height: 1;
}

.issue.large {
  grid-column: span 2;
  min-height: 120px;
  background: #10241f;
  color: #fff;
}

.issue.large span,
.issue.medium span {
  color: #d1e4de;
}

.issue.large strong {
  color: #7dd3c7;
  font-size: 54px;
}

.issue.medium {
  min-height: 120px;
  background: #25483f;
  color: #fff;
}

.issue.medium strong {
  color: #afe9df;
  font-size: 48px;
}

.resources {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.resources a {
  padding: 18px;
}

.resources span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resources strong {
  color: #21392f;
}

.footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 24px 42px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer a {
  font-weight: 800;
}

code {
  padding: 2px 5px;
  background: #edf3ef;
  border-radius: 4px;
  font-size: 0.94em;
}

@media (max-width: 920px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero,
  .split-section,
  .impact-panel,
  .filter-analysis,
  .pipeline-scene {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  .finding-grid,
  .figure-grid,
  .resources,
  .story-chain,
  .tier-grid {
    grid-template-columns: 1fr 1fr;
  }

  .issue-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .nav,
  .hero,
  .section,
  .footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .nav-links {
    gap: 10px;
    font-size: 13px;
  }

  .project-logo {
    width: min(360px, 100%);
    margin-bottom: 16px;
  }

  .finding-grid,
  .figure-grid,
  .resources,
  .story-chain,
  .tier-grid {
    grid-template-columns: 1fr;
  }

  .story-step {
    min-height: auto;
  }

  .issue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .issue.large,
  .issue.medium {
    grid-column: span 1;
  }

  .pipeline-scene {
    gap: 22px;
    margin-top: 28px;
    padding-top: 24px;
  }

  .pipeline-steps summary {
    grid-template-columns: 28px 1fr 20px;
    gap: 11px;
    padding: 14px 0;
  }

  .pipeline-steps summary span {
    width: 28px;
    height: 28px;
  }

  .pipeline-steps details p {
    padding: 0 0 16px 39px;
    font-size: 14.5px;
    line-height: 1.6;
  }

  .footer {
    flex-direction: column;
  }
}
