@font-face {
  font-family: Manrope;
  src: url("/fonts/manrope.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --paper: #f6f5f0;
  --surface: #ffffff;
  --surface-2: #fafaf6;
  --ink: #132c27;
  --ink-2: #2f4640;
  --muted: #5a6b65;
  --faint: #7f8f89;
  --line: #e3e6df;
  --line-2: #d2d9d1;
  --green: #0b6b5c;
  --green-strong: #08554a;
  --green-soft: #e6f2ec;
  --green-line: #b8d7ca;
  --dark: #0f2924;
  --on-dark: #f1f5f2;
  --on-dark-2: #b3c6bf;
  --mint: #86d4bf;
  --amber: #8a520c;
  --amber-soft: #fcf2e1;
  --amber-line: #eed5aa;
  --blue: #2e5a84;
  --blue-soft: #edf2f8;
  --blue-line: #cddaea;
  --focus: #c2841f;
  --ease: cubic-bezier(0.2, 0.75, 0.2, 1);
  --sans: Manrope, ui-sans-serif, system-ui, "Segoe UI", Arial, sans-serif;
  --shadow-window: 0 1px 2px rgba(19, 44, 39, 0.05), 0 18px 36px -24px rgba(19, 44, 39, 0.2),
    0 56px 110px -56px rgba(19, 44, 39, 0.42);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1,
h2,
h3,
p,
figure,
blockquote {
  margin: 0;
}
h1,
h2,
h3 {
  color: var(--ink);
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}
button:disabled {
  opacity: 0.6;
  cursor: default;
}
a,
button,
summary,
input {
  -webkit-tap-highlight-color: transparent;
}
:is(a, button, summary, input, textarea, select):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}
[hidden] {
  display: none !important;
}
.shell {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}
.skip-link:focus {
  top: 12px;
}

/* ---------- Shared type and controls ---------- */
.eyebrow {
  margin-bottom: 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
h2 {
  margin-bottom: 20px;
  font-size: clamp(36px, 4.4vw, 58px);
  font-weight: 720;
  line-height: 1.04;
  letter-spacing: -0.034em;
}
.panel-label {
  display: block;
  margin-bottom: 4px;
  color: var(--faint);
  font-size: 12.5px;
  font-weight: 760;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 24px;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  font-size: 16px;
  font-weight: 720;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 8px 18px -10px rgba(11, 107, 92, 0.7);
  transition:
    background 0.15s ease,
    transform 0.15s ease;
}
.button:hover {
  background: var(--green-strong);
}
.button:active {
  transform: translateY(1px);
}
.button-small {
  height: 40px;
  padding: 0 16px;
  border-radius: 9px;
  font-size: 14.5px;
}
.button-quiet {
  height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14.5px;
  box-shadow: none;
}
.button-quiet:hover {
  border-color: var(--green-line);
  background: var(--green-soft);
}
.text-link,
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-size: 16px;
  font-weight: 720;
  white-space: nowrap;
}
.text-link:hover,
.text-button:hover {
  color: var(--green-strong);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 245, 240, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(10px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}
.wordmark {
  color: var(--ink);
  font-size: 26px;
  font-weight: 790;
  line-height: 1;
  letter-spacing: -0.045em;
}
.wordmark span {
  color: var(--green);
}
.site-header nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
}
.site-header nav a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 620;
}
.site-header nav a:hover {
  color: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 96px;
}
.hero-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 64px;
  align-items: end;
  padding-bottom: 56px;
}
h1 {
  font-size: clamp(50px, 7.2vw, 96px);
  font-weight: 730;
  line-height: 0.97;
  letter-spacing: -0.044em;
}
.h1-line {
  display: block;
}
.h1-line.accent {
  color: var(--green);
}
.hero-copy p {
  max-width: 30em;
  color: var(--ink-2);
  font-size: 19px;
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  margin-top: 28px;
}
.visual-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13.5px;
}

/* ---------- Demo: frame and steps ---------- */
.demo {
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-window);
}
.demo-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 58px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.demo-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 18px 22px 20px;
  color: var(--faint);
  font-size: 15.5px;
  font-weight: 700;
  text-align: left;
  transition:
    color 0.25s ease,
    background 0.25s ease;
}
.demo-tab + .demo-tab {
  border-left: 1px solid var(--line);
}
.demo-tab:hover {
  color: var(--ink-2);
}
.demo-tab[aria-selected="true"] {
  background: var(--surface);
  color: var(--ink);
}
.tab-num {
  color: var(--faint);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}
