/* The hidden attribute must win over component display rules (demo form after submit). */
[hidden] { display: none !important; }
/* ==========================================================================
   Conflow - landing, pricing and demo pages in look B (navy gradient).
   Used by index.html, pricing.html and demo.html only. The other pages
   (about, platform, contact) keep styles.css.
   Ported from the 12 Oct 2026 look B prototype. Brand tokens are copied from
   the styles.css :root block so both stylesheets share one palette.
   Rule: no raw colours or sizes outside the token blocks below.
   ========================================================================== */

/* ---- Brand tokens (same values as styles.css :root) --------------------- */
:root {
  --bg: #F8F9FC; --card: #FFFFFF; --card-subtle: #FBFCFE; --dark-band: #001033;
  --ink: #1B2540; --muted: #6B7184; --muted-2: #7C8293; --muted-3: #9AA0AC; --faint: #B3BAC7;
  --accent: #0050F8; --accent-bright: #2563EB; --icon-bg: #EEF2FB; --icon-bg-2: #EAF1FF;
  --hero-ink: #FAFEFF; --hero-soft: #E0F6FF;
  --line-08: #00275014; --line-0f: #0027500F; --line-1f: #0027501F; --line-0a: #0027500A; --line-0d: #0027500D;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Geist Mono", monospace;
  --maxw: 1200px;
  --hero-gradient: linear-gradient(180deg, #001033 0%, #0050F8 55%, #5FBDF7 100%);
  /* Brand mark dots (from the inline SVG mark in index.html) */
  --mark-on-dark: #FAFEFF; --mark-on-dark-2: #7D8AA2; --mark-on-light: #2563EB; --mark-on-light-2: #C0C2C4;
}
@supports (background: linear-gradient(in oklab, red, blue)) {
  :root {
    --hero-gradient: linear-gradient(in oklab 180deg, oklab(18.6% -0.013 -0.073) 0%, oklab(51.8% -0.032 -0.255) 55%, oklab(76.4% -0.064 -0.104) 100%);
  }
}

/* ---- Proposed tokens (not yet in brand.css) ----------------------------- */
:root {
  /* proposed token: spacing scale */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 20px; --sp-6: 24px;
  --sp-7: 28px; --sp-8: 32px; --sp-10: 40px; --sp-12: 48px; --sp-14: 56px; --sp-16: 64px;
  --sp-20: 80px; --sp-24: 96px; --sp-28: 112px;
  /* proposed token: type scale */
  --fs-2xs: 11px; --fs-xs: 12px; --fs-sm: 13px; --fs-base: 15px; --fs-md: 16px; --fs-lg: 18px;
  --fs-xl: 20px; --fs-2xl: 24px; --fs-3xl: 32px; --fs-4xl: 42px; --fs-5xl: 56px;
  /* proposed token: radius scale (website uses 6/10/12/16/20/999) */
  --r-sm: 6px; --r-md: 10px; --r-lg: 12px; --r-xl: 16px; --r-2xl: 20px; --r-pill: 999px;
  /* proposed token: widths */
  --maxw-wide: 1360px; --measure: 560px; --measure-narrow: 440px; --hairline: 1px; --focus-w: 3px;
  --nav-h: 64px; --stepper-h: 52px;
  /* gradient stretch: keeps small hero text on the darker blue (AA contrast) */
  --hero-stretch: 150%;
  /* proposed token: shadows (copied from website .wcard) */
  --shadow-card: var(--line-0a) 0 0 0 1px, #0027501A 0 22px 50px -18px, var(--line-0d) 0 6px 16px -10px;
  --shadow-pop: var(--line-0f) 0 0 0 1px, #00275029 0 18px 40px -12px;
  --shadow-ring: var(--line-0f) 0 0 0 1px;
  --shadow-ring-strong: var(--line-1f) 0 0 0 1px;
  /* proposed token: worksheet chip colours (hardcoded in website styles.css .wchip) */
  --chip-labour-bg: #E7EFFF; --chip-labour-ink: var(--accent);
  --chip-plant-bg: #EAF1FF; --chip-plant-ink: #4D74C8;
  --chip-material-bg: #EEF1F6; --chip-material-ink: var(--muted);
  --chip-sub-bg: #F1F1F5; --chip-sub-ink: var(--muted-2);
  --chip-recipe-bg: #ECE9FB; --chip-recipe-ink: #6D4ED6;
  --calc-bg: #F5F8FE; --row-selected: #F3F7FF;
  /* proposed token: status colours (forecast variance, approvals) */
  --pos: #0F7A55; --pos-bg: #E6F5EE; --neg: #B4232F; --neg-bg: #FCECEE; --warn: #9A5B00; --warn-bg: #FFF3DC;
  /* proposed token: misc */
  --white: #FFFFFF; --focus: var(--accent-bright); --scrim: #00103366;
  --dur-fast: .15s; --dur: .25s; --dur-slow: .6s; --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---- Look B surface tokens ---------------------------------------------- */
:root {
  --page-bg: var(--bg);
  --hero-surface: var(--hero-gradient);
  --hero-text: var(--hero-ink);
  --hero-sub: var(--hero-soft);
  --hero-eyebrow-bg: #FFFFFF14;
  --hero-eyebrow-ink: var(--hero-ink);
  --nav-bg: #001033E6;
  --nav-ink: var(--hero-ink);
  --nav-line: #FFFFFF14;
  --stepper-bg: #FFFFFFE6;
  --band-bg: var(--dark-band); --band-text: var(--hero-ink); --band-sub: var(--hero-soft);
  --cta-bg: var(--accent); --cta-ink: var(--white); --cta-hover: var(--accent-bright);
  --ghost-ink: var(--ink); --ghost-ring: var(--line-1f);
  /* AI terminal card */
  --term-bg: var(--dark-band); --term-ink: var(--hero-soft); --term-dim: #9FB3D1; --term-call: #5FBDF7; --term-line: #FFFFFF1A;
}
/* On dark surfaces (hero, header and band) the primary CTA is white. */
.on-dark {
  --cta-bg: var(--white); --cta-ink: var(--dark-band); --cta-hover: var(--hero-soft);
  --ghost-ink: var(--hero-soft); --ghost-ring: #E0F6FF80;
  --focus: var(--white); /* the blue ring disappears on the blue hero */
}
/* White cards inside a dark surface go back to the blue ring. */
.on-dark .app { --focus: var(--accent-bright); }


/* ---- Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--nav-h) + var(--stepper-h) + var(--sp-4)); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--page-bg); color: var(--ink);
  font-family: var(--font-sans); font-size: var(--fs-base); line-height: 1.55;
  -webkit-font-smoothing: antialiased; letter-spacing: -0.005em;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: var(--focus-w) solid var(--focus); outline-offset: 2px; border-radius: var(--r-sm); }
.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 { position: absolute; left: var(--sp-4); top: -100px; z-index: 100; background: var(--card); padding: var(--sp-2) var(--sp-4); border-radius: var(--r-md); box-shadow: var(--shadow-pop); }
.skip:focus { top: var(--sp-4); }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--sp-6); }
.wrap--wide { max-width: var(--maxw-wide); }
.mono { font-family: var(--font-mono); }
.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 44px; padding: var(--sp-3) var(--sp-6); border: 0; border-radius: var(--r-pill);
  font-weight: 500; font-size: var(--fs-base); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur-fast) ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--cta-bg); color: var(--cta-ink); }
.btn--primary:hover { background: var(--cta-hover); }
.btn--ghost { background: transparent; color: var(--ghost-ink); box-shadow: var(--ghost-ring) 0 0 0 1px inset; }
.btn--ghost:hover { box-shadow: var(--ghost-ink) 0 0 0 1px inset; }
.btn--sm { min-height: 36px; padding: var(--sp-2) var(--sp-4); font-size: var(--fs-sm); }
.btn--block { width: 100%; }
.link-arrow { color: var(--accent); font-weight: 500; text-decoration: none; display: inline-flex; gap: var(--sp-1); align-items: center; }
.link-arrow:hover { text-decoration: underline; }
.text-btn { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }
.section__head--flush { margin-bottom: 0; }
.soq__map--inline { padding: var(--sp-4) 0 0; }
.tree__hd--pad { padding-top: var(--sp-4); }
.code--block { display: block; }

/* ---- Eyebrow + headings (from website) ---------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2); border-radius: var(--r-pill);
  padding: var(--sp-1) var(--sp-3) var(--sp-1) var(--sp-2); background: var(--card); box-shadow: var(--shadow-ring);
  font-size: var(--fs-sm); font-weight: 500; color: var(--ink);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: var(--r-pill); background: var(--accent); }
.h-section { font-family: var(--font-display); font-weight: 450; font-size: var(--fs-4xl); line-height: 1.1; letter-spacing: -0.02em; margin: var(--sp-4) 0 var(--sp-3); }
.sub { color: var(--muted); font-size: var(--fs-md); max-width: var(--measure); margin: 0; }
.section { padding-block: var(--sp-24); }
.section__head { text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: var(--sp-12); }
.section__head .sub { text-align: center; }

/* ---- Nav ---------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: var(--nav-bg); color: var(--nav-ink); backdrop-filter: saturate(1.4) blur(10px);
  box-shadow: var(--nav-line) 0 -1px 0 inset;
}
.nav__inner { height: 100%; display: flex; align-items: center; gap: var(--sp-8); }
.brand { display: inline-flex; align-items: center; gap: var(--sp-2); text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-xl); letter-spacing: -0.02em; }
.brand img { width: 22px; height: 22px; }
.nav__links { display: flex; gap: var(--sp-6); font-size: var(--fs-base); }
.nav__links a { text-decoration: none; opacity: .85; }
.nav__links a:hover, .nav__links a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: var(--sp-4); }
.nav__login { text-decoration: none; font-weight: 500; }
.nav__login:hover { text-decoration: underline; }
.nav__toggle { display: none; background: none; border: 0; padding: var(--sp-2); cursor: pointer; color: inherit; border-radius: var(--r-md); }
.nav__toggle svg { width: 22px; height: 22px; }
.mmenu {
  position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 49; background: var(--card); color: var(--ink);
  padding: var(--sp-4) var(--sp-6) var(--sp-6); box-shadow: var(--shadow-pop); display: none; flex-direction: column; gap: var(--sp-1);
}
.mmenu.is-open { display: flex; }
.mmenu a:not(.btn) { padding: var(--sp-3) 0; text-decoration: none; font-size: var(--fs-md); box-shadow: var(--line-0f) 0 -1px 0 inset; }
.mmenu .btn { margin-top: var(--sp-3); }
@media (max-width: 900px) {
  .nav__links, .nav__actions .nav__login, .nav__actions .btn--ghost { display: none; }
  .nav__toggle { display: inline-flex; }
}

/* ---- Hero --------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--hero-surface); color: var(--hero-text); }
.hero__canvas, .cta__canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; display: block; }
.hero__inner {
  position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--sp-12);
  align-items: center; padding-block: var(--sp-20) var(--sp-24);
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2); padding: var(--sp-1) var(--sp-3) var(--sp-1) var(--sp-2);
  border-radius: var(--r-pill); background: var(--hero-eyebrow-bg); color: var(--hero-eyebrow-ink); box-shadow: var(--shadow-ring);
  font-size: var(--fs-sm); font-weight: 500;
}
.hero__eyebrow { max-width: 100%; }
.hero__eyebrow .flag { white-space: nowrap; flex: none; font-family: var(--font-mono); font-size: var(--fs-2xs); letter-spacing: .06em; color: var(--accent); }
.hero__eyebrow .flag { color: var(--hero-soft); }
.hero h1 { font-family: var(--font-display); font-weight: 450; font-size: var(--fs-5xl); line-height: 1.04; letter-spacing: -0.03em; margin: var(--sp-5) 0 var(--sp-5); }
.hero__sub { font-size: var(--fs-lg); line-height: 1.5; color: var(--hero-sub); margin: 0 0 var(--sp-8); max-width: var(--measure); }
.hero__ctas { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.hero__ctas .btn { min-height: 48px; padding-inline: var(--sp-7); font-size: var(--fs-md); }
.hero__fine { margin: var(--sp-4) 0 0; font-size: var(--fs-sm); color: var(--hero-sub); }
.hero__trust { margin: var(--sp-8) 0 0; display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); font-size: var(--fs-sm); color: var(--hero-sub); }
.hero__trust span { display: inline-flex; align-items: center; gap: var(--sp-2); }
.hero__trust svg { width: 14px; height: 14px; }
.hero__product { position: relative; }
.hero__hint { margin: var(--sp-3) 0 0; font-size: var(--fs-sm); color: var(--hero-sub); text-align: center; }
.hero__hint kbd { font-family: var(--font-mono); font-size: var(--fs-xs); padding: 0 var(--sp-1); border-radius: var(--r-sm); background: var(--hero-eyebrow-bg); box-shadow: var(--shadow-ring); }
@media (min-width: 1800px) { .hero h1 { font-size: calc(var(--fs-5xl) + var(--sp-2)); } }
/* Small hero lines sit low in the hero. Stretch the gradient so they stay on
   the darker blue (WCAG AA 4.5:1 for 13px text). */
.hero { background-size: 100% var(--hero-stretch); background-repeat: no-repeat; }
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: var(--sp-10); padding-block: var(--sp-12) var(--sp-16); }
  .hero h1 { font-size: var(--fs-4xl); }
}
@media (max-width: 480px) { .hero h1 { font-size: var(--fs-3xl); } .hero__sub { font-size: var(--fs-md); } .hero__ctas .btn { flex: 1 1 100%; } }

