:root {
  --ink: #0b1f2a;
  --ink-soft: #183442;
  --paper: #f4f7f9;
  --white: #ffffff;
  --signal: #2367f2;
  --signal-dark: #174ac2;
  --trace: #36c2b4;
  --attention: #e7a438;
  --muted: #667a86;
  --line: #cfdae1;
  --line-dark: #29434f;
  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", Consolas, monospace;
  --shadow-sm: 0 12px 32px rgba(11, 31, 42, 0.08);
  --shadow-lg: 0 34px 80px rgba(11, 31, 42, 0.18);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shell: min(1240px, calc(100vw - 48px));
}

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

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

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

body.nav-open {
  overflow: hidden;
}

::selection {
  background: var(--signal);
  color: var(--white);
}

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

button,
input,
textarea,
select {
  font: inherit;
}

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

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

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.75rem, 5.3vw, 5.2rem);
}

h3 {
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.08;
}

code,
pre {
  font-family: var(--font-mono);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(207, 218, 225, 0.88);
  background: rgba(244, 247, 249, 0.9);
  box-shadow: 0 8px 26px rgba(11, 31, 42, 0.05);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 700;
}

.nav-menu > a:not(.button) {
  position: relative;
  padding-block: 12px;
}

.nav-menu > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 2px;
  background: var(--signal);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 23px;
  height: 2px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

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

.button-small {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 0.79rem;
}

.button-dark {
  background: var(--ink);
  color: var(--white);
}

.button-dark:hover {
  background: var(--signal);
}

.button-primary {
  background: var(--signal);
  box-shadow: 0 12px 25px rgba(35, 103, 242, 0.24);
  color: var(--white);
}

.button-primary:hover {
  background: var(--signal-dark);
  box-shadow: 0 15px 32px rgba(35, 103, 242, 0.3);
}

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

.button-light:hover {
  background: var(--attention);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid currentColor;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.7;
  transition: color 160ms ease, gap 160ms ease;
}

.text-link:hover {
  gap: 15px;
  color: var(--signal);
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 76px;
  background:
    radial-gradient(circle at 76% 18%, rgba(54, 194, 180, 0.15), transparent 24%),
    linear-gradient(135deg, #f8fafb 0%, var(--paper) 58%, #edf3f7 100%);
}

.hero::before {
  position: absolute;
  top: 0;
  right: -10%;
  width: 55%;
  height: 76%;
  background-image:
    linear-gradient(rgba(11, 31, 42, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 42, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
  mask-image: linear-gradient(to bottom left, #000, transparent 70%);
  pointer-events: none;
  transform: perspective(700px) rotateY(-7deg) rotateZ(2deg);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(480px, 0.98fr);
  gap: clamp(48px, 7vw, 104px);
  align-items: center;
  min-height: 770px;
  padding-block: 94px 88px;
}

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

.eyebrow,
.section-label {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 25px;
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.status-dot {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--trace);
  box-shadow: 0 0 0 5px rgba(54, 194, 180, 0.16);
}

.hero h1 {
  max-width: 700px;
  margin-bottom: 27px;
  font-size: clamp(4.25rem, 6.7vw, 7rem);
}

.hero h1 span {
  display: block;
  color: var(--signal);
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 34px;
  color: #415965;
  font-size: clamp(1.05rem, 1.55vw, 1.27rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  gap: 25px;
  align-items: center;
  margin-bottom: 36px;
}

.assurance-list {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 25px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.69rem;
  list-style: none;
  text-transform: uppercase;
}

.assurance-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.assurance-list li::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--trace);
  content: "";
}

.execution-frame {
  position: relative;
  border: 1px solid #27424e;
  border-radius: var(--radius-md);
  background: var(--ink);
  box-shadow: var(--shadow-lg), 18px 18px 0 rgba(35, 103, 242, 0.1);
  color: #dce8ed;
}

.execution-frame::before {
  position: absolute;
  z-index: -1;
  top: -18px;
  right: -18px;
  width: 112px;
  height: 88px;
  border-top: 2px solid var(--signal);
  border-right: 2px solid var(--signal);
  content: "";
}

.execution-frame::after {
  position: absolute;
  z-index: -1;
  bottom: -18px;
  left: -18px;
  width: 86px;
  height: 70px;
  border-bottom: 2px solid var(--trace);
  border-left: 2px solid var(--trace);
  content: "";
}

.frame-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line-dark);
}

.frame-topline > div {
  display: grid;
  gap: 3px;
}

.frame-topline strong {
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
}

.frame-kicker,
.frame-caption,
.live-state,
.request-scope,
.node-state,
.node-index,
.path-node small,
.dossier-grid span,
.resilience-note small {
  font-family: var(--font-mono);
  font-size: 0.61rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.frame-kicker {
  color: #8399a3;
}

.live-state {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--trace);
}

.live-state i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--trace);
  box-shadow: 0 0 0 5px rgba(54, 194, 180, 0.12);
}

.request-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 47px;
  padding: 9px 24px;
  border-bottom: 1px solid var(--line-dark);
  background: #102a36;
}

.request-method {
  padding: 4px 6px;
  border-radius: 3px;
  background: var(--signal);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 800;
}

