@font-face {
  font-family: "Helvetica Now";
  src: url("../../../assets/fonts/HelveticaNowText-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Now";
  src: url("../../../assets/fonts/HelveticaNowText-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Now";
  src: url("../../../assets/fonts/HelveticaNowText-ExtraBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  --canvas: #f7f7f2;
  --paper: #ffffff;
  --ink: #0c0e12;
  --graphite: #151922;
  --blue: #315bff;
  --blue-deep: #1738b8;
  --blue-pale: #e0e6ff;
  --lime: #d9ff43;
  --fog: #e4e6ea;
  --slate: #646a76;
  --error: #d93a45;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: "Helvetica Now", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .8, .22, 1);
  --page: min(1440px, calc(100vw - 64px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 12px 16px;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--paper);
}

.skip-link:focus {
  transform: translateY(0);
}

.prototype-label {
  display: flex;
  min-height: 28px;
  align-items: center;
  justify-content: space-between;
  padding-inline: 32px;
  background: var(--lime);
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .09em;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  min-height: 76px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding-inline: 32px;
  background: color-mix(in srgb, var(--canvas) 92%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 132px;
  height: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.5vw, 40px);
}

.main-nav a {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--blue);
  content: "";
  transition: transform 160ms var(--ease);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.menu-button {
  display: none;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 20px;
  background: var(--blue);
  border: 1px solid var(--blue);
  color: var(--paper);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: background 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease), transform 160ms var(--ease);
}

.button:hover {
  transform: translateY(-2px);
  background: var(--blue-deep);
  border-color: var(--blue-deep);
}

.button-compact {
  min-height: 40px;
  gap: 20px;
  padding-inline: 15px;
  font-size: 12px;
}

.button-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.button-outline:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.button-light {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.button-light:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}

.button-dark {
  background: var(--ink);
  border-color: var(--ink);
}

.button-dark:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
}

.section {
  width: var(--page);
  margin-inline: auto;
}

.grid-field {
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--ink) 7%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--ink) 5%, transparent) 1px, transparent 1px);
  background-position: center;
  background-size: calc((100vw - 64px) / 12) 64px;
}

.section-code,
.kicker,
.console-topline,
.console-title span,
.console-footer,
.status-strip small,
.number,
.detail-head,
.detail-facts dt,
.layer-label,
.layer-status,
.path-head,
.execution-path em,
.execution-path small,
.path-note,
.qualifier,
.footer h2,
.footer-bottom {
  font-family: var(--mono);
  letter-spacing: .075em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  min-height: calc(100vh - 104px);
  grid-template-columns: minmax(0, 1.12fr) minmax(440px, .68fr);
  gap: clamp(56px, 8vw, 130px);
  align-items: center;
  padding: 86px max(32px, calc((100vw - 1440px) / 2)) 96px;
  border-bottom: 1px solid var(--ink);
}

.hero-copy {
  min-width: 0;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 30px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
}

.kicker > span {
  display: inline-grid;
  min-width: 29px;
  height: 23px;
  place-items: center;
  padding-inline: 5px;
  background: var(--blue);
  color: var(--paper);
}

.kicker-light {
  color: var(--lime);
}

.kicker-light > span {
  background: var(--lime);
  color: var(--ink);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin: 0;
  font-size: clamp(69px, 8.5vw, 137px);
  font-weight: 800;
  letter-spacing: -.078em;
  line-height: .81;
}

h1 > span {
  display: block;
}

h1 .accent-word,
h2 > span {
  color: var(--blue);
}

.hero-bottom {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 42px;
  align-items: end;
  margin-top: 58px;
  padding-top: 24px;
  border-top: 1px solid var(--ink);
}

.hero-bottom > p {
  max-width: 650px;
  margin: 0;
  font-size: clamp(18px, 1.6vw, 23px);
  letter-spacing: -.025em;
  line-height: 1.35;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hero-console {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 14px 14px 0 var(--blue);
}

.hero-console::before {
  position: absolute;
  top: -9px;
  right: 22px;
  left: 22px;
  height: 8px;
  background: var(--lime);
  border: 1px solid var(--ink);
  border-bottom: 0;
  content: "";
}

.console-topline,
.console-title,
.console-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 15px;
}