.demo-tab[aria-selected="true"] .tab-num {
  color: var(--green);
}
.tab-short {
  display: none;
}
.tab-progress {
  position: absolute;
  inset: auto 0 0;
  height: 3px;
}
.tab-progress i {
  position: absolute;
  inset: 0;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
}
.demo-tab[aria-selected="true"] .tab-progress i {
  transform: scaleX(1);
}
.demo.demo-ready:not(.is-stopped) .demo-tab.is-running .tab-progress i {
  animation: progress var(--ms, 6000ms) linear both;
}
.demo.is-held .tab-progress i {
  animation-play-state: paused !important;
}
.demo-toggle {
  display: grid;
  place-items: center;
  border-left: 1px solid var(--line);
  color: var(--muted);
}
.demo-toggle:hover {
  color: var(--ink);
}
.demo-toggle svg {
  width: 16px;
  height: 16px;
}
.icon-pause path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}
.icon-play path {
  fill: currentColor;
}
.demo-toggle.is-playing .icon-play,
.demo-toggle:not(.is-playing) .icon-pause {
  display: none;
}
.demo:not(.demo-ready) .demo-toggle {
  visibility: hidden;
}

.demo-stage {
  display: grid;
  padding: 30px 34px 34px;
}
.scene {
  display: flex;
  flex-direction: column;
  grid-area: 1 / 1;
  min-width: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0s linear 0.3s;
}
.scene.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s ease 0.05s;
}
.scene-title {
  margin-bottom: 24px;
  font-size: 24px;
  font-weight: 740;
  line-height: 1.25;
  letter-spacing: -0.022em;
}

/* ---------- Scene 1: read ---------- */
.read-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) 40px minmax(0, 1.05fr);
  gap: 18px;
  align-items: center;
}
.mail {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.5;
}
.mail-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e1eae6;
  color: var(--green-strong);
  font-size: 12px;
  font-weight: 800;
}
.mail-head strong,
.mail-head div > span {
  display: block;
}
.mail-head strong {
  color: var(--ink);
  font-size: 14.5px;
}
.mail-head div > span {
  color: var(--muted);
  font-size: 13px;
}
.mail-intro {
  margin-bottom: 8px;
}
.mail-lines {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 20px;
}
.mail-lines li {
  position: relative;
}
.mail-lines li > span {
  position: relative;
}
.mail-lines li::before {
  content: "";
  position: absolute;
  inset: -3px -8px -3px -28px;
  border-radius: 7px;
  background: var(--green-soft);
  opacity: 0;
  transform-origin: left;
}
.mail-lines li::marker {
  color: var(--faint);
  font-weight: 720;
}
.mail-more,
.match-more {
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 680;
}
.mail-more {
  color: var(--faint);
}
.match-more {
  color: var(--green-strong);
}
.more-narrow {
  display: none;
}
.read-arrow svg {
  display: block;
  width: 40px;
  height: 16px;
  fill: none;
  stroke: var(--green);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.matches {
  padding: 18px 20px 16px;
  border: 1px solid var(--green-line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 24px 48px -34px rgba(11, 107, 92, 0.55);
}
.matches-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 650;
}
.mini-brand {
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.mini-brand i {
  color: var(--green);
  font-style: normal;
}
.matches-count b {
  display: inline-block;
  min-width: 0.7em;
  color: var(--green-strong);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.match-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.match-list li {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 24px;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.m-qty {
  color: var(--ink);
  font-size: 15px;
  font-weight: 780;
  font-variant-numeric: tabular-nums;
}
.m-qty small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 620;
}
.m-what strong,
.m-what span {
  display: block;
}
.m-what strong {
  color: var(--ink);
  font-size: 14.5px;
}
.m-what span {
  color: var(--muted);
  font-size: 13.5px;
}
.m-ok {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green);
}
.matches-count em {
  color: var(--amber);
  font-style: normal;
  font-weight: 720;
}
.match-list li.is-question {
  margin: 2px -10px;
  padding: 10px;
  border-top-color: transparent;
  border-radius: 10px;
  background: var(--amber-soft);
}
.match-list li.is-question + li {
  border-top-color: transparent;
}
.m-what b {
  color: var(--amber);
  font-weight: 700;
}
.m-what em {
  display: block;
  margin-top: 2px;
  color: var(--amber);
  font-size: 13px;
  font-style: normal;
  font-weight: 680;
}
.m-ask {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--amber);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}
.m-ok svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Scene 2: supply ---------- */
.supply-list {
  display: grid;
  gap: 12px;
}
.supply-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 24px;
  align-items: center;
  padding: 14px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.supply-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
}
.supply-spec {
  flex-basis: 100%;
}
.supply-id {
  color: var(--faint);
  font-size: 12.5px;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.supply-top strong {
  color: var(--ink);
  font-size: 15px;
}
.supply-spec {
  color: var(--muted);
  font-size: 13.5px;
}
.supply-bar {
  display: flex;
  gap: 3px;
  height: 12px;
}
.bar-stock,
.bar-gap {
  border-radius: 999px;
  transform-origin: left;
}
.bar-stock {
  background: var(--green);
}
/* Plain-end pipe in stock: covered, but it still needs threading. */
.bar-stock.is-plain {
  background: repeating-linear-gradient(135deg, var(--green) 0 7px, #2f8a7a 7px 14px);
}
.bar-gap {
  background: repeating-linear-gradient(135deg, #f1d7a8 0 6px, #f9ebd2 6px 12px);
  box-shadow: inset 0 0 0 1px var(--amber-line);
}
.supply-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-top: 9px;
  font-size: 13.5px;
  font-weight: 660;
}
.supply-flag {
  display: flex;
  justify-content: flex-end;
}
.lg-stock,
.lg-gap {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.lg-stock {
  color: var(--green-strong);
}
.lg-gap {
  color: var(--amber);
}
.lg-stock::before,
.lg-gap::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.lg-stock::before {
  background: var(--green);
}
.lg-gap::before {
  background: #e2b56a;
}
.flag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px 4px 6px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
}
/* A next step for someone else (a workshop), not a problem: calm blue. */
.flag-route {
  background: var(--blue-soft);
  color: var(--blue);
  box-shadow: inset 0 0 0 1px var(--blue-line);
}
.flag.flag-route::before {
  content: "→";
  background: var(--blue);
}
.flag::before {
  content: "!";
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
}
.flag-check {
  background: var(--amber-soft);
  color: var(--amber);
  box-shadow: inset 0 0 0 1px var(--amber-line);
}
.flag-check::before {
  background: var(--amber);
}
.flag-history {
  padding-left: 12px;
  background: var(--green-soft);
  color: var(--green-strong);
}
.flag-history::before {
  content: none;
}
.flag-info {
  padding-left: 12px;
  background: #eef1ed;
  color: var(--ink-2);
}
/* A route, not a problem: no warning mark. */
.flag-info::before {
  content: none;
}
.drafts-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 14px 16px 14px 14px;
  border: 1px solid var(--green-line);
  border-radius: 14px;
  background: var(--green-soft);
  color: var(--ink-2);
  font-size: 14px;
}
.chip-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(19, 44, 39, 0.08);
}
.chip-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.6;
  stroke-linejoin: round;
}
.drafts-chip strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}
.drafts-chip .button-quiet {
  flex: none;
  margin-left: auto;
}

