/* ============================================================
   B2B COMMERCE v2 (WooCommerce enterprise) — selectors prefixed wb2-
   Image-led layout on top of the shared shell, buttons, crumbs,
   logos, guarantees, FAQ, contact and reviews in css/styles.css.
   Store screens are a demo store (img/woo-demo), photos are
   Unsplash (img/stock/b2b/README.md).
   ============================================================ */

.wb2-page {
  --ink: var(--deep);
  --ink-line: var(--deep-line);
  --ink-muted: var(--deep-muted);
  --wb2-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.45);
}

/* ---- Reveal (only when JS runs; see the head script) ---- */
.wb2-js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease) var(--d, 0s), transform 0.9s var(--ease) var(--d, 0s);
}
.wb2-js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---- Shared bits ---- */
.wb2-sec { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--line); background: var(--bg); }
.wb2-sec.svc-alt { background: var(--bg-alt); }

.wb2-head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 20px 56px;
  align-items: end;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.wb2-head .section-label,
.wb2-int-copy .section-label,
.wb2-stack-copy .section-label { margin-bottom: 18px; }
.wb2-head h2,
.wb2-int-copy h2,
.wb2-stack-copy h2 {
  max-width: 17ch;
  font-size: clamp(32px, 4.4vw, 58px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
}
.wb2-head-aside { justify-self: end; max-width: 42ch; }
.wb2-head-aside p { font-size: var(--fz-16); line-height: 1.55; color: var(--muted); }
.wb2-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 30px; }

.wb2-bar {
  display: flex;
  align-items: center;
  flex: none;
  gap: 5px;
  height: 30px;
  padding: 0 10px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
  color: var(--muted);
}
.wb2-bar i { width: 8px; height: 8px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--text) 35%, transparent); }
.wb2-bar span {
  flex: 0 1 60%;
  min-width: 0;
  height: 18px;
  margin-left: 8px;
  padding: 0 9px;
  font-size: 11px;
  line-height: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wb2-phone {
  position: relative;
  margin: 0;
  aspect-ratio: 780 / 1688;
  border: 7px solid var(--ink);
  border-radius: 34px;
  background: var(--ink);
  overflow: hidden;
  box-shadow: var(--wb2-shadow);
}
.wb2-phone > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; border-radius: 27px; }

.wb2-live { display: inline-flex; align-items: center; gap: 7px; font-style: normal; }
.wb2-live i { width: 7px; height: 7px; border-radius: 50%; background: #1f9d55; animation: wb2-blink 1.6s ease-in-out infinite; }
@keyframes wb2-blink { 50% { opacity: 0.25; } }

.wb2-marquee { display: flex; overflow: hidden; }
.wb2-marquee-track { display: flex; align-items: center; flex-shrink: 0; animation: wb2-marq var(--dur, 50s) linear infinite; }
.wb2-marquee:hover .wb2-marquee-track { animation-play-state: paused; }
@keyframes wb2-marq { to { transform: translateX(-100%); } }

/* ============================================================
   HERO — copy + a live trade store (desktop scroll, phone, chips)
   ============================================================ */
.wb2-hero { padding: clamp(20px, 3vw, 36px) 0 0; background: var(--bg); overflow: hidden; }
.wb2-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px clamp(32px, 5vw, 80px);
  align-items: center;
}
.wb2-hero-copy .section-label { margin: clamp(28px, 5vw, 64px) 0 22px; }
.wb2-h1 { font-size: clamp(44px, 5.6vw, 84px); font-weight: 600; letter-spacing: -0.055em; line-height: 0.98; }
.wb2-mark { background: linear-gradient(var(--accent), var(--accent)) 0 88% / 100% 0.3em no-repeat; }
.wb2-js .wb2-mark { animation: wb2-mark 0.9s var(--ease) 0.9s both; }
@keyframes wb2-mark { from { background-size: 0 0.3em; } }
.wb2-lede { max-width: 40ch; margin-top: 26px; font-size: var(--fz-18); line-height: 1.5; color: var(--muted); }