.request-strip code {
  color: var(--white);
  font-size: 0.78rem;
}

.request-scope {
  margin-left: auto;
  color: #7f98a3;
  text-transform: none;
}

.execution-path {
  padding: 22px 24px 19px;
}

.path-node {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 49px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  opacity: 1;
  transition: opacity 220ms ease, border-color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

.path-node.is-active {
  border-color: rgba(54, 194, 180, 0.42);
  background: rgba(54, 194, 180, 0.08);
  opacity: 1;
  transform: translateX(4px);
}

.path-node.is-complete {
  opacity: 1;
}

.node-index {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid #38525e;
  border-radius: 50%;
  color: #89a0aa;
}

.path-node.is-complete .node-index,
.path-node.is-active .node-index {
  border-color: var(--trace);
  background: var(--trace);
  color: var(--ink);
}

.path-node > div {
  display: grid;
  gap: 1px;
}

.path-node small {
  color: #78909a;
}

.path-node strong {
  color: #eff5f7;
  font-size: 0.83rem;
}

.node-state {
  color: var(--trace);
}

.path-connector {
  position: relative;
  height: 16px;
  margin-left: 22px;
}

.path-connector::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: #38525e;
  content: "";
}

.path-connector span {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 0;
  background: var(--trace);
  transition: height 300ms ease;
}

.path-connector.is-complete span {
  height: 100%;
}

.dossier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-inline: 24px;
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  background: #0e2530;
}

.dossier-grid > div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px;
  border-right: 1px solid var(--line-dark);
}

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

.dossier-grid span {
  color: #718a95;
}

.dossier-grid code {
  overflow: hidden;
  color: #e7eff2;
  font-size: 0.65rem;
  text-overflow: ellipsis;
}

.resilience-note {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  margin: 18px 24px 0;
  padding: 13px;
  border-left: 2px solid var(--attention);
  background: rgba(231, 164, 56, 0.08);
}

.resilience-note > div {
  display: grid;
  gap: 2px;
}

.resilience-note small {
  color: #b39a6d;
}

.resilience-note strong {
  color: #f4e9d4;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
}

.resilience-note button {
  padding: 5px 0;
  border: 0;
  border-bottom: 1px solid #c9a96d;
  background: transparent;
  color: #e8c989;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  cursor: pointer;
  text-transform: uppercase;
}

.frame-caption {
  margin: 15px 24px 19px;
  color: #617b86;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}

.proof-band {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 0.75fr)) minmax(250px, 1.6fr);
  align-items: stretch;
}

.proof-grid > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 106px;
  padding: 19px 24px;
  border-left: 1px solid var(--line);
}

.proof-grid > div:nth-child(4) {
  border-right: 1px solid var(--line);
}

.proof-grid strong {
  color: var(--signal);
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
}

.proof-grid span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.25;
}

.proof-grid > p {
  align-self: center;
  margin: 0;
  padding: 18px 0 18px 30px;
  color: #627781;
  font-size: 0.74rem;
  font-style: italic;
  line-height: 1.45;
}

.section {
  padding-block: clamp(100px, 11vw, 158px);
}

.section-intro {
  margin-bottom: 64px;
}

.section-intro.narrow {
  max-width: 900px;
}

.section-label {
  margin-bottom: 21px;
}

.section-label.light {
  color: var(--trace);
}

.friction {
  background: var(--white);
}

.friction .section-intro h2 {
  margin-bottom: 0;
}

.friction-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.friction-grid article {
  position: relative;
  min-height: 305px;
  padding: 34px 36px 40px 0;
  border-right: 1px solid var(--line);
}

.friction-grid article + article {
  padding-left: 36px;
}

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

.card-number {
  display: block;
  margin-bottom: 54px;
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 0.65rem;
}

.friction-grid h3 {
  max-width: 315px;
  margin-bottom: 17px;
}

.friction-grid p {
  max-width: 340px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.91rem;
}

.control-plane {
  position: relative;
  overflow: clip;
  background: var(--paper);
}

.control-plane::before {
  position: absolute;
  top: 18%;
  left: -5%;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(35, 103, 242, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(35, 103, 242, 0.025), 0 0 0 140px rgba(35, 103, 242, 0.02);
  content: "";
}

.control-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(480px, 1.15fr);
  gap: clamp(70px, 10vw, 150px);
}

.sticky-intro {
  position: sticky;
  top: 130px;
  align-self: start;
}

.sticky-intro h2 {
  font-size: clamp(3rem, 5vw, 5.4rem);
}

.sticky-intro > p:not(.section-label) {
  max-width: 470px;
  margin-bottom: 29px;
  color: var(--muted);
  font-size: 1.02rem;
}

.principle-stack {
  border-top: 1px solid var(--line);
}

.principle {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 26px;
  padding-block: 43px;
  border-bottom: 1px solid var(--line);
}

.principle-icon {
  position: relative;
  width: 70px;
  height: 70px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
}

.identity-icon span {
  position: absolute;
  width: 13px;
  height: 13px;
  border: 1px solid var(--signal);
  border-radius: 50%;
}

