/* ============================================================
   Wantace ERP — erp.wantace.com
   Brand: white base, near-black ink, electric blue #2468FF
   Type: Space Grotesk (display) + Inter (body)
   Shape lock: buttons pill / cards 16px / inner 10px / images 12px
   ============================================================ */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face {
  font-family: 'Space Grotesk';
  src: url('assets/fonts/space-grotesk-var-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/inter-var-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --ink: #0a0a0b;
  --ink-2: #3d4149;
  --ink-3: #5d626b;
  --blue: #2468ff;
  --blue-deep: #004fff;
  --blue-tint: #eff4ff;
  --dark: #0b0f1a;
  --dark-2: #121829;
  --green: #1f721f;
  --wa: #128c4b; /* WhatsApp green, darkened for AA contrast with white text */
  --red: #c8311e;
  --border: #e6e8ec;
  --border-dark: rgb(255 255 255 / 0.12);
  --shadow-card: 0 8px 30px rgb(36 104 255 / 0.07);
  --shadow-pop: 0 20px 60px rgb(10 10 11 / 0.14);
  --font-display: 'Space Grotesk', 'Trebuchet MS', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --r-card: 16px;
  --r-inner: 10px;
  --r-img: 12px;
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(72px, 10vw, 128px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  /* z-scale: base 0 / sticky 50 / overlay 90 / float 100 */
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { color: var(--ink); text-wrap: balance; margin: 0; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--blue); }
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.2em; height: 1.2em; fill: currentColor; flex: none; vertical-align: -0.22em; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

/* ---------- Type scale ---------- */
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 1.2rem + 2.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.section-title--dark { color: #fff; }
.section-sub {
  font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.18rem);
  color: var(--ink-2);
  max-width: 58ch;
  margin-bottom: 12px;
}
.section-sub--dark { color: rgb(255 255 255 / 0.78); }
.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blue-deep);
  margin-bottom: 14px;
}
.eyebrow--dark { color: #7da4ff; display: inline-flex; align-items: center; gap: 7px; }

/* ---------- Buttons (pill lock) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 500;
  border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn--sm { font-size: 0.92rem; padding: 9px 20px; }
.btn--lg { font-size: 1.05rem; padding: 14px 28px; }
.btn--block { width: 100%; }
.btn--primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 6px 18px rgb(36 104 255 / 0.28);
}
.btn--primary:hover { background: var(--blue-deep); transform: translateY(-1px); }
.btn--whatsapp { background: #fff; color: var(--ink); border-color: var(--border); }
.btn--whatsapp .icon { color: var(--wa); }
.btn--whatsapp:hover { border-color: var(--wa); transform: translateY(-1px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--blue-tint); transform: translateY(-1px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
}
.nav.is-scrolled { border-color: var(--border); }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 24px;
}
.nav__brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.nav__brand img { width: 139px; height: auto; }
.nav__brand-tag {
  font-family: var(--font-display); font-weight: 700; font-size: 0.78rem;
  color: var(--blue); background: var(--blue-tint);
  padding: 2px 9px; border-radius: 999px; letter-spacing: 0.06em;
}
.nav__links { display: flex; gap: 28px; }
.nav__links a {
  font-size: 0.95rem; font-weight: 500; color: var(--ink-2); text-decoration: none;
  transition: color 0.15s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__toggle {
  display: none; flex-direction: column; gap: 5px; justify-content: center;
  width: 44px; height: 44px; padding: 10px;
  background: none; border: 0; cursor: pointer; border-radius: 10px;
}
.nav__toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s var(--ease), opacity 0.2s; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav__mobile {
  display: none; flex-direction: column; gap: 4px;
  padding: 12px var(--gutter) 20px; border-bottom: 1px solid var(--border);
  background: #fff;
}
.nav__mobile a:not(.btn) {
  padding: 12px 4px; font-weight: 500; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--bg-soft); font-size: 1.05rem;
}
.nav__mobile .btn { margin-top: 12px; }
.nav__mobile.is-open { display: flex; }

/* ---------- Hero (dashboard bursts apart, assembles on scroll) ---------- */
.hero { position: relative; overflow: clip; }
.hero__stage {
  /* --p: assembly progress 0..1, scrubbed by scroll (JS).
     Defaults to 1 so no-JS and reduced-motion get the assembled dashboard. */
  --p: 1;
  --u: calc(1 - var(--p));
  --amp: 1; /* burst amplitude, smaller on phones */
  position: relative;
}
.hero--animate .hero__stage { height: calc(100svh + 110vh); }
.hero__sticky {
  position: relative;
  display: flex; flex-direction: column;
  padding-block: clamp(40px, 6vw, 72px);
}
.hero--animate .hero__sticky {
  position: sticky; top: 68px;
  height: calc(100svh - 68px);
  padding-block: 0;
}
.hero__sticky::before {
  /* single restrained brand wash, blue family only */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1100px 480px at 85% -10%, rgb(36 104 255 / 0.07), transparent 65%),
    radial-gradient(700px 380px at -10% 50%, rgb(36 104 255 / 0.04), transparent 60%);
}
.hero__inner {
  flex: 1; min-height: 0; width: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(18px, 3.4vh, 36px);
}
.hero--animate .hero__inner { padding-bottom: 30px; } /* room for the scroll cue */
.hero__copy { position: relative; z-index: 2; text-align: center; max-width: 800px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 0.88rem; font-weight: 500;
  color: var(--blue); background: var(--blue-tint);
  border: 1px solid rgb(36 104 255 / 0.18);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.3rem, 1.25rem + 3.8vw, 3.8rem);
  line-height: 1.04; letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.hero__sub {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.2rem);
  max-width: 46ch; margin-inline: auto; margin-bottom: 28px;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero__visual { position: relative; z-index: 1; width: min(100%, 840px); }