/* ---------- Scene 3: price ---------- */
.price-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.evidence-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 24px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 650;
}
.evidence-head span:first-child {
  color: var(--ink);
  font-weight: 720;
}
.price-body {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 8px 24px 14px;
}
.price-costs .ev-row:first-child {
  border-top: 0;
}
.ev-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.ev-label,
.ev-sub {
  display: block;
}
.ev-label {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}
.ev-sub {
  color: var(--muted);
  font-size: 13.5px;
}
.ev-row strong {
  flex: none;
  color: var(--ink);
  font-size: 20px;
  font-weight: 780;
  font-variant-numeric: tabular-nums;
}
.ev-row strong small {
  margin-left: 1px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}
.history {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}
.history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.history-legend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 650;
  white-space: nowrap;
}
.history-legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 6px;
  border-radius: 50%;
}
.key-won {
  background: var(--green);
}
.key-lost {
  box-shadow: inset 0 0 0 2px #a26f60;
}
.dots {
  position: relative;
  height: 78px;
  margin-top: 4px;
}
.dots-track {
  position: absolute;
  inset: 37px 0 auto;
  height: 2px;
  border-radius: 2px;
  background: var(--line-2);
}
.zone {
  position: absolute;
  top: 28px;
  left: var(--from);
  right: calc(100% - var(--to));
  height: 20px;
  margin-inline: -10px;
  border-radius: 999px;
}
.zone-won {
  background: var(--green-soft);
  box-shadow: inset 0 0 0 1px var(--green-line);
}
.zone-lost {
  background: #f6eee9;
  box-shadow: inset 0 0 0 1px #e8d6cc;
}
.dot {
  position: absolute;
  top: 38px;
  left: var(--x);
  width: 14px;
  height: 14px;
  translate: -50% -50%;
  border-radius: 50%;
}
.dot.won {
  background: var(--green);
  box-shadow: 0 0 0 3px var(--surface);
}
.dot.lost {
  background: var(--surface);
  box-shadow: inset 0 0 0 2.5px #a26f60;
}
.dot.is-this {
  width: 18px;
  height: 18px;
  box-shadow:
    0 0 0 3px var(--surface),
    0 0 0 5px var(--green);
}
.dot b,
.dot em {
  position: absolute;
  left: 50%;
  translate: -50% 0;
  white-space: nowrap;
}
.dot b {
  top: 22px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.dot.is-this b,
.dot em {
  color: var(--green-strong);
}
.dot em {
  bottom: 24px;
  font-size: 12px;
  font-style: normal;
  font-weight: 720;
}
.history-sum {
  color: var(--ink-2);
  font-size: 13.5px;
}
.history-sum b {
  color: var(--ink);
}
.cost-catch {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 12px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--amber-soft);
  box-shadow: inset 0 0 0 1px var(--amber-line);
  color: var(--amber);
  font-size: 13.5px;
  font-weight: 620;
}
.cost-catch::before {
  content: "!";
  display: grid;
  flex: none;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--amber);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
}
.cost-catch b {
  font-weight: 760;
}
.price-result {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 36px;
  padding: 16px 24px;
  border-top: 1px solid var(--green-line);
  background: var(--green-soft);
}
.result-main span {
  display: block;
  color: var(--green-strong);
  font-size: 13px;
  font-weight: 720;
}
.result-main strong {
  display: block;
  color: var(--green-strong);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.result-main strong b {
  font-weight: inherit;
}
.result-main small {
  margin-left: 2px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}
.result-totals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 0;
}
.result-totals dt {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 650;
}
.result-totals dd {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 760;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.result-totals .is-gain dd {
  color: var(--green-strong);
}
.price-result .text-button {
  margin-left: auto;
  font-size: 14.5px;
}

/* ---------- Scene 4: follow up ---------- */
.follow-grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
}
.follow-steps {
  position: relative;
  display: grid;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.follow-steps::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 17px;
  width: 2px;
  background: var(--line);
}
.follow-steps li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}
.follow-steps strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
}
.step-mark {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.step-mark svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.is-done .step-mark {
  background: var(--green);
  box-shadow: none;
  color: #fff;
}
.is-waiting .step-mark {
  background: var(--amber-soft);
  box-shadow: inset 0 0 0 1px var(--amber-line);
  color: var(--amber);
}
.is-ready .step-mark {
  background: var(--green-soft);
  box-shadow: inset 0 0 0 1px var(--green-line);
  color: var(--green);
}
.follow-mail {
  padding: 22px 24px;
  border: 1px solid var(--green-line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 24px 48px -34px rgba(11, 107, 92, 0.55);
  color: var(--ink-2);
  font-size: 15px;
}
.follow-mail p + p {
  margin-top: 10px;
}
.follow-to {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 650;
}
.follow-mail .button-quiet {
  margin-top: 16px;
}

/* ---------- Systems ---------- */
.fit {
  overflow: hidden;
  padding: 104px 0;
  border-block: 1px solid var(--line);
  background: var(--surface);
}
.fit-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}
.fit-lead {
  max-width: 28em;
  font-size: 18px;
}
.fit-points {
  display: grid;
  gap: 16px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.fit-points li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 17px;
}
.fit-points li::before {
  content: "";
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--green-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.5l4.5-5' fill='none' stroke='%230b6b5c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}
.fit-points strong {
  color: var(--ink);
}
.hub {
  --spread: 1;
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1;
  margin-inline: auto;
}
.hub::before {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 107, 92, 0.12), rgba(11, 107, 92, 0) 68%);
}
.hub-ring {
  position: absolute;
  inset: calc(50% - 27% * var(--spread));
  border: 1px dashed var(--green-line);
  border-radius: 50%;
}
.hub-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hub-spokes {
  transform: scale(var(--spread));
  transform-box: view-box;
  transform-origin: 50% 50%;
}
.hub-lines line {
  stroke: var(--green-line);
  stroke-width: 1.6;
  stroke-dasharray: 4 6;
  vector-effect: non-scaling-stroke;
}
.hub-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 132px;
  height: 132px;
  translate: -50% -50%;
  border-radius: 32px;
  background: linear-gradient(150deg, #11806d, #07463d);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 26px 54px -22px rgba(7, 70, 61, 0.75);
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.045em;
}
.hub-core i {
  color: var(--mint);
  font-style: normal;
}
.hub-core::after {
  content: "";
  position: absolute;
  inset: -10px;
  border: 2px solid rgba(11, 107, 92, 0.22);
  border-radius: 40px;
  opacity: 0;
}
.hub-node {
  position: absolute;
  top: calc(50% + (var(--y) - 50%) * var(--spread));
  left: calc(50% + (var(--x) - 50%) * var(--spread));
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px 10px 12px;
  translate: -50% -50%;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 12px 26px -16px rgba(19, 44, 39, 0.4);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}
