/* =====================================================================
   myCrewIQ · site stylesheet · shared by every page · restructured 2026-10-23
   Order: reset → fonts → tokens → base → nav → buttons → sections →
   hero → problem → how it works → outputs → founder → FAQ & demo →
   footer → dialogs → motion → responsive → desktop/mobile nav lock → Round 2 (2026-10-24).
   Every colour comes from the tokens; the light theme redefines the
   same tokens, so both themes share one structure on every device.
   ===================================================================== */

/* ---------- 0 · Cross-browser reset & normalization ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h); /* anchors and keyboard focus never land under the fixed header */
}
body {
  max-width: 100vw;
  overflow-x: hidden; /* engines without overflow: clip (Safari before 16) */
  overflow-x: clip;
  background-color: var(--bg-primary, #0A0A0A);
  color: var(--text-primary, #F3F4F6);
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
img, video { max-width: 100%; }
img { height: auto; }

/* ---------- 1 · Brand fonts, self-hosted (no third-party font CDN) ---------- */
@font-face { font-family: 'Big Shoulders Display'; font-style: normal; font-weight: 700 900; font-display: swap; src: url('/assets/fonts/big-shoulders-display.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/instrument-sans.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: italic; font-weight: 400; font-display: swap; src: url('/assets/fonts/instrument-sans-italic.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/jetbrains-mono.woff2') format('woff2'); }

/* ---------- 2 · Theme tokens: Forged Precision (dark is primary) ---------- */
:root {
  color-scheme: dark;

  /* canvas */
  --black: #0A0A0A;            /* deep black void */
  --black-2: #0A0B0D;
  --surface: #121417;
  --surface2: #16191D;
  --surface3: #1C2025;
  --surface-hover: #21262C;
  --ledger: #121316;           /* ledger card surfaces */
  --border: rgba(255,255,255,0.07);
  --border-card: rgba(255,255,255,0.12); /* brushed silver card borders */
  --border-strong: #2C323A;
  --border-loud: #3A424B;

  /* lime as INK */
  --lime: #7cfc3a;
  --lime-bright: #9dff63;
  --lime-dim: #4fa82a;

  /* silver / text */
  --silver: #B4BBC4;
  --silver-bright: #F2F4F7;
  --silver-mid: #D4D9DF; /* explanatory copy; raised 2026-10-25 for readability (was #B4BBC4) */
  --white: #F2F4F7;
  --text-muted: #A9B1BA; /* fine print; raised 2026-10-25 (was #8C95A0) */
  --sheet-green: #3c8b40;
  --danger: #F2543D;
  --danger-wash: rgba(242,84,61,0.08);
  --danger-edge: rgba(242,84,61,0.45);

  /* fixed pairs: identical in both themes */
  --lime-surface: #7cfc3a;
  --lime-surface-hi: #9dff63;
  --on-lime: #0C0D0F;
  --paper: #ffffff;
  --paper-2: #f7f7f7;
  --paper-3: #ededed;
  --paper-ink: #0a0a0a;
  --paper-ink-2: #4d4d4d;
  --paper-ink-3: #2e2e2e;
  --warn: #F2B33D;

  /* chrome */
  --nav-bg: rgba(10,10,10,0.82);
  --menu-bg: #0A0A0A;          /* opaque: no engine-dependent backdrop bleed */
  --grid-line: rgba(255,255,255,0.022);
  --chip-bg: rgba(255,255,255,0.05);
  --lime-glow: rgba(124,252,58,0.18);
  --lime-glow-0: rgba(124,252,58,0);
  --backdrop: rgba(5,6,8,0.74);

  /* elevation */
  --shadow-sm: 0 12px 34px rgba(0,0,0,0.18);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.45);
  --shadow-lg: 0 24px 70px rgba(0,0,0,0.45);
  --shadow-xl: 0 28px 70px rgba(0,0,0,0.58);

  /* chart ink (labor budget sample) */
  --chart-axis: #6B747E;
  --chart-label: #B4BBC4;
  --chart-ref: #8C95A0;
  --chart-neutral: #B4BBC4;
  --scroll-shade: rgba(255,255,255,0.18);
  --hover-tint: rgba(124,252,58,0.04);   /* lime wash behind whatever the pointer is on */
  --hover-glow: rgba(124,252,58,0.34);

  /* aliases read by the reset */
  --bg-primary: var(--black);
  --text-primary: var(--silver-bright);

  /* geometry and type (theme-independent) */
  --pad-x: 56px;
  --maxw: 1180px;
  --section-y: 56px;
  --nav-h: 72px;
  --cond: 'Big Shoulders Display', Impact, 'Arial Narrow', 'Liberation Sans Narrow', 'Oswald', sans-serif;
  --sans: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Liberation Sans', 'DejaVu Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', 'Fira Mono', 'Liberation Mono', 'DejaVu Sans Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
}

/* Strict light mode: the same tokens with light values, nothing else. */
html[data-theme="light"] {
  color-scheme: light;
  --on-lime: #14181A;

  --black: #FFFFFF;
  --black-2: #F4F5F0;
  --surface: #F4F5F0;
  --surface2: #FFFFFF;
  --surface3: #FAFBF7;
  --surface-hover: #F7F8F3;
  --ledger: #F7F8F4;
  --border: rgba(20,24,26,0.11);
  --border-card: rgba(20,24,26,0.15);
  --border-strong: rgba(20,24,26,0.18);
  --border-loud: rgba(20,24,26,0.26);

  --lime: #2D6A0F;
  --lime-bright: #24560B;
  --lime-dim: #5f9a3c;

  --silver: #39413F;
  --silver-bright: #14181A;
  --silver-mid: #39413F;
  --white: #14181A;
  --text-muted: #5A625F;
  --sheet-green: #2f6b33;
  --danger: #b42318;
  --danger-wash: rgba(180,35,24,0.09);
  --danger-edge: rgba(180,35,24,0.40);

  --nav-bg: rgba(255,255,255,0.86);
  --menu-bg: #FFFFFF;
  --grid-line: rgba(13,13,13,0.035);
  --chip-bg: rgba(13,13,13,0.045);
  --lime-glow: rgba(124,252,58,0.20);
  --lime-glow-0: rgba(124,252,58,0);
  --backdrop: rgba(20,24,26,0.55);

  --shadow-sm: 0 8px 20px rgba(13,13,13,0.07);
  --shadow-md: 0 1px 2px rgba(20,24,26,0.05), 0 4px 16px rgba(20,24,26,0.06);
  --shadow-lg: 0 18px 46px rgba(13,13,13,0.11);
  --shadow-xl: 0 22px 56px rgba(13,13,13,0.13);

  --chart-axis: #868D82;
  --chart-label: #39413F;
  --chart-ref: #5A625F;
  --chart-neutral: #8b9096;
  --scroll-shade: rgba(20,24,26,0.20);
  --hover-tint: rgba(124,252,58,0.08);
  --hover-glow: rgba(70,170,30,0.42);
}

/* ---------- 3 · Base ---------- */
body {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--lime-surface); color: var(--on-lime); }
a { color: inherit; }
ul, ol { list-style: none; }
.accent { color: var(--lime); }
.brand-name { text-transform: none; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -64px; z-index: 300; padding: 10px 16px; border-radius: 8px; background: var(--lime-surface); color: var(--on-lime); font-weight: 700; text-decoration: none; transition: top 0.15s; }
.skip-link:focus { top: 12px; }
main { padding-top: var(--nav-h); }
main:focus { outline: none; }
/* old in-page links (#how, #about, #results) still land on the right spot */
.anchor-alias { position: absolute; top: 0; left: 0; width: 1px; height: 1px; pointer-events: none; }

/* ---------- 4 · Navigation header ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  height: var(--nav-h);
  padding: 0 max(var(--pad-x), env(safe-area-inset-right)) 0 max(var(--pad-x), env(safe-area-inset-left));
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
}
.nav-logo { display: flex; flex: 0 0 auto; align-items: center; justify-self: start; min-height: 44px; text-decoration: none; }
.nav-logo:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; border-radius: 6px; }
.brand-logo { display: inline-flex; align-items: center; }
/* The wordmark is an <img> per theme, so a browser with SVG switched off
   (Tor Browser "Safest") still shows the alt text "myCrewIQ". */
.brand-img { display: block; width: auto; height: 32px; font-family: var(--sans); font-size: 22px; font-weight: 700; line-height: 32px; white-space: nowrap; color: var(--silver-bright); }
.brand-img--on-light { display: none; }
html[data-theme="light"] .brand-img--on-dark { display: none; }
html[data-theme="light"] .brand-img--on-light { display: block; }

.nav-links { display: flex; align-items: center; justify-content: center; gap: 32px; min-width: 0; }
.nav-links a {
  display: inline-block;
  padding: 8px 0;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--silver-mid);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
  transition: text-decoration-color 0.2s, color 0.2s;
}
.nav-links a:hover, .nav-links a.current { color: var(--silver-bright); text-decoration-color: var(--lime-surface); }
.nav-links a:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; border-radius: 4px; }

.nav-actions { display: flex; flex: 0 0 auto; align-items: center; justify-self: end; gap: 10px; }
.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  min-width: 40px; min-height: 40px;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--silver-mid);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.theme-toggle:hover { color: var(--lime); border-color: var(--lime); }
.theme-toggle:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.theme-toggle-icon {
  flex: 0 0 auto;
  width: 13px; height: 13px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: linear-gradient(90deg, currentColor 0 50%, transparent 50% 100%);
  transition: transform 0.3s ease;
}
html[data-theme="light"] .theme-toggle-icon { transform: rotate(180deg); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--lime-surface);
  color: var(--on-lime);
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
}
.nav-cta:hover { background: var(--lime-surface-hi); box-shadow: 0 0 0 4px var(--hover-glow), 0 8px 22px var(--hover-glow); transform: translateY(-1px); }
.nav-cta:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

/* hamburger: on every width; the top-bar links fold into it on phones */
.menu-btn {
  display: inline-flex;        /* the menu is available at every width (2026-10-23) */
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--silver-bright);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.menu-btn:hover { border-color: var(--border-loud); background: var(--surface-hover); }
.menu-btn:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.menu-btn .bars { position: relative; display: inline-block; width: 16px; height: 10px; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform 0.19s ease, top 0.19s ease; }
.menu-btn .bars::before { top: 1px; }
.menu-btn .bars::after { top: 7.5px; }
.menu-btn[aria-expanded="true"] .bars::before { top: 4.25px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { top: 4.25px; transform: rotate(-45deg); }

/* mobile nav drawer */
.site-menu {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  z-index: 99;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--menu-bg);
}
.site-menu[hidden] { display: none; }
.site-menu.is-open .site-menu-inner { animation: menuIn 0.32s cubic-bezier(0.16,1,0.3,1) both; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.site-menu-inner { max-width: var(--maxw); margin: 0 auto; padding: 28px max(var(--pad-x), env(safe-area-inset-right)) calc(48px + env(safe-area-inset-bottom)) max(var(--pad-x), env(safe-area-inset-left)); }
.menu-groups { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.menu-group .group-h { margin-bottom: 10px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.menu-group li + li { margin-top: 4px; }
.menu-group a { display: inline-flex; flex-direction: column; justify-content: center; min-height: 44px; padding: 6px 0; font-family: var(--sans); font-size: 19px; font-weight: 600; line-height: 1.35; color: var(--silver-bright); text-decoration: none; }
.menu-group--primary a { font-size: 25px; letter-spacing: -0.01em; }
.menu-group a:hover, .menu-group a.current { color: var(--lime); }
.menu-group a:focus-visible, .menu-foot a:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; border-radius: 4px; }
.menu-group .menu-desc { display: block; font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--text-muted); }
.menu-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--border); font-size: 14px; color: var(--text-muted); }
.menu-foot a { display: inline-block; padding: 10px 0; margin: -10px 0; white-space: nowrap; color: var(--silver-mid); text-decoration: none; }
html.menu-open { overflow: hidden; }

/* ---------- 5 · Buttons ---------- */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.1s;
}
.btn-primary { background: var(--lime-surface); color: var(--on-lime); }
.btn-primary:hover { background: var(--lime-surface-hi); box-shadow: 0 0 0 4px var(--hover-glow), 0 10px 28px var(--hover-glow); transform: translateY(-1px); }
.btn-secondary { background: transparent; border-color: var(--border-loud); color: var(--silver-bright); }
.btn-secondary:hover { background: var(--hover-tint); border-color: var(--lime); color: var(--lime); }
.btn-primary:focus-visible, .btn-secondary:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.btn-block { width: 100%; }

