/* SPC3 product-led homepage */

:root {
  --home-ink: #071326;
  --home-ink-soft: #13233a;
  --home-blue: var(--brand-blue);
  --home-blue-dark: var(--brand-blue-hover);
  --home-cyan: #08a6c9;
  --home-teal: #087f6b;
  --home-green: #16875b;
  --home-amber: #c96a12;
  --home-red: #bf3a3a;
  --home-paper: #fcfcfc;
  --home-canvas: #f3f5f7;
  --home-line: #d9dfe7;
  --home-muted: #596b82;
  --home-max: 1320px;
  --duration-stagger: 40ms;
  --duration-quick: 150ms;
  --duration-fast: 250ms;
  --duration-medium: 350ms;
  --duration-slow: 400ms;
  --duration-very-slow: 500ms;
  --ease-smooth-out: cubic-bezier(0.22, 1, 0.36, 1);
  --stagger-dur: 500ms;
  --stagger-distance: 12px;
  --stagger-stagger: 40ms;
  --stagger-blur: 3px;
  --stagger-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --digit-dur: 500ms;
  --digit-distance: 8px;
  --digit-stagger: 70ms;
  --digit-blur: 2px;
  --digit-ease: cubic-bezier(0.34, 1.45, 0.64, 1);
  --digit-dir-x: 0;
  --digit-dir-y: 1;
  --panel-open-dur: 400ms;
  --panel-close-dur: 350ms;
  --panel-translate-y: 24px;
  --panel-blur: 2px;
  --panel-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --tabs-dur: 250ms;
  --tabs-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --tabs-text-muted: #52637a;
  --tabs-text-active: #071326;
  --tabs-bar-bg: #e9eef5;
  --tabs-pill-bg: #ffffff;
  --icon-swap-dur: 250ms;
  --icon-swap-blur: 2px;
  --icon-swap-start-scale: 0.25;
  --icon-swap-ease: ease-in-out;
  --tt-in-dur: 150ms;
  --tt-out-dur: 50ms;
  --tt-scale: 0.98;
  --tt-delay: 80ms;
  --tt-in-ease: ease-out;
  --tt-out-ease: ease-out;
  --tt-bg: #ffffff;
  --tt-fg: #2f2f2f;
}

.home-v2 {
  background: var(--home-paper);
  color: var(--home-ink-soft);
}

.home-v2 .nav-bar {
  border-bottom: 1px solid var(--home-line);
}

.home-v2 .nav-bar .btn-nav-cta,
.home-v2 .home-button {
  border-radius: 6px;
}

.home-container {
  width: min(100% - 48px, var(--home-max));
  max-width: none;
}

.home-section {
  padding: 112px 0;
}

.home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--home-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-kicker::before {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
}

.home-kicker--light {
  color: #90b5ff;
}

.home-v2 h1,
.home-v2 h2,
.home-v2 h3,
.home-v2 h4 {
  letter-spacing: 0;
}

.home-section h2 {
  margin: 0;
  color: var(--home-ink);
  font-size: 3.8rem;
  font-weight: 680;
  line-height: 1.07;
}

.home-section-head {
  max-width: 920px;
  margin-bottom: 56px;
}

.home-section-head p {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--home-muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

/* Hero */
.home-hero {
  position: relative;
  min-height: min(830px, calc(100dvh - 72px));
  display: flex;
  align-items: center;
  padding: 72px 0 64px;
  background: var(--home-paper);
  border-bottom: 1px solid var(--home-line);
  overflow: hidden;
}

.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(7, 19, 38, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 19, 38, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 80%);
}

.home-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(600px, 1.05fr) minmax(540px, 0.95fr);
  align-items: center;
  gap: 56px;
}

.home-hero-copy {
  min-width: 0;
}

