:root {
  color-scheme: light;
  --ink: #17201b;
  --muted: #5d6962;
  --soft: #f5f3ed;
  --paper: #fffcf6;
  --line: #ddd8cd;
  --accent: #226d68;
  --accent-2: #a7563c;
  --accent-3: #5c6f99;
  --gold: #c99736;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(28, 35, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(255, 252, 246, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  letter-spacing: 0;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 14px;
}

nav a {
  text-decoration: none;
}

nav a:hover,
.source-list a:hover,
.claim-card a:hover,
.site-footer a:hover {
  color: var(--accent);
}

.hero,
.section,
.site-footer {
  padding-inline: clamp(18px, 5vw, 72px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  min-height: calc(100vh - 70px);
  padding-top: clamp(56px, 9vw, 118px);
  padding-bottom: clamp(40px, 8vw, 96px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(34, 109, 104, 0.11), transparent 35%),
    radial-gradient(circle at 86% 20%, rgba(201, 151, 54, 0.16), transparent 26%),
    var(--paper);
}

.hero-copy {
  max-width: 900px;
}

.eyebrow,
.section-kicker,
.panel-label,
.timeline-step,
.tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 980px;
  margin-bottom: 22px;
  font-size: clamp(46px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: 0;
}

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

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.18;
}

.hero-text {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 24px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  background: var(--ink);
  color: var(--paper);
}

.button.secondary {
  background: transparent;
}

.hero-panel {
  display: grid;
  gap: 16px;
}

.hero-panel > div {
  padding: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-panel strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 20px;
}

.hero-panel p,
.section-heading p,
.manifesto-copy,
.axis-card p,
.axis-card li,
.evidence-card li,
.claim-card p,
.timeline p,
.source-list span,
.site-footer p {
  color: var(--muted);
}

.section {
  padding-top: clamp(56px, 8vw, 104px);
  padding-bottom: clamp(56px, 8vw, 104px);
}

.band {
  background: var(--soft);
  border-block: 1px solid var(--line);
}

.section-heading,
.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  margin-bottom: 34px;
}

.section-heading p {
  margin-top: 30px;
  font-size: 18px;
}

.section-heading.compact {
  margin-bottom: 22px;
}

.manifesto {
  background: var(--ink);
  color: var(--paper);
}

.manifesto .section-kicker,
.manifesto .manifesto-copy {
  color: #d8e0dc;
}

.manifesto h2 {
  max-width: 860px;
}

.manifesto-copy {
  font-size: 19px;
}

.guide {
  padding-top: clamp(44px, 6vw, 72px);
  padding-bottom: clamp(44px, 6vw, 72px);
}

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

.guide-grid article {
  min-width: 0;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
}

.guide-grid span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  margin-bottom: 18px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 900;
}

.guide-grid h3 {
  font-size: 18px;
}

.guide-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.axis-grid,
.evidence-columns,
.claim-list,
.source-layout {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.axis-card,
.evidence-card,
.claim-card,
.source-card {
  min-width: 0;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
}

.axis-card {
  display: flex;
  min-height: 420px;
  flex-direction: column;
}

.axis-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 28px;
  background: var(--soft);
  color: var(--accent);
  font-weight: 900;
}

.axis-card ul,
.evidence-card ul,
.source-list {
  padding-left: 20px;
  margin: auto 0 0;
}

.axis-card li + li,
.evidence-card li + li,
.source-list li + li {
  margin-top: 10px;
}

.timeline {
  display: grid;
  gap: 14px;
  max-width: 1040px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: steps;
}

.timeline li {
  position: relative;
  padding: 24px 24px 24px 78px;
  background: var(--white);
  border: 1px solid var(--line);
}

.timeline li::before {
  position: absolute;
  top: 24px;
  left: 24px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: var(--accent);
  color: var(--white);
  content: counter(steps);
  counter-increment: steps;
  font-size: 13px;
  font-weight: 900;
}

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

.evidence-card {
  border-top: 5px solid var(--accent);
}

.evidence-card.hypothesis {
  border-top-color: var(--accent-2);
}

.evidence-card.verify {
  border-top-color: var(--gold);
}

.claim-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tag {
  padding: 5px 8px;
  margin-bottom: 18px;
  border: 1px solid currentColor;
}

.tag.evidence {
  color: var(--accent);
}

.tag.bridge {
  color: var(--accent-3);
}

.tag.open {
  color: var(--accent-2);
}

.claim-card a,
.source-list a,
.site-footer a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--accent-3);
  font-weight: 800;
  text-decoration: none;
}

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

.source-card.wide {
  grid-column: 1 / -1;
}

.source-list {
  padding-left: 0;
  list-style: none;
}

.source-list li {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.source-list strong,
.source-list span {
  display: block;
}

.placeholder {
  color: var(--accent-2);
  font-weight: 800;
}

.checklist {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.checklist li {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.checklist span {
  display: inline-flex;
  min-width: 76px;
  color: var(--ink);
  font-weight: 900;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  padding-bottom: 28px;
  background: var(--ink);
  color: var(--paper);
}

.site-footer p {
  margin-bottom: 0;
  color: #d8e0dc;
}

.site-footer a {
  margin-top: 0;
  color: var(--paper);
}

@media (max-width: 980px) {
  .hero,
  .section-heading,
  .manifesto-grid,
  .source-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .section-heading p {
    margin-top: 0;
  }

  .axis-grid,
  .evidence-columns,
  .claim-list,
  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .axis-card {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 30px;
  }

  .axis-grid,
  .evidence-columns,
  .claim-list,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .timeline li {
    padding-left: 24px;
  }

  .timeline li::before {
    position: static;
    margin-bottom: 16px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