.wb2-facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  margin-top: clamp(32px, 4vw, 52px);
  border-top: 1px solid var(--line);
  list-style: none;
}
.wb2-facts li { display: grid; gap: 6px; padding: 20px 28px 0; border-left: 1px solid var(--line); }
.wb2-facts li:first-child { padding-left: 0; border-left: 0; }
.wb2-facts b { font-size: clamp(24px, 2.4vw, 34px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.wb2-facts span { font-size: var(--fz-13-5); color: var(--muted); }

.wb2-stage {
  position: relative;
  height: clamp(520px, calc(100vh - var(--header-h) - 150px), 700px);
  margin-top: clamp(16px, 3vw, 40px);
}
.wb2-desk {
  position: absolute;
  top: 0;
  right: 0;
  width: 90%;
  height: 84%;
  margin: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--wb2-shadow);
  overflow: hidden;
}
.wb2-desk-view { position: relative; flex: 1; min-height: 0; overflow: hidden; container-type: size; }
.wb2-desk-view img { display: block; width: 100%; height: auto; }
.wb2-js .wb2-desk-view img { animation: wb2-scroll 22s cubic-bezier(0.45, 0, 0.35, 1) 1.6s infinite alternate; }
.wb2-stage:hover .wb2-desk-view img { animation-play-state: paused; }
@keyframes wb2-scroll {
  0%, 10% { transform: translateY(0); }
  90%, 100% { transform: translateY(calc(-100% + 100cqh)); }
}
.wb2-hero-phone { position: absolute; left: 0; bottom: 0; z-index: 2; width: clamp(150px, 29%, 230px); }

.wb2-chip {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 4px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.4);
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
}
.wb2-chip > span { color: var(--muted); }
.wb2-chip b { font-size: 26px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.wb2-chip em { font-style: normal; }
.wb2-chip.is-sku { top: 12%; left: 3%; }
.wb2-chip.is-erp { top: 40%; right: -1%; display: flex; align-items: center; gap: 10px; }
.wb2-chip.is-erp img { width: 24px; height: 24px; object-fit: contain; }
.wb2-chip.is-erp > span { display: grid; gap: 3px; color: var(--muted); }
.wb2-chip.is-erp b { font-size: 14px; letter-spacing: -0.01em; color: var(--text); }
.wb2-chip.is-price { right: 3%; bottom: 2%; }
.wb2-chip.is-audit { left: 35%; bottom: 2%; background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transition: transform 0.4s var(--ease); }
.wb2-chip.is-audit b { font-size: 20px; }
.wb2-chip.is-audit span { color: inherit; opacity: 0.75; }
.wb2-chip.is-audit:hover { transform: translateY(-3px); }
.wb2-js .wb2-chip.is-in { animation: wb2-float 7s ease-in-out infinite; animation-delay: calc(var(--d, 0s) + 1s); }
.wb2-js .wb2-chip.is-audit.is-in:hover { animation-play-state: paused; }
@keyframes wb2-float { 50% { translate: 0 -8px; } }

.wb2-hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 40px;
  flex-wrap: wrap;
  margin-top: clamp(28px, 4vw, 48px);
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.wb2-hero-foot p { font-size: var(--fz-13-5); color: var(--muted); }
.wb2-badges { display: flex; align-items: center; gap: 26px; list-style: none; }
.wb2-badges img { height: 34px; width: auto; }

/* ============================================================
   INDUSTRIES — photo bento
   ============================================================ */
.wb2-inds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(220px, 23vw, 320px); gap: 14px; }
.wb2-ind { position: relative; margin: 0; overflow: hidden; background: var(--ink); color: var(--deep-text); }
.wb2-ind.is-wide { grid-column: span 2; }
.wb2-ind img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.wb2-ind::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0) 55%); pointer-events: none; }
.wb2-ind:hover img { transform: scale(1.05); }
.wb2-ind-t { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: 6px; padding: 20px 22px; }
.wb2-ind-t h3 { font-size: clamp(20px, 1.9vw, 27px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; }
.wb2-ind-t p { font-size: var(--fz-13-5); color: color-mix(in srgb, var(--deep-text) 78%, transparent); }

/* ============================================================
   BUYER VIEW — store screen with numbered pins + callouts
   ============================================================ */
.wb2-board { margin: 0; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--wb2-shadow); }
.wb2-shot { position: relative; }
.wb2-shot-img { aspect-ratio: 1440 / 900; overflow: hidden; }
.wb2-shot-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.wb2-pin {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  translate: -50% -50%;
  border: 2px solid var(--deep-text);
  border-radius: 50%;
  background: var(--ink);
  color: var(--deep-text);
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  cursor: default;
  transition: background 0.3s, color 0.3s, transform 0.4s var(--ease);
}
.wb2-pin::after { content: ""; position: absolute; inset: -8px; border: 2px solid var(--accent); border-radius: 50%; opacity: 0; }
.wb2-pin.is-on { background: var(--accent); color: var(--accent-ink); border-color: var(--ink); transform: scale(1.2); }
.wb2-pin.is-on::after { animation: wb2-ping 1.4s ease-out infinite; }
@keyframes wb2-ping { from { opacity: 1; transform: scale(0.7); } to { opacity: 0; transform: scale(1.5); } }

