@font-face {
  font-family: "Space Grotesk";
  src: url("./assets/fonts/space-grotesk.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("./assets/fonts/jetbrains-mono.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --canvas: #08090d;
  --canvas-raised: #0c0e14;
  --surface: #10131b;
  --inset: #0b0e14;
  --strong: #f4f6f8;
  --body: #c6cbd3;
  --muted: #9299a6;
  --line: rgb(255 255 255 / 10%);
  --line-strong: rgb(255 255 255 / 17%);
  --cyan: #00d4ff;
  --blue: #2787ff;
  --coral: #ff6b35;
  --orange: #ff8a2b;
  --violet: #8c74ff;
  --success: #56d6a3;
  --error: #ff8066;
  --shell: 77.5rem;
  --gutter: clamp(1.25rem, 4.6vw, 4.5rem);
  --header-height: 4.75rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-primary: "Space Grotesk", Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-data: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
}

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

html {
  min-width: 20rem;
  background: var(--canvas);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  min-width: 20rem;
  overflow-x: clip;
  color: var(--body);
  background:
    radial-gradient(circle at 82% 4%, rgb(39 135 255 / 8%), transparent 32rem),
    var(--canvas);
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

::selection {
  color: #061016;
  background: var(--cyan);
}

.shell {
  width: min(100%, calc(var(--shell) + (var(--gutter) * 2)));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.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;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.72rem 1rem;
  color: #061016;
  background: var(--cyan);
  font-weight: 650;
  transform: translateY(-160%);
  transition: transform 160ms var(--ease);
}

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

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgb(8 9 13 / 72%);
  backdrop-filter: blur(12px);
  transition:
    background 180ms var(--ease),
    border-color 180ms var(--ease);
}

.site-header[data-scrolled="true"] {
  border-bottom-color: var(--line);
  background: rgb(8 9 13 / 92%);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(15rem, 1fr) auto auto;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3.5rem);
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: fit-content;
  color: var(--strong);
  font-size: 0.94rem;
  font-weight: 650;
  letter-spacing: 0.025em;
  white-space: nowrap;
}

.brand img {
  width: 2rem;
  height: 2rem;
}

.desktop-nav {
  display: flex;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
}

.desktop-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  color: var(--muted);
  font-size: 0.82rem;
  transition: color 160ms var(--ease);
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.25rem;
  left: 0;
  height: 1px;
  background: var(--cyan);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms var(--ease);
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--strong);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.72rem;
  min-height: 3.65rem;
  padding: 0.92rem 1.4rem;
  border: 1px solid var(--cyan);
  border-radius: 4px;
  color: #061016;
  background: var(--cyan);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 9%) inset;
  font-size: 0.92rem;
  font-weight: 680;
  line-height: 1;
  transition:
    color 160ms var(--ease),
    border-color 160ms var(--ease),
    background 160ms var(--ease),
    transform 160ms var(--ease),
    box-shadow 160ms var(--ease);
}

.button svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.button:hover,
.button:focus-visible {
  background: #55e3ff;
  box-shadow: 0 0 28px rgb(0 212 255 / 20%);
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button-small {
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  font-size: 0.78rem;
}

.button-secondary {
  border-color: var(--line-strong);
  color: var(--strong);
  background: transparent;
  box-shadow: none;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgb(255 255 255 / 34%);
  color: var(--strong);
  background: rgb(255 255 255 / 4%);
  box-shadow: none;
}

.menu-toggle,
.mobile-nav {
  display: none;
}

.header-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  overflow: hidden;
}

