:root {
  --night: #111411;
  --night-soft: #1a1e19;
  --night-line: #333830;
  --paper: #f2f0e7;
  --paper-deep: #e6e3d7;
  --white: #fbfaf4;
  --ink: #171a17;
  --body: #50544d;
  --muted: #747970;
  --line: #cbc9bf;
  --line-soft: #dedcd2;
  --signal: #dcff54;
  --signal-deep: #b9d940;
  --red: #bc472e;
  --green: #2e684b;
  --blue: #356782;
  --font: "Archivo", "Arial Narrow", Arial, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --max: 1380px;
  --gutter: clamp(1rem, 3vw, 3.25rem);
  --section: clamp(5.5rem, 10vw, 10rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
p, h1, h2, h3, h4, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[x-cloak] { display: none !important; }

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

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

.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 200;
  padding: .7rem 1rem;
  background: var(--signal);
  color: var(--night);
  font-family: var(--mono);
  font-size: .75rem;
  transition: top 160ms ease;
}
.skip-link:focus { top: 1rem; }

.shell {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.kicker {
  display: flex;
  align-items: center;
  gap: .9rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .09em;
  line-height: 1;
  text-transform: uppercase;
}
.kicker span {
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  border: 1px solid currentColor;
}
.kicker--signal { color: var(--signal); }

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: .85rem 1rem;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  font-size: .83rem;
  font-weight: 650;
  letter-spacing: -.01em;
  line-height: 1;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease, transform 150ms ease;
}
.button span { font-family: var(--mono); font-size: .85em; }
.button:hover { transform: translateY(-2px); }
.button--signal { background: var(--signal); color: var(--night); }
.button--signal:hover { background: var(--signal-deep); }
.button--dark-line { border-color: var(--night-line); color: var(--white); }
.button--dark-line:hover { border-color: #777d70; }
.button--line { border-color: var(--line); color: var(--ink); }
.button--line:hover { border-color: var(--ink); }
.button--small { min-height: 2.55rem; gap: 1.25rem; padding: .65rem .8rem; font-size: .75rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--night-line);
  background: var(--night);
  color: var(--white);
}
.site-header__inner { display: flex; min-height: 4.5rem; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: .7rem; flex: 0 0 auto; }
.brand__block {
  display: grid;
  width: 1.85rem;
  height: 1.85rem;
  place-items: center;
  background: var(--signal);
  color: var(--night);
  font-size: .82rem;
  font-weight: 800;
  line-height: 1;
}
.brand__name { color: var(--white); font-size: 1rem; font-weight: 670; letter-spacing: -.045em; }
.site-header__panel { display: flex; width: 100%; align-items: center; }
.primary-nav { display: flex; gap: clamp(1.2rem, 2.5vw, 2.8rem); margin-left: clamp(2.5rem, 6vw, 6rem); }
.primary-nav a, .text-action {
  color: #aeb3a8;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .02em;
  transition: color 140ms ease;
}
.primary-nav a:hover, .text-action:hover { color: var(--white); }
.header-actions { display: flex; align-items: center; gap: 1.6rem; margin-left: auto; }
.nav-toggle { display: none; margin-left: auto; border: 0; background: none; color: var(--white); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 0 0 clamp(4rem, 8vw, 8rem);
  background: var(--night);
  color: var(--white);
}
.hero__topline {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--night-line);
  color: #777d72;
  font-family: var(--mono);
  font-size: .59rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero__topline span:nth-child(2) { text-align: center; }
.hero__topline span:last-child { text-align: right; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 2.05fr) minmax(20rem, .95fr);
  gap: clamp(3rem, 8vw, 8.5rem);
  align-items: end;
  padding: clamp(5rem, 10vw, 9rem) 0 clamp(4rem, 8vw, 7rem);
}
.hero h1 {
  max-width: 12ch;
  margin-top: 2rem;
  font-size: clamp(4rem, 8.2vw, 8.2rem);
  font-stretch: 82%;
  font-variation-settings: "wdth" 82;
  font-weight: 570;
  letter-spacing: -.075em;
  line-height: .84;
  text-wrap: balance;
}
.hero h1 em { color: var(--signal); font-style: normal; }
.hero__intro { padding-bottom: .4rem; }
.hero__intro > p:first-child {
  max-width: 32rem;
  color: #c3c7bd;
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  font-weight: 330;
  letter-spacing: -.015em;
  line-height: 1.55;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 2rem; }