/* ---- App frame (product replica) ---------------------------------------- */
.app { background: var(--card); color: var(--ink); border-radius: var(--r-2xl); box-shadow: var(--shadow-card); overflow: clip; text-align: left; }
.hero .app { box-shadow: #00103366 0 30px 80px -20px, #FFFFFF26 0 0 0 1px; }
.app__bar { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-3) var(--sp-4); background: var(--card-subtle); box-shadow: var(--line-0f) 0 -1px 0 inset; font-size: var(--fs-sm); }
.app__bar img { width: 16px; height: 16px; }
.app__crumbs { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__crumbs b { color: var(--ink); font-weight: 500; }
.app__total { margin-left: auto; text-align: right; white-space: nowrap; }
.app__total .lbl { color: var(--muted); margin-right: var(--sp-2); }
.app__total .num { font-weight: 600; font-size: var(--fs-md); }
.app__body { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 9fr); }
.tree { padding: var(--sp-3) 0; box-shadow: var(--line-0f) -1px 0 0 inset; background: var(--card-subtle); font-size: var(--fs-sm); }
.tree__hd { font-family: var(--font-mono); font-size: var(--fs-2xs); letter-spacing: .08em; color: var(--muted); padding: var(--sp-1) var(--sp-4) var(--sp-2); }
.tree__row { display: flex; justify-content: space-between; gap: var(--sp-2); padding: var(--sp-2) var(--sp-4); color: var(--ink); }
.tree__row .num { color: var(--muted); font-size: var(--fs-xs); }
.tree__row--child { padding-left: var(--sp-8); }
.tree__row--group { font-weight: 500; }
.tree__row--active { background: var(--row-selected); box-shadow: var(--accent) 3px 0 0 inset; }
.tree__row--active .num { color: var(--accent); }
.ws { min-width: 0; }
.ws__head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--sp-4); padding: var(--sp-5) var(--sp-5) var(--sp-4); box-shadow: var(--line-0f) 0 -1px 0 inset; }
.ws__eyebrow { font-family: var(--font-mono); font-size: var(--fs-2xs); letter-spacing: .08em; color: var(--muted); }
.ws__name { font-size: var(--fs-lg); font-weight: 500; margin-top: var(--sp-1); }
.ws__qty { font-size: var(--fs-sm); color: var(--muted); }
.ws__rate { text-align: right; background: var(--card-subtle); border-radius: var(--r-lg); padding: var(--sp-2) var(--sp-4); box-shadow: var(--shadow-ring); white-space: nowrap; }
.ws__rate .lbl { font-size: var(--fs-xs); color: var(--muted); }
.ws__rate .big { font-family: var(--font-mono); font-size: var(--fs-xl); font-weight: 600; }
.ws__rate .unit { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--muted); }
.wt__head, .wt__row { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, .9fr) minmax(0, .8fr) minmax(0, .9fr) 28px; gap: var(--sp-2); align-items: center; padding: 0 var(--sp-5); }
.wt__head { height: 34px; box-shadow: var(--line-0f) 0 -1px 0 inset; font-family: var(--font-mono); font-size: var(--fs-2xs); letter-spacing: .06em; color: var(--muted); }
.wt__row { min-height: 42px; box-shadow: var(--line-0f) 0 -1px 0 inset; font-size: var(--fs-sm); }
.wt__row .res { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wt__row .num { font-size: var(--fs-sm); }
.wt__row .muted { color: var(--muted); }
.r { text-align: right; justify-self: end; }
.wt__row--new { animation: rowin var(--dur-slow) var(--ease); }
@keyframes rowin { from { background: var(--icon-bg-2); opacity: 0; transform: translateY(-4px); } to { background: transparent; opacity: 1; transform: none; } }
.qty-in { width: 100%; max-width: 72px; justify-self: end; text-align: right; font-family: var(--font-mono); font-size: var(--fs-sm); padding: var(--sp-1) var(--sp-2); border: 0; border-radius: var(--r-sm); background: var(--card-subtle); box-shadow: var(--shadow-ring); }
.qty-in:hover { box-shadow: var(--shadow-ring-strong); }
/* No spinner arrows: they take the room the number needs in narrow columns. */
.qty-in { -moz-appearance: textfield; appearance: textfield; }
.qty-in::-webkit-inner-spin-button, .qty-in::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.row-x { width: 24px; height: 24px; border: 0; background: none; border-radius: var(--r-sm); color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.row-x:hover { background: var(--neg-bg); color: var(--neg); }
.row-x svg { width: 12px; height: 12px; }
.wchip { display: inline-flex; border-radius: var(--r-sm); padding: 2px var(--sp-2); font-size: var(--fs-xs); font-weight: 500; width: fit-content; }
.wchip.labour { background: var(--chip-labour-bg); color: var(--chip-labour-ink); }
.wchip.plant { background: var(--chip-plant-bg); color: var(--chip-plant-ink); }
.wchip.material { background: var(--chip-material-bg); color: var(--chip-material-ink); }
.wchip.subcontract { background: var(--chip-sub-bg); color: var(--chip-sub-ink); }
.wchip.recipe { background: var(--chip-recipe-bg); color: var(--chip-recipe-ink); }
.ws__calc { display: flex; justify-content: space-between; gap: var(--sp-3); padding: var(--sp-2) var(--sp-5); background: var(--calc-bg); box-shadow: var(--line-0f) 0 -1px 0 inset; font-family: var(--font-mono); font-size: var(--fs-sm); }
.ws__calc .fx { color: var(--accent); font-style: italic; }
.ws__calc b { color: var(--accent); font-weight: 600; }
.ws__foot { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-3) var(--sp-4); }
.picker { flex: 1; display: flex; align-items: center; gap: var(--sp-2); padding: var(--sp-2) var(--sp-3); border-radius: var(--r-md); background: var(--card-subtle); box-shadow: var(--shadow-ring); cursor: text; }
.picker:focus-within { box-shadow: var(--accent) 0 0 0 1px, var(--icon-bg-2) 0 0 0 4px; }
.picker svg { width: 14px; height: 14px; color: var(--muted); }
.picker input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: var(--fs-sm); }
.picker input::placeholder { color: var(--muted-2); }
.picker .count { font-family: var(--font-mono); font-size: var(--fs-2xs); color: var(--muted); white-space: nowrap; }
.rpmenu { position: fixed; z-index: 80; background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow-pop); display: none; flex-direction: column; overflow: hidden; max-height: 320px; }
.rpmenu.is-open { display: flex; animation: pop var(--dur) var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(4px) scale(.99); } to { opacity: 1; transform: none; } }
.rpmenu__count { padding: var(--sp-2) var(--sp-3); font-size: var(--fs-xs); color: var(--muted); box-shadow: var(--line-0f) 0 -1px 0 inset; }
.rpmenu__count b { color: var(--ink); font-family: var(--font-mono); }
.rpmenu ul { list-style: none; margin: 0; padding: var(--sp-1); overflow-y: auto; }
.rpopt { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: var(--sp-2); align-items: center; padding: var(--sp-2); border-radius: var(--r-sm); cursor: pointer; font-size: var(--fs-sm); }
.rpopt.is-active, .rpopt:hover { background: var(--row-selected); }
.rpopt__b { width: 20px; height: 20px; border-radius: var(--r-sm); display: grid; place-items: center; font-family: var(--font-mono); font-size: var(--fs-2xs); font-weight: 600; }
.rpopt__b--R { background: var(--chip-recipe-bg); color: var(--chip-recipe-ink); }
.rpopt__b--M { background: var(--chip-material-bg); color: var(--chip-material-ink); }
.rpopt__b--P { background: var(--chip-plant-bg); color: var(--chip-plant-ink); }
.rpopt__b--L { background: var(--chip-labour-bg); color: var(--chip-labour-ink); }
.rpopt__b--S { background: var(--chip-sub-bg); color: var(--chip-sub-ink); }
.rpopt__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rpopt__rate { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--muted); }
.rpmenu__empty { padding: var(--sp-4); color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 720px) {
  .app__body { grid-template-columns: minmax(0, 1fr); }
  .tree { display: none; }
  .wt__head, .wt__row { grid-template-columns: minmax(0, 1.8fr) minmax(52px, .9fr) minmax(0, .8fr) minmax(0, .9fr) 24px; padding: 0 var(--sp-3); }
  .qty-in { padding-inline: var(--sp-1); }
  .wt__head .c-type, .wt__row .wchip { display: none; }
  .ws__head { padding: var(--sp-4) var(--sp-3) var(--sp-3); flex-direction: column; }
  .ws__rate { text-align: left; }
  .ws__calc { padding: var(--sp-2) var(--sp-3); }
  .app__crumbs { display: none; }
}