/* ---------- 6 · Shared section frame ---------- */
main > section {
  position: relative;
  padding: var(--section-y) max(var(--pad-x), env(safe-area-inset-right)) var(--section-y) max(var(--pad-x), env(safe-area-inset-left));
  background: var(--black);
  border-top: 1px solid var(--border);
}
.page-head { max-width: var(--maxw); margin: 0 auto 28px; }
.kicker {
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.section-h2 {
  margin-bottom: 12px;
  font-family: var(--cond);
  font-size: clamp(30px, 4.1vw, 48px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--silver-bright);
}
.section-desc { max-width: 760px; font-size: 16.5px; line-height: 1.6; color: var(--silver-mid); }

/* ---------- 7 · Hero: positioning, 4 pillars, proof strip ---------- */
.hero {
  position: relative;
  min-height: auto;
  padding: 36px max(var(--pad-x), env(safe-area-inset-right)) 40px max(var(--pad-x), env(safe-area-inset-left));
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -12%; right: -8%;
  width: 64vw; height: 64vw;
  max-width: 820px; max-height: 820px;
  background: radial-gradient(circle, var(--lime-glow) 0%, var(--lime-glow-0) 64%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle at 30% 40%, #000 0%, transparent 72%);
  mask-image: radial-gradient(circle at 30% 40%, #000 0%, transparent 72%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  grid-template-areas:
    "head    visual"
    "sub     visual"
    "actions visual"
    "pillars pillars"
    "proof   proof";
  column-gap: 48px;
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
}
.hero-head { grid-area: head; min-width: 0; align-self: end; }
.hero-kicker { color: var(--lime); }
.hero-h1 {
  margin-bottom: 18px;
  font-family: var(--cond);
  font-size: clamp(42px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--silver-bright);
}
.hero-h1 .accent { display: block; font-size: 0.74em; letter-spacing: -0.01em; white-space: nowrap; }
.hero-sub { grid-area: sub; align-self: start; min-width: 0; max-width: 660px; font-size: 17px; line-height: 1.58; color: var(--silver-mid); }
.hero-actions-wrap { grid-area: actions; min-width: 0; align-self: start; margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero-cta-note { margin-top: 12px; font-size: 16px; font-weight: 600; line-height: 1.55; color: var(--silver-bright); }
.hero-cta-note a { font-weight: 700; }
.hero-cta-note a { white-space: nowrap; color: var(--silver-bright); text-decoration: underline; text-decoration-color: var(--border-loud); text-underline-offset: 3px; }

.hero-pillars { grid-area: pillars; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.pillar {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  min-width: 0;
  padding: 14px 16px;
  background: var(--ledger);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}
.pillar:hover { background: var(--hover-tint); border-color: var(--lime-dim); transform: translateY(-2px); }
.pillar:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.pillar-k { font-family: var(--mono); font-size: 11.5px; font-weight: 500; line-height: 1.45; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lime); }
.pillar-d { font-size: 14px; line-height: 1.5; color: var(--silver); }

.proof-strip { grid-area: proof; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; scroll-margin-top: 16px; }
.proof-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px 16px;
  background: var(--ledger);
  border: 1px solid var(--border-card);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--silver-bright);
}
.proof-pill i { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: var(--lime-surface); }

.hero-visual { grid-area: visual; min-width: 0; justify-self: end; width: 100%; max-width: 540px; }
.hero-demo { margin: 0; }
.demo-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--surface2);
  border: 1px solid var(--border-card);
  border-top: 3px solid var(--lime-surface);
  border-radius: 14px;
  box-shadow: var(--shadow-xl);
}
#demo-video { display: block; width: 100%; max-width: 100%; height: auto; }
.demo-replay { position: absolute; inset: 0; z-index: 2; display: none; align-items: center; justify-content: center; border: 0; background: rgba(0,0,0,0.35); cursor: pointer; }
.demo-replay.visible { display: flex; }
.demo-play { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 64px; height: 64px; border: 2px solid var(--lime-surface); border-radius: 50%; background: rgba(10,10,10,0.55); }
.demo-play::after { content: ""; width: 0; height: 0; margin-left: 5px; border-left: 17px solid var(--lime-surface); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
/* always-available pause / play (WCAG 2.2.2); the frame is always dark, so fixed ink */
.demo-toggle { position: absolute; right: 10px; bottom: 10px; z-index: 3; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; background: rgba(10,10,10,0.62); border: 1px solid rgba(255,255,255,0.35); border-radius: 50%; color: #F2F4F7; cursor: pointer; }
.demo-toggle span { display: block; width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.demo-replay.visible ~ .demo-toggle { display: none; }   /* one play button at a time */
.demo-toggle[data-state="paused"] span { width: 0; height: 0; margin-left: 4px; border-left: 13px solid currentColor; border-right: 0; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.funds-preview:focus-visible, .demo-replay:focus-visible, .demo-toggle:focus-visible { outline: 2px solid var(--lime); outline-offset: -4px; }

/* typographic polish (progressive enhancement; older engines ignore it) */
.section-h2, .tp-h, .cta-h, .ledger-title, .step-title, .tab, .faq-btn > span, .pillar-k, .fi-name { text-wrap: balance; }
.hero-sub, .section-desc, .pillar-d, .ledger-desc, .step-desc, .tp-sub, .founder-bio, .faq-a p, .cc-sub { text-wrap: pretty; }

/* ---------- 8 · The problem: six failure points, 3 × 2 ledger ---------- */
.ledger-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: var(--maxw); margin: 0 auto; }
.ledger-card {
  min-width: 0;
  padding: 18px 20px;
  background: var(--ledger);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  transition: background 0.2s, border-color 0.2s;
}
.ledger-card:hover, .step-card:hover, .faq-item:hover { background: var(--hover-tint); border-color: var(--lime-dim); }
.step-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 2px 8px;
  border: 1px solid var(--lime-dim);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.14em;
  color: var(--lime);
}
.ledger-title, .step-title { margin-bottom: 6px; font-family: var(--sans); font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--silver-bright); }
.ledger-desc, .step-desc { font-size: 16px; line-height: 1.6; color: var(--silver-mid); }
.ledger-desc .fix-k { font-family: var(--mono); font-size: 0.82em; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lime); }
.ledger-card { display: flex; flex-direction: column; }
.ledger-card .ledger-title { font-size: 19px; }
.ledger-fix { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border-strong); font-size: 16px; font-weight: 600; line-height: 1.55; text-align: center; color: var(--silver-bright); }
.ledger-desc + .ledger-fix { margin-top: 16px; }
.ledger-card .ledger-desc { flex: 1 0 auto; }
.ledger-fix .fix-k { display: block; margin-bottom: 6px; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--lime); }

/* ---------- 9 · How it works: 3-step progression ---------- */
.step-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: var(--maxw); margin: 0 auto; }
.step-card {
  position: relative;
  min-width: 0;
  padding: 18px 20px;
  background: var(--ledger);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  transition: background 0.2s, border-color 0.2s;
}
.step-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%; right: -12px;
  z-index: 1;
  width: 8px; height: 8px;
  border-top: 2px solid var(--lime);
  border-right: 2px solid var(--lime);
  transform: translate(0, -50%) rotate(45deg);
}

/* ---------- 10 · Platform & outputs: 4 tabs ---------- */
.tabs { max-width: var(--maxw); margin: 0 auto; }
.tab-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: 16px; padding: 6px; background: var(--ledger); border: 1px solid var(--border-card); border-radius: 16px; }
.tab {
  min-width: 0;
  min-height: 48px;
  padding: 10px 12px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 11px;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--silver-mid);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.tab:hover { background: var(--hover-tint); color: var(--silver-bright); }
.tab[aria-selected="true"] { background: var(--lime-surface); color: var(--on-lime); }
.tab:focus-visible, .tab-panel:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.tab-panel { padding: 26px; background: var(--ledger); border: 1px solid var(--border-card); border-radius: 16px; animation: panelIn 0.35s cubic-bezier(0.22,1,0.36,1) both; }
.tab-panel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tp-head { margin-bottom: 18px; }
.tp-h { margin-bottom: 10px; font-family: var(--cond); font-size: clamp(26px, 2.8vw, 36px); font-weight: 900; line-height: 1.02; text-transform: uppercase; color: var(--silver-bright); }
.tp-sub { max-width: 860px; margin-bottom: 14px; font-size: 16px; line-height: 1.6; color: var(--silver-mid); }
.tp-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.tp-pills li { padding: 5px 12px; border: 1px solid var(--border-loud); border-radius: 999px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--silver-bright); }
.tp-card { overflow: hidden; background: var(--surface2); border: 1px solid var(--border-card); border-radius: 14px; }
.tp-foot { margin-top: 14px; font-size: 15px; line-height: 1.6; color: var(--silver-mid); }
.tp-link { display: inline; font-weight: 600; white-space: nowrap; color: var(--silver-bright); text-decoration: underline; text-decoration-color: var(--lime-surface); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.tp-foot .tp-link { margin-left: 4px; }
.arr { display: inline-block; width: 0.48em; height: 0.48em; margin-left: 0.4em; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: translateY(-0.1em) rotate(45deg); }
.tp-foot > .tp-link:first-child { margin-left: 0; }

/* wide ledger tables scroll inside their own box, never the page */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  /* scroll shadows: an edge shades only while more columns hide behind it */
  background:
    linear-gradient(to right, var(--surface2) 30%, transparent) left center / 32px 100% no-repeat local,
    linear-gradient(to left, var(--surface2) 30%, transparent) right center / 32px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, var(--scroll-shade), transparent) left center / 14px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, var(--scroll-shade), transparent) right center / 14px 100% no-repeat scroll,
    var(--surface2);
}
.table-scroll:focus-visible { outline: 2px solid var(--lime); outline-offset: -2px; }
.table-hint { display: none; align-items: center; gap: 8px; margin-top: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.table-hint::after { content: ""; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.panel-label { display: none; margin-bottom: 12px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime); }
.rtable { width: 100%; min-width: 600px; border-collapse: separate; border-spacing: 0; }
.rtable.wide { min-width: 800px; }
.rtable th { padding: 12px 14px; border-bottom: 1px solid var(--border-strong); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-align: left; text-transform: uppercase; white-space: nowrap; color: var(--text-muted); }
.rtable td { padding: 12px 14px; border-bottom: 1px solid var(--border); font-size: 15px; vertical-align: middle; color: var(--silver); }
.rtable tbody tr:last-child td { border-bottom: 0; }
.rtable td b { font-weight: 600; color: var(--silver-bright); }
.rtable .num { text-align: right; font-variant-numeric: tabular-nums; }
.rtable .total { font-weight: 700; color: var(--silver-bright); }
.rtable .muted { font-size: 14px; color: var(--text-muted); }
.rtable .nowrap { white-space: nowrap; }
.rd { padding: 3px 8px; border: 1px solid var(--border-loud); border-radius: 6px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; white-space: nowrap; color: var(--silver-bright); }
.st { display: inline-flex; align-items: center; gap: 6px; margin-right: 6px; padding: 3px 10px 3px 8px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-red { color: var(--danger); background: var(--danger-wash); border: 1px solid var(--danger-edge); }
.st-green { color: var(--on-lime); background: var(--lime-surface); border: 1px solid var(--lime-surface); }

.funds-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.funds-preview { display: block; padding: 18px; background: var(--paper-3); border-right: 1px solid var(--border); }
.funds-preview img { display: block; width: 100%; height: auto; border-radius: 8px; box-shadow: var(--shadow-md); }
.funds-copy { padding: 22px 24px; }
.funds-k { margin-bottom: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime); }
.funds-list li { display: flex; flex-direction: column; gap: 2px; padding: 9px 0; border-bottom: 1px solid var(--border); }
.funds-list b { font-size: 16.5px; font-weight: 600; color: var(--silver-bright); }
.funds-list span { font-size: 14.5px; color: var(--silver-mid); }
.funds-note { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--silver-mid); }