.hub-node svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Proof band ---------- */
.proof {
  padding: 104px 0 96px;
  background: var(--dark);
  color: var(--on-dark-2);
}
.proof h2 {
  max-width: 14em;
  color: var(--on-dark);
}
.proof .eyebrow {
  color: var(--mint);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.proof-grid > div {
  padding: 34px 32px 0 0;
}
.proof-grid > div + div {
  padding-left: 32px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.proof-kicker {
  margin-bottom: 10px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.proof-grid strong {
  display: block;
  color: #fff;
  font-size: clamp(42px, 4.8vw, 66px);
  font-weight: 780;
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.proof-grid strong span {
  color: var(--mint);
}
.proof-grid p:not(.proof-kicker) {
  max-width: 20em;
  margin-top: 14px;
  font-size: 16.5px;
}
.proof-list {
  display: grid;
  gap: 4px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.proof-list button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--on-dark);
  font-size: 16.5px;
  font-weight: 620;
  text-align: left;
}
.proof-list button::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
}
.proof-list button::after {
  content: "↑";
  color: var(--mint);
  font-size: 13px;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.proof-list button:hover::after,
.proof-list button:focus-visible::after {
  opacity: 1;
}
.proof-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--mint);
  font-size: 14.5px;
  font-weight: 720;
}
.proof-link::after {
  content: "↑";
}
.proof-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.proof-note {
  margin-top: 44px;
  color: rgba(179, 198, 191, 0.72);
  font-size: 13.5px;
}

/* ---------- What it's worth ---------- */
.worth {
  padding: 112px 0;
}
.worth-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: center;
  padding: 44px 48px;
  border: 1px solid var(--line-2);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 40px 80px -56px rgba(19, 44, 39, 0.4);
}
.calc-sliders {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}
.slider-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.slider-head label {
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 680;
}
.slider-head output {
  flex: none;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 8px;
  margin: 0;
  border-radius: 999px;
  background:
    linear-gradient(var(--green), var(--green)) 0 / var(--fill, 50%) 100% no-repeat,
    #e6e9e3;
  cursor: pointer;
}
input[type="range"]:focus-visible {
  outline-offset: 8px;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border: 2px solid var(--green);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(19, 44, 39, 0.25);
  transition: transform 0.15s ease;
}
input[type="range"]:active::-webkit-slider-thumb {
  transform: scale(1.12);
}
input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 2px solid var(--green);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(19, 44, 39, 0.25);
}
input[type="range"]::-moz-range-track {
  background: transparent;
}
.worth-total {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.worth-total span,
.worth-total small {
  color: var(--muted);
  font-size: 18px;
  font-weight: 650;
}
.worth-total strong {
  color: var(--green-strong);
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.worth-total strong b {
  font-weight: inherit;
}
.worth-split {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.worth-split > div {
  padding: 22px 18px 0 0;
}
.worth-split > div + div {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}
.worth-split strong {
  display: block;
  color: var(--ink);
  font-size: clamp(22px, 2.1vw, 28px);
  font-weight: 790;
  letter-spacing: -0.025em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.worth-split p {
  margin-top: 2px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 640;
}
.worth-split small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.worth-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13.5px;
  text-align: right;
}

/* ---------- Details: founder and FAQ ---------- */
.details {
  padding: 104px 0;
  border-top: 1px solid var(--line);
}
.details-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 72px;
  align-items: start;
}
.founder {
  margin-top: 28px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.founder blockquote {
  color: var(--ink);
  font-size: 17px;
  font-weight: 560;
  line-height: 1.6;
}
.founder figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 14.5px;
}
.founder figcaption strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}
.founder-mark {
  display: grid;
  flex: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}
.founder .text-link {
  margin-left: auto;
  font-size: 14.5px;
}
.faq-list {
  border-top: 1px solid var(--line-2);
}
.faq-list details {
  border-bottom: 1px solid var(--line-2);
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat;
  color: var(--green);
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
}
.faq-list summary:hover {
  color: var(--green-strong);
}
.faq-list details p {
  max-width: 40em;
  padding: 0 40px 24px 0;
  font-size: 16.5px;
}

/* ---------- Contact ---------- */
.contact {
  padding: 104px 0;
  background: #0d4a41;
  color: #d5e5df;
}
.contact h2 {
  color: #fff;
}
.contact .eyebrow {
  color: #9fe2cd;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}
.contact-copy > p {
  max-width: 26em;
  font-size: 18.5px;
}
#demo-form {
  display: grid;
  gap: 16px;
  padding: 30px;
  border-radius: 18px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 44px 90px -44px rgba(0, 0, 0, 0.55);
}
#demo-form h3 {
  font-size: 22px;
  font-weight: 780;
  letter-spacing: -0.02em;
}
#demo-form label {
  display: grid;
  gap: 7px;
}
.field-label {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 660;
  line-height: 1.35;
}
.optional {
  color: var(--faint);
  font-size: 13px;
  font-weight: 600;
}
#demo-form input,
#demo-form textarea {
  width: 100%;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--ink);
  font-size: 16px;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}