/* ---- Stages ------------------------------------------------------------- */
.stages__intro { padding-top: var(--sp-24); }
.stepper { position: sticky; top: var(--nav-h); z-index: 40; background: var(--stepper-bg); backdrop-filter: blur(10px); box-shadow: var(--line-0f) 0 -1px 0 inset; color: var(--ink); }
.stepper ol { list-style: none; margin: 0 auto; padding: 0 var(--sp-6); max-width: var(--maxw); height: var(--stepper-h); display: flex; align-items: center; gap: var(--sp-1); overflow-x: auto; scrollbar-width: none; }
.stepper ol::-webkit-scrollbar { display: none; }
.stepper a { display: inline-flex; align-items: center; gap: var(--sp-2); padding: var(--sp-2) var(--sp-3); border-radius: var(--r-pill); text-decoration: none; font-size: var(--fs-sm); color: var(--muted); white-space: nowrap; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.stepper a .n { font-family: var(--font-mono); font-size: var(--fs-2xs); color: var(--muted); }
.stepper a:hover { color: var(--ink); background: var(--bg); }
.stepper a.is-current { color: var(--accent); background: var(--icon-bg-2); font-weight: 500; }
.stepper a.is-current .n { color: var(--accent); }
.stepper li:not(:last-child)::after { content: ""; display: inline-block; width: var(--sp-4); height: var(--hairline); background: var(--faint); vertical-align: middle; margin-left: var(--sp-1); }
.stage { padding-block: var(--sp-16); }
.stage + .stage { box-shadow: var(--line-0a) 0 1px 0 inset; }
.stage__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--sp-16); align-items: center; }
.stage:nth-of-type(even) .stage__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.stage:nth-of-type(even) .stage__text { order: 2; }
.stage__no { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .08em; color: var(--accent); }
.stage h3 { font-family: var(--font-display); font-weight: 450; font-size: var(--fs-3xl); line-height: 1.15; letter-spacing: -0.02em; margin: var(--sp-3) 0 var(--sp-3); }
.stage p { color: var(--muted); margin: 0 0 var(--sp-4); max-width: var(--measure); }
.ticks { list-style: none; margin: 0 0 var(--sp-5); padding: 0; display: grid; gap: var(--sp-2); }
.ticks li { display: flex; gap: var(--sp-2); align-items: flex-start; }
.ticks li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 3px; border-radius: var(--r-pill); background: var(--icon-bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%230050F8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.benefit { display: inline-flex; align-items: center; gap: var(--sp-3); padding: var(--sp-3) var(--sp-4); border-radius: var(--r-lg); background: var(--bg); box-shadow: var(--shadow-ring); font-size: var(--fs-sm); }
.benefit b { font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 600; color: var(--accent); letter-spacing: -0.02em; }
@media (max-width: 960px) {
  .stage__grid, .stage:nth-of-type(even) .stage__grid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-8); }
  .stage:nth-of-type(even) .stage__text { order: 0; }
  .h-section { font-size: var(--fs-3xl); }
  .stage h3 { font-size: var(--fs-2xl); }
}

