/* Varnix CRM — shared mockup stylesheet
   Extends the token set from ../../content/brand-brief.md (itself lifted
   verbatim from the existing marketing-crm-bank/site prototype). */

:root {
  --ink: #152338;
  --ink-soft: #233750;
  --forest: #2f756a;
  --forest-light: #dcece8;
  --paper: #fbfcfc;
  --surface: #ffffff;
  --mist: #f0f4f4;
  --line: #dce3e5;
  --muted: #5d6b79;
  --quiet: #7d8994;
  --destructive: #dc2626;

  /* additive-only, page-mood tints */
  --ink-wash: rgba(21, 35, 56, 0.035);
  --forest-wash: #f2f8f7;

  --font-sans: -apple-system, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
p { margin: 0; font-size: 18px; line-height: 1.65; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.035em; }
img, svg { max-width: 100%; display: block; }

:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 2px;
}

.container {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 252, 252, 0.94);
  backdrop-filter: blur(6px);
}
.header-inner {
  width: min(1320px, calc(100% - 48px));
  min-height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.brand-mark { width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center; border-radius: 9px; background: var(--ink); color: white; font-size: 16px; font-weight: 700; }
nav.main-nav { display: flex; gap: 34px; color: var(--muted); font-size: 15.5px; }
nav.main-nav a { transition: color 0.18s ease; padding: 4px 0; }
nav.main-nav a:hover, nav.main-nav a:focus-visible, nav.main-nav a.active { color: var(--forest); }
.header-right { display: flex; align-items: center; gap: 18px; }
.header-cta { min-height: 46px; padding: 0 20px; border: 0; border-radius: 9px; background: var(--ink); color: white; font-weight: 650; font-size: 15px; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.header-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(21,35,56,.18); }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  nav.main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Buttons ---------- */
.button {
  min-height: 52px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 16.5px;
  font-weight: 650;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: white; box-shadow: 0 16px 38px rgba(21,35,56,.16); }
.button-primary:hover { box-shadow: 0 20px 44px rgba(21,35,56,.22); }
.button-secondary { border-color: #cbd4d8; background: var(--surface); color: var(--ink); }
.button-secondary:hover { border-color: var(--forest); color: var(--forest); }
.button-light { background: white; color: var(--ink); }
.button-ghost-light { border-color: rgba(255,255,255,.35); color: white; }
.button-ghost-light:hover { border-color: white; }

/* ---------- Typography helpers ---------- */
.eyebrow { margin-bottom: 18px; color: var(--forest); font-size: 13.5px; line-height: 1.4; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow-light { color: #9bd1c8; }
h1.display { font-size: clamp(44px, 4.4vw, 64px); line-height: 1.03; font-weight: 650; letter-spacing: -0.05em; }
h2.section-title { font-size: clamp(34px, 3.4vw, 48px); line-height: 1.08; font-weight: 640; letter-spacing: -0.045em; }
.lede { max-width: 620px; color: var(--muted); font-size: 19px; line-height: 1.6; }

/* ---------- Hero ---------- */
.hero {
  padding: 76px max(24px, calc((100vw - 1320px) / 2)) 88px;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: center;
  gap: clamp(48px, 6vw, 90px);
}
.hero.tone-ink { background: linear-gradient(180deg, var(--ink-wash), transparent 70%); }
.hero.hero-single { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }
.hero.tone-forest { background: linear-gradient(180deg, var(--forest-wash), transparent 70%); }
.hero-copy { max-width: 620px; }
.hero-copy p.lede { margin-top: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.product-window { border: 1px solid #cbd6d8; border-radius: 16px; overflow: hidden; background: var(--surface); box-shadow: 0 30px 64px rgba(26,49,69,.15); }
.window-bar { min-height: 52px; padding: 0 18px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); background: #edf2f3; color: var(--muted); font-size: 14px; }
.window-brand { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 6px; background: var(--ink); color: white; font-weight: 700; font-size: 13px; }
.window-status { margin-left: auto; color: var(--quiet); }
.window-body { padding: 24px; }
.window-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.window-heading span { color: var(--quiet); font-size: 13.5px; }
.window-heading strong { display: block; margin-top: 6px; font-size: 26px; letter-spacing: -0.03em; }
.window-metrics { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.window-metrics div { padding: 16px; border-radius: 10px; background: var(--mist); }
.window-metrics span { display: block; color: var(--quiet); font-size: 13px; }
.window-metrics strong { display: block; margin-top: 6px; font-size: 16px; }
.window-placeholder { min-height: 190px; margin-top: 14px; padding: 26px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border: 1px dashed #b9c8ca; border-radius: 12px; background: #f8faf9; }
.window-placeholder span { color: var(--forest); font-size: 12.5px; font-weight: 700; letter-spacing: .09em; }
.window-placeholder strong { margin-top: 10px; font-size: 21px; }
.window-placeholder p { margin-top: 6px; color: var(--quiet); font-size: 14px; }

/* ---------- Path selection (homepage two-doors) ---------- */
.path-select { border-top: 1px solid var(--line); }
.path-card {
  padding: 56px max(24px, calc((100vw - 1320px) / 2));
  display: grid;
  grid-template-columns: 44px 1fr 1.4fr auto;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease;
}
.path-card:hover { background: var(--mist); }
.path-number { color: var(--quiet); font-family: "SF Mono", "Consolas", monospace; font-size: 14px; }
.path-name p { color: var(--quiet); font-size: 14.5px; }
.path-name h2 { margin-top: 5px; font-size: 27px; font-weight: 650; }
.path-badge { display: block; margin-top: 6px; font-size: 13.5px; font-weight: 700; color: var(--forest); }
.path-copy { max-width: 640px; color: var(--muted); font-size: 16.5px; line-height: 1.55; }
.path-link { font-size: 15.5px; font-weight: 650; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.path-link:hover { color: var(--forest); }

@media (max-width: 860px) {
  .path-card { grid-template-columns: 1fr; gap: 12px; }
  .hero { grid-template-columns: 1fr; }
}

/* ---------- Generic sections ---------- */
.section { padding: 96px max(24px, calc((100vw - 1320px) / 2)); }
.section.tone-ink { background: var(--ink-wash); }
.section.tone-forest { background: var(--forest-wash); }
.section.tone-dark { background: var(--ink); color: white; }
.section.tone-dark .muted-on-dark { color: #c4d0d7; }
.section-head { max-width: 760px; margin-bottom: 52px; }

/* pillar / feature grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
.pillar-card, .feature-card {
  padding: 30px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.pillar-card h3, .feature-card h3 { font-size: 20px; font-weight: 650; letter-spacing: -0.02em; }
.pillar-card p, .feature-card p { margin-top: 10px; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.card-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--forest-light); color: var(--forest); display: grid; place-items: center; margin-bottom: 18px; }
.card-icon svg { width: 20px; height: 20px; }

.section.tone-dark .feature-card { background: var(--ink-soft); border-color: rgba(255,255,255,.12); }
.section.tone-dark .feature-card p { color: #c4d0d7; }
.section.tone-dark .card-icon { background: rgba(255,255,255,.1); color: #9bd1c8; }

/* module / feature checklist */
.module-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 40px; }
@media (max-width: 860px) { .module-list { grid-template-columns: 1fr; } }
.module-item { display: flex; gap: 14px; padding: 4px 0; }
.module-check { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--forest-light); color: var(--forest); display: grid; place-items: center; margin-top: 2px; }
.module-check svg { width: 13px; height: 13px; }
.module-item strong { display: block; font-size: 16.5px; font-weight: 650; }
.module-item span { display: block; margin-top: 4px; color: var(--muted); font-size: 15px; line-height: 1.5; }

/* honesty callout */
.callout { margin-top: 40px; padding: 22px 26px; border-radius: 12px; background: var(--mist); border-left: 3px solid var(--forest); }
.callout p { font-size: 15.5px; color: var(--ink-soft); font-style: italic; }
.section.tone-dark .callout { background: var(--ink-soft); border-left-color: #9bd1c8; }
.section.tone-dark .callout p { color: #dbe4e8; }

/* markets section */
.market-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.market-tag { padding: 8px 16px; border-radius: 100px; border: 1px solid var(--line); font-size: 14.5px; font-weight: 600; color: var(--ink-soft); background: var(--surface); }

/* CTA band */
.cta-band {
  padding: 84px max(24px, calc((100vw - 1320px) / 2));
  background: var(--ink);
  color: white;
  text-align: center;
}
.cta-band h2 { font-size: clamp(32px, 3.4vw, 46px); font-weight: 640; letter-spacing: -0.04em; line-height: 1.1; }
.cta-band p { margin: 18px auto 0; max-width: 560px; color: #c4d0d7; font-size: 18px; }
.cta-band .hero-actions { justify-content: center; margin-top: 32px; }

/* early-access split CTA (homepage) */
.dual-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }

/* Footer */
footer.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer-inner {
  padding: 64px max(24px, calc((100vw - 1320px) / 2)) 36px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 960px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-inner li { color: var(--muted); font-size: 15px; }
.footer-inner h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--quiet); margin-bottom: 16px; }
.footer-inner ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-inner a:hover, footer a:hover { color: var(--forest); }
.footer-bottom {
  padding: 22px max(24px, calc((100vw - 1320px) / 2)) 30px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--quiet);
  font-size: 14px;
}

/* ================= Motion ================= */

/* Scroll reveal: elements start hidden/offset, JS adds .is-visible when
   they enter the viewport. Children of a .reveal-group stagger via
   nth-child delays instead of individual authoring. */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(.16,.8,.28,1), transform 0.7s cubic-bezier(.16,.8,.28,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-group.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-group > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(.16,.8,.28,1), transform 0.6s cubic-bezier(.16,.8,.28,1);
}
.reveal-group > *:nth-child(1) { transition-delay: 0.03s; }
.reveal-group > *:nth-child(2) { transition-delay: 0.11s; }
.reveal-group > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-group > *:nth-child(4) { transition-delay: 0.27s; }
.reveal-group > *:nth-child(5) { transition-delay: 0.35s; }
.reveal-group > *:nth-child(6) { transition-delay: 0.43s; }

/* Hero entrance — plays once on load, no scroll needed */
@keyframes hero-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-copy > * { opacity: 0; animation: hero-in 0.8s cubic-bezier(.16,.8,.28,1) forwards; }
.hero-copy .eyebrow { animation-delay: .05s; }
.hero-copy h1 { animation-delay: .14s; }
.hero-copy .lede { animation-delay: .24s; }
.hero-copy .hero-actions { animation-delay: .34s; }
.hero .product-window { opacity: 0; transform: translateY(24px) scale(.985); animation: hero-in 0.9s cubic-bezier(.16,.8,.28,1) forwards; animation-delay: .18s; }

/* Product window gentle float — subtle, ambient, not distracting */
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.hero .product-window { animation-name: hero-in, float-y; animation-duration: 0.9s, 6s; animation-delay: .18s, 1.1s; animation-timing-function: cubic-bezier(.16,.8,.28,1), ease-in-out; animation-iteration-count: 1, infinite; animation-fill-mode: forwards, none; }

/* Path card arrow nudges forward on hover — reinforces "go" */
.path-link .arrow { display: inline-block; transition: transform 0.25s ease; }
.path-card:hover .path-link .arrow { transform: translateX(4px); }

/* Nav active/hover underline sweep */
nav.main-nav a { position: relative; }
nav.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--forest); transition: right 0.25s ease;
}
nav.main-nav a:hover::after, nav.main-nav a.active::after { right: 0; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-group > *, .hero-copy > *, .hero .product-window {
    transition: none !important; animation: none !important; opacity: 1 !important; transform: none !important;
  }
}

/* ================= Video tour ================= */
.video-tour { padding: 0 max(24px, calc((100vw - 1320px) / 2)) 96px; }
.video-tour.no-top-pad { padding-top: 0; }
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.08), transparent 45%),
    linear-gradient(135deg, var(--ink), var(--ink-soft));
  border: 1px dashed rgba(255,255,255,.28);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
}
.video-caption-top { position: absolute; top: 22px; left: 26px; color: #9bd1c8; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.play-button {
  width: 76px; height: 76px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.32);
  display: grid; place-items: center; position: relative;
  transition: transform 0.22s ease, background 0.22s ease;
}
.play-button:hover { transform: scale(1.07); background: rgba(255,255,255,.2); }
.play-button svg { width: 26px; height: 26px; color: white; margin-left: 3px; }
.play-button::before {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25); animation: ring-pulse 2.6s ease-out infinite;
}
@keyframes ring-pulse {
  0% { transform: scale(0.9); opacity: .9; }
  80% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}
.video-frame figcaption, .video-frame .video-meta { color: #c4d0d7; font-size: 15px; text-align: center; max-width: 380px; }
.video-frame strong { display: block; color: white; font-size: 19px; margin-bottom: 4px; }
@media (prefers-reduced-motion: reduce) { .play-button::before { animation: none !important; } }

.tour-toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(12px);
  background: var(--ink); color: white; padding: 12px 22px; border-radius: 100px;
  font-size: 14.5px; font-weight: 600; box-shadow: 0 16px 32px rgba(21,35,56,.28);
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 200;
}
.tour-toast.is-shown { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ================= Bankers positioning band ================= */
.rationale-list { display: flex; flex-direction: column; gap: 18px; }
.rationale-item {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
  padding: 22px 24px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line);
}
.rationale-item .experience { color: var(--ink-soft); font-size: 16px; font-weight: 650; }
.rationale-item .arrow-sep { color: var(--forest); font-size: 20px; }
.rationale-item .decision { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
@media (max-width: 860px) {
  .rationale-item { grid-template-columns: 1fr; text-align: left; gap: 8px; }
  .rationale-item .arrow-sep { transform: rotate(90deg); }
}
.rationale-close { margin-top: 32px; font-size: 17px; color: var(--ink-soft); font-weight: 600; line-height: 1.5; }

/* ================= Module catalogue ================= */
.module-catalog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 1080px) { .module-catalog { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .module-catalog { grid-template-columns: 1fr; } }
.catalog-card { padding: 22px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 8px 22px rgba(21,35,56,.05); display: flex; flex-direction: column; }
.catalog-card .catalog-index { color: var(--quiet); font-size: 13px; font-family: "SF Mono", "Consolas", monospace; }
.catalog-card h4 { margin-top: 6px; font-size: 16.5px; font-weight: 650; letter-spacing: -0.015em; }
.catalog-card p { margin-top: 6px; font-size: 14.5px; color: var(--muted); line-height: 1.5; }

/* ================= Diagrams ================= */
.diagram-card { padding: clamp(24px, 4vw, 44px); border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(21,35,56,.09); }
.diagram-card svg { width: 100%; height: auto; display: block; }
.diagram-card figcaption { margin: 22px auto 0; max-width: 680px; color: var(--muted); font-size: 15px; line-height: 1.6; text-align: center; }

/* Before/after compare */
.compare-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.compare-col { text-align: center; }
.compare-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--quiet); font-weight: 700; margin-bottom: 16px; }
.compare-arrow { color: var(--quiet); font-size: 26px; padding: 0 8px; }
.compare-col svg { width: 100%; height: auto; display: block; }
@media (max-width: 860px) {
  .compare-grid { grid-template-columns: 1fr; }
  .compare-arrow { transform: rotate(90deg); margin: 4px auto; }
}