.header-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding-top: var(--header-height);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent 0 51%, rgb(255 255 255 / 2%) 51% 51.08%, transparent 51.08%),
    radial-gradient(circle at 82% 40%, rgb(0 212 255 / 5%), transparent 28rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(36rem, 1.18fr);
  gap: clamp(3rem, 6vw, 6.5rem);
  align-items: center;
  min-height: calc(100svh - var(--header-height) - 4.8rem);
  padding-top: clamp(4rem, 8vh, 6rem);
  padding-bottom: clamp(3rem, 6vh, 5rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

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

h1,
h2,
h3,
h4 {
  color: var(--strong);
}

h1 {
  max-width: 8.8ch;
  margin-bottom: 1.65rem;
  font-size: clamp(3.25rem, 5.35vw, 5.15rem);
  font-weight: 620;
  letter-spacing: -0.058em;
  line-height: 0.98;
}

.hero-lede {
  max-width: 36rem;
  margin-bottom: 2rem;
  color: var(--body);
  font-size: clamp(1.04rem, 1.4vw, 1.2rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-proof {
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.hero-trace {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 2.5rem 4.75rem 2.5rem 0;
  isolation: isolate;
}

.trace-grid {
  position: absolute;
  z-index: -1;
  inset: -1.7rem 0 -1.7rem -4rem;
  background-image:
    linear-gradient(rgb(255 255 255 / 3%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 3%) 1px, transparent 1px);
  background-size: 3rem 3rem;
  mask-image: linear-gradient(90deg, transparent, black 15%, black);
}

.trace-row {
  position: relative;
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1.15rem;
  align-items: center;
}

.trace-row > p {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-data);
  font-size: 0.72rem;
  line-height: 1.5;
}

.trace-value {
  display: flex;
  align-items: center;
  min-height: 5.6rem;
  padding: 1.1rem 1.35rem;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--strong);
  background: rgb(9 12 18 / 76%);
  box-shadow: 0 12px 34px rgb(0 0 0 / 15%);
  font-family: var(--font-data);
  font-size: clamp(0.88rem, 1.25vw, 1.06rem);
  line-height: 1.5;
}

.trace-row-task .trace-value {
  min-height: 6rem;
}

.trace-value-cyan {
  color: var(--cyan);
}

.trace-value-orange {
  border-color: rgb(255 107 53 / 58%);
  color: var(--orange);
}

.trace-value-violet {
  border-color: rgb(140 116 255 / 48%);
  color: var(--violet);
}

.trace-spine {
  position: absolute;
  z-index: 3;
  top: 5.2rem;
  right: 0;
  bottom: 5.2rem;
  width: 3.6rem;
  border: 2px solid var(--cyan);
  border-left: 0;
  border-radius: 0 0.75rem 0.75rem 0;
  pointer-events: none;
}

.trace-spine::after {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 100%;
  height: 38%;
  border: 2px solid var(--violet);
  border-top: 0;
  border-left: 0;
  border-radius: 0 0 0.75rem;
  content: "";
}

.trace-spine span {
  position: absolute;
  left: -5px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  background: var(--canvas);
  box-shadow: 0 0 16px rgb(0 212 255 / 42%);
}

.trace-spine span:nth-child(1) { top: -5px; }
.trace-spine span:nth-child(2) { top: 24%; }
.trace-spine span:nth-child(3) { top: 49%; }
.trace-spine span:nth-child(4) { top: 73%; }
.trace-spine span:nth-child(5) { bottom: -5px; }

.trace-spine span.orange {
  border-color: var(--orange);
  box-shadow: 0 0 16px rgb(255 138 43 / 45%);
}

.trace-spine span.violet {
  border-color: var(--violet);
  box-shadow: 0 0 16px rgb(140 116 255 / 45%);
}

.hero-next {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--strong);
  font-size: 1.1rem;
}

.hero-next span:last-child {
  color: var(--muted);
  font-family: var(--font-data);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

.problem {
  border-bottom: 1px solid var(--line);
}

.problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(29rem, 1.05fr);
  gap: clamp(4rem, 9vw, 9rem);
  align-items: center;
  padding-top: clamp(7rem, 11vw, 10rem);
  padding-bottom: clamp(6rem, 9vw, 8rem);
}

.problem h2 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(2.8rem, 4.6vw, 4.65rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.problem-copy > p {
  max-width: 34rem;
  margin-bottom: 2.25rem;
  color: var(--body);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.7;
}

.failure-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0;
  margin: 0;
  border: 1px solid var(--line);
  list-style: none;
}

.failure-rail li {
  min-height: 5.2rem;
  padding: 1.2rem 1rem;
  color: var(--body);
  font-family: var(--font-data);
  font-size: 0.76rem;
}

.failure-rail li + li {
  border-left: 1px solid var(--line);
}

.failure-rail span {
  margin-right: 0.55rem;
  color: var(--coral);
  font-size: 1.15rem;
}

.constraint-statement {
  display: flex;
  justify-content: center;
  padding: 2.3rem var(--gutter);
  border-top: 1px solid var(--line);
  background: var(--canvas-raised);
}

.constraint-statement p {
  position: relative;
  margin: 0;
  padding-inline: 4rem;
  color: var(--cyan);
  font-family: var(--font-data);
  font-size: clamp(0.78rem, 1.2vw, 0.95rem);
  letter-spacing: 0.04em;
  text-align: center;
}

.constraint-statement p::before,
.constraint-statement p::after {
  position: absolute;
  top: 50%;
  width: 2rem;
  height: 1rem;
  border-top: 1px solid var(--cyan);
  content: "";
  opacity: 0.75;
}

.constraint-statement p::before {
  left: 0;
  border-left: 1px solid var(--cyan);
}

.constraint-statement p::after {
  right: 0;
  border-right: 1px solid var(--cyan);
}

.mechanism {
  padding: clamp(6rem, 10vw, 9rem) 0 clamp(7rem, 11vw, 10rem);
  border-bottom: 1px solid var(--line);
  background: var(--canvas-raised);
}

.section-intro {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-intro h2 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(2.7rem, 4.4vw, 4.45rem);
  font-weight: 600;
  letter-spacing: -0.052em;
  line-height: 1;
}

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

.mechanism-trace {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  min-height: 25rem;
  padding: 2rem 2rem 4.8rem;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgb(255 255 255 / 2.5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 2.5%) 1px, transparent 1px),
    var(--inset);
  background-size: 2.5rem 2.5rem;
  list-style: none;
}

.mechanism-trace::before {
  position: absolute;
  z-index: 1;
  top: 15.5rem;
  right: 11%;
  left: 11%;
  height: 2px;
  background: linear-gradient(90deg, var(--muted) 0 24%, var(--coral) 24% 52%, var(--orange) 52% 76%, var(--cyan) 76%);
  content: "";
}

.mechanism-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-copy {
  width: 100%;
  min-height: 8.5rem;
  padding-right: 1.25rem;
}

.step-copy span {
  color: var(--muted);
  font-family: var(--font-data);
  font-size: 0.84rem;
}

.step-copy p {
  max-width: 14rem;
  margin: 0.4rem 0 0;
  color: var(--body);
  font-family: var(--font-data);
  font-size: 0.74rem;
  line-height: 1.55;
}

.step-constrain .step-copy span {
  color: var(--coral);
}

.step-recommend .step-copy span {
  color: var(--orange);
}

.step-explain .step-copy span {
  color: var(--cyan);
}

.step-node {
  position: relative;
  display: grid;
  place-items: center;
  width: 6.2rem;
  height: 6.2rem;
  border: 1px solid var(--line-strong);
  background: var(--inset);
}

.step-node::before,
.step-node::after {
  position: absolute;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: var(--inset);
  content: "";
  transform: translateY(-50%);
}

.step-node::before {
  left: -0.35rem;
}

.step-node::after {
  right: -0.35rem;
}

.node-inspect {
  color: var(--muted);
}

.node-inspect i {
  position: relative;
  display: block;
  width: 2.5rem;
  height: 1px;
  margin: 0.38rem;
  background: var(--muted);
}

.node-inspect i::before {
  position: absolute;
  top: -3px;
  left: -0.75rem;
  width: 5px;
  height: 5px;
  border: 1px solid var(--muted);
  border-radius: 50%;
  content: "";
}

.node-constrain {
  border-color: var(--coral);
  color: var(--coral);
}

.node-recommend {
  border-color: var(--orange);
  color: var(--orange);
}

.node-recommend i {
  align-self: end;
  width: 2px;
  margin: 0 0.2rem;
  background: var(--orange);
}

.node-recommend i:nth-child(1) { height: 1.2rem; }
.node-recommend i:nth-child(2) { height: 2.25rem; }
.node-recommend i:nth-child(3) { height: 3.1rem; }

.node-explain {
  border-color: var(--cyan);
  color: var(--cyan);
}

.node-constrain svg,
.node-explain svg {
  width: 3.25rem;
  height: 3.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.constraint-node {
  position: absolute;
  z-index: 3;
  top: 14.4rem;
  left: 45%;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--coral);
  color: var(--coral);
  background: var(--inset);
  font-family: var(--font-data);
  font-size: 0.67rem;
}

.learning-return {
  position: absolute;
  right: 50%;
  bottom: 1.35rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--violet);
  color: var(--violet);
  background: var(--inset);
  font-family: var(--font-data);
  font-size: 0.67rem;
  transform: translateX(50%);
}