.console-topline {
  color: var(--slate);
  font-size: 9px;
}

.live-mark {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
}

.live-mark i {
  width: 7px;
  height: 7px;
  background: var(--lime);
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.console-title {
  display: grid;
  justify-content: stretch;
  padding-block: 19px;
  border-top: 1px solid var(--fog);
  border-bottom: 1px solid var(--ink);
}

.console-title span {
  color: var(--slate);
  font-size: 8px;
}

.console-title strong {
  font-size: 16px;
}

.hero-rail {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-rail li {
  position: relative;
  display: grid;
  min-height: 70px;
  grid-template-columns: 18px 31px 1fr auto;
  gap: 11px;
  align-items: center;
  padding: 0 15px;
  border-bottom: 1px solid var(--fog);
  transition: background 280ms var(--ease), color 280ms var(--ease);
}

.hero-rail li::before {
  position: absolute;
  top: -35px;
  bottom: 35px;
  left: 23px;
  width: 1px;
  background: var(--fog);
  content: "";
}

.hero-rail li:first-child::before {
  display: none;
}

.hero-rail .node {
  position: relative;
  z-index: 1;
  width: 9px;
  height: 9px;
  background: var(--paper);
  border: 1px solid var(--slate);
}

.hero-rail li.done .node {
  background: var(--blue);
  border-color: var(--blue);
}

.hero-rail li.done::before {
  background: var(--blue);
}

.hero-rail li.active {
  background: var(--blue);
  color: var(--paper);
}

.hero-rail li.active .node {
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--ink) 12%, transparent);
}

.hero-rail li.active::before {
  background: var(--blue);
}

.step-num,
.hero-rail small,
.hero-rail em {
  font-family: var(--mono);
  font-size: 8px;
  font-style: normal;
  letter-spacing: .055em;
}

.hero-rail div {
  display: grid;
  gap: 3px;
}

.hero-rail strong {
  font-size: 13px;
}

.hero-rail small,
.hero-rail em {
  color: var(--slate);
}

.hero-rail li.active small,
.hero-rail li.active em {
  color: var(--paper);
}

.hero-rail li.active.gate-active {
  background: var(--lime);
  color: var(--ink);
}

.hero-rail li.active.gate-active small,
.hero-rail li.active.gate-active em {
  color: var(--ink);
}

.console-footer {
  min-height: 58px;
  background: #eef0f3;
  color: var(--slate);
  font-size: 8px;
}

.console-footer button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 16px;
  padding-inline: 12px;
  background: var(--ink);
  border: 1px solid var(--ink);
  color: var(--paper);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}

.status-strip > div,
.status-strip > a {
  display: grid;
  min-height: 86px;
  grid-template-columns: auto 1fr;
  gap: 5px 14px;
  align-content: center;
  padding: 15px 24px;
  border-right: 1px solid var(--fog);
}

.status-strip > a {
  display: flex;
  align-items: center;
  gap: 28px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.status-strip strong {
  align-self: center;
  font-size: 13px;
}

.status-strip small {
  grid-column: 2;
  color: var(--slate);
  font-size: 8px;
}

.status {
  display: inline-flex;
  width: max-content;
  height: 22px;
  align-items: center;
  padding-inline: 8px;
  border: 1px solid currentColor;
  border-radius: 99px;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.status-live {
  background: var(--lime);
  border-color: var(--ink);
  color: var(--ink);
}

.status-building {
  background: var(--blue-pale);
  border-color: var(--blue);
  color: var(--blue-deep);
}

.status-prototype {
  background: var(--fog);
  border-color: var(--slate);
  color: #4f5560;
}

.section-code {
  margin-bottom: 72px;
  color: var(--slate);
  font-size: 9px;
  font-weight: 700;
}

.light-code {
  color: #8e96a4;
}

.definition {
  padding-block: 128px 140px;
}

.definition-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .55fr);
  gap: clamp(70px, 11vw, 180px);
  align-items: end;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(54px, 6.5vw, 98px);
  font-weight: 800;
  letter-spacing: -.066em;
  line-height: .96;
}