.wb2-callouts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; border-top: 1px solid var(--line); list-style: none; }
.wb2-callouts li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 20px 18px 20px 0;
  border-bottom: 1px solid var(--line);
  cursor: default;
}
.wb2-callouts li > i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  color: var(--muted);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.wb2-callouts h3 { font-size: var(--fz-18); font-weight: 600; letter-spacing: -0.025em; line-height: 1.25; color: var(--muted); transition: color 0.3s; }
.wb2-callouts p { margin-top: 4px; font-size: var(--fz-14-5); line-height: 1.45; color: var(--muted); }
.wb2-callouts li.is-on > i { background: var(--accent); border-color: var(--text); color: var(--accent-ink); }
.wb2-callouts li.is-on h3 { color: var(--text); }

/* ============================================================
   TOOLS — tabs with store screens
   ============================================================ */
.wb2-tools { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.wb2-tabs { display: grid; border-top: 1px solid var(--line); }
.wb2-tab {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 4px 12px;
  padding: 22px 0 24px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  color: var(--muted);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.wb2-tab-n { grid-row: span 2; padding-top: 4px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; }
.wb2-tab b { font-size: clamp(19px, 1.7vw, 24px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.2; transition: color 0.3s; }
.wb2-tab-d { font-size: var(--fz-14-5); line-height: 1.45; }
.wb2-tab:hover b,
.wb2-tab.is-on b,
.wb2-tab.is-on .wb2-tab-n { color: var(--text); }
.wb2-tab:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; }
.wb2-tab-bar { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--text); transform: scaleX(0); transform-origin: 0 50%; }
.wb2-tab.is-on .wb2-tab-bar { transform: scaleX(var(--t, 1)); }

.wb2-tool-stage { position: relative; aspect-ratio: 1440 / 1000; }
.wb2-panel {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.985);
  transition: opacity 0.5s var(--ease), transform 0.7s var(--ease), visibility 0s 0.5s;
}
.wb2-panel.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity 0.5s var(--ease), transform 0.7s var(--ease), visibility 0s; }
.wb2-frame { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--wb2-shadow); overflow: hidden; }
.wb2-frame-view { flex: 1; min-height: 0; overflow: hidden; container-type: size; }
.wb2-frame-view img { display: block; width: 100%; height: auto; transition: transform 3.2s cubic-bezier(0.45, 0, 0.35, 1); }
.wb2-panel:hover .wb2-frame-view img { transform: translateY(calc(-100% + 100cqh)); }
.wb2-panel.is-phones { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 3vw, 40px); }
.wb2-panel.is-phones .wb2-phone { height: 100%; }
.wb2-panel.is-phones .wb2-phone + .wb2-phone { transform: translateY(6%); }