/* ---- Small UI cards inside stages --------------------------------------- */
.card { background: var(--card); border-radius: var(--r-2xl); box-shadow: var(--shadow-card); overflow: clip; }
.card__hd { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); padding: var(--sp-4) var(--sp-5); box-shadow: var(--line-0f) 0 -1px 0 inset; }
.card__eyebrow { font-family: var(--font-mono); font-size: var(--fs-2xs); letter-spacing: .08em; color: var(--muted); }
.card__title { font-weight: 500; margin-top: 2px; }
.card__ft { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); flex-wrap: wrap; padding: var(--sp-3) var(--sp-5); background: var(--card-subtle); box-shadow: var(--line-0f) 0 1px 0 inset; font-size: var(--fs-sm); }
.card__ft .num { font-weight: 600; font-size: var(--fs-md); }
.tbl { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.tbl th { font-family: var(--font-mono); font-size: var(--fs-2xs); letter-spacing: .06em; color: var(--muted); font-weight: 400; text-align: left; padding: var(--sp-2) var(--sp-3); box-shadow: var(--line-0f) 0 -1px 0 inset; white-space: nowrap; }
.tbl td { padding: var(--sp-2) var(--sp-3); white-space: nowrap; box-shadow: var(--line-0f) 0 -1px 0 inset; height: 42px; }
.tbl .r { text-align: right; }
.tbl th:first-child, .tbl td:first-child { padding-left: var(--sp-5); }
.tbl th:last-child, .tbl td:last-child { padding-right: var(--sp-5); }
.tbl tr.is-on td { background: var(--row-selected); }
.tbl tr.is-on td:first-child { box-shadow: var(--accent) 3px 0 0 inset, var(--line-0f) 0 -1px 0 inset; }
.tbl-scroll { overflow-x: auto; }
.pill { display: inline-flex; align-items: center; gap: var(--sp-1); border-radius: var(--r-pill); padding: 2px var(--sp-3); font-size: var(--fs-xs); font-weight: 500; background: var(--chip-material-bg); color: var(--muted); white-space: nowrap; }
.pill--accent { background: var(--accent); color: var(--white); }
.pill--soft { background: var(--icon-bg-2); color: var(--accent); }
.pill--pos { background: var(--pos-bg); color: var(--pos); }
.pill--neg { background: var(--neg-bg); color: var(--neg); }
.pill--warn { background: var(--warn-bg); color: var(--warn); }
.pos { color: var(--pos); } .neg { color: var(--neg); }
.mini-btn { border: 0; cursor: pointer; border-radius: var(--r-pill); padding: var(--sp-1) var(--sp-3); font-size: var(--fs-xs); font-weight: 500; background: var(--card); box-shadow: var(--shadow-ring-strong); }
.mini-btn:hover { background: var(--bg); }
.mini-btn--accent { background: var(--accent); color: var(--white); box-shadow: none; }
.mini-btn--accent:hover { background: var(--accent-bright); }
.mini-btn[disabled] { opacity: .5; cursor: default; }

/* SoQ import */
.soq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.soq__xl { padding: var(--sp-4) var(--sp-5); box-shadow: var(--line-0f) -1px 0 0 inset; font-family: var(--font-mono); font-size: var(--fs-xs); }
.soq__xl table { width: 100%; border-collapse: collapse; }
.soq__xl td, .soq__xl th { padding: var(--sp-1) var(--sp-2); box-shadow: var(--line-0f) 0 0 0 1px inset; white-space: nowrap; }
.soq__xl th { background: var(--pos-bg); color: var(--pos); font-weight: 500; }
.soq__map { padding: var(--sp-4) var(--sp-5); font-size: var(--fs-sm); display: flex; flex-direction: column; gap: var(--sp-2); }
.soq__map .m { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-2); padding: var(--sp-2) var(--sp-3); border-radius: var(--r-md); background: var(--card-subtle); box-shadow: var(--shadow-ring); }
.soq__map .m span:first-child { color: var(--muted); font-family: var(--font-mono); font-size: var(--fs-xs); }
.soq__tree { padding: var(--sp-2) 0; min-height: 168px; }
.soq__tree .tree__row { font-size: var(--fs-sm); }
.soq__tree .tree__row.is-in { animation: rowin var(--dur-slow) var(--ease) both; }
.soq__empty { color: var(--muted); font-size: var(--fs-sm); padding: var(--sp-8) var(--sp-5); text-align: center; }
@media (max-width: 560px) { .soq { grid-template-columns: 1fr; } .soq__xl { box-shadow: var(--line-0f) 0 -1px 0 inset; } }

