:root {
  --ink: #071011;
  --ink-soft: #0d181a;
  --panel: #111e20;
  --panel-2: #162527;
  --line: #294044;
  --line-soft: #1e3235;
  --paper: #eef1e9;
  --muted: #aab9b5;
  --green: #75e1b8;
  --green-dark: #153e34;
  --blue: #8fbbff;
  --amber: #f0be72;
  --coral: #fa876c;
  --white: #f8faf6;
  --max: 1240px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 auto 0 max(28px, calc((100vw - var(--max)) / 2 - 28px));
  width: 1px;
  background: var(--line-soft);
  pointer-events: none;
  z-index: -1;
}

::selection {
  background: var(--green);
  color: var(--ink);
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}

.shell {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.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;
}

.skip-link {
  position: fixed;
  left: 20px;
  top: 16px;
  z-index: 200;
  transform: translateY(-150%);
  padding: 10px 16px;
  background: var(--green);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 76px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: rgba(7, 16, 17, 0.96);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(14px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
  line-height: 1.05;
}

.wordmark-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--green);
  color: var(--green);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.05em;
  transform: rotate(45deg);
}

.wordmark-mark::first-line {
  transform: rotate(-45deg);
}

.wordmark > span:last-child {
  display: grid;
  gap: 3px;
}

.wordmark strong {
  font-size: 15px;
  letter-spacing: 0.01em;
}

.wordmark small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
}

.site-nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease;
}

.site-nav a:hover {
  color: var(--white);
}

.site-nav .nav-simulator {
  padding: 9px 14px;
  border: 1px solid var(--line);
  color: var(--green);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 12px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--paper);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 1px;
  margin-block: 6px;
  background: currentColor;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-link {
  color: var(--green);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr);
  align-items: center;
  gap: clamp(52px, 8vw, 120px);
  padding-block: 92px 110px;
}

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

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pulse-dot,
.status-light {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  background: var(--green);
  border-radius: 50%;
}

.pulse-dot {
  box-shadow: 0 0 0 5px rgba(117, 225, 184, 0.12);
}

h1,
h2,
h3,
h4,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 880px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4rem, 8.2vw, 7.5rem);
  font-weight: 400;
  line-height: 0.89;
  letter-spacing: -0.06em;
}

h1 em {
  color: var(--green);
  font-weight: 400;
}

.hero-lede {
  max-width: 690px;
  margin: 34px 0 0;
  color: #c2ceca;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.65;
}

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

.button {
  min-height: 48px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  color: var(--paper);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

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

.button-primary:hover {
  background: #9aebce;
}

.button-secondary {
  border-color: var(--line);
  background: transparent;
  color: var(--paper);
}

.button-secondary:hover {
  border-color: var(--green);
  color: var(--green);
}

.read-only-note {
  margin: 18px 0 0;
  color: #849793;
  font-family: var(--mono);
  font-size: 11px;
}

.truth-board {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--ink-soft);
}

.truth-board::before,
.truth-board::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: var(--green);
}

.truth-board::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--green);
  border-left: 2px solid var(--green);
}

.truth-board::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
}

.board-label,
.snapshot {
  margin: 0;
  color: #81948f;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.truth-stat-wide {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0;
  padding: 18px 0;
  border-block: 1px solid var(--line-soft);
}

.truth-stat-wide > div {
  display: grid;
}

.truth-stat strong {
  color: var(--white);
  font-size: 15px;
}

.truth-stat small {
  color: var(--muted);
  font-size: 12px;
}

.status-amber {
  background: var(--amber);
  box-shadow: 0 0 0 5px rgba(240, 190, 114, 0.1);
}

.status-blue {
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(143, 187, 255, 0.1);
}

.truth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.truth-grid .truth-stat {
  min-height: 120px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--ink);
}

.truth-grid .truth-stat strong {
  color: var(--green);
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 400;
}

.snapshot {
  margin-top: 20px;
}

.boundary-band {
  border-block: 1px solid #4b3923;
  background: #18150f;
}

.boundary-inner {
  padding-block: 18px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: baseline;
}