.definition-body .statement,
.engine-copy .statement {
  margin-bottom: 28px;
  color: var(--ink);
  font-size: clamp(22px, 2vw, 29px);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.25;
}

.definition-body > p:not(.statement),
.engine-copy > p:not(.statement) {
  color: var(--slate);
  font-size: 17px;
}

.text-action {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  margin-top: 20px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 110px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.principles article {
  position: relative;
  min-height: 340px;
  padding: 23px 25px 30px;
  border-right: 1px solid var(--ink);
}

.principles article:last-child {
  border-right: 0;
}

.number {
  color: var(--slate);
  font-size: 9px;
}

.principle-mark {
  position: relative;
  width: 38px;
  height: 38px;
  margin: 76px 0 28px;
}

.agent-mark {
  background: var(--blue);
}

.contract-mark {
  background: var(--ink);
}

.contract-mark::after {
  position: absolute;
  inset: 10px;
  border: 2px solid var(--paper);
  content: "";
}

.person-mark {
  background: var(--lime);
  border: 2px solid var(--ink);
}

.principles h3 {
  margin-bottom: 12px;
  font-size: 25px;
  letter-spacing: -.035em;
}

.principles p {
  max-width: 330px;
  margin: 0;
  color: var(--slate);
}

/* The legacy site stylesheet also targets these generic class names. Keep the
   approved homepage composition isolated from those older grid rules. */
.page-home .prototype-home .definition {
  display: block;
  grid-template-columns: none;
  gap: 0;
}

.page-home .prototype-home .principles {
  grid-column: auto;
}

.page-home .prototype-home .principles article {
  display: block;
  grid-template-columns: none;
  gap: 0;
  padding: 23px 25px 30px;
  border-bottom: 0;
}

.page-home .prototype-home .principles article > .number {
  display: inline;
  grid-row: auto;
  width: auto;
  height: auto;
  place-items: initial;
  color: var(--slate);
  background: transparent;
  border: 0;
}

.page-home .prototype-home .principles p {
  font-size: 16px;
  line-height: 1.5;
}

.page-home .prototype-home .platform .stack {
  grid-template-columns: none;
  gap: 16px;
  padding-block: 0;
}

.page-home .prototype-home .patterns > .qualifier {
  display: block;
  grid-template-columns: none;
  gap: normal;
  padding: 0;
  background: transparent;
  border-bottom: 0;
}

.operation {
  padding-block: 122px 0;
  background: var(--graphite);
  color: var(--paper);
}

.operation-intro {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) minmax(300px, .46fr);
  gap: 50px;
  align-items: end;
}

.operation-intro .section-code {
  align-self: start;
}

.operation-intro h2 {
  font-size: clamp(49px, 5.7vw, 86px);
}

.operation-lede {
  margin-bottom: 6px;
  color: #abb1bd;
  font-size: 18px;
}

.operation-interface {
  display: grid;
  grid-template-columns: minmax(260px, .48fr) minmax(0, 1.52fr);
  margin-top: 76px;
  border: 1px solid #3b414d;
}

.operation-nav {
  border-right: 1px solid #3b414d;
}

.operation-stage {
  display: grid;
  width: 100%;
  min-height: 77px;
  grid-template-columns: 32px 1fr auto;
  gap: 12px;
  align-items: center;
  padding-inline: 16px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #3b414d;
  color: #d0d4dc;
  cursor: pointer;
  text-align: left;
  transition: background 160ms var(--ease), color 160ms var(--ease);
}

.operation-stage:last-child {
  border-bottom: 0;
}

.operation-stage span,
.operation-stage small {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.operation-stage small {
  color: #777f8d;
}

.operation-stage:hover,
.operation-stage.selected {
  background: var(--blue);
  color: var(--paper);
}

.operation-stage.selected small {
  color: var(--paper);
  opacity: .65;
}

.operation-stage.gate-stage:hover,
.operation-stage.gate-stage.selected {
  background: var(--lime);
  color: var(--ink);
}

.operation-stage.gate-stage.selected small {
  color: var(--ink);
}

.operation-detail {
  display: grid;
  min-height: 510px;
  grid-template-rows: auto 1fr auto;
  padding: clamp(30px, 5vw, 72px);
}

.detail-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #838b99;
  font-size: 9px;
}