/* labor budget sample (rendered from the console's arithmetic; no script) */
.lbs { --lbs-ok: var(--lime); --lbs-warn: var(--warn); --lbs-bad: var(--danger); --lbs-info: var(--chart-ref); max-width: 1080px; margin: 0 auto; font-family: var(--sans); text-align: left; color: var(--silver-bright); }
html[data-theme="light"] .lbs { --lbs-ok: var(--sheet-green); --lbs-warn: #8A5A00; }
.lbs[id] { scroll-margin-top: 96px; }
.lbs h2, .lbs h3, .lbs h4 { margin: 0 0 10px; font-family: var(--cond); font-size: 19px; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase; color: var(--silver-bright); }
.lbs p { margin: 0; }
.lbs .lbs-num { font-variant-numeric: tabular-nums; }
.lbs .lbs-small { font-size: 13.5px; line-height: 1.55; }
.lbs .lbs-muted { color: var(--silver); }
.lbs .lbs-card { margin: 0 0 16px; padding: 18px 20px; background: var(--surface2); border: 1px solid var(--border-strong); border-radius: 16px; }
.lbs .lbs-card--accent { border-color: var(--lime); box-shadow: 0 0 0 1px var(--lime-glow) inset; }
.lbs .lbs-flush { padding: 0; }
.lbs .lbs-flush > h2, .lbs .lbs-flush > h3, .lbs .lbs-flush > h4, .lbs .lbs-flush > p { padding: 0 20px; }
.lbs .lbs-flush > h2, .lbs .lbs-flush > h3, .lbs .lbs-flush > h4 { padding-top: 18px; }
.lbs .lbs-flush > p:last-child { padding-top: 12px; padding-bottom: 18px; }
.lbs .lbs-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0 0 12px; }
.lbs .lbs-kpis.kpi4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lbs .lbs-kpi { min-width: 0; padding: 14px 16px; background: var(--surface2); border: 1px solid var(--border-strong); border-radius: 14px; }
.lbs .lbs-kpi__label { font-family: var(--cond); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--silver); }
.lbs .lbs-kpi__value { margin: 4px 0 2px; font-family: var(--cond); font-size: 30px; font-weight: 800; line-height: 1.1; overflow-wrap: anywhere; color: var(--white); }
.lbs .lbs-kpi__sub { font-size: 13px; line-height: 1.45; color: var(--silver); }
.lbs .lbs-badge { display: inline-block; padding: 2px 10px; border: 1px solid currentColor; border-radius: 999px; background: var(--chip-bg); font-family: var(--cond); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; vertical-align: middle; }
.lbs .lbs-badge--success { color: var(--lbs-ok); }
.lbs .lbs-badge--warning { color: var(--lbs-warn); }
.lbs .lbs-badge--danger { color: var(--lbs-bad); }
.lbs .lbs-badge--info { color: var(--silver-bright); }
.lbs .lbs-badge--neutral { color: var(--silver); }
.lbs .lbs-tomorrow__verdict { margin: 6px 0 12px; font-size: 17px; color: var(--silver-bright); }
.lbs .lbs-tomorrow__verdict strong { font-family: var(--cond); font-size: 34px; font-weight: 800; color: var(--white); }
.lbs .lbs-inputs { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 12px; font-size: 14px; }
.lbs .lbs-inputs dt { color: var(--silver); }
.lbs .lbs-inputs dd { margin: 0; color: var(--silver-bright); }
.lbs .lbs-alerts { display: grid; gap: 8px; margin: 0; padding: 0; }
.lbs .lbs-alerts li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; color: var(--silver-bright); }
.lbs .lbs-legend { display: flex; flex-wrap: wrap; gap: 14px; margin: 8px 0 6px; padding: 0; font-size: 13.5px; color: var(--silver-bright); }
.lbs .lbs-legend li { display: inline-flex; align-items: center; gap: 6px; }
.lbs .lbs-legend svg line { stroke-linecap: round; }
.lbs .lbs-burnwrap { position: relative; }
.lbs .lbs-burn { display: block; width: 100%; height: 200px; }
.lbs .lbs-burn line, .lbs .lbs-burn polyline { vector-effect: non-scaling-stroke; }
.lbs .lbs-dot { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; background: var(--lime); border: 2px solid var(--surface2); border-radius: 50%; }
.lbs .lbs-xlabels { display: flex; justify-content: space-between; margin-top: 4px; font-family: var(--mono); font-size: 11px; color: var(--chart-label); }
.lbs .lbs-axis { stroke: var(--chart-axis); }
.lbs .lbs-l-plan { stroke: var(--chart-neutral); stroke-width: 2; stroke-dasharray: 6 4; }
.lbs .lbs-l-fc { stroke: var(--lbs-info); stroke-width: 2; stroke-dasharray: 2 4; }
.lbs .lbs-l-act { stroke: var(--lime); stroke-width: 3; }
.lbs .lbs-tablewrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.lbs .lbs-tablewrap:focus-visible { outline: 2px solid var(--lime); outline-offset: -2px; }
.lbs table { width: 100%; border-collapse: collapse; font-size: 14px; color: var(--silver-bright); }
.lbs th, .lbs td { padding: 9px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.lbs th { font-family: var(--cond); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; color: var(--silver); }
.lbs td.lbs-num, .lbs th.lbs-num { text-align: right; font-variant-numeric: tabular-nums; }
.lbs tfoot td { border-top: 2px solid var(--border-loud); border-bottom: 0; font-weight: 700; }
.lbs td .lbs-sub { display: block; font-size: 12px; font-weight: 400; color: var(--silver); }
.lbs td.lbs-group, .lbs th.lbs-group { border-left: 1px solid var(--border-strong); }
.lbs .lbs-note { margin: 4px 0 0; font-size: 13.5px; text-align: center; color: var(--silver); }
.budget-tab.lbs { max-width: none; }
.call-alert { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 14px; padding: 14px 18px; background: var(--surface2); border: 1px solid var(--border-strong); border-left: 4px solid var(--danger); border-radius: 14px; }
.call-alert p { margin: 0; font-size: 16px; color: var(--silver); }
.call-alert b { color: var(--silver-bright); }
.math-drawer { margin: 0 0 12px; background: var(--surface2); border: 1px solid var(--border-strong); border-radius: 14px; }
.math-drawer summary { display: flex; align-items: baseline; gap: 10px; padding: 14px 18px; list-style: none; font-size: 16px; font-weight: 600; color: var(--silver-bright); cursor: pointer; }
.math-drawer summary::-webkit-details-marker { display: none; }
.math-drawer summary::before { content: "+"; flex: 0 0 1em; font-family: var(--mono); color: var(--lime); }
.math-drawer summary .md-q { flex: 1; min-width: 0; }
.math-drawer[open] summary::before { content: "−"; }
.math-drawer summary .md-s { display: inline-block; margin-left: 6px; font-size: 14px; font-weight: 500; color: var(--text-muted); }
.math-drawer summary:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; border-radius: 10px; }
.math-drawer .lbs-inputs { padding: 0 18px 16px; }

/* labor budget sample — charts, ledger, snapshot (directions 1c/1e/1f; HTML/CSS bars + inline SVG lines, no script) */
.lbs .lbs-charts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 16px; }
.lbs .lbs-chart { margin: 0; display: flex; flex-direction: column; min-width: 0; }
.lbs .lbs-chart h4 { font-size: 17px; }
.lbs .lbs-chart > .lbs-small { margin-bottom: 8px; }
.lbs .lbs-legend--sw li { font-size: 13px; }
.lbs .lbs-sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.lbs .lbs-sw--plan, .lbs .lbs-bar--plan, .lbs .lbs-hbar__fill--plan { background: var(--chart-neutral); opacity: 0.55; }
.lbs .lbs-sw--act, .lbs .lbs-bar--act, .lbs .lbs-hbar__fill--act { background: var(--lime); }
.lbs .lbs-sw--fc, .lbs .lbs-bar--fc, .lbs .lbs-hbar__fill--fc { background: transparent; box-shadow: 0 0 0 2px var(--lbs-info) inset; }
.lbs .lbs-bars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: end; height: 190px; margin-top: auto; padding-top: 8px; border-bottom: 1px solid var(--chart-axis); }
.lbs .lbs-bargroup { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; align-items: end; height: 100%; padding-bottom: 22px; }
.lbs .lbs-bar { position: relative; height: var(--h); min-height: 2px; border-radius: 3px 3px 0 0; }
.lbs .lbs-bar span { position: absolute; left: 50%; bottom: 100%; transform: translateX(-50%); padding-bottom: 3px; font-family: var(--mono); font-size: 11px; line-height: 1; white-space: nowrap; color: var(--chart-label); font-variant-numeric: tabular-nums; }
.lbs .lbs-bar--act span { color: var(--silver-bright); font-weight: 700; }
.lbs .lbs-bar--plan span, .lbs .lbs-bar--fc span { display: none; }
.lbs .lbs-bargroup:hover .lbs-bar span, .lbs .lbs-bargroup:focus-within .lbs-bar span { display: block; }
.lbs .lbs-bar__x { position: absolute; left: 0; right: 0; bottom: 0; font-family: var(--mono); font-size: 11px; text-align: center; color: var(--chart-label); }
.lbs .lbs-grid { stroke: var(--border); }
.lbs .lbs-hbars { display: grid; gap: 14px; margin-top: auto; }
.lbs .lbs-hbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; }
.lbs .lbs-hbar__k { grid-column: 1 / -1; font-size: 13.5px; color: var(--silver-bright); }
.lbs .lbs-hbar__s { margin-left: 8px; font-size: 12px; color: var(--silver); }
.lbs .lbs-hbar__track { height: 14px; background: var(--chip-bg); border-radius: 4px; overflow: hidden; }
.lbs .lbs-hbar__fill { width: var(--w); height: 100%; border-radius: 4px; }
.lbs .lbs-hbar__v { font-family: var(--cond); font-size: 20px; font-weight: 800; color: var(--white); }
.lbs .lbs-kpis.kpi5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.lbs .lbs-kpis.kpi3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lbs .lbs-unit { margin-left: 2px; font-size: 16px; font-weight: 700; color: var(--silver); }
.lbs .lbs-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.lbs .lbs-tag { display: inline-block; padding: 5px 12px; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--chip-bg); font-size: 13px; color: var(--silver); }
.lbs .lbs-tag b { color: var(--silver-bright); font-weight: 600; }
.lbs .lbs-tag--lime { border-color: var(--lime); color: var(--silver-bright); }
.lbs .lbs-consumed { margin: 0 0 14px; padding: 14px 16px; background: var(--surface2); border: 1px solid var(--border-strong); border-radius: 14px; }
.lbs .lbs-consumed__head, .lbs .lbs-consumed__foot { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--silver); }
.lbs .lbs-consumed__head { margin-bottom: 8px; font-family: var(--cond); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.lbs .lbs-consumed__head .lbs-num { font-size: 22px; letter-spacing: 0; color: var(--white); }
.lbs .lbs-consumed__track { position: relative; height: 16px; background: var(--chip-bg); border-radius: 5px; overflow: hidden; }
.lbs .lbs-consumed__fill { width: var(--w); height: 100%; background: var(--lime); border-radius: 5px; }
.lbs .lbs-consumed__mark { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; background: var(--silver-bright); }
.lbs .lbs-consumed__foot { margin-top: 8px; }
.lbs .lbs-consumed__foot b { color: var(--silver-bright); font-weight: 600; }
.lbs-mini { grid-column: 1 / -1; justify-self: stretch; width: 100%; max-width: none; margin-top: 4px; }
.lbs-mini .lbs-kpi__value { font-size: 24px; }
.lbs-mini .call-alert { margin-bottom: 8px; }
.lbs-mini .call-alert p { font-size: 14.5px; }
@media (max-width: 1023px) { .lbs .lbs-charts { grid-template-columns: minmax(0, 1fr); } .lbs .lbs-bars { height: 170px; } }

/* ---------- 11 · About the founder ---------- */
.founder-hero { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 40px; align-items: start; max-width: var(--maxw); margin: 0 auto; }
.founder-hero.no-photo { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.founder-hero.no-photo .founder-photo { display: none; }
.founder-photo { margin: 0; overflow: hidden; background: linear-gradient(160deg, var(--surface3), var(--black-2)); border: 1px solid var(--border-card); border-radius: 14px; }
.founder-photo img { display: block; width: 100%; height: auto; }
.founder-cap { padding: 10px 14px; border-top: 1px solid var(--border); font-family: var(--mono); font-size: 11px; font-weight: 500; line-height: 1.5; letter-spacing: 0.12em; text-transform: uppercase; color: var(--silver-mid); }
.founder-cap b { font-weight: 600; color: var(--lime); }
.fi-name { margin-bottom: 4px; font-family: var(--cond); font-size: clamp(28px, 3vw, 38px); font-weight: 900; line-height: 1; text-transform: uppercase; color: var(--silver-bright); }
.fi-role { margin-bottom: 14px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lime); }
.cred-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.cred-badges li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; background: var(--ledger); border: 1px solid var(--border-card); border-radius: 999px; font-family: var(--mono); font-size: 11.5px; font-weight: 500; line-height: 1.4; letter-spacing: 0.06em; text-transform: uppercase; color: var(--silver-bright); }
.cred-badges li::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; border-radius: 50%; background: var(--lime-surface); }
.founder-bio { max-width: 700px; margin-bottom: 16px; font-size: 16px; line-height: 1.65; color: var(--silver); }
.founder-quote { max-width: 700px; margin: 0 0 16px; padding-left: 16px; border-left: 3px solid var(--lime-surface); font-family: var(--cond); font-size: clamp(18px, 1.9vw, 22px); font-weight: 700; line-height: 1.22; text-transform: uppercase; color: var(--silver-bright); }
.about-contact { display: inline-flex; align-items: flex-end; min-height: 44px; padding: 0 0 2px; font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--lime); text-decoration: none; text-transform: none; border-bottom: 1px solid var(--lime-dim); }
.about-contact:hover { color: var(--lime-bright); }