.identity-icon span:nth-child(1) { top: 13px; left: 27px; background: var(--signal); }
.identity-icon span:nth-child(2) { top: 43px; left: 14px; }
.identity-icon span:nth-child(3) { top: 43px; right: 14px; }

.identity-icon::before,
.identity-icon::after {
  position: absolute;
  top: 29px;
  width: 25px;
  height: 1px;
  background: var(--signal);
  content: "";
}

.identity-icon::before { left: 14px; transform: rotate(54deg); }
.identity-icon::after { right: 14px; transform: rotate(-54deg); }

.policy-icon span {
  position: absolute;
  inset: 14px 19px;
  border: 2px solid var(--signal);
  clip-path: polygon(50% 0, 100% 17%, 91% 75%, 50% 100%, 9% 75%, 0 17%);
}

.policy-icon::after {
  position: absolute;
  top: 31px;
  left: 28px;
  width: 14px;
  height: 7px;
  border-bottom: 2px solid var(--trace);
  border-left: 2px solid var(--trace);
  content: "";
  transform: rotate(-45deg);
}

.capacity-icon span {
  position: absolute;
  left: 13px;
  height: 10px;
  border: 1px solid var(--signal);
  background: rgba(35, 103, 242, 0.08);
}

.capacity-icon span::after {
  position: absolute;
  top: 3px;
  right: 4px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--trace);
  content: "";
}

.capacity-icon span:nth-child(1) { top: 14px; width: 31px; }
.capacity-icon span:nth-child(2) { top: 30px; width: 43px; }
.capacity-icon span:nth-child(3) { top: 46px; width: 37px; }

.evidence-icon span {
  position: absolute;
  left: 15px;
  width: 39px;
  height: 1px;
  background: var(--line);
}

.evidence-icon span::before {
  position: absolute;
  top: -3px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--trace);
  content: "";
}

.evidence-icon span:nth-child(1) { top: 18px; }
.evidence-icon span:nth-child(2) { top: 29px; }
.evidence-icon span:nth-child(3) { top: 40px; }
.evidence-icon span:nth-child(4) { top: 51px; }

.principle-kicker {
  margin-bottom: 10px;
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.principle h3 {
  max-width: 560px;
  margin-bottom: 12px;
}

.principle p:last-child {
  max-width: 570px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.91rem;
}

.deployment {
  overflow: hidden;
  background: var(--white);
}

.split-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(340px, 0.6fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: end;
}

.split-intro h2 {
  margin-bottom: 0;
}

.split-intro > p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 1rem;
}

.architecture {
  display: grid;
  grid-template-columns: 0.7fr 0.32fr 1.1fr 0.32fr 1fr;
  align-items: center;
  min-height: 430px;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(rgba(11, 31, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 42, 0.035) 1px, transparent 1px),
    #f8fafb;
  background-size: 30px 30px;
  box-shadow: var(--shadow-sm);
}

.architecture-column {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.architecture-label {
  margin-bottom: 15px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.architecture-card,
.plane-shell,
.worker-card {
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 8px 22px rgba(11, 31, 42, 0.06);
}

.agent-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  padding: 25px 16px;
  text-align: center;
}

.agent-card strong {
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1.1;
}

.agent-card small {
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.58rem;
}

.architecture-transition {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  margin-top: 20px;
}

.architecture-transition span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.52rem;
  white-space: nowrap;
}

.plane-shell {
  min-height: 240px;
  padding: 18px;
  border-color: var(--signal);
  box-shadow: 0 14px 34px rgba(35, 103, 242, 0.12);
}

.plane-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.plane-modules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.plane-modules span {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 10px;
  border: 1px solid #dce5ea;
  background: #f8fafb;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.59rem;
}

.worker-stack {
  display: grid;
  gap: 9px;
}

.worker-card {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 71px;
  padding: 10px 11px;
}

.worker-card > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--attention);
}

.worker-card > i.proofed {
  background: var(--trace);
}

.worker-card > span {
  display: grid;
  min-width: 0;
}

.worker-card strong {
  overflow: hidden;
  font-size: 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.worker-card small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.61rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.evidence {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.evidence::before {
  position: absolute;
  top: -180px;
  right: -160px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(54, 194, 180, 0.15);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(54, 194, 180, 0.025), 0 0 0 160px rgba(54, 194, 180, 0.018);
  content: "";
}

.evidence-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(510px, 1.1fr);
  gap: clamp(65px, 10vw, 140px);
  align-items: center;
}

.evidence-copy h2 {
  max-width: 650px;
  font-size: clamp(3.3rem, 5.4vw, 5.8rem);
}

.evidence-copy > p:not(.section-label):not(.qualification-note) {
  max-width: 590px;
  color: #adc0c8;
  font-size: 1.02rem;
}

.proof-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-block: 29px;
}

.proof-meta span {
  padding: 7px 9px;
  border: 1px solid #38515c;
  color: #c8d8de;
  font-family: var(--font-mono);
  font-size: 0.57rem;
  text-transform: uppercase;
}

.qualification-note {
  max-width: 570px;
  margin: 0;
  padding-left: 15px;
  border-left: 2px solid var(--attention);
  color: #8da3ad;
  font-size: 0.75rem;
}

.evidence-ledger {
  border: 1px solid #3b535f;
  background: #102936;
  box-shadow: none;
}