.detail-main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .48fr);
  gap: 70px;
  align-items: end;
  padding-block: 44px;
}

.detail-main h3 {
  margin: 0;
  font-size: clamp(35px, 4.1vw, 62px);
  letter-spacing: -.05em;
  line-height: .98;
}

.detail-main p {
  margin: 0;
  color: #abb1bd;
  font-size: 17px;
}

.detail-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border-top: 1px solid #3b414d;
}

.detail-facts div {
  padding: 18px 18px 0 0;
}

.detail-facts dt {
  margin-bottom: 7px;
  color: #7e8694;
  font-size: 8px;
}

.detail-facts dd {
  margin: 0;
  font-size: 13px;
}

.boundary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 32px;
  padding-block: 0;
  border: 1px solid #3b414d;
}

.boundary > div {
  position: relative;
  min-height: 186px;
  padding: 24px 42px 24px 24px;
  border-right: 1px solid #3b414d;
}

.boundary > div:not(:last-child)::after {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: -17px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  transform: translateY(-50%);
  background: var(--blue);
  color: var(--paper);
  content: "→";
  font-family: var(--mono);
  font-size: 14px;
}

.boundary > div:last-child {
  border-right: 0;
}

.boundary span {
  display: block;
  margin-bottom: 48px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .075em;
}

.boundary strong {
  display: block;
  max-width: 270px;
  font-size: 17px;
  line-height: 1.25;
}

.boundary p {
  margin: 9px 0 0;
  color: #969eab;
  font-size: 13px;
}

.shift {
  padding-block: 132px 145px;
}

.shift-head,
.patterns-head,
.proof-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .45fr);
  gap: clamp(60px, 10vw, 160px);
  align-items: end;
}

.shift-head p,
.patterns-head p,
.proof-head p {
  margin-bottom: 7px;
  color: var(--slate);
  font-size: 18px;
}

.shift-table {
  margin-top: 86px;
  border-top: 1px solid var(--ink);
}

.shift-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--fog);
}

.shift-row > * {
  padding: 23px 22px;
  font-size: 18px;
}

.shift-row > *:first-child {
  color: var(--slate);
  border-right: 1px solid var(--fog);
}

.shift-header {
  background: var(--ink);
  color: var(--paper);
}

.shift-header span {
  color: var(--paper) !important;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.platform {
  width: 100%;
  padding: 126px max(32px, calc((100vw - 1440px) / 2)) 145px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.platform-title {
  display: grid;
  grid-template-columns: .45fr 1fr;
  gap: 70px;
  align-items: start;
}

.platform-title h2 {
  justify-self: end;
  text-align: right;
}

.stack {
  display: grid;
  gap: 16px;
  margin-top: 100px;
}

.layer {
  position: relative;
  display: grid;
  min-height: 160px;
  grid-template-columns: 70px minmax(250px, 1fr) minmax(280px, .75fr) auto;
  gap: 38px;
  align-items: center;
  padding: 26px 28px;
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 10px 10px 0 var(--fog);
}

.layer-framework {
  width: calc(100% - 70px);
  margin-left: 70px;
  box-shadow: 10px 10px 0 var(--blue-pale);
}

.layer-engine {
  width: calc(100% - 140px);
  margin-left: 140px;
  box-shadow: 10px 10px 0 var(--lime);
}

.layer-index {
  font-family: var(--mono);
  font-size: 12px;
}

.layer-label {
  margin: 0 0 9px;
  color: var(--slate);
  font-size: 8px;
}

.layer h3 {
  margin: 0;
  font-size: clamp(22px, 2.3vw, 34px);
  letter-spacing: -.04em;
  line-height: 1.05;
}

.layer > p {
  margin: 0;
  color: var(--slate);
  font-size: 14px;
}

.layer-status {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding-inline: 9px;
  border: 1px solid currentColor;
  border-radius: 99px;
  font-size: 8px;
  white-space: nowrap;
}

.engine {
  padding-block: 126px 140px;
  background: var(--graphite);
  color: var(--paper);
}

.engine-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(440px, .68fr);
  gap: clamp(65px, 10vw, 160px);
  align-items: center;
}

.engine-copy h2 {
  font-size: clamp(48px, 5.6vw, 84px);
}

.engine-copy h2 > span {
  color: var(--lime);
}

.engine-copy .statement {
  max-width: 760px;
  margin-top: 42px;
  color: var(--paper);
}

.engine-copy > p:not(.statement) {
  max-width: 650px;
  color: #aab1bd;
}

.engine-copy .actions {
  margin-top: 35px;
}

.light-action {
  color: var(--paper);
}

.execution-path {
  border: 1px solid #414855;
}

.path-head,
.path-note {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-inline: 15px;
  color: #929aa8;
  font-size: 8px;
}

.path-head {
  border-bottom: 1px solid #414855;
}

.path-note a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms var(--ease);
}