.home-eyebrow {
  display: flex !important;
  align-items: center;
  gap: 0;
  color: var(--home-blue-dark);
  font-size: 12px;
  font-weight: 680;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.home-hero h1 {
  max-width: 760px;
  margin: 26px 0 24px;
  color: var(--home-ink);
  font-size: 4.5rem;
  font-weight: 680;
  line-height: 0.98;
}

.home-hero h1 span {
  color: var(--home-blue);
}

.home-hero-lede {
  max-width: 650px;
  margin: 0;
  color: #42546b;
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.7;
}

.home-hero-actions {
  display: flex !important;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.home-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  transition:
    transform var(--duration-quick) var(--ease-smooth-out),
    background-color var(--duration-quick) var(--ease-smooth-out),
    border-color var(--duration-quick) var(--ease-smooth-out),
    color var(--duration-quick) var(--ease-smooth-out),
    box-shadow var(--duration-fast) var(--ease-smooth-out);
}

.home-button i {
  transition: transform var(--duration-fast) var(--ease-smooth-out);
}

@media (hover: hover) and (pointer: fine) {
  .home-button:hover i { transform: translateX(3px); }
  .home-button:hover { transform: translateY(-1px); }
}

.home-button:active { transform: scale(0.98); }

.home-button--primary {
  color: #fff;
  background: var(--home-blue);
  box-shadow: 0 10px 24px rgba(20, 99, 255, 0.2);
}

.home-button--primary:hover {
  color: #fff;
  background: var(--home-blue-dark);
}

.home-button--secondary {
  color: var(--home-ink);
  background: #fff;
  border-color: #c8d3e1;
}

.home-button--secondary:hover {
  color: var(--home-blue-dark);
  border-color: #9eb2cc;
}

.home-button--dark {
  width: fit-content;
  color: #fff;
  background: var(--home-ink);
}

.home-button--dark:hover { color: #fff; background: #172942; }

.home-button--light {
  flex-shrink: 0;
  color: var(--home-ink);
  background: #fff;
}

.home-button--light:hover { color: var(--home-blue-dark); background: #f1f6ff; }

.home-hero-follow {
  width: fit-content;
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  margin-top: 17px;
  color: var(--home-blue-dark);
  font-size: 12px;
  font-weight: 700;
}

.home-hero-follow i { transition: transform var(--duration-fast) var(--ease-smooth-out); }
@media (hover: hover) and (pointer: fine) { .home-hero-follow:hover i { transform: translateY(3px); } }

.home-hero-note {
  display: flex !important;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
  color: var(--home-muted);
  font-size: 12px;
}

.home-hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.home-hero-note i { color: var(--home-green); font-size: 15px; }

/* DynaPay product stage */
.home-product-stage {
  position: relative;
  min-width: 0;
  background: #fff;
  border: 1px solid #cfd8e5;
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(20, 38, 66, 0.15), 0 4px 12px rgba(20, 38, 66, 0.06);
  overflow: hidden;
}

.home-product-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: inherit;
}

.home-stage-topbar,
.home-stage-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.home-stage-topbar {
  min-height: 64px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--home-line);
}

.home-stage-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-stage-brand div { display: flex; flex-direction: column; }
.home-stage-brand strong { color: var(--home-ink); font-size: 14px; }
.home-stage-brand small { color: var(--home-muted); font-size: 10px; }

.home-stage-mark {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: #fff;
  background: var(--home-blue);
  font-weight: 800;
}

.home-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.home-status--live { color: #116143; background: #e7f6ef; }
.home-status--live span { width: 6px; height: 6px; border-radius: 50%; background: #1d9a69; }
.home-status--success { color: #116143; background: #e7f6ef; }

.home-stage-flow {
  display: grid;
  grid-template-columns: auto minmax(24px, 1fr) auto minmax(24px, 1fr) auto minmax(24px, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 20px 18px;
  background: #f6f8fb;
  border-bottom: 1px solid var(--home-line);
}

.home-flow-step {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #7a899b;
  transition: color var(--duration-fast) var(--ease-smooth-out);
}

.home-flow-step > span:last-child { display: flex; flex-direction: column; }
.home-flow-step strong { font-size: 10px; line-height: 1.2; }
.home-flow-step small { font-size: 8px; line-height: 1.4; white-space: nowrap; }

.home-flow-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  background: #fff;
  transition:
    color var(--duration-fast) var(--ease-smooth-out),
    background-color var(--duration-fast) var(--ease-smooth-out),
    border-color var(--duration-fast) var(--ease-smooth-out),
    transform var(--duration-fast) var(--ease-smooth-out),
    box-shadow var(--duration-fast) var(--ease-smooth-out);
}

.home-flow-step.is-active { color: var(--home-ink); }
.home-flow-step.is-active .home-flow-icon {
  color: #fff;
  background: var(--home-blue);
  border-color: var(--home-blue);
  transform: scale(1.08);
  box-shadow: 0 0 0 5px rgba(20, 99, 255, 0.12);
}

.home-flow-step.is-complete { color: var(--home-green); }
.home-flow-step.is-complete .home-flow-icon { color: var(--home-green); border-color: rgba(22, 135, 91, 0.45); background: #eaf7f1; }

.home-flow-line {
  height: 2px;
  overflow: hidden;
  background: #d7dfe9;
}

.home-flow-line span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--home-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-slow) var(--ease-smooth-out);
}

.home-flow-line.is-complete span { transform: scaleX(1); }

.home-stage-body {
  display: grid;
  grid-template-columns: minmax(190px, 0.72fr) minmax(300px, 1.28fr);
  min-height: 340px;
}

.home-invoice-list {
  padding: 16px;
  background: #f7f8fa;
  border-right: 1px solid var(--home-line);
}

.home-list-heading {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--home-muted);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.home-invoice-row {
  width: 100%;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 11px 9px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  text-align: left;
}

.home-invoice-row + .home-invoice-row { margin-top: 7px; }
.home-invoice-row.is-selected { border-color: #9dbcf9; background: #eef4ff; }
.home-invoice-row > span:nth-child(2) { min-width: 0; display: flex; flex-direction: column; }
.home-invoice-row strong { overflow: hidden; color: var(--home-ink); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.home-invoice-row small { color: var(--home-muted); font-size: 8px; }
.home-invoice-row b { color: var(--home-ink); font-size: 8px; white-space: nowrap; }

.home-supplier-mark {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  color: #fff;
  background: var(--home-blue);
  font-size: 9px;
  font-weight: 800;
}

.home-supplier-mark--teal { background: var(--home-teal); }
.home-supplier-mark--amber { background: var(--home-amber); }

.home-match-panel { padding: 18px; }

.home-match-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--home-line);
}

.home-match-heading > div { display: flex; flex-direction: column; }
.home-match-heading > div span { color: var(--home-muted); font-size: 9px; }
.home-match-heading > div strong { color: var(--home-ink); font-size: 14px; }

.home-match-data {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  margin: 18px 0;
}

.home-match-data div { display: flex; flex-direction: column; gap: 3px; }
.home-match-data dt { color: var(--home-muted); font-size: 8px; font-weight: 500; }
.home-match-data dd { margin: 0; color: var(--home-ink); font-size: 11px; font-weight: 700; }
.home-match-data .home-positive { color: var(--home-green); }

.home-decision {
  min-height: 66px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px;
  border: 1px solid #c8d8f5;
  border-radius: 6px;
  background: #f2f6ff;
}

.home-decision-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--home-blue);
  transition: transform var(--duration-fast) var(--ease-smooth-out), background-color var(--duration-fast) var(--ease-smooth-out);
}

.home-decision.is-complete .home-decision-icon { background: var(--home-green); transform: scale(1.06); }
.home-decision > div { display: flex; flex-direction: column; }
.home-decision strong { color: var(--home-ink); font-size: 10px; }
.home-decision small { color: var(--home-muted); font-size: 8px; }

.home-processing-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 16px; }
.home-processing-bars i { width: 2px; height: 7px; background: var(--home-blue); animation: homeBars 900ms ease-in-out infinite alternate; }
.home-processing-bars i:nth-child(2) { height: 13px; animation-delay: 140ms; }
.home-processing-bars i:nth-child(3) { height: 9px; animation-delay: 280ms; }

