:root {
  color-scheme: dark;
  --bg: #07100d;
  --bg-2: #0b1512;
  --panel: #101a16;
  --panel-2: #13211b;
  --text: #edf7f1;
  --muted: #a9b8af;
  --soft: #d7e3dc;
  --line: #24372f;
  --line-strong: #375548;
  --green: #68d69d;
  --green-2: #a8e7be;
  --amber: #d2b16a;
  --red: #df8c7f;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --max: 1180px;
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(rgba(104, 214, 157, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(104, 214, 157, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 82% 12%, rgba(104, 214, 157, 0.12), transparent 26rem),
    linear-gradient(180deg, var(--bg), #050806 72%);
  background-size: 36px 36px, 36px 36px, auto, auto;
  color: var(--text);
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, rgba(7, 16, 13, 0), rgba(7, 16, 13, 0.72) 45%, #050806);
  pointer-events: none;
}

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

p,
li {
  line-height: 1.65;
}

img,
svg {
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  border: 1px solid var(--green);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 9;
  border-bottom: 1px solid rgba(104, 214, 157, 0.16);
  background: rgba(7, 16, 13, 0.88);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, var(--max));
  min-height: 72px;
  margin: 0 auto;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  gap: 0.72rem;
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 1.08rem;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #0d1713;
  box-shadow: inset 0 0 0 1px rgba(104, 214, 157, 0.08);
}

.brand-mark img {
  width: 24px;
  height: 24px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  content: "";
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.12rem;
}

.site-nav a {
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 650;
  padding: 0.62rem 0.68rem;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a[aria-current="page"] {
  background: rgba(104, 214, 157, 0.1);
  color: var(--text);
}

.cta-link {
  border: 1px solid rgba(104, 214, 157, 0.34);
  color: var(--green-2) !important;
}

main {
  overflow: hidden;
}

.section,
.hero,
.page-hero {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(2rem, 7vw, 5.5rem);
  align-items: center;
  min-height: min(640px, calc(100vh - 120px));
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(3.5rem, 7vw, 5rem);
}

.eyebrow,
.label {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  max-width: 12ch;
  margin: 0.5rem 0 0;
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 7rem;
  line-height: 0.86;
  letter-spacing: 0;
}

.page-hero h1 {
  max-width: 15ch;
  font-size: 5.6rem;
}

.claim-line {
  margin: 1.35rem 0 1.1rem;
  color: var(--green-2);
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.hero-copy,
.page-copy {
  max-width: 660px;
  color: var(--soft);
  font-size: 1.28rem;
}

.hero-actions,
.action-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.78rem 1rem;
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 800;
}

.button.primary {
  border-color: rgba(104, 214, 157, 0.7);
  background: var(--green);
  color: #06100c;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.02);
  color: var(--green-2);
}

.button:hover,
.button:focus {
  transform: translateY(-1px);
}

.hero-signal {
  margin: 0;
  min-height: 430px;
  border-left: 1px solid rgba(104, 214, 157, 0.38);
  padding: 0 0 0 clamp(1rem, 4vw, 2rem);
}

.signal-grid {
  display: grid;
  min-height: 430px;
  border-top: 1px solid rgba(104, 214, 157, 0.18);
  border-bottom: 1px solid rgba(104, 214, 157, 0.18);
  background:
    linear-gradient(90deg, rgba(104, 214, 157, 0.1) 1px, transparent 1px),
    linear-gradient(rgba(104, 214, 157, 0.08) 1px, transparent 1px);
  background-size: 80px 80px;
  align-content: center;
  gap: 0.8rem;
}

.signal-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  background: rgba(10, 20, 16, 0.86);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.signal-row:nth-child(2) {
  border-left-color: var(--amber);
  transform: translateX(1.2rem);
}

.signal-row:nth-child(3) {
  border-left-color: var(--green-2);
  transform: translateX(2.4rem);
}

.signal-row:nth-child(4) {
  border-left-color: var(--red);
  transform: translateX(0.6rem);
}

.signal-title {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.signal-row strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 1.04rem;
}

.signal-status {
  border: 1px solid rgba(104, 214, 157, 0.34);
  border-radius: 999px;
  color: var(--green-2);
  font-size: 0.72rem;
  font-weight: 850;
  padding: 0.34rem 0.52rem;
  text-transform: uppercase;
}

.section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(240px, 0.5fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.6rem;
}

.section h2,
.section h3 {
  margin: 0;
  font-family: "IBM Plex Serif", Georgia, serif;
  line-height: 1.02;
  letter-spacing: 0;
}

.section h2 {
  font-size: 3.8rem;
}

.section h3 {
  font-size: 2.2rem;
}

.section-intro {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

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

.card,
.article-card,
.question-card,
.principle-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 25, 21, 0.86);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
}

.card,
.principle-card {
  padding: 1.25rem;
}

.card h3,
.principle-card h3 {
  margin: 0.8rem 0 0.55rem;
  font-size: 1.28rem;
}

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

.article-card {
  display: grid;
  min-height: 260px;
  padding: 1rem;
  align-content: space-between;
  gap: 1.2rem;
}

.article-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.article-card h3 {
  margin: 0.85rem 0 0.5rem;
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.08;
}

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

.article-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  width: max-content;
  border: 1px solid rgba(104, 214, 157, 0.32);
  border-radius: 999px;
  color: var(--green-2);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0;
  padding: 0.3rem 0.5rem;
  text-transform: uppercase;
}

.tag.paper {
  border-color: rgba(210, 177, 106, 0.42);
  color: var(--amber);
}

.tag.model {
  border-color: rgba(170, 210, 255, 0.34);
  color: #a9cff7;
}

.tag.industry {
  border-color: rgba(216, 227, 220, 0.3);
  color: var(--soft);
}

.tag.test {
  border-color: rgba(223, 140, 127, 0.46);
  color: #f0a99f;
}

.rule-band {
  border-top: 1px solid rgba(104, 214, 157, 0.2);
  border-bottom: 1px solid rgba(104, 214, 157, 0.2);
  background: rgba(104, 214, 157, 0.055);
}

.rule-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  gap: 2rem;
  align-items: center;
}