.learning-return::before {
  position: absolute;
  right: 100%;
  bottom: 50%;
  width: 36rem;
  max-width: 45vw;
  height: 3.8rem;
  border-bottom: 1px dashed var(--violet);
  border-left: 1px dashed var(--violet);
  content: "";
}

.learning-return::after {
  position: absolute;
  bottom: 50%;
  left: 100%;
  width: 36rem;
  max-width: 45vw;
  height: 3.8rem;
  border-right: 1px dashed var(--violet);
  border-bottom: 1px dashed var(--violet);
  content: "";
}

.demo {
  padding: clamp(7rem, 11vw, 10rem) 0 clamp(5.5rem, 9vw, 8rem);
  border-bottom: 1px solid var(--line);
}

.demo-layout {
  display: grid;
  grid-template-columns: minmax(20rem, 0.74fr) minmax(38rem, 1.26fr);
  gap: clamp(3rem, 6vw, 5.5rem);
  align-items: start;
}

.demo-controls {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.demo-controls h2 {
  max-width: 9.5ch;
  margin-bottom: 1.4rem;
  font-size: clamp(2.7rem, 4.25vw, 4.2rem);
  font-weight: 600;
  letter-spacing: -0.054em;
  line-height: 1.02;
}

.demo-controls > p {
  max-width: 29rem;
  margin-bottom: 3.2rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.choice-group {
  padding: 0;
  margin: 0 0 2.1rem;
  border: 0;
}

.choice-group legend {
  margin-bottom: 0.7rem;
  color: var(--muted);
  font-family: var(--font-data);
  font-size: 0.72rem;
  letter-spacing: 0.035em;
}

.segmented-control {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  overflow: hidden;
}

.segmented-control button {
  min-height: 3.7rem;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 0.88rem;
  font-weight: 580;
  cursor: pointer;
  transition:
    color 160ms var(--ease),
    background 160ms var(--ease),
    box-shadow 160ms var(--ease);
}

.segmented-control button + button {
  border-left: 1px solid var(--line-strong);
}

.segmented-control button[aria-pressed="true"] {
  color: var(--cyan);
  background: rgb(0 212 255 / 5%);
  box-shadow: 0 0 0 1px var(--cyan) inset;
}

.segmented-control button:hover {
  color: var(--strong);
  background: rgb(255 255 255 / 3%);
}

.decision-canvas {
  position: relative;
  min-height: 42rem;
  padding: clamp(1.5rem, 3vw, 2.6rem);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background:
    radial-gradient(circle at 78% 42%, rgb(0 212 255 / 4%), transparent 24rem),
    linear-gradient(145deg, rgb(16 19 27 / 98%), rgb(9 12 18 / 98%));
  box-shadow: 0 32px 90px rgb(0 0 0 / 24%);
}

.decision-request > span,
.decision-output span,
.decision-receipt span,
.decision-receipt strong {
  font-family: var(--font-data);
}

.decision-request > span {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.decision-request strong {
  display: block;
  color: var(--strong);
  font-family: var(--font-data);
  font-size: clamp(0.95rem, 1.45vw, 1.14rem);
  font-weight: 400;
}

.decision-request p {
  margin: 1rem 0 1.5rem;
  color: var(--muted);
  font-family: var(--font-data);
  font-size: 0.78rem;
}

.decision-request p b {
  color: var(--body);
  font-weight: 400;
}

.decision-filter {
  margin-left: 4.7rem;
  border: 1px solid rgb(0 212 255 / 42%);
  border-radius: 4px;
}

.decision-filter::before {
  position: absolute;
  top: 10rem;
  left: 3.5rem;
  width: 2.8rem;
  height: 12.5rem;
  border-left: 2px solid var(--cyan);
  content: "";
}

.decision-filter div {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.88rem 1rem;
  color: var(--body);
  font-family: var(--font-data);
  font-size: 0.78rem;
}

.decision-filter div + div {
  border-top: 1px solid var(--line);
}

.decision-filter b {
  color: var(--cyan);
  font-weight: 400;
}

.decision-filter em {
  font-style: normal;
}

.decision-output {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  margin: 1.55rem 0 1.55rem 4.7rem;
  border: 1px solid var(--orange);
  border-radius: 4px;
  background: rgb(255 138 43 / 2%);
}

.decision-output-model {
  padding: 1.2rem;
  border-right: 1px solid var(--line);
}

.decision-output span {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--orange);
  font-size: 0.72rem;
}

.decision-output strong {
  display: block;
  color: var(--strong);
  font-family: var(--font-data);
  font-size: 1rem;
  font-weight: 400;
}

.decision-output p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-family: var(--font-data);
  font-size: 0.8rem;
}

.decision-output ul {
  display: grid;
  align-content: center;
  gap: 0.65rem;
  padding: 1rem 1.2rem 1rem 2.2rem;
  margin: 0;
  color: var(--orange);
  font-family: var(--font-data);
  font-size: 0.74rem;
  list-style: none;
}

.decision-output li::before {
  margin-right: 0.55rem;
  content: "→";
}

.decision-receipt {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-left: 4.7rem;
  padding: 1.05rem 1.2rem;
  border: 1px solid var(--violet);
  border-radius: 4px;
}

.decision-receipt div > span {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--violet);
  font-size: 0.72rem;
}