.hero__visual-note {
  text-align: center; font-size: 0.85rem; color: var(--ink-3); margin-top: 12px;
  opacity: var(--p);
}
.hero__cue {
  display: none;
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  font-family: var(--font-display); font-size: 0.88rem; font-weight: 500;
  color: var(--ink-2); white-space: nowrap;
}
.hero--animate .hero__cue {
  display: inline-flex; align-items: center; gap: 7px;
  opacity: clamp(0, calc(1 - var(--p) * 3), 1);
}
.hero__cue .icon { animation: cue-bob 1.7s var(--ease) infinite; }
@keyframes cue-bob { 50% { transform: translateY(4px); } }

/* ---------- ERP live preview (six panels that fly together) ---------- */
.erp {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px;
  padding: 10px;
  font-size: 0.85rem;
  transform: translate3d(0, calc(var(--u) * 3vh), 0) scale(calc(1 - 0.05 * var(--u)));
}
.erp::before {
  /* dashboard chrome, fades in as the panels dock */
  content: ""; position: absolute; inset: 0;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-card);
  box-shadow: var(--shadow-pop);
  opacity: var(--p);
}
.erp__panel {
  /* per-panel progress, staggered so panels dock one after another:
     --pp = clamp((p - d) / (1 - d)) with --spd = 1/(1-d), --off = d/(1-d) */
  --pp: clamp(0, calc(var(--p) * var(--spd, 1) - var(--off, 0)), 1);
  --uu: calc(1 - var(--pp));
  position: relative; min-width: 0;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-inner);
  transform:
    translate3d(calc(var(--bx, 0) * var(--uu) * var(--amp) * 1vmin),
                calc(var(--by, 0) * var(--uu) * var(--amp) * 1vmin), 0)
    rotate(calc(var(--br, 0) * var(--uu) * 1deg));
  will-change: transform;
}
.erp__panel::after {
  /* deeper shadow while the panel floats free */
  content: ""; position: absolute; inset: -1px; border-radius: inherit;
  box-shadow: 0 18px 44px rgb(10 15 26 / 0.16);
  opacity: var(--uu); pointer-events: none;
}
.hero--animate .erp__panel { animation: panel-in 0.9s var(--ease) backwards; animation-delay: calc(var(--off, 0) * 0.8s); }
@keyframes panel-in { from { opacity: 0; } }
.erp__panel--bar {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; background: var(--bg-soft);
  --bx: -16; --by: -15; --br: -7;
}
.erp__panel--kpi { grid-column: span 2; padding: 12px 14px; }
.erp__panel--kpi1 { --bx: -19; --by: -8; --br: -11; --spd: 1.0526; --off: 0.0526; }
.erp__panel--kpi2 { --bx: 6; --by: -14; --br: 6; --spd: 1.1111; --off: 0.1111; }
.erp__panel--kpi3 { --bx: 19; --by: -5; --br: 12; --spd: 1.1905; --off: 0.1905; }
.erp__panel--feed { grid-column: span 3; padding: 12px 14px; --bx: -13; --by: 2; --br: -6; --spd: 1.2821; --off: 0.2821; }
.erp__panel--inv { grid-column: span 3; padding: 12px 14px; --bx: 13; --by: 4; --br: 9; --spd: 1.3889; --off: 0.3889; }
.erp__dot { width: 9px; height: 9px; border-radius: 50%; background: #d6d9df; }
.erp__title {
  font-family: var(--font-display); font-weight: 500; color: var(--ink);
  margin-left: 8px; font-size: 1em;
}
.erp__live {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.9em; font-weight: 600; color: var(--green);
}
.erp__pulse {
  width: 8px; height: 8px; border-radius: 50%; background: #21a347; display: inline-block;
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgb(33 163 71 / 0.45); }
  70% { box-shadow: 0 0 0 8px rgb(33 163 71 / 0); }
  100% { box-shadow: 0 0 0 0 rgb(33 163 71 / 0); }
}
.erp__kpi-label { display: block; font-size: 0.85em; color: var(--ink-3); margin-bottom: 2px; }
.erp__kpi-value {
  font-family: var(--font-display); font-weight: 700; font-size: 1.45em; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.erp__section-label {
  font-size: 0.85em; font-weight: 600; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px;
}
.erp__order {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 8px 10px; border-radius: var(--r-inner);
  background: var(--bg-soft); margin-bottom: 8px;
  font-size: 0.94em; color: var(--ink);
}
.erp__order--new { animation: order-in 0.5s var(--ease); }
@keyframes order-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}
.erp__order-id { font-weight: 600; color: var(--blue); font-variant-numeric: tabular-nums; }
.erp__order-amt { margin-left: auto; font-weight: 600; font-variant-numeric: tabular-nums; }
.erp__chip {
  font-size: 0.8em; font-weight: 600; padding: 2px 8px; border-radius: 999px;
}
.erp__chip--ok { background: #e3f3e6; color: var(--green); }
.erp__chip--prod { background: var(--blue-tint); color: var(--blue-deep); }
.erp__chip--new { background: #fff3e8; color: #a14e0b; }
.erp__inv-row {
  display: grid; grid-template-columns: minmax(0, 1fr) 64px 34px;
  align-items: center; gap: 8px;
  font-size: 0.92em; color: var(--ink); margin-bottom: 10px;
}
.erp__inv-bar { height: 6px; border-radius: 999px; background: var(--bg-soft); overflow: hidden; }
.erp__inv-bar i { display: block; height: 100%; border-radius: 999px; background: var(--blue); transition: width 1s var(--ease); }
.erp__inv-num { text-align: right; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.erp__inv-row--low { color: var(--red); font-weight: 600; }
.erp__inv-row--low .erp__inv-bar i { background: var(--red); animation: lowstock 1.6s ease-in-out infinite; }
.erp__inv-row--low .erp__inv-num { color: var(--red); }
@keyframes lowstock { 50% { opacity: 0.55; } }
.erp__forecast {
  display: flex; gap: 7px; align-items: flex-start;
  margin-top: 12px; padding: 9px 10px; border-radius: var(--r-inner);
  background: var(--blue-tint); color: var(--blue-deep);
  font-size: 0.87em; font-weight: 500; line-height: 1.45;
}
.erp__forecast .icon { margin-top: 1px; }
.erp__toast {
  position: absolute; right: 12px; bottom: 12px; max-width: 78%; z-index: 3;
  background: var(--ink); color: #fff;
  padding: 10px 14px; border-radius: var(--r-inner);
  font-size: 0.92em; box-shadow: var(--shadow-pop);
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.erp__toast.is-on { opacity: 1; transform: none; }

/* ---------- Stat band ---------- */
.stats { border-block: 1px solid var(--border); background: var(--bg-soft); }
.stats__row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-block: 26px; gap: 16px;
}
.stats__item { display: flex; align-items: baseline; gap: 10px; justify-content: center; }
.stats__num {
  font-family: var(--font-display); font-weight: 700; font-size: 1.7rem;
  color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.02em;
}
.stats__label { font-size: 0.88rem; color: var(--ink-2); }

/* ---------- Logo marquee ---------- */
.logos { padding-block: clamp(40px, 5vw, 64px) 0; }
.logos__lead { text-align: center; font-size: 0.95rem; color: var(--ink-2); margin-bottom: 28px; }
.logos__lead strong { color: var(--ink); font-weight: 600; }
.logos__marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.logos__track {
  display: flex; width: max-content; padding-block: 8px;
  animation: marquee 30s linear infinite;
}
.logos__group {
  /* two identical groups; sliding exactly one group width loops seamlessly */
  flex: none; display: flex; align-items: center;
  gap: clamp(48px, 7vw, 96px); padding-right: clamp(48px, 7vw, 96px);
}
.logos__group img, .logos__wordmark {
  filter: grayscale(1); opacity: 0.55; flex: none;
}
.logos__group img { height: 42px; width: auto; }
.logos__wordmark {
  font-family: var(--font-display); font-weight: 700; letter-spacing: 0.1em;
  color: var(--ink); font-size: 1.05rem; white-space: nowrap;
}
.logos__wordmark--mehra { font-weight: 400; letter-spacing: 0; font-size: 1.2rem; }
.logos__wordmark--mehra b { font-weight: 700; }
.logos__wordmark--surya { letter-spacing: 0.22em; }
.logos__wordmark--surya small,
.logos__wordmark--omkara small { font-size: 0.66em; font-weight: 500; letter-spacing: 0.3em; color: var(--ink-2); }
.logos__wordmark--agrawal { font-stretch: condensed; letter-spacing: 0.04em; font-size: 1.15rem; }
.logos__wordmark--omkara { font-weight: 500; font-style: italic; letter-spacing: 0.01em; font-size: 1.2rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Problem ---------- */
.problem { padding-block: var(--section); }
.problem .section-title, .problem .section-sub { margin-inline: auto; text-align: center; }
.problem__grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: 20px; margin-top: clamp(36px, 5vw, 56px);
}
.problem__card {
  border: 1px solid var(--border); border-radius: var(--r-card);
  padding: 22px; background: #fff; box-shadow: var(--shadow-card);
}
.problem__card:nth-child(1) { grid-column: span 7; }
.problem__card:nth-child(2) { grid-column: span 5; }
.problem__card:nth-child(3) { grid-column: span 5; }
.problem__card:nth-child(4) { grid-column: span 7; }
.problem__card h3 {
  font-family: var(--font-display); font-size: 1.12rem; font-weight: 700;
  letter-spacing: -0.01em; margin-block: 16px 6px;
}
.problem__card > p { font-size: 0.95rem; color: var(--ink-2); }
.problem__art {
  border-radius: var(--r-inner); background: var(--bg-soft);
  padding: 16px; display: flex; flex-direction: column; gap: 8px; min-height: 118px;
  justify-content: center;
}
.bubble {
  background: #fff; border: 1px solid var(--border);
  align-self: flex-start; max-width: 85%;
  padding: 7px 12px; border-radius: 12px 12px 12px 3px;
  font-size: 0.82rem; color: var(--ink);
}
.bubble--out {
  align-self: flex-end; border-radius: 12px 12px 3px 12px;
  background: #e7f6e9;
}
.filechip {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--border);
  padding: 8px 12px; border-radius: 8px;
  font-size: 0.8rem; color: var(--ink); font-variant-numeric: tabular-nums;
}
.filechip .icon { color: var(--green); }
.filechip--hot { border-color: rgb(200 49 30 / 0.4); }
.filechip--hot .icon { color: var(--red); }
.filechip--link { color: var(--blue); text-decoration: underline; }
.filechip--link, .problem__art--pdf .filechip { overflow: hidden; }
.sticky-note {
  background: #fff8d6; border: 1px solid #ecdf9a;
  padding: 14px 16px; border-radius: 4px;
  font-size: 0.9rem; color: #4d430e; transform: rotate(-1.5deg);
  align-self: center; box-shadow: 0 4px 12px rgb(77 67 14 / 0.12);
}
.problem__close {
  text-align: center; margin-top: clamp(32px, 4vw, 44px);
  font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; color: var(--ink);
}

/* ---------- Offer ladder ---------- */
.ladder { padding-block: var(--section); background: var(--bg-soft); border-block: 1px solid var(--border); }
.ladder .eyebrow, .ladder .section-title, .ladder .section-sub { text-align: center; margin-inline: auto; }
.ladder__track {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: 22px; margin-top: clamp(40px, 5vw, 60px); align-items: start;
}
.stage {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-card);
  padding: 28px; position: relative; box-shadow: var(--shadow-card);
}
.stage:nth-child(1) { grid-column: span 4; }
.stage:nth-child(2) { grid-column: span 4; }
.stage:nth-child(3) { grid-column: span 4; }
.stage--featured {
  border: 2px solid var(--blue);
  box-shadow: 0 24px 60px rgb(36 104 255 / 0.16);
  padding-top: 34px;
}
.stage__flag {
  position: absolute; top: -14px; left: 28px;
  background: var(--blue); color: #fff;
  font-family: var(--font-display); font-weight: 500; font-size: 0.78rem;
  padding: 4px 14px; border-radius: 999px;
}
.stage__num {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 500; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3);
}
.stage__name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem;
  letter-spacing: -0.015em; margin-block: 8px 6px;
}
.stage__tagline { font-size: 0.95rem; color: var(--ink-2); }
.stage__price {
  margin-block: 20px; padding-block: 16px;
  border-block: 1px solid var(--border);
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
}
.stage__amount {
  font-family: var(--font-display); font-weight: 700; font-size: 1.9rem;
  color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.stage--featured .stage__amount { color: var(--blue-deep); }
.stage__terms { font-size: 0.85rem; color: var(--ink-3); }
.stage__list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.stage__list li { display: flex; gap: 10px; font-size: 0.93rem; color: var(--ink-2); }
.stage__list .icon { color: var(--blue); margin-top: 3px; }
.stage__link {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-weight: 500; font-size: 0.95rem;
  color: var(--blue); text-decoration: none;
}
.stage__link:hover { text-decoration: underline; }
.stage--locked { background: var(--dark); border-color: var(--dark); color: rgb(255 255 255 / 0.75); }
.stage--locked .stage__num { color: #8fa9e8; }
.stage--locked .stage__name { color: #fff; }
.stage--locked .stage__tagline { color: rgb(255 255 255 / 0.72); }
.stage--locked .stage__price { border-color: var(--border-dark); }
.stage--locked .stage__amount { color: #fff; }
.stage--locked .stage__terms { color: rgb(255 255 255 / 0.6); }
.stage--locked .stage__link { color: #8fb0ff; }

/* ---------- Stage 1 deep dive (catalog) ---------- */
.catalog { padding-block: var(--section); }
.catalog__grid {
  display: grid; grid-template-columns: minmax(0, 10fr) minmax(0, 9fr);
  gap: clamp(36px, 5vw, 72px); align-items: center;
}
.browser {
  margin: 0; border-radius: var(--r-img); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-pop);
}
.browser__bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; background: var(--bg-soft); border-bottom: 1px solid var(--border);
}
.browser__bar span:not(.browser__url) { width: 9px; height: 9px; border-radius: 50%; background: #d6d9df; }
.browser__url {
  margin-left: 10px; font-size: 0.78rem; color: var(--ink-2);
  background: #fff; border: 1px solid var(--border);
  padding: 3px 12px; border-radius: 999px;
}
.catalog__live {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  font-family: var(--font-display); font-weight: 500; font-size: 0.92rem;
  color: var(--ink); text-decoration: none;
  border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px;
  transition: border-color 0.15s ease;
}
.catalog__live:hover { border-color: var(--blue); color: var(--blue-deep); }
.catalog__copy > p { margin-bottom: 22px; max-width: 52ch; }
.ticks { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.ticks .icon { color: var(--blue); width: 1.35em; height: 1.35em; margin-top: 2px; }
.catalog__price {
  font-size: 1.1rem; color: var(--ink-2);
  background: var(--blue-tint); border-radius: var(--r-inner);
  padding: 14px 18px; display: inline-block;
}
.catalog__price strong { color: var(--blue-deep); font-family: var(--font-display); }

/* ---------- Stage 2 bento ---------- */
.inside { padding-block: var(--section); background: var(--bg-soft); border-block: 1px solid var(--border); }
.inside .section-title, .inside .section-sub { text-align: center; margin-inline: auto; }
.bento {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 20px; margin-top: clamp(36px, 5vw, 56px);
}
.bento__cell {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-card);
  padding: 26px; grid-column: span 2;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.bento__cell:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 38px rgb(36 104 255 / 0.1);
  border-color: rgb(36 104 255 / 0.3);
}
.bento__cell--image { padding: 0; overflow: hidden; }
.bento__cell--image img {
  width: 100%; height: 100%; object-fit: cover;
  /* ambient drift, like the imagery on wantace.com */
  animation: bento-pan 24s ease-in-out infinite alternate;
}
@keyframes bento-pan {
  from { transform: scale(1.03); }
  to { transform: scale(1.14) translate(-2.5%, -2%); }
}
.bento__cell--tint { background: var(--blue-tint); border-color: rgb(36 104 255 / 0.2); }
.bento__cell--dark { background: var(--dark); border-color: var(--dark); }
.bento__cell--dark h3 { color: #fff; }
.bento__cell--dark p { color: rgb(255 255 255 / 0.75); }
.bento__icon {
  width: 30px; height: 30px; color: var(--blue); margin-bottom: 14px;
  transition: transform 0.35s var(--ease);
}
.bento__cell:hover .bento__icon { transform: translateY(-3px) scale(1.1); }
.bento__cell--dark .bento__icon { color: #8fb0ff; }
.bento__cell h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  letter-spacing: -0.01em; margin-bottom: 7px;
}
.bento__cell p { font-size: 0.94rem; }

/* ---------- Stage 3 dark ---------- */
.stage3 { background: var(--dark); color: rgb(255 255 255 / 0.78); padding-block: var(--section); }
.stage3__grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(36px, 5vw, 72px); align-items: start;
}
.stage3 .section-title { color: #fff; }
.stage3__features { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; margin-top: 36px; }
.stage3__features li { display: flex; gap: 14px; align-items: flex-start; }
.stage3__features .icon { width: 26px; height: 26px; color: #8fb0ff; margin-top: 2px; }
.stage3__features h3 {
  color: #fff; font-family: var(--font-display); font-weight: 700;
  font-size: 1.05rem; margin-bottom: 5px; letter-spacing: -0.01em;
}
.stage3__features p { font-size: 0.92rem; color: rgb(255 255 255 / 0.72); }
.stage3__cta { margin-top: 40px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.stage3__cta-note { font-size: 0.9rem; color: rgb(255 255 255 / 0.65); }
.stage3__visual { position: sticky; top: 96px; }
.stage3__visual img {
  border-radius: var(--r-img); width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border: 1px solid var(--border-dark);
}

/* ---------- Results / case study ---------- */
.results { padding-block: var(--section); }
.results .section-title { text-align: center; }
.results__lead { text-align: center; margin-inline: auto; }
.cs {
  margin-top: clamp(36px, 5vw, 52px);
  border: 1px solid var(--border); border-radius: var(--r-card);
  background: #fff; box-shadow: var(--shadow-card);
  padding: clamp(20px, 3vw, 36px);
}
.cs__head {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 3.5vw, 48px); align-items: center;
}
.results__tag {
  display: inline-block; font-size: 0.78rem; font-weight: 600;
  color: var(--blue-deep); background: var(--blue-tint);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 16px;
}
.cs__intro h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.7rem); letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.cs__intro > p { max-width: 52ch; margin-bottom: 22px; font-size: 0.97rem; }
.results__metrics { display: flex; gap: 28px; flex-wrap: wrap; }
.results__metrics li { font-size: 0.9rem; color: var(--ink-2); }
.results__metrics strong {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: 1.65rem; color: var(--ink); letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.cs__metrics-note { margin-top: 14px; font-size: 0.82rem; color: var(--ink-3); }
.cs__main { box-shadow: var(--shadow-pop); }
.cs__main img { width: 100%; height: auto; }
.cs__features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px; margin-top: clamp(22px, 3vw, 32px);
  padding-top: clamp(22px, 3vw, 32px); border-top: 1px solid var(--border);
}
.cs__feature { margin: 0; }
.cs__shot {
  border-radius: var(--r-img); overflow: hidden;
  border: 1px solid var(--border); margin-bottom: 14px;
  aspect-ratio: 16 / 10;
}
.cs__shot img {
  width: 100%; height: 100%; object-fit: cover; object-position: left top;
  transition: transform 0.6s var(--ease);
}
.cs__feature:hover .cs__shot img { transform: scale(1.045); }
.cs__feature h4 {
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem;
  color: var(--ink); letter-spacing: -0.01em; margin: 0 0 5px;
}
.cs__feature figcaption p { font-size: 0.9rem; color: var(--ink-2); }
.results__row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px;
}
.results__card {
  border: 1px solid var(--border); border-radius: var(--r-card);
  overflow: hidden; background: #fff; box-shadow: var(--shadow-card);
}
.results__card > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; border-bottom: 1px solid var(--border); }
.results__card-body { padding: 24px; }
.results__card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin-bottom: 7px; }
.results__card p { font-size: 0.94rem; margin-bottom: 14px; }
.results__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 500; font-size: 0.92rem;
  color: var(--blue); text-decoration: none;
}
.results__link:hover { text-decoration: underline; }

/* ---------- Process ---------- */
.process { padding-block: var(--section); background: var(--bg-soft); border-block: 1px solid var(--border); }
.process .section-title { text-align: center; margin-bottom: clamp(36px, 5vw, 56px); }
.process__steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  counter-reset: step;
}
.process__step {
  position: relative; background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-card); padding: 28px;
}
.process__num {
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  color: var(--blue); display: inline-block;
  border: 1px solid rgb(36 104 255 / 0.3); background: var(--blue-tint);
  width: 42px; height: 42px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.process__step h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  margin-bottom: 8px; letter-spacing: -0.01em;
}
.process__step p { font-size: 0.94rem; }