@keyframes homeBars { to { height: 16px; opacity: 0.55; } }

.home-stage-footer {
  min-height: 42px;
  padding: 9px 16px;
  color: var(--home-muted);
  background: #f7f8fa;
  border-top: 1px solid var(--home-line);
  font-size: 8px;
}

.home-stage-footer span { display: inline-flex; align-items: center; gap: 6px; }
.home-stage-footer i { color: var(--home-blue); font-size: 11px; }
.home-stage-audit { margin-left: auto; }

.home-audit-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px;
  border: 0;
  color: var(--home-green);
  background: transparent;
  font: inherit;
  font-weight: 750;
}

.home-audit-trigger i { color: currentColor; }
.home-stage-audit .t-tt {
  right: 0;
  left: auto;
  z-index: 5;
  max-width: 280px;
  transform: scale(var(--tt-scale));
  transform-origin: 100% 100%;
  font-size: 10px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  white-space: normal;
}

.home-stage-audit:hover .t-tt,
.home-stage-audit .t-tt-trigger:focus-visible + .t-tt { transform: scale(1); }

/* Proof rail */
.home-proof-rail {
  border-bottom: 1px solid var(--home-line);
  background: #fff;
}

.home-proof-grid {
  min-height: 112px;
  display: grid;
  grid-template-columns: minmax(220px, 1.3fr) 0.8fr auto 0.9fr 0.8fr;
  align-items: center;
  gap: 28px;
}