/* ================= Lead capture modal ================= */
.lead-modal {
  position: fixed; inset: 0; z-index: 300;
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.lead-modal.is-open { display: flex; }
.lead-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(21, 35, 56, 0.55);
  backdrop-filter: blur(2px);
  animation: modal-fade-in 0.2s ease;
}
.lead-modal-panel {
  position: relative;
  width: min(460px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--surface);
  border-radius: 18px;
  padding: 36px 32px;
  box-shadow: 0 40px 100px rgba(21,35,56,.35);
  animation: modal-rise-in 0.25s cubic-bezier(.16,.8,.28,1);
}
@keyframes modal-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-rise-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .lead-modal-backdrop, .lead-modal-panel { animation: none !important; }
}
.lead-modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 32px; height: 32px; border-radius: 8px; border: 0;
  background: var(--mist); color: var(--muted);
  display: grid; place-items: center;
  transition: background 0.15s ease, color 0.15s ease;
}
.lead-modal-close:hover { background: var(--line); color: var(--ink); }
.lead-modal-close svg { width: 16px; height: 16px; }

.lead-form h3 { margin-top: 8px; font-size: 24px; font-weight: 650; letter-spacing: -0.03em; }
.lead-form-sub { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.lead-form label {
  display: block; margin-top: 18px; font-size: 13.5px; font-weight: 650; color: var(--ink-soft);
}
.lead-form input, .lead-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 11px 14px;
  border: 1px solid var(--line); border-radius: 9px; background: var(--paper);
  font-size: 15px; color: var(--ink); resize: vertical;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.lead-form input:focus, .lead-form textarea:focus {
  outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px var(--forest-light);
}
.lead-form-submit { width: 100%; margin-top: 22px; }
.lead-form-submit:disabled { opacity: .6; cursor: default; transform: none; }
.lead-form-status { margin-top: 12px; font-size: 14px; text-align: center; min-height: 20px; }
.lead-form-status.is-error { color: var(--destructive); }
.lead-form-status.is-success { color: var(--forest); font-weight: 650; }

/* ================= Real product screenshots ================= */
.window-screenshot {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: top;
  display: block;
}
@media (max-width: 640px) { .window-screenshot { height: 260px; } }

.screenshot-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 860px) { .screenshot-gallery { grid-template-columns: 1fr; } }
.screenshot-card {
  border-radius: 16px; overflow: hidden; background: var(--surface);
  border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(21,35,56,.08);
}
.screenshot-card img { width: 100%; height: 260px; object-fit: cover; object-position: top; display: block; }
.screenshot-card figcaption { padding: 16px 20px; }
.screenshot-card figcaption strong { display: block; font-size: 15.5px; font-weight: 650; color: var(--ink); }
.screenshot-card figcaption span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }

/* ================= Stat row (architecture stats, benchmark stats) ================= */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 860px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
.stat-item { text-align: center; padding: 28px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.stat-item strong { display: block; font-size: clamp(30px, 4vw, 40px); font-weight: 700; color: var(--forest); letter-spacing: -0.02em; }
.stat-item span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.4; }
.section.tone-dark .stat-item { background: var(--ink-soft); border-color: rgba(255,255,255,.12); }
.section.tone-dark .stat-item span { color: #c4d0d7; }
.section.tone-dark .stat-item strong { color: #9bd1c8; }

/* ================= Vertical process timeline ================= */
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-step {
  position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 24px;
  padding-bottom: 44px;
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-step:not(:last-child)::before {
  content: ""; position: absolute; top: 56px; bottom: 0; left: 27px; width: 2px;
  background: var(--line);
}
.timeline-node {
  position: relative; width: 56px; height: 56px; border-radius: 50%;
  background: var(--forest-light); color: var(--forest); font-weight: 700; font-size: 20px;
  display: grid; place-items: center; flex-shrink: 0; z-index: 1;
}
.timeline-content { padding-top: 8px; }
.timeline-content h3 { font-size: 20px; font-weight: 650; letter-spacing: -0.02em; }
.timeline-content p { margin-top: 8px; color: var(--muted); font-size: 15.5px; line-height: 1.55; max-width: 640px; }
.timeline-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.timeline-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 100px;
  background: var(--mist); color: var(--ink-soft); font-size: 13px; font-weight: 650;
}
@media (max-width: 640px) {
  .timeline-step { grid-template-columns: 44px 1fr; gap: 16px; }
  .timeline-node { width: 44px; height: 44px; font-size: 16px; }
  .timeline-step:not(:last-child)::before { top: 44px; left: 21px; }
}

/* ================= Benchmark callouts ================= */
.benchmark-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 960px) { .benchmark-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .benchmark-grid { grid-template-columns: 1fr; } }
.benchmark-card { text-align: center; padding: 26px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.benchmark-card strong { display: block; font-size: 30px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.benchmark-card strong.is-positive { color: var(--forest); }
.benchmark-card span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--muted); line-height: 1.4; }