/* ---------- Comparison ---------- */
.compare { padding-block: var(--section); }
.compare .section-title { text-align: center; margin-bottom: 10px; }
.compare__lead { text-align: center; margin-inline: auto; margin-bottom: clamp(28px, 4vw, 44px); }
.compare__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-block: 4px; }
.compare__table {
  width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0;
  font-size: 0.93rem;
}
.compare__table th, .compare__table td {
  padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--border);
  vertical-align: middle; color: var(--ink-2);
}
.compare__table thead th {
  font-family: var(--font-display); font-weight: 700; color: var(--ink);
  font-size: 0.95rem; border-bottom: 2px solid var(--ink); vertical-align: bottom;
}
.compare__table tbody th { font-weight: 600; color: var(--ink); max-width: 30ch; }
.compare__hl {
  background: var(--blue-tint);
  border-left: 1px solid rgb(36 104 255 / 0.3);
  border-right: 1px solid rgb(36 104 255 / 0.3);
}
.compare__hl strong { color: var(--blue-deep); font-family: var(--font-display); }
.compare__table thead th.compare__hl--head {
  background: var(--blue); color: #fff;
  border-radius: var(--r-inner) var(--r-inner) 0 0;
  border-color: var(--blue);
}
.compare__flag {
  display: block; width: fit-content;
  font-family: var(--font-body); font-size: 0.66rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  background: #fff; color: var(--blue-deep);
  padding: 3px 10px; border-radius: 999px; margin-bottom: 8px;
}
.compare__table tbody tr:last-child .compare__hl {
  border-radius: 0 0 var(--r-inner) var(--r-inner);
  border-bottom: 1px solid rgb(36 104 255 / 0.3);
}
.icon--yes { color: var(--green); }
.icon--no { color: var(--red); }
.icon--mid { color: var(--ink-3); }

