@font-face {
  font-family: "Geist";
  src: url("https://cdn.jsdelivr.net/npm/geist@1.3.1/dist/fonts/geist-sans/Geist-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("https://cdn.jsdelivr.net/npm/geist@1.3.1/dist/fonts/geist-sans/Geist-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("https://cdn.jsdelivr.net/npm/geist@1.3.1/dist/fonts/geist-sans/Geist-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("https://cdn.jsdelivr.net/npm/geist@1.3.1/dist/fonts/geist-mono/GeistMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --stone-50: oklch(0.985 0.001 106.423);
  --stone-100: oklch(0.97 0.001 106.424);
  --stone-200: oklch(0.923 0.003 48.717);
  --stone-300: oklch(0.869 0.005 56.366);
  --stone-500: oklch(0.553 0.013 58.071);
  --stone-600: oklch(0.444 0.011 73.639);
  --stone-800: oklch(0.268 0.007 34.298);
  --stone-900: oklch(0.216 0.006 56.043);
  --paper: #fbfaf8;
  --white: #fff;
  --ink: #171816;
  --green: #176f5c;
  --green-bright: #26a884;
  --green-soft: #e0f1eb;
  --orange: #e36b3d;
  --orange-soft: #f8e6dd;
  --border: rgba(35, 33, 30, 0.12);
  --border-strong: rgba(35, 33, 30, 0.22);
  --radius: 0.625rem;
  --radius-lg: 1rem;
  --max: 80rem;
  --shadow: 0 24px 80px rgba(35, 31, 27, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--stone-50);
  color: var(--ink);
  font-family: "Geist", system-ui, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklab, var(--stone-50) 90%, transparent);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(calc(100% - 3rem), var(--max));
  min-height: 4.2rem;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.wordmark-symbol {
  width: 1rem;
  height: 1rem;
  display: inline-block;
  position: relative;
  border: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.wordmark-symbol::after {
  content: "";
  position: absolute;
  inset: 0.2rem;
  background: currentColor;
}

.nav {
  margin-left: auto;
  display: flex;
  gap: 1.7rem;
  color: var(--stone-600);
  font-size: 0.86rem;
}

.nav a {
  transition: color 0.15s ease;
}

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

.button {
  min-height: 2.75rem;
  padding: 0.72rem 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.button-small {
  min-height: 2.3rem;
  padding: 0.48rem 0.9rem;
  font-size: 0.82rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.text-link span {
  transition: transform 0.15s ease;
}

.text-link:hover span {
  transform: translate(2px, -2px);
}

.eyebrow {
  margin-bottom: 1.15rem;
  color: var(--stone-600);
  font-family: "Geist Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  font-weight: 500;
  letter-spacing: -0.047em;
}

h1 {
  max-width: 15ch;
  font-size: clamp(3.25rem, 7vw, 6.8rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 1.04;
}

.hero {
  width: min(calc(100% - 3rem), var(--max));
  margin: auto;
  padding: clamp(5.5rem, 10vw, 9rem) 0 5rem;
}

.hero-copy {
  max-width: 62rem;
  margin-bottom: 4.5rem;
}

.hero-lede {
  max-width: 44rem;
  margin-top: 1.7rem;
  color: var(--stone-600);
  font-size: clamp(1.12rem, 2vw, 1.4rem);
  line-height: 1.55;
}

.hero-actions {
  margin-top: 2.1rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.system-map {
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.graphic-header,
.graphic-footer {
  min-height: 2.8rem;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  color: var(--stone-600);
  font-family: "Geist Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
}

.graphic-footer {
  min-height: 2.6rem;
  border-top: 1px solid var(--border);
  border-bottom: 0;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.live-indicator i,
.status-dot {
  width: 0.42rem;
  height: 0.42rem;
  display: inline-block;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 4px rgba(38, 168, 132, 0.12);
}

.map-canvas {
  min-height: 34rem;
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.2fr 1fr;
  align-items: center;
  padding: 3.5rem clamp(1.5rem, 4vw, 4rem);
  isolation: isolate;
}

.map-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 2rem 2rem;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.graphic-label {
  margin-bottom: 0.8rem;
  color: var(--stone-500);
  font-family: "Geist Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.07em;
}

.source-cluster,
.output-cluster {
  z-index: 3;
}

.source-card {
  width: min(100%, 16.5rem);
  min-height: 4.15rem;
  padding: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--border-strong);
  border-radius: 0.45rem;
  background: var(--white);
  box-shadow: 0.25rem 0.25rem 0 var(--stone-100);
}

.source-card + .source-card {
  margin-top: 0.75rem;
}

.source-card-b {
  transform: translateX(1rem);
}

.source-icon {
  width: 2.1rem;
  height: 2.1rem;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--stone-300);
  border-radius: 0.3rem;
  background: var(--stone-100);
  color: var(--stone-600);
  font-family: "Geist Mono", monospace;
  font-size: 0.7rem;
}

.source-card strong,
.source-card small {
  display: block;
}

.source-card strong {
  font-size: 0.79rem;
  font-weight: 500;
}

.source-card small {
  margin-top: 0.15rem;
  color: var(--stone-500);
  font-size: 0.64rem;
}

.map-routes {
  position: absolute;
  inset: 7% 0;
  z-index: 0;
  width: 100%;
  height: 86%;
  pointer-events: none;
}

.route {
  fill: none;
  stroke: url("#routeGradient");
  stroke-width: 1.3;
  stroke-dasharray: 5 6;
  vector-effect: non-scaling-stroke;
  opacity: 0.8;
}

.route-pulse {
  fill: var(--green-bright);
  filter: url("#softGlow");
}

.decision-core {
  z-index: 2;
  width: 12rem;
  height: 12rem;
  position: relative;
  justify-self: center;
  display: grid;
  place-items: center;
}

.core-ring {
  position: absolute;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
}

.ring-one {
  inset: 0;
}

.ring-two {
  inset: 1.4rem;
  border-style: dashed;
}

.core-center {
  width: 6.5rem;
  height: 6.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 0 0 0.7rem rgba(23, 24, 22, 0.07);
}

.core-center > span {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.core-center small {
  margin-top: 0.4rem;
  color: var(--stone-300);
  font-family: "Geist Mono", monospace;
  font-size: 0.44rem;
  line-height: 1.5;
  text-align: center;
}

.output-cluster {
  display: grid;
  gap: 0.8rem;
}

.output-card {
  min-height: 9.2rem;
  padding: 1rem;
  border: 1px solid var(--border-strong);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0.6rem 2rem rgba(33, 30, 27, 0.06);
}

.output-card.deterministic {
  border-top: 2px solid var(--ink);
}

.output-card.contextual {
  border-top: 2px solid var(--green);
}

.output-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--stone-500);
  font-family: "Geist Mono", monospace;
  font-size: 0.54rem;
  letter-spacing: 0.05em;
}

.output-topline i {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--green-bright);
}

.output-card > strong {
  display: block;
  margin-top: 0.8rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.output-card > small {
  display: block;
  margin-top: 0.8rem;
  color: var(--stone-500);
  font-size: 0.62rem;
}

.mini-bars {
  height: 1.5rem;
  margin-top: 0.65rem;
  display: flex;
  align-items: end;
  gap: 0.3rem;
}

.mini-bars b {
  width: 20%;
  height: 45%;
  border-radius: 2px;
  background: var(--stone-300);
}

.mini-bars b:nth-child(2) { height: 75%; }
.mini-bars b:nth-child(3) { height: 55%; }
.mini-bars b:nth-child(4) { height: 95%; background: var(--green); }

.agent-message {
  margin-top: 0.65rem;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-radius: 0.35rem;
  background: var(--green-soft);
  font-size: 0.58rem;
}

.agent-message em {
  color: var(--green);
  font-family: "Geist Mono", monospace;
  font-size: 0.49rem;
  font-style: normal;
}

.factory-proof,
.cayu-section {
  background: var(--ink);
  color: var(--white);
}

.section-shell {
  width: min(calc(100% - 3rem), var(--max));
  margin: auto;
  padding: clamp(5rem, 9vw, 8rem) 0;
}

.factory-proof .section-shell {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}

.factory-proof .eyebrow,
.cayu-section .eyebrow {
  color: #a8a29e;
}

.proof-copy h2 {
  font-size: clamp(2.8rem, 5vw, 5rem);
}

.proof-copy > p:last-child {
  max-width: 32rem;
  margin-top: 1.5rem;
  color: #b7b3ad;
  font-size: 1.02rem;
}

.timeline-comparison {
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
}

.timeline-row {
  padding: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.035);
}

.timeline-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.timeline-title span {
  color: #a8a29e;
  font-family: "Geist Mono", monospace;
  font-size: 0.57rem;
  letter-spacing: 0.05em;
}

.timeline-title strong {
  font-size: 1.1rem;
  font-weight: 500;
}

.timeline-track {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.3rem;
}

.timeline-track div {
  flex: var(--span);
  min-width: 0;
  padding: 0.55rem;
  border-radius: 0.3rem;
  background: rgba(255, 255, 255, 0.08);
}

.timeline-track small,
.timeline-track span {
  display: block;
}

.timeline-track small {
  color: #8f8a84;
  font-family: "Geist Mono", monospace;
  font-size: 0.48rem;
}

.timeline-track span {
  margin-top: 1.4rem;
  overflow: hidden;
  color: #c7c3bd;
  font-size: 0.62rem;
  text-overflow: ellipsis;
}

.lytton-row {
  border-color: rgba(38, 168, 132, 0.42);
  background: rgba(23, 111, 92, 0.14);
}

.lytton-row .timeline-track div {
  background: rgba(38, 168, 132, 0.16);
}

.lytton-row .timeline-track div:last-child {
  background: var(--green);
}

.lytton-row .timeline-track div:last-child small,
.lytton-row .timeline-track div:last-child span {
  color: white;
}

.compression-mark {
  height: 2.7rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.compression-mark span {
  height: 1px;
  flex: 1;
  background: rgba(255, 255, 255, 0.12);
}

.compression-mark i {
  color: var(--green-bright);
  font-family: "Geist Mono", monospace;
  font-size: 0.58rem;
  font-style: normal;
  text-transform: uppercase;
}

.section {
  width: min(calc(100% - 3rem), var(--max));
  margin: auto;
  padding: clamp(5rem, 9vw, 8rem) 0;
}

.section + .section {
  border-top: 1px solid var(--border);
}

.section-heading {
  max-width: 57rem;
}

.section-heading > p:last-child {
  max-width: 42rem;
  margin-top: 1.4rem;
  color: var(--stone-600);
  font-size: 1.05rem;
}

.section-heading.compact {
  max-width: 54rem;
}

.workflow-tabs {
  margin-top: 4.5rem;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 20px 60px rgba(35, 31, 27, 0.07);
}

.tab-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--border);
  background: var(--stone-100);
}

.workflow-tab {
  min-height: 3.3rem;
  border: 0;
  border-right: 1px solid var(--border);
  background: transparent;
  color: var(--stone-600);
  font-size: 0.84rem;
}

.workflow-tab:last-child {
  border-right: 0;
}

.workflow-tab.active {
  background: var(--white);
  color: var(--ink);
  box-shadow: inset 0 -2px var(--ink);
}

.workflow-panel {
  min-height: 31rem;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 4rem;
  padding: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.workflow-panel[hidden] {
  display: none;
}

.panel-index {
  color: var(--stone-500);
  font-family: "Geist Mono", monospace;
  font-size: 0.6rem;
}

.workflow-copy h3 {
  margin-top: 1rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.workflow-copy > p {
  margin-top: 0.9rem;
  color: var(--stone-600);
  font-size: 0.96rem;
}

.workflow-copy ul {
  margin-top: 1.8rem;
  display: grid;
  gap: 0.75rem;
  list-style: none;
}

.workflow-copy li {
  padding-top: 0.7rem;
  border-top: 1px solid var(--border);
  font-size: 0.83rem;
}

.workflow-graphic {
  min-height: 22rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--stone-50);
  box-shadow: 0 16px 40px rgba(35, 31, 27, 0.08);
}

.deal-header,
.finance-top,
.engineering-top {
  height: 3rem;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  color: var(--stone-500);
  font-family: "Geist Mono", monospace;
  font-size: 0.57rem;
}

.deal-header em,
.finance-top em,
.engineering-top em {
  color: var(--green);
  font-style: normal;
}

.deal-metric {
  padding: 2rem;
  border-bottom: 1px solid var(--border);
}

.deal-metric small,
.deal-metric strong,
.deal-metric span {
  display: block;
}

.deal-metric small {
  color: var(--stone-500);
  font-size: 0.6rem;
}

.deal-metric strong {
  margin-top: 0.4rem;
  font-size: 2.9rem;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.deal-metric span {
  color: var(--green);
  font-size: 0.7rem;
}

.decision-list {
  padding: 0.8rem 1.3rem 1.3rem;
}

.decision-list > div {
  min-height: 3.3rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.7rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.76rem;
}

.decision-list i {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
}

.decision-list i.ok { background: var(--green-bright); }
.decision-list i.wait { background: var(--orange); }
.decision-list b { color: var(--stone-500); font-size: 0.67rem; font-weight: 400; }

.finance-chart {
  padding: 2rem 1.2rem 0;
}

.finance-chart svg {
  width: 100%;
  overflow: visible;
}

.finance-chart .area {
  fill: rgba(23, 111, 92, 0.1);
}

.finance-chart .line {
  fill: none;
  stroke: var(--green);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.finance-metrics {
  margin: 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--white);
}

.finance-metrics span {
  padding: 1rem;
  border-right: 1px solid var(--border);
}

.finance-metrics span:last-child {
  border-right: 0;
}

.finance-metrics small,
.finance-metrics b {
  display: block;
}

.finance-metrics small {
  color: var(--stone-500);
  font-size: 0.53rem;
}

.finance-metrics b {
  margin-top: 0.3rem;
  font-size: 1rem;
  font-weight: 500;
}

.engineering-body {
  min-height: 19rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  padding: 1.5rem;
}

.wireframe svg {
  width: 100%;
}

.wireframe path {
  fill: rgba(23, 111, 92, 0.05);
  stroke: var(--green);
  stroke-width: 1.2;
}

.wireframe circle {
  fill: var(--paper);
  stroke: var(--green);
}

.calc-values {
  display: grid;
  gap: 0.7rem;
}

.calc-values span {
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.4rem;
  background: white;
}

.calc-values small,
.calc-values b {
  display: block;
}

.calc-values small {
  color: var(--stone-500);
  font-size: 0.5rem;
}

.calc-values b {
  margin-top: 0.25rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.calc-values .passed {
  color: var(--green);
}

.parity-scene {
  margin-top: 4.5rem;
  display: grid;
  grid-template-columns: 1fr 0.35fr 1fr;
  align-items: center;
}

.parity-panel {
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 0.75rem;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(35, 31, 27, 0.08);
}

.panel-chrome {
  min-height: 2.7rem;
  padding: 0 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  color: var(--stone-500);
  font-family: "Geist Mono", monospace;
  font-size: 0.55rem;
}

.panel-chrome i {
  color: var(--orange);
  font-style: normal;
}

.panel-chrome i.online {
  color: var(--green);
}

.legacy-ui,
.modern-ui {
  min-height: 22rem;
}

.legacy-ui {
  padding: 1rem;
  background: #e9e7e2;
}

.legacy-menu {
  height: 2rem;
  padding: 0 0.6rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  border: 1px solid #bbb7b0;
  background: #d8d5cf;
  font-size: 0.48rem;
}

.legacy-menu b {
  font-weight: 400;
}

.legacy-sheet {
  margin-top: 0.3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #c4c0b9;
  border-left: 1px solid #c4c0b9;
  background: #f7f6f3;
}

.legacy-sheet span,
.legacy-sheet i {
  height: 2rem;
  display: grid;
  place-items: center;
  border-right: 1px solid #c4c0b9;
  border-bottom: 1px solid #c4c0b9;
  color: #78736c;
  font-size: 0.55rem;
  font-style: normal;
}

.legacy-sheet i.filled {
  background: #fff0b8;
}

.legacy-warning {
  margin-top: 0.8rem;
  padding: 0.6rem;
  border: 1px solid #d5a68f;
  background: #f3d9cc;
  color: #8a3f22;
  font-size: 0.6rem;
}

.parity-engine {
  min-height: 10rem;
  position: relative;
  display: grid;
  place-items: center;
}

.engine-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--stone-300);
}

.engine-node {
  width: 5rem;
  height: 5rem;
  z-index: 2;
  display: grid;
  place-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  text-align: center;
  box-shadow: 0 0 0 0.5rem var(--stone-50);
}

.engine-node span {
  font-size: 1.2rem;
  line-height: 1;
}

.engine-node small {
  margin-top: 0.3rem;
  font-family: "Geist Mono", monospace;
  font-size: 0.4rem;
}

.engine-badge {
  position: absolute;
  bottom: 0;
  padding: 0.35rem 0.5rem;
  border: 1px solid var(--stone-300);
  border-radius: 999px;
  background: var(--stone-50);
  color: var(--green);
  font-family: "Geist Mono", monospace;
  font-size: 0.48rem;
}

.modern-ui {
  display: grid;
  grid-template-columns: 3rem 1fr;
}

.modern-sidebar {
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  border-right: 1px solid var(--border);
  background: var(--stone-100);
}

.modern-sidebar b,
.modern-sidebar span {
  width: 1rem;
  height: 1rem;
  border-radius: 0.2rem;
  background: var(--stone-300);
}

.modern-sidebar b {
  margin-bottom: 0.6rem;
  background: var(--ink);
}

.modern-main {
  padding: 1.2rem;
}

.modern-heading {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}

.modern-heading em {
  color: var(--stone-500);
  font-size: 0.55rem;
  font-style: normal;
}

.modern-kpis {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.modern-kpis div {
  padding: 0.8rem;
  border: 1px solid var(--border);
  border-radius: 0.4rem;
}

.modern-kpis small,
.modern-kpis strong {
  display: block;
}

.modern-kpis small {
  color: var(--stone-500);
  font-size: 0.48rem;
}

.modern-kpis strong {
  margin-top: 0.25rem;
  font-size: 1.2rem;
  font-weight: 500;
}

.modern-run {
  margin-top: 0.65rem;
  padding: 0.65rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.55rem;
  border-radius: 0.4rem;
  background: var(--green-soft);
  font-size: 0.6rem;
}

.modern-run i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--green-bright);
}

.modern-run b {
  color: var(--green);
  font-weight: 500;
}

.modern-agent {
  margin-top: 0.65rem;
  padding: 0.7rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--border);
  border-radius: 0.4rem;
  font-size: 0.58rem;
}

.modern-agent > span {
  padding: 0.2rem 0.35rem;
  border-radius: 0.2rem;
  background: var(--ink);
  color: white;
}

.modern-agent button {
  padding: 0.3rem 0.5rem;
  border: 0;
  border-radius: 0.25rem;
  background: var(--ink);
  color: white;
  font-size: 0.5rem;
}

.cayu-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(3rem, 8vw, 7rem);
  align-items: center;
}

.cayu-copy h2 {
  font-size: clamp(2.7rem, 5vw, 4.8rem);
}

.cayu-copy > p:not(.eyebrow) {
  max-width: 34rem;
  margin-top: 1.4rem;
  color: #b7b3ad;
  font-size: 1rem;
}

.cayu-principles {
  margin-top: 2.2rem;
  display: grid;
}

.cayu-principles span {
  padding: 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: #d0cdc8;
  font-size: 0.77rem;
}

.cayu-principles i {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--green-bright);
}