#demo-form input {
  height: 48px;
  padding: 0 14px;
}
#demo-form textarea {
  min-height: 84px;
  padding: 12px 14px;
  resize: vertical;
}
#demo-form input:focus,
#demo-form textarea:focus {
  border-color: var(--green);
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(11, 107, 92, 0.16);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-submit {
  width: 100%;
  height: 52px;
  margin-top: 4px;
}
.form-note {
  color: var(--muted);
  font-size: 13.5px;
  text-align: center;
}
#form-status {
  color: var(--amber);
  font-size: 14px;
}
#form-status:empty {
  display: none;
}

/* ---------- Footer ---------- */
.footer {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px 0 40px;
  color: var(--muted);
  font-size: 14px;
}
.footer .wordmark {
  font-size: 22px;
}
.footer > div {
  display: flex;
  gap: 20px;
  margin-left: auto;
}
.footer a:hover {
  color: var(--ink);
}

/* ---------- Source dialog ---------- */
dialog {
  width: min(640px, calc(100% - 32px));
  max-height: min(86vh, 780px);
  overflow: auto;
  padding: 24px 28px 22px;
  border: 0;
  border-radius: 18px;
  background: var(--surface);
  color: var(--ink-2);
  box-shadow: 0 40px 100px -30px rgba(10, 30, 25, 0.55);
}
dialog::backdrop {
  background: rgba(15, 41, 36, 0.48);
  backdrop-filter: blur(3px);
}
.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}
.dialog-top .panel-label {
  margin: 0;
}
#dialog-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-right: -8px;
  border-radius: 50%;
  color: var(--muted);
  font-size: 26px;
  line-height: 1;
}
#dialog-close:hover {
  background: var(--surface-2);
  color: var(--ink);
}
dialog h2 {
  margin-bottom: 18px;
  font-size: 26px;
  font-weight: 760;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
#source-content {
  font-size: 15px;
}
.source-subject {
  margin-bottom: 10px;
  color: var(--ink);
  font-weight: 700;
}
.source-list {
  display: grid;
  gap: 6px;
  margin: 0 0 14px;
  padding-left: 20px;
}
.source-facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 20px;
  margin: 0 0 16px;
}
.source-facts dt {
  color: var(--muted);
  font-weight: 620;
}
.source-facts dd {
  margin: 0;
  color: var(--ink);
  font-weight: 620;
}
.source-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
.source-pair > div {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
}
.source-pair span,
.source-fact span {
  display: block;
  margin-bottom: 6px;
  color: var(--faint);
  font-size: 12.5px;
  font-weight: 760;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.source-pair p {
  color: var(--ink);
}
.source-fact {
  padding: 14px 0 12px;
  border-top: 1px solid var(--line);
}
dialog blockquote {
  margin-bottom: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--ink);
}
.source-conclusion {
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--ink-2);
  font-size: 14.5px;
}
.evidence-table {
  width: 100%;
  margin-bottom: 8px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.evidence-table :is(th, td) {
  padding: 9px 8px;
  border-bottom: 1px solid var(--line);
  text-align: right;
}
.evidence-table :is(th, td):first-child {
  padding-left: 0;
  text-align: left;
}
.evidence-table thead th {
  color: var(--faint);
  font-size: 12.5px;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.evidence-table tbody th {
  color: var(--muted);
  font-weight: 620;
}
.evidence-table td {
  color: var(--ink);
  font-weight: 700;
}
.dialog-caption {
  margin-top: 16px;
  color: var(--faint);
  font-size: 12.5px;
}

/* ---------- About and thank-you pages ---------- */
.shell.document-page {
  width: min(760px, calc(100% - 40px));
  padding: 88px 0 112px;
}
.document-page h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 68px);
}
.document-page .lead {
  margin-bottom: 28px;
  color: var(--ink-2);
  font-size: 20px;
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}
.facts span {
  padding: 6px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface);
  font-size: 14.5px;
}
.document-page h2 {
  margin: 36px 0 10px;
  font-size: 24px;
  letter-spacing: -0.02em;
}
.document-page > p:not(.lead):not(.eyebrow) {
  max-width: 38em;
}
.document-page > .button {
  margin-top: 36px;
}