/* ---------- Quotes ---------- */
.quotes { padding-block: 0 var(--section); }
.quotes__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.quote {
  margin: 0; padding: 30px; border: 1px solid var(--border);
  border-radius: var(--r-card); background: var(--bg-soft);
}
.quote__mark { width: 28px; height: 28px; color: var(--blue); margin-bottom: 14px; }
.quote blockquote {
  margin: 0 0 16px; font-family: var(--font-display); font-weight: 500;
  font-size: 1.12rem; line-height: 1.45; color: var(--ink); letter-spacing: -0.01em;
}
.quote figcaption { font-size: 0.88rem; color: var(--ink-2); }

/* ---------- FAQ + booking ---------- */
.faq { padding-block: var(--section); background: var(--bg-soft); border-top: 1px solid var(--border); }
.faq__grid {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 64px); align-items: start;
}
.faq__main .faq__list { margin-top: clamp(24px, 3vw, 36px); }
.faq__item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-inner);
  margin-bottom: 12px; overflow: hidden;
}
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 500; font-size: 1.02rem; color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { color: var(--ink-3); transition: transform 0.25s var(--ease); }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__item p { padding: 0 20px 20px; color: var(--ink-2); max-width: 65ch; }

/* ---------- Booking card (cal.com embed) ---------- */
.booking {
  position: sticky; top: 92px;
  background: var(--dark); border-radius: var(--r-card);
  padding: clamp(22px, 3vw, 32px);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
}
.booking::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px 280px at 88% -6%, rgb(36 104 255 / 0.25), transparent 65%);
}
.booking > * { position: relative; }
.booking__title {
  color: #fff; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem); letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.booking__sub { color: rgb(255 255 255 / 0.78); font-size: 0.97rem; margin-bottom: 18px; }
.booking__cal {
  border-radius: var(--r-inner);
  max-height: min(62vh, 600px); overflow-y: auto;
  overscroll-behavior: contain;
}
.booking__cal:empty { display: none; }
.booking__cal:not(:empty) + .booking__fallback { display: none; }
.booking__fallback { width: 100%; }
.booking__alt { margin-top: 16px; color: rgb(255 255 255 / 0.65); font-size: 0.92rem; }
.booking__alt a {
  display: inline-flex; align-items: center; gap: 7px; margin-left: 6px;
  color: #fff; text-decoration: none; font-weight: 500;
  border-bottom: 1px solid rgb(255 255 255 / 0.3); padding-bottom: 2px;
}
.booking__alt a:hover { border-color: #fff; }
.booking__alt .icon { color: #6fd28e; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding-block: clamp(40px, 5vw, 64px) 28px; }
.footer__inner {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 28px; align-items: start;
}
.footer__brand img { margin-bottom: 14px; }
.footer__brand p { font-size: 0.92rem; color: var(--ink-2); max-width: 40ch; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: flex-end; }
.footer__links a { color: var(--ink-2); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.footer__links a:hover { color: var(--ink); }
.footer__legal {
  grid-column: 1 / -1; border-top: 1px solid var(--border);
  padding-top: 22px; margin-top: 12px;
  font-size: 0.85rem; color: var(--ink-3);
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 100;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgb(18 140 75 / 0.4);
  transition: transform 0.18s var(--ease);
}
.wa-float .icon { width: 28px; height: 28px; }
.wa-float:hover { transform: translateY(-2px) scale(1.04); }

/* ---------- Section background ornaments (quiet, blue-family only) ---------- */
.container { position: relative; z-index: 1; }
.problem, .ladder, .catalog, .inside, .process, .stage3 { position: relative; }
.problem::before, .ladder::before, .catalog::before, .inside::before,
.process::before, .stage3::before {
  content: ""; position: absolute; pointer-events: none; z-index: 0;
}
/* dot-grid patch, faded at the edges */
.problem::before {
  top: 48px; right: max(16px, calc(50% - 620px));
  width: 380px; height: 280px;
  background-image: radial-gradient(rgb(36 104 255 / 0.45) 1px, transparent 1.5px);
  background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent);
  mask-image: radial-gradient(closest-side, #000, transparent);
  opacity: 0.35;
}
/* blueprint grid behind the offer ladder */
.ladder::before {
  inset: 0;
  background-image:
    linear-gradient(rgb(36 104 255 / 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgb(36 104 255 / 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(1000px 540px at 50% 30%, #000, transparent 78%);
  mask-image: radial-gradient(1000px 540px at 50% 30%, #000, transparent 78%);
}
/* soft brand wash behind the catalog browser frame */
.catalog::before {
  top: 10%; left: max(-80px, calc(50% - 760px));
  width: 560px; height: 70%;
  background: radial-gradient(closest-side, rgb(36 104 255 / 0.07), transparent 70%);
}
/* small dot patch in the bento section */
.inside::before {
  bottom: 60px; left: max(16px, calc(50% - 620px));
  width: 300px; height: 220px;
  background-image: radial-gradient(rgb(36 104 255 / 0.45) 1px, transparent 1.5px);
  background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent);
  mask-image: radial-gradient(closest-side, #000, transparent);
  opacity: 0.3;
}
/* dotted texture behind the process steps */
.process::before {
  top: 40px; right: max(16px, calc(50% - 640px));
  width: 340px; height: 240px;
  background-image: radial-gradient(rgb(36 104 255 / 0.4) 1px, transparent 1.5px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent);
  mask-image: radial-gradient(closest-side, #000, transparent);
  opacity: 0.35;
}
/* glow + faint grid in the dark Stage 3 section */
.stage3::before {
  inset: 0;
  background:
    radial-gradient(720px 440px at 82% 8%, rgb(36 104 255 / 0.16), transparent 65%),
    linear-gradient(rgb(255 255 255 / 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.025) 1px, transparent 1px);
  background-size: auto, 52px 52px, 52px 52px;
}
/* ---------- Reveal on scroll (JS-gated; visible without JS) ---------- */
.js .reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .logos__track { animation: none; width: auto; }
  .logos__group { flex-wrap: wrap; justify-content: center; width: 100%; }
  .logos__group:last-child { display: none; }
  .erp__pulse, .erp__inv-row--low .erp__inv-bar i { animation: none; }
  .erp__order--new { animation: none; }
  .bento__cell--image img { animation: none; }
  .cs__feature:hover .cs__shot img { transform: none; }
  /* hero: skip the assembly theatre entirely, show the docked dashboard */
  .hero__stage { --p: 1 !important; }
  .hero--animate .hero__stage { height: auto; }
  .hero--animate .hero__sticky { position: relative; top: 0; height: auto; padding-block: clamp(40px, 6vw, 72px); }
  .hero--animate .hero__cue { display: none; }
  .hero--animate .erp__panel { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1023px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__actions .btn { display: none; }

  .stats__row { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .stats__item { justify-content: flex-start; }

  .problem__card:nth-child(n) { grid-column: span 6; }

  .ladder__track { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .stage:nth-child(n) { grid-column: auto; }

  .catalog__grid { grid-template-columns: 1fr; }
  .catalog__visual { order: 2; }

  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__cell { grid-column: auto; }

  .stage3__grid { grid-template-columns: 1fr; }
  .stage3__visual { position: static; max-width: 520px; }
  .stage3__visual img { aspect-ratio: 16 / 10; }

  .cs__head { grid-template-columns: 1fr; }
  .cs__main { order: -1; }

  .process__steps { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }

  .faq__grid { grid-template-columns: 1fr; }
  .booking { position: static; }

  .footer__inner { grid-template-columns: 1fr; }
  .footer__links { justify-content: flex-start; }
}

@media (max-width: 767px) {
  .hero__stage { --amp: 0.78; }
  .hero--animate .hero__stage { height: calc(100svh + 80vh); }
  /* top-align so tall content overflows below the fold, never under the nav */
  .hero--animate .hero__inner { justify-content: flex-start; padding-top: 10px; }
  .hero__inner { gap: 14px; }
  .hero__badge { margin-bottom: 12px; }
  .hero__title { font-size: clamp(2.05rem, 1.2rem + 4.4vw, 2.6rem); margin-bottom: 14px; }
  .hero__sub { font-size: 1rem; margin-bottom: 20px; }
  .hero__ctas { gap: 10px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__ctas .btn--lg { font-size: 1rem; padding: 11px 24px; }
  .hero__visual-note { display: none; }
  .erp { font-size: 0.7rem; gap: 6px; padding: 8px; }
  .erp__panel--kpi { padding: 9px 10px; }
  .erp__panel--feed, .erp__panel--inv { grid-column: 1 / -1; padding: 10px 12px; }
  #erp-orders .erp__order:nth-child(n+3) { display: none; }

  .problem__card:nth-child(n) { grid-column: 1 / -1; }
  .problem__grid { gap: 16px; }

  .results__row { grid-template-columns: 1fr; }
  .quotes__row { grid-template-columns: 1fr; }
  .results__metrics { gap: 20px; }

  .bento { grid-template-columns: 1fr; }
  .stage3__features { grid-template-columns: 1fr; }

  .stats__row { grid-template-columns: 1fr 1fr; }
  .stats__num { font-size: 1.45rem; }

  .nav__brand img { width: 118px; }
}

/* Short phones: squeeze further so the burst stays inside one screen */
@media (max-width: 767px) and (max-height: 760px) {
  .hero__sub { font-size: 0.95rem; line-height: 1.5; }
  .erp { font-size: 0.66rem; }
  .erp__panel--inv .erp__inv-row:nth-of-type(2) { display: none; }
}

/* Short desktop/laptop viewports: keep copy + dashboard inside one screen */
@media (min-width: 768px) and (max-height: 860px) {
  .hero__badge { margin-bottom: 12px; }
  .hero__title { font-size: clamp(2rem, 0.9rem + 2.9vw, 2.7rem); margin-bottom: 12px; }
  .hero__sub { font-size: 1rem; max-width: 52ch; margin-bottom: 18px; }
  .hero__ctas .btn--lg { font-size: 0.98rem; padding: 11px 24px; }
  .hero__visual { width: min(100%, 640px); }
  .hero__visual-note { margin-top: 8px; font-size: 0.8rem; }
  .erp { font-size: 0.72rem; }
  .hero__inner { gap: 14px; }
}