/* ---------- 12 · FAQ (collapsed) + final demo call to action ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; align-items: start; max-width: var(--maxw); margin: 0 auto; }
.faq-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.faq-item { background: var(--ledger); border: 1px solid var(--border-card); border-radius: 12px; transition: background 0.2s, border-color 0.2s; }
.faq-item.is-open { border-color: var(--border-loud); }
.faq-q { margin: 0; font-size: inherit; font-weight: inherit; }
.faq-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 56px;
  padding: 14px 18px;
  background: transparent;
  border: 0;
  border-radius: 12px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  color: var(--silver-bright);
  cursor: pointer;
}
.faq-btn:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.faq-icon { position: relative; flex: 0 0 auto; width: 14px; height: 14px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; top: 6px; left: 0; width: 14px; height: 2px; border-radius: 1px; background: var(--lime); transition: transform 0.2s ease; }
.faq-icon::after { transform: rotate(90deg); }
.faq-btn[aria-expanded="true"] .faq-icon::after { transform: rotate(0deg); }
.faq-a { padding: 0 18px 16px; }
.faq-a p { font-size: 15.5px; line-height: 1.65; color: var(--silver); }
html.js .faq-item:not(.is-open) .faq-a { display: none; }

.cta-card {
  padding: 18px 20px;
  background: var(--ledger);
  border: 1px solid var(--border-card);
  border-top: 3px solid var(--lime-surface);
  border-radius: 16px;
  scroll-margin-top: 16px;
}
.cta-h { margin-bottom: 8px; font-family: var(--cond); font-size: clamp(28px, 3vw, 38px); font-weight: 900; line-height: 1; text-transform: uppercase; color: var(--silver-bright); }
.cc-sub { margin-bottom: 16px; font-size: 15px; line-height: 1.6; color: var(--silver-mid); }
.cta-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.cta-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cta-field label { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.cta-field label i { font-style: normal; color: var(--silver-mid); }
.cta-input { width: 100%; padding: 13px 16px; background: var(--surface3); border: 1px solid var(--chart-axis); border-radius: 10px; font-family: var(--sans); font-size: 16px; line-height: 1.3; color: var(--white); outline: none; transition: border-color 0.2s; }
.cta-input::placeholder { color: var(--text-muted); opacity: 1; }
.cta-input:focus { border-color: var(--lime); outline: 2px solid transparent; }
.cta-field--wide, .cta-form .btn-block { grid-column: 1 / -1; }
.cta-textarea { min-height: 112px; resize: vertical; line-height: 1.5; }
.cta-status { font-size: 15px; font-weight: 600; color: var(--lime); }
.cta-status:focus { outline: none; }
.cta-status[data-state="error"] { color: var(--danger); }
.cta-thanks { display: none; font-size: 15px; font-weight: 600; color: var(--lime); }
.cta-thanks:target { display: block; }
.cta-card:has(.cta-thanks:target) .cta-form { display: none; }
html.js .cta-thanks { display: none !important; }
.cta-fine { margin-top: 12px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.contact-direct { margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: var(--silver-mid); }
.contact-direct a { white-space: nowrap; color: var(--silver-bright); }
.cta-links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 14.5px; }
.cta-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; font-weight: 600; color: var(--silver-bright); text-decoration: underline; text-decoration-color: var(--lime-surface); text-underline-offset: 4px; }

/* ---------- 13 · Footer ---------- */
footer { padding: 48px max(var(--pad-x), env(safe-area-inset-right)) 26px max(var(--pad-x), env(safe-area-inset-left)); background: var(--black-2); border-top: 1px solid var(--border); }
.footer-inner { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: 32px; align-items: start; max-width: var(--maxw); margin: 0 auto; }
.footer-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.footer-brand { align-items: flex-start; }
.footer-brand .brand-img { height: 34px; font-size: 22px; line-height: 34px; }
.footer-blurb { max-width: 300px; margin-top: 12px; font-size: 14px; line-height: 1.6; color: var(--silver-mid); }
.footer-blurb b { font-weight: 600; color: var(--silver-bright); }
.footer-h { margin-bottom: 4px; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); }
.footer-col a { padding: 3px 0; font-family: var(--sans); font-size: 14.5px; color: var(--silver-bright); text-decoration: none; }
.footer-col a:hover { text-decoration: underline; text-decoration-color: var(--lime-surface); text-underline-offset: 4px; }
.footer-note { max-width: var(--maxw); margin: 26px auto 0; font-size: 13.5px; font-style: italic; color: var(--text-muted); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; max-width: var(--maxw); margin: 26px auto 0; padding-top: 18px; border-top: 1px solid var(--border); font-size: 13.5px; color: var(--text-muted); }
.footer-bottom a { display: inline-block; padding: 10px 2px; margin: -10px 0; white-space: nowrap; color: var(--silver-bright); text-decoration: none; }

/* ---------- 14 · Dialogs: sample reports (Test Drive page) ---------- */
.sample-dlg { width: min(1120px, calc(100vw - 32px - env(safe-area-inset-left) - env(safe-area-inset-right))); max-width: none; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); margin: auto; padding: 0; overflow: hidden; background: var(--surface); color: var(--silver-bright); border: 1px solid var(--border-strong); border-radius: 18px; box-shadow: var(--shadow-xl); }
dialog.sample-dlg:not([open]) { display: none; }
.sample-dlg[open] { display: flex; flex-direction: column; }
.sample-dlg.dlg-fallback { position: fixed; inset: 12px; z-index: 300; width: auto; height: auto; max-height: none; margin: 0; }
/* literal fallback: before 2024 engines, ::backdrop did not inherit custom properties */
.sample-dlg::backdrop { background: var(--backdrop, rgba(5,6,8,0.74)); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
html[data-theme="light"] .sample-dlg::backdrop { background: rgba(20,24,26,0.55); }
.dlg-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 22px; border-bottom: 1px solid var(--border); }
.dlg-head h2 { font-family: var(--cond); font-size: 26px; font-weight: 900; line-height: 1; text-transform: uppercase; color: var(--silver-bright); }
.dlg-close { flex: 0 0 auto; width: 44px; height: 44px; background: var(--surface2); border: 1px solid var(--border-strong); border-radius: 50%; font-size: 24px; line-height: 1; color: var(--silver-bright); cursor: pointer; }
.dlg-close:hover { border-color: var(--lime); }
.dlg-close:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.dlg-close-link { display: none; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--border-strong); border-radius: 999px; font-weight: 600; color: var(--silver-bright); text-decoration: none; }
.dlg-body { flex: 1 1 auto; min-height: 0; padding: 22px; overflow-y: auto; overscroll-behavior: contain; }
.dlg-body:focus { outline: none; }
.dlg-body:focus-visible { outline: 2px solid var(--lime); outline-offset: -2px; }
.dlg-desc { max-width: 780px; margin-bottom: 20px; font-size: 16px; line-height: 1.6; color: var(--silver-mid); }
html.dlg-open { overflow: hidden; }

.report-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; } /* two across: previews read at twice the old size; click opens the lightbox */
.report-gallery.workbook { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.report-card { max-width: 940px; margin: 0 auto; padding: 16px; background: var(--surface2); border: 1px solid var(--border-strong); border-radius: 18px; box-shadow: var(--shadow-xl); }
.report-card.sample { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: var(--paper); color: var(--paper-ink); border: 1px solid var(--border-strong); border-radius: 14px; box-shadow: var(--shadow-lg); }
.report-card.sample.summary { grid-column: 1 / -1; }
.report-preview { display: flex; align-items: center; justify-content: center; min-height: 360px; padding: 18px; background: linear-gradient(180deg, var(--paper-2), var(--paper-3)); }
.report-card.sample.summary .report-preview { min-height: 300px; }
.report-preview img { display: block; max-width: 100%; height: auto; max-height: 680px; object-fit: contain; border-radius: 8px; box-shadow: var(--shadow-sm); }
.report-card.sample.summary .report-preview img { max-height: 520px; }
.report-gallery.workbook .report-preview, .report-gallery.workbook .report-card.sample.summary .report-preview { min-height: 0; }
.report-gallery.workbook .report-preview img, .report-gallery.workbook .report-card.sample.summary .report-preview img { width: 100%; max-height: none; }
.report-gallery.workbook .report-preview { padding: 0; background: #0E1013; } /* the workbook renders are dark (DS v2.0); the sheet fills the frame edge to edge */
.report-gallery.workbook .report-preview img { border-radius: 0; box-shadow: none; }
.report-copy { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 22px 24px 24px; border-top: 4px solid var(--lime-surface); }
.report-copy h3 { font-family: var(--cond); font-size: 32px; line-height: 1; letter-spacing: 0.02em; text-transform: uppercase; color: var(--paper-ink); }
.report-total { margin: -4px 0 0; font-family: var(--mono); font-size: 14px; font-weight: 700; letter-spacing: 0.02em; color: var(--paper-ink); font-variant-numeric: tabular-nums; }
.report-zoom { display: block; width: 100%; cursor: zoom-in; border-radius: 8px; }
.report-zoom:focus-visible { outline: 3px solid var(--lime-surface); outline-offset: 2px; }
.report-gallery.workbook .report-zoom { border-radius: 0; }
.lightbox { width: min(1400px, calc(100vw - 32px - env(safe-area-inset-left) - env(safe-area-inset-right))); }
.lightbox-body { padding: 0; background: var(--paper-3); }
.lightbox-body img { display: block; width: 100%; height: auto; }
.lightbox-body img[data-dark="1"] { background: #0E1013; }
.lightbox-cap { padding: 12px 18px 16px; background: var(--surface); }
@media (max-width: 768px) { .lightbox-body { overflow: auto; } .lightbox-body img { min-width: 760px; } } /* phone: the report keeps a readable size and scrolls sideways */
.report-copy p { flex: 1; font-size: 17px; line-height: 1.55; color: var(--paper-ink-2); }
.report-button { align-self: flex-start; padding: 10px 16px; background: var(--lime-surface); border-radius: 7px; font-family: var(--sans); font-size: 16px; font-weight: 600; color: var(--on-lime); text-decoration: none; transition: background 0.2s, transform 0.1s; }
.report-button:hover { background: var(--lime-surface-hi); transform: translateY(-1px); }
.report-cap { margin: 16px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--silver-mid); }

/* pricing */
.pricing-block .sub-h2 { margin-bottom: 18px; font-family: var(--cond); font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; line-height: 1; text-transform: uppercase; color: var(--silver-bright); }
.price-badge { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 8px 14px; border: 1px solid var(--border-strong); border-radius: 6px; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--silver-bright); }
.price-badge i { width: 9px; height: 9px; border-radius: 2px; background: var(--lime-surface); }
.outputs-label { margin-bottom: 16px; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--silver-mid); }
.price-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.price-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 26px 22px 22px; background: var(--surface2); border: 1px solid var(--border-strong); border-radius: 14px; box-shadow: var(--shadow-md); }
.price-card.featured { padding-top: 23px; border-top: 4px solid var(--lime-surface); }
.price-tag { position: absolute; top: -13px; right: 16px; padding: 4px 10px; background: var(--lime-surface); border-radius: 4px; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-lime); }
.price-name { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--silver-mid); }
.price-amt { margin: 10px 0 14px; font-family: var(--cond); font-size: 52px; font-weight: 900; line-height: 1; white-space: nowrap; color: var(--silver-bright); }
.price-amt small { margin-left: 4px; font-size: 15px; font-weight: 700; letter-spacing: 0.08em; color: var(--silver-mid); }
.price-pool { margin-bottom: 14px; padding: 9px 12px; background: var(--chip-bg); border-radius: 6px; font-family: var(--cond); font-size: 17px; font-weight: 700; letter-spacing: 0.06em; color: var(--silver-bright); }
.batch-points li { display: flex; align-items: flex-start; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 16px; color: var(--silver); }
.batch-points li:last-child { border-bottom: 0; }
.batch-points .chk { flex: 0 0 auto; width: 6px; height: 11px; margin: 5px 4px 0 3px; border-right: 2px solid var(--lime); border-bottom: 2px solid var(--lime); transform: rotate(45deg); }
.price-for { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); font-size: 15px; line-height: 1.5; color: var(--silver-mid); }
.price-note { max-width: 860px; margin: 22px 0 40px; font-size: 16.5px; line-height: 1.65; color: var(--silver-mid); }
.price-note b { color: var(--silver-bright); }
.price-note--lead { margin-bottom: 8px; font-size: 18px; }
.price-note--lead + .price-note { margin-top: 0; }
.price-h3 { margin: 0 0 18px; font-family: var(--cond); font-size: 30px; font-weight: 900; text-transform: uppercase; color: var(--silver-bright); }
.price-addon { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); margin-bottom: 40px; overflow: hidden; background: var(--surface2); border: 1px solid var(--border-strong); border-radius: 14px; }
.price-addon > div { padding: 24px 22px; border-left: 1px solid var(--border); }
.price-addon > div:first-child { border-left: 0; }
.price-addon b { display: block; margin-bottom: 8px; font-size: 20px; color: var(--silver-bright); }
.price-addon span { font-size: 16px; line-height: 1.5; color: var(--silver-mid); }
.price-addon .cell-k { display: block; margin-bottom: 10px; font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--silver-mid); }
.price-addon .cell-v { font-family: var(--cond); font-size: 34px; font-weight: 800; line-height: 1.05; color: var(--silver-bright); }
.price-addon .cell-v-text { font-size: 24px; }
.price-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 32px; }
.price-box { min-width: 0; padding: 28px 26px; background: var(--surface2); border: 1px solid var(--border-strong); border-radius: 14px; font-size: 16.5px; line-height: 1.6; color: var(--silver-mid); }
.price-box b { display: block; margin-bottom: 10px; font-size: 20px; line-height: 1.3; color: var(--silver-bright); }
.price-box .cell-k { display: block; margin-bottom: 12px; font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lime); }
.pricing-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.pricing-cta p { max-width: 560px; margin: 0; font-size: 15.5px; color: var(--silver-mid); }

