:root {
  color-scheme: light;
  --font-sans: "Geist", "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Geist Mono", "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --bg: #eeeeee;
  --bg-soft: #fafafa;
  --surface: #fafafa;
  --surface-raised: #ffffff;
  --text: #020202;
  --text-soft: #3d3a39;
  --muted: #5c5855;
  --muted-2: #8a8380;
  --border: #cfccc8;
  --border-soft: rgba(2, 2, 2, 0.12);
  --fade-grey: rgba(2, 2, 2, 0.07);
  --accent: #a500a5;
  --accent-strong: #c000c0;
  --accent-deep: #780078;
  --green: #17884b;
  --amber: #a36500;
  --blue: #1264b8;
  --red: #b43030;
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --header-h: 72px;
  --gutter: 36px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #020202;
  --bg-soft: #0a0908;
  --surface: #101010;
  --surface-raised: #1f1d1c;
  --text: #eeeeee;
  --text-soft: #ccc9c7;
  --muted: #8a8380;
  --muted-2: #5c5855;
  --border: #3d3a39;
  --border-soft: rgba(255, 255, 255, 0.10);
  --fade-grey: rgba(238, 238, 238, 0.13);
  --green: #5ce07a;
  --amber: #f2a63b;
  --blue: #4da3ff;
  --red: #ff6b6b;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  scroll-behavior: smooth;
}

body {
  min-height: 100svh;
  margin: 0;
  background:
    radial-gradient(ellipse at 52% 58%, var(--fade-grey), transparent 44rem),
    radial-gradient(circle at 86% 18%, color-mix(in oklab, var(--accent) 2%, transparent), transparent 32rem),
    linear-gradient(to bottom, var(--bg) 0%, color-mix(in oklab, var(--bg) 86%, var(--surface-raised)) 54%, var(--bg) 100%),
    var(--bg);
  color: var(--text);
  font: 400 15px/1.55 var(--font-sans);
  letter-spacing: 0;
}

.disable-transitions *,
.disable-transitions *::before,
.disable-transitions *::after {
  transition: none !important;
}

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

button {
  font: inherit;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 32px;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
  padding-inline: var(--gutter);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: -24px 0 0;
  height: 160px;
  pointer-events: none;
  backdrop-filter: blur(64px) saturate(1.5);
  mask-image: linear-gradient(to bottom, #000 0%, #000 34%, rgba(0, 0, 0, .72) 58%, transparent 100%);
}

.brand,
.nav-links,
.theme-toggle {
  position: relative;
  z-index: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
}

.brand img {
  display: block;
  width: 246px;
  height: auto;
  filter: none;
}

:root[data-theme="dark"] .brand img {
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a,
.theme-toggle,
.project-table,
.rail-item,
.source-switch button,
.metrics,
.panel,
.fact-flow,
.tab-list button,
.site-footer {
  font-family: var(--font-mono);
}

.nav-links a {
  color: var(--text);
  font-size: 12px;
  line-height: 1;
  opacity: .78;
  transition: color 180ms var(--ease), opacity 180ms var(--ease);
}

.nav-links a:hover {
  color: var(--accent);
  opacity: 1;
}

.theme-toggle,
.icon-button {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xs);
  background: color-mix(in oklab, var(--surface-raised) 80%, transparent);
  color: var(--text);
  cursor: pointer;
}

.theme-toggle svg,
.icon-button svg {
  width: 17px;
  height: 17px;
}

.theme-toggle:focus-visible,
.source-switch button:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 3px;
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  grid-template-areas:
    "copy status"
    "console console";
  align-items: end;
  gap: 28px clamp(48px, 7vw, 112px);
  width: min(1920px, 100%);
  margin-inline: auto;
  padding: calc(var(--header-h) + 61px) calc(var(--gutter) * 2) 96px;
}