.ledger-header {
  display: flex;
  justify-content: space-between;
  padding: 13px 16px;
  border-bottom: 1px solid #3b535f;
  color: #8ba2ac;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.08em;
}

.ledger-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 13px;
  align-items: center;
  min-height: 58px;
  padding: 11px 16px;
  border-bottom: 1px solid #2c4652;
}

.ledger-row > span {
  color: var(--trace);
  font-family: var(--font-mono);
  font-size: 0.57rem;
}

.ledger-row strong {
  color: #ecf3f5;
  font-size: 0.77rem;
}

.ledger-row code {
  color: #8fa6b0;
  font-size: 0.59rem;
}

.ledger-seal {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px;
  padding: 19px 16px;
  background: rgba(54, 194, 180, 0.08);
  overflow: hidden;
}

.ledger-seal span {
  color: #8098a3;
  font-family: var(--font-mono);
  font-size: 0.55rem;
}

.ledger-seal strong {
  color: var(--trace);
  font-family: var(--font-mono);
  font-size: 0.66rem;
}


.tools {
  background: var(--paper);
}

.tool-surface {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.tool-scope-note {
  max-width: 900px;
  margin: -25px 0 34px;
  padding-left: 17px;
  border-left: 2px solid var(--ink);
  color: var(--muted);
  font-size: 0.82rem;
}

.tool-scope-note strong {
  color: var(--ink);
}

.tool-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: start;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.tool-list span {
  display: flex;
  gap: 17px;
  align-items: center;
  min-height: 62px;
  padding: 11px 14px;
  border-bottom: 1px solid #e3eaee;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.tool-list span:nth-child(odd) {
  border-right: 1px solid #e3eaee;
}

.tool-list span:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.tool-list i {
  color: var(--signal);
  font-size: 0.54rem;
  font-style: normal;
}

.tool-contract {
  min-width: 0;
  background: var(--ink);
  color: #dce8ed;
}

.contract-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 17px 19px;
  border-bottom: 1px solid var(--line-dark);
}

.contract-title span {
  color: var(--trace);
  font-family: var(--font-mono);
  font-size: 0.69rem;
}

.contract-title small {
  color: #748d98;
  font-size: 0.57rem;
}

.tool-contract pre {
  margin: 0;
  padding: 28px 23px;
  overflow-x: auto;
  font-size: 0.7rem;
  line-height: 1.9;
}

.code-key { color: #9bb5c0; }
.code-value { color: #73dfd3; }
.code-number { color: #f2c473; }

.tool-contract > p {
  margin: 0;
  padding: 13px 19px;
  border-top: 1px solid var(--line-dark);
  color: #748d98;
  font-family: var(--font-mono);
  font-size: 0.54rem;
}

.pilot {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.pilot-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(540px, 1.28fr);
  gap: clamp(70px, 10vw, 140px);
}

.pilot-heading h2 {
  font-size: clamp(3rem, 4.7vw, 4.8rem);
}

.pilot-heading > p:last-child {
  color: var(--muted);
}

.readiness-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
}

.readiness {
  min-width: 0;
}

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

.readiness-title {
  display: flex;
  justify-content: space-between;
  padding: 14px 15px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.55rem;
}

.readiness-title span {
  color: var(--signal);
  font-weight: 800;
}

.readiness.qualifying .readiness-title span {
  color: #9a6717;
}

.readiness-title i {
  color: var(--muted);
  font-style: normal;
}

.readiness ul {
  margin: 0;
  padding: 8px 18px 8px 40px;
  list-style: none;
}

.readiness li {
  position: relative;
  padding-block: 13px;
  border-bottom: 1px solid #e4eaee;
  color: var(--ink-soft);
  font-size: 0.76rem;
  line-height: 1.35;
}

.readiness li:last-child {
  border-bottom: 0;
}

.readiness li::before {
  position: absolute;
  top: 17px;
  left: -20px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--trace);
  content: "";
}

.readiness.qualifying li::before {
  background: transparent;
  border: 1px solid var(--attention);
}

.faq {
  background: var(--paper);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(520px, 1.28fr);
  gap: clamp(70px, 10vw, 150px);
}

.faq-heading h2 {
  font-size: clamp(3rem, 4.9vw, 5rem);
}

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

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: grid;
  grid-template-columns: 1fr 25px;
  gap: 25px;
  align-items: center;
  padding: 28px 2px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  position: relative;
  width: 22px;
  height: 22px;
}

.faq-list summary span::before,
.faq-list summary span::after {
  position: absolute;
  top: 10px;
  left: 3px;
  width: 16px;
  height: 1px;
  background: var(--signal);
  content: "";
  transition: transform 180ms ease;
}

.faq-list summary span::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary span::after {
  transform: rotate(0);
}

.faq-list details p {
  max-width: 680px;
  margin: -6px 40px 27px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(110px, 13vw, 190px);
  background: var(--signal);
  color: var(--white);
}

.cta-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 70% 50%, #000 0, transparent 64%);
}

.final-cta::after {
  position: absolute;
  top: 50%;
  right: -150px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.05), 0 0 0 140px rgba(255, 255, 255, 0.03);
  content: "";
  transform: translateY(-50%);
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content .section-label {
  color: #bdf4ed;
}