/* Win: quotes + margin */
.quote-row { cursor: pointer; }
.quote-row:hover td { background: var(--bg); }
.quote-row input { accent-color: var(--accent); }
.margin { padding: var(--sp-4) var(--sp-5); display: grid; gap: var(--sp-3); box-shadow: var(--line-0f) 0 -1px 0 inset; }
.margin__row { display: flex; justify-content: space-between; gap: var(--sp-3); font-size: var(--fs-sm); }
.margin__row .num { font-size: var(--fs-sm); }
.margin input[type="range"] { width: 100%; accent-color: var(--accent); }
.margin label { display: flex; justify-content: space-between; font-size: var(--fs-sm); color: var(--muted); }

/* Budget convert */
.flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: var(--sp-3); padding: var(--sp-5); }
.flow__col { border-radius: var(--r-lg); box-shadow: var(--shadow-ring); overflow: hidden; }
.flow__col h4 { margin: 0; padding: var(--sp-2) var(--sp-3); font-size: var(--fs-xs); font-family: var(--font-mono); letter-spacing: .06em; color: var(--muted); font-weight: 400; background: var(--card-subtle); box-shadow: var(--line-0f) 0 -1px 0 inset; }
.flow__line { display: flex; justify-content: space-between; gap: var(--sp-2); padding: var(--sp-2) var(--sp-3); font-size: var(--fs-sm); box-shadow: var(--line-0a) 0 -1px 0 inset; min-height: 36px; align-items: center; }
.flow__line .num { font-size: var(--fs-xs); }
.flow__line.is-empty { color: var(--faint); }
.flow__line.is-filled { animation: rowin var(--dur-slow) var(--ease) both; }
.flow__arrow { display: grid; place-items: center; color: var(--accent); }
.flow__arrow svg { width: 22px; height: 22px; }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } .flow__arrow svg { transform: rotate(90deg); } }