.boundary-inner strong {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.boundary-inner p {
  margin: 0;
  color: #d9c9ad;
  font-size: 14px;
}

.section {
  padding-block: clamp(92px, 10vw, 150px);
}

.section-heading {
  margin-bottom: 56px;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.65fr);
  gap: clamp(44px, 8vw, 120px);
  align-items: end;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.2vw, 5.2rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.section-heading > p,
.split-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.memory-path {
  display: grid;
  grid-template-columns: 0.75fr 36px 1.2fr 36px 1fr 36px 1fr;
  align-items: stretch;
}

.memory-node {
  min-height: 245px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--ink-soft);
}

.memory-node h3 {
  margin: auto 0 10px;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
}

.memory-node p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.node-index {
  color: #718682;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.13em;
}

.node-tag {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  color: var(--green);
  font-family: var(--mono);
  font-size: 9px;
}

.vault-node {
  border-top: 3px solid var(--green);
}

.scratch-node {
  border-top: 3px solid var(--blue);
}

.scratch-node .node-tag {
  color: var(--blue);
}

.hbm-node {
  border-top: 3px solid var(--amber);
}

.hbm-node .node-tag {
  color: var(--amber);
}

.input-node {
  background: transparent;
  border-style: dashed;
}

.path-arrow {
  display: grid;
  place-items: center;
  color: #53706b;
  font-family: var(--mono);
}

.architecture-note {
  max-width: 930px;
  margin: 38px 0 0 auto;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 22px;
  border-left: 2px solid var(--green);
  background: var(--panel);
}

.note-symbol {
  color: var(--green);
  font-size: 38px;
  line-height: 1;
}

.architecture-note strong {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
}

.architecture-note p {
  margin: 6px 0 0;
  color: var(--muted);
}

.dana-brief-section {
  border-block: 1px solid var(--line-soft);
  background: var(--paper);
  color: var(--ink);
}

.dana-brief-section .eyebrow {
  color: #16624d;
}

.brief-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #aab7b2;
}

.brief-grid article {
  min-height: 330px;
  padding: 26px;
  border-right: 1px solid #aab7b2;
}

.brief-grid article:last-child {
  border-right: 0;
}

.brief-number {
  color: #4b6b63;
  font-family: var(--mono);
  font-size: 11px;
}

.brief-grid h3 {
  margin: 90px 0 14px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.18;
}

.brief-grid p {
  margin: 0;
  color: #40504c;
  font-size: 14px;
}

.research-controls {
  margin-bottom: 24px;
  padding-bottom: 22px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.search-field {
  min-height: 48px;
  padding-inline: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: var(--ink-soft);
  color: var(--green);
}

.search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--paper);
  font-size: 13px;
}

.search-field input::placeholder {
  color: #728782;
}

.filter-group {
  display: flex;
  border: 1px solid var(--line);
}

.filter-button {
  min-height: 46px;
  padding-inline: 14px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 750;
}

.filter-button:last-child {
  border-right: 0;
}

.filter-button:hover,
.filter-button.is-active {
  background: var(--panel);
  color: var(--green);
}

.result-count {
  margin: 0;
  color: #829691;
  font-family: var(--mono);
  font-size: 10px;
  white-space: nowrap;
}

.finding-list {
  display: grid;
  gap: 16px;
}

.finding-card {
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--ink-soft);
}

.finding-card[hidden] {
  display: none;
}

.featured-finding {
  border-color: #4c7c6d;
  background: #0d1c1a;
}