.hero-copy {
  grid-area: copy;
  min-width: 0;
  max-width: 730px;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(48px, 6.8vw, 96px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 760px;
  margin-bottom: 22px;
  color: var(--text);
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 800;
  line-height: 1.02;
}

.hero-text {
  max-width: 720px;
  margin-bottom: 22px;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.55;
}

.assurance-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 760px;
  border: 1px solid var(--border-soft);
  background: color-mix(in oklab, var(--surface) 70%, transparent);
}

.assurance-rail div {
  position: relative;
  min-height: 58px;
  padding: 12px 14px;
  border-right: 1px solid var(--border-soft);
}

.assurance-rail div:first-child::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: var(--accent);
}

.assurance-rail div:last-child {
  border-right: 0;
}

.assurance-rail span,
.assurance-rail strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.25;
}

.assurance-rail span {
  color: var(--muted);
  text-transform: uppercase;
}

.assurance-rail strong {
  margin-top: 6px;
  color: var(--text);
}

.project-table {
  grid-area: status;
  align-self: start;
  justify-self: end;
  width: min(460px, 34vw);
  margin-top: 14px;
  min-width: 0;
  border: 1px solid var(--border-soft);
  border-radius: 0;
  background: color-mix(in oklab, var(--bg) 72%, transparent);
  backdrop-filter: blur(18px);
  color: var(--text);
  font-family: var(--font-mono);
  overflow: hidden;
  box-shadow: 0 14px 48px rgba(2, 2, 2, .10);
}

:root[data-theme="dark"] .project-table {
  box-shadow: 0 18px 80px rgba(0, 0, 0, .28);
}

.project-table-header {
  display: flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-bottom: 1px solid var(--border-soft);
  background: color-mix(in oklab, var(--accent) 10%, var(--surface) 90%);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.project-table dl {
  margin: 0;
}

.status-row {
  display: grid;
  grid-template-columns: minmax(94px, .32fr) minmax(0, 1fr);
  min-height: 36px;
  border-bottom: 1px solid var(--border-soft);
}

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

.status-row dt,
.status-row dd {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0 12px;
}

.status-row dt {
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.status-row dd {
  gap: 8px;
  min-width: 0;
  color: var(--text);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.25;
}

.status-row i {
  inline-size: 8px;
  block-size: 8px;
  border-radius: 999px;
  background: var(--accent);
  flex: 0 0 auto;
}

.prototype-proof {
  grid-area: console;
  justify-self: center;
  width: min(1180px, 100%);
  margin: 0;
  min-width: 0;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: color-mix(in oklab, var(--surface) 88%, transparent);
  box-shadow: 0 18px 60px rgba(2, 2, 2, .12);
  overflow: hidden;
}

:root[data-theme="dark"] .prototype-proof {
  box-shadow: 0 18px 80px rgba(0, 0, 0, .28);
}

.prototype-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
}

.prototype-dark {
  display: none;
}

:root[data-theme="dark"] .prototype-light {
  display: none;
}

:root[data-theme="dark"] .prototype-dark {
  display: block;
}

.prototype-proof figcaption {
  border-top: 1px solid var(--border-soft);
  padding: 10px 14px;
  color: var(--muted);
  font: 11px/1.35 var(--font-mono);
  text-transform: uppercase;
}

.suite-shell {
  grid-area: console;
  min-width: 0;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  grid-template-rows: 42px auto;
  min-height: 640px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: color-mix(in oklab, var(--surface) 88%, transparent);
  color: var(--muted);
  box-shadow: 0 18px 60px rgba(2, 2, 2, .12);
  overflow: hidden;
  font-family: var(--font-mono);
}

:root[data-theme="dark"] .suite-shell {
  box-shadow: 0 18px 80px rgba(0, 0, 0, .28);
}

.suite-status {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid var(--border-soft);
  background: color-mix(in oklab, var(--surface) 94%, transparent);
  font-size: 11px;
}

.suite-status strong {
  color: var(--text-soft);
}

.suite-status em {
  margin-left: auto;
  color: var(--accent);
  font-style: normal;
  text-transform: uppercase;
}

.status-progress {
  position: relative;
  width: min(220px, 24vw);
  height: 7px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xs);
  background: color-mix(in oklab, var(--muted) 18%, transparent);
}