.path-note a:hover {
  color: var(--lime);
}

.execution-path ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.execution-path li {
  position: relative;
  display: grid;
  min-height: 84px;
  grid-template-columns: 34px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #414855;
}

.execution-path li::after {
  position: absolute;
  bottom: -8px;
  left: 26px;
  z-index: 2;
  color: var(--lime);
  content: "↓";
  font-family: var(--mono);
  font-size: 12px;
}

.execution-path li:last-child::after {
  display: none;
}

.execution-path li > span {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 9px;
}

.execution-path li > div {
  display: grid;
  gap: 3px;
}

.execution-path strong {
  font-size: 14px;
}

.execution-path small,
.execution-path em {
  color: #89919e;
  font-size: 8px;
  font-style: normal;
}

.execution-path .path-native {
  background: #1b295b;
}

.path-note {
  min-height: 58px;
  background: #1b1f27;
}

.patterns,
.proof {
  padding-block: 128px 142px;
}

.patterns {
  border-bottom: 1px solid var(--ink);
}

.pattern-list {
  margin-top: 82px;
  border-top: 1px solid var(--ink);
}

.pattern-list a {
  display: grid;
  min-height: 122px;
  grid-template-columns: 70px minmax(280px, .85fr) minmax(300px, .75fr) 40px;
  gap: 30px;
  align-items: center;
  padding-inline: 20px;
  border-bottom: 1px solid var(--fog);
  text-decoration: none;
  transition: background 160ms var(--ease), padding 160ms var(--ease);
}

.pattern-list a:hover {
  padding-inline: 28px 14px;
  background: var(--paper);
}

.pattern-num {
  color: var(--slate);
  font-family: var(--mono);
  font-size: 9px;
}

.pattern-list h3 {
  margin: 0;
  font-size: clamp(24px, 2.5vw, 37px);
  letter-spacing: -.04em;
}

.pattern-list p {
  margin: 0;
  color: var(--slate);
}

.pattern-list i {
  justify-self: end;
  color: var(--blue);
  font-size: 19px;
  font-style: normal;
}

.qualifier {
  max-width: 700px;
  margin: 24px 0 0 auto;
  color: var(--slate);
  font-size: 9px;
}

.proof-rows {
  margin-top: 82px;
  border-top: 1px solid var(--ink);
}

.proof-rows a {
  display: grid;
  min-height: 88px;
  grid-template-columns: 105px minmax(260px, 1fr) minmax(180px, .5fr) 30px;
  gap: 25px;
  align-items: center;
  padding-inline: 18px;
  border-bottom: 1px solid var(--fog);
  text-decoration: none;
  transition: background 160ms var(--ease);
}

.proof-rows a:hover {
  background: var(--paper);
}

.proof-rows strong {
  font-size: 18px;
}

.proof-rows small {
  color: var(--slate);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .07em;
}

.proof-rows i {
  justify-self: end;
  color: var(--blue);
  font-style: normal;
}

.pilot {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 130px max(32px, calc((100vw - 1440px) / 2)) 145px;
  background-color: var(--lime);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.pilot-content {
  position: relative;
  z-index: 2;
}

.pilot h2 {
  max-width: 1100px;
}

.pilot h2 > span {
  color: var(--blue);
}

.pilot-content > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
  align-items: end;
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--ink);
}