/* ---------- Motion ---------- */
@keyframes progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}
@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateX(-14px);
  }
}
@keyframes pop-in {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  70% {
    transform: scale(1.08);
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
}
@keyframes grow-x {
  from {
    transform: scaleX(0);
  }
}
@keyframes highlight {
  0% {
    opacity: 0;
    transform: scaleX(0);
  }
  35% {
    opacity: 1;
    transform: scaleX(1);
  }
  100% {
    opacity: 0.6;
    transform: scaleX(1);
  }
}
@keyframes node-out {
  from {
    top: 50%;
    left: 50%;
    opacity: 0;
    scale: 0.5;
  }
}
@keyframes spokes-out {
  from {
    opacity: 0;
    transform: scale(0.1);
  }
}
@keyframes flow {
  to {
    stroke-dashoffset: 20;
  }
}
@keyframes pulse {
  0% {
    opacity: 0.9;
    transform: scale(0.92);
  }
  100% {
    opacity: 0;
    transform: scale(1.22);
  }
}
@keyframes nudge {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  /* Page entrance */
  .hero .eyebrow,
  .h1-line,
  .hero-copy,
  .hero .demo {
    animation: rise-in 0.8s var(--ease) both;
  }
  .h1-line {
    animation-delay: 0.06s;
  }
  .h1-line.accent {
    animation-delay: 0.16s;
  }
  .hero-copy {
    animation-delay: 0.3s;
  }
  .hero .demo {
    animation-delay: 0.42s;
  }

  /* Scene 1: each email line is read, then appears matched */
  .demo-ready .scene.is-active .scene-title {
    animation: rise-in 0.6s var(--ease) both;
  }
  .demo-ready .scene-read.is-active .mail-lines li::before {
    animation: highlight 0.9s ease both;
    animation-delay: calc(var(--i) * 680ms + 450ms);
  }
  .demo-ready .scene-read.is-active .match-list li {
    animation: slide-in 0.55s var(--ease) both;
    animation-delay: calc(var(--i) * 680ms + 800ms);
  }
  .demo-ready .scene-read.is-active .m-ok {
    animation: pop-in 0.45s var(--ease) both;
    animation-delay: calc(var(--i) * 680ms + 1150ms);
  }
  .demo-ready .scene-read.is-active .read-arrow svg {
    animation: nudge 1.2s ease-in-out 3 0.4s;
  }
  .demo-ready .scene-read.is-active .match-more {
    animation: fade-in 0.5s ease both 3.6s;
  }

  /* Scene 2: stock fills, the gap appears, problems pop, the enquiry is ready */
  .demo-ready .scene-supply.is-active .supply-row {
    animation: rise-in 0.55s var(--ease) both;
    animation-delay: calc(var(--i) * 380ms + 150ms);
  }
  .demo-ready .scene-supply.is-active .bar-stock {
    animation: grow-x 0.7s var(--ease) both;
    animation-delay: calc(var(--i) * 380ms + 450ms);
  }
  .demo-ready .scene-supply.is-active .bar-gap {
    animation: grow-x 0.6s var(--ease) both;
    animation-delay: calc(var(--i) * 380ms + 900ms);
  }
  .demo-ready .scene-supply.is-active .supply-legend > span {
    animation: fade-in 0.4s ease both;
    animation-delay: calc(var(--i) * 380ms + 900ms);
  }
  .demo-ready .scene-supply.is-active .flag {
    animation: pop-in 0.5s var(--ease) both;
    animation-delay: calc(var(--i) * 380ms + 1300ms);
  }
  .demo-ready .scene-supply.is-active .drafts-chip {
    animation: rise-in 0.6s var(--ease) both 2.5s;
  }

  /* Scene 3: cost, the catch, cost-plus, your history, then the price */
  .demo-ready .scene-price.is-active .ev-row {
    animation: slide-in 0.5s var(--ease) both;
  }
  .demo-ready .scene-price.is-active .ev-row:nth-of-type(1) {
    animation-delay: 0.25s;
  }
  .demo-ready .scene-price.is-active .cost-catch {
    animation: pop-in 0.5s var(--ease) both 0.8s;
  }
  .demo-ready .scene-price.is-active .ev-row:nth-of-type(2) {
    animation-delay: 1.25s;
  }
  .demo-ready .scene-price.is-active .history-head {
    animation: fade-in 0.4s ease both 1.6s;
  }
  .demo-ready .scene-price.is-active .dot {
    animation: pop-in 0.45s var(--ease) both;
    animation-delay: calc(var(--i) * 120ms + 1.8s);
  }
  .demo-ready .scene-price.is-active .zone {
    animation: fade-in 0.5s ease both 2.35s;
  }
  .demo-ready .scene-price.is-active .history-sum {
    animation: fade-in 0.5s ease both 2.45s;
  }
  .demo-ready .scene-price.is-active .price-result {
    animation: rise-in 0.6s var(--ease) both 2.75s;
  }

  /* Systems: spokes flow into handld; the nodes arrive once */
  .hub-lines line {
    animation: flow 1.6s linear infinite;
  }
  .hub-core::after {
    animation: pulse 2.8s ease-out infinite;
  }
  .reveal-ready .worth-figures:not(.is-visible) :is(.worth-total, .worth-split > div) {
    opacity: 0;
  }
  .reveal-ready .worth-figures.is-visible :is(.worth-total, .worth-split > div) {
    animation: rise-in 0.6s var(--ease) both;
  }
  .reveal-ready .worth-figures.is-visible .worth-split > div:nth-child(2) {
    animation-delay: 0.12s;
  }
  .reveal-ready .worth-figures.is-visible .worth-split > div:nth-child(3) {
    animation-delay: 0.24s;
  }
  /* Systems: handld appears, the spokes draw out, each system flies out to its place */
  .reveal-ready .hub:not(.is-visible) :is(.hub-core, .hub-ring, .hub-spokes, .hub-node) {
    opacity: 0;
  }
  .reveal-ready .hub.is-visible .hub-core {
    animation: pop-in 0.6s var(--ease) both;
  }
  .reveal-ready .hub.is-visible .hub-ring {
    animation: fade-in 0.9s ease both 0.25s;
  }
  .reveal-ready .hub.is-visible .hub-spokes {
    animation: spokes-out 0.9s var(--ease) both 0.3s;
  }
  .reveal-ready .hub.is-visible .hub-node {
    animation: node-out 0.85s var(--ease) both;
    animation-delay: calc(var(--i) * 120ms + 0.4s);
  }

  /* Scene 4: sent, waiting, ready */
  .demo-ready .scene-follow.is-active .follow-steps li {
    animation: slide-in 0.55s var(--ease) both;
  }
  .demo-ready .scene-follow.is-active .follow-steps li:nth-child(1) {
    animation-delay: 0.25s;
  }
  .demo-ready .scene-follow.is-active .follow-steps li:nth-child(2) {
    animation-delay: 0.95s;
  }
  .demo-ready .scene-follow.is-active .follow-steps li:nth-child(3) {
    animation-delay: 1.65s;
  }
  .demo-ready .scene-follow.is-active .follow-mail {
    animation: rise-in 0.65s var(--ease) both 2.1s;
  }

  /* Proof band */
  .reveal-ready .proof-grid:not(.is-visible) > div {
    opacity: 0;
  }
  .reveal-ready .proof-grid.is-visible > div {
    animation: rise-in 0.8s var(--ease) both;
  }
  .reveal-ready .proof-grid.is-visible > div:nth-child(2) {
    animation-delay: 0.3s;
  }
  .reveal-ready .proof-grid.is-visible > div:nth-child(3) {
    animation-delay: 0.6s;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .demo-stage {
    padding: 26px 26px 30px;
  }
  .read-grid {
    grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1fr);
    gap: 12px;
  }
}
@media (max-width: 980px) {
  .site-header nav {
    display: none;
  }
  .header-inner > .button {
    margin-left: auto;
  }
  .hero-intro,
  .worth-panel,
  .details-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-intro {
    align-items: start;
    gap: 24px;
  }
  .read-grid,
  .price-body,
  .follow-grid,
  .fit-grid {
    grid-template-columns: 1fr;
  }
  .price-body {
    gap: 14px;
  }
  .history {
    padding: 12px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .hub {
    max-width: 440px;
  }
  .read-arrow {
    justify-self: center;
    transform: rotate(90deg);
  }
  .proof-grid {
    grid-template-columns: 1fr;
  }
  .proof-grid > div,
  .proof-grid > div + div {
    padding: 28px 0;
    border-left: 0;
  }
  .proof-grid > div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
}
@media (max-width: 720px) {
  body {
    font-size: 16px;
  }
  .shell {
    width: calc(100% - 40px);
  }
  html {
    scroll-padding-top: 76px;
  }
  .header-inner {
    height: 64px;
  }
  .wordmark {
    font-size: 24px;
  }
  .hero {
    padding: 40px 0 72px;
  }
  h1 {
    font-size: clamp(44px, 12.5vw, 62px);
  }
  .hero-copy p {
    font-size: 17.5px;
  }
  .hero-intro {
    padding-bottom: 36px;
  }
  .demo {
    border-radius: 16px;
  }
  .demo-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr)) 42px;
  }
  .demo-tab {
    justify-content: center;
    gap: 5px;
    padding: 14px 4px 16px;
    font-size: 14px;
  }
  .tab-num {
    display: none;
  }
  .tab-label {
    display: none;
  }
  .tab-short {
    display: inline;
  }
  .demo-stage {
    padding: 20px 16px 22px;
  }
  .scene-title {
    margin-bottom: 18px;
    font-size: 20px;
  }
  .mail {
    padding: 16px;
  }
  .mail-lines li:nth-child(n + 3),
  .match-list li:nth-child(n + 3),
  .more-wide {
    display: none;
  }
  .more-narrow {
    display: inline;
  }
  .matches {
    padding: 14px 16px 12px;
  }
  .match-list li {
    grid-template-columns: 54px minmax(0, 1fr) 22px;
    gap: 10px;
  }
  .supply-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 14px;
  }
  .supply-flag {
    justify-content: flex-start;
  }
  .drafts-chip {
    flex-wrap: wrap;
  }
  .drafts-chip .button-quiet {
    width: 100%;
    margin-left: 0;
  }
  .evidence-head {
    flex-direction: column;
    gap: 2px;
    padding: 12px 16px 10px;
  }
  .price-body,
  .price-result {
    padding-inline: 16px;
  }
  .result-totals {
    gap: 8px 18px;
  }
  .price-result .text-button {
    margin-left: 0;
  }
  .flag {
    white-space: normal;
  }
  .visual-caption {
    flex-direction: column;
    gap: 2px;
  }
  .fit,
  .proof,
  .worth,
  .details,
  .contact {
    padding: 72px 0;
  }
  .worth-panel {
    padding: 26px 20px;
  }
  .worth-split {
    grid-template-columns: 1fr;
  }
  .worth-split > div,
  .worth-split > div + div {
    padding: 16px 0;
    border-left: 0;
  }
  .worth-split > div + div {
    border-top: 1px solid var(--line);
  }
  .worth-note {
    text-align: left;
  }
  .hub {
    --spread: 0.76;
  }
  .hub-core {
    width: 96px;
    height: 96px;
    border-radius: 24px;
    font-size: 20px;
  }
  .hub-node {
    gap: 6px;
    padding: 7px 11px 7px 9px;
    font-size: 13px;
  }
  .hub-node svg {
    width: 16px;
    height: 16px;
  }
  .dot b {
    font-size: 11.5px;
  }
  .history-head {
    flex-wrap: wrap;
  }
  .founder {
    padding: 22px 20px;
  }
  .founder figcaption {
    flex-wrap: wrap;
  }
  .founder .text-link {
    margin-left: 54px;
  }
  .faq-list summary {
    font-size: 17px;
  }
  .faq-list details p {
    padding-right: 0;
  }
  #demo-form {
    padding: 22px 18px;
  }
  .form-row,
  .source-pair {
    grid-template-columns: 1fr;
  }
  .footer {
    flex-wrap: wrap;
    gap: 10px 20px;
  }
  .footer > div {
    width: 100%;
    margin-left: 0;
  }
  dialog {
    padding: 20px 18px 18px;
  }
  dialog h2 {
    font-size: 22px;
  }
}
@media (max-width: 380px) {
  .button-small {
    padding: 0 12px;
  }
  .supply-spec {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