/* ============================================================
   LIFE — who orders
   ============================================================ */
.wb2-life { padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); background: var(--bg-alt); overflow: hidden; }
.wb2-life-h { max-width: 20ch; font-size: clamp(36px, 5.4vw, 76px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.wb2-life-h span { color: var(--muted); }
.wb2-life-row {
  display: grid;
  grid-template-columns: 0.8fr 1.3fr 0.75fr 1.25fr 1fr;
  gap: 14px;
  align-items: end;
  margin-top: clamp(36px, 5vw, 64px);
  padding-inline: var(--gutter);
}
.wb2-life-row figure { position: relative; margin: 0; overflow: hidden; }
.wb2-life-row img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.wb2-life-row figure:hover img { transform: scale(1.05); }
.wb2-life-row .is-a { height: clamp(300px, 34vw, 500px); }
.wb2-life-row .is-b { height: clamp(240px, 26vw, 390px); }
.wb2-life-row .is-c { height: clamp(280px, 31vw, 460px); }
.wb2-life-row .is-d { height: clamp(210px, 22vw, 330px); }
.wb2-life-row .is-e { height: clamp(260px, 28vw, 420px); }
.wb2-life-row figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; background: var(--surface); color: var(--text); font-size: 12px; font-weight: 600; }

/* ============================================================
   INTEGRATIONS — dark, admin sync monitor + flows + systems
   ============================================================ */
.wb2-dark { background: var(--ink); border-top-color: var(--ink); color: var(--deep-text); }
.wb2-dark .section-label { color: var(--accent); }
.wb2-int { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px clamp(40px, 6vw, 88px); align-items: center; }
.wb2-flows { margin-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--ink-line); list-style: none; }
.wb2-flows li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: baseline;
  padding: 14px 18px;
  border-bottom: 1px solid var(--ink-line);
  font-size: var(--fz-14-5);
  color: var(--ink-muted);
  transition: background 0.4s;
}
.wb2-flows b { font-size: var(--fz-16); font-weight: 600; color: var(--deep-text); }
.wb2-flows em { min-width: 6.2em; font-style: normal; font-size: 12px; font-weight: 600; text-align: right; color: var(--accent); }
.wb2-flows li.is-flash { background: color-mix(in srgb, var(--deep-text) 5%, transparent); }
.wb2-int-note { margin-top: 22px; font-size: var(--fz-14-5); color: var(--ink-muted); }
.wb2-int-note a { color: var(--deep-text); }
.wb2-admin { position: relative; margin: 0; }
.wb2-admin > img { display: block; width: 100%; height: auto; border: 1px solid var(--ink-line); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8); }
.wb2-admin-chip {
  position: absolute;
  left: clamp(-28px, -2vw, -12px);
  bottom: clamp(-28px, -2vw, -12px);
  display: grid;
  gap: 4px;
  padding: 14px 18px;
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.6);
}
.wb2-admin-chip .wb2-live { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.wb2-admin-chip .wb2-live i { background: var(--accent-ink); }
.wb2-admin-chip b { font-size: clamp(18px, 1.7vw, 22px); font-weight: 600; letter-spacing: -0.03em; }
.wb2-admin-chip small { font-size: 12px; opacity: 0.75; }
.wb2-sys { display: grid; grid-template-columns: 1.7fr repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: clamp(56px, 7vw, 88px); padding-top: 32px; border-top: 1px solid var(--ink-line); }
.wb2-sys p { margin-bottom: 14px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.wb2-sys ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.wb2-sys li { display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; background: #fff; color: #111; font-size: var(--fz-13-5); font-weight: 600; }
.wb2-sys img { width: 20px; height: 20px; object-fit: contain; }

/* ============================================================
   STACK — photo + enterprise WooCommerce list + numbers
   ============================================================ */
.wb2-stack { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px clamp(40px, 6vw, 88px); align-items: center; }
.wb2-stack-img { position: relative; margin: 0; aspect-ratio: 4 / 4.4; overflow: hidden; }
.wb2-stack-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wb2-stack-img figcaption { position: absolute; left: 18px; bottom: 18px; display: grid; gap: 4px; padding: 16px 20px; background: var(--surface); font-size: var(--fz-13-5); color: var(--muted); }
.wb2-stack-img figcaption b { font-size: clamp(30px, 3vw, 42px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; color: var(--text); }
.wb2-tech { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin-top: clamp(26px, 3.4vw, 40px); border-top: 1px solid var(--line); list-style: none; }
.wb2-tech li { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: var(--fz-14-5); line-height: 1.45; color: var(--muted); }
.wb2-tech b { font-size: var(--fz-16); font-weight: 600; color: var(--text); }
.wb2-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; border: 1px solid var(--line); background: var(--surface); list-style: none; }
.wb2-nums li { display: grid; gap: 8px; align-content: space-between; padding: 18px 20px 20px; }
.wb2-nums li + li { border-left: 1px solid var(--line); }
.wb2-nums b { font-size: clamp(30px, 3vw, 44px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.wb2-nums span { font-size: var(--fz-13-5); color: var(--muted); }
.wb2-nums b span { font-size: inherit; color: inherit; }

/* ============================================================
   PRICING
   ============================================================ */
.wb2-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.wb2-tier { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px 26px 26px; border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.wb2-tier.is-pop { background: var(--ink); border-color: var(--ink); color: var(--deep-text); }
.wb2-tier .wb2-tier-ico,
.wb2-tier .wb2-tier-ico svg { width: 60px; height: 60px; }
.wb2-tier .wb2-tier-ico { margin: 0 0 8px; color: inherit; transition: transform 0.5s var(--ease); }
.wb2-tier .wb2-tier-ico svg { fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.wb2-tier.is-pop .wb2-tier-ico { color: var(--accent); }
.wb2-tier:hover .wb2-tier-ico { transform: translateY(-4px); }
.wb2-tier-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  padding: 5px 9px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.wb2-tier-k { font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.wb2-tier.is-pop .wb2-tier-k,
.wb2-tier.is-pop .wb2-tier-time,
.wb2-tier.is-pop .wb2-tier-price small { color: var(--ink-muted); }
.wb2-tier-price { display: flex; align-items: baseline; gap: 10px; font-size: clamp(44px, 4.4vw, 64px); font-weight: 600; letter-spacing: -0.055em; line-height: 0.95; }
.wb2-tier-price small { font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.wb2-tier-time { font-size: var(--fz-13-5); color: var(--muted); }
.wb2-tier ul { display: grid; gap: 11px; margin: 6px 0 10px; padding-top: 20px; border-top: 1px solid var(--line); list-style: none; }
.wb2-tier.is-pop ul { border-top-color: var(--ink-line); }
.wb2-tier li,
.wb2-incl li { display: flex; gap: 11px; font-size: var(--fz-15); line-height: 1.4; }
.wb2-tier li::before,
.wb2-incl li::before {
  content: "";
  flex: 0 0 16px;
  height: 16px;
  margin-top: 2px;
  background: var(--text);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
}
.wb2-tier.is-pop li::before { background: var(--accent); }
.wb2-tier .btn { width: 100%; margin-top: auto; }

.wb2-audit { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); margin-top: 16px; border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.wb2-audit-img { min-height: 280px; overflow: hidden; }
.wb2-audit-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wb2-audit-t { display: grid; gap: 14px; align-content: center; justify-items: start; padding: clamp(28px, 4vw, 52px); }
.wb2-audit-t h3 { max-width: 20ch; font-size: clamp(26px, 2.8vw, 40px); font-weight: 600; letter-spacing: -0.045em; line-height: 1.05; }
.wb2-audit-t h3 span { background: linear-gradient(var(--accent), var(--accent)) 0 88% / 100% 0.32em no-repeat; }
.wb2-audit-t p { max-width: 44ch; font-size: var(--fz-15); line-height: 1.5; color: var(--muted); }
.wb2-audit-t .btn { margin-top: 6px; }
.wb2-incl { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 26px; list-style: none; }
.wb2-incl li { font-size: var(--fz-14-5); color: var(--muted); }

/* ============================================================
   PROCESS — progress line, no icons
   ============================================================ */
.wb2-steps { --p: 0; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; padding-top: 44px; list-style: none; }
.wb2-steps::before,
.wb2-steps::after { content: ""; position: absolute; top: 7px; left: 0; height: 2px; background: var(--line); }
.wb2-steps::before { right: 0; }
.wb2-steps::after { width: calc(var(--p) * 100%); background: var(--text); }
.wb2-step { position: relative; }
.wb2-step::before {
  content: "";
  position: absolute;
  top: -44px;
  left: 0;
  z-index: 1;
  width: 16px;
  height: 16px;
  border: 2px solid var(--line);
  background: var(--bg);
  transition: background 0.4s, border-color 0.4s, transform 0.4s var(--ease);
}
.wb2-step.is-done::before { background: var(--accent); border-color: var(--text); transform: rotate(45deg); }
.wb2-step-when { font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.wb2-step h3 { margin: 8px 0 6px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; }
.wb2-step p:last-child { max-width: 26ch; font-size: var(--fz-15); line-height: 1.5; color: var(--muted); }

/* ---- Mega marquee ---- */
.wb2-mega { overflow: hidden; padding: clamp(14px, 2vw, 22px) 0; background: var(--ink); color: var(--deep-text); }
.wb2-mega .wb2-marquee-track { --dur: 42s; }
.wb2-mega-item { padding-right: 0.32em; font-size: clamp(28px, 4vw, 48px); font-weight: 600; letter-spacing: -0.06em; line-height: 1; white-space: nowrap; }
.wb2-mega-item i { font-style: normal; color: var(--accent); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
  .wb2-chip.is-erp { right: 2%; }
  .wb2-sys { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wb2-sys > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 1080px) {
  .wb2-hero-grid { grid-template-columns: 1fr; }
  .wb2-stage { height: clamp(460px, 70vw, 620px); max-width: 780px; width: 100%; margin-inline: auto; }
  .wb2-int { grid-template-columns: 1fr; }
  .wb2-tools { grid-template-columns: 1fr; }
  .wb2-stack { grid-template-columns: 1fr; }
  .wb2-stack-img { aspect-ratio: 16 / 9; }
}

@media (max-width: 900px) {
  .wb2-head { grid-template-columns: 1fr; }
  .wb2-head-aside { justify-self: start; }
  .wb2-inds { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(200px, 40vw, 300px); }
  .wb2-callouts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wb2-pin { width: 26px; height: 26px; font-size: 11.5px; }
  .wb2-life-row {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .wb2-life-row::-webkit-scrollbar { display: none; }
  .wb2-life-row figure { flex: 0 0 auto; width: 62vw; scroll-snap-align: start; }
  .wb2-life-row .is-a,
  .wb2-life-row .is-c { width: 44vw; }
  .wb2-steps { grid-template-columns: 1fr 1fr; row-gap: 40px; padding-top: 26px; }
  .wb2-steps::before,
  .wb2-steps::after { display: none; }
  .wb2-step::before { top: -26px; width: 14px; height: 14px; }
  .wb2-tiers { grid-template-columns: 1fr; max-width: 560px; }
  .wb2-audit { grid-template-columns: 1fr; }
  .wb2-audit-img { min-height: 0; aspect-ratio: 16 / 8; }
}

@media (max-width: 640px) {
  .wb2-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wb2-facts li { padding: 16px 12px 0; }
  .wb2-facts b { font-size: 22px; }
  .wb2-stage { height: 128vw; max-height: 560px; }
  .wb2-desk { width: 100%; height: 66%; }
  .wb2-hero-phone { width: 40%; }
  .wb2-chip { padding: 9px 12px; font-size: 11px; }
  .wb2-chip b { font-size: 20px; }
  .wb2-chip.is-sku { top: auto; bottom: 34%; left: auto; right: 0; }
  .wb2-chip.is-erp { top: auto; right: 0; bottom: 18%; }
  .wb2-chip.is-erp b { font-size: 12.5px; }
  .wb2-chip.is-price { right: 0; bottom: 2%; }
  .wb2-chip.is-audit { display: none; }
  .wb2-hero-foot { justify-content: center; text-align: center; }
  .wb2-badges { flex-wrap: wrap; justify-content: center; gap: 14px 22px; }
  .wb2-badges img { height: 28px; }
  .wb2-inds { grid-template-columns: 1fr; grid-auto-rows: 58vw; }
  .wb2-ind.is-wide { grid-column: auto; }
  .wb2-board .wb2-shot-img { aspect-ratio: 1440 / 1000; }
  .wb2-pin { width: 22px; height: 22px; border-width: 1.5px; font-size: 10.5px; }
  .wb2-callouts { grid-template-columns: 1fr; }
  .wb2-tool-stage { aspect-ratio: 1440 / 1150; }
  .wb2-tab { padding: 16px 0 18px; }
  .wb2-life-row figure { width: 76vw; }
  .wb2-life-row .is-a,
  .wb2-life-row .is-c { width: 56vw; }
  .wb2-flows li { grid-template-columns: minmax(0, 1fr) auto; padding-inline: 14px; }
  .wb2-flows li span { grid-column: 1; grid-row: 2; font-size: var(--fz-13-5); }
  .wb2-flows em { grid-row: 1 / 3; align-self: center; }
  .wb2-admin-chip { position: static; margin-top: 12px; }
  .wb2-sys { grid-template-columns: 1fr 1fr; }
  .wb2-tech { grid-template-columns: 1fr; }
  .wb2-nums li { padding: 14px 12px 16px; }
  .wb2-nums b { font-size: 26px; }
  .wb2-steps { counter-reset: step; grid-template-columns: 1fr; row-gap: 0; padding: 0 0 0 48px; }
  .wb2-steps::before,
  .wb2-steps::after { display: block; top: 16px; right: auto; left: 15px; width: 2px; height: auto; }
  .wb2-steps::before { bottom: 16px; }
  .wb2-steps::after { height: calc(var(--p) * (100% - 32px)); }
  .wb2-step { padding-bottom: 30px; }
  .wb2-step:last-child { padding-bottom: 0; }
  .wb2-step::before { counter-increment: step; content: counter(step); top: 0; left: -48px; display: grid; place-items: center; width: 32px; height: 32px; background: var(--surface); font-size: 13px; font-weight: 650; color: var(--muted); }
  .wb2-step.is-done::before { transform: none; color: var(--mark-ink); }
  .wb2-step-when { line-height: 32px; }
  .wb2-step h3 { margin: 0 0 6px; font-size: 24px; }
  .wb2-step p:last-child { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .wb2-js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .wb2-js .wb2-desk-view img,
  .wb2-js .wb2-chip.is-in,
  .wb2-marquee-track,
  .wb2-pin.is-on::after,
  .wb2-live i,
  .wb2-js .wb2-mark { animation: none; }
  .wb2-frame-view img,
  .wb2-panel { transition: none; }
}

/* Dark surfaces: buttons on them take the dark palette's action colour */
.wb2-phone,
.wb2-ind,
.wb2-pin,
.wb2-dark,
.wb2-tier.is-pop,
.wb2-mega {
  --cta: var(--deep-accent);
  --cta-hover: var(--deep-accent-hover);
  --cta-ink: var(--deep-accent-ink);
}