.pilot-content > div > p {
  max-width: 680px;
  margin: 0;
  font-size: 20px;
}

.pilot-trace {
  position: absolute;
  top: 95px;
  right: -35px;
  display: flex;
  width: 44vw;
  justify-content: space-between;
  border-top: 2px solid var(--ink);
}

.pilot-trace span {
  width: 13px;
  height: 13px;
  margin-top: -7px;
  background: var(--lime);
  border: 2px solid var(--ink);
}

.pilot-trace span:nth-child(4) {
  width: 29px;
  height: 29px;
  margin-top: -15px;
  background: var(--ink);
  box-shadow: inset 0 0 0 7px var(--lime);
}

.footer {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 1fr);
  gap: 55px;
  padding: 80px 32px 28px;
  background: var(--paper);
}

.footer-primary > p {
  margin-top: 24px;
  color: var(--slate);
}

.footer > div:not(.footer-primary):not(.footer-bottom) {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer h2 {
  margin-bottom: 15px;
  font-size: 9px;
}

.footer > div a:not(.brand) {
  color: var(--slate);
  font-size: 13px;
  text-decoration: none;
}

.footer > div a:hover {
  color: var(--blue);
}

.footer-bottom {
  display: flex;
  min-height: 62px;
  grid-column: 1 / -1;
  align-items: end;
  justify-content: space-between;
  margin-top: 45px;
  padding-top: 20px;
  border-top: 1px solid var(--fog);
  color: var(--slate);
  font-size: 8px;
}

@media (max-width: 1120px) {
  :root {
    --page: min(100% - 40px, 980px);
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 75px 24px 94px;
  }

  .hero-console {
    width: min(100%, 680px);
  }

  .status-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .status-strip > a {
    grid-column: 1 / -1;
    min-height: 58px;
    justify-content: center;
  }

  .operation-intro {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .operation-intro .section-code {
    margin-bottom: 20px;
  }

  .operation-lede {
    max-width: 680px;
  }

  .detail-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .platform-title {
    grid-template-columns: 1fr;
  }

  .platform-title h2 {
    justify-self: start;
    text-align: left;
  }

  .layer {
    grid-template-columns: 50px minmax(250px, 1fr) minmax(240px, .7fr);
  }

  .layer-status {
    grid-column: 2;
  }

  .engine-grid {
    grid-template-columns: 1fr;
  }

  .execution-path {
    max-width: 700px;
  }
}

@media (max-width: 820px) {
  .prototype-label {
    padding-inline: 18px;
  }

  .prototype-label span:last-child {
    display: none;
  }

  .header {
    grid-template-columns: 1fr auto;
    min-height: 68px;
    padding-inline: 18px;
  }

  .menu-button {
    display: inline-flex;
    min-width: 78px;
    min-height: 42px;
    align-items: center;
    justify-content: space-between;
    padding-inline: 12px;
    background: transparent;
    border: 1px solid var(--ink);
    color: var(--ink);
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .07em;
    text-transform: uppercase;
  }

  .menu-button i,
  .menu-button i::before {
    display: block;
    width: 13px;
    height: 1px;
    background: var(--ink);
    content: "";
  }

  .menu-button i::before {
    transform: translateY(4px);
  }

  .main-nav {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    background: var(--canvas);
    border-bottom: 1px solid var(--ink);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    min-height: 54px;
    padding: 17px 18px;
    border-top: 1px solid var(--fog);
  }

  .main-nav a::after,
  .header-action {
    display: none;
  }

  .hero-bottom,
  .definition-layout,
  .shift-head,
  .patterns-head,
  .proof-head,
  .pilot-content > div {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .status-strip {
    grid-template-columns: 1fr;
  }

  .status-strip > div {
    border-bottom: 1px solid var(--fog);
    border-right: 0;
  }

  .status-strip > a {
    grid-column: auto;
  }

  .principles {
    grid-template-columns: 1fr;
  }

  .principles article {
    min-height: 260px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .principles article:last-child {
    border-bottom: 0;
  }

  .principle-mark {
    margin-block: 50px 24px;
  }

  .operation-interface {
    grid-template-columns: 1fr;
  }

  .operation-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-right: 0;
    border-bottom: 1px solid #3b414d;
  }

  .operation-stage {
    border-right: 1px solid #3b414d;
  }

  .boundary {
    grid-template-columns: 1fr;
  }

  .boundary > div {
    min-height: auto;
    padding: 24px;
    border-right: 0;
    border-bottom: 1px solid #3b414d;
  }

  .boundary > div:last-child {
    border-bottom: 0;
  }

  .boundary > div:not(:last-child)::after {
    top: auto;
    right: 24px;
    bottom: -17px;
    transform: rotate(90deg);
  }

  .boundary span {
    margin-bottom: 28px;
  }

  .shift-row > * {
    padding: 17px 12px;
    font-size: 14px;
  }

  .platform {
    padding-inline: 20px;
  }

  .layer,
  .layer-framework,
  .layer-engine {
    width: 100%;
    grid-template-columns: 40px 1fr;
    gap: 22px;
    margin-left: 0;
  }

  .layer > p,
  .layer-status {
    grid-column: 2;
  }

  .pattern-list a {
    grid-template-columns: 40px 1fr 28px;
    gap: 16px;
    padding-block: 20px;
  }

  .pattern-list p {
    grid-column: 2;
  }

  .pattern-list i {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .proof-rows a {
    grid-template-columns: 94px 1fr 24px;
    gap: 16px;
    padding-block: 16px;
  }

  .proof-rows small {
    grid-column: 2;
  }

  .proof-rows i {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .pilot {
    padding-inline: 20px;
  }

  .pilot-trace {
    display: none;
  }

  .footer {
    grid-template-columns: repeat(2, 1fr);
    padding-inline: 20px;
  }

  .footer-primary {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  :root {
    --page: calc(100% - 28px);
  }

  h1 {
    font-size: clamp(55px, 17.2vw, 78px);
  }

  h2,
  .operation-intro h2,
  .engine-copy h2 {
    font-size: clamp(41px, 12.5vw, 58px);
  }

  .hero {
    padding: 56px 14px 74px;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .actions .button {
    width: 100%;
  }

  .hero-console {
    box-shadow: 8px 8px 0 var(--blue);
  }

  .hero-rail li {
    grid-template-columns: 18px 25px 1fr;
  }

  .hero-rail em {
    display: none;
  }

  .console-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .console-footer button {
    width: 100%;
    justify-content: space-between;
  }

  .definition,
  .shift,
  .patterns,
  .proof {
    padding-block: 90px 100px;
  }

  .section-code {
    margin-bottom: 52px;
  }

  .operation {
    padding-top: 90px;
  }

  .operation-nav {
    grid-template-columns: 1fr;
  }

  .operation-stage {
    border-right: 0;
  }

  .operation-detail {
    min-height: 580px;
    padding: 27px 20px;
  }

  .detail-facts {
    grid-template-columns: 1fr;
  }

  .detail-facts div {
    padding-bottom: 12px;
  }

  .shift-row {
    grid-template-columns: .8fr 1.2fr;
  }

  .platform {
    padding-block: 90px 105px;
  }

  .stack {
    margin-top: 70px;
  }

  .layer {
    padding-inline: 18px;
  }

  .engine {
    padding-block: 90px 100px;
  }

  .execution-path li {
    grid-template-columns: 29px 1fr;
  }

  .execution-path em {
    display: none;
  }

  .path-note {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .pattern-list a {
    grid-template-columns: 32px 1fr;
  }

  .pattern-list i {
    display: none;
  }

  .proof-rows a {
    grid-template-columns: 86px 1fr;
  }

  .proof-rows i {
    display: none;
  }

  .pilot {
    padding-block: 90px 100px;
  }

  .footer {
    grid-template-columns: 1fr;
  }

  .footer-primary {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Production-shell alignment: preserve the approved prototype composition. */
.page-home .site-shell {
  width: 100%;
  max-width: none;
}

.page-home .prototype-home .hero {
  min-height: calc(100vh - 112px);
}

.page-home .prototype-home .pilot {
  scroll-margin-top: 76px;
}