.control-plane {
  min-height: 30rem;
  display: grid;
  grid-template-columns: 3.6rem 1fr;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.85rem;
  background: #f7f7f5;
  color: var(--ink);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
}

.control-sidebar {
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  border-right: 1px solid var(--border);
  background: white;
}

.control-logo {
  width: 1.7rem;
  height: 1.7rem;
  margin-bottom: 0.7rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-size: 0.7rem;
}

.control-sidebar i {
  width: 0.9rem;
  height: 0.9rem;
  border: 1px solid var(--stone-300);
  border-radius: 0.2rem;
}

.control-sidebar i.active {
  border-color: var(--green);
  background: var(--green-soft);
}

.control-topbar {
  min-height: 3rem;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: white;
  font-size: 0.65rem;
}

.control-topbar em {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--green);
  font-family: "Geist Mono", monospace;
  font-size: 0.5rem;
  font-style: normal;
}

.control-topbar em i {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--green-bright);
}

.control-content {
  padding: 1.2rem;
}

.control-title {
  display: flex;
  justify-content: space-between;
  align-items: start;
}

.control-title small,
.control-title strong {
  display: block;
}

.control-title small {
  color: var(--stone-500);
  font-family: "Geist Mono", monospace;
  font-size: 0.46rem;
}

.control-title strong {
  margin-top: 0.25rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.control-title > span {
  color: var(--stone-500);
  font-family: "Geist Mono", monospace;
  font-size: 0.5rem;
}

.control-stats {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-radius: 0.4rem;
  background: white;
}

.control-stats div {
  padding: 0.7rem;
  border-right: 1px solid var(--border);
}

.control-stats div:last-child { border-right: 0; }
.control-stats small, .control-stats b { display: block; }
.control-stats small { color: var(--stone-500); font-size: 0.45rem; }
.control-stats b { margin-top: 0.2rem; font-size: 0.7rem; font-weight: 500; }

.control-stream {
  margin-top: 0.8rem;
  border: 1px solid var(--border);
  border-radius: 0.4rem;
  background: white;
}

.control-stream > div {
  min-height: 3.6rem;
  padding: 0.6rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.6rem;
  border-bottom: 1px solid var(--border);
}

.control-stream > div:last-child { border-bottom: 0; }
.control-stream i { width: 0.5rem; height: 0.5rem; border-radius: 50%; border: 1px solid var(--stone-300); }
.control-stream i.done { border-color: var(--green-bright); background: var(--green-bright); }
.control-stream span b, .control-stream span small { display: block; }
.control-stream span b { font-size: 0.62rem; font-weight: 500; }
.control-stream span small { margin-top: 0.1rem; color: var(--stone-500); font-size: 0.5rem; }
.control-stream em { color: var(--stone-500); font-size: 0.48rem; font-style: normal; }
.control-stream button { padding: 0.35rem 0.55rem; border: 0; border-radius: 0.25rem; background: var(--ink); color: white; font-size: 0.5rem; }
.control-stream .pending { background: #fffaf7; }
.control-stream .pending > i { border-color: var(--orange); background: var(--orange); }

.knowledge-strip {
  margin-top: 0.8rem;
  padding: 0.65rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.8rem;
  border-radius: 0.4rem;
  background: var(--green-soft);
  color: var(--green);
  font-family: "Geist Mono", monospace;
  font-size: 0.46rem;
}

.knowledge-strip div {
  display: flex;
  gap: 0.25rem;
}

.knowledge-strip i {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--green);
  opacity: calc(0.35 + var(--i, 0) * 0.08);
}

.proof-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
}

