/* ═══════════════════════════════════════════════════════════
   OCTANE — getoctane.ai
   Colour and type now come from the Octane design system tokens
   (_ds/.../tokens/colors.css + fonts.css + typography.css).
   Nothing brand-level is hardcoded in this file — edit the tokens.
   ═══════════════════════════════════════════════════════════ */

@import url("../_ds/octane-design-system-ed93b4fc-2896-4a9a-be3d-2e74800eff6e/tokens/fonts.css");
@import url("../_ds/octane-design-system-ed93b4fc-2896-4a9a-be3d-2e74800eff6e/tokens/colors.css");
@import url("../_ds/octane-design-system-ed93b4fc-2896-4a9a-be3d-2e74800eff6e/tokens/typography.css");

:root {
  /* Secondary/UI face — Geist. Modern, clean, minimal neo-grotesque. */
  --font-core: "Geist", "Helvetica Neue", Arial, sans-serif;
  /* type roles used across this site, mapped onto the design-system families */
  --font-head: var(--font-core);
  --font-body: var(--font-core);

  /* Display serif — EB Garamond. Old-style, wide and open; the small x-height
     means display sizes get a modest bump below to hold the same optical size. */
  --font-serif: "EB Garamond", Georgia, serif;
  --font-display: var(--font-serif);

  /* The single left/right inset for the whole page. Below the 1720px cap it
     is half the fluid side gutter; above it, it absorbs the leftover width so
     bled panels keep the same text edge as the measure. */
  --gutter: max(calc(clamp(24px, 6.4vw, 132px) / 2), calc((100vw - 1880px) / 2));

  --shadow-card: 0 1px 2px rgba(26,30,24,.05), 0 12px 32px -12px rgba(26,30,24,.14);
  --shadow-float: 0 24px 60px -24px rgba(26,30,24,.28);
  --topbar-h: 46px; /* announcement bar — subtracted from the hero fold */
  --r-card: 18px;
  --r-pill: 999px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.62;
  color: var(--ink);
  background: var(--blush);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
p { font-weight: 380; letter-spacing: .002em; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 500; line-height: 1.12; letter-spacing: -0.015em; }
em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.display { font-family: var(--font-serif); font-weight: 400; letter-spacing: -.005em; }

/* ── Display serif metrics ── see the consolidated block at end of file ── */

.container { width: calc(100% - 2 * var(--gutter)); margin: 0 auto; }
.container.narrow { width: min(1040px, calc(100% - 2 * var(--gutter))); }

section { scroll-margin-top: 110px; }

/* ── Reveal on scroll ─────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.d-1 { transition-delay: .1s; }
.d-2 { transition-delay: .2s; }
.d-3 { transition-delay: .3s; }
.d-4 { transition-delay: .4s; }

/* ── Buttons ──────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 500; font-size: 15px;
  padding: 11px 22px; border-radius: var(--r-pill);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-cream { background: var(--blush); color: var(--moss); box-shadow: 0 8px 24px -10px rgba(0,0,0,.35); }
.btn-cream:hover { background: var(--white); }
.btn-moss { background: var(--moss); color: var(--blush); }
.btn-moss:hover { background: var(--ink); }
.btn-outline { border: 1px solid var(--sage-deep); color: var(--moss); background: rgba(255,255,255,.5); }
.btn-outline:hover { border-color: var(--olive); background: var(--white); }
.btn-ghost { border: 1px solid var(--line-light); color: var(--blush); }
.btn-ghost:hover { border-color: rgba(246,239,243,.5); background: rgba(246,239,243,.06); }

/* ── Topbar ───────────────────────────────────── */
.topbar { background: var(--blush); text-align: center; padding: 9px 16px; }
.topbar a { color: var(--moss); font-size: 15px; font-weight: 500; letter-spacing: .01em; }
.topbar a:hover { color: var(--ink); }

/* ── Nav ──────────────────────────────────────── */
/* The pill tracks the page content column: +44px so its inner padding edge
   lands exactly on the same text edge as the hero copy and every section. */
.nav-wrap {
  position: sticky; top: 14px; z-index: 100;
  width: min(calc(100% - 2 * var(--gutter) + 44px), calc(100% - 24px));
  margin: 14px auto 0;
}
.nav {
  display: flex; align-items: center; gap: 20px;
  padding: 11px 22px;
  border-radius: var(--r-pill);
  background: rgba(245, 246, 236, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(26,30,24,.07);
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.nav-logo { display: flex; align-items: center; margin-right: clamp(20px, 3.5vw, 56px); }
.nav-logo img { height: 27px; width: auto; }
.nav-links { display: flex; gap: clamp(22px, 2.4vw, 34px); flex: 1; justify-content: flex-end; }
.nav-links a { font-size: 16.5px; font-weight: 450; color: var(--ink); opacity: .82; transition: opacity .15s; }
.nav-links a:hover { opacity: 1; }
.nav-actions { display: flex; align-items: center; gap: 18px; margin-left: clamp(20px, 2.6vw, 40px); }
.nav-login { font-size: 16.5px; font-weight: 600; color: var(--ink); }
.nav .btn-cream { padding: 10px 20px; background: var(--moss); color: var(--blush); }
.nav .btn-cream:hover { background: var(--ink); }

body.scrolled .nav {
  background: rgba(245, 246, 236, 0.85);
  border-color: rgba(26,30,24,.07);
  box-shadow: 0 10px 34px -16px rgba(26,30,24,.25);
}
body.scrolled .nav-links a, body.scrolled .nav-login { color: var(--ink); }

.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }
body.scrolled .nav-burger span { background: var(--ink); }
.nav-mobile { display: none; }

/* ── Hero ─────────────────────────────────────── */
.hero {
  position: relative;
  margin-top: -84px; /* pull up behind sticky nav */
  padding: 0;
  background:
    radial-gradient(120% 95% at 82% 4%, rgba(235,237,223,.95) 0%, rgba(245,246,236,0) 58%),
    radial-gradient(85% 70% at 8% 100%, rgba(223,227,207,.7) 0%, rgba(245,246,236,0) 62%),
    var(--blush);
  color: var(--ink);
  overflow: hidden;
}
.hero-rings { position: absolute; right: -220px; top: -140px; width: 820px; height: 820px; color: rgba(51,58,47,.08); animation: ringDrift 60s linear infinite; }
@keyframes ringDrift { to { transform: rotate(360deg); } }
.hero-inner {
  position: relative; width: calc(100% - 2 * var(--gutter)); margin: 0 auto;
  display: grid; grid-template-rows: 1fr auto;
  row-gap: clamp(32px, 5vh, 76px);
  padding: clamp(118px, 12vh, 150px) 0 clamp(52px, 8vh, 96px);
  min-height: max(620px, calc(100svh - var(--topbar-h, 46px)));
}
.hero-copy { max-width: min(780px, 100%); align-self: center; padding: 0; }
.hero h1 { max-width: 14ch; }
.badge {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 7px 14px; border-radius: var(--r-pill);
  background: rgba(235,237,223,.12); border: 1px solid rgba(235,237,223,.18);
  margin-bottom: 26px;
}
.hero h1 { font-family: var(--font-serif); font-size: clamp(48px, 7.4vw, 92px); font-weight: 400; letter-spacing: -.005em; color: var(--moss); }
.hero h1 em { font-weight: 400; color: var(--olive); }
.hero-sub { font-size: clamp(17px, 1.6vw, 20px); max-width: 620px; margin-top: 24px; color: var(--muted); }
.cta-row { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }

.hero-stats {
  display: flex; justify-content: flex-start; gap: clamp(40px, 5vw, 72px);
  padding: 0;
}
.hstat { position: relative; padding: 0; }
.hstat:not(:first-child)::before {
  content: ""; position: absolute; left: -32px; top: 2px; bottom: 2px;
  width: 1px; background: rgba(120,120,120,.6);
}
.hstat strong { display: block; font-family: var(--font-head); font-size: clamp(20px, 2.2vw, 27px); font-weight: 600; color: var(--moss); letter-spacing: -.01em; }
.hstat span { font-size: 17px; color: var(--muted); }

/* ── Promo film ───────────────────────────────── */
.promo-section { padding: clamp(72px, 8vw, 120px) 0 clamp(24px, 3vw, 44px); background: var(--blush); }
.promo-head { max-width: 760px; margin: 0 auto clamp(28px, 3.2vw, 46px); text-align: center; }
.promo-head h2 em { color: var(--olive); }
.promo-frame { margin: 0; }
.promo-slot {
  position: relative; aspect-ratio: 16 / 9; border-radius: 26px; overflow: hidden;
  background: var(--sage); border: 1px solid var(--line);
  display: grid; place-items: center;
  box-shadow: var(--shadow-card);
}
.promo-slot::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 70% at 50% 40%, rgba(51,58,47,.06), transparent 70%);
}
.promo-play {
  width: 84px; height: 84px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--moss); color: var(--sage);
  display: grid; place-items: center;
  box-shadow: 0 18px 40px -18px rgba(26,30,24,.5);
  transition: transform .18s var(--ease, cubic-bezier(.2,.6,.2,1)), background .18s;
}
.promo-play svg { width: 30px; height: 30px; fill: currentColor; }
.promo-play:hover { background: var(--ink); transform: scale(1.05); }
.promo-meta {
  position: absolute; left: 22px; bottom: 20px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}