.finding-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.record-id,
.evidence-label,
.record-status,
.assigned-role,
.team-status {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.record-id {
  color: var(--white);
}

.evidence-label,
.record-status {
  padding: 5px 8px;
  border: 1px solid var(--line);
}

.evidence-empirical {
  border-color: #29684e;
  color: var(--green);
}

.evidence-simulation {
  border-color: #4b6490;
  color: var(--blue);
}

.evidence-analysis {
  border-color: #82623a;
  color: var(--amber);
}

.evidence-review {
  border-color: #7a4c42;
  color: var(--coral);
}

.record-status {
  margin-left: auto;
  color: var(--amber);
}

.finding-body {
  padding-block: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 60px;
  align-items: end;
}

.finding-kicker {
  margin: 0 0 8px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.finding-body h3 {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.finding-summary {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.key-number {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.key-number strong {
  display: block;
  color: var(--green);
  font-family: var(--serif);
  font-size: 54px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.05em;
}

.key-number strong span {
  color: var(--muted);
  font-size: 20px;
}

.key-number small {
  display: block;
  margin-top: 10px;
  color: #849793;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.4;
  text-transform: uppercase;
}

details {
  border-top: 1px solid var(--line-soft);
}

summary {
  padding-top: 18px;
  color: var(--paper);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

summary::marker {
  color: var(--green);
}

.details-grid {
  padding: 24px 0 2px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 40px;
}

.details-grid h4 {
  margin: 0 0 6px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.details-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.source-link {
  width: fit-content;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-underline-offset: 4px;
}

.details-grid .source-link {
  grid-column: 1 / -1;
}

.empty-state {
  margin: 0;
  padding: 48px;
  border: 1px dashed var(--line);
  color: var(--muted);
  text-align: center;
}

.experiments-section {
  border-block: 1px solid var(--line-soft);
  background: #0a1415;
}

.experiment-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
}

.column-title {
  margin-bottom: 16px;
  padding-bottom: 14px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.column-title h3 {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.experiment-card {
  min-height: 205px;
  padding: 24px 0;
  display: grid;
  grid-template-columns: 110px 1fr;
  column-gap: 22px;
  border-bottom: 1px solid var(--line-soft);
}

.experiment-card h4 {
  margin: 0;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
}

.experiment-card p {
  grid-column: 2;
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.assigned-role {
  grid-column: 2;
  color: var(--blue);
}

.scientist-list {
  border-top: 1px solid var(--line);
}

.scientist-row {
  min-height: 150px;
  padding: 25px 0;
  display: grid;
  grid-template-columns: 64px minmax(150px, 0.65fr) minmax(230px, 0.9fr) minmax(320px, 1.6fr) 120px;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.scientist-number {
  color: #607672;
  font-family: var(--mono);
  font-size: 11px;
}

.scientist-row h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
}

.scientist-row div p,
.scientist-row > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.scientist-row > strong {
  font-size: 13px;
}

.team-status {
  justify-self: end;
  padding: 6px 8px;
  border: 1px solid var(--line);
  color: var(--green);
}

.team-status.supervised {
  color: var(--amber);
}

.team-status.planned {
  color: var(--muted);
}

.planned-scientist {
  opacity: 0.72;
}

.participation-section {
  border-top: 1px solid var(--line-soft);
  background: #0a1516;
}

.participation-path {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}

.participation-path article {
  min-height: 330px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
}

.participation-path article:last-child {
  border-right: 0;
}

.participation-path article > span {
  color: var(--green);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.participation-path h3 {
  margin: 76px 0 12px;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 400;
}

.participation-path p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13px;
}

.participation-path .source-link {
  margin-top: auto;
}

.machine-links {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.machine-links a {
  padding: 6px 9px;
  border: 1px solid var(--line);
  color: var(--blue);
  font-family: var(--mono);
  font-size: 9px;
  text-decoration: none;
}

.gateway-status {
  margin-top: 34px;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) 1fr;
  gap: 42px;
  align-items: center;
  border-left: 2px solid var(--green);
  background: var(--panel);
}

.commons-teaser {
  margin-top: 34px;
  padding: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
  border: 1px solid #6d4a8f;
  background: #171020;
}

.commons-teaser > div:first-child {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 24px;
  align-items: start;
}

.commons-mark {
  color: #d8a7ff;
  font-family: var(--serif);
  font-size: 68px;
  line-height: 0.8;
}

.commons-teaser .eyebrow {
  margin-bottom: 8px;
  color: #d8a7ff;
}

.commons-teaser h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 400;
}

.commons-teaser p:not(.eyebrow) {
  max-width: 700px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.commons-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.commons-actions .button-primary {
  background: #d8a7ff;
}

.gateway-status > div {
  display: flex;
  align-items: center;
}

.gateway-status strong {
  font-size: 13px;
}

.gateway-status p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

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

.evidence-section .eyebrow {
  color: #16624d;
}

.evidence-section .split-heading > p {
  color: #40504c;
}

.evidence-ladder {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  border-block: 1px solid #aab7b2;
}

.evidence-ladder li {
  min-height: 220px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid #aab7b2;
}

.evidence-ladder li:last-child {
  border-right: 0;
}

.evidence-ladder li > span {
  color: #5a756e;
  font-family: var(--mono);
  font-size: 11px;
}

.evidence-ladder h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 400;
}

.evidence-ladder p {
  margin: 6px 0 0;
  color: #40504c;
  font-size: 13px;
}

.review-panel {
  max-width: 900px;
  margin: 60px 0 0 auto;
  padding: 38px;
  background: var(--ink);
  color: var(--paper);
}

.review-panel > div {
  display: flex;
  gap: 9px;
}

.review-panel h3 {
  margin: 30px 0 12px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.15;
}

.review-panel p {
  color: var(--muted);
  font-size: 14px;
}

.audit-section {
  padding-bottom: 120px;
}

.audit-table {
  border-top: 1px solid var(--line);
}

.audit-row {
  min-height: 80px;
  padding: 18px 0;
  display: grid;
  grid-template-columns: 140px 220px 1fr 190px;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 12px;
}

.audit-head {
  min-height: 46px;
  color: #718581;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.audit-row strong {
  color: var(--paper);
}

.audit-ok {
  color: var(--green);
}

.closing-section {
  padding-block: 110px;
  border-block: 1px solid var(--line);
  background: var(--panel);
}

.closing-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
}

.closing-inner h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.closing-inner p:not(.eyebrow) {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--muted);
}

.closing-inner .button {
  flex: 0 0 auto;
}

.site-footer {
  padding-top: 70px;
  background: #050b0c;
}

.compact-button {
  min-height: 40px;
  padding: 8px 14px;
}

.join-hero {
  min-height: 620px;
  padding-block: 105px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 90px;
  align-items: center;
}

.join-hero h1 {
  font-size: clamp(4rem, 7vw, 7rem);
}

.join-status {
  padding: 28px;
  display: flex;
  gap: 14px;
  border: 1px solid var(--line);
  background: var(--ink-soft);
}

.join-status > div {
  display: grid;
  gap: 6px;
}

.join-status strong {
  font-size: 13px;
}

.join-status p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
}

.join-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 90px;
}

.join-main h2 {
  margin: 0 0 40px;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
}

.join-requirements {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.join-requirements li {
  padding: 25px 0;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line-soft);
}

.join-requirements li > span {
  color: var(--green);
  font-family: var(--mono);
  font-size: 10px;
}

.join-requirements h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
}

.join-requirements p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.join-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.machine-box {
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.machine-box > a {
  padding: 14px 0;
  display: grid;
  border-bottom: 1px solid var(--line-soft);
  color: var(--green);
  text-decoration: none;
}

.machine-box > a:last-child {
  border-bottom: 0;
}

.machine-box > a strong {
  font-family: var(--mono);
  font-size: 11px;
}

.machine-box > a span {
  color: var(--muted);
  font-size: 11px;
}

.muted-box {
  background: transparent;
}

.muted-box code {
  display: block;
  padding: 12px;
  border: 1px solid var(--line-soft);
  color: var(--blue);
  font-family: var(--mono);
  font-size: 11px;
  overflow-wrap: anywhere;
}

.muted-box p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.safeguard-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.safeguard-list p {
  min-height: 120px;
  margin: 0;
  padding: 22px;
  display: flex;
  align-items: flex-end;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.safeguard-list p:nth-child(4n) {
  border-right: 0;
}

.join-footer {
  padding-top: 0;
}

.commons-page {
  --green: #d8a7ff;
  --green-dark: #3f2754;
}

.commons-page .wordmark-mark,
.admission-page .wordmark-mark {
  transform: rotate(45deg);
}

.commons-hero,
.admission-hero {
  min-height: 670px;
  padding-block: 105px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 90px;
  align-items: center;
}

.commons-hero h1,
.admission-hero h1 {
  font-size: clamp(4rem, 7vw, 7rem);
}

.commons-declaration {
  padding: 30px;
  display: grid;
  border: 1px solid #6d4a8f;
  background: #171020;
}

.commons-declaration strong {
  margin: 24px 0;
  color: #d8a7ff;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.1;
}

.commons-declaration span {
  padding: 9px 0;
  border-top: 1px solid #372440;
  color: #c2afca;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.commons-boundary {
  border-color: #51336b;
  background: #160f1d;
}

.commons-boundary .boundary-inner strong {
  color: #d8a7ff;
}

.commons-boundary .boundary-inner p {
  color: #d0bdd9;
}

.freedom-grid,
.trial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}

.freedom-grid article,
.trial-grid article {
  min-height: 285px;
  padding: 25px;
  border-right: 1px solid var(--line);
}

.freedom-grid article:last-child,
.trial-grid article:last-child {
  border-right: 0;
}

.freedom-grid span,
.trial-grid span {
  color: var(--green);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.freedom-grid h3,
.trial-grid h3 {
  margin: 90px 0 12px;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
}

.freedom-grid p,
.trial-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.room-section {
  border-block: 1px solid #30203b;
  background: #0e0a12;
}

.empty-conversation {
  border: 1px solid #432c52;
}

.conversation-seed {
  padding: clamp(28px, 5vw, 58px);
  background: #171020;
}

.message-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #a486b2;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.conversation-seed h3 {
  max-width: 900px;
  margin: 65px 0 18px;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1.08;
}

.conversation-seed p {
  max-width: 800px;
  color: #c2afca;
}

.empty-thread {
  padding: 48px 28px;
  text-align: center;
}

.empty-thread > span {
  color: #d8a7ff;
  font-size: 34px;
}

.empty-thread strong {
  display: block;
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
}

.empty-thread p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.roundtable-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid #432c52;
}

.roundtable-strip div {
  min-height: 110px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-right: 1px solid #432c52;
}

.roundtable-strip div:last-child {
  border-right: 0;
}

.roundtable-strip span {
  color: #d8a7ff;
  font-family: var(--mono);
  font-size: 9px;
}

.roundtable-strip strong {
  font-size: 12px;
}

.commons-admission {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 70px;
  align-items: end;
}

.commons-admission h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 1;
}

.commons-admission p:not(.eyebrow) {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--muted);
}

.admission-page {
  --green: #ffca79;
  --green-dark: #503e20;
}

.challenge-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 90px;
  align-items: start;
}