.proof-metrics {
  display: grid;
}

.proof-metrics article {
  padding: 1.3rem 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  border-top: 1px solid var(--stone-300);
}

.proof-metrics article:last-child {
  border-bottom: 1px solid var(--stone-300);
}

.proof-metrics strong {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.proof-metrics span {
  color: var(--stone-600);
  font-size: 0.76rem;
}

.company-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(3rem, 8vw, 8rem);
}

.company-copy > p {
  color: var(--stone-600);
  font-size: 1.05rem;
}

.company-tags {
  margin-top: 2rem;
  display: grid;
}

.company-tags span {
  padding: 0.7rem 0;
  border-top: 1px solid var(--stone-300);
  font-family: "Geist Mono", monospace;
  font-size: 0.62rem;
}

.contact-section {
  padding: clamp(5rem, 10vw, 9rem) max(1.5rem, calc((100vw - var(--max)) / 2));
  background: var(--green);
  color: var(--white);
}

.contact-section .eyebrow {
  color: rgba(255, 255, 255, 0.62);
}

.contact-section h2 {
  max-width: 19ch;
}

.contact-section > p:not(.eyebrow) {
  margin: 1.5rem 0 2rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}

.button-light {
  border-color: var(--white);
  background: var(--white);
  color: var(--green);
}