/* security */
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.trust-card { display: flex; flex-direction: column; gap: 13px; min-width: 0; padding: 28px 24px; background: var(--surface2); border: 1px solid var(--border-strong); border-top: 3px solid var(--lime-surface); border-radius: 16px; box-shadow: var(--shadow-md); }
.trust-icon { flex: 0 0 auto; width: 32px; height: 32px; color: var(--lime); }
.trust-icon svg { display: block; width: 100%; height: 100%; }
.trust-title { font-family: var(--sans); font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -0.005em; color: var(--silver-bright); }
.trust-body { font-size: 14.5px; line-height: 1.65; color: var(--text-muted); }
.trust-body a { color: var(--silver-bright); }

/* ---------- 15 · Motion (only when scripts run; reduced motion respected) ---------- */
html.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22,1,0.36,1); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .tab-panel, .site-menu.is-open .site-menu-inner { animation: none; }
  .pillar, .btn-primary, .nav-cta, .report-button { transition: none; }
}


/* ---------- 15b · 2026-10-23 restructure ----------
   hero copy only · six steps · video + stats strip · add-on blocks ·
   "The Problem" button · restored results, security, done-for-you ·
   pricing as a section with the demo form · founder quote + closing line ·
   small legal footer · inner pages (The Problem, Test Drive, add-ons,
   Founder, FAQ) · holding page · menu drawer on wide screens. */
.hero--copy { padding-bottom: 34px; }
.hero-copy { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; }
.hero-copy .hero-h1 { margin-bottom: 16px; }
.hero-copy .hero-sub { max-width: 720px; }
.hero-copy .hero-actions-wrap { margin-top: 22px; }
.hero-copy .section-desc { margin-top: 0; }

.steps-section .page-head { margin-bottom: 18px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: var(--maxw); margin: 0 auto; }
.steps-grid .step-card { display: flex; flex-direction: column; gap: 0; padding: 18px 20px 20px; }
.steps-grid .step-card::after { display: none; }
.steps-grid .step-title { margin-bottom: 0; font-size: 18px; }
.steps-grid .step-badge { align-self: flex-start; }
.steps-note { max-width: var(--maxw); margin: 16px auto 0; font-size: 14.5px; line-height: 1.6; color: var(--text-muted); }
.steps-note b { font-weight: 600; color: var(--silver-mid); }

/* hero proof: paper in → one-click check → payroll batch out */
.flow-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; max-width: 960px; margin: 26px 0 0; padding: 0; list-style: none; }
.flow-step { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 6px; min-width: 0; min-height: 88px; padding: 16px 18px; background: var(--ledger); border: 1px solid var(--border-card); border-radius: 12px; transition: background 0.2s, border-color 0.2s; }
.flow-step:hover { background: var(--hover-tint); border-color: var(--lime-dim); }
.flow-step b { font-family: var(--cond); font-size: 22px; font-weight: 800; line-height: 1.1; letter-spacing: 0.02em; text-transform: uppercase; color: var(--silver-bright); }
.flow-step:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -19px; width: 10px; height: 10px; border-top: 2px solid var(--lime); border-right: 2px solid var(--lime); transform: translateY(-50%) rotate(45deg); }
.flow-step--out { border-color: var(--lime-dim); border-top: 3px solid var(--lime-surface); }
.flow-step--out:hover { border-color: var(--lime-dim); border-top-color: var(--lime-surface); }
@media (max-width: 768px) {
  .flow-strip { grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 18px; }
  .flow-step { min-height: 0; padding: 12px 16px; }
  .flow-step b { font-size: 19px; }
  .flow-step:not(:last-child)::after { top: auto; right: auto; bottom: -15px; left: 24px; transform: rotate(135deg); }
  .hero-h1 .accent { white-space: normal; }
}
@media (forced-colors: active) {
  .flow-step--out { border: 2px solid CanvasText; }
}
/* homepage hero: centred */
#home .flow-strip { margin-left: auto; margin-right: auto; }
#home .flow-step { align-items: center; }
@media (max-width: 768px) {
  #home .flow-step:not(:last-child)::after { left: 50%; margin-left: -5px; }
}

.video-section .hero-demo { max-width: 960px; margin: 0 auto; }
.stats-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 960px; margin: 22px auto 0; }
.stats-strip .proof-pill { font-size: 15px; }
.stats-strip .proof-pill b { font-weight: 700; color: var(--lime); }
.stats-strip .proof-pill a { color: inherit; text-decoration: underline; text-decoration-color: var(--lime-surface); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.stats-strip .proof-pill a:hover { color: var(--lime); }

.addons { display: grid; gap: 14px; max-width: var(--maxw); margin: 0 auto; }
.addon { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; align-items: center; padding: 24px 26px; background: var(--ledger); border: 1px solid var(--border-card); border-left: 4px solid var(--lime-surface); border-radius: 14px; transition: background 0.2s, border-color 0.2s; }
.addon:hover { background: var(--hover-tint); border-color: var(--lime-dim); border-left-color: var(--lime-surface); }
.addon .kicker { margin-bottom: 8px; color: var(--lime); }
.addon-h { margin-bottom: 8px; font-family: var(--cond); font-size: clamp(26px, 3vw, 38px); font-weight: 900; line-height: 1; text-transform: uppercase; color: var(--silver-bright); }
.addon-p { max-width: 720px; font-size: 16px; line-height: 1.6; color: var(--silver-mid); }
.addon .btn-primary { white-space: nowrap; }

.problem-band { text-align: center; }
.btn-lg { min-height: 56px; padding: 14px 32px; font-size: 17px; }
.btn-arrow::after { content: ""; display: inline-block; flex: 0 0 auto; width: 0.5em; height: 0.5em; margin-left: 0.6em; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }

/* restored: measured results (fine print unchanged) */
.results-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: var(--maxw); margin: 0 auto; }
.results-stat { min-width: 0; padding: 24px; background: var(--ledger); border: 1px solid var(--border-card); border-radius: 14px; }
.stat-number { font-family: var(--cond); font-size: 46px; font-weight: 900; line-height: 1; letter-spacing: -0.01em; color: var(--lime); }
.stat-label { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--silver-mid); }
.stat-label b { display: block; margin-bottom: 2px; font-size: 16.5px; font-weight: 600; color: var(--silver-bright); }
.results-fine { max-width: var(--maxw); margin: 18px auto 0; font-size: 14.5px; line-height: 1.6; color: var(--text-muted); }
.bench-drawer { max-width: var(--maxw); margin: 8px auto 0; }
.bench-drawer summary { display: inline-flex; align-items: center; gap: 8px; width: fit-content; min-height: 44px; padding: 6px 0; list-style: none; cursor: pointer; font-size: 16px; font-weight: 600; color: var(--silver-bright); text-decoration: underline; text-decoration-color: var(--lime-surface); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.bench-drawer summary::-webkit-details-marker { display: none; }
.bench-drawer summary:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; border-radius: 6px; }
.accuracy-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.accuracy-card { min-width: 0; padding: 22px; background: var(--surface2); border: 1px solid var(--border-strong); border-radius: 14px; }
.accuracy-card:first-child { padding-top: 20px; border-top: 3px solid var(--lime-surface); }
.accuracy-big { margin-bottom: 8px; font-family: var(--cond); font-size: 52px; font-weight: 900; line-height: 1; color: var(--silver-bright); }
.accuracy-label { margin-bottom: 8px; font-family: var(--sans); font-size: 17px; font-weight: 600; color: var(--silver-bright); }
.accuracy-note { font-size: 15px; line-height: 1.55; color: var(--silver-mid); }
.accuracy-note b { font-weight: 600; color: var(--silver-bright); }

/* restored: security, done-for-you rule onboarding */
.security-section .trust-grid { max-width: var(--maxw); margin: 0 auto; }
.setup-callout { max-width: var(--maxw); margin: 0 auto; padding: 28px 30px; background: var(--ledger); border: 1px solid var(--lime-dim); border-left: 4px solid var(--lime-surface); border-radius: 16px; }
.setup-badge { display: inline-block; margin-bottom: 12px; padding: 5px 12px; background: var(--lime-surface); border-radius: 999px; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-lime); }
.setup-h { margin-bottom: 10px; font-family: var(--cond); font-size: clamp(26px, 3vw, 38px); font-weight: 900; line-height: 1.04; text-transform: uppercase; color: var(--silver-bright); }
.setup-callout p { max-width: 880px; font-size: 16.5px; line-height: 1.65; color: var(--silver); }

/* pricing as a homepage section, ending with the demo form */
.pricing-section .pricing-block { max-width: var(--maxw); margin: 0 auto; }
.contact-wrap { max-width: var(--maxw); margin: 32px auto 0; }
.contact-wrap .cta-card { max-width: 760px; margin: 0 auto; }

/* founder quote and closing line */
.quote-wrap { max-width: var(--maxw); margin: 0 auto; text-align: center; }
.quote-wrap .founder-quote { max-width: 900px; margin-left: auto; margin-right: auto; padding: 0; border-left: 0; font-size: clamp(20px, 2.3vw, 28px); }
.quote-wrap .founder-quote::before { content: ""; display: block; width: 56px; height: 3px; margin: 0 auto 18px; background: var(--lime-surface); }
.quote-wrap .closing-line { margin-left: auto; margin-right: auto; }
.quote-wrap .founder-quote { font-weight: 900; }
.founder-quote { font-weight: 900; }
.founder-bio { font-weight: 600; color: var(--silver-bright); }
/* lines naming the company read in the body font so "myCrewIQ" keeps its wordmark casing */
.fi-role { font-family: var(--sans); font-size: 17px; font-weight: 700; letter-spacing: 0.01em; text-transform: none; }
.founder-cap { font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0.01em; text-transform: none; }
.fi-role .brand-name, .founder-cap .brand-name { font-weight: 800; }
.founder-bio b { color: var(--lime); }
.quote-wrap .closing-line + .quote-by { margin-top: 16px; }
.quote-by { margin-top: 6px; font-size: 15px; line-height: 1.6; color: var(--silver-mid); }
.quote-by b { color: var(--silver-bright); }
.quote-by a { white-space: nowrap; color: var(--lime); text-decoration: none; border-bottom: 1px solid var(--lime-dim); }
.closing-line { max-width: 900px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border); font-family: var(--cond); font-size: clamp(22px, 2.6vw, 32px); font-weight: 900; line-height: 1.1; text-transform: uppercase; color: var(--silver-bright); }

/* small legal footer */
footer.site-footer--small { padding-top: 24px; }
.footer-small { max-width: var(--maxw); margin: 0 auto; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.footer-legal a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14.5px; color: var(--silver-bright); text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; text-decoration-color: var(--lime-surface); text-underline-offset: 4px; }
footer.site-footer--small .footer-note { margin-top: 10px; }
footer.site-footer--small .footer-bottom { margin-top: 16px; }