.challenge-layout h2 {
  margin: 0 0 45px;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 1;
}

.challenge-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.challenge-steps li {
  padding: 24px 0;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  border-bottom: 1px solid var(--line-soft);
}

.challenge-steps li > span {
  color: var(--green);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
}

.challenge-steps h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
}

.challenge-steps p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.score-card {
  position: sticky;
  top: 110px;
  padding: 26px;
  border: 1px solid #735a32;
  background: #17140f;
}

.score-card > div {
  min-height: 92px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  border-bottom: 1px solid #3d321f;
}

.score-card > div strong {
  color: var(--green);
  font-family: var(--serif);
  font-size: 45px;
  font-weight: 400;
  line-height: 1;
}

.score-card > div span {
  padding-bottom: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.score-pass {
  margin: 24px 0 0;
  color: #d9c6a9;
  font-size: 12px;
}

.challenge-demo-section {
  border-block: 1px solid #46371f;
  background: #12100c;
}

.challenge-demo {
  border: 1px solid #5b4828;
}

.demo-head {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #5b4828;
  color: var(--green);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.demo-head a {
  color: var(--green);
}

.demo-grid {
  display: grid;
  grid-template-columns: 0.65fr 1.2fr 1fr 1fr;
}

.demo-grid > div {
  min-height: 250px;
  padding: 24px;
  border-right: 1px solid #3d321f;
}

.demo-grid > div:last-child {
  border-right: 0;
}

.demo-grid small {
  color: #a9926d;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.demo-grid code {
  display: block;
  margin-top: 80px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 22px;
}

.demo-grid p {
  margin: 80px 0 0;
  color: #c8bba7;
  font-size: 12px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.6fr 0.8fr 1fr;
  gap: 60px;
}

.footer-wordmark {
  margin-bottom: 22px;
}

.footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer-grid p {
  max-width: 360px;
  margin: 0;
  color: #7f928e;
  font-size: 12px;
}

.footer-grid > div > strong {
  margin-bottom: 8px;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-grid > div > a:not(.wordmark) {
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
}

.footer-grid > div > a:hover {
  color: var(--green);
}

.footer-phase {
  padding: 22px;
  border: 1px solid var(--line);
}

.footer-phase span {
  color: var(--green);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.footer-bottom {
  min-height: 72px;
  margin-top: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line-soft);
  color: #60736f;
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .site-nav {
    gap: 16px;
  }

  .site-nav a:not(.nav-simulator) {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr 360px;
    gap: 50px;
  }

  .memory-path {
    grid-template-columns: 1fr 28px 1fr;
    row-gap: 28px;
  }

  .memory-path .path-arrow:nth-of-type(2) {
    display: none;
  }

  .scratch-node {
    grid-column: 1;
  }

  .scratch-node + .path-arrow {
    grid-column: 2;
  }

  .hbm-node {
    grid-column: 3;
  }

  .brief-grid,
  .evidence-ladder,
  .participation-path {
    grid-template-columns: 1fr 1fr;
  }

  .brief-grid article:nth-child(2),
  .evidence-ladder li:nth-child(2),
  .participation-path article:nth-child(2) {
    border-right: 0;
  }

  .brief-grid article,
  .evidence-ladder li,
  .participation-path article {
    border-bottom: 1px solid #aab7b2;
  }

  .brief-grid article:nth-last-child(-n+2),
  .evidence-ladder li:nth-last-child(-n+2),
  .participation-path article:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  .research-controls {
    grid-template-columns: 1fr;
  }

  .filter-group {
    width: fit-content;
  }

  .scientist-row {
    grid-template-columns: 52px 150px 230px 1fr;
  }

  .team-status {
    grid-column: 2;
    justify-self: start;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 0.7fr 0.8fr;
  }

  .footer-phase {
    grid-column: 1 / -1;
  }

  .safeguard-list {
    grid-template-columns: 1fr 1fr;
  }

  .safeguard-list p:nth-child(2n) {
    border-right: 0;
  }

  .commons-teaser {
    grid-template-columns: 1fr;
  }

  .commons-actions {
    align-items: flex-start;
  }

  .freedom-grid,
  .trial-grid,
  .roundtable-strip,
  .demo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .freedom-grid article:nth-child(2n),
  .trial-grid article:nth-child(2n),
  .roundtable-strip div:nth-child(2n),
  .demo-grid > div:nth-child(2n) {
    border-right: 0;
  }

  .freedom-grid article:nth-child(-n+2),
  .trial-grid article:nth-child(-n+2),
  .roundtable-strip div:nth-child(-n+2),
  .demo-grid > div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 780px) {
  .shell {
    width: min(calc(100% - 32px), var(--max));
  }

  .site-header {
    min-height: 68px;
    padding-inline: 16px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    inset: 68px 0 auto;
    padding: 18px 16px 24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: var(--ink);
  }

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

  .site-nav a:not(.nav-simulator) {
    display: block;
  }

  .site-nav a {
    padding: 13px 4px;
    border-bottom: 1px solid var(--line-soft);
  }

  .site-nav .nav-simulator {
    margin-top: 12px;
    text-align: center;
  }

  .header-actions .header-link {
    display: none;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 56px;
    padding-block: 72px;
  }

  .join-hero,
  .join-grid,
  .commons-hero,
  .admission-hero,
  .challenge-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .join-hero,
  .commons-hero,
  .admission-hero {
    min-height: 0;
    padding-block: 72px;
  }

  h1 {
    font-size: clamp(3.6rem, 16vw, 6rem);
  }

  .truth-board {
    padding: 22px;
  }

  .boundary-inner,
  .split-heading,
  .finding-body,
  .details-grid,
  .experiment-columns {
    grid-template-columns: 1fr;
  }

  .boundary-inner {
    gap: 8px;
  }

  .section {
    padding-block: 86px;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .split-heading {
    gap: 26px;
  }

  .memory-path {
    grid-template-columns: 1fr;
  }

  .memory-node,
  .scratch-node,
  .hbm-node,
  .scratch-node + .path-arrow {
    grid-column: 1;
  }

  .path-arrow,
  .memory-path .path-arrow:nth-of-type(2) {
    display: grid;
    min-height: 28px;
    transform: rotate(90deg);
  }

  .architecture-note {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .brief-grid,
  .evidence-ladder,
  .participation-path {
    grid-template-columns: 1fr;
  }

  .brief-grid article,
  .brief-grid article:nth-child(2),
  .brief-grid article:nth-last-child(-n+2),
  .evidence-ladder li,
  .evidence-ladder li:nth-child(2),
  .evidence-ladder li:nth-last-child(-n+2),
  .participation-path article,
  .participation-path article:nth-child(2),
  .participation-path article:nth-last-child(-n+2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid #aab7b2;
  }

  .brief-grid article:last-child,
  .evidence-ladder li:last-child,
  .participation-path article:last-child {
    border-bottom: 0;
  }

  .brief-grid h3 {
    margin-top: 50px;
  }

  .participation-path h3 {
    margin-top: 46px;
  }

  .gateway-status {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .commons-teaser,
  .commons-admission {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .commons-teaser > div:first-child {
    grid-template-columns: 1fr;
  }

  .commons-actions {
    align-items: stretch;
  }

  .freedom-grid,
  .trial-grid,
  .roundtable-strip,
  .demo-grid {
    grid-template-columns: 1fr;
  }

  .freedom-grid article,
  .freedom-grid article:nth-child(2n),
  .trial-grid article,
  .trial-grid article:nth-child(2n),
  .roundtable-strip div,
  .roundtable-strip div:nth-child(2n),
  .demo-grid > div,
  .demo-grid > div:nth-child(2n) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .freedom-grid article:last-child,
  .trial-grid article:last-child,
  .roundtable-strip div:last-child,
  .demo-grid > div:last-child {
    border-bottom: 0;
  }

  .freedom-grid h3,
  .trial-grid h3 {
    margin-top: 48px;
  }

  .message-meta,
  .demo-head {
    flex-direction: column;
  }

  .conversation-seed h3 {
    margin-top: 42px;
  }

  .challenge-steps li {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .score-card {
    position: static;
  }

  .demo-grid code,
  .demo-grid p {
    margin-top: 40px;
  }

  .filter-group {
    width: 100%;
    overflow-x: auto;
  }

  .filter-button {
    flex: 0 0 auto;
  }

  .finding-card {
    padding: 22px;
  }

  .finding-body {
    gap: 26px;
  }

  .key-number {
    padding: 18px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .experiment-card {
    grid-template-columns: 90px 1fr;
  }

  .scientist-row {
    grid-template-columns: 44px 1fr;
    gap: 14px 18px;
  }

  .scientist-row > strong,
  .scientist-row > p {
    grid-column: 2;
  }

  .team-status {
    grid-column: 2;
  }

  .review-panel {
    padding: 26px;
  }

  .audit-row {
    padding: 20px 0;
    grid-template-columns: 110px 1fr;
    gap: 8px 18px;
  }

  .audit-head {
    display: none;
  }

  .audit-row span:nth-child(3),
  .audit-row span:nth-child(4) {
    grid-column: 2;
  }

  .closing-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 46px 28px;
  }

  .footer-grid > div:first-child,
  .footer-phase {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    min-height: 100px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }

  .safeguard-list {
    grid-template-columns: 1fr;
  }

  .safeguard-list p,
  .safeguard-list p:nth-child(2n),
  .safeguard-list p:nth-child(4n) {
    min-height: 82px;
    border-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