.decision-receipt strong {
  color: var(--strong);
  font-size: 0.95rem;
  font-weight: 400;
}

.decision-receipt > span {
  color: var(--violet);
  font-size: 0.78rem;
}

.demo-disclaimer {
  margin: 1.8rem 0 0 4.7rem;
  color: var(--muted);
  font-family: var(--font-data);
  font-size: 0.65rem;
  line-height: 1.6;
}

.proof-rail {
  margin-top: clamp(4.5rem, 7vw, 7rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.proof-rail h3 {
  margin-bottom: 1.6rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.proof-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.proof-items article {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 0.8rem 2rem 0.8rem 0;
}

.proof-items article + article {
  padding-left: 2rem;
  border-left: 1px solid var(--line);
}

.proof-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid currentColor;
}

.proof-icon svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.proof-cyan { color: var(--cyan); }
.proof-coral { color: var(--coral); }
.proof-violet { color: var(--violet); }

.proof-items h4 {
  margin: 0 0 0.3rem;
  font-family: var(--font-data);
  font-size: 0.85rem;
  font-weight: 400;
}

.proof-items p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.comparison {
  padding: clamp(6.5rem, 10vw, 9rem) 0;
  border-bottom: 1px solid var(--line);
  background: var(--canvas-raised);
}

.comparison h2 {
  max-width: 16ch;
  margin-bottom: 2.25rem;
  font-size: clamp(2.7rem, 4.1vw, 4.15rem);
  font-weight: 600;
  letter-spacing: -0.052em;
  line-height: 1;
}

.comparison-scroll {
  overflow-x: auto;
  border: 1px solid var(--line-strong);
}

.comparison table {
  width: 100%;
  min-width: 52rem;
  border-collapse: collapse;
  background: rgb(8 10 15 / 56%);
  font-family: var(--font-data);
  font-size: clamp(0.72rem, 1vw, 0.82rem);
  text-align: left;
}

.comparison th,
.comparison td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
}

.comparison tr:last-child th,
.comparison tr:last-child td {
  border-bottom: 0;
}

.comparison th + th,
.comparison th + td,
.comparison td + td {
  border-left: 1px solid var(--line);
}

.comparison thead th {
  color: var(--body);
  font-weight: 400;
}

.comparison thead th:last-child,
.comparison tbody td:last-child {
  color: var(--cyan);
}

.comparison tbody th {
  color: var(--body);
  font-weight: 400;
}

.comparison tbody td {
  color: var(--muted);
}

.pilot {
  position: relative;
  padding: clamp(7rem, 11vw, 10rem) 0;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent 0 50%, rgb(255 255 255 / 2.5%) 50% 50.08%, transparent 50.08%),
    radial-gradient(circle at 20% 52%, rgb(0 212 255 / 6%), transparent 24rem);
}