/* inner pages */
.page-hero { padding-bottom: 30px; }
.page-h1 { margin-bottom: 14px; font-family: var(--cond); font-size: clamp(36px, 4.8vw, 64px); font-weight: 900; line-height: 0.95; letter-spacing: 0.005em; text-transform: uppercase; color: var(--silver-bright); }
.cta-band { text-align: center; }
.cta-band .hero-actions { justify-content: center; }
.cta-band .hero-cta-note { margin-top: 14px; }
.faq-page .faq-list { max-width: 900px; margin: 0 auto; }
.sample-links { display: flex; flex-wrap: wrap; gap: 12px; max-width: var(--maxw); margin: 18px auto 0; }
.plain-wrap { max-width: var(--maxw); margin: 0 auto; }
.holding-note { max-width: var(--maxw); margin: 0 auto 20px; padding: 14px 18px; border: 1px dashed var(--border-loud); border-radius: 12px; font-size: 14.5px; color: var(--silver-mid); }
.holding-h { max-width: var(--maxw); margin: 0 auto 12px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lime); }
.holding-section .hero-pillars, .holding-section .proof-strip { grid-area: auto; max-width: var(--maxw); margin: 0 auto; }
.holding-section .proof-strip { margin-top: 14px; }
.holding-list { max-width: var(--maxw); margin: 0 auto; display: grid; gap: 8px; font-size: 15.5px; line-height: 1.6; color: var(--silver); }
.holding-list li { padding-left: 14px; border-left: 2px solid var(--lime-dim); }
.holding-img { display: block; width: 100%; max-width: 520px; height: auto; margin: 0 auto; border: 1px solid var(--border-card); border-radius: 12px; }
.holding-section .hero-shot { margin: 14px 0 0; }
.holding-section .hero-shot img { display: block; width: 100%; max-width: 520px; height: auto; border: 1px solid var(--border-card); border-radius: 12px; }
.holding-section .solution-layer { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; margin-bottom: 14px; }
.holding-section .layer-number { font-family: var(--mono); color: var(--lime); }
.holding-section .layer-title, .holding-section .failure-title, .holding-section .faq-card h3 { margin-bottom: 6px; font-size: 17px; font-weight: 700; color: var(--silver-bright); }
.holding-section .layer-tag { margin-left: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lime); }
.holding-section .failure-item, .holding-section .faq-card { margin-bottom: 14px; padding: 16px 18px; background: var(--ledger); border: 1px solid var(--border-card); border-radius: 12px; }
.holding-section .failure-number { font-family: var(--mono); font-size: 12px; color: var(--lime); }
.holding-section .setup-callout { margin-top: 14px; }

/* the menu drawer on wide screens: three columns */
@media (min-width: 769px) {
  .menu-groups { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
  .menu-group--primary a { min-height: 40px; font-size: 22px; }
}
@media (max-width: 1023px) {
  .accuracy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .addon { padding: 20px 18px; }
  .addon .btn-primary { width: 100%; white-space: normal; }
  .results-stat { padding: 18px; }
  .stat-number { font-size: 40px; }
  .accuracy-big { font-size: 44px; }
  .setup-callout { padding: 22px 18px; }
  .quote-wrap .founder-quote { font-size: 19px; }
  .footer-legal { gap: 0 18px; }
}

/* ---------- 16 · Responsive ---------- */
@media (max-width: 1100px) {
  .site-nav .nav-links { gap: 20px; }
  .site-nav .nav-links a { font-size: 14px; }
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1040px) {
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 961px) {
  .pillar-k { min-height: 2.9em; }        /* two label lines, so every pillar body starts level */
  .cta-form { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; }
}
@media (min-width: 769px) and (max-width: 1023px) {
  .ledger-desc { font-size: 14px; }       /* 3 × 2 holds down to 769px, per the spec */
}
@media (min-width: 769px) and (max-width: 960px) {
  .pillar-k { min-height: 4.35em; }
}
/* short desktop windows (laptops with browser chrome): keep pillars and proof in view */
@media (min-width: 769px) and (max-height: 820px) {
  .hero { padding-top: 22px; padding-bottom: 26px; }
  .hero-h1 { margin-bottom: 12px; font-size: clamp(40px, 4.6vw, 62px); }
  .hero-sub { font-size: 16px; line-height: 1.5; }
  .hero-actions-wrap { margin-top: 16px; }
  .hero-pillars { margin-top: 18px; }
  .pillar { padding: 11px 14px; }
  .proof-strip { margin-top: 10px; }
}
@media (max-width: 960px) {
  :root { --pad-x: 32px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "sub" "actions" "pillars" "proof" "visual"; }
  .hero-visual { justify-self: center; max-width: 640px; margin-top: 22px; }
  .founder-hero { grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 28px; }
  .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .report-gallery, .report-gallery.workbook { grid-template-columns: minmax(0, 1fr); }
  .report-card.sample.summary { grid-column: auto; }
  .lbs .lbs-kpis.kpi4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lbs .lbs-kpis.kpi5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lbs .lbs-kpis.kpi3, .lbs .lbs-charts { grid-template-columns: minmax(0, 1fr); }
  .lbs .lbs-bar--plan span, .lbs .lbs-bar--fc span { display: none !important; }
  .funds-card { grid-template-columns: minmax(0, 1fr); }
  .funds-preview { border-right: 0; border-bottom: 1px solid var(--border); }
  .footer-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (min-width: 768.02px) and (max-width: 900px) {   /* .02: no gap for fractional widths */
  .site-nav { gap: 12px; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
  .site-nav .brand-img { height: 26px; }
  .site-nav .nav-links { gap: 14px; }
  .site-nav .nav-links a { font-size: 13px; }
  .nav-actions { gap: 8px; }
  .nav-cta { padding: 8px 14px; font-size: 13.5px; }
}

/* iOS Safari & Android Chrome parity: same palette, borders and cards as desktop */
@media (max-width: 768px) {
  :root { --pad-x: 20px; --section-y: 36px; }
  main > section, .hero { min-height: auto; }
  .hero { padding: 22px max(var(--pad-x), env(safe-area-inset-right)) 30px max(var(--pad-x), env(safe-area-inset-left)); }
  /* phones: the 2 × 2 pillars sit right under the headline, so the onboarding and
     labor-budget pillars are visible without scrolling even with browser bars showing */
  .hero-grid { grid-template-areas: "head" "pillars" "sub" "actions" "proof" "visual"; }
  .hero-h1 { margin-bottom: 4px; font-size: clamp(36px, 11.2vw, 50px); line-height: 0.95; }
  .hero-sub { margin-top: 4px; font-size: 15.5px; line-height: 1.55; }
  .hero-pillars, .hero-actions-wrap, .proof-strip, .hero-visual { margin-top: 0; }
  .pillar { gap: 4px; padding: 11px 12px; }
  .pillar-k { font-size: 10.5px; letter-spacing: 0.05em; }
  .pillar-d { font-size: 13px; line-height: 1.42; }
  .hero-actions .btn-primary, .hero-actions .btn-secondary { flex: 1 1 auto; }
  .proof-pill { border-radius: 12px; }
  .hero-visual { max-width: none; }
  .section-desc { font-size: 15.5px; }

  /* every multi-column grid becomes a clean single-column stack ... */
  .hero-grid, .proof-strip, .ledger-grid, .step-grid, .funds-card, .founder-hero, .faq-layout, .faq-list,
  .footer-inner, .menu-groups, .report-gallery, .report-gallery.workbook, .price-grid, .price-three,
  .price-addon, .trust-grid, .lbs .lbs-kpis, .lbs .lbs-kpis.kpi4, .lbs .lbs-inputs, .cta-form,
  .steps-grid, .results-stats, .accuracy-grid, .addon {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }
  .proof-strip { display: grid; }
  .lbs .lbs-inputs { gap: 2px; }
  .lbs .lbs-inputs dd { margin-bottom: 6px; }
  /* ... except the 4 hero pillars and the 4 showcase tabs: a compact 2 × 2 */
  .hero-pillars, .tab-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px;
  }
  .step-card:not(:last-child)::after { display: none; }
  .tab { min-height: 54px; padding: 9px 8px; font-size: 13.5px; }
  .tab-panel { padding: 18px 14px; border-radius: 14px; }
  .tp-sub { font-size: 15px; }
  .table-hint { display: flex; }
  .rtable th, .rtable td { padding: 8px 10px; }
  .rtable td { font-size: 13.5px; }
  .rtable th { font-size: 10.5px; }
  .funds-copy { padding: 18px; }
  .lbs .lbs-card { padding: 16px; }
  .lbs .lbs-flush > h2, .lbs .lbs-flush > h3, .lbs .lbs-flush > h4, .lbs .lbs-flush > p { padding-left: 16px; padding-right: 16px; }
  .lbs .lbs-kpi__value { font-size: 26px; }
  .founder-photo { max-width: 220px; }
  .price-addon > div { border-left: 0; border-top: 1px solid var(--border); }
  .price-addon > div:first-child { border-top: 0; }
  .price-amt { font-size: 46px; }
  footer { padding: 36px max(var(--pad-x), env(safe-area-inset-right)) 22px max(var(--pad-x), env(safe-area-inset-left)); }
  .footer-col:not(.footer-brand) { flex-direction: row; flex-wrap: wrap; gap: 2px 18px; }
  .footer-h { flex-basis: 100%; }
  .footer-col a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
  .footer-bottom { flex-direction: column; }
  .sample-dlg { width: calc(100vw - 16px); max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); border-radius: 14px; }
  .dlg-head { padding: 10px 14px; }
  .dlg-head h2 { font-size: 21px; }
  .dlg-body { padding: 14px; }
  .report-card { padding: 12px; }
  .report-preview, .report-card.sample.summary .report-preview { min-height: 0; padding: 12px; }
  .report-preview img, .report-card.sample.summary .report-preview img { width: 100%; max-height: none; }
  .report-copy { padding: 18px; }

  /* mobile header: logo, theme, CTA and a 44 × 44 menu button on one row */
  .site-nav { gap: 8px; padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); grid-template-columns: minmax(0, 1fr) auto; }
  .site-nav .brand-img { height: 26px; font-size: 18px; line-height: 26px; }
  .nav-actions { gap: 6px; }
  .theme-toggle { width: 44px; height: 44px; min-width: 44px; min-height: 44px; }
  .nav-cta { min-height: 44px; padding: 8px 14px; font-size: 14px; }

  /* iOS Safari never zooms into the demo form */
  input, textarea, select { font-size: 16px !important; }
}
@media (max-width: 360px) {
  .site-nav { padding-left: max(12px, env(safe-area-inset-left)); padding-right: max(12px, env(safe-area-inset-right)); }
  .site-nav .brand-img { height: 22px; font-size: 15px; line-height: 22px; }
  .nav-cta { padding: 8px 11px; font-size: 13px; }
}
@media print {
  .site-nav, .site-menu, .menu-btn, .hero-visual, .tab-list, .theme-toggle, .demo-replay, .demo-toggle, .dlg-close, .table-hint { display: none !important; }
  main { padding-top: 0; }
  html.js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .tab-panel[hidden] { display: block !important; }
  .panel-label { display: block !important; }
  html.js .faq-item:not(.is-open) .faq-a { display: block !important; }
  .ledger-card, .step-card, .faq-item, .tab-panel, .lbs-card, .pillar { break-inside: avoid; }
}
/* Windows contrast themes: icons drawn with backgrounds would vanish */
@media (forced-colors: active) {
  .menu-btn .bars::before, .menu-btn .bars::after, .faq-icon::before, .faq-icon::after, .proof-pill i, .cred-badges li::before { forced-color-adjust: none; background: CanvasText; }
  .tab[aria-selected="true"] { outline: 2px solid Highlight; outline-offset: -2px; }
}