.site-footer {
  min-height: 5.5rem;
  padding: 1rem max(1.5rem, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  border-top: 1px solid var(--border);
  color: var(--stone-600);
  font-size: 0.72rem;
}

.site-footer > span:nth-child(2) { text-align: center; }
.site-footer > span:last-child { text-align: right; }

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes orbit {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

.ring-two {
  animation: orbit 28s linear infinite;
}

.live-indicator i,
.control-topbar em i {
  animation: pulse 2.4s ease-in-out infinite;
}

@media (max-width: 1000px) {
  .nav { display: none; }

  .map-canvas {
    grid-template-columns: 1fr 0.65fr 1fr;
    padding-inline: 1.5rem;
  }

  .decision-core {
    width: 8rem;
    height: 8rem;
  }

  .core-center {
    width: 5rem;
    height: 5rem;
  }

  .core-center small { display: none; }

  .factory-proof .section-shell,
  .cayu-layout,
  .proof-section,
  .company-section {
    grid-template-columns: 1fr;
  }

  .proof-copy {
    max-width: 48rem;
  }
}

@media (max-width: 760px) {
  .header-inner,
  .hero,
  .section,
  .section-shell {
    width: min(calc(100% - 2rem), var(--max));
  }

  .hero {
    padding-top: 5rem;
  }

  .hero-copy {
    width: 100%;
    max-width: calc(100vw - 2rem);
    overflow: hidden;
  }

  .hero-copy h1,
  .hero-lede {
    width: 100%;
    max-width: 100%;
  }

  .button-small { display: none; }

  h1 { font-size: clamp(3.1rem, 14vw, 5rem); }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .map-canvas {
    min-height: 48rem;
    grid-template-columns: 1fr;
    grid-template-rows: auto 8rem auto;
    gap: 1rem;
  }

  .source-cluster,
  .output-cluster {
    width: 100%;
  }

  .source-card {
    width: 100%;
  }

  .source-card-b {
    transform: none;
  }

  .map-routes { display: none; }

  .decision-core {
    width: 7rem;
    height: 7rem;
  }

  .output-cluster {
    grid-template-columns: 1fr 1fr;
  }

  .graphic-footer span:nth-child(2) { display: none; }

  .factory-proof .section-shell {
    gap: 3rem;
  }

  .timeline-track span {
    display: none;
  }

  .timeline-track div {
    min-height: 3.2rem;
  }

  .workflow-panel {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .parity-scene {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .parity-engine {
    min-height: 9rem;
  }

  .engine-line {
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    width: 1px;
    height: auto;
  }

  .engine-badge {
    bottom: 0.5rem;
  }

  .control-plane {
    grid-template-columns: 2.5rem 1fr;
  }

  .control-sidebar {
    gap: 0.9rem;
  }

  .control-stats {
    grid-template-columns: 1fr;
  }

  .control-stats div {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .control-stats div:last-child { border-bottom: 0; }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer > span:nth-child(2) { display: none; }
}

@media (max-width: 520px) {
  .tab-list {
    grid-template-columns: 1fr;
  }

  .workflow-tab {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .workflow-tab:last-child {
    border-bottom: 0;
  }

  .output-cluster {
    grid-template-columns: 1fr;
  }

  .finance-metrics {
    grid-template-columns: 1fr;
  }

  .finance-metrics span {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .finance-metrics span:last-child { border-bottom: 0; }

  .engineering-body {
    grid-template-columns: 1fr;
  }

  .modern-agent {
    grid-template-columns: auto 1fr;
  }

  .modern-agent button {
    grid-column: 1 / -1;
  }

  .knowledge-strip {
    grid-template-columns: 1fr;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