.home-proof-intro {
  max-width: 280px;
  color: var(--home-muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.home-proof-stat {
  display: flex;
  flex-direction: column;
  padding-left: 28px;
  border-left: 1px solid var(--home-line);
}

.home-proof-stat strong { color: var(--home-ink); font-size: 1.65rem; line-height: 1.1; }
.home-proof-stat span:last-child { margin-top: 5px; color: var(--home-muted); font-size: 10px; }
.home-proof-stat--accent strong { color: var(--home-blue); }
.home-proof-arrow { color: var(--home-blue); font-size: 22px; }

/* Problem story */
.home-problem-section { background: #fff; }

.home-problem-list { border-top: 1px solid var(--home-line); }

.home-problem-row {
  min-height: 132px;
  display: grid;
  grid-template-columns: 50px minmax(280px, 0.8fr) minmax(440px, 1.2fr);
  align-items: center;
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--home-line);
}

.home-problem-number {
  align-self: start;
  padding-top: 5px;
  color: #8b99aa;
  font-size: 11px;
  font-weight: 700;
}

.home-problem-copy h3 { margin: 0 0 7px; color: var(--home-ink); font-size: 1.16rem; font-weight: 700; }
.home-problem-copy p { margin: 0; color: var(--home-muted); font-size: 0.92rem; }

.home-problem-motion {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  opacity: 0.6;
  transform: translateX(16px);
  transition: opacity var(--duration-slow) var(--ease-smooth-out), transform var(--duration-slow) var(--ease-smooth-out);
}

.home-problem-row.is-playing .home-problem-motion { opacity: 1; transform: translateX(0); }
.home-problem-motion > i { color: #94a3b8; }
.home-problem-motion > span { min-height: 38px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid #cad4e2; border-radius: 6px; background: #fff; color: #43546a; font-size: 11px; font-weight: 700; white-space: nowrap; }
.home-problem-motion .home-search-chip { color: var(--home-blue-dark); border-color: #9bb8f5; background: #f1f6ff; }
.home-problem-motion .home-result-chip { color: #116143; border-color: #9ccdb8; background: #eef9f4; }
.home-problem-motion .home-hold-chip { color: #8d4810; border-color: #edc69c; background: #fff7ed; }

.home-section-action { margin-top: 30px; }

.home-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--home-blue-dark);
  font-size: 13px;
  font-weight: 700;
}

.home-text-link i { transition: transform var(--duration-fast) var(--ease-smooth-out); }
@media (hover: hover) and (pointer: fine) { .home-text-link:hover i { transform: translateX(4px); } }

/* Hard-dollar controls */
.home-savings-section {
  background: var(--home-canvas);
  border-top: 1px solid var(--home-line);
}

.home-control-stories {
  display: grid;
  gap: 104px;
}

.home-control-story {
  display: grid;
  grid-template-columns: minmax(330px, 0.78fr) minmax(560px, 1.22fr);
  align-items: center;
  gap: 84px;
}

.home-control-story--reverse .home-control-copy { order: 2; }
.home-control-story--reverse .home-control-demo { order: 1; }

.home-control-copy h3 {
  max-width: 580px;
  margin: 0 0 20px;
  color: var(--home-ink);
  font-size: clamp(2rem, 3.2vw, 3.45rem);
  font-weight: 700;
  line-height: 1.08;
}

.home-control-copy > p:not(.home-control-proof) {
  margin: 0;
  color: var(--home-muted);
  font-size: 1rem;
  line-height: 1.72;
}

.home-check-list {
  display: grid;
  gap: 11px;
  margin: 27px 0 22px;
  padding: 0;
  list-style: none;
}

.home-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #31435a;
  font-size: 13px;
  line-height: 1.5;
}

.home-check-list i {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  border-radius: 50%;
  color: #fff;
  background: var(--home-green);
  font-size: 11px;
}

.home-control-proof {
  margin: 0 0 22px;
  color: #718096;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.5;
}

.home-control-demo {
  position: relative;
  min-width: 0;
  padding: 28px;
  border: 1px solid #cbd6e3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(20, 38, 66, 0.13), 0 3px 10px rgba(20, 38, 66, 0.05);
  overflow: hidden;
}

.home-demo-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--home-line);
  color: var(--home-ink);
  font-size: 12px;
  font-weight: 750;
}

.home-demo-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 4px;
  color: #176649;
  background: #eaf7f1;
  font-size: 9px;
}

.home-demo-state--blue { color: var(--home-blue-dark); background: #eaf1ff; }

.home-rate-head,
.home-rate-line {
  display: grid;
  grid-template-columns: minmax(150px, 1.3fr) repeat(3, minmax(68px, 0.55fr));
  align-items: center;
  gap: 14px;
}

.home-rate-head {
  padding: 20px 14px 10px;
  color: #8492a5;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.home-rate-line {
  position: relative;
  min-height: 70px;
  padding: 12px 14px;
  border-top: 1px solid #e4e9f0;
  color: #35475d;
  transition: background-color var(--duration-fast) var(--ease-smooth-out), box-shadow var(--duration-fast) var(--ease-smooth-out);
}

.home-rate-line > span { display: flex; flex-direction: column; gap: 4px; }
.home-rate-line strong { color: var(--home-ink); font-size: 11px; }
.home-rate-line small { color: var(--home-muted); font-size: 9px; }
.home-rate-line b { font-size: 11px; font-weight: 650; }
.home-rate-line em { color: var(--home-green); font-size: 11px; font-style: normal; font-weight: 750; }
.home-rate-line.is-over em { color: var(--home-amber); }
.home-rate-demo[data-phase="scan"] .home-rate-line.is-over { background: #fffaf3; }
.home-rate-demo[data-phase="held"] .home-rate-line.is-over { background: #fff6e9; box-shadow: inset 3px 0 0 var(--home-amber); }

.home-rate-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
}

.home-rate-scan i {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--home-blue);
  box-shadow: 0 0 14px rgba(20, 99, 255, 0.55);
  transform: translateY(0);
}

.home-rate-demo[data-phase="scan"] .home-rate-scan { opacity: 1; }
.home-rate-demo[data-phase="scan"] .home-rate-scan i { animation: homeRateScan 1.2s var(--ease-smooth-out) forwards; }

.home-rate-result {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid #efc48f;
  border-radius: 6px;
  background: #fffaf3;
  opacity: 0.48;
  transition: opacity var(--duration-slow) var(--ease-smooth-out), transform var(--duration-slow) var(--ease-smooth-out);
  transform: translateY(8px);
  overflow: hidden;
}

.home-rate-demo[data-phase="held"] .home-rate-result { opacity: 1; transform: translateY(0); }
.home-rate-result > div { display: flex; flex-direction: column; gap: 4px; }
.home-rate-result small { color: #8b6b42; font-size: 9px; }
.home-rate-result strong { display: flex; align-items: center; gap: 7px; color: #8d4810; font-size: 12px; }
.home-rate-result > span:last-child { color: #8d4810; font-size: 15px; font-weight: 800; }

.home-offer-invoice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 20px;
}

.home-offer-invoice > div { display: flex; flex-direction: column; gap: 4px; }
.home-offer-invoice small { color: var(--home-blue); font-size: 9px; font-weight: 750; }
.home-offer-invoice strong { color: var(--home-ink); font-size: 12px; }
.home-offer-invoice > b { color: var(--home-ink); font-size: 19px; }

.home-offer-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--home-line);
  border-radius: 6px;
  background: #f7f8fa;
}

.home-offer-metrics > div { min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 15px; border-right: 1px solid var(--home-line); }
.home-offer-metrics > div:last-child { border-right: 0; }
.home-offer-metrics small { color: var(--home-muted); font-size: 8px; }
.home-offer-metrics strong { color: var(--home-ink); font-size: 13px; }
.home-offer-metrics > div:nth-child(3) strong,
.home-offer-metrics > div:nth-child(4) strong { color: var(--home-green); }

.home-offer-track {
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 28px 2px 22px;
  color: var(--home-muted);
  font-size: 9px;
  font-weight: 650;
}

.home-offer-track > div { position: relative; height: 6px; border-radius: 3px; background: #dce4ee; }
.home-offer-track i { display: block; width: 100%; height: 100%; border-radius: inherit; background: var(--home-blue); transition: transform var(--duration-slow) var(--ease-smooth-out); transform: scaleX(0.12); transform-origin: left; }

.home-offer-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--home-line);
  color: var(--home-green);
}

.home-offer-status > i { font-size: 18px; }
.home-offer-status > span { display: flex; flex-direction: column; gap: 3px; }
.home-offer-status strong { color: var(--home-ink); font-size: 10px; }
.home-offer-status small { color: var(--home-muted); font-size: 9px; }

@keyframes homeRateScan { from { transform: translateY(0); } to { transform: translateY(144px); } }

/* Product suite */
.home-suite-section {
  background: var(--home-canvas);
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

.home-suite-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 72px;
  margin-bottom: 42px;
}

.home-suite-heading p { margin: 0 0 4px; color: var(--home-muted); font-size: 1rem; line-height: 1.7; }

.home-suite-tabs { margin-bottom: 18px; }
.home-suite-tabs .t-tab { height: 38px; padding: 6px 18px; font-size: 12px; font-weight: 700; }
.home-suite-tabs .t-tabs-pill { height: 38px; }

.home-suite-panels {
  position: relative;
  min-height: 530px;
}

.home-suite-panel {
  min-height: 510px;
  display: grid;
  grid-template-columns: minmax(330px, 0.75fr) minmax(500px, 1.25fr);
  align-items: stretch;
  gap: 52px;
  padding: 52px;
  border: 1px solid #ced7e3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(20, 38, 66, 0.08);
}

.home-suite-panel[hidden] { display: none !important; }

.home-suite-copy { display: flex; flex-direction: column; justify-content: center; }
.home-suite-label { margin-bottom: 15px; color: var(--home-blue); font-size: 11px; font-weight: 750; letter-spacing: 0.07em; text-transform: uppercase; }
.home-suite-copy h3 { margin: 0 0 18px; color: var(--home-ink); font-size: clamp(1.8rem, 3vw, 3.1rem); font-weight: 700; line-height: 1.08; }
.home-suite-copy p { margin: 0; color: var(--home-muted); line-height: 1.7; }
.home-suite-copy ul { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 24px 0 28px; padding: 0; list-style: none; }
.home-suite-copy li { display: flex; align-items: center; gap: 9px; color: #34465c; font-size: 13px; }
.home-suite-copy li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--home-blue); box-shadow: 0 0 0 4px rgba(20, 99, 255, 0.1); }