.status-progress span {
  display: block;
  width: 72%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
}

.rail {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 12px;
  border-right: 1px solid var(--border-soft);
  background: color-mix(in oklab, var(--surface) 78%, var(--bg));
}

.rail img {
  width: 118px;
  max-height: 76px;
  object-fit: contain;
  margin: 2px auto 18px;
}

:root[data-theme="dark"] .rail img {
  filter: brightness(0) invert(1);
}

.rail-item {
  min-height: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius-xs);
  background: transparent;
  color: var(--muted);
  padding: 0 10px;
  text-align: left;
  font-size: 11px;
  cursor: pointer;
}

.rail-item svg {
  width: 15px;
  height: 15px;
}

.rail-item.active {
  border-color: var(--border-soft);
  background: var(--surface-raised);
  color: var(--text);
}

.rail-health {
  margin-top: auto;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xs);
  background: color-mix(in oklab, var(--surface-raised) 74%, transparent);
  padding: 12px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.rail-health span {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 99px;
  background: var(--green);
}

.suite-console {
  padding: 16px;
  background: var(--bg-soft);
}

.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.source-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.source-switch button {
  min-height: 30px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xs);
  background: color-mix(in oklab, var(--surface-raised) 82%, transparent);
  color: var(--muted);
  padding: 0 10px;
  font-size: 11px;
  cursor: pointer;
}

.source-switch .selected {
  border-color: color-mix(in oklab, var(--accent) 60%, var(--border));
  background: color-mix(in oklab, var(--accent) 16%, var(--surface-raised));
  color: var(--text);
}

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

.metrics article,
.panel,
.boundary-map article,
.product-part,
.phase-plan,
.screenshot-frame {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: color-mix(in oklab, var(--surface) 88%, transparent);
}

.metrics article {
  min-height: 80px;
  padding: 13px;
}