.pilot-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(32rem, 1fr);
  gap: clamp(4rem, 8vw, 8rem);
}

.pilot-copy h2 {
  max-width: 10ch;
  margin-bottom: 1.3rem;
  font-size: clamp(2.8rem, 4.6vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1;
}

.pilot-copy > p {
  max-width: 37rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.pilot-list {
  display: grid;
  gap: 0.62rem;
  padding: 0;
  margin: 2.2rem 0;
  list-style: none;
}

.pilot-list li {
  color: var(--body);
  font-family: var(--font-data);
  font-size: 0.8rem;
}

.pilot-list li::before {
  margin-right: 0.85rem;
  color: var(--cyan);
  content: "✓";
}

.risk-reversal {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 1rem;
  max-width: 37rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--coral);
  background: rgb(255 107 53 / 4%);
}

.risk-reversal svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: var(--coral);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.risk-reversal p {
  margin: 0;
  color: var(--coral);
  font-family: var(--font-data);
  font-size: 0.72rem;
  line-height: 1.55;
}

.pilot-form {
  padding: 0 0 0 clamp(0rem, 2vw, 2rem);
}

.field {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.field label {
  color: var(--muted);
  font-family: var(--font-data);
  font-size: 0.72rem;
  letter-spacing: 0.035em;
}

.field label span {
  color: var(--coral);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--strong);
  background: rgb(7 10 15 / 72%);
  font-family: var(--font-data);
  font-size: 0.84rem;
  line-height: 1.55;
  transition:
    border-color 160ms var(--ease),
    box-shadow 160ms var(--ease);
}

.field input {
  min-height: 3.65rem;
  padding: 0.9rem 1rem;
}

.field textarea {
  min-height: 9rem;
  padding: 0.9rem 1rem;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #6f7683;
  opacity: 1;
}

.field input:hover,
.field textarea:hover {
  border-color: rgb(255 255 255 / 28%);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--cyan);
  outline: none;
  box-shadow: 0 0 0 3px rgb(0 212 255 / 10%);
}