/* Forecast */
.ctc-in { width: 88px; text-align: right; font-family: var(--font-mono); font-size: var(--fs-sm); padding: var(--sp-1) var(--sp-2); border: 0; border-radius: var(--r-sm); background: var(--icon-bg-2); box-shadow: var(--accent) 0 0 0 1px inset; color: var(--ink); }
.cp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--hairline); background: var(--line-0f); }
.cp > div { background: var(--card-subtle); padding: var(--sp-3) var(--sp-5); }
.cp .lbl { font-size: var(--fs-xs); color: var(--muted); }
.cp .num { font-size: var(--fs-lg); font-weight: 600; display: block; }
@media (max-width: 560px) { .cp { grid-template-columns: 1fr; } .tbl th, .tbl td { padding-inline: var(--sp-3); } }

/* Claims */
.claim { padding: var(--sp-5); display: grid; gap: var(--sp-4); }
.claim label { display: flex; justify-content: space-between; font-size: var(--fs-sm); color: var(--muted); }
.claim input[type="range"] { width: 100%; accent-color: var(--accent); }
.bar { height: 10px; border-radius: var(--r-pill); background: var(--bg); box-shadow: var(--shadow-ring); overflow: hidden; display: flex; }
.bar span { display: block; height: 100%; background: var(--accent); transition: width var(--dur) var(--ease); }
.bar span + span { background: var(--accent-bright); opacity: .35; }
.claim__lines { display: grid; gap: var(--sp-2); }
.claim__lines div { display: flex; justify-content: space-between; font-size: var(--fs-sm); }
.claim__lines div.total { padding-top: var(--sp-2); box-shadow: var(--line-0f) 0 1px 0 inset; font-weight: 600; }
.claim__lines div.total .num { color: var(--accent); font-size: var(--fs-lg); }

/* ---- Integrations ------------------------------------------------------- */
.integ { background: var(--bg); }
.integ__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4); }
.integ__item { background: var(--card); border-radius: var(--r-xl); box-shadow: var(--shadow-ring); padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); }
.integ__logo { width: 44px; height: 44px; border-radius: var(--r-lg); box-shadow: var(--shadow-ring); display: grid; place-items: center; overflow: hidden; background: var(--card); }
.integ__logo img { width: 32px; height: 32px; object-fit: contain; }
.integ__logo svg { width: 24px; height: 24px; }
.integ__item b { font-weight: 600; }
.integ__item span { color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 960px) { .integ__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Three tiles: three columns at about the old tile width, one column on phones. */
.integ__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: calc(var(--maxw) * 3 / 4); margin-inline: auto; }
@media (max-width: 960px) { .integ__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .integ__grid--3 { grid-template-columns: minmax(0, 1fr); } }

/* ---- Onboarding --------------------------------------------------------- */
.weeks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-4); counter-reset: wk; }
.week { background: var(--card); border-radius: var(--r-xl); box-shadow: var(--shadow-ring); padding: var(--sp-6); }
.week__top { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .06em; color: var(--muted); margin-bottom: var(--sp-4); }
.week__top b { color: var(--accent); font-weight: 500; }
.week h3 { margin: 0 0 var(--sp-2); font-size: var(--fs-lg); font-weight: 600; }
.week p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 860px) { .weeks { grid-template-columns: 1fr; } }