/* ---------- 17 · Navbar lock: top-bar links from 769px, hamburger everywhere ---------- */
@media (min-width: 769px) {
  .desktop-nav-links {
    display: flex !important;
    align-items: center;
    gap: 28px;
  }
}
@media (max-width: 768px) {
  .desktop-nav-links {
    display: none !important;
  }
}
.hamburger, .mobile-menu-btn, .nav-toggle {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

/* ---------- 18 · 2026-10-24 Round 2 ----------
   step descriptions · five Trust & Security cards · two add-on cards ·
   phone pricing toggles (native details) · footer trademark line.
   Plain CSS with fallbacks: no :has(), container queries or nesting. */
.steps-grid .step-title { margin-bottom: 6px; }
.steps-grid .step-desc { font-size: 15.5px; line-height: 1.6; color: var(--silver-mid); }

/* five cards wrap 3 + 2 (2 + 2 + 1 on tablets), the short row centred */
.security-section .trust-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.security-section .trust-card { flex: 1 1 calc((100% - 40px) / 3 - 1px); max-width: calc((100% - 40px) / 3); }
@media (max-width: 1040px) {
  .security-section .trust-card { flex-basis: calc((100% - 20px) / 2 - 1px); max-width: calc((100% - 20px) / 2); }
}
@media (max-width: 768px) {
  .security-section .trust-grid { display: grid; }
  .security-section .trust-card { max-width: none; }
}

/* two add-on cards; the new-hire fine print sits under the second */
.price-addon { margin-bottom: 16px; }

/* rich add-on rows: hook, before → after swap, link; Pro tier echoes the featured plan card */
/* header strip above four price cards that line up under the plan cards */
.price-addon--rich { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 28px; overflow: visible; background: none; border: 0; border-radius: 0; }
.price-addon--rich > div:not(.addon-lead) { display: flex; flex-direction: column; padding: 22px 22px 20px; background: var(--surface2); border: 1px solid var(--border-strong); border-radius: 14px; box-shadow: var(--shadow-md); }
.price-addon--rich > div.is-pro:not(.addon-lead) { padding-top: 19px; border-top: 4px solid var(--lime-surface); }
.price-addon--rich .cell-k { margin-bottom: 10px; font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--silver-mid); }
.price-addon--rich .cell-v { font-family: var(--cond); font-size: 52px; font-weight: 900; line-height: 1; white-space: nowrap; color: var(--silver-bright); }
.price-addon--rich .cell-v small { margin-left: 4px; font-size: 15px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--silver-mid); }
.price-addon--rich .cell-v-text { font-size: 34px; line-height: 1.05; white-space: normal; }
.price-addon.price-addon--rich > .addon-lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 40px; align-items: center; padding: 22px 26px; background: var(--ledger); border: 1px solid var(--border-card); border-left: 4px solid var(--lime-surface); border-radius: 14px; }
.price-addon--rich .addon-lead-main, .price-addon--rich .addon-lead-side { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.price-addon--rich .addon-lead b { display: inline-block; margin: 2px 0 4px; padding: 8px 16px; background: var(--lime-surface); border-radius: 8px; box-shadow: 0 0 0 4px var(--lime-glow); font-family: var(--cond); font-size: 24px; font-weight: 900; line-height: 1.05; letter-spacing: 0.03em; text-transform: uppercase; color: var(--on-lime); }
.price-addon--rich .addon-k { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lime); }
.price-addon--rich .addon-hook { margin: 0; font-family: var(--cond); font-size: clamp(26px, 2.6vw, 34px); font-weight: 900; line-height: 1; text-transform: uppercase; text-wrap: balance; color: var(--silver-bright); }
.price-addon--rich .addon-hook span { font-size: inherit; line-height: inherit; color: inherit; }
.price-addon--rich .addon-hook .accent { font-size: inherit; line-height: inherit; color: var(--lime); }
.addon-note { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--text-muted); }
.addon-q { max-width: 720px; margin: 12px auto 0; font-size: 17px; font-weight: 700; line-height: 1.5; color: var(--silver-bright); }
.price-addon--rich .addon-more { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--silver-bright); text-decoration: underline; text-decoration-color: var(--lime-surface); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.price-addon--rich .addon-more:hover { color: var(--lime); }
.price-addon--rich .addon-more:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; border-radius: 4px; }
@media (max-width: 1100px) {
  .price-addon--rich { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .price-addon.price-addon--rich > .addon-lead { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 768px) {
  .price-addon.price-addon--rich { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px; }
  .price-addon.price-addon--rich > .addon-lead { padding: 20px 18px; border: 1px solid var(--border-card); border-left: 4px solid var(--lime-surface); }
  .price-addon--rich > div:not(.addon-lead) { padding: 16px; border: 1px solid var(--border-strong); }
  .price-addon--rich > .is-pro { padding-top: 13px; border-top: 4px solid var(--lime-surface); }
  .price-addon--rich .cell-v { font-size: 34px; }
  .price-addon--rich .cell-v small { font-size: 12px; }
  .price-addon--rich .cell-v-text { font-size: 22px; }
}

/* pricing toggles: a <details> around each plan's bullets and each add-on's description */
.price-more { display: block; margin: 0; }
.price-more-s {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  margin: 0 0 4px;
  padding: 9px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  list-style: none;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--silver-bright);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.price-more-s::-webkit-details-marker { display: none; }
.price-more-s::marker { content: ""; }
.price-addon .price-more-s span, .price-more-s span { font-size: 15px; line-height: 1.3; color: inherit; }
.price-more-s::after {
  content: "";
  flex: 0 0 auto;
  width: 0.5em;
  height: 0.5em;
  margin-right: 2px;
  border-right: 2px solid var(--lime);
  border-bottom: 2px solid var(--lime);
  transform: translateY(-0.15em) rotate(45deg);
  transition: transform 0.2s;
}
.price-more[open] > .price-more-s::after { transform: translateY(0.15em) rotate(-135deg); }
.price-more-s:hover { background: var(--hover-tint); border-color: var(--lime); color: var(--lime); }
.price-more-s:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.price-more-b { padding-top: 8px; }
.price-more-b .batch-points { margin-bottom: 0; }
.price-addon .price-more-b > span { display: block; }
@media (min-width: 769px) {
  /* nothing collapses from 769px: with scripts running the toggle is hidden and the content is open */
  html.js .price-more > .price-more-s { display: none; }
  html.js .price-more > .price-more-b { padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .price-more-s, .price-more-s::after { transition: none; }
}
@media (forced-colors: active) {
  .price-more-s::after { border-color: CanvasText; }
}

/* footer trademark line */
.footer-trademark { margin-top: 6px; font-size: 12.5px; }

/* tap targets: 44px at every width (iPad landscape is a touch screen at 1024px) */
.nav-links a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
.theme-toggle { width: 44px; height: 44px; min-width: 44px; min-height: 44px; }
.nav-cta { min-height: 44px; }
.menu-foot a, .footer-bottom a { padding-top: 12px; padding-bottom: 12px; margin-top: -12px; margin-bottom: -12px; }

/* ---------- Live Labor Budget page (2026-10-25): the tool's own screens, one per theme, and the worked example ---------- */
.shot { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--border); }
.shot--light { display: none; }
html[data-theme="light"] .shot--dark { display: none; }
html[data-theme="light"] .shot--light { display: block; }
.report-card--shot { max-width: none; margin: 14px 0 16px; padding: 12px; }
.report-card--shot .report-cap { margin: 12px 4px 2px; }
.steps-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .steps-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .steps-grid--4 { grid-template-columns: 1fr; } }
.example-section .tab-panel { animation: none; }
.example-part { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--border); }
.example-h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-family: var(--sans); font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--silver-bright); }
.example-n { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 999px; background: var(--lime-surface); color: var(--on-lime); font-family: var(--cond); font-size: 16px; font-weight: 800; }
.example-p { max-width: 860px; margin-bottom: 12px; font-size: 16px; line-height: 1.6; color: var(--silver-mid); }
.example-p b { color: var(--silver-bright); font-weight: 600; }
.example-table { max-width: none; margin: 14px 0 16px; }
.example-table .lbs-card { margin: 0; }
.example-table h4 { padding: 18px 22px 0; margin: 0 0 8px; font-family: var(--cond); font-weight: 800; font-size: 17px; letter-spacing: 0.03em; text-transform: uppercase; color: var(--silver-bright); }
.example-facts { list-style: none; margin: 26px 0 10px; padding: 18px 0 0; border-top: 1px solid var(--border); display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px 24px; }
.example-facts li { font-size: 15px; line-height: 1.55; color: var(--silver-mid); }
.example-facts b { color: var(--silver-bright); font-weight: 600; }
.call-alert--ok { border-left-color: var(--lime-surface); }
.call-alert a { color: var(--silver-bright); text-decoration: underline; text-decoration-color: var(--lime-surface); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.addon-shot { grid-column: 1 / -1; display: grid; gap: 10px; margin-top: 4px; }
.addon-shot .call-alert { margin-bottom: 0; }
.addon-shot .call-alert p { font-size: 14.5px; }

/* two stat tiles under the walkthrough */
.stats-tiles { gap: 0; margin-top: 28px; }
.stat-tile { display: flex; flex-direction: column; align-items: center; padding: 4px 40px; text-align: center; }
.stat-tile + .stat-tile { border-left: 1px solid var(--border-strong); }
.stat-tile a { display: flex; flex-direction: column; align-items: center; min-height: 44px; color: inherit; text-decoration: none; }
.stat-big { font-family: var(--cond); font-size: clamp(34px, 3.8vw, 46px); font-weight: 900; line-height: 1; letter-spacing: 0.01em; text-transform: uppercase; color: var(--lime); }
.stat-tile span { margin-top: 6px; font-size: 15px; color: var(--silver-mid); }
.stat-tile a:hover span { color: var(--silver-bright); text-decoration: underline; text-decoration-color: var(--lime-surface); text-underline-offset: 4px; }
.stat-tile a:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; border-radius: 6px; }
@media (max-width: 600px) {
  .stats-tiles { flex-direction: column; align-items: center; gap: 18px; }
  .stat-tile { padding: 0; }
  .stat-tile + .stat-tile { padding-top: 18px; border-left: 0; border-top: 1px solid var(--border-strong); }
}
/* homepage budget example: live HTML, readable at any width in both themes */
.lbs-home { max-width: none; margin: 4px 0 0; padding: 20px; background: var(--surface2); border: 1px solid var(--border-strong); border-radius: 16px; }
.lbs-home .lbs-home__title { margin: 0 0 14px; font-size: 14px; text-align: center; color: var(--silver); }
.lbs-home .lbs-kpi { text-align: center; }
.lbs-home .lbs-home__title b { color: var(--silver-bright); }
.lbs-home .lbs-kpi { background: var(--ledger); }
.lbs-home .lbs-kpi--good { border-color: var(--lime-dim); box-shadow: inset 0 3px 0 var(--lime-surface); }
.lbs-home .lbs-kpi--good .lbs-kpi__value { color: var(--lime); }
.lbs-home .lbs-consumed { background: var(--ledger); }
.lbs-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; }
.lbs-days li { position: relative; padding: 8px 4px; background: var(--ledger); border: 1px solid var(--border-strong); border-radius: 10px; font-family: var(--mono); font-size: 11px; line-height: 1.3; text-align: center; color: var(--silver); }
.lbs-days b { display: block; font-family: var(--cond); font-size: 18px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--silver-bright); }
.lbs-days .is-done::after { content: ""; position: absolute; top: 7px; right: 9px; width: 4px; height: 8px; border-right: 2px solid var(--lime); border-bottom: 2px solid var(--lime); transform: rotate(45deg); }
.lbs-days .is-next { border: 2px solid var(--lime-surface); color: var(--lime); }
.lbs-home .call-alert { justify-content: center; text-align: center; }
.lbs-home .call-alert p { font-weight: 700; color: var(--silver-bright); }
@media (max-width: 600px) {
  .lbs-home { padding: 14px; }
  .lbs-days { gap: 4px; }
  .lbs-days li { padding: 6px 2px; font-size: 9px; }
  .lbs-days b { font-size: 15px; }
}
/* ---------- 19 · Centred layout (2026-10-25): headings, intros, cards and calls to action; tables, charts, FAQ answers and form inputs stay left ---------- */
.hero-copy, .page-head, .steps-note, .results-fine, .price-note, .price-h3, .outputs-label, .pricing-block, .tp-head, .tp-foot, .cta-card, .footer-small, .addon, .example-part > .example-p { text-align: center; }
.hero-copy .hero-sub, .page-head .section-desc, .price-note, .tp-sub, .addon-p, .cc-sub, .example-p { margin-left: auto; margin-right: auto; }
.hero-actions, .tp-pills, .sample-links, .footer-legal, .footer-bottom, .cta-links { justify-content: center; }
.footer-bottom { flex-direction: column; align-items: center; }
.step-card, .ledger-card, .trust-card, .results-stat, .accuracy-card, .price-card, .price-box, .price-addon--rich > div:not(.addon-lead), .flow-step { text-align: center; align-items: center; }
.steps-grid .step-badge { align-self: center; }
.trust-icon { margin: 0 auto; }
.price-card .batch-points li { justify-content: center; }
.price-addon--rich .addon-lead-main, .price-addon--rich .addon-lead-side { align-items: center; text-align: center; }
.price-addon--rich .addon-more { align-self: center; }
.price-more-s { justify-content: center; }
.addon { grid-template-columns: minmax(0, 1fr); justify-items: center; }
.addon-shot { justify-self: stretch; text-align: left; }

/* small mono labels (kickers, badges, tier names): heavier and brighter so they hold up on black */
.kicker, .step-badge, .menu-group .group-h, .pillar-k, .tp-pills li, .panel-label, .rtable th, .funds-k, .founder-cap, .fi-role, .cred-badges li, .cta-field label, .cta-fine, .footer-h, .price-badge, .outputs-label, .price-name, .price-addon .cell-k, .price-box .cell-k, .price-addon--rich .cell-k, .price-addon--rich .addon-k, .lbs-days li, .table-hint { font-weight: 700; }
.kicker { color: var(--silver-mid); }
.kicker.hero-kicker { display: inline-block; margin-bottom: 18px; padding: 8px 18px; background: var(--lime-surface); border-radius: 999px; box-shadow: 0 0 0 4px var(--lime-glow); font-size: 15px; letter-spacing: 0.22em; color: var(--on-lime); }
.price-name { font-family: var(--cond); font-size: 26px; font-weight: 900; letter-spacing: 0.06em; color: var(--silver-bright); }
.price-card, .price-addon--rich > div:not(.addon-lead) { transition: background 0.2s, border-color 0.2s; }
.price-card:hover, .price-addon--rich > div:not(.addon-lead):hover { background: var(--hover-tint); border-color: var(--lime-dim); }
.price-card.featured:hover, .price-addon--rich > .is-pro:hover { border-top-color: var(--lime-surface); }
/* every card-style box gets the same faint green hover */
.trust-card, .results-stat, .accuracy-card, .price-box, .addon, .price-addon--rich > .addon-lead, .lbs-home .lbs-kpi, .lbs-days li, .lbs-home .lbs-consumed, .call-alert, .cta-card, .tab-panel, .lbs-card, .report-card, .math-drawer, .pillar, .faq-item, .cred-badges li { transition: background 0.2s, border-color 0.2s; }
.trust-card:hover, .results-stat:hover, .accuracy-card:hover, .price-box:hover, .addon:hover, .price-addon--rich > .addon-lead:hover, .lbs-home .lbs-kpi:hover, .lbs-days li:hover, .lbs-home .lbs-consumed:hover, .call-alert:hover, .cta-card:hover, .lbs-card:hover, .math-drawer:hover, .cred-badges li:hover { background: var(--hover-tint); border-color: var(--lime-dim); }
.trust-card:hover, .cta-card:hover { border-top-color: var(--lime-surface); }
.price-addon--rich > .addon-lead:hover { border-left-color: var(--lime-surface); }
.addon:hover { border-left-color: var(--lime-surface); }
.call-alert:hover { border-left-color: var(--lime-surface); }
.lbs-days .is-next:hover { border-color: var(--lime-surface); }
.pricing-cta { justify-content: center; text-align: center; }
.bench-drawer summary { margin: 0 auto; }
.bench-drawer { text-align: center; }
.cta-form { text-align: left; }
.lbs, .rtable, .faq-a, .lbs-inputs, .math-drawer, .table-scroll { text-align: left; }