.field [aria-invalid="true"] {
  border-color: var(--error);
}

.field-error {
  min-height: 1.15rem;
  color: var(--error);
  font-size: 0.74rem;
}

.form-submit {
  width: 100%;
  margin-top: 0.35rem;
}

.technical-link {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  margin-top: 1.2rem;
  color: var(--cyan);
  font-family: var(--font-data);
  font-size: 0.78rem;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.technical-link svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: transform 160ms var(--ease);
}

.technical-link:hover svg {
  transform: translateX(0.2rem);
}

.form-privacy {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.form-status {
  min-height: 1.5rem;
  margin-top: 0.8rem;
  color: var(--success);
  font-family: var(--font-data);
  font-size: 0.74rem;
}

.form-status-error {
  color: var(--error);
}

.site-footer {
  padding: 2.4rem 0;
  background: #07080b;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  align-items: center;
}

.footer-inner strong {
  color: var(--strong);
  font-size: 0.92rem;
}

.footer-inner p {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.6rem;
}

.footer-inner nav a {
  color: var(--muted);
  font-size: 0.78rem;
  transition: color 160ms var(--ease);
}

.footer-inner nav a:hover,
.footer-inner nav a:focus-visible {
  color: var(--cyan);
}

@media (max-width: 72rem) {
  .hero-grid {
    grid-template-columns: minmax(28rem, 0.92fr) minmax(30rem, 1.08fr);
    gap: 3rem;
  }

  .hero-trace {
    padding-right: 3.4rem;
  }

  .trace-row {
    grid-template-columns: 6.4rem minmax(0, 1fr);
    gap: 0.8rem;
  }

  .trace-value {
    min-height: 4.9rem;
  }

  .problem-grid {
    gap: 4rem;
  }

  .demo-layout {
    grid-template-columns: minmax(18rem, 0.7fr) minmax(33rem, 1.3fr);
    gap: 3rem;
  }

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

  .decision-output-model {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (min-width: 58.01rem) and (max-height: 50rem) {
  .hero-grid {
    gap: 2.5rem;
    padding-top: 2.5rem;
    padding-bottom: 2.25rem;
  }

  h1 {
    margin-bottom: 1.25rem;
    font-size: clamp(3.8rem, 5vw, 4.55rem);
  }

  .hero-lede {
    margin-bottom: 1.35rem;
    font-size: 1rem;
    line-height: 1.58;
  }

  .button {
    min-height: 3.35rem;
    padding: 0.8rem 1.2rem;
    font-size: 0.86rem;
  }

  .hero-proof {
    margin-top: 1rem;
  }

  .hero-trace {
    gap: 0.72rem;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }

  .trace-value,
  .trace-row-task .trace-value {
    min-height: 4.45rem;
    padding-block: 0.8rem;
  }

  .trace-spine {
    top: 3.5rem;
    bottom: 3.5rem;
  }

  .hero-next {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

@media (max-width: 58rem) {
  :root {
    --header-height: 4.25rem;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: grid;
    place-content: center;
    gap: 0.4rem;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    color: var(--strong);
    background: transparent;
  }

  .menu-toggle span:not(.sr-only) {
    width: 1rem;
    height: 1px;
    background: currentColor;
    transition: transform 160ms var(--ease);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(0.22rem) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-0.22rem) rotate(-45deg);
  }

  .mobile-nav {
    position: absolute;
    inset: 100% 0 auto;
    z-index: 90;
    display: grid;
    align-content: start;
    gap: 0;
    min-height: calc(100svh - var(--header-height));
    padding: 1.2rem var(--gutter) 3rem;
    background: #08090d;
  }

  .mobile-nav[hidden] {
    display: none;
  }

  .mobile-nav > a:not(.button) {
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--body);
    font-size: 1.15rem;
  }

  .mobile-nav .button {
    margin-top: 1.5rem;
  }

  .hero {
    min-height: auto;
    background: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 4.5rem;
    min-height: auto;
    padding-top: clamp(5rem, 12vw, 7rem);
    padding-bottom: 5rem;
  }

  h1 {
    max-width: 10ch;
  }

  .hero-lede {
    max-width: 39rem;
  }

  .hero-trace {
    width: 100%;
    max-width: 44rem;
    padding-right: 3.4rem;
    margin-inline: auto;
  }

  .problem-grid,
  .demo-layout,
  .pilot-layout {
    grid-template-columns: 1fr;
  }

  .problem-grid {
    gap: 2.5rem;
  }

  .problem h2,
  .demo-controls h2,
  .pilot-copy h2 {
    max-width: 13ch;
  }

  .failure-rail {
    grid-template-columns: 1fr;
  }

  .failure-rail li + li {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section-intro {
    align-items: start;
  }

  .mechanism-trace {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 0;
    min-height: 40rem;
  }

  .mechanism-trace::before {
    display: none;
  }

  .mechanism-step {
    align-items: start;
  }

  .step-copy {
    min-height: 7rem;
  }

  .constraint-node {
    top: 18.2rem;
    left: 50%;
    transform: translateX(-50%);
  }

  .learning-return::before,
  .learning-return::after {
    max-width: 30vw;
  }

  .demo-controls {
    position: static;
  }

  .decision-canvas {
    min-height: auto;
  }

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

  .proof-items article {
    padding: 1.2rem 0;
  }

  .proof-items article + article {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .pilot {
    background: radial-gradient(circle at 20% 32%, rgb(0 212 255 / 5%), transparent 20rem);
  }

  .pilot-form {
    padding: 3rem 0 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 40rem) {
  :root {
    --gutter: 1.25rem;
  }

  .brand {
    font-size: 0.84rem;
  }

  .brand img {
    width: 1.8rem;
    height: 1.8rem;
  }

  h1 {
    margin-bottom: 1.35rem;
    font-size: clamp(3rem, 14.5vw, 4.1rem);
  }

  .hero-grid {
    gap: 3.5rem;
    padding-top: 4rem;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-proof {
    max-width: 23rem;
  }

  .hero-trace {
    gap: 0.7rem;
    padding: 0;
  }

  .trace-grid,
  .trace-spine {
    display: none;
  }

  .trace-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .trace-row > p {
    font-size: 0.63rem;
  }

  .trace-value,
  .trace-row-task .trace-value {
    min-height: 3.8rem;
    padding: 0.85rem 1rem;
    font-size: 0.8rem;
  }

  .hero-next {
    font-size: 0.92rem;
  }

  .hero-next span:last-child {
    display: none;
  }

  .problem-grid {
    padding-top: 5.5rem;
    padding-bottom: 4.5rem;
  }

  .problem h2,
  .section-intro h2,
  .demo-controls h2,
  .comparison h2,
  .pilot-copy h2 {
    font-size: clamp(2.55rem, 12vw, 3.5rem);
  }

  .constraint-statement {
    padding-inline: 1.25rem;
  }

  .constraint-statement p {
    padding-inline: 0;
    text-align: left;
  }

  .constraint-statement p::before,
  .constraint-statement p::after {
    display: none;
  }

  .section-intro {
    display: grid;
    gap: 1.5rem;
  }

  .mechanism-trace {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: auto;
    padding: 1.25rem 1.25rem 5rem;
  }

  .mechanism-step {
    display: grid;
    grid-template-columns: 1fr 4.5rem;
    gap: 1rem;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
  }

  .step-copy {
    min-height: 0;
    padding: 0;
  }

  .step-node {
    width: 4.5rem;
    height: 4.5rem;
  }

  .constraint-node {
    position: static;
    grid-column: 1;
    width: fit-content;
    transform: none;
  }

  .learning-return {
    right: auto;
    bottom: 1.2rem;
    left: 1.25rem;
    transform: none;
  }

  .learning-return::before,
  .learning-return::after {
    display: none;
  }

  .segmented-control button {
    min-height: 3.25rem;
    font-size: 0.78rem;
  }

  .decision-canvas {
    padding: 1.15rem;
  }

  .decision-filter,
  .decision-output,
  .decision-receipt,
  .demo-disclaimer {
    margin-left: 0;
  }

  .decision-filter::before {
    display: none;
  }

  .decision-filter div {
    gap: 1rem;
    font-size: 0.67rem;
  }

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

  .decision-output-model {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .decision-receipt {
    align-items: center;
  }

  .comparison {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }

  .comparison-scroll {
    margin-right: calc(var(--gutter) * -1);
    border-right: 0;
  }

  .pilot {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }

  .risk-reversal {
    grid-template-columns: 1.5rem 1fr;
  }

  .footer-inner {
    display: grid;
    align-items: start;
  }

  .footer-inner nav {
    display: grid;
    justify-content: start;
    gap: 0.75rem;
  }
}

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

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