/* ---- FAQ ---------------------------------------------------------------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { box-shadow: var(--line-0f) 0 -1px 0 inset; }
.faq summary { list-style: none; cursor: pointer; padding: var(--sp-5) var(--sp-1); display: flex; justify-content: space-between; gap: var(--sp-4); font-weight: 500; font-size: var(--fs-md); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-size: var(--fs-xl); line-height: 1; color: var(--accent); transition: transform var(--dur) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 var(--sp-5); padding: 0 var(--sp-1); color: var(--muted); max-width: 680px; }

/* ---- CTA band + footer -------------------------------------------------- */
.band { position: relative; overflow: hidden; background: var(--band-bg); color: var(--band-text); text-align: center; }
.band .wrap { position: relative; padding-block: var(--sp-24); display: flex; flex-direction: column; align-items: center; }
.band h2 { font-family: var(--font-display); font-weight: 450; font-size: var(--fs-4xl); letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 var(--sp-4); max-width: 760px; }
.band p { color: var(--band-sub); margin: 0 0 var(--sp-8); }
.band .hero__ctas { justify-content: center; }
.band .fine { margin: var(--sp-4) 0 0; font-size: var(--fs-sm); color: var(--band-sub); }
@media (max-width: 600px) { .band h2 { font-size: var(--fs-3xl); } }
.foot { background: var(--card); box-shadow: var(--line-0f) 0 1px 0 inset; padding-block: var(--sp-12) var(--sp-8); font-size: var(--fs-sm); color: var(--muted); }
.foot__grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: var(--sp-8); }
.foot h4 { margin: 0 0 var(--sp-3); color: var(--ink); font-size: var(--fs-sm); font-weight: 600; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-2); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot .brand { color: var(--ink); margin-bottom: var(--sp-3); }
.foot__base { margin-top: var(--sp-10); padding-top: var(--sp-5); box-shadow: var(--line-0f) 0 1px 0 inset; display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-3); }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__grid > div:first-child { grid-column: 1 / -1; } }

/* ---- Page header (pricing, demo) --------------------------------------- */
.phead { position: relative; overflow: hidden; background: var(--hero-surface); background-size: 100% var(--hero-stretch); background-repeat: no-repeat; color: var(--hero-text); text-align: center; }
.phead .wrap { position: relative; padding-block: var(--sp-20) var(--sp-12); display: flex; flex-direction: column; align-items: center; }
.phead h1 { font-family: var(--font-display); font-weight: 450; font-size: var(--fs-5xl); letter-spacing: -0.03em; line-height: 1.05; margin: var(--sp-4) 0 var(--sp-4); }
.phead p { color: var(--hero-sub); font-size: var(--fs-lg); margin: 0; max-width: var(--measure); }
@media (max-width: 600px) { .phead h1 { font-size: var(--fs-4xl); } .phead p { font-size: var(--fs-md); } }

/* ---- Pricing ------------------------------------------------------------ */
.big-co { margin-top: var(--sp-6); background: var(--bg); border-radius: var(--r-2xl); box-shadow: var(--shadow-ring); padding: var(--sp-6) var(--sp-8); display: flex; align-items: center; justify-content: space-between; gap: var(--sp-6); flex-wrap: wrap; }
.big-co h3 { margin: 0 0 var(--sp-1); font-size: var(--fs-lg); }
.big-co p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
/* ---- Demo page ---------------------------------------------------------- */
.demo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--sp-16); align-items: start; padding-block: var(--sp-16) var(--sp-24); }
.demo__aside h2 { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-2xl); margin: 0 0 var(--sp-4); }
.demo__aside .ticks { font-size: var(--fs-base); }
.demo__alt { margin-top: var(--sp-8); padding: var(--sp-5); border-radius: var(--r-xl); background: var(--bg); box-shadow: var(--shadow-ring); font-size: var(--fs-sm); }
.demo__alt p { margin: 0 0 var(--sp-3); color: var(--muted); }
.form { background: var(--card); border-radius: var(--r-2xl); box-shadow: var(--shadow-card); padding: var(--sp-8); display: grid; gap: var(--sp-5); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.field { display: grid; gap: var(--sp-2); align-content: start; }
.field label, .field legend { font-size: var(--fs-sm); font-weight: 500; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 44px; padding: var(--sp-2) var(--sp-3); border: 0; border-radius: var(--r-md); background: var(--card); box-shadow: var(--shadow-ring-strong); font-size: var(--fs-base); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: var(--accent) 0 0 0 1px, var(--icon-bg-2) 0 0 0 4px; }
.field[data-invalid] input { box-shadow: var(--neg) 0 0 0 1px; }
.field .err { color: var(--neg); font-size: var(--fs-xs); display: none; }
.field[data-invalid] .err { display: block; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: var(--sp-2); padding: var(--sp-2) var(--sp-3); border-radius: var(--r-pill); box-shadow: var(--shadow-ring-strong); font-size: var(--fs-sm); cursor: pointer; background: var(--card); }
.chip input:checked + span { background: var(--icon-bg-2); color: var(--accent); box-shadow: var(--accent) 0 0 0 1px; }
.chip input:focus-visible + span { outline: var(--focus-w) solid var(--focus); outline-offset: 2px; }
.form__fine { font-size: var(--fs-xs); color: var(--muted); margin: 0; }
.done { text-align: center; padding: var(--sp-12) var(--sp-8); }
.done__ic { width: 56px; height: 56px; margin: 0 auto var(--sp-5); border-radius: var(--r-pill); background: var(--pos-bg); color: var(--pos); display: grid; place-items: center; }
.done__ic svg { width: 26px; height: 26px; }
.done h2 { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-2xl); margin: 0 0 var(--sp-3); }
.done p { color: var(--muted); margin: 0 auto var(--sp-6); max-width: var(--measure-narrow); }
.done dl { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-2) var(--sp-4); text-align: left; max-width: var(--measure-narrow); margin: 0 auto var(--sp-8); font-size: var(--fs-sm); padding: var(--sp-4) var(--sp-5); background: var(--bg); border-radius: var(--r-lg); }
.done dt { color: var(--muted); }
.done dd { margin: 0; }
.done .hero__ctas { justify-content: center; }
@media (max-width: 900px) { .demo { grid-template-columns: minmax(0, 1fr); gap: var(--sp-8); padding-block: var(--sp-10) var(--sp-16); } .form { padding: var(--sp-5); } }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }

/* ---- Brand mark (inline SVG) -------------------------------------------- */
.brand svg { width: 22px; height: 22px; flex: none; }
.brand .mk { fill: var(--mark-on-dark); }
.brand .mk2 { fill: var(--mark-on-dark-2); }
.foot .brand .mk { fill: var(--mark-on-light); }
.foot .brand .mk2 { fill: var(--mark-on-light-2); }

/* ---- Trust strip (names as on the current live site) -------------------- */
.trust { padding-block: var(--sp-10); background: var(--card); box-shadow: var(--line-0f) 0 -1px 0 inset; }
.trust__label { text-align: center; color: var(--muted); font-size: var(--fs-sm); margin: 0 0 var(--sp-5); }
.trust__names { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-3) var(--sp-10); }
.trust__names li { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-lg); color: var(--muted-2); letter-spacing: -0.02em; }

/* ---- AI plugin terminal card -------------------------------------------- */
.term { background: var(--term-bg); color: var(--term-ink); font-family: var(--font-mono); font-size: var(--fs-sm); }
.term__bar { display: flex; align-items: center; gap: var(--sp-2); padding: var(--sp-3) var(--sp-5); box-shadow: var(--term-line) 0 -1px 0 inset; color: var(--term-dim); font-size: var(--fs-xs); }
.term__dots { display: inline-flex; gap: var(--sp-1); }
.term__dots i { width: 8px; height: 8px; border-radius: var(--r-pill); background: var(--term-line); display: block; }
.term__body { padding: var(--sp-4) var(--sp-5); display: grid; gap: var(--sp-2); min-height: 236px; align-content: start; }
/* .term prefix: beats the generic ".stage p" margin and muted colour */
.term .term__line { margin: 0; max-width: none; color: var(--term-ink); white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; }
.term .term__line .p { color: var(--term-call); }
.term .term__line--you { color: var(--hero-ink); }
.term .term__line--call { color: var(--term-call); }
.term .term__line--dim { color: var(--term-dim); }
.term__line.is-in { animation: rowin var(--dur-slow) var(--ease) both; }
.approve { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); flex-wrap: wrap; padding: var(--sp-3) var(--sp-5); background: var(--card-subtle); box-shadow: var(--line-0f) 0 1px 0 inset; font-size: var(--fs-sm); color: var(--ink); font-family: var(--font-sans); }
.approve__what { display: grid; gap: 2px; }
.approve__what span { color: var(--muted); font-size: var(--fs-xs); }
.approve__btns { display: flex; gap: var(--sp-2); }
@keyframes rowin { from { background: var(--icon-bg-2); opacity: 0; transform: translateY(-4px); } to { background: transparent; opacity: 1; transform: none; } }

/* ---- Security / trust grid ---------------------------------------------- */
.sec__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-4); }
.sec__cell { background: var(--card); border-radius: var(--r-xl); box-shadow: var(--shadow-ring); padding: var(--sp-6); }
.sec__icon { width: 36px; height: 36px; border-radius: var(--r-md); background: var(--icon-bg-2); color: var(--accent); display: grid; place-items: center; margin-bottom: var(--sp-4); }
.sec__icon svg { width: 18px; height: 18px; }
.sec__cell h3 { margin: 0 0 var(--sp-2); font-size: var(--fs-md); font-weight: 600; }
.sec__cell p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 960px) { .sec__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .sec__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---- Onboarding steps are an ordered list -------------------------------- */
.weeks { list-style: none; margin: 0; padding: 0; }

/* ---- Pricing: one price block ------------------------------------------- */
.pricebox { margin: calc(-1 * var(--sp-4)) auto 0; position: relative; max-width: 880px; background: var(--card); border-radius: var(--r-2xl); box-shadow: var(--shadow-card); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); overflow: clip; }
.pricebox__price { padding: var(--sp-10) var(--sp-8); background: var(--card-subtle); box-shadow: var(--line-0f) -1px 0 0 inset; display: flex; flex-direction: column; gap: var(--sp-3); }
.pricebox__label { font-family: var(--font-mono); font-size: var(--fs-2xs); letter-spacing: .08em; color: var(--muted); }
.pricebox__amt { font-family: var(--font-display); font-size: var(--fs-4xl); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; margin: 0; }
.pricebox__per { color: var(--muted); font-size: var(--fs-sm); margin: 0; }
.pricebox__price .btn { margin-top: var(--sp-3); }
.pricebox__incl { padding: var(--sp-10) var(--sp-8); }
.pricebox__incl h2 { margin: 0 0 var(--sp-4); font-size: var(--fs-lg); font-weight: 600; }
.pricebox__incl .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-2) var(--sp-6); font-size: var(--fs-sm); margin: 0; }
@media (max-width: 800px) {
  .pricebox { grid-template-columns: minmax(0, 1fr); }
  .pricebox__price { box-shadow: var(--line-0f) 0 -1px 0 inset; padding: var(--sp-8) var(--sp-6); }
  .pricebox__incl { padding: var(--sp-8) var(--sp-6); }
}
@media (max-width: 520px) { .pricebox__incl .ticks { grid-template-columns: minmax(0, 1fr); } }
.pricing-main { padding-bottom: var(--sp-16); }

/* ---- Demo form extras ---------------------------------------------------- */
.field textarea { min-height: 112px; resize: vertical; padding-block: var(--sp-3); }
.field select { appearance: auto; }
.form .honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.done .hero__ctas { margin-top: var(--sp-2); }