/* 20. Live Labor Budget page — live HTML example (replaces screenshots) */
.ex-setup { max-width: 760px; margin: 18px auto 0; }
.lbs-home .lbs-card { margin: 0 0 14px; }
.lbs .lbs-good { color: var(--lime); }
.lbs .lbs-bad { color: var(--danger); }
.lbs .lbs-row-next td { background: var(--hover-tint); }
.lbs .lbs-row-next td:first-child { box-shadow: inset 3px 0 0 var(--lime-surface); }
.lbs-line { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin: 0 0 16px; }
.lbs-line__cell { padding: 10px 8px; background: var(--surface2); border: 1px solid var(--border-strong); border-radius: 10px; text-align: center; }
.lbs-line__cell small { display: block; margin-bottom: 4px; font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--silver); }
.lbs-line__cell b { font-family: var(--mono); font-size: 17px; white-space: nowrap; color: var(--white); }
.lbs-line__cell--total { border: 2px solid var(--lime-surface); }
.lbs-line__cell--total b { color: var(--lime); }
.lbs-burn2 { display: block; width: 100%; max-width: 720px; height: auto; margin: 0 auto; overflow: visible; }
.lbs-burn2 line, .lbs-burn2 polyline { vector-effect: non-scaling-stroke; }
.lbs-burn2 .lbs-svg-y { font-family: var(--mono); font-size: 11px; fill: var(--silver); }
.lbs-burn2 .lbs-svg-x { font-family: var(--mono); font-size: 12px; font-weight: 700; text-anchor: middle; fill: var(--silver-bright); }
.lbs-burn2 .lbs-svg-x[text-anchor="start"] { text-anchor: start; }
.lbs-burn2 .lbs-svg-x--end { text-anchor: end; }
.lbs-home td:first-child { white-space: nowrap; }
.lbs-burn2 .lbs-today { stroke: var(--lime-dim); stroke-width: 1; stroke-dasharray: 3 3; }
.lbs-burn2 .lbs-dot2 { fill: var(--lime); stroke: var(--bg); stroke-width: 2; }
.lbs-pairs { display: grid; gap: 12px; margin-top: 6px; }
.lbs-pair { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; align-items: center; }
.lbs-pair__k { font-size: 14px; font-weight: 600; color: var(--silver-bright); }
.lbs-pair__k span { display: block; font-family: var(--mono); font-size: 12.5px; color: var(--lime); }
.lbs-pair__k span.is-over { color: var(--silver); }
.lbs-pair__bars { display: grid; gap: 4px; }
.lbs-pair__bars i { display: block; height: 12px; width: var(--w); border-radius: 3px; }
@media (max-width: 600px) {
  .lbs-line { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lbs-line__cell--total { grid-column: span 3; }
  .lbs-line__cell b { font-size: 15px; }
  .lbs-pair { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .lbs-burn2 .lbs-svg-x { font-size: 26px; }
  .lbs-burn2 .lbs-svg-y { font-size: 24px; }
  .lbs-home .lbs-card:not(.lbs-flush) { padding: 12px; }
  .lbs-home { padding: 10px; }
}

/* 21. Contribution + payroll sample reports (live HTML) */
.crep { margin: 0 0 16px; text-align: left; }
.crep-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 18px 20px 14px; border-bottom: 1px solid var(--border); }
.crep-k { margin: 0; font-family: var(--cond); font-size: 22px; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; color: var(--white); }
.crep-meta { margin: 2px 0 0; font-size: 14px; color: var(--silver); }
.crep-head .crep-amt { font-family: var(--mono); font-size: 22px; color: var(--lime); }
.crep-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 16px 20px; }
.crep-tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 16px; padding: 0; }
.crep-tile { display: flex; flex-direction: column; gap: 4px; padding: 14px; background: var(--ledger); border: 1px solid var(--border-strong); border-radius: 12px; text-align: center; }
.crep-tile--total { border: 2px solid var(--lime-surface); }
.crep-fund { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--silver); }
.crep-tile .crep-amt { font-family: var(--mono); font-size: 20px; font-weight: 700; color: var(--white); white-space: nowrap; }
.crep-tile--total .crep-amt { color: var(--lime); }
.crep-calc { font-family: var(--mono); font-size: 12.5px; color: var(--silver-mid); }
.crep .rtable tfoot td { padding: 12px 14px; border-top: 2px solid var(--border-strong); font-family: var(--mono); font-weight: 700; color: var(--white); }
.crep .rtable tfoot td.num { text-align: right; }
.crep .rtable td.num { font-family: var(--mono); font-size: 14px; }
.crep-table { min-width: 640px; }
.crep-rest td { font-style: italic; }
.crep-mini { min-width: 0; }
.crep-mini td, .crep-mini th, .crep .crep-mini tfoot td { padding: 9px 16px; }
.crep-tie { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0; padding: 14px 20px; border-top: 1px solid var(--border); font-size: 14.5px; font-weight: 600; color: var(--silver-bright); }
.crep-check { position: relative; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--lime-surface); }
.crep-check::after { content: ""; position: absolute; top: 4px; left: 7px; width: 5px; height: 9px; border-right: 2px solid var(--on-lime); border-bottom: 2px solid var(--on-lime); transform: rotate(45deg); }
.crep-funds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.crep-funds .crep { margin: 0; }
.crep-checks { margin: 0; padding: 8px 20px 16px; list-style: none; }
.crep-checks li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 15px; color: var(--silver-bright); }
.crep-checks li > span:last-child { display: flex; flex: 1; justify-content: space-between; gap: 10px; }
.crep-checks__total { justify-content: space-between; border-bottom: 0 !important; font-weight: 700; }
.crep-checks__total b { font-size: 20px; color: var(--lime); }
.crep-csv { margin: 0; padding: 16px 20px; overflow-x: auto; background: var(--ledger); font-family: var(--mono); font-size: 13px; line-height: 1.7; color: var(--silver-bright); }
.crep-csv__h { color: var(--lime); font-weight: 700; }
.crep-csv__more { color: var(--silver); }
@media (max-width: 760px) {
  .crep-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px; }
  .crep-tiles--3 { grid-template-columns: minmax(0, 1fr); padding: 0; }
  .crep-funds { grid-template-columns: minmax(0, 1fr); }
  .crep-head { padding: 14px; }
  .crep-tile { padding: 12px 8px; }
  .crep-tile .crep-amt { font-size: 17px; }
  .crep-calc { font-size: 11px; white-space: nowrap; }
  .crep-mini td, .crep-mini th, .crep .crep-mini tfoot td { padding: 9px 10px; }
  .crep-csv { padding: 12px; font-size: 12px; }
}

/* 22. Homepage demo video: chapter bar */
.walk .demo-replay { bottom: 67px; }
.walk-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 10px 64px 12px 12px; list-style: none; border-top: 1px solid var(--border); }
.walk-steps button { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px; padding: 0 6px; overflow: hidden; background: transparent; border: 1px solid var(--border-strong); border-radius: 10px; font: 700 14px var(--sans); color: var(--silver); cursor: pointer; }
.walk-steps button b { font-family: var(--mono); color: var(--silver-mid); }
.walk-steps button[aria-current] { border-color: var(--lime-surface); color: var(--white); }
.walk-steps button[aria-current] b { color: var(--lime); }
.walk-steps button[aria-current]::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--p, 0) * 100%); background: var(--lime-surface); }
.walk-steps button:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.walk .walk-toggle { right: 12px; bottom: 12px; background: var(--surface2); border-color: var(--border-strong); color: var(--silver-bright); }
@media (max-width: 600px) {
  .walk .demo-replay { bottom: 0; }
  .walk-steps { padding-right: 60px; gap: 4px; }
  .walk-steps button { gap: 4px; padding: 0 2px; font-size: 12.5px; }
}

/* 23. Guides (long-form articles) */
.guide { max-width: 760px; margin: 0 auto; padding: 0 20px 40px; text-align: left; }
.guide .guide-meta { margin: 0 0 24px; font-family: var(--mono); font-size: 12.5px; font-weight: 700; line-height: 1.6; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); text-align: center; }
.guide-answer { margin: 0 0 36px; padding: 20px 22px; background: var(--surface2); border: 1px solid var(--border-strong); border-left: 4px solid var(--lime-surface); border-radius: 12px; font-size: 18px; line-height: 1.6; color: var(--silver-bright); }
.guide-answer b:first-child { display: block; margin-bottom: 6px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lime); }
.guide h2 { margin: 44px 0 14px; font-family: var(--cond); font-size: clamp(28px, 3.4vw, 38px); font-weight: 900; line-height: 1; letter-spacing: 0.01em; text-transform: uppercase; color: var(--white); }
.guide h3 { margin: 26px 0 8px; font-size: 19px; font-weight: 700; color: var(--silver-bright); }
.guide p, .guide li { font-size: 17.5px; line-height: 1.7; color: var(--silver-mid); }
.guide p { margin: 0 0 16px; }
.guide strong, .guide b { color: var(--silver-bright); }
.guide a:not(.btn-primary):not(.btn-secondary) { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.guide ul { margin: 0 0 18px; padding-left: 22px; list-style: disc; }
.guide ul li { margin-bottom: 6px; }
.guide-steps { margin: 0 0 18px; padding: 0; list-style: none; counter-reset: gs; }
.guide-steps > li { position: relative; margin: 0 0 14px; padding: 16px 18px 16px 64px; background: var(--surface2); border: 1px solid var(--border-strong); border-radius: 12px; counter-increment: gs; }
.guide-steps > li::before { content: counter(gs, decimal-leading-zero); position: absolute; left: 18px; top: 15px; font-family: var(--mono); font-size: 18px; font-weight: 700; color: var(--lime); }
.guide-steps > li b:first-child { display: block; margin-bottom: 2px; font-size: 18px; color: var(--white); }
.guide-math { margin: 0 0 18px; padding: 16px 18px; overflow-x: auto; background: var(--ledger); border: 1px solid var(--border-strong); border-radius: 12px; font-family: var(--mono); font-size: 14.5px; line-height: 1.8; color: var(--silver-bright); white-space: pre; }
.guide .tp-card { margin: 0 0 18px; }
.guide .rtable td { font-size: 15px; }
.guide-note { padding: 14px 18px; border: 1px dashed var(--border-strong); border-radius: 12px; font-size: 15.5px !important; }
.guide-faq { margin: 0; }
.guide-faq dt { margin: 22px 0 6px; font-size: 18px; font-weight: 700; color: var(--silver-bright); }
.guide-faq dd { margin: 0; font-size: 17px; line-height: 1.7; color: var(--silver-mid); }
.guide-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.guide-related a { display: block; height: 100%; padding: 16px 18px; background: var(--surface2); border: 1px solid var(--border-strong); border-radius: 12px; font-weight: 700; color: var(--silver-bright) !important; text-decoration: none !important; transition: border-color 0.2s, background 0.2s; }
.guide-related a:hover { background: var(--hover-tint); border-color: var(--lime-dim); }
.guide-related small { display: block; margin-top: 6px; font-weight: 500; font-size: 14.5px; line-height: 1.5; color: var(--silver-mid); }
@media (max-width: 600px) {
  .guide { padding: 0 4px 32px; }
  .guide p, .guide li { font-size: 16.5px; }
  .guide-answer { font-size: 16.5px; padding: 16px; }
  .guide-steps > li { padding: 14px 14px 14px 52px; }
  .guide-steps > li::before { left: 14px; }
  .guide-math { font-size: 12.5px; padding: 12px; }
}