.hero__note { margin-top: 1rem; color: #747a70; font-family: var(--mono); font-size: .62rem; }

/* Hero application window */
.hero-product {
  position: relative;
  display: grid;
  grid-template-columns: 2.8rem minmax(0, 1fr);
  border: 1px solid #3d433a;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .32);
}
.hero-product__rail {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.2rem;
  padding: 1rem 0;
  background: var(--signal);
  color: var(--night);
  font-family: var(--mono);
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.hero-product__rail i { width: 1px; height: 3rem; background: var(--night); }
.hero-product__caption {
  position: absolute;
  right: 0;
  bottom: -2.2rem;
  color: #72786e;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .02em;
}
.hero-product__caption span { color: var(--signal); }
.product-window { min-width: 0; background: #edf0e9; color: #1e2520; }
.window-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 3rem;
  padding: 0 1rem;
  border-bottom: 1px solid #30372f;
  background: #1a201b;
  color: #bec4b9;
  font-size: .62rem;
}
.window-bar__brand { display: flex; align-items: center; gap: .65rem; }
.window-bar__brand b { display: grid; width: 1.45rem; height: 1.45rem; place-items: center; background: var(--signal); color: var(--night); }
.window-bar__context { font-family: var(--mono); color: #858c82; }
.window-bar__person { display: grid; width: 1.55rem; height: 1.55rem; place-items: center; justify-self: end; border: 1px solid #52594f; font-family: var(--mono); font-size: .55rem; }
.app-frame { display: grid; grid-template-columns: 11.25rem minmax(0, 1fr); min-height: 33.5rem; }
.app-nav { padding: 1.3rem .8rem; border-right: 1px solid #d3d7d0; background: #e6e9e2; }
.app-nav__project { padding: .55rem .7rem 1.1rem; color: #596158; font-family: var(--mono); font-size: .67rem; }
.app-nav__label { padding: 1.15rem .7rem .35rem; color: #929890; font-family: var(--mono); font-size: .5rem; letter-spacing: .1em; text-transform: uppercase; }
.app-nav__item { display: flex; align-items: center; gap: .55rem; min-height: 2rem; padding: .35rem .65rem; color: #636a62; font-size: .65rem; }
.app-nav__item i { width: .52rem; height: .52rem; border: 1px solid #939a91; }
.app-nav__item b { margin-left: auto; color: #797f77; font-family: var(--mono); font-size: .52rem; }
.app-nav__item.is-active { background: #d7dbd3; color: #20261f; font-weight: 650; }
.app-nav__item.is-active i { border-color: var(--green); background: var(--green); }
.app-main { min-width: 0; padding: 1.8rem; }
.app-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.app-eyebrow, .panel-label { display: block; color: #8b9289; font-family: var(--mono); font-size: .52rem; letter-spacing: .04em; text-transform: uppercase; }
.app-heading h2 { margin-top: .25rem; font-size: 1.5rem; font-weight: 620; letter-spacing: -.045em; line-height: 1; }
.app-sync { display: flex; align-items: center; gap: .35rem; color: #687068; font-family: var(--mono); font-size: .52rem; }
.app-sync i { width: .45rem; height: .45rem; background: var(--green); border-radius: 50%; }
.pulse-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 1.5rem; border: 1px solid #d1d5ce; background: #f6f7f3; }
.pulse-strip > div { padding: 1rem; border-right: 1px solid #d1d5ce; }
.pulse-strip > div:last-child { border-right: 0; }
.pulse-strip span, .pulse-strip small { display: block; color: #7e857d; font-size: .53rem; }
.pulse-strip span { font-family: var(--mono); text-transform: uppercase; }
.pulse-strip strong { display: block; margin: .25rem 0 .18rem; font-size: 1.15rem; font-weight: 620; letter-spacing: -.04em; }
.pulse-strip small.is-alert { color: var(--red); }
.command-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(14rem, .75fr); gap: .75rem; margin-top: .75rem; }
.command-panel { min-width: 0; padding: 1rem; border: 1px solid #d1d5ce; background: #f6f7f3; }
.command-panel--activity { grid-column: 1 / -1; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.panel-head h3 { margin-top: .22rem; font-size: .8rem; font-weight: 630; }
.panel-meta { color: #929991; font-family: var(--mono); font-size: .49rem; }
.panel-count { color: var(--red); font-family: var(--mono); font-size: .65rem; }
.cost-bars { margin-top: 1.2rem; }
.cost-bars__scale { display: flex; justify-content: space-between; margin-left: 5rem; color: #9ba19a; font-family: var(--mono); font-size: .43rem; }
.cost-line { display: grid; grid-template-columns: 4.5rem 1fr 2rem; gap: .5rem; align-items: center; margin-top: .65rem; color: #626961; font-size: .53rem; }
.cost-line i { display: block; width: var(--size); height: .68rem; background: #273d2e; }
.cost-line--actual i { background: var(--signal-deep); }
.cost-line b { font-family: var(--mono); font-size: .48rem; font-weight: 500; }
.exception-list { margin-top: .65rem; }
.exception-list li { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) auto; gap: .5rem; align-items: center; padding: .55rem 0; border-top: 1px solid #dde0da; }
.exception-list span, .exception-list b { font-family: var(--mono); font-size: .43rem; font-weight: 500; }
.exception-list span { color: #7a8279; }
.exception-list p { min-width: 0; overflow: hidden; font-size: .53rem; text-overflow: ellipsis; white-space: nowrap; }
.exception-list b { color: var(--red); }
.activity-grid { display: grid; grid-template-columns: 10rem 1fr; gap: 1.4rem; margin-top: .8rem; }
.activity-total { display: flex; align-items: flex-end; gap: .55rem; border-right: 1px solid #d9ddd6; }
.activity-total strong { font-size: 2.1rem; font-weight: 590; letter-spacing: -.06em; line-height: .9; }
.activity-total span { color: #737a72; font-size: .51rem; line-height: 1.15; }
.activity-grid dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.activity-grid dl div { display: flex; flex-direction: column; justify-content: flex-end; }
.activity-grid dt { color: #878e86; font-size: .48rem; }
.activity-grid dd { margin-top: .2rem; font-family: var(--mono); font-size: .67rem; }

/* Facts */
.proof-strip { border-bottom: 1px solid var(--line); background: var(--paper); }
.proof-strip__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 2rem; }
.proof-strip__grid > div { padding: .2rem 1.7rem; border-left: 1px solid var(--line); }
.proof-strip__grid > div:first-child { padding-left: 0; border-left: 0; }
.proof-strip strong, .proof-strip span { display: block; }
.proof-strip strong { font-size: 1.15rem; font-weight: 630; letter-spacing: -.035em; }
.proof-strip span { margin-top: .15rem; color: var(--muted); font-size: .72rem; }

/* Record chain */
.record { padding: var(--section) 0; background: var(--paper); }
.record__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; }
.record__intro h2, .roles__head h2, .pricing__head h2, .faq__intro h2 {
  max-width: 11ch;
  margin-top: 1.5rem;
  font-size: clamp(2.6rem, 5vw, 5.2rem);
  font-stretch: 86%;
  font-variation-settings: "wdth" 86;
  font-weight: 570;
  letter-spacing: -.065em;
  line-height: .94;
}
.record__copy { align-self: end; padding: 0 0 .6rem; }
.record__copy p { max-width: 38rem; color: var(--body); font-size: clamp(1rem, 1.45vw, 1.25rem); font-weight: 340; line-height: 1.6; }
.record-chain { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(4rem, 8vw, 7.5rem); }
.record-chain article { position: relative; min-height: 20rem; padding: 1.2rem 1.6rem 2rem; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); }
.record-chain article:last-child { border-right: 1px solid var(--line); }
.record-chain article::after { content: "→"; position: absolute; top: -1.05rem; right: -1.05rem; z-index: 2; display: grid; width: 2rem; height: 2rem; place-items: center; border: 1px solid var(--ink); background: var(--paper); font-family: var(--mono); font-size: .7rem; }
.record-chain article:last-child::after { display: none; }
.record-chain__number { color: var(--muted); font-family: var(--mono); font-size: .58rem; }
.record-chain__mark { display: grid; width: 4.5rem; height: 4.5rem; margin-top: 3rem; place-items: center; border: 1px solid var(--ink); font-family: var(--mono); font-size: .82rem; }
.record-chain article:nth-child(3) .record-chain__mark { background: var(--signal); }
.record-chain h3 { margin-top: 1.4rem; font-size: 1.15rem; font-weight: 620; letter-spacing: -.025em; }
.record-chain p { margin-top: .25rem; color: var(--body); font-family: var(--mono); font-size: .62rem; }
.record-chain small { display: block; max-width: 16rem; margin-top: 1.5rem; color: var(--muted); font-size: .68rem; line-height: 1.5; }

/* Product story */
.platform { padding: var(--section) 0; background: var(--night); color: var(--white); }
.platform__head { display: grid; grid-template-columns: .65fr 1.4fr .7fr; gap: 4vw; align-items: end; padding-bottom: clamp(5rem, 9vw, 8.5rem); }
.platform__head h2 { max-width: 14ch; font-size: clamp(3rem, 6vw, 6.2rem); font-stretch: 84%; font-variation-settings: "wdth" 84; font-weight: 550; letter-spacing: -.07em; line-height: .9; }
.platform__head > p:last-child { max-width: 23rem; color: #92988e; font-size: .88rem; line-height: 1.65; }
.story-layout { display: grid; grid-template-columns: minmax(16rem, .58fr) minmax(0, 1.42fr); gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.story-step { min-height: 72vh; padding: 1.5rem 0 4rem; border-top: 1px solid var(--night-line); opacity: .32; transition: opacity 240ms ease; }
.story-step.is-current { opacity: 1; }
.story-step__index { color: var(--signal); font-family: var(--mono); font-size: .61rem; letter-spacing: .08em; }
.story-step h3 { max-width: 13ch; margin-top: 2rem; font-size: clamp(1.8rem, 3vw, 3.1rem); font-stretch: 87%; font-variation-settings: "wdth" 87; font-weight: 540; letter-spacing: -.055em; line-height: 1; }
.story-step > p { max-width: 28rem; margin-top: 1.4rem; color: #a6aca2; font-size: .9rem; line-height: 1.65; }
.story-step ul { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: 1.8rem; }
.story-step li { color: #7f867c; font-family: var(--mono); font-size: .57rem; }
.story-step li::before { content: "+"; margin-right: .4rem; color: var(--signal); }
.story-stage { position: sticky; top: 6rem; min-width: 0; }
.stage-switcher { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--night-line); border-bottom: 0; }
.stage-switcher button { min-height: 3rem; border: 0; border-right: 1px solid var(--night-line); background: #161a16; color: #777d74; font-family: var(--mono); font-size: .59rem; letter-spacing: .05em; text-transform: uppercase; transition: background-color 140ms ease, color 140ms ease; }
.stage-switcher button:last-child { border-right: 0; }
.stage-switcher button.is-active { background: var(--signal); color: var(--night); }
.stage-window { min-height: 37rem; border: 1px solid #41473e; background: #eef0e9; color: #222821; overflow: hidden; }
.stage-window__top { display: flex; min-height: 3rem; align-items: center; justify-content: space-between; padding: 0 1rem; border-bottom: 1px solid #d0d4cd; background: #dde1d9; color: #5f665d; font-family: var(--mono); font-size: .58rem; }
.stage-window__top b { display: inline-grid; width: 1.35rem; height: 1.35rem; margin-right: .5rem; place-items: center; background: var(--night); color: var(--signal); }
.stage-window__user { display: grid; width: 1.5rem; height: 1.5rem; place-items: center; border: 1px solid #aeb3ab; font-size: .48rem; }
.scene { min-height: 34rem; padding: clamp(1rem, 3vw, 2rem); }
.scene-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; padding-bottom: 1.4rem; border-bottom: 1px solid #cfd3cc; }
.scene-head span { color: #8a9188; font-family: var(--mono); font-size: .5rem; text-transform: uppercase; }
.scene-head h3 { margin-top: .25rem; font-size: 1.3rem; font-weight: 620; letter-spacing: -.04em; }
.scene-head .scene-action { padding: .55rem .7rem; background: #263b2c; color: #fff; font-family: var(--font); font-size: .57rem; text-transform: none; }
.scene-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 1rem 0; border: 1px solid #d2d6cf; background: #f8f9f5; }
.scene-summary > div { display: flex; align-items: baseline; gap: .5rem; padding: .8rem; border-right: 1px solid #d2d6cf; }
.scene-summary > div:last-child { border-right: 0; }
.scene-summary b { font-size: 1.2rem; font-weight: 610; letter-spacing: -.04em; }
.scene-summary span { color: #7c837a; font-family: var(--mono); font-size: .48rem; text-transform: uppercase; }
.data-table { border-top: 1px solid #cdd1ca; }
.data-row { display: grid; grid-template-columns: .7fr 1.65fr .85fr .6fr .7fr; gap: .6rem; align-items: center; min-width: 40rem; padding: .72rem .5rem; border-bottom: 1px solid #d5d9d2; font-size: .58rem; }
.data-row > span:first-child { font-family: var(--mono); }
.data-row strong { overflow: hidden; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.data-row--head { color: #8b9289; font-family: var(--mono); font-size: .46rem; letter-spacing: .05em; text-transform: uppercase; }
.status { justify-self: start; padding: .18rem .35rem; border: 1px solid #c5c9c2; color: #616860; font-family: var(--mono); font-size: .44rem; font-style: normal; }
.status--late { border-color: #d5afa6; background: #f5e7e3; color: #9b3825; }
.status--open { border-color: #aebfc9; background: #e5eef2; color: #365f75; }
.status--done { border-color: #acc8b7; background: #e5f0e9; color: #306047; }
.delivery-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; margin-top: 1.2rem; }
.delivery-board > div { min-height: 22rem; padding: .8rem; border: 1px solid #cdd2ca; background: #e5e8e1; }
.delivery-board > div > span { color: #798078; font-family: var(--mono); font-size: .46rem; letter-spacing: .05em; }
.delivery-board article { margin-top: .8rem; padding: 1rem; border-top: 2px solid #536157; background: #f8f8f4; box-shadow: 0 7px 18px rgba(26, 34, 27, .07); }
.delivery-board article b { color: #727a71; font-family: var(--mono); font-size: .48rem; }
.delivery-board article h4 { margin-top: 1rem; font-size: .72rem; font-weight: 630; }
.delivery-board article p { margin-top: .25rem; color: #747b72; font-size: .55rem; }
.delivery-board article small { display: block; margin-top: 2rem; color: #687068; font-family: var(--mono); font-size: .45rem; }
.delivery-board article small.is-warn { color: var(--red); }
.delivery-board article small.is-good { color: var(--green); }
.scene-summary--cost { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.scene-summary--cost > div { display: block; }
.scene-summary--cost b, .scene-summary--cost span { display: block; }
.scene-summary--cost span { margin-top: .2rem; }
.data-table--cost .data-row { grid-template-columns: .65fr 1.4fr 1fr 1fr 1fr; }
.data-table--cost .data-row > span:nth-child(n+3), .data-table--cost .data-row > b { text-align: right; font-family: var(--mono); }
.is-negative { color: var(--red); }
.valuation-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.valuation-figure { display: flex; min-height: 11rem; flex-direction: column; justify-content: flex-end; padding: 1.2rem; background: #263b2d; color: #fff; }
.valuation-figure span, .valuation-figure small { color: #a8b6aa; font-size: .51rem; }
.valuation-figure span { font-family: var(--mono); text-transform: uppercase; }
.valuation-figure b { margin: .7rem 0 .2rem; color: var(--signal); font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 560; letter-spacing: -.06em; }
.valuation-layout dl { border: 1px solid #d1d5ce; }
.valuation-layout dl div { display: flex; align-items: center; justify-content: space-between; padding: .8rem; border-bottom: 1px solid #d1d5ce; }
.valuation-layout dl div:last-child { border-bottom: 0; }
.valuation-layout dt { color: #757d74; font-size: .55rem; }
.valuation-layout dd { font-family: var(--mono); font-size: .58rem; }
.approval-line { display: flex; align-items: flex-start; padding: 2rem 0; }
.approval-line > span { display: grid; grid-template-columns: 1.5rem 1fr; gap: .12rem .5rem; min-width: 6.5rem; }
.approval-line i { grid-row: 1 / 3; display: grid; width: 1.5rem; height: 1.5rem; place-items: center; border: 1px solid #aeb4ac; border-radius: 50%; color: #778077; font-family: var(--mono); font-size: .48rem; font-style: normal; }
.approval-line b { font-size: .58rem; font-weight: 620; }
.approval-line small { color: #8a9189; font-size: .45rem; }
.approval-line .is-complete i { border-color: var(--green); background: var(--green); color: #fff; }
.approval-line em { width: 4rem; height: 1px; margin: .75rem .5rem 0; background: #bdc2ba; }
.stage-caption { display: flex; justify-content: flex-end; margin-top: .75rem; color: #666c64; font-family: var(--mono); font-size: .55rem; }
.stage-caption span { margin-right: .35rem; color: var(--signal); }

/* Roles */
.roles { padding: var(--section) 0; background: var(--paper); }
.roles__head, .pricing__head { display: grid; grid-template-columns: 1.25fr .75fr; gap: 8vw; align-items: end; }
.roles__head > p, .pricing__head > p { max-width: 31rem; padding-bottom: .5rem; color: var(--body); font-size: .95rem; line-height: 1.65; }
.role-board { margin-top: clamp(4rem, 8vw, 7rem); }
.role-board__head, .role-row { display: grid; grid-template-columns: 1.15fr .32fr .42fr .3fr .38fr 1.35fr; gap: 1rem; align-items: center; }
.role-board__head { padding: .7rem 1rem; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: .56rem; letter-spacing: .05em; text-transform: uppercase; }
.role-board__head span:nth-child(n+2):nth-child(-n+5) { text-align: center; }
.role-row { min-height: 5.2rem; padding: 1rem; border-bottom: 1px solid var(--line); }
.role-row strong { font-size: .93rem; font-weight: 620; }
.role-row i { color: var(--green); font-size: .72rem; font-style: normal; text-align: center; }
.role-row p { color: var(--muted); font-size: .72rem; }
.role-board__key { display: flex; justify-content: flex-end; gap: 1.5rem; padding: .9rem 1rem; color: var(--muted); font-family: var(--mono); font-size: .52rem; }
.role-board__key span { color: var(--green); }

/* Audit */
.audit { padding: var(--section) 0; background: #27322b; color: var(--white); }
.audit__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 9rem); align-items: center; }
.audit__statement h2 { max-width: 12ch; margin-top: 1.5rem; font-size: clamp(2.8rem, 5vw, 5.1rem); font-stretch: 84%; font-variation-settings: "wdth" 84; font-weight: 540; letter-spacing: -.065em; line-height: .94; }
.audit__statement > p:not(.kicker) { max-width: 31rem; margin-top: 1.8rem; color: #b1b8af; font-size: .91rem; line-height: 1.7; }
.line-link { display: flex; max-width: 20rem; align-items: center; justify-content: space-between; margin-top: 2.5rem; padding: .85rem 0; border-bottom: 1px solid #667068; color: var(--signal); font-size: .78rem; font-weight: 600; transition: border-color 140ms ease; }
.line-link:hover { border-color: var(--signal); }
.audit-log { border: 1px solid #535e55; background: #f0f1eb; color: #232923; box-shadow: 1.25rem 1.25rem 0 #1a211c; }
.audit-log__head, .audit-log__base { display: flex; align-items: center; justify-content: space-between; padding: .85rem 1rem; border-bottom: 1px solid #cdd1ca; color: #6f776e; font-family: var(--mono); font-size: .51rem; }
.audit-log__head i { padding: .2rem .35rem; border: 1px solid #aeb5ac; color: var(--green); font-style: normal; }
.audit-log ol { padding: .6rem 1rem; }
.audit-log li { display: grid; grid-template-columns: 4rem 2rem 1fr; gap: .8rem; align-items: start; padding: 1rem 0; border-bottom: 1px solid #d6dad3; }
.audit-log li:last-child { border-bottom: 0; }
.audit-log time { padding-top: .3rem; color: #8a9188; font-family: var(--mono); font-size: .48rem; }
.audit-initial { display: grid; width: 2rem; height: 2rem; place-items: center; background: #dce0d9; color: #4f574f; font-family: var(--mono); font-size: .51rem; }
.audit-log li p { font-size: .65rem; }
.audit-log li strong, .audit-log li b { font-weight: 640; }
.audit-log li b { color: var(--green); font-family: var(--mono); font-size: .58rem; }
.audit-log li small { display: block; margin-top: .25rem; color: #858c83; font-size: .54rem; }
.audit-log__base { border-top: 1px solid #cdd1ca; border-bottom: 0; }

/* Pricing */
.pricing { padding: var(--section) 0; background: var(--paper-deep); }
.price-board { display: grid; grid-template-columns: .78fr 1.1fr .78fr; margin-top: clamp(4rem, 8vw, 7rem); padding-inline: var(--gutter); }
.price-option { display: flex; min-height: 34rem; flex-direction: column; padding: 1.7rem; border: 1px solid var(--line); border-right: 0; background: var(--paper); }
.price-option:last-child { border-right: 1px solid var(--line); }
.price-option--main { margin: -1.5rem 0; padding-top: 3.2rem; padding-bottom: 3.2rem; border-color: var(--night); background: var(--night); color: var(--white); }
.price-option__index { color: var(--muted); font-family: var(--mono); font-size: .58rem; letter-spacing: .06em; }
.price-option--main .price-option__index { color: var(--signal); }
.price-option h3 { margin-top: 2rem; font-size: 1.15rem; font-weight: 620; }
.price-option__price { margin-top: 1.5rem; font-size: clamp(2rem, 3vw, 3rem); font-stretch: 88%; font-variation-settings: "wdth" 88; font-weight: 560; letter-spacing: -.055em; line-height: 1; }
.price-option__price span { color: var(--muted); font-size: .65rem; font-weight: 400; letter-spacing: 0; }
.price-option__meta { margin-top: .55rem; color: var(--muted); font-family: var(--mono); font-size: .55rem; }
.price-option ul { margin: 2.3rem 0; }
.price-option li { padding: .68rem 0 .68rem 1rem; border-top: 1px solid var(--line-soft); color: var(--body); font-size: .72rem; }
.price-option li::before { content: "+"; margin-left: -1rem; margin-right: .5rem; font-family: var(--mono); }
.price-option--main li { border-color: var(--night-line); color: #b3b9af; }
.price-option--main li::before { color: var(--signal); }
.price-option .button { width: 100%; margin-top: auto; }

/* FAQ */
.faq { padding: var(--section) 0; background: var(--paper); }
.faq__grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 8vw; align-items: start; }
.faq__intro { position: sticky; top: 7rem; }
.faq__intro > p:last-child { margin-top: 2rem; color: var(--muted); font-size: .8rem; }
.faq__intro a { border-bottom: 1px solid var(--ink); color: var(--ink); }
.faq__list { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: grid; grid-template-columns: 3rem 1fr 2rem; gap: .8rem; align-items: center; padding: 1.5rem 0; color: var(--ink); font-size: .96rem; font-weight: 560; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { color: var(--muted); font-family: var(--mono); font-size: .55rem; }
.faq summary::after { content: "+"; justify-self: end; font-family: var(--mono); font-size: 1rem; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 42rem; padding: 0 2rem 1.8rem 3.8rem; color: var(--body); font-size: .84rem; line-height: 1.7; }

/* Closing and footer */
.closing { padding: clamp(5rem, 9vw, 8rem) 0; background: var(--night); color: var(--white); }
.closing__inner { display: grid; grid-template-columns: .18fr 1.15fr .67fr; gap: 4vw; align-items: end; }
.closing__number { color: var(--signal); font-family: var(--mono); font-size: clamp(2.5rem, 6vw, 6rem); line-height: .8; }
.closing h2 { margin-top: 1.5rem; font-size: clamp(3.2rem, 6vw, 6.4rem); font-stretch: 82%; font-variation-settings: "wdth" 82; font-weight: 540; letter-spacing: -.075em; line-height: .87; }
.closing__action p { max-width: 26rem; color: #9aa096; font-size: .88rem; line-height: 1.65; }
.closing__action .button { margin-top: 2rem; }
.closing__sales { margin-left: 1rem; color: #858b82; font-size: .7rem; border-bottom: 1px solid #555b53; }
.footer { padding: 3rem 0 1.5rem; border-top: 1px solid var(--night-line); background: var(--night); color: var(--white); }
.footer__top { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; padding-bottom: 2rem; border-bottom: 1px solid var(--night-line); color: #878d84; font-size: .68rem; }
.footer__top p { text-align: center; }
.footer__top > a:last-child { justify-self: end; border-bottom: 1px solid #555b53; }
.footer__links { display: grid; grid-template-columns: repeat(3, .6fr) 1.2fr; gap: 3rem; padding-top: 3rem; padding-bottom: 4rem; }
.footer__links h3 { margin-bottom: 1rem; color: #686f66; font-family: var(--mono); font-size: .55rem; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
.footer__links > div:not(.footer__stamp) a { display: table; margin-top: .55rem; color: #aeb4aa; font-size: .7rem; transition: color 140ms ease; }
.footer__links > div:not(.footer__stamp) a:hover { color: var(--signal); }
.footer__stamp { justify-self: end; color: var(--signal); font-size: clamp(1.9rem, 4vw, 4.2rem); font-stretch: 78%; font-variation-settings: "wdth" 78; font-weight: 650; letter-spacing: -.07em; line-height: .72; text-align: right; }
.footer__stamp span { display: block; }
.footer__base { display: flex; justify-content: space-between; padding-top: 1.2rem; border-top: 1px solid var(--night-line); color: #5d635c; font-family: var(--mono); font-size: .51rem; }

/* Motion */
.reveal { opacity: 0; transform: translateY(2rem); transition: opacity 650ms ease, transform 650ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: 1.65fr .85fr; gap: 4rem; }
  .hero h1 { font-size: clamp(4rem, 9vw, 6.7rem); }
  .app-frame { grid-template-columns: 9rem minmax(0, 1fr); }
  .app-nav { padding-inline: .55rem; }
  .app-main { padding: 1.2rem; }
  .command-grid { grid-template-columns: 1fr; }
  .command-panel--activity { grid-column: auto; }
  .platform__head { grid-template-columns: .5fr 1.25fr .75fr; }
  .story-layout { grid-template-columns: minmax(15rem, .52fr) minmax(0, 1.48fr); gap: 3rem; }
  .stage-window { min-height: 33rem; }
  .scene { min-height: 30rem; }
  .price-board { grid-template-columns: .8fr 1.1fr .8fr; }
}

@media (max-width: 900px) {
  .site-header__inner { flex-wrap: wrap; }
  .nav-toggle { display: flex; align-items: center; gap: .8rem; padding: .6rem 0; }
  .nav-toggle__label { font-family: var(--mono); font-size: .62rem; text-transform: uppercase; }
  .nav-toggle__lines, .nav-toggle__lines::before { display: block; width: 1.2rem; height: 1px; background: currentColor; transition: transform 160ms ease; }
  .nav-toggle__lines { position: relative; transform: translateY(-2px); }
  .nav-toggle__lines::before { content: ""; position: absolute; top: 5px; }
  .site-header[data-open="true"] .nav-toggle__lines { transform: translateY(2px) rotate(45deg); }
  .site-header[data-open="true"] .nav-toggle__lines::before { top: 0; transform: rotate(-90deg); }
  .site-header__panel { display: none; width: 100%; flex-direction: column; align-items: stretch; padding: 1rem 0 1.5rem; border-top: 1px solid var(--night-line); }
  .site-header[data-open="true"] .site-header__panel { display: flex; }
  .primary-nav { flex-direction: column; gap: 0; margin: 0; }
  .primary-nav a { padding: .9rem 0; border-bottom: 1px solid var(--night-line); }
  .header-actions { width: 100%; margin: 1rem 0 0; }
  .header-actions .button { margin-left: auto; }
  .hero__grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero__intro { max-width: 36rem; }
  .hero h1 { max-width: 10ch; }
  .app-frame { grid-template-columns: 1fr; }
  .app-nav { display: none; }
  .proof-strip__grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem 0; }
  .proof-strip__grid > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .record-chain { grid-template-columns: repeat(2, 1fr); }
  .record-chain article:nth-child(2)::after { display: none; }
  .record-chain article:nth-child(n+3) { border-top-color: var(--line); }
  .record-chain article:nth-child(3) { border-left-color: var(--line); }
  .platform__head { grid-template-columns: 1fr; gap: 1.5rem; }
  .platform__head > p:last-child { margin-left: 0; }
  .story-layout { display: flex; flex-direction: column; }
  .story-stage { position: static; order: -1; width: 100%; }
  .story-copy { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; width: 100%; background: var(--night-line); }
  .story-step { min-height: 0; padding: 2rem; background: var(--night); opacity: 1; }
  .role-board { overflow-x: auto; }
  .role-board__head, .role-row { min-width: 58rem; }
  .role-board__key { min-width: 40rem; justify-content: flex-start; }
  .audit__grid { grid-template-columns: 1fr; }
  .audit__statement h2 { max-width: 14ch; }
  .price-board { grid-template-columns: 1fr; gap: .8rem; }
  .price-option, .price-option:last-child { min-height: 0; border: 1px solid var(--line); }
  .price-option--main { margin: 0; }
  .faq__grid { grid-template-columns: 1fr; gap: 4rem; }
  .faq__intro { position: static; }
  .closing__inner { grid-template-columns: .18fr 1fr; }
  .closing__action { grid-column: 2; }
}

@media (max-width: 680px) {
  :root { --section: 5rem; }
  .button { width: 100%; }
  .site-header__inner { min-height: 4rem; }
  .header-actions { flex-direction: column; align-items: stretch; }
  .header-actions .button { width: 100%; margin: 0; }
  .hero__topline { grid-template-columns: 1fr auto; }
  .hero__topline span:nth-child(2) { display: none; }
  .hero h1 { font-size: clamp(3.5rem, 17vw, 5.4rem); line-height: .86; }
  .hero__grid { padding-top: 4rem; }
  .hero__actions { flex-direction: column; }
  .hero-product { grid-template-columns: 1.8rem minmax(0, 1fr); }
  .hero-product__rail { font-size: .48rem; }
  .window-bar { grid-template-columns: 1fr auto; }
  .window-bar__context { display: none; }
  .app-main { padding: .8rem; }
  .app-heading { align-items: start; }
  .app-heading h2 { font-size: 1.1rem; }
  .app-sync { font-size: .4rem; }
  .pulse-strip { grid-template-columns: repeat(2, 1fr); }
  .pulse-strip > div:nth-child(2) { border-right: 0; }
  .pulse-strip > div:nth-child(-n+2) { border-bottom: 1px solid #d1d5ce; }
  .command-panel--wide { display: none; }
  .activity-grid { grid-template-columns: 1fr; }
  .activity-total { padding-bottom: .8rem; border-right: 0; border-bottom: 1px solid #d9ddd6; }
  .hero-product__caption { max-width: calc(100% - 3rem); text-align: right; }
  .proof-strip__grid { grid-template-columns: 1fr; }
  .proof-strip__grid > div { padding: .8rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .proof-strip__grid > div:last-child { border-bottom: 0; }
  .record__grid, .roles__head, .pricing__head { grid-template-columns: 1fr; gap: 2.5rem; }
  .record-chain { grid-template-columns: 1fr; }
  .record-chain article { min-height: 15rem; border-right: 1px solid var(--line); }
  .record-chain article::after { display: none; }
  .record-chain__mark { margin-top: 2rem; }
  .record-chain small { margin-top: 1rem; }
  .platform__head h2 { font-size: clamp(3rem, 14vw, 4.6rem); }
  .stage-switcher { overflow-x: auto; }
  .stage-switcher button { min-width: 5rem; }
  .stage-window { min-height: 28rem; }
  .scene { min-height: 25rem; padding: .8rem; overflow-x: auto; }
  .scene-head { position: sticky; left: 0; }
  .scene-head h3 { font-size: 1rem; }
  .scene-summary { min-width: 28rem; }
  .data-row { min-width: 38rem; }
  .delivery-board { min-width: 36rem; }
  .valuation-layout { min-width: 32rem; }
  .approval-line { min-width: 31rem; }
  .story-copy { grid-template-columns: 1fr; }
  .story-step { padding: 2rem 0; }
  .audit-log { box-shadow: .65rem .65rem 0 #1a211c; }
  .audit-log li { grid-template-columns: 3.3rem 1.8rem 1fr; gap: .5rem; }
  .audit-initial { width: 1.8rem; height: 1.8rem; }
  .price-board { padding-inline: var(--gutter); }
  .faq summary { grid-template-columns: 2.2rem 1fr 1.2rem; font-size: .85rem; }
  .faq details p { padding-left: 3rem; padding-right: 0; }
  .closing__inner { grid-template-columns: 1fr; }
  .closing__number { display: none; }
  .closing__action { grid-column: auto; }
  .closing__sales { display: table; margin: 1rem 0 0; }
  .footer__top { grid-template-columns: 1fr auto; gap: 1.5rem; }
  .footer__top p { display: none; }
  .footer__links { grid-template-columns: repeat(2, 1fr); }
  .footer__stamp { justify-self: start; text-align: left; }
  .footer__base { gap: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
  .story-step { opacity: 1; }
  .button:hover { transform: none; }
}
