@font-face {
  font-family: "Archivo";
  src: url("./assets/archivo-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("./assets/ibm-plex-mono-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --canvas: #F4F5F2;
  --surface: #FEFEFC;
  --surface-soft: #EAEEE8;
  --surface-blue: #EEF2FF;
  --surface-green: #ECF8F2;
  --surface-coral: #FFF0EC;
  --ink: #17191D;
  --muted: #626A72;
  --faint: #7D858B;
  --line: #D8DCDA;
  --line-strong: #BBC2BE;
  --blue: #5B7CFA;
  --blue-deep: #3558C8;
  --blue-hover: #2949AF;
  --blue-soft: #DDE5FF;
  --coral: #E85E4D;
  --green-bright: #20845F;
  --error: #A13942;
  --success: #236649;
  --radius-panel: 20px;
  --radius-control: 10px;
  --shadow-soft: 0 20px 60px rgba(23, 25, 29, 0.11);
  --shadow-small: 0 8px 24px rgba(23, 25, 29, 0.08);
  --max: 1240px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-inline-size: 0;
  scroll-behavior: smooth;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100dvh;
  min-inline-size: 0;
  margin: 0;
  background: var(--canvas);
}

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

a,
button,
input,
select,
summary,
textarea {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

img {
  display: block;
  max-inline-size: 100%;
  block-size: auto;
}

p,
h1,
h2,
h3,
figure {
  margin-block-start: 0;
}

p {
  text-wrap: pretty;
}

button,
.button,
.header-action,
input,
select {
  min-block-size: 44px;
}

button,
.button,
.header-action {
  border-radius: var(--radius-control);
  transition: transform 180ms var(--ease), background-color 180ms var(--ease), border-color 180ms var(--ease);
}

button:active,
.button:active,
.header-action:active {
  transform: translateY(1px) scale(0.99);
}

:focus-visible {
  outline: 3px solid var(--blue-deep);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.prototype-notice {
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: center;
  min-block-size: 36px;
  padding: 8px 20px;
  border-block-end: 1px solid #CBD2D9;
  background: #E8EDF2;
  color: #39434C;
  font-size: 13px;
}

.prototype-notice span {
  font-weight: 720;
}

.prototype-notice p {
  margin: 0;
}

.site-header,
footer {
  inline-size: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-block-size: 72px;
  border-block-end: 1px solid var(--line);
}

.header-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}

.header-link {
  min-block-size: 44px;
  display: inline-flex;
  align-items: center;
  color: #414A52;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.header-link:hover {
  color: var(--blue-deep);
}

.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  text-decoration: none;
}

.brand > span:last-child {
  display: grid;
  gap: 1px;
}

.brand strong {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.brand strong span {
  color: var(--blue-deep);
}

.brand small {
  color: var(--muted);
  font-size: 11px;
}

.brand-mark {
  display: block;
  flex: 0 0 34px;
  inline-size: 34px;
  block-size: 34px;
}

.header-action {
  display: inline-flex;
  align-items: center;
  padding-inline: 17px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--surface);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.header-action:hover {
  background: #292C31;
}

main > section {
  inline-size: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(36px, 4vw, 56px);
  align-items: center;
  min-height: min(660px, calc(100dvh - 108px));
  padding-block: clamp(44px, 5vw, 68px);
}

.hero-copy {
  max-inline-size: 540px;
}

.kicker {
  margin-block-end: 16px;
  color: var(--blue-deep);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.075em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero h1 {
  margin-block-end: 20px;
  font-size: clamp(44px, 4.2vw, 60px);
  font-weight: 580;
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero h1 span {
  display: block;
}

.hero-copy > * {
  opacity: 0;
  transform: translateY(16px);
  animation: hero-enter 650ms var(--ease) forwards;
}

.hero-copy > :nth-child(2) {
  animation-delay: 70ms;
}

.hero-copy > :nth-child(3) {
  animation-delay: 140ms;
}

.hero-copy > :nth-child(4) {
  animation-delay: 210ms;
}

.hero-copy > :nth-child(5) {
  animation-delay: 280ms;
}

.hero-copy > :nth-child(6) {
  animation-delay: 350ms;
}

.hero-summary {
  max-inline-size: 540px;
  margin-block-end: 20px;
  color: #4E565E;
  font-size: 17px;
  line-height: 1.52;
}

.hero-workflow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 24px;
  padding: 14px 0;
  border-block: 1px solid var(--line);
  list-style: none;
}

.hero-workflow li {
  display: grid;
  gap: 5px;
  min-inline-size: 0;
  padding-inline: 14px;
  border-inline-start: 1px solid var(--line);
}

.hero-workflow li:first-child {
  padding-inline-start: 0;
  border-inline-start: 0;
}

.hero-workflow li:last-child {
  padding-inline-end: 0;
}

.hero-workflow span {
  color: var(--blue-deep);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
}

.hero-workflow strong {
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
}

.hero-support {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.button-primary {
  background: var(--blue-deep);
  color: var(--surface);
  box-shadow: 0 10px 24px rgba(53, 88, 200, 0.22);
}

.button-primary:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
}

.button-primary::after {
  content: "\2197";
  margin-inline-start: 9px;
  transition: transform 180ms var(--ease);
}

.button-secondary {
  border-color: #B9C7DE;
  color: var(--ink);
  background: var(--surface);
  box-shadow: none;
}

.button-secondary:hover {
  border-color: var(--blue-deep);
  color: var(--blue-deep);
  background: #F5F7FD;
  transform: translateY(-2px);
}

.button-primary:hover::after {
  transform: translate(2px, -2px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-block-size: 44px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.text-link::after {
  content: "\2192";
  margin-inline-start: 8px;
  color: var(--blue);
  transition: transform 180ms var(--ease);
}

.text-link:hover::after {
  transform: translateX(3px);
}

.hero-product-demo {
  min-inline-size: 0;
  margin: 0;
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  animation: proof-enter 760ms 180ms var(--ease) forwards;
}

.hero-demo-window {
  position: relative;
  overflow: hidden;
  border: 1px solid #CDD2CF;
  border-radius: var(--radius-panel);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.hero-demo-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  min-block-size: 52px;
  padding: 11px 14px;
  border-block-end: 1px solid var(--line);
  background: #F7F8F5;
}

.hero-demo-brand,
.hero-demo-status {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.hero-demo-brand strong {
  font-size: 11px;
  font-weight: 680;
  letter-spacing: -0.01em;
}

.hero-demo-status {
  color: var(--blue-deep);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.hero-demo-status i {
  inline-size: 7px;
  block-size: 7px;
  border-radius: 50%;
  background: currentColor;
}

.hero-demo-status b {
  font: inherit;
}

.hero-demo-canvas {
  position: relative;
  min-block-size: 390px;
  overflow: hidden;
  background: #E9EDF2;
}

.demo-proof-boundary {
  position: absolute;
  z-index: 5;
  inset: 14px auto auto 16px;
  display: flex;
  gap: 7px;
  align-items: center;
  min-block-size: 28px;
  padding-inline: 10px;
  border: 1px solid rgba(187, 194, 190, 0.84);
  border-radius: 999px;
  background: rgba(254, 254, 252, 0.94);
  box-shadow: 0 8px 20px rgba(23, 25, 29, 0.09);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.demo-proof-boundary i {
  inline-size: 7px;
  block-size: 7px;
  border-radius: 50%;
  background: var(--green-bright);
}

.demo-proof-boundary span {
  color: var(--ink);
  font-weight: 700;
}

.demo-proof-boundary b {
  color: var(--muted);
  font-weight: 400;
}

.demo-evidence-stack {
  position: absolute;
  inset: 22px 18px 20px;
  overflow: hidden;
  border: 1px solid #C9CFD6;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 18px 45px rgba(23, 25, 29, 0.12);
}

.demo-evidence-stack img {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  object-position: center top;
  transition: opacity 460ms ease-out, transform 780ms var(--ease), filter 460ms ease-out;
}

.demo-evidence-hold {
  opacity: 1;
  transform: scale(1.025);
}

.demo-evidence-cleared {
  opacity: 0;
  transform: scale(1.055);
}

.demo-scan-beam {
  position: absolute;
  z-index: 3;
  inset-block: 0;
  inset-inline-start: 0;
  inline-size: 2px;
  background: var(--blue);
  box-shadow: 10px 0 34px rgba(53, 88, 200, 0.32);
  opacity: 0;
}

.demo-drift-markers i {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  inline-size: 22px;
  block-size: 22px;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: var(--coral);
  color: var(--surface);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 8px;
  font-style: normal;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 260ms ease-out, transform 420ms var(--ease);
}

.demo-drift-markers i:nth-child(1) { inset: 106px auto auto 30%; }
.demo-drift-markers i:nth-child(2) { inset: 241px auto auto 43%; transition-delay: 70ms; }
.demo-drift-markers i:nth-child(3) { inset: 129px auto auto 58%; transition-delay: 140ms; }
.demo-drift-markers i:nth-child(4) { inset: 278px auto auto 70%; transition-delay: 210ms; }
.demo-drift-markers i:nth-child(5) { inset: 74px auto auto 81%; transition-delay: 280ms; }

.demo-findings,
.demo-rule-fix,
.demo-receipt {
  position: absolute;
  z-index: 6;
  border: 1px solid #C9CFD6;
  border-radius: 14px;
  background: rgba(254, 254, 252, 0.97);
  box-shadow: 0 18px 44px rgba(23, 25, 29, 0.16);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease-out, transform 500ms var(--ease);
}

.demo-findings {
  inset: 50px 36px auto auto;
  inline-size: min(260px, calc(100% - 72px));
  padding: 18px;
  transform: translateX(22px);
}

.demo-findings > span,
.demo-rule-fix > span,
.demo-receipt > span {
  color: var(--blue-deep);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.demo-findings strong,
.demo-rule-fix strong,
.demo-receipt strong {
  display: block;
  margin-block: 8px 14px;
  font-size: 18px;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.demo-findings ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.demo-findings li {
  padding: 7px 8px;
  border-inline-start: 2px solid var(--coral);
  background: var(--surface-coral);
  color: #4D5157;
  font-size: 9px;
}

.demo-rule-fix {
  inset: 50% auto auto 50%;
  inline-size: min(300px, calc(100% - 72px));
  padding: 20px;
  transform: translate(-50%, -42%) scale(0.94);
  text-align: center;
}

.demo-rule-fix > div {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.demo-rule-fix i {
  display: block;
  inline-size: 38px;
  block-size: 8px;
  border-radius: 999px;
  background: var(--blue-deep);
}

.demo-rule-fix i:nth-child(2) { background: #102448; }
.demo-rule-fix i:nth-child(3) { background: var(--green-bright); }
.demo-rule-fix i:nth-child(4) { background: #D8DCDA; }

.demo-receipt {
  inset: auto 36px 28px auto;
  inline-size: min(280px, calc(100% - 72px));
  padding: 18px;
  transform: translateY(18px);
}

.demo-receipt b {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--green-bright);
  font-size: 11px;
}

.demo-receipt b i {
  inline-size: 8px;
  block-size: 8px;
  border-radius: 50%;
  background: currentColor;
}

.hero-demo-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block-start: 1px solid var(--line);
}

.hero-demo-steps button {
  display: grid;
  gap: 3px;
  min-inline-size: 0;
  min-block-size: 68px;
  padding: 11px 12px;
  border: 0;
  border-inline-start: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  color: var(--muted);
  text-align: start;
}

.hero-demo-steps button:first-child {
  border-inline-start: 0;
}

.hero-demo-steps button[aria-pressed="true"] {
  background: var(--surface-blue);
  color: var(--ink);
  box-shadow: inset 0 3px 0 var(--blue-deep);
}

.hero-demo-steps span,
.hero-demo-steps small {
  overflow: hidden;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo-steps span {
  color: var(--blue-deep);
}

.hero-demo-steps strong {
  font-size: 11px;
}

.hero-product-demo[data-demo-state="scan"] .demo-scan-beam {
  opacity: 0.9;
  animation: hero-demo-scan 2.25s 260ms var(--ease) 1 both;
}

.hero-product-demo[data-demo-state="diagnose"] .demo-drift-markers i,
.hero-product-demo[data-demo-state="diagnose"] .demo-findings {
  opacity: 1;
  transform: none;
}

.hero-product-demo[data-demo-state="diagnose"] .demo-evidence-hold {
  transform: scale(1.08);
}

.hero-product-demo[data-demo-state="fix"] .demo-rule-fix {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.hero-product-demo[data-demo-state="fix"] .demo-evidence-hold {
  filter: saturate(0.82);
  transform: scale(1.055);
}

.hero-product-demo[data-demo-state="recheck"] .demo-evidence-hold {
  opacity: 0;
  transform: scale(0.985);
}

.hero-product-demo[data-demo-state="recheck"] .demo-evidence-cleared {
  opacity: 1;
  transform: scale(1.025);
}

.hero-product-demo[data-demo-state="recheck"] .demo-receipt {
  opacity: 1;
  transform: none;
}

.hero-product-demo[data-demo-state="recheck"] .hero-demo-status {
  color: var(--green-bright);
}

figcaption {
  margin-block-start: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.proof-equation {
  display: grid;
  grid-template-columns: 1fr auto 1.3fr auto 1.25fr;
  gap: 20px;
  align-items: center;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--surface);
  box-shadow: var(--shadow-small);
}

.proof-equation article {
  display: grid;
  gap: 6px;
}

.proof-equation article:nth-child(1) strong {
  color: var(--blue-deep);
}

.proof-equation article:nth-child(3) strong {
  color: var(--coral);
}

.proof-equation article:nth-child(5) strong {
  color: var(--green-bright);
}

.proof-equation strong {
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 650;
  letter-spacing: -0.025em;
}

.proof-equation span {
  color: var(--muted);
  font-size: 13px;
}

.proof-equation > i {
  display: grid;
  place-items: center;
  inline-size: 28px;
  block-size: 28px;
  border-radius: 50%;
  background: var(--surface-blue);
  color: var(--blue-deep);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10px;
  font-style: normal;
}

.proof-equation > i:first-of-type {
  animation: route-pulse 760ms 350ms ease-out 1 both;
}

.proof-equation > i:last-of-type {
  animation: route-pulse 760ms 1.05s ease-out 1 both;
}

.proof-story {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(52px, 8vw, 108px);
  align-items: center;
  padding-block: clamp(88px, 10vw, 128px) clamp(54px, 6vw, 76px);
}

.proof-story + .scan-output {
  padding-block-start: clamp(54px, 6vw, 78px);
}

.story-copy {
  max-inline-size: 510px;
}

h2 {
  margin-block-end: 18px;
  font-size: clamp(36px, 4.4vw, 58px);
  font-weight: 620;
  letter-spacing: -0.042em;
  line-height: 1.04;
}

.story-copy > p:not(.kicker),
.section-heading p,
.intake-copy > p:not(.kicker) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62;
}

.scope-note {
  margin-block: 26px 18px;
  padding: 17px 18px;
  border-inline-start: 3px solid var(--blue);
  background: var(--surface-blue);
  color: #3E4854 !important;
  font-size: 14px !important;
}

.receipt-proof {
  margin: 0;
}

.receipt-proof img {
  inline-size: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-soft);
}

.story-journey,
.scan-output,
.alternative,
.questions {
  padding-block: clamp(74px, 9vw, 116px);
  border-block-start: 1px solid var(--line);
}

.story-journey {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(54px, 8vw, 118px);
  align-items: start;
}

.story-map {
  position: sticky;
  inset-block-start: 28px;
  align-self: start;
  max-inline-size: 560px;
}

.story-map h2 {
  font-size: clamp(40px, 4.2vw, 58px);
}

.story-map-copy {
  max-inline-size: 510px;
  margin-block-end: 34px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.journey-route {
  position: relative;
  display: grid;
  gap: 0;
  padding-inline-start: 2px;
}

.journey-route::before {
  content: "";
  position: absolute;
  inset-block: 19px;
  inset-inline-start: 18px;
  inline-size: 1px;
  background: var(--line-strong);
}

.journey-route::after {
  content: "";
  position: absolute;
  inset-block: 19px;
  inset-inline-start: 18px;
  inline-size: 2px;
  background: var(--blue);
  transform: scaleY(var(--route-progress, 0));
  transform-origin: center top;
  transition: transform 420ms var(--ease), background-color 320ms var(--ease);
}

.journey-route[data-state="drift"]::after {
  background: var(--coral);
}

.journey-route[data-state="verified"]::after {
  background: var(--green-bright);
}

.journey-route > div {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-block-size: 58px;
  color: var(--muted);
  transition: color 260ms var(--ease), transform 260ms var(--ease);
}

.journey-route > div.is-active {
  color: var(--ink);
  transform: translateX(5px);
}

.journey-route span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  inline-size: 36px;
  block-size: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--canvas);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10px;
  transition: background-color 260ms var(--ease), border-color 260ms var(--ease), color 260ms var(--ease), transform 260ms var(--ease);
}

.journey-route .is-active span {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--surface);
  transform: scale(1.06);
}

.journey-route .is-past span {
  border-color: #C7D2FF;
  background: var(--surface-blue);
  color: var(--blue-deep);
}

.journey-route strong {
  font-size: 13px;
  font-weight: 600;
}

.story-chapters {
  display: grid;
  gap: 22px;
}

.story-chapter {
  min-block-size: min(660px, 76dvh);
  padding: clamp(28px, 4vw, 50px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  opacity: 0.68;
  transform: scale(0.985);
  transition: opacity 340ms var(--ease), transform 340ms var(--ease), border-color 340ms var(--ease), box-shadow 340ms var(--ease);
}

.story-chapter.is-active {
  border-color: #C7D2FF;
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 24px 64px rgba(23, 25, 29, 0.1);
}

.story-chapter:nth-child(2).is-active {
  border-color: #F1C6BD;
}

.story-chapter:nth-child(3).is-active {
  border-color: #B9DCCC;
}

.story-chapter header {
  display: flex;
  gap: 11px;
  align-items: center;
  margin-block-end: 28px;
}

.story-chapter header span {
  display: grid;
  place-items: center;
  inline-size: 31px;
  block-size: 31px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--surface);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 9px;
}

.story-chapter header p {
  margin: 0;
  color: var(--blue-deep);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.story-chapter h3 {
  max-inline-size: 650px;
  margin: 0 0 16px;
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 620;
  letter-spacing: -0.044em;
  line-height: 1.02;
}

.story-chapter > p {
  max-inline-size: 620px;
  margin-block-end: 34px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.chapter-visual {
  position: relative;
  min-block-size: 280px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-soft);
}

.draft-visual {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--surface-blue);
}

.mini-browser-bar {
  display: flex;
  gap: 6px;
  align-items: center;
  min-block-size: 42px;
  padding-inline: 15px;
  border-block-end: 1px solid #C7D2FF;
  background: var(--surface);
}

.mini-browser-bar i {
  inline-size: 8px;
  block-size: 8px;
  border-radius: 50%;
  background: var(--coral);
}

.mini-browser-bar i:nth-child(2) {
  background: #F0B34E;
}

.mini-browser-bar i:nth-child(3) {
  background: #32B77F;
}

.mini-browser-bar span {
  margin-inline-start: 8px;
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 9px;
}

.draft-layout {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  gap: 18px;
  padding: 26px;
}

.draft-nav {
  grid-row: 1 / 3;
  border: 1px solid #C7D2FF;
  border-radius: 12px;
  background: var(--surface);
}

.draft-layout > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.draft-layout b {
  display: block;
  min-block-size: 105px;
  border: 1px solid #C7D2FF;
  border-radius: 12px;
  background: var(--surface);
}

.draft-layout button,
.drift-row button {
  border: 0;
  background: var(--blue-deep);
  color: var(--surface);
  pointer-events: none;
}

.draft-layout button {
  justify-self: start;
  padding-inline: 18px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 650;
}

.chapter-visual > small {
  position: absolute;
  inset-block-end: 9px;
  inset-inline-end: 12px;
  color: var(--muted);
  font-size: 9px;
}

.drift-visual {
  display: grid;
  gap: 12px;
  align-content: center;
  padding: clamp(20px, 4vw, 38px);
  background: var(--surface-coral);
}

.drift-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 62px;
  gap: 14px;
  align-items: center;
  padding: 15px 16px;
  border: 1px solid #F1C6BD;
  border-radius: 13px;
  background: var(--surface);
}

.drift-row small,
.drift-row > span {
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 9px;
}

.drift-row button {
  justify-self: start;
  min-block-size: 38px;
  padding-inline: 16px;
  border-radius: 8px;
  font-size: 11px;
}

.drift-row:nth-child(2) button {
  border-radius: 19px;
  background: var(--coral);
  font-family: Georgia, serif;
}

.drift-row:nth-child(3) button {
  border: 2px solid var(--ink);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font-weight: 800;
  text-transform: uppercase;
}

.drift-visual > strong {
  margin-block-start: 5px;
  color: var(--coral);
  font-size: 13px;
  text-align: center;
}

.story-chapter.is-active .drift-row:nth-child(2) {
  animation: drift-nudge 680ms 180ms ease-out 1 both;
}

.story-chapter.is-active .drift-row:nth-child(3) {
  animation: drift-nudge 680ms 620ms ease-out 1 both reverse;
}

.map-visual {
  min-block-size: 340px;
  background: var(--surface-green);
}

.map-core,
.map-node {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 650;
}

.map-core {
  inset-block-start: 50%;
  inset-inline-start: 50%;
  inline-size: 96px;
  block-size: 96px;
  border: 1px solid var(--blue-deep);
  background: var(--blue);
  color: var(--surface);
  transform: translate(-50%, -50%);
}

.map-node {
  inline-size: 70px;
  block-size: 70px;
  border: 1px solid #B9DCCC;
  background: var(--surface);
  color: var(--green-bright);
}

.map-node--type { inset-block-start: 26px; inset-inline-start: 14%; }
.map-node--color { inset-block-start: 20px; inset-inline-end: 12%; }
.map-node--space { inset-block-start: 43%; inset-inline-end: 5%; }
.map-node--states { inset-block-end: 20px; inset-inline-end: 25%; }
.map-node--mobile { inset-block-end: 24px; inset-inline-start: 12%; }

.map-line {
  position: absolute;
  z-index: 1;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  inline-size: 0;
  block-size: 1px;
  background: #91C8AD;
  transform-origin: left center;
}

.map-line--one { transform: rotate(-142deg); }
.map-line--two { transform: rotate(-49deg); }
.map-line--three { transform: rotate(1deg); }
.map-line--four { transform: rotate(58deg); }
.map-line--five { transform: rotate(143deg); }

.story-chapter.is-active .map-node {
  animation: map-pulse 620ms ease-out 1 both;
}

.story-chapter.is-active .map-node:nth-of-type(3) { animation-delay: 0.35s; }
.story-chapter.is-active .map-node:nth-of-type(4) { animation-delay: 0.7s; }
.story-chapter.is-active .map-node:nth-of-type(5) { animation-delay: 1.05s; }
.story-chapter.is-active .map-node:nth-of-type(6) { animation-delay: 1.4s; }

.story-chapter.is-active .map-line {
  animation: map-line-reveal 760ms ease-out 1 both;
}

.story-chapter.is-active .map-line--one { animation-delay: 0.15s; }
.story-chapter.is-active .map-line--two { animation-delay: 0.35s; }
.story-chapter.is-active .map-line--three { animation-delay: 0.55s; }
.story-chapter.is-active .map-line--four { animation-delay: 0.75s; }
.story-chapter.is-active .map-line--five { animation-delay: 0.95s; }

.payoff-visual {
  display: grid;
  grid-template-columns: 1fr auto 1.25fr auto 1.25fr;
  gap: 14px;
  align-items: center;
  padding: clamp(20px, 4vw, 38px);
  background: var(--surface-blue);
}

.payoff-visual > div {
  display: grid;
  gap: 6px;
  min-block-size: 150px;
  align-content: center;
  padding: 18px;
  border: 1px solid #C7D2FF;
  border-radius: 15px;
  background: var(--surface);
}

.payoff-visual strong {
  color: var(--blue-deep);
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 620;
  letter-spacing: -0.05em;
}

.payoff-visual > div:first-child strong { color: var(--coral); }
.payoff-visual > div:last-of-type strong { color: var(--green-bright); }

.payoff-visual span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.payoff-visual > i {
  color: var(--blue-deep);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 9px;
  font-style: normal;
  text-transform: uppercase;
}

.payoff-visual > small {
  position: absolute;
  inset-block-end: 10px;
  inset-inline-end: 14px;
  color: var(--muted);
  font-size: 9px;
}

.section-heading {
  max-inline-size: 720px;
  margin-block-end: clamp(38px, 5vw, 62px);
}

.section-heading h2 {
  margin-block-end: 12px;
}

.section-heading p {
  margin-block-end: 0;
}

.signal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: clamp(36px, 7vw, 94px);
}

.signal-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--line);
}

.signal-index span {
  display: grid;
  gap: 7px;
  min-block-size: 124px;
  align-content: center;
  padding: 24px;
  background: var(--surface);
}

.signal-index span:nth-child(2),
.signal-index span:nth-child(5) {
  background: var(--surface-blue);
}

.signal-index b {
  font-size: 16px;
  font-weight: 720;
}

.signal-index small {
  max-inline-size: 280px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.48;
}

.scan-boundary {
  align-self: center;
  padding: 30px 0 30px 30px;
  border-inline-start: 1px solid var(--line-strong);
}

.scan-boundary strong {
  display: block;
  margin-block-end: 8px;
  font-size: 15px;
}

.scan-boundary p {
  margin-block-end: 28px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}

.scan-boundary p:last-child {
  margin-block-end: 0;
}

.scan-inline-cta {
  inline-size: 100%;
  margin-block-start: 10px;
}

.comparison {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 18px;
  align-items: stretch;
}

.comparison article {
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-panel);
}

.free-route {
  border: 1px solid var(--line);
  background: var(--surface);
}

.paid-route {
  border: 1px solid #CBD5E5;
  background: var(--surface-blue);
}

.comparison h3 {
  margin-block-end: 14px;
  font-size: clamp(23px, 2.4vw, 31px);
  font-weight: 690;
  letter-spacing: -0.032em;
}

.comparison p,
.comparison li {
  color: #505961;
  font-size: 15px;
  line-height: 1.58;
}

.comparison ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding-inline-start: 20px;
}

.diy-toolkit {
  display: grid;
  gap: 14px;
  margin-block-start: 30px;
  padding-block-start: 22px;
  border-block-start: 1px solid var(--line);
}

.diy-toolkit-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
}

.diy-toolkit-heading::marker {
  color: var(--blue-deep);
}

.diy-toolkit[open] .diy-toolkit-heading {
  margin-block-end: 14px;
}

.diy-toolkit-heading strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 690;
}

.diy-toolkit-heading span {
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.diy-tool-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.diy-tool-links + .diy-library-link {
  margin-block-start: 14px;
}

.diy-library-link + .partner-disclosure {
  margin-block-start: 14px;
}

.diy-tool-links a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 3px;
  min-block-size: 64px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: var(--paper);
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.diy-tool-links img {
  grid-row: 1 / 3;
  align-self: center;
  inline-size: 22px;
  block-size: 22px;
}

.diy-tool-links a:hover {
  border-color: #9CB3E9;
  background: #F3F6FF;
  transform: translateY(-1px);
}

.diy-tool-links a:active {
  transform: translateY(1px);
}

.diy-tool-links span {
  grid-column: 2;
  font-size: 14px;
  font-weight: 680;
}

.diy-tool-links small {
  grid-column: 2;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.diy-library-link {
  inline-size: fit-content;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 680;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.partner-disclosure,
.comparison .partner-disclosure {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.partner-disclosure strong {
  color: var(--ink-soft);
}

.price-heading {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-start;
  margin-block-end: 18px;
}

.price-heading p {
  margin-block-end: 5px;
  color: var(--blue);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.price-heading h3 {
  margin: 0;
}

.price-lockup {
  display: grid;
  justify-items: end;
  gap: 7px;
  text-align: end;
}

.price-lockup > strong {
  color: var(--blue-deep);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 680;
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.price-lockup > span {
  color: #394653;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.price-bridge {
  max-inline-size: 680px;
}

.scope-steps {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px !important;
  margin: 22px 0 0 !important;
  padding: 0 !important;
  list-style: none;
}

.scope-steps li {
  display: flex;
  align-items: center;
  gap: 9px;
  min-block-size: 58px;
  padding: 10px 12px;
  border: 1px solid #CBD5E5;
  border-radius: 10px;
  background: rgba(254, 254, 252, 0.62);
}

.scope-steps span {
  display: grid;
  flex: 0 0 24px;
  block-size: 24px;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--blue-deep);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10px;
}

.scope-steps strong {
  color: var(--ink);
  font-size: 12px;
  line-height: 1.35;
}

.paid-outcome-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px !important;
  padding: 0 !important;
  list-style: none;
}

.paid-outcome-list li {
  display: grid;
  align-content: start;
  gap: 6px;
  min-block-size: 168px;
  padding: 18px;
  border-block-start: 2px solid var(--blue);
  background: rgba(254, 254, 252, 0.5);
}

.paid-outcome-list li > span {
  color: var(--blue);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.paid-outcome-list li > strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.25;
}

.paid-outcome-list li > small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.correction-band {
  display: grid;
  gap: 5px;
  margin-block-start: 18px;
  padding: 16px 18px;
  border: 1px solid #AFC1E8;
  border-radius: 12px;
  background: #F7F9FF;
}

.correction-band strong {
  color: var(--ink);
  font-size: 14px;
}

.correction-band p {
  margin: 0;
  font-size: 12px;
  line-height: 1.52;
}

.capacity-note {
  margin-block: 14px 0;
  color: var(--muted) !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
}

.reservation-note {
  margin-block: 8px 0;
  padding-inline-start: 14px;
  border-inline-start: 2px solid var(--blue);
  color: var(--ink-soft) !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
}

.offer-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-block-start: 22px;
  padding-block-start: 20px;
  border-block-start: 1px solid #CBD5E5;
}

.offer-actions > a {
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 680;
  text-underline-offset: 4px;
}

.route-table-foot > div {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.route-table-foot button {
  min-block-size: 44px;
  padding: 0;
  border: 0;
  color: var(--blue-deep);
  background: transparent;
  font: inherit;
  font-weight: 680;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  cursor: pointer;
}

.guided-demo-dialog {
  inline-size: min(760px, calc(100% - 32px));
  max-block-size: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid #B9C7DE;
  border-radius: 24px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 28px 80px rgba(18, 33, 60, 0.24);
}

.guided-demo-dialog::backdrop {
  background: rgba(15, 26, 45, 0.64);
}

.guided-demo-shell {
  padding: clamp(24px, 5vw, 44px);
}

.guided-demo-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.guided-demo-header p {
  margin: 0 0 6px;
  color: var(--blue-deep);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.guided-demo-header h2 {
  margin: 0;
  font-size: clamp(34px, 6vw, 54px);
}

.dialog-close {
  display: grid;
  flex: 0 0 44px;
  inline-size: 44px;
  block-size: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--surface-soft);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.guided-demo-description {
  max-inline-size: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.guided-demo-rules {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
}

.guided-demo-rules li {
  padding: 7px 10px;
  border: 1px solid #CBD5E5;
  border-radius: 8px;
  color: var(--ink-soft);
  background: #F7F9FD;
  font-size: 11px;
  font-weight: 650;
}

.guided-demo-dialog form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-soft);
}

.demo-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.demo-field-wide {
  grid-column: 1 / -1;
}

body:has(.guided-demo-dialog[open]) {
  overflow: hidden;
}

.boundary-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-block: 20px 0;
  padding-block-start: 18px;
  border-block-start: 1px solid #CBD5E5;
  color: #394653 !important;
  font-size: 12px !important;
  font-weight: 650;
}

.offer-boundaries {
  margin-block-start: 10px;
}

.offer-boundaries summary {
  color: var(--blue-deep);
  cursor: pointer;
  font-size: 12px;
  font-weight: 680;
}

.offer-boundaries p {
  margin-block: 12px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.route-matrix {
  display: grid;
  gap: 34px;
  inline-size: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(76px, 9vw, 124px) 0;
}

.route-matrix-intro {
  max-inline-size: 780px;
}

.route-matrix-label {
  color: var(--blue);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 680;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.route-matrix-intro h2 {
  margin-block: 12px 18px;
  font-size: clamp(38px, 5.4vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.052em;
}

.route-matrix-intro > p:last-child {
  max-inline-size: 690px;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
}

.route-table-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--surface);
}

.route-table-shell table {
  inline-size: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.route-table-shell th,
.route-table-shell td {
  padding: 18px 20px;
  border-block-end: 1px solid var(--line);
  text-align: start;
  vertical-align: top;
}

.route-table-shell thead th {
  color: var(--muted);
  background: var(--surface-soft);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.route-table-shell thead th:first-child,
.route-table-shell tbody th {
  inline-size: 21%;
}

.route-table-shell thead th:nth-child(2),
.route-table-shell tbody td:nth-child(2) {
  inline-size: 34%;
}

.route-table-shell thead th:nth-child(3),
.route-table-shell tbody td:nth-child(3) {
  background: #F4F7FF;
}

.route-table-shell tbody th {
  color: var(--ink);
  font-size: 13px;
  font-weight: 680;
}

.route-table-shell tbody td {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.48;
}

.route-table-shell tbody td strong {
  color: var(--ink);
  font-weight: 680;
}

.route-table-shell tbody tr:last-child th,
.route-table-shell tbody tr:last-child td {
  border-block-end: 0;
}

.route-table-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
  border-block-start: 1px solid var(--line);
  background: var(--paper);
}

.route-table-foot p {
  max-inline-size: 720px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.route-table-foot a {
  flex: 0 0 auto;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 690;
  text-underline-offset: 4px;
}

.reveal-target {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
}

.reveal-target.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes proof-enter {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes hero-demo-scan {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(640px);
  }
}

@keyframes scan-route {
  0% {
    transform: translateX(0);
    opacity: 0;
  }

  12% {
    opacity: 0.82;
  }

  88% {
    transform: translateX(460px);
    opacity: 0.9;
  }

  100% {
    transform: translateX(460px);
    opacity: 0;
  }
}

@keyframes scan-pulse {
  50% {
    transform: scale(1.45);
    opacity: 0.55;
  }
}

@keyframes route-pulse {
  50% {
    transform: scale(1.12);
    background: var(--blue-soft);
  }
}

@keyframes drift-nudge {
  50% {
    transform: translateX(8px) rotate(0.35deg);
  }
}

@keyframes map-pulse {
  0% {
    opacity: 0.62;
    transform: scale(0.94);
  }

  100% {
    border-color: var(--blue);
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 8px 22px rgba(53, 88, 200, 0.12);
  }
}

@keyframes map-line-reveal {
  to {
    inline-size: 31%;
  }
}

.intake {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(460px, 1.28fr);
  gap: clamp(54px, 8vw, 110px);
  align-items: start;
  padding: clamp(42px, 7vw, 82px);
  border-radius: calc(var(--radius-panel) + 4px);
  border: 1px solid #CBD5E5;
  background: #E9EEF5;
  color: var(--ink);
}

.intake-copy {
  position: sticky;
  inset-block-start: 28px;
  padding-block-start: 8px;
}

.intake .kicker {
  color: var(--blue-deep);
}

.intake h2 {
  color: var(--ink);
}

.intake-copy > p:not(.kicker) {
  color: #515C68;
}

.data-boundary {
  margin-block-start: 30px;
  padding: 20px;
  border: 1px solid #CBD5E5;
  border-radius: 14px;
  background: rgba(254, 254, 252, 0.68);
}

.data-boundary strong {
  font-size: 14px;
}

.data-boundary p {
  margin: 7px 0 0;
  color: #515C68;
  font-size: 13px;
  line-height: 1.52;
}

form {
  display: grid;
  gap: 20px;
  padding: clamp(24px, 4vw, 38px);
  border-radius: var(--radius-panel);
  background: var(--surface);
  color: var(--ink);
}

.form-status {
  padding: 14px 16px;
  border: 1px solid #A8CCBA;
  border-radius: 10px;
  background: #E7F2EC;
  color: var(--success);
  font-size: 14px;
  line-height: 1.45;
}

.form-status[data-state="error"] {
  border-color: #D8AEB3;
  background: #F8EDEF;
  color: var(--error);
}

.field {
  display: grid;
  gap: 8px;
}

label {
  font-size: 14px;
  font-weight: 700;
}

input,
select,
textarea {
  inline-size: 100%;
  border: 1px solid #B7BEBB;
  border-radius: var(--radius-control);
  background: var(--surface);
  color: var(--ink);
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}

input,
select {
  padding-inline: 13px;
}

textarea {
  min-block-size: 108px;
  padding: 12px 13px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(83, 111, 168, 0.13);
}

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

.field small,
.form-footnote {
  color: #687179;
  font-size: 12px;
  line-height: 1.48;
}

.field-error {
  min-block-size: 0;
  color: var(--error);
  font-size: 12px;
  line-height: 1.35;
}

.field-error:not(:empty) {
  min-block-size: 16px;
}

.check-field {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  font-size: 13px;
  font-weight: 520;
  line-height: 1.5;
}

.check-field input {
  inline-size: 20px;
  min-block-size: 20px;
  block-size: 20px;
  margin: 0;
  accent-color: var(--blue);
}

.check-error {
  margin-block-start: -14px;
  padding-inline-start: 31px;
}

.trap-field {
  position: absolute;
  inset-inline-start: -10000px;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
}

.submit-button {
  inline-size: 100%;
  min-block-size: 50px;
  cursor: pointer;
}

.submit-button[disabled] {
  cursor: wait;
  opacity: 0.72;
}

.form-footnote {
  margin: -4px 0 0;
  text-align: center;
}

.questions {
  margin-block-start: clamp(80px, 10vw, 130px);
}

.compact-heading {
  margin-block-end: 30px;
}

.question-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

summary {
  position: relative;
  display: flex;
  align-items: center;
  min-block-size: 60px;
  padding: 17px 52px 17px 18px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  inset-inline-end: 18px;
  display: grid;
  place-items: center;
  inline-size: 24px;
  block-size: 24px;
  border-radius: 7px;
  background: var(--surface-blue);
  color: var(--blue);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: -3px 18px 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  align-items: center;
  margin-block-start: 10px;
  padding-block: 36px 44px;
  border-block-start: 1px solid var(--line);
}

footer p {
  max-inline-size: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: end;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: flex-end;
}

footer nav a {
  color: var(--muted);
  font-size: 12px;
  text-underline-offset: 4px;
}

footer nav a:hover {
  color: var(--blue-deep);
}

.footer-navigation {
  display: grid;
  gap: 14px;
  justify-items: end;
}

footer .footer-socials {
  gap: 8px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-block-size: 32px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
}

.social-link svg {
  inline-size: 15px;
  block-size: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.social-link:hover {
  border-color: #AFC1FF;
  background: var(--surface-blue);
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    max-inline-size: 760px;
  }

  .hero-product-demo {
    max-inline-size: 860px;
  }

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

  .story-journey {
    grid-template-columns: 1fr;
  }

  .story-map {
    position: static;
    max-inline-size: 760px;
  }

  .story-chapter {
    min-block-size: 560px;
  }

  .story-copy {
    max-inline-size: 720px;
  }

  .receipt-proof {
    max-inline-size: 920px;
  }

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

  .intake-copy {
    position: static;
    max-inline-size: 720px;
  }
}

@media (max-width: 768px) {
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  footer nav {
    justify-content: flex-start;
  }

  .footer-navigation {
    justify-items: start;
  }

  footer p {
    text-align: start;
  }
  .prototype-notice {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
    padding-inline: 16px;
  }

  .site-header,
  footer,
  main > section {
    inline-size: min(calc(100% - 32px), var(--max));
  }

  .site-header {
    min-block-size: 66px;
  }

  .header-action {
    display: none;
  }

  .header-nav .header-link {
    display: none;
  }

  .header-action[data-checkout-entry] {
    display: inline-flex;
    padding-inline: 13px;
    font-size: 12px;
  }

  .hero {
    gap: 28px;
    padding-block: 32px 52px;
  }

  .hero h1 {
    font-size: clamp(40px, 11vw, 52px);
  }

  .hero-summary {
    font-size: 16px;
  }

  .hero-workflow {
    margin-block-end: 20px;
    padding-block: 12px;
  }

  .hero-workflow li {
    gap: 4px;
    padding-inline: 10px;
  }

  .hero-workflow strong {
    font-size: 11px;
  }

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

  .hero-actions .button {
    inline-size: 100%;
  }

  .hero-demo-canvas {
    min-block-size: 350px;
  }

  .demo-evidence-stack {
    inset: 20px 14px 22px;
  }

  .demo-findings {
    inset-block-start: 38px;
    inset-inline-end: 22px;
  }

  .demo-receipt {
    inset-inline-end: 22px;
    inset-block-end: 20px;
  }

  .proof-frame,
  .receipt-proof img {
    border-radius: 14px;
  }

  .proof-equation {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 24px;
  }

  .proof-equation > i {
    inline-size: 100%;
    block-size: 1px;
    border-radius: 0;
    background: var(--line);
    color: transparent;
  }

  .proof-story {
    gap: 48px;
    padding-block: 96px;
  }

  h2 {
    font-size: clamp(35px, 10vw, 47px);
  }

  .signal-layout,
  .comparison {
    grid-template-columns: 1fr;
  }

  .story-chapter {
    min-block-size: auto;
    padding: 28px 22px;
    border-radius: 20px;
  }

  .story-chapter h3 {
    font-size: clamp(31px, 9vw, 42px);
  }

  .chapter-visual {
    min-block-size: 260px;
  }

  .draft-layout {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 11px;
    padding: 16px;
  }

  .draft-layout > div {
    gap: 7px;
  }

  .draft-layout b {
    min-block-size: 88px;
  }

  .drift-row {
    grid-template-columns: 66px minmax(0, 1fr) 42px;
    gap: 8px;
    padding: 12px;
  }

  .drift-row button {
    padding-inline: 10px;
  }

  .map-node {
    inline-size: 58px;
    block-size: 58px;
    font-size: 10px;
  }

  .map-core {
    inline-size: 82px;
    block-size: 82px;
  }

  .payoff-visual {
    grid-template-columns: 1fr;
    padding-block-end: 34px;
  }

  .payoff-visual > div {
    min-block-size: 112px;
  }

  .payoff-visual > i {
    text-align: center;
  }

  .signal-index {
    grid-template-columns: 1fr;
  }

  .scan-boundary {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-soft);
  }

  .price-heading {
    flex-direction: column;
    gap: 14px;
  }

  .price-lockup {
    justify-items: start;
    text-align: start;
  }

  .scope-steps,
  .paid-outcome-list {
    grid-template-columns: 1fr;
  }

  .paid-outcome-list li {
    min-block-size: auto;
  }

  .route-table-shell {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .route-table-shell table,
  .route-table-shell tbody,
  .route-table-shell tr,
  .route-table-shell th,
  .route-table-shell td {
    display: block;
    inline-size: 100% !important;
  }

  .route-table-shell thead {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .route-table-shell tbody {
    display: grid;
    gap: 12px;
  }

  .route-table-shell tbody tr {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
  }

  .route-table-shell tbody th {
    padding: 13px 16px;
    border-block-end: 1px solid var(--line);
    background: var(--surface-soft);
  }

  .route-table-shell tbody td {
    position: relative;
    padding: 34px 16px 15px;
    border-block-end: 1px solid var(--line);
  }

  .route-table-shell tbody td::before {
    position: absolute;
    inset: 11px 16px auto;
    color: var(--muted);
    content: attr(data-label);
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 9px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .route-table-shell tbody td:last-child {
    border-block-end: 0;
    background: #F4F7FF;
  }

  .route-table-foot {
    align-items: flex-start;
    flex-direction: column;
    margin-block-start: 16px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
  }

  .intake {
    inline-size: 100%;
    padding: 60px 16px 16px;
    border-radius: 0;
  }

  .question-list {
    grid-template-columns: 1fr;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  footer p {
    text-align: start;
  }
}

@media (max-width: 430px) {
  .brand small {
    display: none;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero {
    gap: 18px;
    padding-block-start: 24px;
  }

  .hero-summary,
  .hero-workflow,
  .hero-support,
  .hero-actions .button-secondary,
  .hero-actions .text-link {
    display: none;
  }

  .hero h1 {
    margin-block-end: 18px;
  }

  .hero-actions {
    margin-block: 0;
  }

  .hero-demo-header {
    gap: 8px;
    padding-inline: 10px;
  }

  .hero-demo-brand strong {
    max-inline-size: 130px;
    font-size: 10px;
  }

  .hero-demo-status {
    font-size: 8px;
  }

  .hero-demo-canvas {
    min-block-size: 310px;
  }

  .demo-evidence-stack {
    inset: 16px 8px 18px;
  }

  .demo-proof-boundary {
    inset: 9px auto auto 14px;
  }

  .demo-proof-boundary b {
    display: none;
  }

  .demo-findings,
  .demo-rule-fix,
  .demo-receipt {
    inline-size: calc(100% - 44px);
  }

  .demo-findings {
    inset: 28px 22px auto;
  }

  .demo-rule-fix {
    padding: 16px;
  }

  .demo-receipt {
    inset: auto 22px 16px;
  }

  .hero-demo-steps button {
    min-block-size: 62px;
    padding: 9px 7px;
  }

  .hero-demo-steps small {
    display: none;
  }

  .comparison article,
  form {
    padding: 24px 20px;
  }

  .diy-toolkit-heading {
    align-items: flex-start;
  }

  .diy-tool-links a {
    min-block-size: 60px;
    padding-inline: 10px;
  }
}

@media (max-width: 680px) {
  .offer-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .offer-actions .button {
    inline-size: 100%;
  }

  .route-table-foot > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .guided-demo-dialog {
    inline-size: calc(100% - 16px);
    max-block-size: calc(100dvh - 16px);
    border-radius: 18px;
  }

  .guided-demo-shell {
    padding: 22px 16px;
  }

  .guided-demo-header {
    gap: 14px;
  }

  .guided-demo-header h2 {
    font-size: 34px;
  }

  .guided-demo-dialog form {
    padding: 18px 14px;
  }

  .demo-form-grid {
    grid-template-columns: 1fr;
  }

  .demo-field-wide {
    grid-column: auto;
  }
}

.analytics-consent {
  position: fixed;
  z-index: 80;
  inset: auto 16px 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  max-inline-size: 960px;
  margin-inline: auto;
  padding: 18px 20px;
  border: 1px solid #C9D5EA;
  border-radius: 16px;
  background: #FDFEFF;
  box-shadow: 0 18px 50px rgb(11 36 80 / 18%);
  color: var(--ink, #101828);
}

.analytics-consent[hidden],
.analytics-preferences[hidden] {
  display: none;
}

.analytics-consent strong {
  display: block;
  margin-block-end: 4px;
  color: var(--blue-deep, #0B2450);
  font-size: 16px;
}

.analytics-consent p {
  max-inline-size: 640px;
  margin: 0;
  color: var(--muted, #596579);
  font-size: 13px;
  line-height: 1.45;
}

.analytics-consent a {
  color: var(--blue, #245BFF);
  font-weight: 700;
}

.analytics-consent__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(132px, 1fr));
  gap: 8px;
}

.analytics-consent button,
.analytics-preferences {
  min-block-size: 44px;
  border: 1px solid var(--blue-deep, #0B2450);
  border-radius: 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.analytics-consent__allow,
.analytics-consent__decline {
  background: #FDFEFF;
  color: var(--blue-deep, #0B2450);
}

.analytics-consent button:hover,
.analytics-preferences:hover {
  background: #EEF4FF;
}

.analytics-consent button:focus-visible,
.analytics-preferences:focus-visible {
  outline: 3px solid #245BFF;
  outline-offset: 2px;
}

.analytics-consent button:active,
.analytics-preferences:active {
  background: #E3ECFF;
}

.analytics-preferences {
  position: fixed;
  z-index: 70;
  inset: auto auto 12px 12px;
  min-block-size: 44px;
  padding-inline: 12px;
  border-color: #C9D5EA;
  background: #FDFEFF;
  box-shadow: 0 8px 24px rgb(11 36 80 / 12%);
  color: var(--blue-deep, #0B2450);
  font-size: 12px;
}

@media (max-width: 720px) {
  .analytics-consent {
    inset: auto 8px 8px;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
    border-radius: 14px;
  }

  .analytics-consent__actions {
    grid-template-columns: 1fr 1fr;
  }
}

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

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

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