.home-suite-visual {
  min-width: 0;
  align-self: center;
  padding: 28px;
  border: 1px solid #cad5e3;
  border-radius: 8px;
  background: #f7f8fa;
  box-shadow: 0 22px 50px rgba(20, 38, 66, 0.13);
}

.home-mini-window-head,
.home-bid-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--home-line);
  color: var(--home-ink);
  font-size: 12px;
  font-weight: 700;
}

.home-mini-invoice { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 12px; padding: 24px 0; }
.home-mini-invoice div { display: flex; flex-direction: column; gap: 5px; padding: 14px; border: 1px solid var(--home-line); border-radius: 6px; background: #fff; }
.home-mini-invoice small { color: var(--home-muted); font-size: 9px; }
.home-mini-invoice strong { color: var(--home-ink); font-size: 12px; }
.home-mini-match { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.home-mini-match span { display: flex; align-items: center; gap: 8px; padding: 11px 12px; border-radius: 6px; color: #176649; background: #eaf7f1; font-size: 10px; font-weight: 700; }

.home-suite-visual--steps { display: grid; grid-template-columns: 1fr 180px; align-items: center; gap: 32px; }
.home-step-list { display: flex; flex-direction: column; gap: 12px; }
.home-step-list span { display: flex; align-items: center; gap: 10px; padding: 14px; border: 1px solid var(--home-line); border-radius: 6px; color: var(--home-muted); background: #fff; font-size: 11px; font-weight: 700; }
.home-step-list .is-done { color: #176649; border-color: #b7dacb; }
.home-step-list .is-current { color: var(--home-blue-dark); border-color: #8fb2f5; background: #eef4ff; }
.home-step-score { display: flex; flex-direction: column; gap: 10px; }
.home-step-score small { color: var(--home-muted); }
.home-step-score strong { color: var(--home-ink); font-size: 3.2rem; }
.home-step-score > span { height: 8px; overflow: hidden; border-radius: 4px; background: #dfe6ef; }
.home-step-score > span i { display: block; width: 96%; height: 100%; background: var(--home-green); }

.home-bid-head small { color: var(--home-muted); font-weight: 500; }
.home-bid-row { display: grid; grid-template-columns: 100px 1fr 34px; align-items: center; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--home-line); }
.home-bid-row strong { color: var(--home-ink); font-size: 11px; }
.home-bid-row > span { height: 7px; overflow: hidden; border-radius: 4px; background: #dfe6ef; }
.home-bid-row > span i { display: block; width: var(--score); height: 100%; background: var(--home-blue); }
.home-bid-row b { color: var(--home-ink); font-size: 12px; }

.home-suite-visual--image { padding: 0; overflow: hidden; background: #fff; }
.home-suite-visual--image img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; object-position: top left; }

.home-catalogue-search { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid #bfcbd9; border-radius: 6px; color: var(--home-muted); background: #fff; font-size: 11px; }
.home-catalogue-row { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto 24px; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--home-line); }
.home-catalogue-thumb { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; color: var(--home-blue); background: #eaf1ff; }
.home-catalogue-row > span:nth-child(2) { display: flex; flex-direction: column; }
.home-catalogue-row strong { color: var(--home-ink); font-size: 11px; }
.home-catalogue-row small { color: var(--home-muted); font-size: 9px; }
.home-catalogue-row b { color: var(--home-ink); font-size: 12px; }
.home-catalogue-row > i { color: var(--home-blue); }

/* Proof case study */
.home-case-section {
  color: #dce7f7;
  background: var(--home-ink);
}

.home-case-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.8fr) minmax(560px, 1.2fr);
  align-items: center;
  gap: 96px;
}

.home-case-copy blockquote { margin: 0; color: #fff; font-size: clamp(1.7rem, 3.1vw, 3.4rem); font-weight: 600; line-height: 1.2; }
.home-case-author { display: flex; align-items: center; gap: 12px; margin-top: 30px; }
.home-case-avatar { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.17); border-radius: 50%; color: #91b5ff; background: rgba(255,255,255,0.07); }
.home-case-author > div { display: flex; flex-direction: column; }
.home-case-author strong { color: #fff; font-size: 12px; }
.home-case-author small { color: #94a8c2; font-size: 11px; }

.home-throughput { padding: 34px; border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; background: rgba(255,255,255,0.045); }
.home-throughput-head { display: flex; justify-content: space-between; padding-bottom: 24px; color: #9fb0c7; font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; }
.home-throughput-row { display: grid; grid-template-columns: 96px 1fr 70px; align-items: center; gap: 16px; margin-bottom: 18px; color: #aebed2; font-size: 11px; }
.home-throughput-row > div { height: 16px; overflow: hidden; border-radius: 3px; background: rgba(255,255,255,0.08); }
.home-throughput-row i { display: block; width: var(--bar); height: 100%; background: #61748d; transform: scaleX(0); transform-origin: left; transition: transform 900ms var(--ease-smooth-out); }
.home-throughput.is-visible .home-throughput-row i { transform: scaleX(1); }
.home-throughput-row--after i { background: var(--home-blue); transition-delay: 160ms; }
.home-throughput-row strong { color: #fff; text-align: right; }
.home-case-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.12); }
.home-case-metrics div { display: flex; flex-direction: column; }
.home-case-metrics strong { color: #fff; font-size: 1.5rem; }
.home-case-metrics span { color: #91a5bf; font-size: 9px; }

/* ERP */
.home-erp-section { background: #fff; }
.home-erp-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 80px; }
.home-erp-copy p { max-width: 620px; margin: 24px 0; color: var(--home-muted); line-height: 1.75; }
.home-erp-status { display: flex; flex-direction: column; gap: 10px; }
.home-erp-status span { display: flex; align-items: flex-start; gap: 9px; color: #34465c; font-size: 12px; }
.home-erp-status i { margin-top: 2px; color: var(--home-blue); }
.home-erp-scope { max-width: 620px; display: block; margin-top: 17px; color: var(--home-muted); font-size: 11px; line-height: 1.6; }

.home-erp-diagram { display: grid; grid-template-columns: 190px minmax(220px, 1fr) 190px; align-items: center; gap: 20px; padding: 38px; border: 1px solid #ccd6e3; border-radius: 8px; background: var(--home-canvas); }
.home-erp-node { min-height: 170px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; padding: 22px; border: 1px solid #c8d2df; border-radius: 8px; background: #fff; text-align: center; }
.home-erp-node > i { color: var(--home-blue); font-size: 30px; }
.home-erp-node strong { color: var(--home-ink); font-size: 15px; }
.home-erp-node small { color: var(--home-muted); font-size: 9px; line-height: 1.5; }
.home-erp-node--accent { color: #fff; background: var(--home-ink); border-color: var(--home-ink); }
.home-erp-node--accent strong { color: #fff; }
.home-erp-node--accent small { color: #9fb0c6; }
.home-erp-lanes { display: flex; flex-direction: column; gap: 28px; }
.home-erp-lanes > div { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; color: var(--home-muted); font-size: 8px; white-space: nowrap; }
.home-erp-lanes > div > i:not(.bi) { position: relative; height: 1px; overflow: visible; background: #aab8ca; }
.home-erp-lanes > div > i:not(.bi)::after { content: ''; position: absolute; top: -3px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--home-blue); animation: homeLane 2.4s linear infinite; }
.home-erp-lanes .bi { color: var(--home-blue); }
@keyframes homeLane { from { left: 0; } to { left: calc(100% - 7px); } }

/* Insights */
.home-insights-section { background: var(--home-canvas); border-top: 1px solid var(--home-line); }
.home-insights-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 42px; }
.home-insights-head h2 { max-width: 760px; }
.home-insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--home-line); border-bottom: 1px solid var(--home-line); }
.home-insight { min-width: 0; padding: 30px; border-right: 1px solid var(--home-line); background: #fff; }
.home-insight:last-child { border-right: 0; }
.home-insight-meta { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 36px; color: var(--home-muted); font-size: 9px; text-transform: uppercase; letter-spacing: 0.05em; }
.home-insight-meta span { color: var(--home-blue); font-weight: 700; }
.home-insight h3 { margin: 0 0 14px; font-size: 1.24rem; line-height: 1.35; }
.home-insight h3 a { color: var(--home-ink); }
.home-insight p { margin: 0 0 26px; color: var(--home-muted); font-size: 0.86rem; line-height: 1.65; }

/* Final CTA */
.home-final-cta { padding: 0 0 72px; background: var(--home-canvas); }
.home-final-inner { min-height: 330px; display: flex; align-items: center; justify-content: space-between; gap: 80px; padding: 64px; border-radius: 8px; color: #c7d4e5; background: var(--home-blue); }
.home-final-inner h2 { max-width: 780px; margin: 0; color: #fff; font-size: clamp(2.1rem, 4vw, 4.4rem); font-weight: 700; line-height: 1.05; }
.home-final-inner p { max-width: 700px; margin: 20px 0 0; color: #dce8ff; }

/* transitions.dev: texts reveal */
.t-stagger-line {
  display: block;
  opacity: 0;
  transform: translateY(var(--stagger-distance));
  filter: blur(var(--stagger-blur));
  transition:
    opacity var(--stagger-dur) var(--stagger-ease),
    transform var(--stagger-dur) var(--stagger-ease),
    filter var(--stagger-dur) var(--stagger-ease);
  will-change: transform, opacity, filter;
}
.t-stagger-line--2 { transition-delay: var(--stagger-stagger); }
.t-stagger-line--3 { transition-delay: calc(var(--stagger-stagger) * 2); }
.t-stagger-line--4 { transition-delay: calc(var(--stagger-stagger) * 3); }
.t-stagger-line--5 { transition-delay: calc(var(--stagger-stagger) * 4); }
.t-stagger-line--6 { transition-delay: calc(var(--stagger-stagger) * 5); }
.t-stagger.is-shown .t-stagger-line { opacity: 1; transform: translateY(0); filter: blur(0); }
.t-stagger.is-hiding .t-stagger-line {
  opacity: 0;
  transform: translateY(0);
  filter: blur(0);
  transition: opacity 200ms ease, transform 0s linear, filter 0s linear;
  transition-delay: 0s;
}

/* transitions.dev: number pop-in */
@keyframes t-digit-pop-in {
  0% {
    transform: translate(calc(var(--digit-distance) * var(--digit-dir-x)), calc(var(--digit-distance) * var(--digit-dir-y)));
    opacity: 0;
    filter: blur(var(--digit-blur));
  }
  100% { transform: translate(0, 0); opacity: 1; filter: blur(0); }
}
.t-digit-group { display: inline-flex; align-items: baseline; }
.t-digit { display: inline-block; will-change: transform, opacity, filter; }
.t-digit-group.is-animating .t-digit { animation: t-digit-pop-in var(--digit-dur) var(--digit-ease) both; }
.t-digit-group.is-animating .t-digit[data-stagger="1"] { animation-delay: var(--digit-stagger); }
.t-digit-group.is-animating .t-digit[data-stagger="2"] { animation-delay: calc(var(--digit-stagger) * 2); }

/* transitions.dev: panel reveal */
.t-panel-slide {
  transform: translateY(var(--panel-translate-y));
  opacity: 0;
  filter: blur(var(--panel-blur));
  pointer-events: none;
  transition:
    transform var(--panel-close-dur) var(--panel-ease),
    opacity var(--panel-close-dur) var(--panel-ease),
    filter var(--panel-close-dur) var(--panel-ease);
  will-change: transform, opacity, filter;
}
.t-panel-slide[data-open="true"] {
  transform: translateY(0);
  opacity: 1;
  filter: blur(0);
  pointer-events: auto;
  transition:
    transform var(--panel-open-dur) var(--panel-ease),
    opacity var(--panel-open-dur) var(--panel-ease),
    filter var(--panel-open-dur) var(--panel-ease);
}

/* transitions.dev: sliding tabs */
.t-tabs {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border-radius: 48px;
  background: var(--tabs-bar-bg);
}
.t-tab {
  position: relative;
  appearance: none;
  border: 0;
  background: transparent;
  height: 30px;
  padding: 4px 12px;
  color: var(--tabs-text-muted);
  cursor: pointer;
  border-radius: 48px;
  z-index: 1;
  transition: color var(--tabs-dur) var(--tabs-ease);
}
.t-tab:not([aria-selected="true"]):hover,
.t-tab[aria-selected="true"] { color: var(--tabs-text-active); }
.t-tabs-pill {
  position: absolute;
  top: 3px;
  left: 0;
  height: 30px;
  width: 0;
  background: var(--tabs-pill-bg);
  border-radius: 48px;
  transform: translateX(0);
  transition: transform var(--tabs-dur) var(--tabs-ease), width var(--tabs-dur) var(--tabs-ease);
  will-change: transform, width;
  z-index: 0;
  pointer-events: none;
}

/* transitions.dev: icon swap */
.t-icon-swap {
  position: relative;
  display: inline-grid;
}
.t-icon-swap .t-icon {
  grid-area: 1 / 1;
  transition:
    opacity var(--icon-swap-dur) var(--icon-swap-ease),
    filter var(--icon-swap-dur) var(--icon-swap-ease),
    transform var(--icon-swap-dur) var(--icon-swap-ease);
  will-change: opacity, filter, transform;
}
.t-icon-swap[data-state="a"] .t-icon[data-icon="a"],
.t-icon-swap[data-state="b"] .t-icon[data-icon="b"] {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}
.t-icon-swap[data-state="a"] .t-icon[data-icon="b"],
.t-icon-swap[data-state="b"] .t-icon[data-icon="a"] {
  opacity: 0;
  filter: blur(var(--icon-swap-blur));
  transform: scale(var(--icon-swap-start-scale));
}

/* transitions.dev: tooltip */
.t-tt-wrap {
  position: relative;
  display: inline-block;
}
.t-tt {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translate(-50%, 0) scale(var(--tt-scale));
  transform-origin: 50% 100%;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--tt-bg);
  color: var(--tt-fg);
  white-space: nowrap;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.06),
    0 2px 6px 0 rgba(0, 0, 0, 0.05),
    0 4px 42px 0 rgba(0, 0, 0, 0.06);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity var(--tt-out-dur) var(--tt-out-ease),
    transform var(--tt-out-dur) var(--tt-out-ease);
}
.t-tt-wrap:hover .t-tt,
.t-tt-trigger:focus-visible + .t-tt {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
  transition-duration: var(--tt-in-dur);
  transition-timing-function: var(--tt-in-ease);
  transition-delay: var(--tt-delay);
}

@media (max-width: 1199.98px) {
  .home-hero h1 { font-size: 4rem; }
  .home-hero-grid { grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr); gap: 36px; }
  .home-stage-body { grid-template-columns: 170px 1fr; }
  .home-invoice-row { grid-template-columns: 26px minmax(0, 1fr); }
  .home-invoice-row b { display: none; }
  .home-proof-grid { gap: 14px; }
  .home-problem-row { grid-template-columns: 40px minmax(250px, 0.8fr) minmax(400px, 1.2fr); }
  .home-control-story { grid-template-columns: minmax(300px, 0.8fr) minmax(500px, 1.2fr); gap: 48px; }
  .home-suite-panel { gap: 34px; padding: 40px; }
  .home-erp-diagram { grid-template-columns: 160px minmax(170px, 1fr) 160px; padding: 28px; }
  .home-case-grid { grid-template-columns: 1fr; gap: 54px; }
}

@media (max-width: 991.98px) {
  .home-v2 .nav-bar { padding-left: 20px !important; padding-right: 20px !important; }
  .home-container { width: min(100% - 36px, var(--home-max)); }
  .home-section { padding: 88px 0; }
  .home-section h2 { font-size: 3.2rem; }
  .home-hero { min-height: auto; padding: 72px 0; }
  .home-hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .home-hero-copy { max-width: 760px; }
  .home-product-stage { max-width: 760px; }
  .home-proof-grid { grid-template-columns: 1fr 1fr 32px 1fr 1fr; padding: 24px 0; }
  .home-proof-intro { grid-column: 1 / -1; max-width: none; }
  .home-proof-stat { padding-left: 18px; }
  .home-problem-row { grid-template-columns: 34px 1fr; gap: 18px; }
  .home-problem-motion { grid-column: 2; justify-content: flex-start; }
  .home-control-story { grid-template-columns: 1fr; gap: 42px; }
  .home-control-story--reverse .home-control-copy,
  .home-control-story--reverse .home-control-demo { order: initial; }
  .home-control-story--reverse .home-control-copy { order: 1; }
  .home-control-story--reverse .home-control-demo { order: 2; }
  .home-suite-heading { grid-template-columns: 1fr; gap: 24px; }
  .home-suite-tabs { display: flex; width: 100%; overflow-x: auto; }
  .home-suite-tabs .t-tab { flex: 0 0 auto; }
  .home-suite-panels { min-height: 760px; }
  .home-suite-panel { grid-template-columns: 1fr; min-height: 730px; }
  .home-suite-visual { min-height: 300px; }
  .home-case-grid { grid-template-columns: 1fr; gap: 54px; }
  .home-erp-grid { grid-template-columns: 1fr; gap: 54px; }
  .home-insights-grid { grid-template-columns: 1fr; }
  .home-insight { border-right: 0; border-bottom: 1px solid var(--home-line); }
  .home-insight:last-child { border-bottom: 0; }
  .home-final-inner { align-items: flex-start; flex-direction: column; gap: 34px; padding: 48px; }
}

@media (max-width: 767.98px) {
  .home-container { width: min(100% - 28px, var(--home-max)); }
  .home-section { padding: 72px 0; }
  .home-hero { padding: 48px 0 42px; }
  .home-hero-grid { gap: 12px; }
  .home-hero h1 { font-size: 3.5rem; }
  .home-product-stage.reveal { opacity: 1; transform: none; }
  .home-section h2 { font-size: 2.65rem; }
  .home-hero-actions { flex-direction: column; align-items: stretch; }
  .home-button { width: 100%; }
  .home-product-stage { overflow: hidden; }
  .home-stage-topbar { min-height: 58px; }
  .home-stage-flow { grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 16px 12px; }
  .home-flow-line { display: none; }
  .home-flow-step { flex-direction: column; justify-content: center; text-align: center; }
  .home-flow-step small { display: none; }
  .home-stage-body { grid-template-columns: 1fr; min-height: 0; }
  .home-invoice-list { display: none; }
  .home-match-panel { padding: 15px; }
  .home-stage-footer span:nth-child(2) { display: none; }
  .home-proof-grid { grid-template-columns: 1fr 24px 1fr; gap: 10px; }
  .home-proof-intro { grid-column: 1 / -1; }
  .home-proof-stat { padding: 0 0 0 12px; }
  .home-proof-stat:last-child { grid-column: 1 / -1; padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--home-line); }
  .home-proof-stat strong { font-size: 1.4rem; }
  .home-section-head { margin-bottom: 42px; }
  .home-section h2 { font-size: clamp(2rem, 11vw, 3.1rem); }
  .home-problem-row { grid-template-columns: 28px minmax(0, 1fr); min-height: 0; }
  .home-problem-motion { flex-wrap: wrap; gap: 7px; }
  .home-problem-motion > span { min-height: 34px; padding: 7px 9px; font-size: 9px; }
  .home-problem-motion > i { font-size: 10px; }
  .home-control-stories { gap: 76px; }
  .home-control-demo { padding: 20px 16px; }
  .home-rate-head { display: none; }
  .home-rate-line { grid-template-columns: minmax(110px, 1.2fr) repeat(3, minmax(46px, 0.55fr)); gap: 7px; padding: 12px 8px; }
  .home-rate-line strong,
  .home-rate-line b,
  .home-rate-line em { font-size: 9px; }
  .home-offer-metrics { grid-template-columns: 1fr 1fr; }
  .home-offer-metrics > div:nth-child(2) { border-right: 0; }
  .home-offer-metrics > div:nth-child(-n+2) { border-bottom: 1px solid var(--home-line); }
  .home-suite-tabs { padding-bottom: 3px; }
  .home-suite-panels { min-height: 820px; }
  .home-suite-panel { min-height: 800px; padding: 28px 22px; gap: 28px; }
  .home-suite-copy h3 { font-size: 2rem; }
  .home-suite-visual { padding: 18px; min-height: 260px; }
  .home-mini-invoice { grid-template-columns: 1fr 1fr; }
  .home-mini-invoice div:last-child { grid-column: 1 / -1; }
  .home-mini-match { grid-template-columns: 1fr; }
  .home-suite-visual--steps { grid-template-columns: 1fr; }
  .home-step-score { display: none; }
  .home-suite-visual--image { min-height: 260px; padding: 0; }
  .home-suite-visual--image img { min-height: 260px; }
  .home-case-grid { gap: 38px; }
  .home-throughput { padding: 24px 18px; }
  .home-throughput-row { grid-template-columns: 80px 1fr 54px; gap: 10px; }
  .home-case-metrics { gap: 8px; }
  .home-case-metrics strong { font-size: 1.2rem; }
  .home-erp-diagram { grid-template-columns: 1fr; padding: 20px; }
  .home-erp-lanes { min-height: 100px; align-items: stretch; }
  .home-erp-lanes > div { grid-template-columns: 1fr; justify-items: center; white-space: normal; text-align: center; }
  .home-erp-lanes > div > i:not(.bi) { width: 1px; height: 30px; }
  .home-erp-lanes > div > i:not(.bi)::after { left: -3px; animation: homeLaneMobile 2.4s linear infinite; }
  .home-insights-head { align-items: flex-start; flex-direction: column; }
  .home-insight { padding: 26px 22px; }
  .home-final-cta { padding-bottom: 28px; }
  .home-final-inner { min-height: 0; padding: 38px 24px; }
}

@keyframes homeLaneMobile { from { top: 0; } to { top: calc(100% - 7px); } }

@media (prefers-reduced-motion: reduce) {
  .t-stagger-line,
  .t-panel-slide,
  .t-tabs-pill,
  .t-tab { transition: none !important; }
  .t-icon-swap .t-icon,
  .t-tt { transition: none !important; }
  .t-digit-group .t-digit { animation: none !important; }
  .home-processing-bars i,
  .home-rate-scan i,
  .home-erp-lanes > div > i:not(.bi)::after { animation: none !important; }
  .home-rate-line,
  .home-rate-result,
  .home-offer-track i { transition: none !important; }
  .home-flow-line span,
  .home-throughput-row i { transition: none !important; transform: scaleX(1); }
}