.cta-content h2 {
  max-width: 970px;
  font-size: clamp(3.6rem, 7.2vw, 7.4rem);
}

.cta-content > p:not(.section-label) {
  max-width: 670px;
  margin-bottom: 31px;
  color: #dfe9ff;
  font-size: 1.02rem;
}

.cta-note {
  display: block;
  margin-top: 17px;
  color: #c4d5ff;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
}

.site-footer {
  padding-block: 65px 25px;
  background: #071821;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr 0.7fr;
  gap: 70px;
  padding-bottom: 58px;
}

.footer-brand {
  margin-bottom: 18px;
}

.footer-grid > div:first-child p {
  max-width: 330px;
  margin-bottom: 0;
  color: #8199a4;
  font-size: 0.83rem;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 11px;
}

.footer-links a {
  color: #a8bac2;
  font-size: 0.76rem;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--trace);
}

.footer-contact {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-contact span {
  color: #607985;
  font-family: var(--font-mono);
  font-size: 0.54rem;
}

.footer-contact a {
  color: #cbd9de;
  font-size: 0.8rem;
}

.footer-bottom {
  display: flex;
  gap: 35px;
  padding-top: 22px;
  border-top: 1px solid #233a45;
  color: #607985;
  font-family: var(--font-mono);
  font-size: 0.53rem;
  text-transform: uppercase;
}

.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms cubic-bezier(0.2, 0.75, 0.25, 1), transform 620ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.has-js [data-reveal][data-delay="1"] { transition-delay: 90ms; }
.has-js [data-reveal][data-delay="2"] { transition-delay: 180ms; }

.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .nav-menu { gap: 21px; }

  .hero-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 44px;
  }

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

  .architecture {
    padding: 36px 24px;
    grid-template-columns: 0.68fr 0.25fr 1.05fr 0.25fr 1.05fr;
  }

  .pilot-layout,
  .faq-layout {
    grid-template-columns: 0.62fr 1.38fr;
    gap: 60px;
  }
}