.promo-frame figcaption {
  margin-top: 14px; font-family: var(--font-mono); font-size: 12.5px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
@media (max-width: 860px) {
  .promo-slot { border-radius: 18px; }
  .promo-play { width: 64px; height: 64px; }
  .promo-play svg { width: 24px; height: 24px; }
}

/* ── Ticker ───────────────────────────────────── */
.ticker-section { padding: clamp(84px, 9vw, 150px) 0 clamp(60px, 7vw, 110px); background: var(--blush); overflow: hidden; }
.section-head.narrow { width: min(980px, calc(100% - 2 * var(--gutter))); margin: 0 auto clamp(40px, 4.5vw, 66px); text-align: center; }
.section-head h2 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(32px, 4.2vw, 50px); }
.section-head h2 em { color: var(--olive); }
.ticker-row { overflow: hidden; padding: 10px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ticker-track { display: inline-flex; gap: 0; white-space: nowrap; will-change: transform; animation: tickL 36s linear infinite; }
.t-right .ticker-track { animation: tickR 42s linear infinite; }
.ticker-row:hover .ticker-track { animation-play-state: paused; }
@keyframes tickL { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes tickR { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.ticker-track span {
  font-family: var(--font-head); font-size: clamp(16px, 1.4vw, 20px); font-weight: 400;
  padding: 14px 0;
  color: rgba(26,30,24,.5);
}
.ticker-track span + span::before {
  content: "\00b7"; margin: 0 clamp(14px, 1.6vw, 26px); color: rgba(26,30,24,.26);
}

/* ── Claim row under the headline ─────────────────────────────────── */
.claim-row {
  list-style: none; margin: 22px 0 0; padding: 0;
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 10px clamp(20px, 2.4vw, 38px);
}
.claim-row li {
  display: flex; align-items: center; gap: 9px;
  font-size: 17px; font-weight: 400; color: var(--muted);
}
.claim-row svg {
  width: 18px; height: 18px; flex: 0 0 auto;
  fill: none; stroke: var(--leaf); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

/* ═══ Leak monitor — the tickers run behind a fixed readout ══════════════
   A leak is caught below the margin line, then held on margin once Octane
   fixes it. The card is opaque so the passing terms read as background. */
.ticker { position: relative; padding-block: clamp(34px, 4vw, 54px); }
.leak-monitor {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  z-index: 2; pointer-events: none;
}
.lm-card {
  width: clamp(300px, 27vw, 380px);
  background: var(--blush);
  border: 1px solid var(--sage-deep);
  border-radius: 18px;
  padding: 20px 20px 14px;
  box-shadow: 0 2px 6px rgba(26,30,24,.04), 0 30px 60px -34px rgba(26,30,24,.3);
}
.lm-plot { position: relative; display: grid; grid-template-columns: 10px 1fr; gap: 14px; height: 165px; }
.lm-gauge { display: grid; grid-template-rows: 70px 1fr; gap: 6px; }
.lm-bar { border-radius: 3px; }
.lm-bar-good { background: var(--leaf); opacity: .5; }
.lm-bar-bad { background: var(--clay); }
.lm-zones {
  position: absolute; left: 24px; top: 0; height: 100%;
  display: grid; grid-template-rows: 70px 1fr; gap: 6px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
}
.lm-zone { display: flex; align-items: flex-end; padding-bottom: 5px; }
.lm-zone-good { color: var(--leaf); }
.lm-zone-bad { color: var(--clay); align-items: flex-start; padding: 5px 0 0; }
/* Markers live in a wrapper whose box is identical to the SVG's, so their
   percentages and the viewBox coordinates describe the same points. */
.lm-graph { position: absolute; left: 24px; top: 0; width: calc(100% - 24px); height: 165px; }
.lm-chart { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.lm-mid { stroke: rgba(51,58,47,.16); stroke-width: 1; stroke-dasharray: 3 4; }
.lm-line {
  fill: none; stroke: rgba(76,86,70,.5); stroke-width: 1.4;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 100; stroke-dashoffset: 100;
  animation: lmDraw 6.5s cubic-bezier(.2,.6,.2,1) infinite;
}

/* The readout builds itself: leak caught → line climbs → held on margin.
   One 6.5s cycle drives the path and all three markers, so they stay in step.
   57.5 of the path's 100 units is the climb, the rest is the flat run. */
@keyframes lmDraw {
  0%, 7% { stroke-dashoffset: 100; stroke-opacity: 1; }
  37% { stroke-dashoffset: 42.5; }
  43% { stroke-dashoffset: 42.5; }
  64%, 93% { stroke-dashoffset: 0; stroke-opacity: 1; }
  99%, 100% { stroke-dashoffset: 0; stroke-opacity: 0; }
}
@keyframes lmPop {
  0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
  60% { transform: translate(-50%, -50%) scale(1.18); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

.lm-pt { position: absolute; border-radius: 50%; transform: translate(-50%, -50%) scale(0); opacity: 0; animation: 6.5s cubic-bezier(.34,1.56,.64,1) infinite; }
.lm-pt-bad { left: 10.476%; top: 74.242%; width: 11px; height: 11px; background: var(--clay); animation-name: lmPt1; }
.lm-pt-good { left: 52.381%; top: 30.303%; width: 11px; height: 11px; background: var(--leaf); animation-name: lmPt2; }
.lm-pt-now {
  left: 89.524%; top: 30.303%; width: 30px; height: 30px;
  border: 1px solid var(--leaf); background: rgba(74,107,79,.08);
  display: grid; place-items: center;
  animation-name: lmPt3;
}

/* Each marker holds its slot in the same 6.5s cycle as the path. */
@keyframes lmPt1 {
  0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
  4% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
  7%, 93% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  99%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}
@keyframes lmPt2 {
  0%, 37% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
  41% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
  44%, 93% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  99%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}
@keyframes lmPt3 {
  0%, 64% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
  69% { transform: translate(-50%, -50%) scale(1.14); opacity: 1; }
  73%, 93% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  99%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}
.lm-pt-now i { width: 9px; height: 9px; border-radius: 50%; background: var(--leaf); }
.lm-pt-now::after {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  border: 1px solid var(--leaf); opacity: 0;
  animation: lmPulse 6.5s cubic-bezier(.2,.6,.2,1) infinite;
}
@keyframes lmPulse {
  0%, 73% { transform: scale(1); opacity: 0; }
  77% { transform: scale(1); opacity: .65; }
  93%, 100% { transform: scale(2); opacity: 0; }
}
.lm-axis {
  display: flex; justify-content: space-between;
  margin: 10px 0 0 24px;
  font-family: var(--font-mono); font-size: 10.5px; color: var(--muted);
}

.ticker-pause {
  display: flex; align-items: center; gap: 9px; margin: clamp(28px, 3vw, 44px) auto 0;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); transition: color .18s;
}
.ticker-pause:hover { color: var(--ink); }
.tp-icon { width: 9px; height: 11px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.ticker-pause[aria-pressed="true"] .tp-icon {
  width: 0; height: 0; border: 0;
  border-left: 9px solid currentColor; border-top: 5.5px solid transparent; border-bottom: 5.5px solid transparent;
}
.ticker-section.motion-paused .ticker-track,
.ticker-section.motion-paused .lm-line,
.ticker-section.motion-paused .lm-pt,
.ticker-section.motion-paused .lm-pt-now::after { animation-play-state: paused; }

/* ── Steps ────────────────────────────────────── */
.steps-section { padding: 40px 0 clamp(84px, 9vw, 140px); background: var(--blush); }
.eyebrow { font-family: var(--font-mono); font-size: 13px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); margin-bottom: 18px; }
.eyebrow.light { color: var(--sage); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-card {
  background: var(--sage); border-radius: var(--r-card); padding: 34px 30px 38px;
  transition: transform .25s ease;
}
.step-card:hover { transform: translateY(-4px); }
.step-num { font-family: var(--font-mono); font-size: 15px; font-weight: 400; letter-spacing: .08em; color: var(--clay); display: block; margin-bottom: 44px; }
.step-card h3 { font-family: var(--font-serif); font-size: 30px; margin-bottom: 10px; font-weight: 400; letter-spacing: -.005em; }
.step-card p { color: var(--muted); font-size: 17px; }

/* ── Workflows bento ──────────────────────────── */
.workflows { padding: clamp(84px, 9vw, 140px) 0 clamp(90px, 10vw, 160px); background: var(--blush); }
.bento-heading { font-family: var(--font-serif); font-weight: 400; font-size: clamp(32px, 4.2vw, 52px); margin-bottom: 56px; max-width: 900px; }
.bento-heading .soft { color: var(--muted); font-weight: 400; }
.bento-heading em { color: var(--olive); }

.cards { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.card {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--r-card); overflow: hidden; isolation: isolate;
  background: var(--white); box-shadow: var(--shadow-card);
  padding: 30px 30px 0; min-height: 560px;
  transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.card.s-8 { grid-column: span 8; }
.card.s-4 { grid-column: span 4; }
.card.s-12 { grid-column: span 12; }
.card.h-flat { min-height: 420px; }

.card-grad { position: absolute; inset: 0 0 auto; height: 220px; z-index: -1; opacity: .8; }
.grad-sage { background: linear-gradient(180deg, #e6ead6, rgba(255,255,255,0)); }
.grad-blush { background: linear-gradient(180deg, #e6ead6, rgba(255,255,255,0)); }
.grad-mist { background: linear-gradient(180deg, #dfe6e2, rgba(255,255,255,0)); }
.grad-clay { background: linear-gradient(180deg, #f0e2d2, rgba(255,255,255,0)); }

.card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.card-icon {
  width: 40px; height: 40px; border-radius: 12px; flex: 0 0 auto;
  display: grid; place-items: center;
  background: var(--moss); color: var(--sage);
}
.card-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card-head h3 { font-size: 21px; font-weight: 600; }
.card-desc { color: var(--muted); font-size: 17px; max-width: 560px; }
.card-stat { margin-top: 12px; font-family: var(--font-head); font-size: 15px; font-weight: 500; color: var(--olive); }
.card-stat strong, .radar-foot strong, .md-total strong { color: var(--moss); font-weight: 600; }

.card-stage { margin-top: auto; padding: 26px 0 30px; }

/* stage step primitives */
.st { opacity: 0; transform: translateY(10px); transition: opacity .5s cubic-bezier(.2,.6,.2,1), transform .5s cubic-bezier(.2,.6,.2,1); }
.st.is-on { opacity: 1; transform: none; }
/* loop restart: suppress all tweens for one frame so removals snap clean */
.resetting, .resetting *, .resetting *::before, .resetting *::after {
  transition: none !important; animation: none !important;
}

.mini-panel {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 10px 30px -18px rgba(26,30,24,.25);
  padding: 16px 18px; font-size: 13.5px;
}
.mini-panel-title { font-family: var(--font-head); font-weight: 600; font-size: 13px; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: baseline; }
.scan-status { font-family: var(--font-body); font-weight: 500; font-size: 12px; color: var(--muted); }

/* 1 ▸ price book (invoice-by-text) */
.pb-wrap { position: relative; display: grid; grid-template-columns: 292px 1fr; gap: 34px; align-items: start; }

/* — hardware: titanium frame, dynamic island, side buttons — */
.iphone {
  position: relative; width: 292px; border-radius: 54px; padding: 10px;
  background:
    linear-gradient(155deg, #9aa08f 0%, #7d8474 18%, #5d6455 45%, #838a78 78%, #5a6152 100%);
  box-shadow:
    0 34px 66px -34px rgba(26,30,24,.3),
    0 12px 26px -14px rgba(26,30,24,.18),
    inset 0 1.5px 1px rgba(255,255,255,.3),
    inset 0 -1.5px 1.5px rgba(26,30,24,.35);
}
.iphone::before {
  content: ""; position: absolute; inset: 4px; border-radius: 50px;
  background: #2a2f26; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.06);
}
.ip-btn {
  position: absolute; width: 3.5px; border-radius: 2px;
  background: linear-gradient(90deg, #8c9382, #5a6152);
}
.ip-action { left: -3px; top: 92px; height: 20px; }
.ip-volup  { left: -3px; top: 126px; height: 35px; }
.ip-voldn  { left: -3px; top: 168px; height: 35px; }
.ip-power  { right: -3px; top: 146px; height: 58px; background: linear-gradient(270deg, #8c9382, #5a6152); }
.ip-screen {
  position: relative; z-index: 1; overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--white); border-radius: 44px;
  padding: 10px 13px 12px;
}
.pb-thread { flex: 1; }
.stage-recon .ip-screen { min-height: 568px; }
.ip-island {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 24px; border-radius: 20px; background: #2a2f26; z-index: 6;
}
.ip-island i {
  position: absolute; right: 6.5px; top: 50%; transform: translateY(-50%);
  width: 11px; height: 11px; border-radius: 50%;
  background: radial-gradient(circle at 34% 32%, #37415e 0%, #131a2c 45%, #05070d 100%);
}
.pb-statusbar { display: flex; justify-content: space-between; align-items: center; height: 26px; padding: 0 10px 0 16px; font-family: var(--font-head); font-size: 12px; font-weight: 600; color: var(--ink); }
.pb-statusbar svg { width: 42px; height: 11.5px; fill: var(--ink); color: var(--ink); }
.pb-contact { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 5px 0 7px; border-bottom: 1px solid var(--line); }
.pb-back {
  position: absolute; left: 2px; top: 12px;
  color: #0a84ff; font-size: 26px; font-weight: 400; line-height: 1;
  font-family: var(--font-body);
}
.pb-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--moss); color: var(--sage); display: grid; place-items: center; }
.pb-avatar img { width: 23px; height: 23px; display: block; }
.pb-contact-name { font-size: 11px; font-weight: 500; color: var(--ink); }
.pb-contact-name b { color: rgba(26,30,24,.35); font-weight: 500; }
.pb-thread { display: flex; flex-direction: column; gap: 7px; margin-top: 10px; }
.pb-stamp { text-align: center; font-size: 9.5px; font-weight: 500; color: rgba(26,30,24,.4); margin-bottom: 2px; }
.pb-msg { position: relative; max-width: 86%; font-size: 12.3px; line-height: 1.42; padding: 8px 11px; border-radius: 15px; }
.pb-msg.in { background: #ececea; }
.pb-msg.out { background: var(--moss); color: var(--blush); margin-left: auto; }
/* iMessage tails — solid tail block + white eraser curve carves the point */
.pb-msg.in:not(.no-tail)::before,
.pb-msg.out:not(.photo)::before {
  content: ""; position: absolute; bottom: 0; height: 16px; width: 20px;
  background: inherit; z-index: -2; /* behind the text — tails must never cover glyphs */
}
.pb-msg.in:not(.no-tail)::before { left: -7px; border-bottom-right-radius: 15px; }
.pb-msg.out:not(.photo)::before { right: -7px; border-bottom-left-radius: 15px; }
.pb-msg.in:not(.no-tail)::after,
.pb-msg.out:not(.photo)::after {
  content: ""; position: absolute; bottom: 0; height: 16px; width: 10px;
  background: var(--white); z-index: -1;
}
.pb-msg.in:not(.no-tail)::after { left: -10px; border-bottom-right-radius: 10px; }
.pb-msg.out:not(.photo)::after { right: -10px; border-bottom-left-radius: 10px; }
.pb-msg.in.no-tail { border-bottom-left-radius: 6px; }
.pb-msg.approve { font-family: var(--font-head); font-weight: 600; letter-spacing: .02em; overflow: visible; }
.pb-msg.photo { background: none; padding: 0; margin-left: auto; }
.pb-inputbar { display: flex; align-items: center; gap: 7px; margin-top: 12px; padding: 0 2px; }
.pb-plus {
  width: 24px; height: 24px; border-radius: 50%; flex: 0 0 auto;
  background: rgba(26,30,24,.06); color: var(--muted);
  display: grid; place-items: center; font-size: 12px;
}
.pb-field {
  flex: 1; font-size: 11px; color: rgba(26,30,24,.35);
  border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 5px 12px;
}
.pb-homebar { width: 92px; height: 4px; border-radius: 2px; background: rgba(26,30,24,.22); margin: 12px auto 0; }
/* content-heavy phones (pricebook, promo): compact thread keeps real-device proportions */
.stage-pricebook .pb-thread, .stage-promo .pb-thread { gap: 5px; margin-top: 7px; }
.stage-pricebook .pb-paper-wrap { height: 106px; }
.stage-pricebook .pb-photo-frame { padding: 10px 0 9px; }
.stage-pricebook .pb-inputbar, .stage-promo .pb-inputbar { margin-top: 8px; }
.stage-pricebook .pb-homebar, .stage-promo .pb-homebar { margin-top: 6px; }
.stage-pricebook .pb-msg, .stage-promo .pb-msg { font-size: 11.5px; line-height: 1.38; padding: 6px 9px; max-width: 88%; }

/* — the photographed, crumpled paper invoice — */
.pb-msg.photo { transform: translateY(18px) scale(.9); transition: opacity .5s cubic-bezier(.2,.6,.2,1), transform .65s cubic-bezier(.3,1.35,.4,1); }
.pb-msg.photo.is-on { transform: none; }
.pb-photo-frame {
  position: relative; width: 178px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(158deg, #7b7e82 0%, #63666a 55%, #56595d 100%);
  padding: 13px 0 11px; display: grid; justify-items: center;
  box-shadow: inset 0 1px 2px rgba(255,255,255,.14), inset 0 -8px 18px rgba(0,0,0,.14);
}
.pb-photo-frame::after {
  content: ""; position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none;
}
.pb-msg.photo.is-on .pb-photo-frame::after { animation: pbFlash .6s ease-out; }
@keyframes pbFlash { 0% { opacity: .95; } 100% { opacity: 0; } }
.pb-paper-wrap {
  position: relative; width: 150px; height: 168px; overflow: hidden;
  transform: rotate(-2.2deg);
  filter: drop-shadow(0 10px 14px rgba(0,0,0,.38));
}
.pb-paper { display: block; width: 150px; height: auto; filter: url(#crumple); }
.pb-paper-wrap::before {
  content: ""; position: absolute; inset: -2px; pointer-events: none;
  background-image: url("../assets/paper-texture.svg");
  background-size: cover; mix-blend-mode: multiply; opacity: .52;
}
.pb-paper-wrap::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(118deg, rgba(255,255,255,.32) 0%, rgba(255,255,255,0) 34%, rgba(0,0,0,.07) 72%, rgba(255,255,255,.14) 100%);
}
.pb-scanline {
  position: absolute; left: 6%; right: 6%; top: 0; height: 34px; opacity: 0; pointer-events: none; z-index: 2;
  background:
    linear-gradient(180deg, rgba(120,160,120,0) 0%, rgba(140,190,140,.34) 42%, rgba(230,255,230,.85) 50%, rgba(140,190,140,.34) 58%, rgba(120,160,120,0) 100%);
  filter: blur(.4px);
}
.stage-pricebook.is-scanning .pb-scanline { animation: pbScan 1.55s cubic-bezier(.45,.05,.55,.95) 1 forwards; }
.stage-pricebook.is-scanning .pb-paper-wrap { animation: pbPaperLift 1.55s ease-in-out 1; }
@keyframes pbScan { 0% { opacity: 0; transform: translateY(-14px); } 10% { opacity: 1; } 90% { opacity: 1; } 100% { opacity: 0; transform: translateY(150px); } }
@keyframes pbPaperLift { 0%, 100% { transform: rotate(-2.2deg) scale(1); } 50% { transform: rotate(-1.4deg) scale(1.015); } }
.pb-scan-ok {
  position: absolute; right: 9px; bottom: 8px; width: 19px; height: 19px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--leaf); color: #fff; font-size: 10.5px; font-style: normal;
  box-shadow: 0 3px 8px rgba(0,0,0,.35);
  transform: scale(0); transition: transform .4s cubic-bezier(.34,1.56,.64,1);
}
.stage-pricebook.scan-done .pb-scan-ok { transform: scale(1); }
.pb-delivered { font-size: 10px; color: var(--muted); text-align: right; margin-top: -3px; padding-right: 4px; }
.pb-tapback {
  position: absolute; top: -13px; right: -7px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 2px 6px; font-size: 10.5px; box-shadow: 0 4px 10px -4px rgba(26,30,24,.3);
  transform: scale(0); transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
.card-stage.tapback-on .pb-tapback { transform: scale(1); }

/* — agent column: vendor card · reviewing pill · checklist — */
.pb-right { display: flex; flex-direction: column; gap: 13px; padding-top: 8px; }

.skl { display: block; height: 9px; border-radius: 5px; background: #e7e7e1; position: relative; overflow: hidden; }
.skl::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.85) 50%, transparent 80%); transform: translateX(-100%); animation: sklShimmer 1.5s ease-in-out infinite; }
@keyframes sklShimmer { to { transform: translateX(100%); } }
.skl.w4 { width: 44px; } .skl.w5 { width: 58px; } .skl.w6 { width: 88px; } .skl.w7 { width: 116px; } .skl.w8 { width: 138px; }

.ck-done { position: absolute; width: 0; height: 0; overflow: hidden; }

.ag-vendor {
  position: relative; display: flex; align-items: center; gap: 12px;
  background: var(--white); border-radius: 16px; padding: 14px 16px;
  box-shadow: 0 1px 2px rgba(26,30,24,.04), 0 14px 34px -18px rgba(26,30,24,.18);
}
.agv-icon {
  width: 38px; height: 38px; border-radius: 11px; flex: 0 0 auto;
  background: var(--sage); color: var(--moss);
  display: grid; place-items: center;
  font-family: var(--font-head); font-size: 10.5px; font-weight: 600; letter-spacing: .03em;
}
.agv-body { position: relative; flex: 1; min-height: 32px; }
.agv-sk { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 7px; justify-content: center; transition: opacity .4s; }
.agv-info { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; opacity: 0; transform: translateY(5px); transition: opacity .45s .1s, transform .45s .1s cubic-bezier(.2,.7,.3,1); }
.agv-info b { font-family: var(--font-head); font-size: 13.5px; font-weight: 600; line-height: 1.2; }
.agv-info small { font-size: 11px; color: var(--muted); }
.agv-amt { position: relative; min-width: 62px; min-height: 20px; text-align: right; }
.agv-amt .skl { position: absolute; right: 0; top: 6px; }
.agv-amt b { font-family: var(--font-head); font-size: 15px; font-weight: 600; opacity: 0; transform: translateY(5px); display: inline-block; transition: opacity .45s .15s, transform .45s .15s cubic-bezier(.2,.7,.3,1); }
.ag-vendor:has(.ck-done.is-on) .agv-sk { opacity: 0; }
.ag-vendor:has(.ck-done.is-on) .agv-info { opacity: 1; transform: none; }
.ag-vendor:has(.ck-done.is-on) .agv-amt .skl { opacity: 0; transition: opacity .4s; }
.ag-vendor:has(.ck-done.is-on) .agv-amt b { opacity: 1; transform: none; }

.ag-pill {
  display: flex; align-items: center; gap: 11px;
  background: var(--white); border-radius: var(--r-pill); padding: 11px 16px;
  box-shadow: 0 1px 2px rgba(26,30,24,.04), 0 14px 34px -18px rgba(26,30,24,.18);
}
.agp-icon { position: relative; width: 26px; height: 26px; border-radius: 50%; flex: 0 0 auto; background: #eceee3; color: var(--olive); display: grid; place-items: center; transition: background .5s, color .5s; }
.agp-burst { width: 15px; height: 15px; animation: burstSpin 2.6s linear infinite; }
@keyframes burstSpin { to { transform: rotate(360deg); } }
.agp-check { display: none; font-style: normal; font-size: 12px; }
.agp-texts { position: relative; flex: 1; height: 18px; }
.apt {
  position: absolute; inset: 0; display: flex; align-items: center;
  font-family: var(--font-head); font-size: 13.5px; font-weight: 500; color: rgba(26,30,24,.42);
  opacity: 0; transform: translateY(7px); transition: opacity .45s, transform .45s cubic-bezier(.2,.7,.3,1);
  white-space: nowrap;
}
.card-stage[data-phase="read"]   .t-read,
.card-stage[data-phase="verify"] .t-verify,
.card-stage[data-phase="flag"]   .t-flag,
.card-stage[data-phase="push"]   .t-push,
.card-stage[data-phase="scan"]   .t-scan,
.card-stage[data-phase="low"]    .t-low,
.card-stage[data-phase="draft"]  .t-draft,
.card-stage[data-phase="sent"]   .t-sent,
.card-stage[data-phase="map"]     .t-map,
.card-stage[data-phase="analyze"] .t-analyze,
.card-stage[data-phase="suggest"] .t-suggest,
.card-stage[data-phase="pos"]     .t-pos,
.card-stage[data-phase="chat"]    .t-chat,
.card-stage[data-phase="hist"]    .t-hist,
.card-stage[data-phase="build"]   .t-build,
.card-stage[data-phase="collect"] .t-collect,
.card-stage[data-phase="tally"]   .t-tally,
.card-stage[data-phase="done"]   .t-done { opacity: 1; transform: none; transition-delay: .12s; }
.card-stage[data-phase="flag"] .t-flag, .card-stage[data-phase="low"] .t-low { color: var(--clay); }
.card-stage[data-phase="done"] .agp-icon { background: var(--leaf-soft); color: var(--leaf); }
.card-stage[data-phase="done"] .agp-burst { display: none; }
.card-stage[data-phase="done"] .agp-check { display: block; }
.card-stage[data-phase="done"] .t-done { color: var(--leaf); }

.ag-card {
  background: var(--white); border-radius: 16px; padding: 6px 16px;
  box-shadow: 0 1px 2px rgba(26,30,24,.04), 0 14px 34px -18px rgba(26,30,24,.18);
}
.ck-row { position: relative; min-height: 40px; }
.ck-row + .ck-row, .ag-flags + .ck-row { border-top: 1px solid var(--line); }
.ck-sk { position: absolute; inset: 0; display: flex; align-items: center; gap: 10px; transition: opacity .35s, transform .35s; }
.ck-dot { width: 15px; height: 15px; border-radius: 50%; background: #e7e7e1; flex: 0 0 auto; }
.ck-real {
  position: absolute; inset: 0; display: flex; align-items: center; gap: 10px;
  font-size: 12.8px; font-weight: 500; color: var(--ink);
  opacity: 0; transform: translateY(6px); transition: opacity .45s .08s, transform .45s .08s cubic-bezier(.2,.7,.3,1);
}
.ck-row:has(.ck-done.is-on) .ck-sk { opacity: 0; transform: translateY(-5px); }
.ck-row:has(.ck-done.is-on) .ck-real, .ck-real.on { opacity: 1; transform: none; }
.ck-ico {
  width: 16px; height: 16px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center;
  font-style: normal; font-size: 9.5px; font-weight: 700; color: #fff;
}
.ck-ico.ok { background: var(--leaf); }
.ck-ico.warn { background: var(--clay); }
.ck-pos { border-top: 1px solid var(--line); }
.ag-flags { margin-left: 26px; border-top: 1px solid var(--line); }
.ag-flags .pb-row:last-child { border-bottom: 0; }

/* — extraction chips (float between phone and column) — */
.pb-chips {
  position: absolute; left: 252px; top: 168px; z-index: 5;
  display: flex; flex-direction: column; gap: 11px; align-items: flex-start;
}
.chip {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border-radius: var(--r-pill); padding: 8px 14px 8px 10px;
  box-shadow: 0 2px 4px rgba(26,30,24,.06), 0 16px 32px -14px rgba(26,30,24,.3);
  font-family: var(--font-head); font-size: 12.5px; font-weight: 600; color: var(--ink);
  transform: translateY(12px) scale(.8); transition: opacity .4s, transform .55s cubic-bezier(.3,1.4,.4,1);
}
.chip.is-on { transform: none; }
.chip:nth-child(2) { margin-left: 14px; }
.chip:nth-child(3) { margin-left: 4px; }
.chip:nth-child(4) { margin-left: 18px; }
.dotspin { width: 16px; height: 16px; color: var(--olive); animation: dotRot 1s steps(8) infinite; }
@keyframes dotRot { to { transform: rotate(360deg); } }
.chip-check { display: none; width: 16px; height: 16px; border-radius: 50%; background: var(--leaf); color: #fff; font-style: normal; font-size: 9px; place-items: center; }
.chip-val { display: none; color: var(--moss); }
.chip:has(.ck-done.is-on) .dotspin { display: none; }
.chip:has(.ck-done.is-on) .chip-check { display: grid; }
.chip:has(.ck-done.is-on) .chip-label { color: var(--muted); font-weight: 500; }
.chip:has(.ck-done.is-on) .chip-val { display: inline; }
.stage-pricebook.chips-out .chip { opacity: 0 !important; transform: translateY(-10px) scale(.9); pointer-events: none; }
.stage-pricebook.chips-out .chip:nth-child(2) { transition-delay: .06s; }
.stage-pricebook.chips-out .chip:nth-child(3) { transition-delay: .12s; }
.stage-pricebook.chips-out .chip:nth-child(4) { transition-delay: .18s; }

.pb-row { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 10px 4px; border-bottom: 1px solid var(--line); }
.pb-sku { font-family: var(--font-head); font-size: 12.5px; font-weight: 600; }
.pb-cost { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pb-cost b { color: var(--ink); }
.pb-chip {
  font-style: normal; font-family: var(--font-head); font-size: 11px; font-weight: 600;
  border-radius: 6px; padding: 3px 8px; white-space: nowrap;
}
.pb-chip.down { background: var(--clay-soft); color: var(--clay); }
.pb-chip.up { background: var(--leaf-soft); color: var(--leaf); }
.pb-foot { padding-top: 12px; margin-top: 2px; font-family: var(--font-head); font-size: 12.5px; font-weight: 600; color: var(--leaf); }
.stage-pricebook.pb-synced .pb-row { animation: valFlash 1s ease; }

/* 2 ▸ phone */
.stage-phone { display: flex; justify-content: center; }
.phone {
  width: 250px; border-radius: 26px; border: 1px solid var(--line);
  background: var(--blush); box-shadow: 0 18px 40px -20px rgba(26,30,24,.35);
  padding: 14px 12px 18px; position: relative;
}
.phone-notch { width: 74px; height: 5px; border-radius: 3px; background: rgba(26,30,24,.18); margin: 0 auto 10px; }
.phone-app { font-family: var(--font-head); font-weight: 600; font-size: 12.5px; text-align: center; margin-bottom: 12px; }
.phone-app span { color: var(--muted); font-weight: 500; }
.bubble { max-width: 88%; font-size: 12.8px; line-height: 1.45; padding: 9px 12px; border-radius: 14px; margin-bottom: 8px; }
.b-alert { background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.b-octane { background: var(--moss); color: var(--blush); margin-left: auto; border-bottom-right-radius: 4px; }
.typing { display: inline-flex; gap: 4px; padding: 10px 13px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; border-bottom-left-radius: 4px; margin-bottom: 8px; }
.typing span { width: 5px; height: 5px; border-radius: 50%; background: var(--olive); animation: tDot 1s ease-in-out infinite; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
.typing.is-done { display: none; }
@keyframes tDot { 0%, 100% { opacity: .35; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.approved {
  font-family: var(--font-head); font-size: 12px; font-weight: 600;
  background: var(--leaf-soft); color: var(--leaf);
  border-radius: var(--r-pill); padding: 7px 14px; width: fit-content; margin: 10px auto 0;
}

/* 3 ▸ sync */
.stage-sync { padding-bottom: 34px; }
.sync-wrap { display: grid; grid-template-columns: 150px minmax(120px, 1fr) 120px minmax(200px, 240px); align-items: center; gap: 18px; }
.sync-sources { display: flex; flex-direction: column; gap: 12px; }
.sync-node {
  font-family: var(--font-head); font-size: 13px; font-weight: 500;
  background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  padding: 9px 14px; box-shadow: 0 6px 16px -10px rgba(26,30,24,.2);
}
.sync-beams { width: 100%; height: 180px; overflow: visible; }
.beam { stroke: var(--olive); stroke-width: 1.6; fill: none; opacity: .55; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1s ease; }
.beam.is-on { stroke-dashoffset: 0; }
.sync-core { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--moss); margin-left: -30px; }
.sync-core svg { width: 64px; height: 64px; animation: ringDrift 14s linear infinite; }
.sync-core span { font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: .02em; }
.sync-core.is-on::before {
  content: ""; position: absolute; top: 32px; left: 50%; width: 64px; height: 64px;
  transform: translate(-50%, -50%); border-radius: 50%;
  border: 1.5px solid var(--olive);
  animation: corePulse 2.2s ease-out infinite;
}
@keyframes corePulse { 0% { opacity: .7; scale: 1; } 100% { opacity: 0; scale: 1.9; } }
.sync-record { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow-card); font-size: 13px; }
.sync-record-title { font-family: var(--font-head); font-weight: 600; font-size: 12.5px; border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 4px; }
.srow { display: flex; justify-content: space-between; padding: 6px 0; color: var(--muted); }
.srow strong { color: var(--ink); font-weight: 600; }
.srow.is-on strong { animation: valFlash 1s ease; border-radius: 4px; }
@keyframes valFlash { 0% { background: var(--leaf-soft); box-shadow: 0 0 0 4px var(--leaf-soft); } 100% { background: transparent; box-shadow: 0 0 0 4px transparent; } }

/* 4 ▸ markdown */
.md-row { display: grid; grid-template-columns: 1fr auto auto auto; gap: 10px; align-items: center; padding: 9px 4px; border-bottom: 1px solid var(--line); font-weight: 500; }
.md-sku { font-family: var(--font-head); font-size: 12.5px; }
.md-old { color: var(--muted); text-decoration: line-through; font-size: 12.5px; }
.md-new { font-weight: 700; color: var(--moss); }
.md-gain {
  font-style: normal; font-family: var(--font-head); font-size: 11px; font-weight: 600;
  background: var(--leaf-soft); color: var(--leaf); border-radius: 6px; padding: 3px 7px;
}
.md-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; font-size: 13px; color: var(--muted); }
.md-total strong { font-family: var(--font-head); font-size: 17px; }

/* 5 ▸ PO */
.po-doc { position: relative; overflow: hidden; }
.po-head { display: flex; flex-direction: column; gap: 2px; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 4px; }
.po-head span { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.po-head strong { font-family: var(--font-head); font-size: 14px; }
.po-line { display: flex; justify-content: space-between; padding: 8px 0; font-size: 13px; border-bottom: 1px dashed var(--line); }
.po-total { display: flex; justify-content: space-between; padding-top: 10px; font-family: var(--font-head); font-weight: 600; font-size: 14px; }
.po-stamp {
  position: absolute; right: 14px; bottom: 34px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--leaf);
  border: 2px solid var(--leaf); border-radius: 8px; padding: 4px 12px;
  transform: rotate(-8deg) scale(.6); transition: opacity .3s, transform .3s cubic-bezier(.34,1.56,.64,1);
}
.po-stamp.is-on { transform: rotate(-8deg) scale(1); }

/* 6 ▸ leak */
.leak-wrap { display: flex; align-items: center; gap: 20px; }
.leak-donut { width: 128px; flex: 0 0 auto; transform: rotate(-90deg); }
.donut-ring { stroke: var(--sage); stroke-width: 5; }
.donut-seg { stroke-width: 5; transition: stroke-dasharray 1s cubic-bezier(.2,.6,.2,1); }
.seg-a { stroke: var(--clay); }
.seg-b { stroke: var(--olive); }
.seg-c { stroke: #c2a24e; }
.seg-a.is-on { stroke-dasharray: 50 100; }
.seg-b.is-on { stroke-dasharray: 28 100; }
.seg-c.is-on { stroke-dasharray: 14 100; }
.leak-legend { display: flex; flex-direction: column; gap: 9px; font-size: 13px; font-weight: 500; }
.leak-li { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.leak-li strong { color: var(--ink); margin-left: auto; padding-left: 12px; }
.leak-li i { width: 9px; height: 9px; border-radius: 3px; }
.dot-a { background: var(--clay); }
.dot-b { background: var(--olive); }
.dot-c { background: #c2a24e; }
.leak-fix { font-family: var(--font-head); font-weight: 600; color: var(--leaf); font-size: 12.5px; }

/* 2 ▸ stockout sentinel — nightly console scan → drafted PO → email approval */
.stk-wrap { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px; width: 100%; }

/* — laptop: the Octane web console, running unprompted — */
.laptop { position: relative; flex: 1 1 380px; min-width: 0; max-width: 560px; }
.lp-screen {
  padding: 10px; border-radius: 17px 17px 5px 5px;
  background: linear-gradient(180deg, #454c3d, #262b21);
  box-shadow: 0 1px 0 rgba(255,255,255,.14) inset, var(--shadow-float);
}
.lp-base {
  position: relative; width: 100%; height: 13px;
  border-radius: 0 0 13px 13px;
  background: linear-gradient(180deg, #d3d8c8, #aab19c 55%, #8d9581);
  box-shadow: 0 22px 34px -22px rgba(26,30,24,.55);
}
.lp-base i { position: absolute; left: 50%; transform: translateX(-50%); top: 0; width: 92px; height: 5px; border-radius: 0 0 7px 7px; background: rgba(26,30,24,.2); }
.lp-topbar {
  display: flex; align-items: center; gap: 6px; padding: 0 12px; height: 34px;
  background: var(--sage); border-radius: 8px 8px 0 0; border-bottom: 1px solid rgba(26,30,24,.09);
}
.lp-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(26,30,24,.17); }
.lp-dot:first-child { margin-right: 1px; }
.lp-url {
  margin: 0 auto; padding: 3px 14px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.7); color: var(--muted);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .01em;
}
.lp-live {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: .12em;
  color: var(--olive);
}
.lp-live em { width: 6px; height: 6px; border-radius: 50%; background: var(--leaf); animation: lpBlink 2.2s ease-in-out infinite; }
@keyframes lpBlink { 50% { opacity: .3; } }
.lp-body { display: flex; background: var(--blush); border-radius: 0 0 8px 8px; min-height: 322px; overflow: hidden; }
.lp-rail {
  flex: 0 0 46px; display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 12px 0; background: var(--moss);
}
.lp-logo { width: 22px; height: 22px; display: grid; place-items: center; opacity: .95; }
.lp-logo img { width: 100%; filter: brightness(0) invert(1); }
.lp-nav { width: 16px; height: 4px; border-radius: 3px; background: rgba(235,237,223,.24); }
.lp-nav.on { background: rgba(235,237,223,.8); width: 20px; }
.lp-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 11px; padding: 15px 17px 17px; }
.lp-head { display: flex; flex-direction: column; gap: 2px; }
.lp-eyebrow { font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .14em; color: var(--olive); }
.lp-sub { font-size: 11.5px; color: var(--muted); }
.lp-main .ag-pill { padding: 9px 14px; }
.lp-main .agp-texts { height: 17px; }
.lp-main .apt { font-size: 12.4px; }
.lp-main .stk-row { min-height: 33px; font-size: 11.6px; gap: 8px; }
.lp-main .stk-name, .lp-main .stk-qty { font-size: 11.5px; white-space: nowrap; }
.lp-main .stk-chip { font-size: 9.5px; padding: 2px 6px; }
.stk-draft { position: relative; display: flex; flex-direction: column; gap: 1px; padding: 11px 14px 12px; margin-top: auto; }
.sd-label { font-family: var(--font-mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: .11em; color: var(--muted); }
.sd-id { font-family: var(--font-head); font-size: 12px; font-weight: 600; }
.sd-amt { font-family: var(--font-head); font-size: 15px; font-weight: 600; color: var(--moss); font-variant-numeric: tabular-nums; margin-top: 2px; }
.stk-draft .stk-stamp { top: 14px; font-size: 10.5px; }

/* — the notification: an email, not a chat — */
.mail-card {
  position: relative; flex: 1 1 282px; max-width: 420px; min-width: 0; z-index: 4;
  display: flex; flex-direction: column; gap: 6px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 14px 16px 15px; box-shadow: var(--shadow-float);
}
.mail-head { display: flex; align-items: center; gap: 9px; }
.mail-ico { width: 30px; height: 30px; flex: 0 0 auto; border-radius: 11px; background: var(--moss); color: var(--sage); display: grid; place-items: center; }
.mail-ico svg { width: 16px; height: 16px; }
.mail-from { flex: 1; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-family: var(--font-head); font-size: 12px; font-weight: 600; }
.mail-from b { font-family: var(--font-mono); font-size: 9.5px; font-weight: 400; color: var(--muted); }
.mail-subject { font-family: var(--font-head); font-size: 13px; font-weight: 600; line-height: 1.3; margin-top: 2px; }
.mail-body { font-size: 11.8px; line-height: 1.5; color: var(--muted); }
.mail-sum { background: var(--sage); border-radius: 11px; padding: 9px 11px; font-size: 11px; color: var(--muted); }
.ms-line { display: flex; justify-content: space-between; gap: 10px; padding: 2px 0; }
.ms-line b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.ms-total { display: flex; justify-content: space-between; gap: 10px; margin-top: 4px; padding-top: 5px; border-top: 1px solid rgba(26,30,24,.12); font-family: var(--font-head); font-size: 12.5px; font-weight: 600; color: var(--moss); }
.ms-total b { font-variant-numeric: tabular-nums; }
.mail-actions { display: flex; align-items: center; gap: 8px; margin-top: 3px; transition: opacity .4s; }
.mail-btn {
  font-family: var(--font-head); font-size: 11.5px; font-weight: 600;
  border-radius: var(--r-pill); padding: 7px 14px; border: 1px solid var(--sage-deep); color: var(--ink);
  transition: background .2s, transform .2s, color .2s;
}
.mail-btn.primary { background: var(--moss); border-color: var(--moss); color: var(--sage); }
.mail-confirm { display: flex; align-items: center; gap: 7px; font-family: var(--font-head); font-size: 11.5px; font-weight: 600; color: var(--leaf); }
.mail-confirm em { font-style: normal; width: 15px; height: 15px; border-radius: 50%; background: var(--leaf-soft); display: grid; place-items: center; font-size: 9px; }
.mail-cursor { position: absolute; left: 78px; bottom: 52px; width: 19px; z-index: 5; transition: transform .18s; }
.mail-cursor svg { width: 100%; }
.mail-cursor.is-on { animation: mailPoint .9s cubic-bezier(.2,.6,.2,1) forwards; }
@keyframes mailPoint { from { opacity: 0; transform: translate(26px, 24px); } to { opacity: 1; transform: none; } }
.stage-stockout.mail-approved .mail-btn.primary { background: var(--ink); border-color: var(--ink); transform: scale(.95); }
.stage-stockout.mail-approved .mail-cursor { transform: scale(.86); }
.stage-stockout.po-appr .mail-actions { opacity: .3; }
.stk-list { position: relative; overflow: hidden; }
.stk-row { display: flex; align-items: center; gap: 10px; min-height: 41px; font-size: 12.8px; transition: background .5s; border-radius: 8px; padding: 0 8px; margin: 0 -8px; }
.stk-row + .stk-row { border-top: 1px solid var(--line); }
.stk-name { font-family: var(--font-head); font-size: 12.5px; font-weight: 600; }
.stk-qty { margin-left: auto; color: var(--muted); font-variant-numeric: tabular-nums; font-size: 12.3px; }
.stk-qty b { color: var(--ink); font-weight: 600; }
.stk-chip {
  font-style: normal; font-family: var(--font-head); font-size: 10.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em;
  background: var(--clay-soft); color: var(--clay);
  border-radius: 6px; padding: 3px 8px;
  opacity: 0; transform: scale(.6); transition: opacity .35s, transform .35s cubic-bezier(.34,1.56,.64,1);
}
.stk-ok { font-style: normal; font-size: 10px; color: var(--leaf); width: 16px; height: 16px; border-radius: 50%; background: var(--leaf-soft); display: grid; place-items: center; }
.stage-stockout.stk-low .stk-row.low { background: rgba(164,106,60,.07); }
.stage-stockout.stk-low .stk-row.low .stk-qty b { color: var(--clay); font-weight: 700; }
.stage-stockout.stk-low .stk-row.low .stk-chip { opacity: 1; transform: scale(1); }
.stk-scanline {
  position: absolute; left: 0; right: 0; top: 0; height: 30px; opacity: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(180deg, rgba(76,86,70,0), rgba(76,86,70,.13), rgba(76,86,70,0));
}
.stage-stockout.stk-scanning .stk-scanline { animation: stkScan 1.5s cubic-bezier(.45,.05,.55,.95) 1 forwards; }
@keyframes stkScan { 0% { opacity: 0; transform: translateY(-6px); } 12% { opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; transform: translateY(190px); } }
.stk-po { position: relative; padding-top: 14px; padding-bottom: 14px; }
.stk-po-head { display: flex; flex-direction: column; gap: 1px; border-bottom: 1px solid var(--line); padding-bottom: 9px; margin-bottom: 3px; }
.stk-po-head span { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.stk-po-head b { font-family: var(--font-head); font-size: 13.5px; font-weight: 600; }
.stk-stamp {
  position: absolute; right: 14px; top: 12px;
  font-style: normal; font-family: var(--font-head); font-size: 11.5px; font-weight: 600;
  border: 1.5px solid var(--olive); color: var(--olive); border-radius: 7px; padding: 2px 9px;
  transform: rotate(-6deg) scale(0); transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .25s;
}
.stk-stamp.s-appr { border-color: var(--leaf); color: var(--leaf); }
.stage-stockout.po-sent .stk-stamp.s-sent { transform: rotate(-6deg) scale(1); }
.stage-stockout.po-appr .stk-stamp.s-sent { opacity: 0; transform: rotate(-6deg) scale(.7); }
.stage-stockout.po-appr .stk-stamp.s-appr { transform: rotate(-6deg) scale(1); }
.stk-po-line { display: flex; justify-content: space-between; padding: 7px 0; font-size: 12.5px; border-bottom: 1px dashed var(--line); color: var(--muted); }
.stk-po-line b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.stk-po-total { display: flex; justify-content: space-between; padding-top: 9px; font-family: var(--font-head); font-weight: 600; font-size: 13.5px; }
.stk-pobub { background: var(--white) !important; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.stk-pobub::before, .stk-pobub::after { display: none; }
.pobub-head { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.pobub-title { font-family: var(--font-head); font-size: 12.5px; font-weight: 600; }
.pobub-line { font-size: 11px; color: var(--muted); }
.pobub-total { font-family: var(--font-head); font-size: 16px; font-weight: 600; color: var(--moss); margin-top: 3px; }
.pobub-total small { font-size: 11px; font-weight: 500; color: var(--muted); }
.pobub-note { font-size: 10.5px; font-weight: 600; color: var(--olive); margin-top: 3px; }
.stage-stockout.buzz .mail-ico { animation: mailPop .55s cubic-bezier(.34,1.56,.64,1); }
@keyframes mailPop { 0%, 100% { transform: none; } 45% { transform: scale(1.14) rotate(-4deg); } }
#pane-stockout.wf-pane { grid-template-columns: .82fr 1.5fr; }
#pane-stockout .wf-visual { padding: 30px 24px; }
#pane-stockout .wf-copy { padding-right: 34px; }

/* 3 ▸ margin protection — address → competitor map → suggestion → Gilbarco */
.mp-wrap { display: grid; grid-template-columns: minmax(280px, 340px) 1fr; gap: 26px; align-items: start; width: 100%; }
.mp-left { display: flex; flex-direction: column; gap: 13px; padding-top: 8px; }
.mp-input { padding: 14px 16px; }
.mp-input-label { display: block; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 8px; }
.mp-field {
  display: flex; align-items: center; gap: 2px;
  border: 1.5px solid var(--sage-deep); border-radius: 12px; padding: 10px 13px;
  font-family: var(--font-head); font-size: 13.5px; font-weight: 600; color: var(--ink);
  min-height: 42px;
}
.mp-caret { width: 1.5px; height: 16px; background: var(--moss); animation: mpBlink 1.1s steps(2) infinite; }
@keyframes mpBlink { 50% { opacity: 0; } }
.mp-resolved { font-family: var(--font-mono); font-size: 11px; color: var(--olive); margin-top: 9px; }
.mp-suggest { padding: 14px 16px 16px; }
.mp-sug-head { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.mp-sug-row { display: flex; justify-content: space-between; align-items: baseline; padding: 11px 0 2px; }
.mp-grade { font-family: var(--font-head); font-size: 13.5px; font-weight: 600; }
.mp-price { font-family: var(--font-head); font-size: 15px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.mp-price i { font-style: normal; color: var(--olive); padding: 0 2px; }
.mp-price b { color: var(--moss); font-weight: 700; font-size: 17px; }
.mp-sub { font-size: 12px; color: var(--muted); line-height: 1.5; padding: 2px 0 8px; }
.mp-margin { font-family: var(--font-head); font-size: 13px; font-weight: 600; color: var(--leaf); padding: 8px 0 12px; border-top: 1px solid var(--line); }
.mp-margin .count { font-size: 16px; font-variant-numeric: tabular-nums; }
.mp-approve {
  width: 100%; border: 0; cursor: pointer;
  background: var(--moss); color: var(--blush);
  font-family: var(--font-head); font-size: 13px; font-weight: 600;
  padding: 11px 14px; border-radius: 11px;
  transition: transform .15s ease, filter .15s ease;
}
.stage-margin.mp-press .mp-approve { transform: scale(.96); filter: brightness(1.25); }
.mp-live {
  display: none; align-items: center; justify-content: center; gap: 6px;
  font-family: var(--font-head); font-size: 13px; font-weight: 600;
  background: var(--leaf-soft); color: var(--leaf);
  padding: 11px 14px; border-radius: 11px;
}
.stage-margin.mp-approved .mp-approve { display: none; }
.stage-margin.mp-approved .mp-live { display: flex; }

.mp-map {
  position: relative; overflow: hidden; border-radius: 18px;
  height: 470px; align-self: stretch;
  box-shadow: 0 1px 2px rgba(26,30,24,.06), 0 18px 44px -20px rgba(26,30,24,.28);
}
.mp-roads { position: absolute; inset: 0; width: 100%; height: 100%; }
.mp-maplabel {
  position: absolute; left: 12px; bottom: 10px;
  font-family: var(--font-mono); font-size: 10px; color: rgba(26,30,24,.45);
  background: rgba(255,255,255,.7); border-radius: 6px; padding: 3px 8px;
}
.mp-pin {
  position: absolute; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  transform: translate(-50%, -96%) translateY(-14px) scale(.7); opacity: 0;
  transition: opacity .4s, transform .6s cubic-bezier(.3,1.45,.4,1);
}
.mp-pin.is-on { opacity: 1; transform: translate(-50%, -96%); }
.mp-pin.you { left: 46%; top: 54%; z-index: 4; }
.mp-pin.c1 { left: 20%; top: 26%; }
.mp-pin.c2 { left: 74%; top: 22%; }
.mp-pin.c3 { left: 80%; top: 64%; }
.mp-pin.c4 { left: 27%; top: 80%; }
.mp-bubble {
  position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 5px;
  background: var(--white); border-radius: 9px; padding: 4px 9px;
  font-family: var(--font-head); font-size: 12.5px; font-weight: 700; color: var(--ink);
  box-shadow: 0 3px 6px rgba(26,30,24,.16), 0 12px 26px -12px rgba(26,30,24,.4);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.mp-pump {
  position: relative; width: 34px; height: 34px; border-radius: 50%;
  background: var(--white); color: #969b91;
  display: grid; place-items: center;
  box-shadow: 0 4px 9px rgba(26,30,24,.24);
  margin-top: -2px;
}
.mp-pump::before {
  content: ""; position: absolute; bottom: -3.5px; left: 50%; width: 13px; height: 13px;
  background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 2.5px;
  z-index: -1;
}
.mp-pump svg { width: 17px; height: 17px; }
.mp-pin.you .mp-bubble { background: var(--moss); color: var(--blush); padding: 5px 10px; }
.mp-pin.you .mp-bubble em { font-style: normal; font-family: var(--font-mono); font-size: 8.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--sage); }
.mp-pin.you .mp-pump { background: var(--moss); color: var(--sage); }
.mp-you-new { display: none; }
.stage-margin.mp-flip .mp-you-old { display: none; }
.stage-margin.mp-flip .mp-you-new { display: inline; }
.stage-margin.mp-flip .mp-pin.you .mp-bubble { animation: mpFlipFlash 1s ease; }
@keyframes mpFlipFlash { 0% { background: var(--leaf); } 100% { background: var(--moss); } }
.mp-radar { position: absolute; left: 46%; top: 51%; width: 6px; height: 6px; z-index: 2; pointer-events: none; }
.mp-radar::before, .mp-radar::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--olive); opacity: 0;
}
.stage-margin.mp-scan .mp-radar::before { animation: mpPing 1.25s ease-out 2; }
.stage-margin.mp-scan .mp-radar::after { animation: mpPing 1.25s ease-out .55s 2; }
@keyframes mpPing { 0% { opacity: .75; transform: scale(1); } 100% { opacity: 0; transform: scale(38); } }
.stage-margin.mp-scan .mp-pin.c1 .mp-pump { animation: mpPinPulse .6s ease .35s; }
.stage-margin.mp-scan .mp-pin.c2 .mp-pump { animation: mpPinPulse .6s ease .7s; }
.stage-margin.mp-scan .mp-pin.c3 .mp-pump { animation: mpPinPulse .6s ease 1.05s; }
.stage-margin.mp-scan .mp-pin.c4 .mp-pump { animation: mpPinPulse .6s ease 1.4s; }
@keyframes mpPinPulse { 50% { transform: scale(1.16); box-shadow: 0 0 0 5px rgba(76,86,70,.18), 0 4px 9px rgba(26,30,24,.24); } }
#pane-margin.wf-pane { grid-template-columns: .82fr 1.5fr; }
#pane-margin .wf-visual { padding: 30px 24px; }
#pane-margin .wf-copy { padding-right: 34px; }

/* 4 ▸ run promotions — text a promo into existence */
.pr-wrap { display: grid; grid-template-columns: 292px 1fr; gap: 26px; align-items: start; width: 100%; }
.pr-right { display: flex; flex-direction: column; gap: 13px; padding-top: 8px; }
.agv-amt b.pr-lift, .stk-po-total b.pr-lift { color: var(--leaf); }

/* 5 ▸ cash reconciliation */
.stage-recon .pb-thread { gap: 5px; margin-top: 7px; }
.stage-recon .pb-msg { font-size: 11.5px; line-height: 1.38; padding: 6px 9px; max-width: 88%; }
.stage-recon .pb-inputbar { margin-top: 8px; }
.stage-recon .pb-homebar { margin-top: 6px; }
.stk-po-total b.rc-short { color: var(--clay); }
.stage-recon.recon-done .stk-stamp.s-appr { transform: rotate(-6deg) scale(1); }
#pane-recon.wf-pane { grid-template-columns: .82fr 1.5fr; }
#pane-recon .wf-visual { padding: 30px 24px; }
#pane-recon .wf-copy { padding-right: 34px; }
.stage-promo.promo-made .stk-stamp.s-sent { transform: rotate(-6deg) scale(1); }
.stage-promo.promo-live .stk-stamp.s-sent { opacity: 0; transform: rotate(-6deg) scale(.7); }
.stage-promo.promo-live .stk-stamp.s-appr { transform: rotate(-6deg) scale(1); }
#pane-promo.wf-pane { grid-template-columns: .82fr 1.5fr; }
#pane-promo .wf-visual { padding: 30px 24px; }
#pane-promo .wf-copy { padding-right: 34px; }

/* ── Product ──────────────────────────────────── */
.product { padding: 120px 0; background: var(--blush); }
.section-title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(32px, 4.2vw, 52px); max-width: 760px; }
.section-title em { color: var(--olive); }
.section-sub { color: var(--muted); font-size: 19px; max-width: 560px; margin-top: 16px; }

.cat-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 52px; }
.cat-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 26px 22px; min-height: 300px; display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.cat-card h3 { font-family: var(--font-serif); font-size: 24px; font-weight: 400; line-height: 1.15; }
.cat-count { font-family: var(--font-body); font-weight: 500; color: var(--clay); font-size: 15px; margin: 8px 0 18px; }
.cat-card ul { list-style: none; margin-top: auto; }
.cat-card li { font-size: 15px; color: var(--muted); padding: 6px 0; border-top: 1px solid var(--line); }
.cat-more { background: var(--moss); color: var(--blush); border-color: transparent; justify-content: space-between; }
.arrow-link { font-family: var(--font-head); font-weight: 500; color: var(--sage); font-size: 15px; }
.arrow-link:hover { color: var(--white); }

.compare { margin-top: 90px; }

/* ── Systems morph: chaos → the Octane lattice (Ramp "never spoke / sing together") ── */
.morph-wrap { height: 240vh; margin-top: 90px; }
.morph-wrap.morph-static { height: auto; }
.morph-sticky { position: sticky; top: 84px; padding-top: 8px; }
.morph-wrap.morph-static .morph-sticky { position: static; }
/* the headline narrates the three acts — stacked, crossfading with scroll */
.morph-title { display: grid; margin-bottom: 18px; }
.morph-title span {
  grid-area: 1 / 1;
  transform: translateY(calc((1 - var(--mt, 1)) * 10px));
  opacity: var(--mt, 1);
}
.morph-title .mt1 { --mt: clamp(0, calc(1 - var(--e, 0) * 3.6), 1); }
.morph-title .mt2 { --mt: min(clamp(0, calc((var(--e, 0) - .24) * 5), 1), clamp(0, calc((.6 - var(--e, 0)) * 5), 1)); }
.morph-title .mt3 { --mt: clamp(0, calc((var(--e, 0) - .68) * 4), 1); }
.morph-stage { position: relative; width: 100%; aspect-ratio: 1040 / 620; min-height: 460px; overflow: hidden; }
.morph-fade {
  position: absolute; inset: 0 0 auto; height: 90px; z-index: 6; pointer-events: none;
  background: linear-gradient(180deg, var(--blush) 0%, rgba(245,246,236,0) 100%);
  opacity: var(--e, 0);
}

/* chaos elements: idle bob, scatter-dissolve as --e rises */
.mc {
  /* --s: this element's ingestion progress (staggered by --d) */
  --s: clamp(0, calc((var(--e, 0) - .24 - var(--d, 0) * .6) * 3.4), 1);
  position: absolute; z-index: 2;
  left: calc((var(--x) + (50 - var(--x)) * var(--s)) * 1%);
  top: calc((var(--y) + (45 - var(--y)) * var(--s)) * 1%);
  transform: translate(-50%, -50%)
             rotate(calc((var(--r, 0) - var(--s) * 15) * 1deg))
             scale(calc(1 - var(--s) * .9));
  opacity: clamp(0, calc(1 - var(--s) * 1.12), 1);
  pointer-events: none;
}
.mci { animation: mBob var(--ft, 5.5s) ease-in-out var(--fd, 0s) infinite alternate; }
@keyframes mBob { from { transform: translateY(-3px); } to { transform: translateY(3px); } }
.mc-photo { display: block; border-radius: 5px; box-shadow: 0 3px 6px rgba(26,30,24,.14), 0 24px 44px -18px rgba(26,30,24,.42); }
.w112 { width: 112px; } .w148 { width: 148px; } .w150 { width: 150px; } .w156 { width: 156px; } .w172 { width: 172px; }

.m-win {
  background: var(--white); border-radius: 11px; border: 1px solid var(--line);
  box-shadow: 0 2px 4px rgba(26,30,24,.05), 0 16px 34px -16px rgba(26,30,24,.3);
  padding: 0 12px 10px; font-size: 11.5px;
}
.m-bar { display: flex; align-items: center; gap: 4px; padding: 8px 0 6px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.m-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(26,30,24,.14); }
.m-bar span { margin-left: 4px; font-family: var(--font-mono); font-size: 8.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-row { display: flex; justify-content: space-between; align-items: center; padding: 3.5px 0; color: var(--muted); }
.m-row b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.m-mono { font-family: "Courier New", monospace; font-size: 9.5px; line-height: 1.75; color: #3a3c36; white-space: nowrap; }

.m-shelftag {
  width: 122px; background: #fdfdfb; border-radius: 4px; overflow: hidden;
  box-shadow: 0 3px 6px rgba(26,30,24,.14), 0 20px 38px -16px rgba(26,30,24,.4);
  padding: 8px 10px 0; text-align: left; border: 1px solid rgba(26,30,24,.08);
}
.m-barcode { display: block; height: 13px; margin-bottom: 3px; background: repeating-linear-gradient(90deg, #1c1e1a 0 1px, transparent 1px 3px, #1c1e1a 3px 5px, transparent 5px 6px); width: 62%; }
.m-shelftag b { font-family: var(--font-head); font-size: 25px; font-weight: 800; line-height: 1; color: #171815; letter-spacing: -.02em; }
.m-shelftag b small { font-size: 13px; font-weight: 800; vertical-align: super; }
.m-shelftag span { display: block; font-size: 8.5px; font-weight: 700; color: #262823; line-height: 1.3; margin: 2px 0 5px; }
.m-shelftag em { display: block; font-style: normal; background: #b8402e; color: #fff; font-size: 8px; font-weight: 700; text-align: center; padding: 4px 4px; margin: 0 -10px; }

.m-posdev { width: 168px; display: flex; flex-direction: column; align-items: center; filter: drop-shadow(0 18px 30px rgba(26,30,24,.35)); }
.m-pos-screen {
  width: 150px; background: #1d1f22; border-radius: 9px; padding: 7px;
  display: grid; grid-template-columns: 1fr 44px; gap: 5px;
  border: 1px solid #33363a;
}
.m-pos-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.m-pos-grid i { height: 13px; border-radius: 2.5px; background: #3c4046; }
.m-pos-grid i:nth-child(3) { background: #b06a3c; }
.m-pos-grid i:nth-child(6) { background: #4a6b4f; }
.m-pos-grid i:nth-child(10) { background: #9d4438; }
.m-pos-side { display: flex; flex-direction: column; gap: 3px; }
.m-pos-side i { height: 9px; border-radius: 2px; background: #2c2f33; }
.m-pos-stand { width: 34px; height: 14px; background: linear-gradient(180deg, #46494e, #232528); }
.m-pos-drawer { width: 128px; height: 20px; border-radius: 3px; background: linear-gradient(180deg, #2b2d30, #17181b); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }

.m-chat {
  display: flex; align-items: center; gap: 8px;
  width: 200px; background: var(--white); border-radius: 999px;
  box-shadow: 0 2px 4px rgba(26,30,24,.06), 0 14px 30px -14px rgba(26,30,24,.3);
  padding: 8px 14px 8px 8px; font-size: 11.5px; color: var(--muted);
}
.m-chat b { color: var(--ink); font-weight: 600; }
.m-ava {
  width: 26px; height: 26px; border-radius: 50%; flex: 0 0 auto;
  background: var(--clay-soft); color: var(--clay);
  display: grid; place-items: center;
  font-family: var(--font-head); font-size: 10.5px; font-weight: 700;
}
.m-ava.you {
  width: 44px; height: 44px; background: var(--moss); color: var(--sage);
  font-size: 12px; font-weight: 600;
  box-shadow: 0 3px 6px rgba(26,30,24,.12), 0 16px 34px -16px rgba(26,30,24,.4);
}
.m-ava.you.sm { width: 30px; height: 30px; font-size: 9.5px; box-shadow: none; }
.m-email {
  display: flex; align-items: center; gap: 7px;
  background: var(--white); border-radius: 12px; padding: 9px 12px;
  box-shadow: 0 2px 4px rgba(26,30,24,.06), 0 14px 30px -14px rgba(26,30,24,.3);
  font-size: 11px; color: var(--muted);
}
.m-email svg { width: 20px; height: 20px; color: var(--olive); }
.m-email em { font-style: normal; background: #c0452f; color: #fff; font-family: var(--font-head); font-size: 9.5px; font-weight: 700; border-radius: 999px; padding: 1.5px 6px; margin-left: -14px; margin-top: -18px; }

/* the Octane core: swallows the mess, then becomes the agent card */
.m-vortex {
  --vp: clamp(0, calc((var(--e, 0) - .26) * 4), 1);       /* arrive */
  --vout: clamp(0, calc((var(--e, 0) - .64) * 5), 1);     /* hand off to lattice */
  position: absolute; z-index: 3;
  left: calc((50 + 1 * var(--vout)) * 1%);
  top: calc((45 - 9 * var(--vout)) * 1%);
  transform: translate(-50%, -50%) scale(calc(.55 + var(--vp) * .45 - var(--vout) * .3));
  opacity: clamp(0, calc(var(--vp) - var(--vout) * 1.2), 1);
  pointer-events: none;
  display: grid; place-items: center;
}
.m-vortex .m-core-ring { grid-area: 1 / 1; }
.m-vring {
  grid-area: 1 / 1; width: 116px; height: 116px; border-radius: 50%;
  border: 1.5px dashed rgba(76,86,70,.5);
  animation: vSpin 5.5s linear infinite;
}
@keyframes vSpin { to { transform: rotate(360deg); } }

/* dotted meanders with arrowheads — faint, static, Ramp-style */
.chaos-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; opacity: clamp(0, calc(1 - (var(--e, 0) - .1) * 4.5), 1); }
.chaos-lines path { fill: none; stroke: rgba(26,30,24,.3); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: .1 7; animation: dotFlow 1s linear infinite; }
@keyframes dotFlow { to { stroke-dashoffset: -14.2; } }

.m-imgwin {
  background: var(--white); border-radius: 10px; border: 1px solid var(--line);
  box-shadow: 0 2px 4px rgba(26,30,24,.05), 0 20px 40px -18px rgba(26,30,24,.3);
  padding: 0 7px 7px;
}
.m-imgwin img { display: block; border-radius: 5px; }
.m-imgwin .m-bar { border-bottom: 0; margin-bottom: 2px; }

.m-pdfwin {
  background: #2b2d30; border-radius: 9px; padding: 0 6px 6px;
  box-shadow: 0 3px 6px rgba(26,30,24,.16), 0 26px 48px -20px rgba(26,30,24,.5);
}
.m-pdfbar { display: flex; justify-content: space-between; align-items: center; padding: 7px 4px; }
.m-pdfbar span { font-family: var(--font-mono); font-size: 8.5px; color: rgba(255,255,255,.75); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 180px; }
.m-pdfbar i { font-style: normal; font-size: 9px; color: rgba(255,255,255,.55); }
.m-pdfwin img { display: block; border-radius: 3px; }

.m-stack { position: relative; width: 246px; height: 168px; }
.m-sheetwin {
  position: absolute; inset: 0; background: var(--white);
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  box-shadow: 0 2px 4px rgba(26,30,24,.05), 0 16px 32px -16px rgba(26,30,24,.28);
}
.m-sheetwin.s2 { transform: translate(14px, -12px); }
.m-sheetwin.s3 { transform: translate(28px, -24px); }
.m-sheethead { background: #3e7d4e; color: #fff; font-family: var(--font-mono); font-size: 8.5px; padding: 6px 9px; white-space: nowrap; }
.m-sheetgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; padding: 8px; }
.m-sheetgrid i { height: 17px; background: rgba(26,30,24,.05); }
.m-sheetgrid i:nth-child(4n+1) { background: rgba(62,125,78,.12); }

.m-form {
  width: 196px; background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 2px 4px rgba(26,30,24,.05), 0 18px 36px -16px rgba(26,30,24,.3);
  padding: 0 13px 12px; font-size: 10.5px;
}
.m-form label { display: block; font-size: 9.5px; color: var(--muted); margin: 7px 0 3px; }
.m-input { border: 1px solid rgba(26,30,24,.18); border-radius: 6px; padding: 5px 9px; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); }
.m-err { margin-top: 9px; color: #b0392a; font-size: 9.5px; font-weight: 600; }

.m-ghosttext { margin-top: 9px; font-size: 10.5px; color: var(--muted); opacity: .5; text-align: right; }
.m-icostack { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.m-folder { position: relative; font-size: 37px; line-height: 1; filter: saturate(.9); }
.m-folder em { position: absolute; right: -8px; bottom: -3px; font-size: 17px; font-style: normal; }
.m-file {
  position: relative; width: 34px; height: 42px; background: #fff;
  border: 1px solid rgba(26,30,24,.16); border-radius: 4px;
  display: grid; place-items: end center; padding-bottom: 4px;
  font-family: var(--font-head); font-size: 8px; font-weight: 800; color: #b0392a;
  box-shadow: 0 6px 14px -6px rgba(26,30,24,.25);
}
.m-file i { position: absolute; top: -1px; right: -1px; width: 11px; height: 11px; background: var(--blush); border-left: 1px solid rgba(26,30,24,.16); border-bottom: 1px solid rgba(26,30,24,.16); border-radius: 0 0 0 4px; }
.m-icolabel { font-size: 9.5px; color: var(--muted); }

/* ── the lattice: 5 masonry columns of cards, mostly ghosted ── */
.mg {
  position: absolute; inset: 0 2%; z-index: 4;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 13px;
  align-content: center; align-items: start;
}
.mg-col { display: flex; flex-direction: column; gap: 13px; margin-top: var(--off, 0px); }
.mg-card {
  --p: clamp(0, calc((var(--e, 0) - var(--d, .7)) * 6), 1);
  background: var(--white); border: 1px solid var(--line); border-radius: 11px;
  padding: 11px 13px; font-size: 11.5px;
  box-shadow: 0 1px 2px rgba(26,30,24,.04), 0 10px 24px -14px rgba(26,30,24,.16);
  opacity: calc(var(--p) * var(--go, 1));
  transform: translateY(calc((1 - var(--p)) * 26px));
  pointer-events: none;
}
.mg-ghost { --go: .42; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.mg-ghost .skl::after { animation: none; }
.mg-head { font-family: var(--font-mono); font-size: 8.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 7px; }
.mg-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 3px 0; color: var(--muted); white-space: nowrap; }
.mg-row b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.mg-warn { color: var(--clay) !important; }
.mg-sub { font-size: 10.5px; color: var(--muted); margin-top: 4px; }
.mg-live {
  font-style: normal; font-family: var(--font-head); font-size: 9.5px; font-weight: 700;
  background: var(--leaf-soft); color: var(--leaf); border-radius: 999px; padding: 2px 8px;
  white-space: nowrap;
}
.mg-price { display: flex; align-items: baseline; gap: 7px; font-family: var(--font-head); }
.lp-old { color: var(--muted); text-decoration: line-through; font-size: 12px; }
.lp-new { font-size: 16px; font-weight: 700; color: var(--moss); }
.mg-stamp {
  display: inline-block; margin-top: 6px;
  font-style: normal; font-family: var(--font-head); font-size: 10.5px; font-weight: 700;
  border: 1.5px solid var(--leaf); color: var(--leaf); border-radius: 6px; padding: 1.5px 8px;
  transform: rotate(-4deg);
}
.mg-youline { display: flex; align-items: center; gap: 10px; }
.mg-approve {
  font-family: var(--font-head); font-size: 11px; font-weight: 700;
  background: var(--moss); color: var(--blush); border-radius: 999px; padding: 6px 13px;
  animation: youPress 5s ease-in-out infinite;
}
@keyframes youPress { 0%, 44%, 56%, 100% { transform: none; } 50% { transform: scale(.93); } }

/* the agent feed card — rows appear in sequence, then the loop restarts */
.mg-feed { padding-bottom: 13px; }
.fd { display: flex; align-items: center; gap: 7px; padding: 3.5px 0; font-weight: 500; color: var(--ink); white-space: nowrap; opacity: 0; }
.fd .ck-ico { width: 14px; height: 14px; font-size: 8.5px; }
.fd-chip {
  font-family: var(--font-head); font-size: 10px; font-weight: 700;
  background: var(--sage); color: var(--moss); border-radius: 6px; padding: 3px 9px;
}
.fd-done { font-weight: 700; color: var(--leaf); }
.fd1 { animation: fdr1 11s linear infinite; }
.fd2 { animation: fdr2 11s linear infinite; }
.fd3 { animation: fdr3 11s linear infinite; }
.fd4 { animation: fdr4 11s linear infinite; }
.fd5 { animation: fdr5 11s linear infinite; }
.fd6 { animation: fdr6 11s linear infinite; }
@keyframes fdr1 { 0% { opacity: 0; transform: translateY(5px); } 4%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; } }
@keyframes fdr2 { 0%, 9% { opacity: 0; transform: translateY(5px); } 13%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; } }
@keyframes fdr3 { 0%, 20% { opacity: 0; transform: translateY(5px); } 24%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; } }
@keyframes fdr4 { 0%, 31% { opacity: 0; transform: translateY(5px); } 35%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; } }
@keyframes fdr5 { 0%, 47% { opacity: 0; transform: translateY(5px); } 51%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; } }
@keyframes fdr6 { 0%, 62% { opacity: 0; transform: translateY(5px); } 66%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; } }

/* small looping vignettes in the other lit cards */
.lp-po { opacity: 0; animation: lpPop 7s ease infinite .6s; }
.lp-plive { opacity: 0; animation: lpPop 6s ease infinite 1.4s; }
.lp-live { opacity: 0; animation: lpPop 7.5s ease infinite 2.1s; }
@keyframes lpPop { 0%, 26% { opacity: 0; transform: scale(.7); } 32%, 86% { opacity: 1; transform: scale(1); } 92%, 100% { opacity: 0; } }
.lp-margin .lp-old { animation: lpStrike 7.5s ease infinite 2.1s; }
@keyframes lpStrike { 0%, 26% { color: var(--ink); text-decoration: none; } 32%, 100% { color: var(--muted); text-decoration: line-through; } }
.rc1 { opacity: 0; animation: rcRow 8s ease infinite .3s; }
.rc2 { opacity: 0; animation: rcRow 8s ease infinite 1s; }
.rc3 { opacity: 0; transform: rotate(-4deg) scale(.6); animation: rcStamp 8s ease infinite 1.9s; }
@keyframes rcRow { 0%, 6% { opacity: 0; transform: translateY(4px); } 12%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; } }
@keyframes rcStamp { 0%, 12% { opacity: 0; transform: rotate(-4deg) scale(.6); } 18%, 86% { opacity: 1; transform: rotate(-4deg) scale(1); } 93%, 100% { opacity: 0; } }

@media (max-width: 860px) {
  .morph-wrap { height: 175vh; }
  .hide-sm { display: none; }
  .mc-photo.w148, .mc-photo.w150 { width: 112px; }
  .m-posdev { width: 130px; }
  .m-chat { width: 158px; font-size: 10px; }
  .morph-cap { font-size: 15px; }
  .mg { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .mg-col:nth-child(1), .mg-col:nth-child(5) { display: none; }
  .fd { white-space: normal; }
}

.compare-title { font-family: var(--font-serif); font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 30px; font-weight: 400; }
.compare-table { border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; background: var(--white); }
.cmp-row { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; align-items: stretch; border-top: 1px solid var(--line); }
.cmp-row:first-child { border-top: 0; }
.cmp-row > span { padding: 14px 20px; font-size: 17px; display: flex; align-items: center; }
.cmp-row > span:not(:first-child) { justify-content: center; text-align: center; color: var(--muted); font-size: 15px; }
.cmp-head > span { font-family: var(--font-head); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding-top: 18px; padding-bottom: 18px; }
.cmp-octane { background: var(--moss); color: var(--sage) !important; font-weight: 600; }
.cmp-head .cmp-octane img { height: 20px; width: auto; }

/* ── Calculator ───────────────────────────────── */
.calc { padding: clamp(40px, 5vw, 70px) 0 clamp(90px, 10vw, 150px); background: var(--blush); }
.calc-panel {
  position: relative;
  background: none;
  color: var(--ink);
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 5vw, 100px);
  padding: clamp(60px, 7vw, 120px) 0;
  align-items: center;
}
.calc-copy h2 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(32px, 3.8vw, 48px); color: var(--moss); margin-bottom: 18px; }
.calc-copy h2 em { color: var(--olive); font-weight: 400; }
.calc-copy p { color: var(--muted); max-width: 420px; margin-bottom: 34px; }
.calc-copy .eyebrow.light { color: var(--olive); }
.calc-card { background: var(--white); color: var(--ink); border-radius: 20px; padding: 30px 30px 24px; box-shadow: var(--shadow-float); }
.calc-field { margin-bottom: 20px; }
.calc-field label { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-head); font-size: 15px; font-weight: 500; margin-bottom: 8px; }
.calc-field output { font-weight: 600; font-size: 15px; color: var(--moss); font-variant-numeric: tabular-nums; }
input[type="range"] { width: 100%; appearance: none; -webkit-appearance: none; height: 5px; border-radius: 3px; background: var(--sage-deep); outline: none; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb {
  appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--moss); border: 3px solid var(--blush);
  box-shadow: 0 2px 8px rgba(26,30,24,.3); transition: transform .15s;
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"]::-moz-range-thumb { width: 15px; height: 15px; border-radius: 50%; background: var(--moss); border: 3px solid var(--blush); box-shadow: 0 2px 8px rgba(26,30,24,.3); }
.calc-hero { text-align: center; background: var(--white); border-radius: 14px; padding: 18px; margin: 26px 0 12px; }
.calc-hero span { font-family: var(--font-mono); font-size: 12.5px; font-weight: 400; text-transform: uppercase; letter-spacing: .1em; color: var(--olive); display: block; margin-bottom: 4px; }
.calc-hero strong { font-family: var(--font-head); font-size: clamp(34px, 3.4vw, 44px); font-weight: 600; color: var(--moss); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.calc-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.calc-tile { background: var(--white); border-radius: 12px; padding: 12px 14px; }
.calc-tile span { font-size: 13.5px; color: var(--muted); display: block; }
.calc-tile strong { font-family: var(--font-head); font-size: 17px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.calc-note { font-size: 13.5px; color: var(--muted); margin-top: 14px; text-align: center; }
.calc-hero-unit { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.calc-srcnote { font-size: 13.5px !important; color: rgba(246,239,243,.5) !important; max-width: 420px; margin-top: 30px !important; margin-bottom: 0 !important; line-height: 1.55; }

.zip-input {
  width: 100%; font-family: var(--font-head); font-weight: 600; font-size: 17px;
  letter-spacing: .06em; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--sage-deep); border-radius: 12px;
  padding: 11px 14px; outline: none; transition: border-color .18s, box-shadow .18s;
}
.zip-input:focus { border-color: var(--moss); box-shadow: 0 0 0 4px rgba(51,58,47,.1); }
.zip-input::placeholder { color: rgba(26,30,24,.3); font-weight: 500; letter-spacing: .02em; }
.zip-status { font-size: 13.5px; color: var(--muted); margin-top: 8px; min-height: 22px; }
.zip-chip {
  display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: 12px;
  background: var(--leaf-soft); color: var(--leaf);
  border-radius: var(--r-pill); padding: 3px 12px;
}

.ladder { margin: 18px 2px 4px; }
.ladder-track { height: 7px; border-radius: 4px; background: var(--sage-deep); overflow: hidden; }
.ladder-fill { height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--olive), var(--moss)); transition: width .7s cubic-bezier(.2,.6,.2,1); }
.ladder.is-on .ladder-fill { width: 60%; }
.ladder-marks { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin-top: 8px; gap: 8px; }
.ladder-marks b { color: var(--ink); font-family: var(--font-head); font-weight: 600; }

.calc-tiles.four { grid-template-columns: repeat(2, 1fr); margin-top: 12px; }
.calc-tiles.four .calc-tile strong { font-size: 16px; }
.calc-tile strong small, .calc-tile strong .tile-unit { font-size: 11px; font-weight: 500; color: var(--muted); }

.formulas-toggle {
  display: block; margin: 14px auto 0; background: none; border: 0; cursor: pointer;
  font-family: var(--font-head); font-size: 12.5px; font-weight: 600; color: var(--olive);
  text-decoration: underline; text-underline-offset: 3px;
}
.formulas-toggle:hover { color: var(--moss); }
.formulas { display: none; margin-top: 14px; border-top: 1px solid var(--sage-deep); padding-top: 12px; }
.formulas.open { display: block; }
.formulas dt { font-family: var(--font-head); font-size: 13.5px; font-weight: 600; color: var(--ink); margin-top: 10px; }
.formulas dd { font-size: 13.5px; color: var(--muted); margin: 2px 0 0; line-height: 1.5; }

/* ── Value calculator ─────────────────────────── */
.calc-panel.vcalc { display: block; padding-block: clamp(64px, 7vw, 110px); }
.vc-head { max-width: 700px; margin-bottom: clamp(44px, 5vw, 76px); }
.vc-head h2 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(35px, 4.2vw, 53px); line-height: 1.16; color: var(--moss); margin-bottom: 18px; }
.vc-head h2 em { color: var(--olive); font-weight: 400; letter-spacing: 0; }
.vc-head p:not(.eyebrow) { font-family: var(--font-serif); font-weight: 400; font-size: clamp(20px, 1.8vw, 25px); line-height: 1.36; letter-spacing: 0; color: var(--ink); max-width: 620px; text-wrap: pretty; }
.vc-head .eyebrow.light { color: var(--olive); }

.vc-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 5vw, 96px); align-items: stretch; }
.vc-inputs { display: flex; flex-direction: column; justify-content: space-between; }

.vc-field { padding-block: 0; margin-bottom: clamp(24px, 2.6vw, 34px); }
.vc-field-last { margin-bottom: 0; }
.vc-field > label {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  font-family: var(--font-serif); font-size: 21px; font-weight: 400; letter-spacing: 0; color: var(--ink); margin-bottom: 14px;
}
.vc-field output { font-family: var(--font-serif); font-weight: 500; font-size: 21px; color: var(--moss); font-variant-numeric: tabular-nums; white-space: nowrap; }

.vc-field-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.vc-field-row > label { margin-bottom: 0; }
.vc-stepper { display: flex; align-items: center; gap: 10px; }
.vc-step {
  width: 32px; height: 32px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--sage-deep); background: transparent; color: var(--moss);
  font-family: var(--font-head); font-size: 16px; font-weight: 500; line-height: 1;
  display: grid; place-items: center; transition: background .18s, border-color .18s;
}
.vc-step:hover { background: rgba(26,30,24,.055); border-color: var(--olive); }
.vc-stepnum {
  width: 46px; text-align: center; font-family: var(--font-serif); font-weight: 500; font-size: 22px;
  color: var(--moss); font-variant-numeric: tabular-nums;
  background: transparent; border: 0; border-bottom: 1px solid var(--sage-deep);
  padding: 4px 0; outline: none; transition: border-color .18s;
}
.vc-stepnum:focus { border-color: var(--moss); }

.vc-seg { display: flex; flex-wrap: wrap; gap: 8px; }
.vc-seg-btn {
  cursor: pointer; background: transparent; border: 1px solid var(--sage-deep); border-radius: var(--r-pill);
  padding: 8px 18px; font-family: var(--font-serif); font-size: 17px; font-weight: 400; color: var(--muted);
  transition: background .18s, color .18s, border-color .18s;
}
.vc-seg-btn:hover { border-color: var(--olive); color: var(--moss); }
.vc-seg-btn.is-on { background: var(--moss); border-color: var(--moss); color: var(--sage); }

.vc-results { display: flex; flex-direction: column; padding-left: clamp(0px, 3vw, 56px); border-left: 1px solid rgba(26,30,24,.12); }
.vc-view { display: flex; gap: 26px; margin-bottom: 34px; }
.vc-view-btn {
  cursor: pointer; background: none; border: 0; padding: 0 0 7px;
  font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .14em;
  color: var(--muted); border-bottom: 1px solid transparent; transition: color .18s, border-color .18s;
}
.vc-view-btn:hover { color: var(--moss); }
.vc-view-btn.is-on { color: var(--moss); border-bottom-color: var(--moss); }

.vc-res-eyebrow { font-family: var(--font-mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: .14em; color: var(--olive); }
.vc-res-hero {
  font-family: var(--font-head); font-weight: 600; letter-spacing: -.03em;
  font-size: clamp(44px, 6vw, 82px); line-height: 1.02; color: var(--moss);
  font-variant-numeric: tabular-nums; margin: 10px 0 0;
}

.vc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 6px clamp(16px, 2vw, 32px); margin: 34px 0 38px; }
.vc-stat { display: grid; grid-row: span 2; grid-template-rows: subgrid; }
.vc-stat span { display: block; font-family: var(--font-serif); font-size: 15.5px; line-height: 1.35; color: var(--muted); }
.vc-stat strong { font-family: var(--font-serif); font-size: 25px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }

.vc-stack { display: flex; gap: 3px; height: 12px; margin-top: 4px; }
.vc-stack i { display: block; width: 0; border-radius: 2px; transition: width .55s cubic-bezier(.2,.6,.2,1); }
.vc-stack i[data-pool="inside"] { background: var(--moss); }
.vc-stack i[data-pool="fuel"] { background: var(--olive); }
.vc-stack i[data-pool="tech"] { background: #7d886f; }
.vc-stack i[data-pool="addl"] { background: var(--sage-deep); }

.vc-keys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px clamp(20px, 2.5vw, 40px); margin-top: 20px; }
.vc-key { display: grid; grid-template-columns: 8px 1fr; column-gap: 9px; row-gap: 5px; align-items: center; }
.vc-key-name { font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.vc-key b { grid-column: 2; font-family: var(--font-serif); font-size: 19px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.vc-dot { width: 8px; height: 8px; border-radius: 2px; flex: 0 0 auto; }
.vc-key[data-pool="inside"] .vc-dot { background: var(--moss); }
.vc-key[data-pool="fuel"] .vc-dot { background: var(--olive); }
.vc-key[data-pool="tech"] .vc-dot { background: #7d886f; }
.vc-key[data-pool="addl"] .vc-dot { background: var(--sage-deep); }

.vc-notes { list-style: none; margin: auto 0 0; padding: 26px 0 0; display: grid; gap: 8px; max-width: 500px; }
.vc-notes li { position: relative; padding-left: 15px; font-family: var(--font-serif); font-size: 15px; line-height: 1.45; color: var(--muted); text-wrap: pretty; }
.vc-notes li::before { content: "·"; position: absolute; left: 2px; top: -1px; color: var(--olive); font-size: 19px; line-height: 1.2; }

.vc-foot { margin-top: clamp(56px, 6vw, 92px); padding-top: clamp(44px, 5vw, 68px); border-top: 1px solid rgba(26,30,24,.12); text-align: center; }
.vc-foot h3 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.16; letter-spacing: -.005em; color: var(--moss); margin-bottom: 18px; }
.vc-foot h3 em { color: var(--olive); font-weight: 400; letter-spacing: 0; }
.vc-foot p { font-family: var(--font-serif); font-weight: 400; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.42; color: var(--ink); max-width: 660px; margin: 0 auto 12px; text-wrap: pretty; }
.vc-foot .vc-foot-lede { font-family: var(--font-body); font-weight: 350; font-size: 19px; line-height: 1.58; letter-spacing: -.002em; color: rgba(26,30,24,.67); max-width: 640px; }
.vc-form { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.vc-email {
  width: 300px; font-family: var(--font-head); font-size: 16px; font-weight: 400; color: var(--ink);
  background: rgba(255,255,255,.6); border: 1px solid var(--sage-deep); border-radius: var(--r-pill);
  padding: 15px 22px; outline: none; transition: border-color .18s, box-shadow .18s, background .18s;
}
.vc-email::placeholder { color: rgba(26,30,24,.4); }
.vc-email:focus { background: var(--white); border-color: var(--moss); box-shadow: 0 0 0 4px rgba(51,58,47,.1); }
.vc-form.is-sent .vc-email { display: none; }

@media (max-width: 900px) {
  .vc-grid { grid-template-columns: 1fr; gap: 44px; }
  .vc-results { padding-left: 0; border-left: 0; border-top: 1px solid rgba(26,30,24,.12); padding-top: 36px; }
}

/* ── Security ─────────────────────────────────── */
.security { padding: clamp(90px, 10vw, 150px) 0; background: var(--blush); }
.security .eyebrow { text-align: center; }
.security .section-title { max-width: 760px; margin-inline: auto; text-align: center; }
.security .section-sub { text-align: center; margin-inline: auto; }
.sec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 52px; }
.sec-card { background: var(--white); border-radius: var(--r-card); padding: 30px 26px 34px; transition: transform .22s ease; }
.sec-card:hover { transform: translateY(-4px); }
.sec-icon { width: 44px; height: 44px; border-radius: 13px; background: var(--moss); color: var(--sage); display: grid; place-items: center; margin-bottom: 22px; }
.sec-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sec-card h3 { font-family: var(--font-serif); font-size: 23px; font-weight: 400; margin-bottom: 10px; }
.sec-card p { font-size: 17px; color: var(--muted); }

/* ── About / closing ──────────────────────────── */
.about { padding: clamp(90px, 10vw, 160px) 0 0; background: var(--blush); }
.about .eyebrow { text-align: center; }
.about-lede { font-family: var(--font-serif); font-size: clamp(24px, 3vw, 36px); font-weight: 400; line-height: 1.4; text-align: center; letter-spacing: -.005em; }
.about-lede em { color: var(--olive); }
.closing {
  position: relative; overflow: hidden; text-align: center;
  margin-top: 0; padding: clamp(110px, 12vw, 190px) 24px clamp(120px, 13vw, 200px);
  background:
    radial-gradient(100% 80% at 50% 110%, rgba(76,86,70,.55) 0%, rgba(51,58,47,0) 60%),
    var(--moss);
  color: var(--blush);
}
.closing-rings { position: absolute; left: 50%; top: 50%; width: 1000px; height: 1000px; transform: translate(-50%, -50%); color: rgba(235,237,223,.1); animation: ringDrift 80s linear infinite; }
.closing h2 { position: relative; font-family: var(--font-serif); font-weight: 400; font-size: clamp(40px, 6.2vw, 76px); color: var(--white); margin-bottom: 40px; }
.closing h2 em { color: var(--sage); font-weight: 400; }
.closing .btn { position: relative; }

/* ── Footer ───────────────────────────────────── */
.footer { background: var(--ink); color: var(--muted-light); padding: 70px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(246,239,243,.1); }
.footer-brand img { height: 28px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 15px; max-width: 280px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-col span { font-family: var(--font-head); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--sage); margin-bottom: 6px; }
.footer-col a:hover { color: var(--white); }
.footer-disabled { color: inherit; opacity: .55; cursor: default; }
.footer-base { display: flex; justify-content: space-between; padding-top: 28px; font-size: 13.5px; }

/* ── Responsive ───────────────────────────────── */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card.s-8, .card.s-4, .card.s-12 { grid-column: span 2; }
  .card { min-height: auto; padding-bottom: 0; }
  .cat-cards { grid-template-columns: repeat(3, 1fr); }
  .sync-wrap { grid-template-columns: 130px 1fr 110px minmax(170px, 210px); gap: 12px; }
  .calc-panel { grid-template-columns: 1fr; gap: 40px; }
  .sec-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { gap: 12px; padding: 10px 12px 10px 18px; }
  .nav-logo { margin-right: 0; }
  .nav-logo img { height: 23px; }
  .nav-links, .nav-actions { display: none; }
  .nav-burger { display: block; margin-left: auto; }
  .nav-mobile {
    display: none; flex-direction: column; gap: 4px;
    margin-top: 8px; padding: 18px;
    background: rgba(245,246,236,.97); backdrop-filter: blur(16px);
    border-radius: 22px; border: 1px solid var(--line);
    box-shadow: var(--shadow-float);
  }
  .nav-mobile a { padding: 10px 6px; font-family: var(--font-head); font-weight: 500; color: var(--ink); }
  .nav-mobile .btn-moss { justify-content: center; margin-top: 8px; color: var(--blush); }
  body.menu-open .nav-mobile { display: flex; }
  body.menu-open .nav-burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
  body.menu-open .nav-burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

  .hero { margin-top: -76px; }
  .hero-inner { padding: clamp(112px, 16vh, 156px) 0 clamp(36px, 6vh, 56px); min-height: max(560px, calc(100svh - var(--topbar-h, 46px))); }
  .hero-stats { flex-direction: column; gap: 18px; }
  .hstat::before { display: none; }
  .steps { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .card.s-8, .card.s-4, .card.s-12 { grid-column: span 1; }
  .sync-wrap { grid-template-columns: 1fr; }
  .sync-beams { display: none; }
  .sync-core { margin-left: 0; }
  .sync-sources { flex-direction: row; flex-wrap: wrap; }
  .cat-cards { grid-template-columns: 1fr 1fr; }
  .cat-card { min-height: auto; }
  .cat-card ul { margin-top: 16px; }
  .cmp-row { grid-template-columns: 1.6fr 1fr 1fr; }
  .cmp-row > span:last-child { display: none; }
  .sec-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-base { flex-direction: column; gap: 6px; }
}

@media (max-width: 820px) {
  .pb-wrap, .mp-wrap, .pr-wrap { grid-template-columns: 1fr; justify-items: center; }
  .pb-right, .mp-left, .pr-right { width: 100%; max-width: 420px; }
  .stk-wrap { flex-direction: column; align-items: center; gap: 18px; }
  .laptop { max-width: 420px; width: 100%; }
  .mail-card { flex: 0 0 auto; width: 100%; max-width: 420px; }
  .mail-cursor { display: none; }
  .lp-body { min-height: 0; }
  .pb-chips { display: none; }
  .mp-map { width: 100%; height: 340px; }
}

@media (max-width: 480px) {
  .mini-panel { padding: 14px; }
  .leak-wrap { flex-direction: column; align-items: flex-start; }
  .leak-legend { width: 100%; }
  .pb-row { grid-template-columns: 1fr auto; }
  .pb-row .pb-chip { grid-column: 2; grid-row: 1 / span 2; }
  .pb-cost { grid-column: 1; }
}

/* ── Reduced motion ───────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .st { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-rings, .closing-rings, .sync-core svg { animation: none !important; }
  .ticker-track { animation: none !important; }
  .typing { display: none !important; }
  .pb-scanline { display: none; }
  .pb-msg.photo .pb-invoice, .pb-msg.photo .pb-invoice::after { animation: none !important; }
  .pb-scan-ok, .pb-tapback { transform: scale(1) !important; transition: none !important; }
  .stage-pricebook .pb-row { animation: none !important; }
  .wf-tab.active::before, .wf-tab.active::after { clip-path: inset(0 0 0 0 round 13px) !important; animation: none !important; }
  .agp-burst, .dotspin { animation: none !important; }
  .skl::after { animation: none !important; }
  .stage-pricebook .pb-paper-wrap { animation: none !important; }
  .apt { transition: none !important; }
  .chip { transform: none !important; }
  .stk-scanline { display: none; }
  .stk-chip, .stk-stamp { transform: none !important; transition: none !important; }
  .stage-stockout .mail-ico, .lp-live em { animation: none !important; }
  .mail-cursor.is-on { animation: none !important; opacity: 1; }
  .chaos-lines path { animation: none !important; }
  .m-vring { animation: none !important; }
  .mp-caret { animation: none !important; opacity: 0; }
  .mp-radar::before, .mp-radar::after { animation: none !important; }
  .mp-pin { transform: translate(-50%, -96%) !important; transition: none !important; }
  .stage-margin .mp-bubble { animation: none !important; }
  .beam { stroke-dashoffset: 0 !important; transition: none !important; }
  .sync-core.is-on::before { animation: none; opacity: 0; }
  .seg-a { stroke-dasharray: 50 100 !important; }
  .seg-b { stroke-dasharray: 28 100 !important; }
  .seg-c { stroke-dasharray: 14 100 !important; }
  .po-stamp { transform: rotate(-8deg) !important; }
}

/* ── Workflows: Vori-style tabbed layout ─────── */
.wf-tabs {
  display: flex; gap: 4px;
  background: rgba(26,30,24,.055); border-radius: 18px; padding: 5px;
  margin-bottom: 16px;
}
.wf-tab {
  position: relative; flex: 1; border: 0; background: none; cursor: pointer;
  font-family: var(--font-head); font-size: 17px; font-weight: 500;
  color: var(--muted); padding: 13px 10px; border-radius: 13px;
  transition: color .25s, background .3s, box-shadow .3s;
  white-space: nowrap;
}
/* active tab fills with moss as the animation plays (Vori-style block fill) */
.wf-tab.active::before {
  content: ""; position: absolute; inset: 0; border-radius: 13px;
  background: var(--moss);
  clip-path: inset(0 100% 0 0 round 13px);
}
.wf-tab.active::after {
  content: attr(data-label);
  position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--sage); border-radius: 13px;
  clip-path: inset(0 100% 0 0 round 13px);
}
.wf-tab.active.prog::before,
.wf-tab.active.prog::after { animation: tabFill var(--wf-dur, 9s) linear forwards; }
@keyframes tabFill { to { clip-path: inset(0 0 0 0 round 13px); } }
.wf-tab:hover { color: var(--ink); }
.wf-tab.active {
  background: var(--sage); color: var(--moss); font-weight: 600;
  box-shadow: 0 8px 20px -12px rgba(26,30,24,.35);
}
.wf-panel {
  background: var(--white); overflow: hidden;
  margin-inline: calc(-1 * var(--gutter));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.wf-pane { display: none; grid-template-columns: 1fr 1.18fr; min-height: clamp(620px, 54vw, 900px); }
.wf-pane.active { display: grid; animation: paneIn .55s cubic-bezier(.2,.7,.3,1); }
@keyframes paneIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.wf-copy { padding: clamp(48px, 5vw, 90px) clamp(32px, 3.5vw, 64px) clamp(40px, 4vw, 70px) var(--gutter); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.wf-copy h3 { font-family: var(--font-serif); font-size: clamp(30px, 3.2vw, 44px); font-weight: 400; letter-spacing: -.005em; line-height: 1.1; margin-bottom: 18px; }
.wf-copy p { color: var(--muted); font-size: 17px; max-width: 430px; }
.wf-cta { display: inline-flex; align-items: center; gap: 11px; margin-top: 34px; font-family: var(--font-head); font-size: 16px; font-weight: 600; color: var(--ink); }
.wf-cta i {
  width: 34px; height: 34px; border-radius: 10px; flex: 0 0 auto;
  background: var(--moss); color: var(--sage);
  display: grid; place-items: center; font-style: normal; font-size: 16px;
  transition: transform .25s cubic-bezier(.3,1.3,.4,1);
}
.wf-cta:hover i { transform: translateX(4px); }
.wf-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 46px; }
.wf-tags span {
  font-family: var(--font-mono); font-size: 12.5px;
  background: rgba(26,30,24,.055); border-radius: 8px; padding: 8px 13px;
  color: var(--olive);
}
.wf-visual {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, #e8ecd9 0%, #f1f2e6 60%, #eef0e2 100%);
  padding: 36px 30px; display: grid; place-items: center;
}
.wf-visual .card-stage { margin: 0; padding: 0; width: 100%; }
.wf-zoom > .card-stage { width: auto; transform: scale(1.14); }
.wf-zoom .mini-panel { width: 340px; }
.wf-zoom .leak-wrap { width: 360px; }
.wf-visual .stage-pricebook .pb-wrap { justify-items: stretch; }
#pane-pricebook.wf-pane { grid-template-columns: .82fr 1.5fr; }
#pane-pricebook .wf-visual { padding: 30px 24px; }
#pane-pricebook .wf-copy { padding-right: 34px; }
#pane-pricebook .pb-wrap { gap: 26px; width: 100%; }
.ag-flags { margin-left: 16px; }
.ag-flags .pb-row { grid-template-columns: 1fr auto; row-gap: 2px; }
.ag-flags .pb-chip { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.ag-flags .pb-cost { grid-column: 1; }

@media (max-width: 980px) {
  .wf-tabs { overflow-x: auto; scrollbar-width: none; }
  .wf-tab { flex: 0 0 auto; padding: 11px 18px; }
  .wf-pane { grid-template-columns: 1fr; min-height: auto; }
  .wf-copy { padding: 40px var(--gutter) 34px; }
  .wf-visual { padding: 30px 20px; min-height: 420px; }
  .wf-zoom > .card-stage { transform: none; }
}

/* ═══ Hero film — light treatment ═══════════════════════════════
   The clip sits under a cream wash rather than the old moss grade, so the
   hero keeps the light feel and the headline stays moss-on-light. The wash is
   heaviest at the left, where the copy sits, and opens up to the right. */
.hero-film { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--blush); isolation: isolate; }
.hero-inner { z-index: 1; }
.film-vid {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.96) brightness(1.02) contrast(.98);
}
.film-wash {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(245,246,236,.56) 0%, rgba(245,246,236,.4) 26%, rgba(245,246,236,.15) 55%, rgba(245,246,236,.02) 100%),
    linear-gradient(180deg, rgba(245,246,236,.4) 0%, rgba(245,246,236,0) 22%),
    linear-gradient(0deg, rgba(245,246,236,.7) 0%, rgba(245,246,236,.6) 15%, rgba(245,246,236,.28) 26%, rgba(245,246,236,0) 37%),
    linear-gradient(rgba(235,237,223,.07), rgba(235,237,223,.07));
}
.film-grain {
  position: absolute; inset: -60px; pointer-events: none; opacity: .05; mix-blend-mode: multiply;
  background-image: url("../assets/grain.svg");
  animation: grainJump .9s steps(1, end) infinite;
}
@keyframes grainJump { 0%,100% { background-position: 0 0; } 20% { background-position: -70px 40px; } 40% { background-position: 45px -65px; } 60% { background-position: -35px -25px; } 80% { background-position: 60px 25px; } }

.film-toggle {
  position: absolute; z-index: 3; right: 26px; bottom: 24px; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(26,30,24,.16); background: rgba(255,255,255,.6);
  backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s;
}
.film-toggle:hover { background: var(--white); border-color: var(--olive); }
.ft-pause { width: 11px; height: 13px; border-left: 3.5px solid var(--moss); border-right: 3.5px solid var(--moss); }
.ft-play { display: none; width: 0; height: 0; border-left: 11px solid var(--moss); border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.hero.film-paused .ft-pause { display: none; }
.hero.film-paused .ft-play { display: block; }
.hero.film-paused .film-grain { animation-play-state: paused !important; }

.hero .hero-inner { min-height: max(620px, calc(100svh - var(--topbar-h, 46px))); }

/* Copy over moving footage: raise contrast off the site-wide muted token so
   the hero holds AA on every frame of the clip. */
.hero .hero-sub { color: rgba(26,30,24,.9); }
.hero .hstat span { color: var(--moss); font-weight: 500; }

@media (max-width: 860px) {
  .film-toggle { right: 16px; bottom: 16px; width: 36px; height: 36px; }
  .film-wash { background:
    linear-gradient(180deg, rgba(245,246,236,.9) 0%, rgba(245,246,236,.72) 55%, rgba(245,246,236,.86) 100%),
    linear-gradient(rgba(235,237,223,.3), rgba(235,237,223,.3)); }
}
@media (prefers-reduced-motion: reduce) {
  .film-grain { animation: none !important; }
  .film-toggle { display: none; }
  /* Reduced motion gets the finished readout, not the build. */
  .lm-line { animation: none !important; stroke-dashoffset: 0; }
  .lm-pt { animation: none !important; transform: translate(-50%, -50%) scale(1); opacity: 1; }
  .lm-pt-now::after { animation: none !important; }
  .ticker-pause { display: none; }
}

/* ═══ Restored blocks (Meet · security 3-up · works-with · pricing · standard masonry) ═══ */
.meet-section { padding: clamp(90px, 10vw, 150px) 0 40px; background: var(--blush); text-align: center; }
.meet-title { max-width: none; margin-bottom: 26px; }
.meet-lede { font-family: var(--font-serif); font-size: clamp(22px, 2.6vw, 32px); line-height: 1.35; margin-bottom: 18px; }
.meet-body { font-size: 19px; color: var(--muted); max-width: 720px; margin: 0 auto; }
.bento-heading { text-align: center; max-width: none; }

.sec-grid.three { grid-template-columns: repeat(3, 1fr); }
.sec-card p em { font-family: var(--font-body); font-style: italic; font-size: 15px; color: var(--muted); display: block; margin-top: 6px; }

.about .works-title { max-width: none; text-align: center; }
.works-logos { display: flex; justify-content: center; align-items: center; gap: 54px; margin: 44px 0 90px; flex-wrap: wrap; }
.wlogo { color: rgba(26,30,24,.5); user-select: none; }
.wl-gil { font-family: var(--font-head); font-size: 34px; font-weight: 800; font-style: italic; letter-spacing: -.02em; }
.wl-vf { font-family: var(--font-head); font-size: 27px; font-weight: 700; letter-spacing: .16em; }

/* ── Hire Octane ──────────────────────────────── */
.hire-panel {
  background: var(--sage);
  margin-inline: calc(-1 * var(--gutter));
  padding: clamp(56px, 6.5vw, 110px) var(--gutter) clamp(40px, 4vw, 64px);
  margin-bottom: 40px;
  display: grid; grid-template-columns: minmax(300px, .82fr) 1.18fr;
  column-gap: clamp(40px, 6vw, 130px); row-gap: clamp(48px, 5vw, 84px);
  align-items: start;
}
.hire-title {
  font-family: var(--font-serif); font-weight: 400; letter-spacing: -.005em;
  font-size: clamp(40px, 4.8vw, 68px); line-height: 1.06;
  margin: 12px 0 clamp(30px, 3.2vw, 46px);
}
.hire-pay { display: flex; flex-direction: column; gap: 8px; margin-bottom: clamp(26px, 2.6vw, 36px); }
.hire-rate { font-family: var(--font-serif); font-size: clamp(58px, 6.4vw, 92px); line-height: 1; color: var(--ink); }
.hire-rate small { font-family: var(--font-body); font-size: 21px; font-weight: 400; color: var(--muted); margin-left: 5px; }
.hire-note { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hire-excl {
  align-self: start; display: inline-flex; align-items: center; gap: 9px;
  margin-top: 6px; padding: 7px 15px 7px 13px; border-radius: var(--r-pill);
  border: 1px solid var(--sage-deep); background: rgba(255,255,255,.5);
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .11em;
  text-transform: uppercase; color: var(--olive);
}
.hire-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hire-terms {
  grid-column: 1 / -1; list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 56px);
  padding-top: clamp(26px, 2.6vw, 38px); border-top: 1px solid rgba(26,30,24,.14);
}
.hire-terms li {
  display: flex; align-items: center; gap: 12px;
  font-size: 17px; font-weight: 380; color: var(--ink); text-wrap: pretty;
}
.hire-terms svg { width: 21px; height: 21px; flex: none; color: var(--olive); }

.hire-jd-head {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--olive);
  padding-bottom: 14px; border-bottom: 1px solid rgba(26,30,24,.16);
}
.hire-duties { list-style: none; margin: 0; padding: 0; }
.hire-duties li {
  display: grid; grid-template-columns: 42px 1fr; align-items: baseline;
  padding: 15px 0; border-bottom: 1px solid rgba(26,30,24,.08);
  font-size: 17px; font-weight: 380; color: var(--ink); text-wrap: pretty;
  transition: color .18s cubic-bezier(.2,.6,.2,1);
}
.hire-duties li svg {
  width: 18px; height: 18px; align-self: center;
  fill: none; stroke: var(--leaf); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

.hire-panel { padding-bottom: clamp(56px, 6.5vw, 110px); }
.on-duty {
  width: 7px; height: 7px; border-radius: 50%; background: var(--leaf);
  box-shadow: 0 0 0 0 rgba(74,107,79,.5); animation: onDuty 2.4s cubic-bezier(.2,.6,.2,1) infinite;
}
@keyframes onDuty {
  0%   { box-shadow: 0 0 0 0 rgba(74,107,79,.45); }
  70%  { box-shadow: 0 0 0 8px rgba(74,107,79,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,107,79,0); }
}
@media (prefers-reduced-motion: reduce) { .on-duty { animation: none; } }

.standard { padding: clamp(84px, 9vw, 140px) 0 clamp(80px, 8vw, 130px); background: var(--blush); }
.std-head { max-width: 900px; margin: 0 auto clamp(48px, 5vw, 80px); text-align: center; }
.std-title { max-width: none; margin-bottom: 14px; }
.std-sub { color: var(--muted); }

.std-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.std-metric {
  padding: clamp(34px, 3.4vw, 52px) clamp(24px, 2.6vw, 44px);
  display: flex; flex-direction: column; gap: 12px;
}
.std-metric + .std-metric { border-left: 1px solid var(--line); }
.std-metric:first-child { padding-left: 0; }
.std-metric b {
  font-family: var(--font-serif); font-size: clamp(40px, 4.6vw, 64px);
  font-weight: 400; letter-spacing: 0; line-height: 1; color: var(--moss);
}
.std-metric span {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}

.std-stories { display: grid; grid-template-columns: repeat(3, 1fr); }
.std-story {
  margin: 0; padding: clamp(38px, 3.8vw, 60px) clamp(24px, 2.6vw, 44px) 0;
  display: flex; flex-direction: column;
}
.std-story + .std-story { border-left: 1px solid var(--line); }
.std-story:first-child { padding-left: 0; }
.std-story blockquote {
  margin: 0 0 clamp(28px, 3vw, 44px);
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(21px, 1.9vw, 26px); line-height: 1.36;
  letter-spacing: 0; color: var(--ink); text-wrap: pretty;
}
.std-story figcaption { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.std-face {
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover;
  object-position: center 18%; flex: 0 0 auto;
  filter: grayscale(1) contrast(1.03) brightness(.97);
}
.std-who { display: flex; flex-direction: column; gap: 3px; }
.std-who b { font-size: 15px; font-weight: 500; color: var(--ink); }
.std-who em {
  font-family: var(--font-mono); font-style: normal; font-size: 12.5px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}

@media (max-width: 900px) {
  .sec-grid.three { grid-template-columns: 1fr; }
  .hire-panel { grid-template-columns: 1fr; padding: 56px var(--gutter); row-gap: 40px; }
  .hire-terms { grid-template-columns: 1fr; gap: 16px; }
  .works-logos { gap: 30px; margin: 30px 0 60px; }
  .wl-gil { font-size: 27px; } .wl-vf { font-size: 21px; }
  .std-metrics, .std-stories { grid-template-columns: 1fr; }
  .std-metric, .std-story { padding-left: 0; padding-right: 0; }
  .std-metric + .std-metric, .std-story + .std-story { border-left: none; border-top: 1px solid var(--line); }
  .std-metric + .std-metric { padding-top: clamp(28px, 4vw, 40px); }
  .std-story + .std-story { padding-top: clamp(34px, 4.5vw, 48px); }
  .std-story { padding-bottom: clamp(34px, 4.5vw, 48px); }
}

/* ═══ Workflow tab bar + pause control (2026-07-31) ═══ */
.wf-tabbar { display: flex; gap: 8px; align-items: stretch; margin-bottom: 16px; }
.wf-tabbar .wf-tabs { flex: 1; margin-bottom: 0; }
.wf-pause {
  flex: 0 0 auto; width: 54px; border: 0; cursor: pointer;
  background: rgba(26,30,24,.055); border-radius: 18px; color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s, color .25s;
}
.wf-pause:hover { background: rgba(26,30,24,.11); color: var(--ink); }
.wf-pause svg { width: 15px; height: 15px; display: block; }
.wf-pause .wp-play { display: none; }
.wf-pause.paused .wp-pause { display: none; }
.wf-pause.paused .wp-play { display: block; }
/* frozen: halt every CSS keyframe inside the panel + the moss tab fill */
.wf-panel.wf-frozen *, .wf-panel.wf-frozen *::before, .wf-panel.wf-frozen *::after { animation-play-state: paused !important; }
.wf-tab.fill-paused::before, .wf-tab.fill-paused::after { animation-play-state: paused !important; }
@media (max-width: 900px) { .wf-pause { width: 46px; border-radius: 14px; } }

/* ═══ Typography system — one voice across the page ═══════════════════
   Display — EB Garamond, weight 400, neutral tracking.
   Subtext — Geist at weight 350 with open leading, set to the
   airy, uncluttered rhythm of the reference specimen.
   Loaded last so it wins over the per-section tracking that had drifted.
   ══════════════════════════════════════════════════════════ */
.hero h1,
.section-head h2,
.promo-head h2,
.bento-heading,
.section-title,
.compare-title,
.calc-copy h2,
.closing h2,
.wf-copy h3,
.step-card h3,
.cat-card h3,
.sec-card h3,
.hire-title,
.hire-rate,
.meet-lede,
.about-lede {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: 0;
  font-optical-sizing: auto;
}

/* Leading by scale: display → tight, section → open, lede → readable. */
.hero h1,
.closing h2,
.hire-rate { line-height: 1.08; }

.section-head h2,
.promo-head h2,
.bento-heading,
.section-title,
.compare-title,
.calc-copy h2,
.wf-copy h3,
.hire-title { line-height: 1.16; }

.step-card h3,
.cat-card h3,
.sec-card h3 { line-height: 1.2; }

.meet-lede,
.about-lede { line-height: 1.34; }

/* EB Garamond runs small on the body — nudge display sizes to hold the same
   optical presence the previous face had. */
.hero h1 { font-size: clamp(54px, 8.2vw, 104px); }
.closing h2 { font-size: clamp(44px, 6.8vw, 84px); }
.section-head h2,
.promo-head h2,
.bento-heading,
.section-title { font-size: clamp(36px, 4.7vw, 58px); }
.calc-copy h2 { font-size: clamp(35px, 4.2vw, 53px); }
.wf-copy h3 { font-size: clamp(33px, 3.5vw, 48px); }
.compare-title { font-size: clamp(29px, 3.5vw, 42px); }
.hire-title { font-size: clamp(42px, 5vw, 70px); }
.meet-lede { font-size: clamp(24px, 2.9vw, 35px); }
.step-card h3 { font-size: 33px; }
.cat-card h3 { font-size: 26px; }
.sec-card h3 { font-size: 25px; }

/* ── Subtext ──────────────────────────────────────────────────
   The lines that sit under a heading. Lighter weight, open leading and a
   touch of positive tracking — the reference reads airy because it is set
   light and loose, not because of the family. */
.hero-sub,
.section-sub,
.std-sub,
.meet-body,
.wf-copy p,
.calc-copy p:not(.eyebrow),
.card-desc,
.step-card p,
.sec-card p,
.compare-sub {
  font-family: var(--font-body);
  font-weight: 350;
  line-height: 1.62;
  letter-spacing: -.002em;
  text-wrap: pretty;
}
.hero-sub { font-family: var(--font-serif); font-weight: 400; font-size: clamp(21px, 2vw, 27px); line-height: 1.36; letter-spacing: 0; }
.hero-sub strong { font-weight: 500; color: var(--ink); }
/* Lede — the line directly under a page-level heading. */
.hero-sub,
.section-sub,
.std-sub,
.meet-body { line-height: 1.58; }
.section-sub,
.std-sub,
.meet-body { font-size: 19px; }
/* Sub-text — every supporting paragraph, one bracket. */
.wf-copy p,
.calc-copy p:not(.eyebrow),
.card-desc,
.step-card p,
.sec-card p,
.compare-sub { font-size: 17px; }

/* Italic accents inherit the same face and weight everywhere. */
.hero h1 em,
.section-head h2 em,
.promo-head h2 em,
.bento-heading em,
.section-title em,
.compare-title em,
.calc-copy h2 em,
.closing h2 em,
.wf-copy h3 em { font-weight: 400; letter-spacing: 0; }

/* lone Approve chip card (You avatar removed) */
.mg-youline { justify-content: center; }

/* ═══ Workflows — quiet, minimal pass ══════════════════════════════════
   Hairlines instead of trays and cards: text tabs on a rule, a single
   vertical rule between copy and visual, flat fields, tags as plain
   mono metadata. Nothing here changes the animations.
   ══════════════════════════════════════════════════════════ */
.bento-heading { margin-bottom: clamp(40px, 4.4vw, 72px); }

.wf-tabbar {
  gap: clamp(16px, 2vw, 32px); align-items: flex-end;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
}
.wf-tabs {
  background: none; border-radius: 0; padding: 0; margin-bottom: 0;
  gap: clamp(20px, 2.8vw, 46px);
}
.wf-tab {
  flex: 0 0 auto; border-radius: 0; padding: 0 0 18px;
  font-size: 17px; font-weight: 400;
}
.wf-tab.active { background: none; box-shadow: none; color: var(--moss); font-weight: 500; }
.wf-tab.active::after { display: none; }
.wf-tab.active::before {
  inset: auto 0 -1px 0; height: 1.5px; border-radius: 0;
  background: var(--moss); clip-path: none;
}
.wf-tab.active.prog::before { animation: tabUnderline var(--wf-dur, 9s) linear forwards; }
@keyframes tabUnderline { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }

.wf-pause {
  width: 34px; height: 34px; align-self: center; margin-bottom: 12px;
  background: none; border: 1px solid var(--line); border-radius: 50%;
}
.wf-pause:hover { background: rgba(26,30,24,.05); }
.wf-pause svg { width: 12px; height: 12px; }

.wf-panel { background: none; border-top: none; border-bottom: 1px solid var(--line); }
.wf-copy { border-right: 1px solid var(--line); }
.wf-visual { background: none; }

.wf-tags { gap: 0; padding-top: clamp(40px, 4vw, 64px); }
.wf-tags span {
  background: none; border-radius: 0; padding: 0;
  font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
}
.wf-tags span:not(:last-child)::after { content: "·"; padding-inline: 11px; letter-spacing: 0; }

@media (max-width: 980px) {
  .wf-copy { border-right: none; border-bottom: 1px solid var(--line); }
  .wf-pause { margin-bottom: 8px; }
}


/* ── Nav: disabled item & current page ─────────── */
.nav-links .nav-off {
  font-family: var(--font-body); font-size: 16.5px; font-weight: 450;
  color: var(--ink); opacity: .34; cursor: default; user-select: none;
}
.nav-links a.is-here { opacity: 1; font-weight: 500; }
.nav-links a.is-here::after {
  content: ""; display: block; height: 1px; margin-top: 3px;
  background: var(--olive); opacity: .55;
}
.nav-mobile .nav-off {
  padding: 10px 6px; font-family: var(--font-head); font-weight: 500;
  color: var(--ink); opacity: .34; cursor: default;
}


/* ═══════════════ Systems ═══════════════════════ */
.systems { padding: clamp(84px, 9vw, 130px) 0 clamp(76px, 8vw, 120px); background: var(--blush); }

.sys-head { text-align: center; max-width: 900px; margin: 0 auto clamp(52px, 6vw, 88px); }
.sys-head h2 {
  font-family: var(--font-serif); font-weight: 400; font-size: clamp(32px, 4.2vw, 52px);
  letter-spacing: -.005em; line-height: 1.14; color: var(--moss);
}
.sys-head h2 em { color: var(--olive); }
.sys-head p { color: var(--muted); font-size: 18.5px; max-width: 660px; margin: 18px auto 0; }

/* Six equal cells on a hairline grid — rules only, no cards */
.sys-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr;
  border-top: 1px solid var(--line);
}
.sys-cell {
  position: relative; min-height: 290px;
  padding: clamp(32px, 3vw, 44px) clamp(28px, 2.8vw, 44px) clamp(34px, 3.2vw, 46px);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.sys-cell:nth-child(3n+1) { padding-left: 0; }
.sys-cell:nth-child(3n) { border-right: 0; padding-right: 0; }
.sys-cell:nth-child(-n+3) { border-bottom: 1px solid var(--line); }

.sys-cell h3 {
  font-family: var(--font-serif); font-weight: 400; font-size: clamp(27px, 2.7vw, 36px);
  letter-spacing: -.005em; line-height: 1.14; color: var(--moss);
}
.sys-desc { color: var(--muted); font-size: 16.5px; margin-top: 16px; max-width: 30ch; }

.sys-list { list-style: none; margin-top: 26px; display: flex; flex-direction: column; gap: 9px; }
.sys-list li {
  font-family: var(--font-head); font-weight: 600; font-size: 17px;
  letter-spacing: -.01em; color: var(--ink);
}
.sys-list-plain li {
  font-weight: 380; font-size: 16.5px; color: var(--muted);
  display: flex; align-items: flex-start; gap: 11px;
}
.sys-bullet-icon { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; color: var(--olive); }

/* Security cell — subtext with the audit seal alongside */
.sys-secrow { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-top: 16px; }
.sys-secrow .sys-desc { margin-top: 0; max-width: 26ch; }
.sys-badge { flex: 0 0 auto; width: 68px; height: 68px; margin-right: 72px; color: var(--moss); }
.sys-badge svg { width: 100%; height: 100%; display: block; }

/* Partner marks — normalized to one moss tone, optically matched heights */
.sys-logos { gap: 18px; margin-top: 24px; }
.sys-logos li { display: flex; align-items: center; min-height: 30px; }
.sys-logos img { width: auto; display: block; opacity: .9; }
.l-gilbarco { height: 30px; }
.l-verifone { height: 24px; }
.l-clover { height: 26px; }
.l-modisoft { height: 21px; }
.l-pdi { height: 34px; }
.l-quickbooks { height: 24px; }
.l-altria { height: 24px; }
.l-nvidia { height: 21px; }
.l-elevenlabs { height: 19px; }
.l-vanta { height: 29px; }
.sys-list-pairs {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px clamp(18px, 2vw, 32px);
}
.sys-list-pairs li { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.sys-list-pairs .l-nvidia { height: 19px; }
.sys-list-pairs .l-gilbarco { height: 24px; }
.sys-list-pairs .l-elevenlabs { height: 17px; }
.sys-list-pairs .l-vanta { height: 24px; }
.sys-list-pairs span {
  font-family: var(--font-mono); font-weight: 400; font-size: 11.5px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--olive);
}

/* Sixth cell — the filled one */
.sys-cell.sys-cell-fill {
  background: var(--sage); overflow: hidden;
  padding: clamp(38px, 3.6vw, 54px) clamp(32px, 3vw, 48px) clamp(40px, 3.6vw, 54px);
  border-right: 0;
}
.sys-cell-fill .sys-rings {
  position: absolute; right: -80px; bottom: -150px; width: 380px; height: 380px;
  color: rgba(51,58,47,.12); pointer-events: none;
  animation: ringDrift 80s linear infinite;
}
.sys-cell-fill .sys-rings svg { width: 100%; height: 100%; }
.sys-more {
  position: relative; font-family: var(--font-serif); font-style: italic;
  font-size: clamp(24px, 2.4vw, 32px); color: var(--olive);
}
.sys-fill-title {
  position: relative; margin-top: 18px;
  font-size: clamp(19px, 1.85vw, 24px); color: var(--moss); text-wrap: pretty;
}
.sys-fill-title em { font-style: italic; color: var(--moss); }
.sys-fill-cta { position: relative; margin-top: auto; align-self: flex-start; }

@media (max-width: 980px) {
  .sys-grid { grid-template-columns: repeat(2, 1fr); }
  .sys-cell { min-height: 260px; }
  .sys-cell:nth-child(odd) { padding-left: 0; border-right: 1px solid var(--line); }
  .sys-cell:nth-child(even) { border-right: 0; padding-right: 0; padding-left: clamp(26px, 3.4vw, 44px); }
  .sys-cell:nth-child(3n) { padding-right: clamp(26px, 3.4vw, 44px); }
  .sys-cell:nth-child(even):nth-child(3n) { padding-right: 0; }
  .sys-cell:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
  .sys-grid .sys-cell-fill { padding: clamp(32px, 4vw, 46px); border-right: 0; }
}
@media (max-width: 640px) {
  .sys-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .sys-cell, .sys-cell:nth-child(odd), .sys-cell:nth-child(even), .sys-cell:nth-child(3n) {
    min-height: 0; padding: 34px 0 40px; border-right: 0; border-bottom: 1px solid var(--line);
  }
  .sys-grid .sys-cell-fill { padding: 36px 26px 40px; border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .sys-cell-fill .sys-rings { animation: none !important; }
}

/* fake trailing tab + illustrative stamp on the workflow tab bar */
.wf-more {
  flex: 0 0 auto; align-self: flex-end; padding: 0 0 18px;
  font-family: var(--font-head); font-size: 17px; font-weight: 400;
  color: rgba(26,30,24,.34); cursor: default; user-select: none; white-space: nowrap;
}
.wf-illus {
  align-self: center; margin-bottom: 12px; flex: 0 0 auto;
  font-family: var(--font-mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: .14em;
  color: var(--muted); border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 4px 10px 3px; white-space: nowrap;
}
@media (max-width: 980px) { .wf-illus { margin-bottom: 8px; } }
@media (max-width: 640px) { .wf-illus { display: none; } }