.metrics span,
.panel-head span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.metrics strong {
  display: block;
  margin: 6px 0 4px;
  color: var(--text);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.metrics em {
  color: var(--green);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.work-grid {
  display: grid;
  grid-template-columns: 1.25fr .88fr .88fr;
  gap: 12px;
}

.panel {
  padding: 14px;
}

.panel.wide {
  min-height: 306px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.panel h2,
.section h2 {
  margin-bottom: 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.graph {
  position: relative;
  min-height: 238px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(color-mix(in oklab, var(--text) 4%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in oklab, var(--text) 4%, transparent) 1px, transparent 1px),
    color-mix(in oklab, var(--surface-raised) 76%, transparent);
  background-size: 24px 24px;
  overflow: hidden;
}

.node {
  position: absolute;
  width: 98px;
  min-height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  padding: 7px;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  z-index: 2;
}

.poe {
  left: 22px;
  top: 96px;
  width: 104px;
  border-left-color: var(--blue);
}

.n1 { left: 154px; top: 34px; }
.n2 { left: 154px; top: 96px; border-left-color: var(--green); }
.n3 { left: 154px; top: 158px; border-left-color: var(--amber); }
.n4 { right: 18px; top: 58px; border-left-color: var(--green); }
.n5 { right: 18px; top: 136px; border-left-color: var(--red); }

.edge {
  position: absolute;
  height: 1px;
  background: color-mix(in oklab, var(--muted) 60%, transparent);
  transform-origin: left center;
}

.e1 { left: 128px; top: 80px; width: 54px; transform: rotate(-25deg); }
.e2 { left: 128px; top: 120px; width: 54px; }
.e3 { left: 128px; top: 162px; width: 54px; transform: rotate(25deg); }
.e4 { left: 252px; top: 80px; width: 82px; transform: rotate(8deg); }
.e5 { left: 252px; top: 146px; width: 88px; transform: rotate(-7deg); }

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

.approval-list li,
.tool-row {
  border: 1px solid var(--border-soft);
  border-left: 2px solid var(--red);
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  padding: 10px;
}

.approval-list strong,
.tool-row span {
  display: block;
  color: var(--text);
  font-weight: 800;
}

.approval-list span,
.tool-row em {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.approval-list em {
  display: inline-flex;
  margin-top: 8px;
  border-radius: var(--radius-xs);
  background: color-mix(in oklab, var(--accent) 16%, var(--surface-raised));
  color: var(--text);
  padding: 3px 7px;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.cost-line {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.cost-line strong {
  color: var(--text);
  font-size: 32px;
  font-weight: 800;
}

.cost-line span {
  color: var(--muted);
  font-size: 12px;
}

.tool-row {
  margin-top: 8px;
  border-left-color: var(--accent);
}

.trust-strip {
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto;
  padding: 30px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  color: var(--muted);
  overflow: hidden;
}

.trust-strip p {
  margin: 0 0 16px;
  color: var(--muted);
  font: 11px/1 var(--font-mono);
  text-align: left;
  text-transform: uppercase;
}

.proof-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 11px;
}

.proof-flow span {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: 58px;
  border: 1px solid var(--border-soft);
  border-left: 0;
  background:
    linear-gradient(90deg, color-mix(in oklab, var(--accent) 6%, transparent), transparent 70%),
    color-mix(in oklab, var(--surface) 76%, transparent);
  padding: 10px 12px;
}

.proof-flow span:first-child {
  border-left: 1px solid var(--border-soft);
}

.proof-flow span:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -7px;
  z-index: 2;
  width: 12px;
  height: 12px;
  border-top: 1px solid var(--border-soft);
  border-right: 1px solid var(--border-soft);
  background: color-mix(in oklab, var(--surface) 88%, transparent);
  transform: translateY(-50%) rotate(45deg);
}

.proof-flow i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--border-soft);
  background: var(--surface-raised);
  color: var(--accent);
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
}

.proof-flow strong {
  min-width: 0;
  color: var(--text-soft);
  font-weight: 700;
  line-height: 1.25;
}

.section {
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto;
  padding: 120px 0;
}

.statement,
.surfaces,
.phase-one,
.screenshot-section,
.prototype-section {
  border-top: 1px solid var(--border-soft);
}

.surfaces {
  padding-top: 60px;
  padding-bottom: 40px;
}

.prototype-section {
  padding-top: 40px;
  padding-bottom: 40px;
}

.phase-one {
  padding-top: 40px;
}

.statement {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: stretch;
  padding-top: 58px;
  padding-bottom: 52px;
}

.statement h2,
.section-intro h2 {
  color: var(--text);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
}

.statement h2 {
  max-width: 760px;
  font-size: clamp(31px, 3.2vw, 46px);
}

.statement p,
.section-intro p {
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.65;
}

.statement p {
  position: relative;
  display: grid;
  align-content: center;
  margin: 0;
  border: 1px solid var(--border-soft);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(90deg, color-mix(in oklab, var(--accent) 6%, transparent), transparent 64%),
    color-mix(in oklab, var(--surface) 88%, transparent);
  padding: 24px 26px;
}

.section-intro {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-intro h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4vw, 52px);
}

.boundary {
  display: grid;
  grid-template-columns: minmax(280px, .68fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: start;
  padding-top: 58px;
  padding-bottom: 58px;
}

.boundary .section-intro {
  position: sticky;
  top: calc(var(--header-h) + 26px);
  max-width: 430px;
  margin-bottom: 0;
}

.boundary .section-intro h2 {
  font-size: clamp(30px, 3vw, 42px);
}

.boundary-map {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.boundary-map article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  grid-template-areas:
    "index title"
    "index copy";
  column-gap: 18px;
  min-height: 0;
  padding: 18px 20px;
}

.boundary-map span,
.part-heading span,
.phase-plan span {
  display: inline-grid;
  place-items: center;
  width: max-content;
  min-height: 24px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xs);
  background: var(--surface-raised);
  color: var(--muted);
  padding: 0 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.boundary-map span,
.part-heading span {
  margin-bottom: 28px;
}

.boundary-map span {
  grid-area: index;
  align-self: start;
  justify-self: start;
  margin-bottom: 0;
}

.boundary-map h3,
.phase-plan h3 {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.16;
}

.boundary-map h3 {
  grid-area: title;
  margin: 1px 0 7px;
}

.boundary-map p,
.phase-plan p {
  margin-bottom: 0;
  color: var(--text-soft);
}

.boundary-map p {
  grid-area: copy;
  line-height: 1.48;
}

.product-diagram {
  display: grid;
  grid-template-columns: minmax(240px, .9fr) 130px minmax(320px, 1.25fr);
  align-items: stretch;
  gap: 18px;
}

.product-part {
  position: relative;
  min-height: 380px;
  padding: 24px;
  overflow: hidden;
}

.product-part::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: var(--accent);
}

.engine-part::before {
  background: var(--blue);
}

.part-heading {
  display: grid;
  gap: 0;
  margin-bottom: 16px;
}

.part-heading h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.02;
}

.product-part p {
  max-width: 540px;
  margin-bottom: 24px;
  color: var(--text-soft);
  font-size: 15px;
}

.product-part ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-part li,
.suite-surfaces div {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  padding: 12px;
}

.product-part li {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.fact-flow {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-height: 380px;
  color: var(--muted);
}

.fact-flow::before,
.fact-flow::after {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.fact-flow span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xs);
  background: color-mix(in oklab, var(--surface-raised) 78%, transparent);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

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

.suite-surfaces div {
  min-height: 96px;
}

.suite-surfaces strong,
.suite-surfaces em {
  display: block;
}

.suite-surfaces strong {
  margin-bottom: 7px;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.suite-surfaces em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.4;
}

.screenshot-frame {
  margin: 0;
  box-shadow: 0 18px 60px rgba(2, 2, 2, .12);
  overflow: hidden;
}

:root[data-theme="dark"] .screenshot-frame {
  box-shadow: 0 18px 80px rgba(0, 0, 0, .28);
}

.screenshot-frame img {
  display: block;
  width: 100%;
  max-height: 720px;
  object-fit: cover;
  object-position: top center;
  border-bottom: 1px solid var(--border-soft);
}

.screenshot-frame figcaption {
  color: var(--muted);
  padding: 12px 14px;
  font: 12px/1.4 var(--font-mono);
}

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

.prototype-grid article {
  min-height: 188px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: color-mix(in oklab, var(--surface) 88%, transparent);
  padding: 22px;
}

.prototype-grid span {
  display: inline-grid;
  place-items: center;
  width: max-content;
  min-height: 24px;
  margin-bottom: 28px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xs);
  background: var(--surface-raised);
  color: var(--muted);
  padding: 0 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.prototype-grid h3 {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.16;
}

.prototype-grid p {
  margin-bottom: 0;
  color: var(--text-soft);
}

.phase-plan {
  max-width: 980px;
}

.phase-plan article {
  display: grid;
  grid-template-columns: 116px minmax(220px, .7fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  min-height: 92px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-soft);
}

.phase-plan article:last-child {
  border-bottom: 0;
}

.phase-plan h3 {
  margin: 2px 0 0;
}

.phase-plan p {
  line-height: 1.55;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 42px var(--gutter) 54px;
  border-top: 1px solid var(--border-soft);
  color: var(--muted);
  font-size: 11px;
}

.site-footer div,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.site-footer nav {
  justify-content: flex-end;
}

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

@media (max-width: 980px) {
  :root {
    --header-h: 64px;
    --gutter: 16px;
  }

  .site-header {
    grid-template-columns: 1fr 32px;
  }

  .nav-links {
    display: none;
  }

  .brand img {
    width: 190px;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "status"
      "console";
    align-items: start;
    padding: calc(var(--header-h) + 21px) var(--gutter) 88px;
  }

  .hero-copy {
    width: 100%;
    text-align: left;
  }

  .project-table {
    align-self: stretch;
    justify-self: stretch;
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
  }

  .suite-shell {
    grid-template-columns: 1fr;
  }

  .status-progress {
    width: min(180px, 32vw);
  }

  .rail {
    display: none;
  }

  .metrics,
  .work-grid,
  .boundary-map,
  .prototype-grid,
  .product-diagram,
  .suite-surfaces,
  .boundary,
  .statement {
    grid-template-columns: 1fr;
  }

  .boundary .section-intro {
    position: static;
    max-width: 760px;
  }

  .fact-flow {
    min-height: 0;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .fact-flow::before,
  .fact-flow::after {
    flex: 1 1 100%;
  }

  .product-part {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .brand img {
    width: 168px;
  }

  h1 {
    font-size: 44px;
  }

  .hero-subtitle {
    font-size: 28px;
  }

  .assurance-rail,
  .project-table,
  .prototype-proof,
  .suite-shell {
    width: 100%;
    max-width: 100%;
  }

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

  .assurance-rail div:nth-child(2) {
    border-right: 0;
  }

  .assurance-rail div:nth-child(1),
  .assurance-rail div:nth-child(2) {
    border-bottom: 1px solid var(--border-soft);
  }

  .status-row {
    grid-template-columns: minmax(88px, .34fr) minmax(0, 1fr);
    min-height: 34px;
  }

  .status-row dt,
  .status-row dd {
    padding: 0 10px;
  }

  .status-row dt {
    font-size: 10px;
  }

  .status-row dd {
    font-size: 11.5px;
  }

  .suite-console {
    padding: 10px;
  }

  .suite-status em {
    display: none;
  }

  .metrics strong {
    font-size: 26px;
  }

  .graph {
    min-width: 0;
    min-height: 242px;
  }

  .node {
    width: 104px;
    min-height: 46px;
    font-size: 10px;
  }

  .poe {
    left: 18px;
    top: 96px;
  }

  .n1,
  .n2,
  .n3 {
    left: auto;
    right: 18px;
  }

  .n1 { top: 34px; }
  .n2 { top: 96px; }
  .n3 { top: 158px; }

  .n4,
  .n5,
  .e4,
  .e5 {
    display: none;
  }

  .e1,
  .e2,
  .e3 {
    left: 122px;
    width: calc(100% - 244px);
    min-width: 44px;
  }

  .section,
  .trust-strip,
  .site-footer {
    width: calc(100% - 32px);
    padding-block: 84px;
  }

  .statement,
  .boundary {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .statement {
    gap: 24px;
  }

  .statement p {
    padding: 20px;
  }

  .boundary-map article {
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 14px;
    padding: 17px;
  }

  .surfaces {
    padding-top: 42px;
    padding-bottom: 36px;
  }

  .prototype-section {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .phase-one {
    padding-top: 36px;
  }

  .phase-plan article {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: 0;
    padding: 18px;
  }

  .phase-plan h3 {
    margin-top: 0;
  }

  .trust-strip {
    padding-block: 28px;
  }

  .proof-flow {
    grid-template-columns: 1fr;
  }

  .proof-flow span,
  .proof-flow span:first-child {
    border: 1px solid var(--border-soft);
    border-bottom: 0;
  }

  .proof-flow span:last-child {
    border-bottom: 1px solid var(--border-soft);
  }

  .proof-flow span:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -7px;
    left: 26px;
    transform: rotate(135deg);
  }

  .site-footer {
    width: 100%;
    flex-direction: column;
    padding-inline: var(--gutter);
    padding-top: 34px;
    padding-bottom: 44px;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

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