.rule-statement {
  margin: 0;
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 4.8rem;
  line-height: 0.95;
}

.evidence-ladder {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.evidence-ladder li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 16, 13, 0.7);
  padding: 0.82rem;
  color: var(--soft);
}

.evidence-ladder span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--green-2);
  font-size: 0.82rem;
  font-weight: 900;
}

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

.question-card {
  padding: 1.15rem;
}

.question-card blockquote {
  margin: 0 0 1rem;
  color: var(--text);
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 1.32rem;
  line-height: 1.16;
}

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 1fr);
  gap: clamp(1rem, 4vw, 2rem);
  align-items: start;
}

.feature-panel {
  border: 1px solid rgba(104, 214, 157, 0.28);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(104, 214, 157, 0.1), rgba(210, 177, 106, 0.04));
  padding: clamp(1.2rem, 3vw, 2rem);
}

.feature-panel p {
  color: var(--soft);
}

.page-hero {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(2.5rem, 5vw, 4rem);
}

.page-hero .kicker {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.page-hero .page-copy {
  margin-top: 1.2rem;
}

.ledger {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.ledger-row {
  display: grid;
  grid-template-columns: 0.78fr 1.25fr;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: 1rem;
}

.ledger-row:last-child {
  border-bottom: 0;
}

.ledger-row strong {
  color: var(--green-2);
}

.ledger-row span {
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 1rem;
  counter-reset: steps;
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: 0 0 1rem;
}

.timeline-item::before {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--green-2);
  counter-increment: steps;
  content: counter(steps);
  font-size: 0.8rem;
  font-weight: 900;
}

.timeline-item h3 {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.05rem;
}

.timeline-item p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.callout {
  border-left: 3px solid var(--green);
  background: rgba(104, 214, 157, 0.06);
  padding: 1rem 1.1rem;
}

.callout p {
  margin: 0;
  color: var(--soft);
}

.mini-list {
  display: grid;
  gap: 0.72rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.mini-list li {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding-top: 0.72rem;
}

.footer {
  border-top: 1px solid rgba(104, 214, 157, 0.18);
  margin-top: 3rem;
  padding: 2rem 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.footer-nav a {
  color: var(--soft);
}

.fine-print {
  color: var(--muted);
  font-size: 0.88rem;
}

@media (prefers-reduced-motion: no-preference) {
  .card,
  .article-card,
  .question-card,
  .button,
  .signal-row {
    transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
  }

  .card:hover,
  .article-card:hover,
  .question-card:hover {
    border-color: rgba(104, 214, 157, 0.44);
    transform: translateY(-2px);
  }
}

@media (max-width: 980px) {
  .hero,
  .section-header,
  .rule-layout,
  .split,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

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

  .hero {
    min-height: auto;
  }

  .hero h1 {
    font-size: 5.4rem;
  }

  .page-hero h1 {
    font-size: 4.6rem;
  }

  .section h2 {
    font-size: 3rem;
  }

  .section h3 {
    font-size: 1.85rem;
  }

  .rule-statement {
    font-size: 3.4rem;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(7, 16, 13, 0.98);
    padding: 0.5rem;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 0.82rem;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .page-hero h1 {
    font-size: 3.5rem;
  }

  .claim-line {
    font-size: 1.35rem;
  }

  .hero-copy,
  .page-copy {
    font-size: 1.08rem;
  }

  .section h2 {
    font-size: 2.35rem;
  }

  .section h3 {
    font-size: 1.55rem;
  }

  .rule-statement {
    font-size: 2.7rem;
  }

  .hero-signal {
    display: none;
  }

  .signal-row,
  .signal-row:nth-child(2),
  .signal-row:nth-child(3),
  .signal-row:nth-child(4) {
    transform: none;
  }

  .grid.four,
  .grid.three,
  .grid.two,
  .question-grid {
    grid-template-columns: 1fr;
  }

  .ledger-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    gap: 1rem;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 3.35rem;
  }

  .page-hero h1 {
    font-size: 3rem;
  }

  .section h2 {
    font-size: 2.05rem;
  }
}