@media (max-width: 940px) {
  :root { --shell: min(100% - 40px, 760px); }

  .nav-toggle {
    position: relative;
    z-index: 2;
    display: block;
  }

  .nav > .brand {
    position: relative;
    z-index: 2;
  }

  .nav-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(2) {
    transform: translateY(4px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    z-index: 1;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    padding: 90px 24px 40px;
    background: rgba(244, 245, 242, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu > a:not(.button) {
    font-family: var(--font-display);
    font-size: 2rem;
  }

  .nav-menu .button {
    margin-top: 18px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 100px 80px;
  }

  .hero-copy { max-width: 730px; }
  .execution-frame { max-width: 680px; }

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

  .proof-grid > p {
    grid-column: 1 / -1;
    padding: 17px 0;
    border-top: 1px solid var(--line);
    text-align: center;
  }

  .friction-grid { grid-template-columns: 1fr; }

  .friction-grid article,
  .friction-grid article + article {
    display: grid;
    grid-template-columns: 50px minmax(220px, 0.8fr) 1fr;
    gap: 25px;
    align-items: start;
    min-height: 0;
    padding: 32px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .friction-grid article:last-child { border-bottom: 0; }
  .card-number { margin: 4px 0 0; }
  .friction-grid h3,
  .friction-grid p { margin: 0; }

  .control-layout,
  .evidence-layout,
  .pilot-layout,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 65px;
  }

  .sticky-intro { position: static; }

  .architecture {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 650px;
    margin-inline: auto;
    padding: 30px;
  }

  .architecture-transition {
    width: auto;
    height: 42px;
    margin: 0;
  }

  .architecture-transition span {
    position: static;
  }

  .architecture-label { margin-top: 0; }
  .plane-shell { min-height: 0; }

  .agent-card {
    flex-direction: row;
    gap: 16px;
    min-height: 110px;
    text-align: left;
  }

  .agent-card small { display: block; }

  .evidence-ledger { max-width: 650px; }

  .tool-surface { grid-template-columns: 1fr; }
  .tool-list { border-right: 0; border-bottom: 1px solid var(--line); }

  .pilot-heading,
  .faq-heading { max-width: 680px; }
}

@media (max-width: 680px) {
  :root { --shell: calc(100% - 32px); }

  html { scroll-padding-top: 78px; }
  .nav { min-height: 68px; }
  .site-header.is-scrolled { background: rgba(244, 247, 249, 0.96); }

  h2 { font-size: clamp(2.65rem, 14vw, 4rem); }

  .section { padding-block: 90px; }

  .hero { padding-top: 68px; }
  .hero::before { width: 100%; }

  .hero-grid {
    gap: 62px;
    padding-block: 74px 66px;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 18vw, 5.4rem);
  }

  .hero-lede { font-size: 1rem; }

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

  .hero-actions .button { width: 100%; }
  .assurance-list { flex-direction: column; }

  .execution-frame {
    margin-inline: 1px;
    box-shadow: var(--shadow-lg), 9px 9px 0 rgba(35, 103, 242, 0.1);
  }

  .execution-frame::before,
  .execution-frame::after { display: none; }

  .frame-topline,
  .request-strip,
  .execution-path { padding-inline: 16px; }

  .frame-topline { align-items: start; }
  .frame-topline strong { max-width: 210px; }
  .request-scope { display: none; }

  .path-node { grid-template-columns: 28px 1fr; }
  .node-state { grid-column: 2; }

  .dossier-grid {
    grid-template-columns: 1fr 1fr;
    margin-inline: 16px;
  }

  .dossier-grid > div:nth-child(2) { border-right: 0; }
  .dossier-grid > div:nth-child(-n + 2) { border-bottom: 1px solid var(--line-dark); }

  .resilience-note {
    grid-template-columns: 24px 1fr;
    margin-inline: 16px;
  }

  .resilience-note button { grid-column: 2; justify-self: start; }
  .frame-caption { margin-inline: 16px; }

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

  .proof-grid > div {
    min-height: 92px;
    padding: 15px;
    border-bottom: 1px solid var(--line);
  }

  .proof-grid > div:nth-child(2n) { border-right: 0; }
  .proof-grid > div:nth-child(3),
  .proof-grid > div:nth-child(4) { border-bottom: 0; }
  .proof-grid > p { padding-inline: 15px; }

  .section-intro { margin-bottom: 47px; }

  .friction-grid article,
  .friction-grid article + article {
    grid-template-columns: 36px 1fr;
    gap: 12px 15px;
  }

  .friction-grid article p {
    grid-column: 2;
  }

  .principle {
    grid-template-columns: 52px 1fr;
    gap: 18px;
    padding-block: 35px;
  }

  .principle-icon {
    width: 52px;
    height: 52px;
    transform: scale(0.74);
    transform-origin: top left;
  }

  .principle h3 { font-size: 1.55rem; }

  .split-intro {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .architecture { padding: 21px 16px; }
  .plane-modules { grid-template-columns: 1fr; }
  .worker-card strong { font-size: 0.69rem; }

  .evidence-copy h2,
  .pilot-heading h2,
  .faq-heading h2 { font-size: clamp(2.85rem, 14vw, 4.1rem); }

  .evidence-ledger { box-shadow: none; }

  .ledger-header span:last-child { display: none; }
  .ledger-row { grid-template-columns: 24px 1fr; }
  .ledger-row code { grid-column: 2; }

  .tool-list {
    grid-template-columns: 1fr;
    padding: 13px;
  }

  .tool-list span:nth-child(odd) { border-right: 0; }
  .tool-list span:nth-last-child(2) { border-bottom: 1px solid #e3eaee; }
  .tool-contract pre { font-size: 0.61rem; }

  .readiness-columns { grid-template-columns: 1fr; }
  .readiness + .readiness { border-top: 1px solid var(--line); border-left: 0; }

  .faq-list summary { font-size: 1.2rem; }

  .cta-content h2 { font-size: clamp(3.15rem, 16vw, 5rem); }
  .cta-content .button { width: 100%; }

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

  .footer-bottom {
    flex-direction: column;
    gap: 9px;
  }
}

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

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

  .has-js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/*
 * Monochrome product system
 * Mineral white and deep ink are the only base colors. Hierarchy comes from
 * spacing, rules, and opacity—not decorative accent colors or elevated cards.
 */
:root {
  --ink: #0b1f2a;
  --ink-soft: rgba(11, 31, 42, 0.84);
  --paper: #f4f5f2;
  --white: #f4f5f2;
  --signal: #0b1f2a;
  --signal-dark: #0b1f2a;
  --trace: #0b1f2a;
  --attention: #0b1f2a;
  --muted: rgba(11, 31, 42, 0.62);
  --line: rgba(11, 31, 42, 0.17);
  --line-dark: rgba(244, 245, 242, 0.2);
  --shadow-sm: none;
  --shadow-lg: none;
}

body,
.hero,
.friction,
.control-plane,
.deployment,
.tools,
.pilot,
.faq {
  background: var(--paper);
}

.hero {
  background-image: none;
}

.hero::before,
.control-plane::before,
.evidence::before,
.cta-grid,
.final-cta::after,
.execution-frame::before,
.execution-frame::after {
  display: none;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(244, 245, 242, 0.94);
  box-shadow: none;
}

.button-primary,
.button-dark {
  background: var(--ink);
  box-shadow: none;
  color: var(--paper);
}

.button-primary:hover,
.button-dark:hover {
  background: var(--paper);
  border-color: var(--ink);
  box-shadow: none;
  color: var(--ink);
}

.button-light {
  background: var(--paper);
  color: var(--ink);
}

.button-light:hover {
  background: transparent;
  border-color: var(--paper);
  color: var(--paper);
}

.text-link:hover,
.hero h1 span,
.eyebrow,
.section-label,
.proof-grid strong,
.card-number,
.principle-kicker,
.tool-list i,
.readiness-title span,
.readiness.qualifying .readiness-title span {
  color: var(--ink);
}

.status-dot,
.assurance-list li::before,
.readiness li::before,
.readiness.qualifying li::before {
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: none;
}

.hero-lede,
.proof-grid span,
.proof-grid > p,
.friction-grid p,
.sticky-intro > p:not(.section-label),
.principle p:last-child,
.split-intro > p,
.pilot-heading > p:last-child,
.faq-list details p {
  color: var(--muted);
}

.execution-frame,
.evidence,
.tool-contract,
.final-cta,
.site-footer {
  --signal: var(--paper);
  --trace: var(--paper);
  --attention: var(--paper);
  --muted: rgba(244, 245, 242, 0.64);
  --line: rgba(244, 245, 242, 0.18);
  --line-dark: rgba(244, 245, 242, 0.2);
  background: var(--ink);
  color: var(--paper);
}

.execution-frame {
  border-color: var(--ink);
  box-shadow: none;
}

.frame-topline,
.request-strip,
.dossier-grid,
.resilience-note,
.tool-contract,
.evidence-ledger {
  border-color: var(--line-dark);
}

.frame-topline strong,
.request-strip code,
.path-node strong,
.dossier-grid code,
.ledger-row strong {
  color: var(--paper);
}

.frame-kicker,
.request-scope,
.path-node small,
.dossier-grid span,
.frame-caption,
.contract-title small,
.tool-contract > p,
.ledger-header,
.ledger-row code,
.ledger-seal span,
.footer-grid > div:first-child p,
.footer-bottom,
.footer-contact span {
  color: rgba(244, 245, 242, 0.52);
}

.live-state,
.node-state,
.resilience-note small,
.resilience-note strong,
.resilience-note button,
.contract-title span,
.code-value,
.code-number,
.ledger-row > span,
.ledger-seal strong,
.section-label.light,
.cta-content .section-label {
  color: var(--paper);
}

.live-state i,
.path-node.is-complete .node-index,
.path-node.is-active .node-index {
  background: var(--paper);
  box-shadow: none;
  color: var(--ink);
}

.request-strip,
.dossier-grid,
.resilience-note,
.evidence-ledger,
.ledger-seal {
  background: rgba(244, 245, 242, 0.035);
}

.request-method {
  background: var(--paper);
  color: var(--ink);
}

.path-node.is-active {
  border-color: rgba(244, 245, 242, 0.48);
  background: rgba(244, 245, 242, 0.06);
}

.node-index,
.dossier-grid,
.dossier-grid > div,
.path-connector::before,
.ledger-row,
.ledger-header,
.tool-contract > p,
.contract-title {
  border-color: var(--line-dark);
}

.path-connector::before {
  background: rgba(244, 245, 242, 0.25);
}

.path-connector span,
.live-state i {
  background: var(--paper);
}

.resilience-note {
  border-left-color: var(--paper);
}

.architecture {
  background: var(--paper);
  background-image: none;
  box-shadow: none;
}

.architecture-card,
.plane-shell,
.worker-card {
  background: var(--paper);
  box-shadow: none;
}

.plane-shell {
  border-color: var(--ink);
  box-shadow: none;
}

.plane-modules span {
  border-color: var(--line);
  background: transparent;
}

.policy-icon span,
.capacity-icon span {
  border-color: var(--ink);
}

.identity-icon span:nth-child(1),
.identity-icon::before,
.identity-icon::after,
.capacity-icon span::after,
.evidence-icon span::before,
.worker-card > i,
.worker-card > i.proofed {
  background: var(--ink);
}

.policy-icon::after,
.identity-icon span,
.capacity-icon span {
  border-color: var(--ink);
}

.evidence-icon span {
  background: var(--ink);
}

.evidence-copy > p:not(.section-label):not(.qualification-note),
.qualification-note,
.cta-content > p:not(.section-label),
.cta-note,
.proof-meta span,
.footer-links a,
.footer-contact a {
  color: rgba(244, 245, 242, 0.66);
}

.qualification-note,
.proof-meta span,
.evidence-ledger,
.ledger-row,
.ledger-header {
  border-color: rgba(244, 245, 242, 0.28);
}

.tool-surface,
.readiness-columns {
  background: var(--paper);
  box-shadow: none;
}

.code-key,
.code-value,
.code-number {
  color: var(--paper);
}

.final-cta {
  background: var(--ink);
}

.site-footer {
  background: var(--ink);
}

.footer-bottom {
  border-color: rgba(244, 245, 242, 0.2);
}

.proof-band {
  background: var(--paper);
}

.principle-icon,
.capacity-icon span {
  background: transparent;
}

.tool-list span,
.readiness li {
  border-color: var(--line);
}

.resilience-note button {
  border-color: rgba(244, 245, 242, 0.55);
}

.node-index {
  color: rgba(244, 245, 242, 0.58);
}

@media (max-width: 940px) {
  .has-js .nav-menu {
    visibility: hidden;
  }

  .has-js .nav-menu.is-open {
    visibility: visible;
  }

  html:not(.has-js) .site-header {
    position: static;
    border-bottom-color: var(--line);
  }

  html:not(.has-js) .nav {
    flex-wrap: wrap;
    padding-block: 14px;
  }

  html:not(.has-js) .nav-toggle {
    display: none;
  }

  html:not(.has-js) .nav-menu {
    position: static;
    display: flex;
    flex-basis: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px 20px;
    width: 100%;
    padding: 18px 0 0;
    background: transparent;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  html:not(.has-js) .nav-menu > a:not(.button) {
    display: inline-flex;
    font-family: var(--font-body);
    font-size: 0.82rem;
  }

  html:not(.has-js) .nav-menu .button {
    width: 100%;
    margin-top: 7px;
  }

  html:not(.has-js) .hero {
    padding-top: 0;
  }
}

.error-page {
  min-height: 100vh;
  background: var(--paper);
}

.error-page main {
  display: grid;
  min-height: 100vh;
  padding: 38px clamp(24px, 6vw, 80px) 70px;
}

.error-brand {
  align-self: start;
  justify-self: start;
}

.error-content {
  align-self: center;
  max-width: 760px;
  padding-block: 90px;
}

.error-content h1 {
  margin-bottom: 24px;
  font-size: clamp(4rem, 10vw, 8rem);
}

.error-content > p:not(.section-label) {
  margin-bottom: 32px;
  color: var(--muted);
}

/* Quiet ink-on-paper system: no directional decoration and no large color fields. */
::selection {
  background: rgba(11, 31, 42, 0.14);
  color: var(--ink);
}

.hero h1 {
  font-size: clamp(3.7rem, 5.8vw, 6.25rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h2 {
  font-size: clamp(2.65rem, 4.6vw, 4.8rem);
}

.button {
  border-radius: 4px;
  box-shadow: none;
}

.button-primary,
.button-light {
  border-color: var(--ink);
  background: var(--ink);
  box-shadow: none;
  color: var(--paper);
}

.button-primary:hover,
.button-light:hover {
  border-color: var(--ink);
  background: transparent;
  box-shadow: none;
  color: var(--ink);
}

.button-dark {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.button-dark:hover {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.text-link {
  gap: 0;
  transition: color 160ms ease;
}

.text-link:hover {
  gap: 0;
  color: var(--ink);
}

.execution-frame,
.evidence,
.final-cta,
.site-footer {
  --signal: var(--ink);
  --trace: var(--ink);
  --attention: var(--ink);
  --muted: rgba(11, 31, 42, 0.62);
  --line: rgba(11, 31, 42, 0.17);
  --line-dark: rgba(11, 31, 42, 0.17);
  background: var(--paper);
  color: var(--ink);
}

.execution-frame {
  border-color: var(--line);
}

.frame-topline,
.request-strip,
.dossier-grid,
.dossier-grid > div,
.resilience-note,
.evidence-ledger,
.ledger-header,
.ledger-row {
  border-color: var(--line);
}

.request-strip,
.dossier-grid,
.resilience-note,
.evidence-ledger,
.ledger-seal {
  background: transparent;
}

.frame-topline strong,
.request-strip code,
.path-node strong,
.dossier-grid code,
.resilience-note strong,
.ledger-row strong,
.ledger-seal strong {
  color: var(--ink);
}

.frame-kicker,
.request-scope,
.path-node small,
.dossier-grid span,
.frame-caption,
.ledger-header,
.ledger-row code,
.ledger-seal span,
.footer-grid > div:first-child p,
.footer-bottom,
.footer-contact span {
  color: var(--muted);
}

.live-state,
.node-state,
.resilience-note small,
.resilience-note button,
.ledger-row > span,
.section-label.light,
.cta-content .section-label {
  color: var(--ink);
}

.live-state i,
.path-node.is-complete .node-index,
.path-node.is-active .node-index {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.request-method {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}

.path-node.is-active {
  border-color: var(--line);
  background: transparent;
  transform: none;
}

.node-index {
  border-color: var(--line);
  color: var(--muted);
}

.path-connector::before {
  background: var(--line);
}

.path-connector span {
  background: var(--ink);
}

.resilience-note {
  border-left-color: var(--line);
}

.resilience-note button {
  border-color: var(--ink);
}

.evidence {
  border-block: 1px solid var(--line);
}

.evidence-copy h2,
.cta-content h2 {
  color: var(--ink);
}

.evidence-copy h2 {
  font-size: clamp(2.8rem, 4.6vw, 4.8rem);
}

.evidence-copy > p:not(.section-label):not(.qualification-note),
.qualification-note,
.cta-content > p:not(.section-label),
.cta-note,
.footer-links a,
.footer-contact a {
  color: var(--muted);
}

.qualification-note {
  border-left-color: var(--line);
}

.cta-content h2 {
  font-size: clamp(3rem, 5.8vw, 6rem);
}

.final-cta {
  border-top: 1px solid var(--line);
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-bottom {
  border-color: var(--line);
}

@media (max-width: 620px) {
  .hero h1 {
    font-size: clamp(3.25rem, 15vw, 4.6rem);
  }

  .resilience-note {
    grid-template-columns: 1fr;
  }

  .resilience-note button {
    grid-column: 1;
  }
}

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

.hero-grid.hero-simple {
  grid-template-columns: minmax(0, 880px);
  gap: 0;
  min-height: 650px;
}

.hero-simple .hero-copy,
.hero-simple h1 {
  max-width: 880px;
}

.hero-simple .hero-lede {
  max-width: 730px;
}

@media (max-width: 940px) {
  .hero-grid.hero-simple {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
}
