/* ============================================================
   DIA v3 — section layouts
   header · product demo · channels · steps · stories · pricing
   configurator · comparison · add-ons · footer
   ============================================================ */

/* ---------------- Header ---------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--t-base), backdrop-filter var(--t-base), border-color var(--t-base);
}
.site-header.is-scrolled {
  background: rgba(245, 245, 247, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--border-soft);
}
.site-header .wrap { max-width: var(--maxw-wide); }
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--s5);
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--text-primary); flex: none; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 28px; height: 28px; flex: none; }
.brand__name { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.02em; }
.brand__sub {
  padding-left: 9px;
  margin-left: 2px;
  border-left: 1px solid var(--border-medium);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  white-space: nowrap;
}

.nav { margin-inline: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__list li { margin: 0; }
.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.4rem 0.8rem;
  border-radius: var(--r-xs);
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  font-weight: 400;
  white-space: nowrap;
  transition: color var(--t-fast), background var(--t-fast);
}
.nav__link:hover { color: var(--text-primary); background: rgba(0,0,0,0.04); text-decoration: none; }
.nav__link[aria-current="true"] { color: var(--text-primary); font-weight: 500; }

.header-actions { display: flex; align-items: center; gap: var(--s3); flex: none; }
.header-link {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.header-link:hover { color: var(--text-primary); text-decoration: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: none;
}
.nav-toggle__bars { position: relative; width: 18px; height: 11px; }
.nav-toggle__bars span {
  position: absolute; left: 0; right: 0;
  height: 1.5px; border-radius: 2px;
  background: var(--text-primary);
  transition: transform var(--t-base), opacity var(--t-fast);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { bottom: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(4.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { transform: translateY(-4.75px) rotate(-45deg); }

/* mobile sheet */
.nav-sheet {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  background: rgba(245,245,247,0.94);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  padding: var(--s5) 0 var(--s8);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--t-base), transform var(--t-base), visibility var(--t-base);
}
body.menu-open .nav-sheet { opacity: 1; visibility: visible; transform: none; }
body.menu-open { overflow: hidden; }
.nav-sheet__list { list-style: none; margin: 0 0 var(--s5); padding: 0; }
.nav-sheet__list li { margin: 0; border-bottom: 1px solid var(--border-soft); }
.nav-sheet__list a {
  display: flex;
  align-items: center;
  min-height: 58px;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.018em;
  color: var(--text-primary);
}
.nav-sheet__list a:hover { text-decoration: none; color: var(--primary); }
.nav-sheet__secondary { display: flex; flex-wrap: wrap; gap: var(--s5); margin-top: var(--s5); }
.nav-sheet__secondary a { font-size: var(--fs-sm); color: var(--text-secondary); }

/* ---------------- Product demo (section 2) ---------------- */
.demo-panel { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); min-height: 460px; }
.demo-panel__main { display: flex; flex-direction: column; border-right: 1px solid var(--dark-border); }
.demo-bar {
  display: flex;
  align-items: center;
  gap: var(--s4);
  padding: var(--s4) var(--s5);
  border-bottom: 1px solid var(--dark-border);
  flex-wrap: wrap;
}
.demo-controls { display: flex; align-items: center; gap: var(--s2); margin-left: auto; }
.demo-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.08);
  color: #fff;
  cursor: pointer;
  transition: background var(--t-fast);
}
.demo-btn:hover { background: rgba(255,255,255,0.16); }
.demo-btn svg { width: 15px; height: 15px; }
.demo-panel .convo { flex: 1; max-height: 400px; }
.demo-caller {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s4) var(--s5);
  border-bottom: 1px solid var(--dark-border);
  font-size: var(--fs-sm);
}
.demo-caller__avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.1);
  font-size: var(--fs-xs);
  font-weight: 600;
  flex: none;
}
.demo-side { padding: var(--s5); }
.demo-side h3 { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-on-dark-soft); margin-bottom: var(--s4); }
.demo-summary {
  margin-top: var(--s5);
  padding: var(--s4);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--dark-border);
  font-size: var(--fs-xs);
  color: var(--text-on-dark-soft);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}
.demo-summary.is-in { opacity: 1; transform: none; }
.demo-summary b { display: block; color: #fff; margin-bottom: 4px; font-size: var(--fs-sm); }

/* ---------------- Channels showcase ---------------- */
.chan { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
.chan h3 { font-size: var(--fs-h2); margin-bottom: var(--s4); max-width: 16ch; }
.chan p { color: var(--text-secondary); max-width: 30rem; }
.chan__cta { margin-top: var(--s5); }

.mock {
  position: relative;
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--sh-lg);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  flex-direction: column;
}
.mock__bar {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s4) var(--s5);
  border-bottom: 1px solid var(--border-soft);
  background: var(--surface-soft);
  font-size: var(--fs-sm);
}
.mock__avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface-sunken);
  color: var(--text-secondary);
  flex: none;
}
.mock__avatar svg { width: 16px; height: 16px; }
.mock .convo { min-height: 240px; }
.mock__foot {
  padding: var(--s4) var(--s5);
  border-top: 1px solid var(--border-soft);
  background: var(--surface-soft);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: var(--s2);
}

/* ---------------- Industry stories ---------------- */
.story { display: flex; flex-direction: column; height: 100%; }
.story__tag { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); margin-bottom: var(--s4); }
.story__line { display: grid; gap: var(--s3); margin-bottom: var(--s5); }
.story__q, .story__a {
  padding: 0.6rem 0.85rem;
  border-radius: 16px;
  font-size: var(--fs-sm);
  line-height: 1.45;
}
.story__q { background: var(--surface-sunken); border-bottom-left-radius: 6px; justify-self: start; max-width: 92%; }
.story__a { background: var(--primary-soft); color: #08508F; border-bottom-right-radius: 6px; justify-self: end; max-width: 92%; }
.story__result {
  margin-top: auto;
  padding-top: var(--s4);
  border-top: 1px solid var(--border-soft);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}
.story__result b { color: var(--text-primary); font-weight: 500; }

/* ---------------- Pricing ---------------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); align-items: stretch; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: var(--s6);
  box-shadow: var(--sh-sm);
  transition: box-shadow var(--t-base), transform var(--t-base);
}
.plan:hover { box-shadow: var(--sh-lg); transform: translateY(-2px); }
.plan--featured { box-shadow: var(--sh-lg); outline: 1.5px solid var(--primary); outline-offset: -1.5px; }
.plan__badge { position: absolute; top: -11px; left: var(--s6); }
.plan__name { font-size: var(--fs-h3); margin-bottom: 4px; }
.plan__for { font-size: var(--fs-xs); color: var(--text-muted); margin-bottom: var(--s5); min-height: 2.6em; }
.plan__price { display: flex; align-items: baseline; gap: 5px; }
.plan__amount { font-size: 2.5rem; font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.plan__per { font-size: var(--fs-sm); color: var(--text-secondary); }
.plan__setup { margin-top: 8px; font-size: var(--fs-xs); color: var(--text-muted); }
.plan__list { margin: var(--s5) 0 var(--s6); }
.plan__cta { margin-top: auto; }

.pricing-more { text-align: center; margin-top: var(--s6); }

.adv { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--s4); }
.adv__item {
  padding: var(--s5);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border-soft);
}
.adv__item h4 { margin-bottom: 6px; }
.adv__price { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.03em; }
.adv__meta { margin-top: var(--s3); font-size: var(--fs-xs); color: var(--text-muted); display: grid; gap: 3px; }

.usage-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); }
.usage {
  padding: var(--s6);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--sh-xs);
}
.usage__figure {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: var(--s3);
}
.usage__figure small { font-size: var(--fs-sm); font-weight: 400; color: var(--text-secondary); letter-spacing: 0; }
.usage__bar { height: 6px; border-radius: 3px; background: var(--surface-sunken); overflow: hidden; margin-bottom: var(--s4); }
.usage__bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--primary), var(--aqua)); }

/* ---------------- Configurator ---------------- */
.config { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: var(--s6); align-items: start; }
.config__panel { background: var(--surface); border-radius: var(--r-xl); padding: clamp(1.25rem, 0.9rem + 1.4vw, 2rem); box-shadow: var(--sh-sm); }
.config__step { animation: panel-in var(--t-slow) both; }
.config__nav { display: flex; gap: var(--s3); margin-top: var(--s6); }
.config__nav .btn { flex: 1; }
.config-result {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: clamp(1.25rem, 0.9rem + 1.4vw, 2rem);
  box-shadow: var(--sh-md);
}
.result__plan { font-size: 1.75rem; font-weight: 600; letter-spacing: -0.03em; margin-bottom: 2px; }
.result__row {
  display: flex;
  justify-content: space-between;
  gap: var(--s4);
  padding: 0.55rem 0;
  font-size: var(--fs-sm);
  border-bottom: 1px solid var(--border-soft);
}
.result__row:last-of-type { border-bottom: 0; }
.result__row span:last-child { font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.result__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: var(--s4);
  padding-top: var(--s4);
  border-top: 1px solid var(--border-medium);
}
.result__amount { font-size: 2rem; font-weight: 600; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.result__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--s4); }

/* ---------------- Comparison dialog ---------------- */
.cmp-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.cmp-table caption { text-align: left; padding: var(--s5) 0 var(--s3); font-weight: 600; }
.cmp-table th, .cmp-table td { padding: 0.6rem 0.75rem; text-align: left; border-bottom: 1px solid var(--border-soft); vertical-align: top; }
.cmp-table thead th { font-size: var(--fs-xs); color: var(--text-secondary); font-weight: 600; position: sticky; top: 0; background: var(--surface); }
.cmp-table tbody th { font-weight: 400; color: var(--text-secondary); }
.yes { color: var(--positive); font-weight: 600; }
.no { color: var(--text-muted); }
.cmp-picker { display: none; gap: var(--s3); margin-bottom: var(--s5); }
.cmp-picker .field { flex: 1; margin: 0; }

/* ---------------- Setup fee ---------------- */
.setup-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); }
.setup-item { padding: var(--s5); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-xs); }
.setup-item h4 { margin-bottom: 6px; }
.setup-item p { font-size: var(--fs-sm); color: var(--text-secondary); margin: 0; }

/* ---------------- Final CTA ---------------- */
.final-cta { text-align: center; }
.final-cta h2 { max-width: 18ch; margin-inline: auto; }
.final-cta .lead { margin-inline: auto; }
.final-cta__row { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }

/* ---------------- Contact ---------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
.contact-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s4); }
.contact-form-grid .field--full { grid-column: 1 / -1; }

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--surface-soft);
  border-top: 1px solid var(--border-soft);
  padding-block: var(--s8) var(--s6);
  font-size: var(--fs-sm);
}
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: var(--s6); margin-bottom: var(--s7); }
.footer-grid h4 { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: var(--s4); }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: 10px; }
.footer-list a { color: var(--text-secondary); }
.footer-list a:hover { color: var(--text-primary); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s3) var(--s5);
  padding-top: var(--s5);
  border-top: 1px solid var(--border-soft);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: var(--s4); }

/* ---------------- v4 additions ---------------- */

.plan__extra {
  margin: var(--s4) 0 var(--s5);
  padding-top: var(--s4);
  border-top: 1px solid var(--border-soft);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.adv__list { margin: var(--s4) 0 0; }
.adv__list li { font-size: var(--fs-xs); margin-bottom: 6px; }
.adv__item .plan__extra { margin-bottom: 0; }

/* how-it-works connector that draws itself in */
.stepline--connected { position: relative; }
.stepline--connected::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--primary), var(--aqua));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1400ms var(--ease-out);
  opacity: 0.5;
}
.stepline--connected.is-in::before { transform: scaleX(1); }
@media (max-width: 860px) { .stepline--connected::before { display: none; } }

/* industry stories reveal their result on hover / focus / tap */
.story__result {
  transition: opacity var(--t-base), transform var(--t-base);
}
.story__reveal {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height var(--t-slow), opacity var(--t-base);
}
.story.is-open .story__reveal,
.story:hover .story__reveal,
.story:focus-within .story__reveal { max-height: 220px; opacity: 1; transform: none; }

/* (v7) The technical integration grid was removed — its rules are gone
   with it. Replacement lives under "Managed setup" further down. */

/* final CTA ambience */
.final-cta { position: relative; }
.final-cta__pulse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--s4);
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.08);
  color: var(--text-on-dark-soft);
  font-size: var(--fs-xs);
}
.final-cta__pulse::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #46D39A;
  animation: livedot 2s ease-in-out infinite;
}

/* ---------------- v5: pricing tabs, modules, bundle ---------------- */

.pricing-switch { display: flex; justify-content: center; margin-bottom: var(--s7); }

.plan__cta { margin-top: var(--s5); }
.plan__list { margin: var(--s5) 0 0; }

.onboarding-note {
  margin-top: var(--s6);
  padding: var(--s4) var(--s5);
  border-radius: var(--r-md);
  background: var(--surface-soft);
  border: 1px solid var(--border-soft);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  text-align: center;
}
.onboarding-note strong { color: var(--text-primary); }

/* Installation price block — kept separate from usage/VAT wording */
.setup-price {
  margin-top: var(--s6);
  padding: var(--s5);
  border-radius: var(--r-md);
  background: var(--surface-soft);
  border: 1px solid var(--border-soft);
  text-align: center;
}
.setup-price__lead { margin: 0; }
.setup-price__lead strong {
  font-size: var(--fs-h4);
  font-weight: var(--fw-title);
  color: var(--text-primary);
  line-height: 1.25;
}
.setup-price__body {
  margin: var(--s3) auto 0;
  max-width: 34rem;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--text-secondary);
}
.setup-price__body.xs { font-size: var(--fs-xs); }

.modules { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--s5); }
.module {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: var(--s5);
  border: 1px solid var(--border-soft);
  box-shadow: var(--sh-xs);
  transition: box-shadow var(--t-base), transform var(--t-base);
}
.module:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.module__name { font-size: var(--fs-h3); margin-bottom: 4px; }
.module__price { font-size: 1.6rem; font-weight: 600; letter-spacing: -0.03em; margin-bottom: var(--s4); }
.module .ticks { margin-bottom: var(--s4); }
.module__note { margin-bottom: var(--s4); }
.module .btn { margin-top: auto; }

/* module explainer cards in the "expand DIA" section */
.expand-card { display: flex; flex-direction: column; height: 100%; }
.expand-card__tag {
  align-self: flex-start;
  margin-bottom: var(--s3);
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--surface-sunken);
  color: var(--text-secondary);
  font-size: var(--fs-xs);
  font-weight: 600;
}

/* bundle builder */
.bd__group {
  margin: var(--s5) 0 var(--s2);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.bd__notes {
  margin: var(--s4) 0 0;
  padding-left: 1.1rem;
  font-size: var(--fs-xs);
  color: var(--text-secondary);
}
.bd__notes li { margin-bottom: 6px; }

/* stage context header */
.stage-context {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s5);
  align-items: center;
  padding: var(--s4) var(--s5);
  border-bottom: 1px solid var(--dark-border);
  font-size: var(--fs-xs);
  color: var(--text-on-dark-soft);
}
.stage-context b { color: #fff; font-weight: 500; }
.stage-context__label {
  margin-left: auto;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.08);
  color: var(--text-on-dark-soft);
}

/* ---------------- v6: transition, header indicator, pricing theme ---------------- */

/* soft transition from the light hero into the dark product section */
.to-dark {
  position: relative;
  height: clamp(90px, 9vw, 150px);
  background: linear-gradient(180deg, var(--page-bg) 0%, #DCE6F5 45%, #7E96BC 78%, var(--dark) 100%);
  overflow: hidden;
}
.to-dark::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 60%;
  background: var(--dark);
  -webkit-mask-image: radial-gradient(120% 100% at 50% 100%, #000 55%, transparent 56%);
  mask-image: radial-gradient(120% 100% at 50% 100%, #000 55%, transparent 56%);
}
.to-dark__line {
  position: absolute;
  inset: 0;
  opacity: 0.65;
}
.to-dark__line svg { width: 100%; height: 100%; display: block; }
.to-dark__line path { fill: none; stroke: var(--cyan); stroke-width: 1.4; stroke-dasharray: 20 480; animation: trace-run 6s linear infinite; }
.to-dark__line path.b { stroke: rgba(21, 94, 239, 0.8); animation-duration: 8s; animation-delay: 1.2s; }
@media (prefers-reduced-motion: reduce) { .to-dark__line path { animation: none; stroke-dasharray: none; opacity: 0.35; } }

/* header active indicator */
.nav__link { position: relative; font-weight: var(--fw-nav); }
.nav__link[aria-current="true"] { color: var(--text-primary); }
.nav__link[aria-current="true"]::after {
  content: "";
  position: absolute;
  left: 0.8rem; right: 0.8rem; bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  border-bottom-color: var(--border-soft);
}

/* pricing cards */
.plan { border: 1px solid var(--border-soft); }
.plan--featured {
  background: var(--surface-blue);
  border: 1.5px solid var(--primary);
  outline: none;
  box-shadow: var(--sh-lg);
}
.plan--featured .plan__amount { color: var(--primary-dark); }
.plan--dark {
  background: var(--dark-surface);
  border-color: rgba(255,255,255,0.12);
  color: var(--text-on-dark-soft);
}
.plan--dark .plan__name, .plan--dark .plan__amount { color: #fff; }
.plan--dark .plan__for, .plan--dark .plan__setup, .plan--dark .plan__extra { color: var(--text-on-dark-soft); }
.plan--dark .ticks li { color: var(--text-on-dark-soft); }
.plan--dark .ticks li::before { border-color: #38D6EA; }
.plan--dark .plan__extra { border-top-color: rgba(255,255,255,0.12); }
.plan--dark .btn--secondary { color: #fff; border-color: rgba(255,255,255,0.28); }
.plan--dark .btn--secondary:hover { background: rgba(255,255,255,0.10); color: #fff; }

/* modules use cyan, automation uses a restrained orange */
.module { border-left: 3px solid var(--cyan); }
.module__price { color: var(--text-primary); }
.module[data-module="automation"] { border-left-color: var(--orange); }
.module[data-module="automation"] .module__price { color: var(--warning); }

.pricing-switch .tabs { background: var(--surface-soft); }
.pricing-switch .tab[aria-selected="true"] { background: var(--primary); color: #fff; box-shadow: var(--sh-blue); }

/* ---------------- v7: lead form, managed setup, trust ---------------- */

/* Lead form — fields must never disappear into the white card */
.leadform {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  padding: clamp(1.25rem, 0.9rem + 1.4vw, 2rem);
  color: var(--text-primary);
}
/* The form sits inside .on-dark, so every text colour is re-stated here —
   otherwise the heading inherits white and disappears on the white card. */
.on-dark .leadform,
.on-dark .leadform h3,
.on-dark .leadform label,
.on-dark .leadform legend,
.on-dark .leadform .small { color: var(--text-primary); }
.on-dark .leadform .muted,
.on-dark .leadform .hint,
.on-dark .leadform__intro { color: var(--text-secondary); }
.on-dark .leadform .err { color: var(--error); }
.leadform h3 { margin-bottom: 6px; }
.leadform__intro { color: var(--text-secondary); font-size: var(--fs-sm); margin-bottom: var(--s5); }
.leadform .field > label,
.leadform .legend { color: var(--text-primary); font-weight: 550; }
.leadform .input,
.leadform .select,
.leadform .textarea {
  background: var(--surface-soft);
  border-color: var(--border-medium);
  color: var(--text-primary);
}
.leadform .input:focus,
.leadform .select:focus,
.leadform .textarea:focus { background: var(--surface); }
.leadform .input::placeholder, .leadform .textarea::placeholder { color: var(--text-muted); }
.leadform .choice { background: var(--surface-soft); }
.leadform .choice:has(input:checked) { background: var(--surface-blue); }
/* autofill should not turn the field yellow-on-white */
.leadform input:-webkit-autofill,
.leadform input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text-primary);
  box-shadow: 0 0 0 1000px var(--surface-soft) inset;
}
.leadform .status-note { align-items: flex-start; margin-top: var(--s4); }
.leadform .hint { color: var(--text-secondary); }
.leadform .err:not(:empty) { margin-top: 6px; }
.leadform [aria-invalid="true"] { border-color: var(--error); background: rgba(217,45,32,0.04); }

/* Managed setup */
.setup-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); position: relative; }
.setup-step__num {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  margin-bottom: var(--s4);
  border-radius: 50%;
  background: var(--surface-blue);
  color: var(--primary-dark);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.setup-step h3 { font-size: var(--fs-h3); margin-bottom: var(--s2); }
.setup-step p { color: var(--text-secondary); font-size: var(--fs-sm); max-width: 26rem; }
.setup-note {
  margin-top: var(--s7);
  padding: var(--s4) var(--s5);
  border-radius: var(--r-md);
  background: var(--surface-soft);
  border-left: 3px solid var(--cyan);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

/* Trust / proof */
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); }
.trust-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: var(--s6);
  box-shadow: var(--sh-xs);
}
.trust-card__icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--surface-blue);
  color: var(--primary);
  margin-bottom: var(--s4);
}
.trust-card__icon svg { width: 18px; height: 18px; }
.trust-card h3 { font-size: var(--fs-h4); margin-bottom: 6px; }
.trust-card p { font-size: var(--fs-sm); color: var(--text-secondary); margin: 0; }

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s2) var(--s3);
  margin-top: var(--s7);
}
.proof {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  font-size: var(--fs-xs);
  font-weight: 550;
  color: var(--text-secondary);
}
.proof::before {
  content: "";
  width: 14px; height: 8px;
  border-left: 1.8px solid var(--success);
  border-bottom: 1.8px solid var(--success);
  transform: rotate(-45deg);
  flex: none;
}
.trust-foot { margin-top: var(--s6); text-align: center; font-size: var(--fs-xs); color: var(--text-muted); }

/* verified reviews (hidden until real data exists) */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--s5); }
.review {
  margin: 0;
  padding: var(--s5);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
}
.review blockquote { margin: var(--s3) 0; font-size: var(--fs-sm); }
.review figcaption { display: grid; gap: 2px; font-size: var(--fs-xs); color: var(--text-secondary); }
.stars { color: var(--warning); letter-spacing: 2px; }
.star { opacity: 0.28; }
.star.is-on { opacity: 1; }

@media (max-width: 860px) {
  .setup-steps { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
  .trust-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------- Mobile sticky CTA ---------------- */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  gap: var(--s2);
  background: rgba(245,245,247,0.9);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-top: 1px solid var(--border-soft);
  transition: transform var(--t-base);
}
.mobile-cta .btn { flex: 1; }


/* ===== Quick trust strip ===== */
.quick-trust { padding: 0 0 clamp(2.2rem, 4vw, 3.6rem); }
.quick-trust__grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:1px;
  overflow:hidden;
  border:1px solid var(--border-soft);
  border-radius:22px;
  background:var(--border-soft);
  box-shadow:0 14px 36px rgba(15,23,42,.05);
}
.quick-trust__item {
  min-width:0;
  display:flex;
  align-items:flex-start;
  gap:.8rem;
  padding:1rem 1.05rem;
  background:rgba(255,255,255,.92);
}
/* the text column must be allowed to shrink, otherwise long supporting
   lines push out of the grid cell and collide with the next item */
.quick-trust__item > span:last-child { min-width:0; flex:1 1 auto; overflow-wrap:anywhere; }
.quick-trust__icon {
  flex:0 0 38px;
  width:38px;height:38px;
  display:grid;place-items:center;
  border-radius:12px;
  background:linear-gradient(145deg,rgba(21,94,239,.11),rgba(6,182,212,.08));
  color:var(--primary);
  font-size:.75rem;
  font-weight:800;
  letter-spacing:-.02em;
}
.quick-trust__item b { display:block; font-size:.86rem; line-height:1.25; color:var(--text-primary); }
.quick-trust__item small { display:block; margin-top:.18rem; font-size:.72rem; line-height:1.35; color:var(--text-muted); }

.demo-result-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.5rem; margin:1rem 0; }
.demo-result-grid span { padding:.65rem .75rem; border-radius:12px; background:rgba(21,94,239,.06); border:1px solid rgba(21,94,239,.11); color:var(--text-secondary); font-size:.78rem; font-weight:600; }

@media(max-width:940px){
  .quick-trust { padding-top:.15rem; }
  .quick-trust__grid { grid-template-columns:repeat(2,minmax(0,1fr)); border-radius:20px; }
}
@media(max-width:560px){
  .quick-trust__grid { grid-template-columns:1fr; gap:0; background:transparent; box-shadow:none; border-radius:20px; }
  .quick-trust__item { border-bottom:1px solid var(--border-soft); padding:.9rem 1rem; }
  .quick-trust__item:last-child { border-bottom:0; }
  .quick-trust__item b { font-size:.9rem; }
  .quick-trust__item small { font-size:.75rem; }
  .demo-result-grid { grid-template-columns:1fr; }
}

/* ============================================================
   Pricing v7 — billing toggle, package help, calculator
   Built on the existing plan cards; no new colours or fonts.
   ============================================================ */

#billing-toggle { display: flex; justify-content: center; margin-bottom: var(--s6); }

.billing {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: var(--r-pill);
  background: var(--surface-sunken);
  border: 1px solid var(--border-soft);
}
.billing__opt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0.45rem 1.1rem;
  border-radius: var(--r-pill);
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
}
.billing__opt:hover { color: var(--text-primary); }
.billing__opt[aria-pressed="true"] {
  background: var(--surface);
  color: var(--text-primary);
  box-shadow: var(--sh-xs);
}
.billing__save {
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: var(--success-soft);
  color: #12734B;
  font-size: var(--fs-xs);
  font-weight: 600;
}

/* reserved space keeps the cards from jumping when the toggle flips */
.plan__billingnote {
  display: grid;
  gap: 2px;
  min-height: 42px;
  margin-top: 6px;
}
.plan__billing { font-size: var(--fs-xs); color: var(--text-muted); }
.plan__saving { font-size: var(--fs-xs); font-weight: 600; color: #12734B; }
.plan--dark .plan__billing { color: var(--text-on-dark-soft); }
.plan--dark .plan__saving { color: #6EE7B7; }

.plans.is-switching .plan__amount,
.plans.is-switching .plan__billingnote { animation: price-in 260ms var(--ease-out) both; }
@keyframes price-in { from { opacity: 0; transform: translateY(-4px); } }

/* ---------------- package help ---------------- */
.pack-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
  flex-wrap: wrap;
  margin-top: var(--s6);
  padding: var(--s5) var(--s6);
  border-radius: var(--r-lg);
  border: 1px solid var(--border-soft);
  background: linear-gradient(120deg, var(--surface-blue), var(--surface));
  box-shadow: var(--sh-xs);
}
.pack-help__title { margin: 0 0 4px; font-size: var(--fs-h4); }
.pack-help__body { margin: 0; font-size: var(--fs-sm); color: var(--text-secondary); max-width: 44ch; }
.pack-help .btn { flex: none; }

/* ---------------- calculator ---------------- */
.modal--calc { width: min(560px, calc(100vw - 2rem)); }
.calc { margin: 0; }
.calc .choices { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.calc__other { margin-top: var(--s3); }
.calc__result {
  margin-top: var(--s5);
  padding-top: var(--s5);
  border-top: 1px solid var(--border-soft);
  display: grid;
  gap: var(--s5);
}
.calc__label {
  margin: 0 0 4px;
  font-size: var(--fs-xs);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.calc__value { margin: 0; font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; }
.calc__plan { margin: 0 0 4px; font-size: 1.75rem; font-weight: 700; letter-spacing: -0.03em; color: var(--primary); }
.calc__pick .btn { margin-top: var(--s4); }
.calc__note { margin-top: 6px; }
.calc__fine { margin-top: var(--s3); }

@media (max-width: 640px) {
  .billing__opt { padding: 0.45rem 0.85rem; font-size: var(--fs-xs); }
  .pack-help { padding: var(--s5); }
  .pack-help .btn { width: 100%; }
  .calc__plan { font-size: 1.5rem; }
}

/* ============================================================
   Repositioning — AI Customer & Revenue System
   Four plan cards, the capture/qualify/convert/follow-up strip
   and the ROI panel. Uses existing tokens only.
   ============================================================ */

/* ---------------- four plans instead of three ---------------- */
.plans { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); }
.plans .plan { padding: var(--s5); }
.plans .plan__amount { font-size: 2.15rem; }
.plans .plan__badge { left: var(--s5); }
.plan__for { min-height: 3.4em; }

/* setup fee, printed under the included minutes */
.plan__setupline { margin-top: 4px; }
.plan__setupfee {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-label);
  color: var(--text-secondary);
}
.plan__setupfee--free { color: var(--success); }
.plan--dark .plan__setupfee { color: var(--text-on-dark-soft); }
.plan--dark .plan__setupfee--free { color: #4ADE9B; }

/* ---------------- what the setup fee buys ---------------- */
.setup-price__list {
  list-style: none;
  margin: var(--s4) auto 0;
  padding: 0;
  max-width: 44rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 8px;
}
.setup-price__list li {
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-pill);
  padding: 5px 11px;
  line-height: 1.3;
}

/* ---------------- quick trust: icon may be a glyph or an svg ---------------- */
.quick-trust__icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; }

/* ---------------- capture · qualify · convert · follow up ---------------- */
.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s4);
}
.pipeline-card {
  position: relative;
  min-width: 0;
  padding: var(--s5);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  box-shadow: var(--sh-xs);
  transition: box-shadow var(--t-base), transform var(--t-base);
}
.pipeline-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.pipeline-card__num {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.06em;
}
.pipeline-card__label {
  display: inline-block;
  margin-top: 6px;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--primary);
}
.pipeline-card h3 { margin: 8px 0 6px; font-size: var(--fs-h4); line-height: 1.25; }
.pipeline-card p { font-size: var(--fs-sm); line-height: 1.5; color: var(--text-secondary); margin: 0; }
.pipeline-foot {
  margin: var(--s5) 0 0;
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* ---------------- ROI ---------------- */
.roi {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: var(--s7);
  align-items: center;
}
.roi__copy h2 { margin-bottom: var(--s4); }
.roi__copy > p { color: var(--text-secondary); max-width: 34rem; }
.roi__list { margin-top: var(--s5); }
.roi__panel {
  min-width: 0;
  padding: var(--s6);
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  box-shadow: var(--sh-md);
}
.roi__panel-title {
  margin: 0 0 var(--s4);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--text-muted);
}
.roi__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s4);
  padding: 10px 0;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-soft);
}
.roi__row b { font-weight: 650; color: var(--text-primary); white-space: nowrap; }
.roi__row--sep { border-bottom: 0; }
.roi__result {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s4);
  margin-top: var(--s4);
  padding: var(--s4);
  border-radius: var(--r-md);
  background: var(--surface-blue);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}
.roi__result b { font-size: var(--fs-h4); font-weight: 700; color: var(--primary); white-space: nowrap; }
.roi__note { margin: var(--s4) 0 0; line-height: 1.45; }

/* ===== DIA value strip refresh ===== */
.quick-trust {
  position:relative;
  z-index:2;
  padding: 0 0 clamp(2.7rem,4.5vw,4.2rem);
}
.quick-trust__grid {
  gap:0;
  overflow:hidden;
  border:1px solid rgba(96,165,250,.24);
  border-radius:20px;
  background:linear-gradient(110deg,#061a38 0%,#0a2f69 48%,#0b56bb 100%);
  box-shadow:0 22px 52px rgba(6,31,72,.18), inset 0 1px 0 rgba(255,255,255,.08);
}
.quick-trust__item {
  position:relative;
  align-items:center;
  gap:.9rem;
  padding:1.15rem 1.25rem;
  background:transparent;
  min-height:92px;
}
.quick-trust__item:not(:last-child)::after {
  content:'';
  position:absolute;
  right:0;
  top:20%;
  height:60%;
  width:1px;
  background:rgba(255,255,255,.18);
}
.quick-trust__icon {
  flex:0 0 44px;
  width:44px;
  height:44px;
  border-radius:14px;
  background:linear-gradient(145deg,rgba(255,255,255,.15),rgba(74,174,255,.12));
  border:1px solid rgba(255,255,255,.14);
  color:#fff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}
.quick-trust__icon svg { width:21px; height:21px; }
.quick-trust__item b {
  color:#fff;
  font-size:.91rem;
  line-height:1.2;
  letter-spacing:-.01em;
}
.quick-trust__item small {
  margin-top:.3rem;
  color:rgba(229,238,252,.78);
  font-size:.73rem;
  line-height:1.4;
}

/* pipeline visual hierarchy */
.dia-pipeline .section-head { max-width:760px; margin-inline:auto; }
.pipeline-grid { gap:1rem; }
.pipeline-card {
  overflow:visible;
  padding:1.45rem 1.35rem 1.35rem;
  border-color:rgba(21,94,239,.12);
  box-shadow:0 10px 30px rgba(15,23,42,.05);
}
.pipeline-card::before {
  content:'';
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  margin-bottom:.85rem;
  border-radius:13px;
  background:linear-gradient(145deg,rgba(21,94,239,.11),rgba(6,182,212,.07));
  box-shadow:inset 0 0 0 1px rgba(21,94,239,.08);
}
.pipeline-card:nth-child(1)::before { content:'01'; }
.pipeline-card:nth-child(2)::before { content:'02'; }
.pipeline-card:nth-child(3)::before { content:'03'; }
.pipeline-card:nth-child(4)::before { content:'04'; }
.pipeline-card::before {
  color:var(--primary);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.04em;
}
.pipeline-card__num { display:none; }
.pipeline-card__label { margin-top:0; color:var(--primary); }
.pipeline-card h3 { margin-top:.45rem; }
.pipeline-card:not(:last-child)::after {
  content:'→';
  position:absolute;
  right:-.72rem;
  top:50%;
  transform:translateY(-50%);
  z-index:3;
  color:var(--primary);
  font-size:1.2rem;
  font-weight:800;
}

@media(max-width:940px){
  .quick-trust__item:nth-child(2)::after { display:none; }
  .pipeline-card::after { display:none; }
}
@media(max-width:560px){
  .quick-trust { padding-left:var(--page-pad); padding-right:var(--page-pad); }
  .quick-trust__grid { grid-template-columns:1fr; border-radius:18px; background:linear-gradient(155deg,#061a38,#0b4fa8); }
  .quick-trust__item { border-bottom:1px solid rgba(255,255,255,.12); padding:1rem 1.05rem; min-height:0; }
  .quick-trust__item:not(:last-child)::after { display:none; }
  .quick-trust__item b { font-size:.9rem; }
  .quick-trust__item small { font-size:.75rem; }
}

/* ===== Value strip + pipeline alignment v2 ===== */
.to-dark { display:none; }
.quick-trust {
  padding: .9rem var(--page-pad) 2.1rem;
  background: transparent;
}
.quick-trust__grid {
  max-width: 1400px;
  margin-inline:auto;
  border-radius:18px;
  background:linear-gradient(105deg,#061a38 0%,#0b3f86 52%,#0b63d1 100%);
  box-shadow:0 16px 34px rgba(8,38,83,.16),inset 0 1px 0 rgba(255,255,255,.08);
}
.quick-trust__item { min-height:86px; padding:1rem 1.2rem; gap:.8rem; }
.quick-trust__icon { width:42px;height:42px;flex-basis:42px;border-radius:50%;background:rgba(255,255,255,.10); }
.quick-trust__item b { font-size:.91rem; }
.quick-trust__item small { font-size:.72rem; }

.dia-pipeline { padding-top:1.2rem; }
.dia-pipeline .section-head { max-width:800px; margin-bottom:2.2rem; }
.dia-pipeline .section-head .eyebrow { color:var(--primary); }
.dia-pipeline .section-head h2 { max-width:none; font-size:clamp(1.9rem,2.3vw,2.7rem); letter-spacing:-.035em; }
.pipeline-grid { gap:2rem; }
.pipeline-card { min-height:190px; padding:1.35rem 1.35rem 1.25rem 5.75rem; position:relative; }
.pipeline-card::before {
  position:absolute;
  left:1.25rem;
  top:1.35rem;
  width:58px;height:58px;
  border-radius:50%;
  font-size:.75rem;
  background:rgba(21,94,239,.08);
}
.pipeline-card__label { font-size:.72rem; letter-spacing:.045em; text-transform:uppercase; }
.pipeline-card h3 { font-size:1rem; margin:.35rem 0 .4rem; }
.pipeline-card p { font-size:.78rem; line-height:1.55; }
.pipeline-card:not(:last-child)::after { right:-1.3rem; font-size:1.6rem; }
.pipeline-foot { display:none; }
@media(max-width:940px){
  .pipeline-card { padding-left:1.35rem; }
  .pipeline-card::before { position:static; margin-bottom:.7rem; }
}

/* ===== Pipeline reference polish v3 ===== */
.dia-pipeline {
  padding-top: 1.05rem;
  padding-bottom: clamp(3.5rem, 5vw, 5.2rem);
  background: #f7f9fc;
}
.dia-pipeline .wrap { max-width: 1450px; }
.dia-pipeline .section-head {
  max-width: 760px;
  margin: 0 auto 1.7rem;
}
.dia-pipeline .section-head .eyebrow {
  margin-bottom: .55rem;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
}
.dia-pipeline .section-head h2 {
  font-size: clamp(1.7rem, 2vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -.035em;
  margin-bottom: .55rem;
}
.dia-pipeline .section-head p {
  max-width: 620px;
  margin-inline: auto;
  font-size: .92rem;
  line-height: 1.55;
}
.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 2.6rem;
  align-items: stretch;
}
.pipeline-card {
  min-height: 156px;
  padding: 1.2rem 1.1rem 1.15rem 6.25rem;
  border: 1px solid rgba(21,94,239,.12);
  border-radius: 16px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 12px 28px rgba(15,23,42,.045);
  position: relative;
  overflow: visible;
}
.pipeline-card::before { display:none !important; }
.pipeline-card__icon {
  position:absolute;
  left:1.05rem;
  top:1.15rem;
  width:62px;
  height:62px;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:var(--primary);
  background:linear-gradient(145deg,rgba(21,94,239,.09),rgba(82,155,255,.055));
  box-shadow:inset 0 0 0 1px rgba(21,94,239,.07);
}
.pipeline-card__icon svg {
  width:30px;
  height:30px;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.pipeline-card__num {
  display:block;
  color:var(--primary);
  font-size:.69rem;
  font-weight:800;
  line-height:1;
  margin-bottom:.2rem;
}
.pipeline-card__label {
  display:block;
  color:var(--primary);
  font-size:.7rem;
  font-weight:800;
  line-height:1.1;
  letter-spacing:.035em;
  text-transform:uppercase;
  margin:0 0 .48rem;
}
.pipeline-card h3 {
  margin:0 0 .42rem;
  font-size:.94rem;
  line-height:1.25;
  letter-spacing:-.015em;
}
.pipeline-card p {
  margin:0;
  color:var(--text-secondary);
  font-size:.75rem;
  line-height:1.5;
}
.pipeline-card:not(:last-child)::after {
  content:'→';
  position:absolute;
  right:-1.82rem;
  top:50%;
  transform:translateY(-50%);
  z-index:5;
  color:var(--primary);
  font-size:1.42rem;
  font-weight:800;
}
.pipeline-foot { display:none; }
@media(max-width:1080px){
  .pipeline-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem 1.35rem}
  .pipeline-card:not(:last-child)::after{display:none}
}
@media(max-width:620px){
  .dia-pipeline{padding-top:1.2rem;padding-bottom:3rem}
  .dia-pipeline .section-head{margin-bottom:1.35rem}
  .dia-pipeline .section-head h2{font-size:1.7rem}
  .pipeline-grid{grid-template-columns:1fr;gap:.8rem}
  .pipeline-card{min-height:0;padding:1rem 1rem 1rem 5.35rem;border-radius:15px}
  .pipeline-card__icon{left:.9rem;top:1rem;width:52px;height:52px}
  .pipeline-card__icon svg{width:25px;height:25px}
  .pipeline-card p{font-size:.78rem}
}


/* ===== ROI value panel — no fake default customer value ===== */
.roi__panel--value { display:flex; flex-direction:column; gap:.2rem; }
.roi-value {
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  gap:.8rem;
  align-items:start;
  padding:.85rem 0;
  border-bottom:1px solid var(--border-soft);
}
.roi-value:last-of-type { border-bottom:0; }
.roi-value__icon {
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border-radius:12px;
  background:var(--surface-blue);
  color:var(--primary);
  font-size:.69rem;
  font-weight:800;
  letter-spacing:.04em;
}
.roi-value b { display:block; margin-bottom:.18rem; font-size:.94rem; color:var(--text-primary); }
.roi-value small { display:block; font-size:.78rem; line-height:1.5; color:var(--text-secondary); }

/* ===== DIA card system polish v4 ===== */
#setup .section-head,
#managed-setup .section-head,
#trust .section-head { margin-bottom: clamp(2rem, 3.2vw, 3rem); }

/* Installation-included cards */
.setup-grid { gap: clamp(1rem, 1.6vw, 1.35rem); }
.setup-item {
  position: relative;
  min-height: 230px;
  padding: 1.55rem 1.45rem 1.4rem;
  overflow: hidden;
  border: 1px solid rgba(21,94,239,.10);
  border-radius: 20px;
  background: linear-gradient(145deg,#fff 0%,#fff 72%,#f5f9ff 100%);
  box-shadow: 0 12px 34px rgba(16,24,32,.055);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.setup-item::before {
  content:"";
  position:absolute;
  width:92px;height:92px;
  right:-36px;top:-38px;
  border-radius:50%;
  background:linear-gradient(145deg,rgba(21,94,239,.06),rgba(6,182,212,.10));
  pointer-events:none;
}
.setup-item::after {
  content:"→";
  position:absolute;
  right:1rem;bottom:1rem;
  width:30px;height:30px;
  display:grid;place-items:center;
  border-radius:50%;
  background:var(--surface-blue);
  color:var(--primary);
  font-size:1rem;font-weight:750;
  transition:transform var(--t-base),background var(--t-base);
}
.setup-item:hover { transform:translateY(-4px); border-color:rgba(21,94,239,.22); box-shadow:0 18px 42px rgba(21,94,239,.10); }
.setup-item:hover::after { transform:translateX(3px); background:rgba(21,94,239,.14); }
.setup-item__icon {
  width:52px;height:52px;
  display:grid;place-items:center;
  margin-bottom:1.15rem;
  border-radius:16px;
  color:var(--primary);
  background:linear-gradient(145deg,#edf4ff,#e7f7ff);
  box-shadow:inset 0 0 0 1px rgba(21,94,239,.06);
}
.setup-item__icon svg { width:25px;height:25px; }
.setup-item h4 { position:relative; margin:0 0 .55rem; padding-bottom:.65rem; font-size:1.02rem; line-height:1.28; letter-spacing:-.012em; }
.setup-item h4::after { content:""; position:absolute; left:0; bottom:0; width:24px; height:2px; border-radius:2px; background:var(--primary); }
.setup-item p { max-width:95%; line-height:1.52; }

/* Managed implementation: turn the three steps into a connected DIA flow */
.setup-steps { gap: clamp(1.4rem,3.2vw,3.4rem); }
.setup-step {
  position:relative;
  min-height:170px;
  padding:1.3rem 1.25rem 1.25rem 5.55rem;
  border:1px solid rgba(21,94,239,.09);
  border-radius:18px;
  background:rgba(255,255,255,.82);
  box-shadow:0 9px 26px rgba(16,24,32,.045);
}
.setup-step__num {
  position:absolute;
  top:1rem; left:1rem;
  width:25px;height:25px;
  margin:0;
  z-index:2;
  background:var(--primary);
  color:white;
  font-size:.72rem;
  box-shadow:0 5px 14px rgba(21,94,239,.22);
}
.setup-step__icon {
  position:absolute;
  left:1rem;top:2.8rem;
  width:58px;height:58px;
  display:grid;place-items:center;
  border-radius:17px;
  background:linear-gradient(145deg,#edf4ff,#e9f7ff);
  color:var(--primary);
}
.setup-step__icon svg { width:27px;height:27px; }
.setup-step h3 { margin:.15rem 0 .45rem; font-size:1rem; line-height:1.28; }
.setup-step p { margin:0; line-height:1.5; }
.setup-step:not(:last-child)::after {
  content:"→";
  position:absolute;
  right:calc(clamp(1.4rem,3.2vw,3.4rem) * -0.72);
  top:50%;
  transform:translateY(-50%);
  color:var(--primary);
  font-size:1.7rem;
  font-weight:500;
}
.setup-note {
  display:flex;
  align-items:center;
  gap:.65rem;
  margin-top:1.15rem;
  padding:.85rem 1rem;
  border:1px solid rgba(21,94,239,.08);
  border-left:3px solid var(--primary);
  border-radius:13px;
  background:linear-gradient(90deg,#eef5ff,#f5f9fd);
}
.setup-note::before { content:"✓"; flex:0 0 24px; width:24px;height:24px; display:grid;place-items:center; border-radius:50%; background:var(--primary); color:white; font-size:.75rem; font-weight:800; }

/* Trust cards: same visual language, but lighter so the page still has hierarchy */
.trust-grid { gap:clamp(1rem,1.8vw,1.45rem); }
.trust-card {
  position:relative;
  min-height:165px;
  padding:1.35rem 1.3rem 1.25rem 5rem;
  overflow:hidden;
  border:1px solid rgba(21,94,239,.10);
  border-radius:18px;
  background:linear-gradient(145deg,#fff,#fbfdff);
  box-shadow:0 10px 28px rgba(16,24,32,.045);
  transition:transform var(--t-base),box-shadow var(--t-base),border-color var(--t-base);
}
.trust-card:hover { transform:translateY(-3px); border-color:rgba(21,94,239,.20); box-shadow:0 16px 36px rgba(21,94,239,.08); }
.trust-card__icon {
  position:absolute;
  left:1.2rem;top:1.3rem;
  width:46px;height:46px;
  margin:0;
  border-radius:15px;
  background:linear-gradient(145deg,#edf4ff,#e8f7ff);
  box-shadow:inset 0 0 0 1px rgba(21,94,239,.06);
}
.trust-card__icon svg { width:21px;height:21px; }
.trust-card h3 { margin:.2rem 0 .45rem; font-size:1rem; }
.trust-card p { line-height:1.52; }

@media (max-width: 1080px) and (min-width: 861px) {
  .setup-step { padding-left:4.8rem; }
  .setup-step__icon { width:50px;height:50px; }
  .setup-step:not(:last-child)::after { display:none; }
}
@media (max-width: 860px) {
  .setup-item { min-height:0; padding:1.25rem 1.15rem 3.25rem; }
  .setup-item__icon { width:48px;height:48px; border-radius:14px; margin-bottom:.9rem; }
  .setup-step { min-height:0; padding:1.15rem 1rem 1.15rem 4.8rem; }
  .setup-step__num { left:.9rem;top:.9rem; }
  .setup-step__icon { left:.9rem;top:2.65rem;width:48px;height:48px;border-radius:14px; }
  .setup-step:not(:last-child)::after { display:none; }
  .trust-card { min-height:0; padding:1.2rem 1rem 1.2rem 4.7rem; }
  .trust-card__icon { left:1rem;top:1.15rem;width:44px;height:44px;border-radius:14px; }
}

/* ============================================================
   ALONGSIDE — "Already have a receptionist? Keep them."
   Branch-neutral use case: DIA next to an existing team.
   Used on the homepage between #solutions and #roi.
   ============================================================ */
.dia-alongside {
  background: var(--surface-soft);
  /* tighter than .section--compact: the hero above already gives air */
  padding-top: 60px;
  padding-bottom: 48px;
}
.dia-alongside .section-head {
  max-width: 48rem;
  margin-bottom: var(--s6);
}
/* a wider measure keeps the intro at two lines in every language */
.dia-alongside .section-head p { max-width: 42rem; }
.dia-alongside .section-head h2 { margin-bottom: var(--s2); }

/* ---------------- team/receptionist routing demo ---------------- */
.routedemo { max-width: 30rem; margin: 0 auto; }

.routedemo__toggle {
  display: flex; justify-content: center; gap: 4px;
  width: fit-content; margin: 0 auto var(--s6);
  padding: 5px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--border-soft); box-shadow: var(--sh-sm);
}
.routedemo__tab {
  padding: 10px 20px; border: 0; border-radius: var(--r-pill);
  background: transparent; color: var(--text-secondary);
  font: inherit; font-size: var(--fs-sm); font-weight: 650; cursor: pointer;
  transition: background var(--t-base), color var(--t-base), box-shadow var(--t-base);
}
.routedemo__tab:hover { color: var(--text-primary); }
.routedemo__tab[aria-selected="true"] { background: var(--primary); color: #fff; box-shadow: var(--sh-blue); }
.routedemo__tab:focus-visible { outline: none; box-shadow: var(--sh-focus); }

.routedemo__panel {
  position: relative;
  border-radius: var(--r-2xl);
  padding: var(--s7) var(--s6) var(--s6);
  background: linear-gradient(165deg, rgba(21, 94, 239, 0.06), rgba(6, 182, 212, 0.05) 60%, rgba(21, 94, 239, 0.04));
  border: 1px solid rgba(21, 94, 239, 0.14);
  box-shadow: 0 24px 60px rgba(21, 94, 239, 0.08);
  overflow: hidden;
}
.routedemo__panel::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 50% 0%, rgba(255, 255, 255, 0.6), transparent 70%);
  pointer-events: none;
}

.routedemo__stage { position: relative; display: flex; flex-direction: column; align-items: center; }

.routedemo__node {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 0.55rem;
  width: 13rem; max-width: 100%;
  padding: 0.9rem 1rem;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  box-shadow: var(--sh-sm);
  text-align: center;
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base), background var(--t-base);
}
.routedemo__node--call { background: var(--surface); border-color: var(--border-medium); }
.routedemo__icon {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--surface-soft); color: var(--text-muted);
  transition: background var(--t-base), color var(--t-base), box-shadow var(--t-base);
}
.routedemo__icon svg { width: 18px; height: 18px; }
.routedemo__label { font-size: var(--fs-sm); font-weight: 650; color: var(--text-secondary); transition: color var(--t-base); }

.routedemo__node--call .routedemo__icon { background: var(--primary); color: #fff; }
.routedemo__node--call .routedemo__label { color: var(--text-primary); }

.routedemo__node.is-active { border-color: rgba(21, 94, 239, 0.35); box-shadow: 0 10px 26px rgba(21, 94, 239, 0.16); transform: translateY(-1px); }
.routedemo__node.is-active .routedemo__icon { background: var(--primary); color: #fff; box-shadow: 0 0 0 6px rgba(21, 94, 239, 0.14); animation: routePulse 1.4s ease-in-out infinite; }
.routedemo__node.is-active .routedemo__label { color: var(--text-primary); }

.routedemo__node.is-done .routedemo__icon { background: var(--primary); color: #fff; }
.routedemo__node.is-done .routedemo__label { color: var(--text-primary); }
.routedemo__node--dia.is-active .routedemo__icon,
.routedemo__node--dia.is-done .routedemo__icon { background: linear-gradient(135deg, var(--primary), var(--cyan)); }

.routedemo__node--end.is-done { border-color: rgba(22, 163, 106, 0.35); background: var(--success-soft); }
.routedemo__node--end.is-done .routedemo__icon { background: var(--success); color: #fff; box-shadow: 0 0 0 6px rgba(22, 163, 106, 0.14); }
.routedemo__node--end.is-done .routedemo__label { color: #0F6A47; }

@keyframes routePulse { 0%, 100% { box-shadow: 0 0 0 6px rgba(21, 94, 239, 0.14); } 50% { box-shadow: 0 0 0 10px rgba(21, 94, 239, 0.04); } }

.routedemo__line { position: relative; width: 2px; height: 2.2rem; background: var(--border-soft); overflow: hidden; }
.routedemo__line i {
  display: block; width: 100%; height: 100%;
  background: linear-gradient(180deg, var(--primary), var(--cyan));
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.5s var(--ease-out);
}
.routedemo__line.is-filled i { transform: scaleY(1); }

.routedemo__route { display: contents; }
.routedemo[data-state="available"] .routedemo__route[data-route="busy"] { display: none; }
.routedemo[data-state="busy"] .routedemo__route[data-route="available"] { display: none; }

.routedemo__ghost {
  margin: var(--s5) 0 0; text-align: center;
  font-size: var(--fs-xs); font-style: italic; color: var(--text-muted);
  display: none;
}
.routedemo[data-state="available"] .routedemo__ghost { display: block; }

@media (prefers-reduced-motion: reduce) {
  .routedemo__node.is-active .routedemo__icon { animation: none !important; }
}

/* ---------------- how it works: click + scroll journey ---------------- */
.journey { position: relative; max-width: 42rem; margin: 0 auto; padding-left: 1px; }

.journey__rail {
  position: absolute; left: 26px; top: 27px; bottom: 27px; width: 2px;
  background: var(--border-soft); border-radius: 2px; z-index: 0;
}
.journey__rail-fill {
  display: block; width: 100%; height: 0%;
  background: linear-gradient(180deg, var(--primary), var(--cyan));
  border-radius: 2px;
  transition: height 0.6s var(--ease-out);
}

.journey__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.35rem; }
.journey__step { position: relative; }

.journey__step-btn {
  position: relative; z-index: 1;
  display: flex; align-items: flex-start; gap: 1rem;
  width: 100%; padding: 0.65rem 1rem 0.65rem 0.1rem;
  border: 0; border-radius: var(--r-lg);
  background: transparent;
  font: inherit; text-align: left; cursor: pointer;
  transition: background var(--t-slow), box-shadow var(--t-slow), padding var(--t-slow);
}
.journey__step-btn:focus-visible { outline: none; box-shadow: var(--sh-focus); }

.journey__marker {
  position: relative; flex: none;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); border: 2px solid var(--border-medium);
  transition: all var(--t-slow);
}
.journey__marker-num { font-size: var(--fs-sm); font-weight: 750; color: var(--text-muted); transition: color var(--t-base); }
.journey__marker-check { display: none; width: 20px; height: 20px; color: #fff; }

.journey__body { flex: 1; min-width: 0; display: flex; align-items: flex-start; gap: 0.7rem; padding-top: 0.5rem; }
.journey__icon {
  flex: none; width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--surface-soft); color: var(--text-muted);
  transition: background var(--t-base), color var(--t-base);
}
.journey__icon svg { width: 15px; height: 15px; }
.journey__text { display: flex; flex-direction: column; min-width: 0; }
.journey__title { font-size: var(--fs-body); font-weight: 700; color: var(--text-secondary); transition: color var(--t-base), font-size var(--t-base); }
.journey__desc {
  font-size: var(--fs-sm); color: var(--text-secondary); margin-top: 0.3rem;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 0.45s var(--ease-out), opacity 0.35s var(--ease-out), margin-top 0.35s var(--ease-out);
}

/* active: the "big panel" step */
.journey__step.is-active .journey__step-btn { background: var(--surface); box-shadow: var(--sh-md); padding-block: 1.1rem; }
.journey__step.is-active .journey__marker { border-color: var(--primary); box-shadow: 0 0 0 6px rgba(21, 94, 239, 0.14); }
.journey__step.is-active .journey__marker-num { color: var(--primary); }
.journey__step.is-active .journey__title { color: var(--text-primary); font-size: var(--fs-h4); }
.journey__step.is-active .journey__icon { background: var(--primary); color: #fff; }
.journey__step.is-active .journey__desc { max-height: 4em; opacity: 1; margin-top: 0.35rem; }

/* done: compact, checked off */
.journey__step.is-done .journey__marker { background: var(--primary); border-color: var(--primary); }
.journey__step.is-done .journey__marker-num { display: none; }
.journey__step.is-done .journey__marker-check { display: block; }
.journey__step.is-done .journey__title { color: var(--text-primary); }
.journey__step.is-done .journey__icon { background: var(--primary-soft); color: var(--primary); }

/* upcoming: compact and muted */
.journey__step.is-upcoming .journey__title { color: var(--text-muted); }

.journey__footer { display: flex; justify-content: center; margin: var(--s6) 0 0; }
.journey__footer-status {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; border-radius: var(--r-pill);
  background: var(--success-soft); color: #0F6A47; font-size: var(--fs-xs); font-weight: 700;
}
.journey__footer-status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(22, 163, 106, 0.18); animation: cfPulse 2.2s ease-out infinite; }

@media (max-width: 640px) {
  .journey__marker { width: 44px; height: 44px; }
  .journey__rail { left: 21px; }
  .journey__step.is-active .journey__title { font-size: var(--fs-body); }
}

@media (prefers-reduced-motion: reduce) {
  .journey__footer-status i { animation: none !important; }
}

.coflow {
  max-width: 70rem;
  margin: 0 auto;
  display: grid;
  justify-items: center;
}

/* ---- trunk: the three steps every call still goes through ---- */
.coflow__trunk { display: grid; justify-items: center; width: 100%; }

.coflow__node {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  max-width: 100%;
  padding: 0.95rem 1.6rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-pill);
  background: var(--surface);
  box-shadow: var(--sh-sm);
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
}
.coflow__icon { display: inline-flex; flex: none; width: 30px; height: 30px; border-radius: 50%; align-items: center; justify-content: center; background: var(--primary-soft); }
.coflow__icon svg {
  width: 17px; height: 17px;
  fill: none; stroke: var(--primary);
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.coflow__node--q {
  border-color: rgba(21, 94, 239, 0.22);
  background: var(--surface-blue);
  color: var(--primary);
}

/* vertical connector under every trunk node */
.coflow__trunk .coflow__node::after {
  content: "";
  display: block;
  width: 2px;
  height: 18px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(21, 94, 239, 0.30), rgba(21, 94, 239, 0.14));
}
.coflow__trunk .coflow__node::after {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-1px);
}
.coflow__trunk .coflow__node + .coflow__node { margin-top: 18px; }

/* ---- the split ---- */
.coflow__branches {
  position: relative;
  width: 100%;
  margin-top: 38px;
  align-items: start;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s5);
}
/* horizontal bar joining both branches */
.coflow__branches::before {
  content: "";
  position: absolute;
  left: 25%;
  right: 25%;
  top: -20px;
  height: 2px;
  background: linear-gradient(90deg, rgba(21, 94, 239, 0.14), rgba(21, 94, 239, 0.30), rgba(21, 94, 239, 0.14));
}
.coflow__branch {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  justify-items: center;
}
/* short drop from the bar into each branch */
.coflow__branch::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -20px;
  width: 2px;
  height: 20px;
  transform: translateX(-1px);
  background: rgba(21, 94, 239, 0.22);
}

.coflow__label {
  display: inline-block;
  justify-self: center;
  white-space: nowrap;
  margin-bottom: var(--s2);
  padding: 3px 12px;
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  background: var(--surface-sunken);
  color: var(--text-secondary);
}
.coflow__branch--no .coflow__label { background: var(--primary-soft); color: var(--primary); }

.coflow__card {
  width: 100%;
  /* height follows the content: no tall empty card next to a longer one */
  align-self: start;
  padding: 1.75rem 1.75rem 1.9rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--sh-md);
  transition: transform var(--t-slow), box-shadow var(--t-slow);
}
.coflow__card:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.coflow__card h3 { font-size: var(--fs-h3); margin: 0 0 var(--s2); }
.coflow__card p { margin: 0; font-size: var(--fs-body); color: var(--text-secondary); }
.coflow__card--dia {
  border-color: rgba(21, 94, 239, 0.20);
  background: linear-gradient(160deg, #fff, #f6faff);
  box-shadow: 0 18px 44px rgba(21, 94, 239, 0.14);
}
.coflow__card--dia h3 { color: var(--primary); }
.coflow__card .ticks { margin-top: var(--s3); }
.coflow__card .ticks li { font-size: var(--fs-sm); }

/* ---- compact supporting benefits ---- */
.cobenefits {
  list-style: none;
  max-width: 62rem;
  margin: var(--s5) auto 0;
  padding: 0;
  display: grid;
  /* column-major: the first two sit under the YES card, the last two
     under the DIA card, so the list reads as the same comparison */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
  gap: var(--s2) var(--s5);
}
.cobenefits li {
  position: relative;
  margin: 0;
  padding-left: 1.7rem;
  font-size: var(--fs-sm);
  color: var(--text-primary);
}
.cobenefits li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.42em;
  width: 11px; height: 6px;
  border-left: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(-45deg);
}
.colater { margin: 0 0 var(--s3); font-size: var(--fs-sm); color: var(--text-secondary); }

.coflow__foot {
  max-width: 46rem;
  margin: var(--s5) auto 0;
  text-align: center;
}
.coflow__foot .ticks { display: inline-grid; gap: 6px; text-align: left; }
.coflow__foot .ticks li { font-size: var(--fs-xs); color: var(--text-secondary); }

/* ---- toggle: simulate "team beschikbaar / team bezet" ---- */
.coflow-toggle {
  display: flex; justify-content: center; gap: 4px;
  width: fit-content; margin: 0 auto var(--s7);
  padding: 5px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--border-soft); box-shadow: var(--sh-sm);
}
.coflow-toggle__btn {
  padding: 10px 20px; border: 0; border-radius: var(--r-pill);
  background: transparent; color: var(--text-secondary);
  font: inherit; font-size: var(--fs-sm); font-weight: 650; cursor: pointer;
  transition: background var(--t-base), color var(--t-base), box-shadow var(--t-base);
}
.coflow-toggle__btn:hover { color: var(--text-primary); }
.coflow-toggle__btn[aria-selected="true"] { background: var(--primary); color: #fff; box-shadow: 0 6px 16px rgba(21,94,239,.3); }
.coflow-toggle__btn:focus-visible { outline: none; box-shadow: var(--sh-focus); }

/* ---- trunk: pulse + traveling runner ---- */
.coflow__pulse {
  display: inline-block; width: 7px; height: 7px; margin-left: 2px; border-radius: 50%;
  background: var(--primary); box-shadow: 0 0 0 0 rgba(21,94,239,.5);
  animation: cfPulse 2.2s ease-out infinite;
}
@keyframes cfPulse { 0% { box-shadow: 0 0 0 0 rgba(21,94,239,.5); } 70% { box-shadow: 0 0 0 8px rgba(21,94,239,0); } 100% { box-shadow: 0 0 0 0 rgba(21,94,239,0); } }
.coflow__runner {
  position: absolute; left: 50%; top: 100%; width: 2px; height: 18px;
  transform: translateX(-1px);
  background: linear-gradient(180deg, transparent, var(--cyan), transparent);
  animation: cfRunner 2.6s linear infinite;
}
@keyframes cfRunner { 0% { transform: translate(-1px, -18px); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translate(-1px, 0); opacity: 0; } }

/* ---- branch cards: avatar + status + animated DIA step list ---- */
.coflow__card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.coflow__card-top h3 { margin: 0; }
.coflow__avatar {
  flex: none; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--surface-soft); color: var(--text-secondary);
}
.coflow__avatar svg { width: 21px; height: 21px; }
.coflow__avatar--dia { background: linear-gradient(135deg, var(--primary), var(--cyan)); color: #fff; box-shadow: var(--sh-blue); }
.coflow__status {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 12px; padding: 4px 11px; border-radius: var(--r-pill);
  background: var(--success-soft); color: #0F6A47; font-size: var(--fs-xs); font-weight: 700;
}
.coflow__status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.coflow__status--busy { background: var(--orange-soft); color: #9A4A0E; }
.coflow__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.coflow__steps li {
  position: relative; padding-left: 28px; font-size: var(--fs-sm);
  opacity: 0; transform: translateX(-6px);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}
.coflow.reveal.is-in .coflow__steps li { opacity: 1; transform: none; }
.coflow__steps li:nth-child(1) { transition-delay: .55s; }
.coflow__steps li:nth-child(2) { transition-delay: .68s; }
.coflow__steps li:nth-child(3) { transition-delay: .81s; }
.coflow__steps li:nth-child(4) { transition-delay: .94s; }
.coflow__steps li:nth-child(5) { transition-delay: 1.07s; }
.coflow__steps li:nth-child(6) { transition-delay: 1.2s; }
.coflow__steps li::before {
  content: ""; position: absolute; left: 0; top: .3em;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--primary-soft); border: 1px solid rgba(21,94,239,.25);
}
.coflow__steps li::after {
  content: ""; position: absolute; left: 5px; top: .58em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--primary);
}
.coflow__steps li b { display: block; font-weight: 620; color: var(--text-primary); }
.coflow__steps li span { display: block; font-size: var(--fs-xs); color: var(--text-secondary); margin-top: 1px; }

/* ---- hover: highlight the route you're pointing at ---- */
@media (hover: hover) {
  .coflow__branches:has(.coflow__branch--yes:hover) .coflow__branch--no,
  .coflow__branches:has(.coflow__branch--no:hover) .coflow__branch--yes { opacity: .55; filter: saturate(.75); }
}

/* ---- toggle state: dim the inactive branch ---- */
.coflow[data-state="busy"] .coflow__branch--yes { opacity: .45; filter: saturate(.6); }
.coflow[data-state="busy"] .coflow__branch--no .coflow__card--dia { box-shadow: 0 16px 40px rgba(21,94,239,.16); border-color: rgba(21,94,239,.32); }
.coflow[data-state="available"] .coflow__branch--no { opacity: .8; }
.coflow__branch { transition: opacity var(--t-slow), filter var(--t-slow); }

/* ---- 4 benefit cards, replacing the loose tick list ---- */
.cobenefits-grid {
  max-width: 66rem; margin: var(--s6) auto 0;
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--s4);
}
.cobenefit {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  padding: var(--s6) var(--s5); border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--border-soft); box-shadow: var(--sh-xs);
  font-size: var(--fs-sm); font-weight: 600; color: var(--text-primary); line-height: 1.4;
  transition: transform var(--t-slow), box-shadow var(--t-slow);
}
.cobenefit:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.cobenefit__icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary-dark);
}
.cobenefit__icon svg { width: 21px; height: 21px; }
.cobenefits-grid .cobenefit:nth-child(1) { transition-delay: 0s; }
.cobenefits-grid .cobenefit:nth-child(2) { transition-delay: .08s; }
.cobenefits-grid .cobenefit:nth-child(3) { transition-delay: .16s; }
.cobenefits-grid .cobenefit:nth-child(4) { transition-delay: .24s; }

@media (max-width: 980px) { .cobenefits-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 520px) { .cobenefits-grid { grid-template-columns: 1fr; } }

@media (max-width: 860px) {
  .dia-alongside { padding-top: 40px; padding-bottom: 36px; }
  .dia-alongside .section-head { margin-bottom: var(--s5); }
  .coflow__branches {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    margin-top: 24px;
  }
  /* one column: drop the horizontal bar, keep a single vertical spine */
  .coflow__branches::before { display: none; }
  .coflow__branch::before { top: -24px; height: 24px; }
  .coflow__branch:first-child::before { top: -24px; height: 24px; }
  .cobenefits {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-auto-flow: row;
    margin-top: var(--s5);
    gap: var(--s2);
  }
}
@media (max-width: 560px) {
  .coflow__trunk .coflow__node::after { height: 14px; }
  .coflow__trunk .coflow__node + .coflow__node { margin-top: 14px; }
}
@media (max-width: 430px) {
  .coflow__node { padding: 0.6rem 0.9rem; font-size: var(--fs-xs); }
  .coflow__card { padding: 1.05rem 1rem 1.15rem; }
  .coflow-toggle { width: 100%; }
  .coflow-toggle__btn { flex: 1; padding: 8px 10px; font-size: .78rem; }
}
@media (prefers-reduced-motion: reduce) {
  .coflow__card { transition: none; }
  .coflow__pulse, .coflow__runner { animation: none; }
  .coflow__steps li { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   HOMEPAGE VISUAL POLISH — 2026-09-06
   Targeted spacing / hierarchy corrections found in the audit.
   No new patterns: only existing sections, tuned to the rhythm
   set by the hero and #alongside.
   ============================================================ */

/* --- 1. the dark quick-trust strip sat 17px above the pipeline heading --- */
.dia-pipeline { padding-top: 3.25rem; }

/* --- 2. cards were held open by fixed minimums while their text is short.
       Grid stretch already equalises each row, so the floor can go. --- */
.setup-item { min-height: 0; }
.setup-step { min-height: 0; }
.trust-card { min-height: 0; }

/* --- 3. the "how it works" flow ran 920px wide with short lines inside;
       narrow the rail so card and copy are in proportion --- */
@media (min-width: 861px) {
  /* #how wins over the 920px default in responsive.css */
  #how .dia-flow { max-width: 810px; }
}
#how .dia-flow-step p { max-width: 62ch; }

/* --- 5. seams between consecutive light sections stacked two full
       paddings (144–200px). Halved, desktop only — mobile spacing
       is already tight and stays as it is. --- */
@media (min-width: 861px) {
  #modules { padding-bottom: 88px; }
  #modules + #how { padding-top: 48px; }

  #how { padding-bottom: 64px; }
  #how + #solutions { padding-top: 72px; }

  #solutions { padding-bottom: 72px; }
  #solutions + #roi { padding-top: 48px; }

  #roi { padding-bottom: 56px; }
  #roi + #pricing { padding-top: 96px; }

  #pricing + #bundle { padding-top: 88px; }
  #bundle { padding-bottom: 88px; }
  #bundle + #setup { padding-top: 56px; }

  #setup { padding-bottom: 56px; }
  #setup + #managed-setup { padding-top: 48px; }

  #managed-setup { padding-bottom: 56px; }
  #managed-setup + #trust { padding-top: 48px; }

  #trust { padding-bottom: 56px; }
  #trust + #faq { padding-top: 48px; }

  #faq { padding-bottom: 56px; }
  #faq + #about { padding-top: 48px; }
}

/* ============================================================
   v8 — visual upgrade: comparison, solutions flow, case card,
   ROI, mobile refinement. Reuses existing tokens/patterns only.
   ============================================================ */

/* ---------------- comparison grid ---------------- */
.cmp-grid {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--border-soft);
  background: var(--surface);
}
.cmp-row {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  border-bottom: 1px solid var(--border-soft);
  transition: background var(--t-base);
}
.cmp-row:last-child { border-bottom: 0; }
.cmp-row:not(.cmp-row--head):hover { background: var(--surface-soft); }
.cmp-row:not(.cmp-row--head):hover .cmp-cell--dia { background: rgba(21, 94, 239, 0.10); }
.cmp-cell {
  padding: 0.95rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.3rem;
  text-align: center;
}
.cmp-cell--label { align-items: flex-start; text-align: left; font-weight: 600; color: var(--text-primary); font-size: var(--fs-sm); }
.cmp-row--head .cmp-cell { padding: 1.1rem 0.9rem; font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); }
.cmp-row--head .cmp-cell--label { color: var(--text-muted); }
.cmp-cell--dia { background: linear-gradient(180deg, rgba(21, 94, 239, 0.07), rgba(21, 94, 239, 0.025)); transition: background var(--t-base); }
.cmp-row--head .cmp-cell--dia { background: var(--dark-surface); }
.cmp-dia-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-pill);
  font-weight: 700;
  letter-spacing: 0.03em;
}
.cmp-dia-badge svg { width: 13px; height: 13px; }
.cmp-check {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--success-soft);
  color: var(--success);
  font-size: 0.8rem; font-weight: 800;
  flex: none;
}
.cmp-cell--dia .cmp-check { background: var(--primary); color: #fff; box-shadow: 0 5px 14px rgba(21, 94, 239, 0.35); }
.cmp-dash { width: 14px; height: 2px; background: var(--border-medium); border-radius: 2px; flex: none; }
.cmp-cell small { display: block; font-size: var(--fs-xs); color: var(--text-secondary); line-height: 1.35; }
.cmp-cell--dia small { color: var(--primary-dark); font-weight: 550; }
.cmp-cell__sublabel { display: none; }

@media (max-width: 760px) {
  .cmp-row { grid-template-columns: 1fr; border-bottom: 1px solid var(--border-soft); }
  .cmp-row--head { display: none; }
  .cmp-cell { flex-direction: row; justify-content: flex-start; text-align: left; padding: 0.45rem 0; gap: 0.6rem; }
  .cmp-cell--label { padding: 0.9rem 0.9rem 0.35rem; font-size: 0.98rem; }
  .cmp-row > .cmp-cell:not(.cmp-cell--label) { padding: 0.4rem 0.9rem; border-radius: 0; background: none !important; }
  .cmp-cell--dia:not(.cmp-cell--label) { background: rgba(21, 94, 239, 0.06) !important; border-radius: var(--r-sm); margin: 0.1rem 0.6rem; padding: 0.5rem 0.7rem !important; }
  .cmp-cell__sublabel { display: inline-block; min-width: 8.5rem; font-size: var(--fs-xs); font-weight: 650; color: var(--text-muted); }
  .cmp-cell--dia .cmp-cell__sublabel { color: var(--primary-dark); }
  .cmp-cell small { margin-left: auto; text-align: right; }
  .cmp-row:last-child .cmp-cell:last-child { padding-bottom: 1rem; }
}

/* ---------------- solutions: clearer flow, icon badge ---------------- */
.story { position: relative; }
.story__icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--surface-blue);
  color: var(--primary);
  margin-bottom: var(--s4);
}
.story__icon svg { width: 19px; height: 19px; }
.story__flow { display: grid; gap: 0.55rem; margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--border-soft); }
.story__flow-row { display: flex; align-items: flex-start; gap: 0.6rem; font-size: var(--fs-sm); }
.story__flow-icon {
  width: 22px; height: 22px; flex: none; margin-top: 1px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary);
}
.story__flow-row--result .story__flow-icon { background: var(--success-soft); color: var(--success); }
.story__flow-icon svg { width: 12px; height: 12px; }
.story__flow-row b { color: var(--text-primary); font-weight: 600; }
.story__flow-row span { color: var(--text-secondary); }
.grid-3 .story:nth-child(1) { transition-delay: 0s; }
.grid-3 .story:nth-child(2) { transition-delay: .08s; }
.grid-3 .story:nth-child(3) { transition-delay: .16s; }

/* ---------------- case study: structured premium card ---------------- */
.case-card {
  position: relative;
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, #fff, #fbfdff);
  border: 1px solid rgba(21, 94, 239, 0.10);
  box-shadow: var(--sh-lg);
  padding: clamp(1.5rem, 2vw + 1rem, 2.5rem);
  overflow: hidden;
}
.case-card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
}
.case-card__badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: var(--fs-xs); font-weight: 650;
  color: var(--text-muted);
  background: var(--surface-soft);
  padding: 0.35rem 0.75rem;
  border-radius: var(--r-pill);
  margin-bottom: var(--s5);
}
.case-card__badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); flex: none; }
.case-card__meta { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: var(--s6); }
.case-card__pill {
  display: inline-flex; flex-direction: column; gap: 0.1rem;
  background: var(--surface-blue);
  border-radius: var(--r-md);
  padding: 0.6rem 1rem;
}
.case-card__pill span { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.05em; color: var(--primary); font-weight: 700; }
.case-card__pill b { font-size: var(--fs-sm); color: var(--text-primary); font-weight: 600; }
.case-card__flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); }
.case-card__step {
  position: relative; padding-left: 3.1rem;
  opacity: 0; transform: translateY(10px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.case-card.reveal.is-in .case-card__step { opacity: 1; transform: none; }
.case-card.reveal.is-in .case-card__step:nth-child(1) { transition-delay: .05s; }
.case-card.reveal.is-in .case-card__step:nth-child(2) { transition-delay: .2s; }
.case-card.reveal.is-in .case-card__step:nth-child(3) { transition-delay: .35s; }
.case-card__step-icon {
  position: absolute; left: 0; top: 0;
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--surface-blue); color: var(--primary);
}
.case-card__step:nth-child(2) .case-card__step-icon { background: rgba(6, 182, 212, 0.12); color: #0891A8; }
.case-card__step:nth-child(3) .case-card__step-icon { background: var(--success-soft); color: var(--success); }
.case-card__step-icon svg { width: 19px; height: 19px; }
.case-card__step-label { display: block; font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); margin: 0.2rem 0 0.35rem; }
.case-card__step p { font-size: var(--fs-sm); color: var(--text-secondary); line-height: 1.5; margin: 0; }
@media (min-width: 761px) {
  .case-card__flow { position: relative; }
  .case-card__step:not(:last-child)::after {
    content: "";
    position: absolute; top: 19px; left: calc(100% - 1.3rem);
    width: calc(var(--s6) + 1.6rem);
    height: 1px;
    background: linear-gradient(90deg, var(--border-medium), var(--border-soft));
  }
  .case-card__step:not(:last-child)::before {
    content: "";
    position: absolute; top: 14px; left: calc(100% + var(--s6) * 0.5 - 1px);
    width: 8px; height: 8px;
    border-top: 1px solid var(--border-medium);
    border-right: 1px solid var(--border-medium);
    transform: rotate(45deg);
  }
}
@media (max-width: 760px) {
  .case-card__flow { grid-template-columns: 1fr; gap: var(--s5); }
  .case-card__meta { gap: 0.5rem; }
}

/* ---------------- ROI: richer value cards + calculator highlight ---------------- */
.roi-value { transition: transform var(--t-base); }
.roi__panel--value .roi-value:hover { transform: translateX(3px); }
.roi-value__icon svg { width: 17px; height: 17px; }
.roi-calc-card {
  position: relative;
  border-radius: var(--r-xl);
  background: linear-gradient(155deg, var(--dark-surface), #0E1826);
  color: var(--text-on-dark);
  box-shadow: var(--sh-xl);
  overflow: hidden;
}
.roi-calc-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 100% at 100% 0%, rgba(6, 182, 212, 0.16), transparent 55%);
  pointer-events: none;
}
.roi-calc-card .roi__panel-title { color: var(--text-on-dark-soft); }
.roi-calc-card .field label { color: var(--text-on-dark-soft); }
.roi-calc-card .input { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); color: #fff; }
.roi-calc-card .input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.22); }
.roi-calc-card .roi__result { background: rgba(255, 255, 255, 0.06); position: relative; z-index: 1; }
.roi-calc-card .roi__result span { color: var(--text-on-dark-soft); }
.roi-calc-card .roi__result b { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); transition: transform 180ms var(--ease-out); display: inline-block; }
.roi-calc-card .roi__result b.is-updated { animation: roiPulse 420ms var(--ease-out); }
.roi-calc-card .roi__note { color: var(--text-on-dark-soft); }
@keyframes roiPulse {
  0% { transform: scale(1); }
  35% { transform: scale(1.08); color: #67E8F9; }
  100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .roi-calc-card .roi__result b.is-updated { animation: none; }
}

/* ---------------- mobile section rhythm for the new blocks ---------------- */
@media (max-width: 620px) {
  #comparison .section-head, #case-study .section-head, #avg .section-head { margin-bottom: var(--s6); }
  .case-card { padding: 1.25rem; }
  .case-card__pill { padding: 0.5rem 0.85rem; }
  .roi-value { padding: 0.7rem 0; }
}

/* ============================================================
   v9 — comparison panels, solutions flow, case preview,
   compact lead engine. Real restructure, not a re-skin.
   ============================================================ */

/* ---------------- comparison: premium tier panels ---------------- */
.cmp-panels {
  display: grid;
  grid-template-columns: 1fr 1.14fr 1fr;
  align-items: stretch;
  gap: var(--s5);
}
.cmp-panel {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-xl);
  padding: var(--s6) var(--s5);
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
}
.cmp-panel__head { margin-bottom: var(--s5); }
.cmp-panel__head h3 { font-size: var(--fs-h4); font-weight: 700; color: var(--text-secondary); margin: 0; }
.cmp-panel__list { display: grid; gap: 0; margin: 0 0 var(--s5); padding: 0; list-style: none; flex: 1; }
.cmp-panel__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}
.cmp-panel__list li:last-child { border-bottom: 0; }
.cmp-panel__list small { display: block; margin-top: 0.15rem; font-size: var(--fs-xs); color: var(--text-muted); }
.cmp-state {
  width: 20px; height: 20px; flex: none; margin-top: 1px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--success-soft); color: var(--success);
}
.cmp-state--no { background: transparent; color: var(--border-medium); }
.cmp-state--no::before { content: ""; width: 11px; height: 2px; background: var(--border-medium); border-radius: 2px; }
.cmp-state svg { width: 12px; height: 12px; }

.cmp-panel--dia {
  position: relative;
  background: linear-gradient(165deg, var(--dark-surface), #0E1826);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(8, 15, 28, 0.32), 0 0 0 1px rgba(56, 214, 234, 0.06) inset;
  transform: translateY(-0.6rem);
  z-index: 1;
}
.cmp-panel--dia .cmp-panel__head h3 { color: #fff; }
.cmp-panel--dia .cmp-panel__list li { color: var(--text-on-dark-soft); border-bottom-color: rgba(255, 255, 255, 0.08); }
.cmp-panel--dia .cmp-panel__list small { color: rgba(255, 255, 255, 0.45); }
.cmp-panel--dia .cmp-state { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(21, 94, 239, 0.4); }
.cmp-panel--dia .btn { margin-top: auto; }
.cmp-panel__badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  color: #fff;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.02em;
  padding: 0.32rem 0.9rem;
  border-radius: var(--r-pill);
  box-shadow: 0 6px 16px rgba(21, 94, 239, 0.35);
  white-space: nowrap;
}

@media (max-width: 860px) {
  .cmp-panels { grid-template-columns: 1fr; gap: var(--s6); }
  .cmp-panel--dia { order: -1; transform: none; }
  .cmp-panel { padding: var(--s5) var(--s4) var(--s6); }
}

/* ---------------- solutions: product-window bubbles + outcome chips ---------------- */
.story__window {
  display: flex; align-items: center; gap: 0.6rem;
  margin: 0 0 var(--s4);
  padding-bottom: var(--s3);
  border-bottom: 1px solid var(--border-soft);
}
.story__window-dots { display: flex; gap: 4px; }
.story__window-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--border-medium); }
.story__window-label { font-size: var(--fs-xs); font-weight: 650; color: var(--text-muted); }
.story__window-live {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: var(--fs-xs); font-weight: 650; color: var(--success);
}
.story__window-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px var(--success-soft); }

.story__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: var(--s4); }
.story__chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--surface-blue);
  color: var(--primary-dark);
  font-size: var(--fs-xs); font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: var(--r-pill);
}
.story__chip svg { width: 11px; height: 11px; flex: none; }
.story__outcome { margin: 0.7rem 0 0; font-size: var(--fs-sm); color: var(--text-secondary); }

/* ---------------- case study: implementation preview ---------------- */
.case-preview {
  border-radius: var(--r-lg);
  background: var(--surface-soft);
  border: 1px solid var(--border-soft);
  overflow: hidden;
}
.case-preview__bar {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.75rem 1.1rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border-soft);
}
.case-preview__dots { display: flex; gap: 4px; }
.case-preview__dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--border-medium); }
.case-preview__label { font-size: var(--fs-xs); font-weight: 650; color: var(--text-muted); }
.case-preview__live {
  margin-left: auto;
  font-size: var(--fs-xs); font-weight: 650; color: var(--primary);
  background: var(--surface-blue);
  padding: 0.2rem 0.6rem;
  border-radius: var(--r-pill);
}
.case-flow { display: grid; padding: 0.2rem 1.1rem; }
.case-flow__line {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border-soft);
}
.case-flow__line:last-child { border-bottom: 0; }
.case-flow__line b { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); }
.case-flow__line span:not(.case-flow__flag) { font-size: var(--fs-sm); color: var(--text-secondary); }
.case-flow__flag {
  padding: 0.22rem 0.6rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-soft);
  font-size: var(--fs-xs); font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}
.case-flow__line--on b { color: var(--primary); }
.case-flow__line--on .case-flow__flag { border-color: rgba(21, 94, 239, 0.28); background: var(--surface-blue); color: var(--primary); }
.case-flow__line--done b { color: var(--success); }
.case-flow__line--done .case-flow__flag { border-color: rgba(22, 163, 106, 0.3); background: var(--success-soft); color: var(--success); }

@media (max-width: 700px) {
  .case-flow__line { grid-template-columns: minmax(0, 1fr) auto; row-gap: 0.3rem; }
  .case-flow__line b { grid-column: 1 / -1; }
}

/* ---------------- lead engine: compact supporting capability ---------------- */
.le-compact { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--s7); align-items: center; }
.le-compact__points { display: grid; gap: 0.7rem; margin: var(--s5) 0; padding: 0; list-style: none; }
.le-compact__points li { display: flex; align-items: flex-start; gap: 0.65rem; font-size: var(--fs-sm); color: var(--text-secondary); }
.le-compact__points .le-compact__icon {
  width: 26px; height: 26px; flex: none; margin-top: 1px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface-blue); color: var(--primary);
}
.le-compact__icon svg { width: 13px; height: 13px; }
.le-compact__visual { display: flex; flex-direction: column; gap: 0.6rem; }
.le-compact__stat {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 0.85rem 1.1rem;
}
.le-compact__stat b { font-size: var(--fs-h4); color: var(--text-primary); }
.le-compact__stat span { font-size: var(--fs-xs); color: var(--text-muted); }

@media (max-width: 860px) {
  .le-compact { grid-template-columns: 1fr; gap: var(--s5); }
}

/* ============================================================
   v10 — capability map, animated flow-strip, connector glow,
   lead-engine strip, trust dashboard, scroll-driven timeline.
   Real component rework, not a re-skin.
   ============================================================ */

/* ---------------- comparison: interactive capability selector ---------------- */
.cmpx { max-width: 1120px; margin: 0 auto; }

.cmpx__picker {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: var(--s6);
}
.cmpx__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.05rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-medium);
  background: var(--surface);
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  font-weight: 650;
  cursor: pointer;
  transition: background var(--t-base), color var(--t-base), border-color var(--t-base), transform var(--t-fast), box-shadow var(--t-base);
}
.cmpx__chip svg { width: 17px; height: 17px; stroke: currentColor; flex: none; }
.cmpx__chip:hover { color: var(--text-primary); border-color: var(--border-medium); transform: translateY(-1px); }
.cmpx__chip[aria-selected="true"] {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: var(--sh-blue);
}

.cmpx__panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s4);
  align-items: stretch;
}
.cmpx__panel {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-xl);
  padding: var(--s5) var(--s5) var(--s6);
  display: flex;
  flex-direction: column;
  transition: transform var(--t-slow), box-shadow var(--t-slow);
}
.cmpx__panel-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: var(--s4); min-height: 1.6rem; }
.cmpx__panel-name { font-weight: 750; font-size: var(--fs-h4); color: var(--text-primary); }
.cmpx__badge { font-size: var(--fs-xs); font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--primary), var(--cyan)); padding: 0.22rem 0.65rem; border-radius: var(--r-pill); }

.cmpx__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; flex: 1; }
.cmpx__row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.65rem;
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  transition: background var(--t-base), color var(--t-base), transform var(--t-base);
}
.cmpx__row span { transition: color var(--t-base), font-weight var(--t-base); }
.cmpx__row-dot { flex: none; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--border-medium); background: var(--surface); transition: all var(--t-base); }
.cmpx__row[data-status="on"] .cmpx__row-dot { border-color: var(--primary); background: var(--primary); box-shadow: 0 0 0 3px rgba(21, 94, 239, 0.14); }
.cmpx__row[data-status="partial"] .cmpx__row-dot { border-color: var(--orange); background: var(--orange-soft); }

.cmpx__row.is-active { background: var(--surface-soft); transform: translateX(2px); }
.cmpx__row.is-active span { color: var(--text-primary); font-weight: 650; }

.cmpx__caption {
  margin: var(--s4) 0 0;
  padding-top: var(--s4);
  border-top: 1px solid var(--border-soft);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  min-height: 2.6em;
}

.cmpx__panel--dia {
  background: linear-gradient(165deg, var(--dark-surface), #0E1826);
  border-color: transparent;
  box-shadow: 0 24px 60px rgba(8, 15, 28, 0.28);
  transform: scale(1.03);
  position: relative;
  z-index: 1;
}
.cmpx__panel--dia .cmpx__panel-name { color: #fff; }
.cmpx__panel--dia .cmpx__row { color: var(--text-on-dark-soft); }
.cmpx__panel--dia .cmpx__row-dot { border-color: rgba(255,255,255,.28); }
.cmpx__panel--dia .cmpx__row[data-status="on"] .cmpx__row-dot { border-color: var(--cyan); background: var(--cyan); box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.22), 0 0 12px rgba(6, 182, 212, 0.5); }
.cmpx__panel--dia .cmpx__row.is-active { background: rgba(255, 255, 255, 0.08); }
.cmpx__panel--dia .cmpx__row.is-active span { color: #fff; }
.cmpx__panel--dia .cmpx__caption { color: var(--text-on-dark-soft); border-top-color: var(--dark-border); }

.cmpx__foot { display: flex; align-items: center; justify-content: center; gap: var(--s4); flex-wrap: wrap; margin-top: var(--s6); text-align: center; }
.cmpx__foot p { margin: 0; max-width: 34rem; font-size: var(--fs-sm); color: var(--text-secondary); }

@media (max-width: 900px) {
  .cmpx__panel--dia { transform: none; }
}

@media (max-width: 760px) {
  .cmpx__picker { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; margin: 0 calc(var(--s3) * -1) var(--s5); padding: 0 var(--s3) 0.3rem; scrollbar-width: none; }
  .cmpx__picker::-webkit-scrollbar { display: none; }
  .cmpx__chip { flex: none; }
  .cmpx__panels { grid-template-columns: 1fr; }
  .cmpx__panel--dia { order: -1; }
}

@media (prefers-reduced-motion: reduce) {
  .cmpx__row.is-active { transform: none; }
  .cmpx__chip:hover { transform: none; }
}

/* ---------------- solutions: live step-by-step demo ---------------- */
.flowstrip { display: flex; align-items: center; margin: var(--s4) 0; }
.flowstrip__step {
  flex: 1;
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  transition: color var(--t-base);
}
.flowstrip__step::after { content: ""; flex: 1; height: 2px; background: var(--border-soft); margin-left: 0.4rem; transition: background var(--t-slow); }
.flowstrip__step:last-child::after { display: none; }
.flowstrip__step i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--border-medium); transition: background var(--t-base), box-shadow var(--t-base); }

.flowstrip__step[data-state="active"] { color: var(--primary); }
.flowstrip__step[data-state="active"] i { background: var(--primary); box-shadow: 0 0 0 4px rgba(21, 94, 239, 0.18); animation: flowPulse 1s ease-in-out infinite; }
.flowstrip__step[data-state="done"] { color: var(--success); }
.flowstrip__step[data-state="done"] i { background: var(--success); box-shadow: 0 0 0 3px rgba(22, 163, 106, 0.14); animation: none; }
.flowstrip__step[data-state="done"]::after { background: var(--success); opacity: .45; }

@keyframes flowPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(21, 94, 239, 0.18); }
  50% { box-shadow: 0 0 0 7px rgba(21, 94, 239, 0.06); }
}

/* sequential reveal: typing indicator, then answer, then rule note, then chips/outcome */
.story__typing {
  display: none;
  align-items: center;
  gap: 4px;
  width: fit-content;
  padding: 0.65rem 0.85rem;
  margin-bottom: var(--s3);
  border-radius: var(--r-md);
  border-bottom-right-radius: 6px;
  background: var(--primary-soft);
  justify-self: end;
}
.story__typing.is-active { display: inline-flex; }
.story__typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--primary); opacity: .5; animation: typingDot 1.1s ease-in-out infinite; }
.story__typing i:nth-child(2) { animation-delay: .15s; }
.story__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typingDot { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-2px); } }

.seq { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.seq.is-shown { opacity: 1; transform: none; }

.story__reveal.seq { max-height: none; }

@media (prefers-reduced-motion: reduce) {
  .flowstrip__step i { animation: none !important; }
  .story__typing i { animation: none !important; }
  .seq { transition: opacity .15s linear; transform: none; }
}

/* ---------------- alongside: active-route connector glow ---------------- */
.coflow__branch-runner {
  position: absolute; left: 50%; top: -20px; width: 2px; height: 20px;
  transform: translateX(-1px);
  background: linear-gradient(180deg, transparent, var(--cyan), transparent);
  opacity: 0;
}
.coflow[data-state="busy"] .coflow__branch--no::before { background: linear-gradient(var(--primary), var(--cyan)); box-shadow: 0 0 8px rgba(21, 94, 239, 0.45); }
.coflow[data-state="busy"] .coflow__branch--no .coflow__branch-runner { opacity: 1; animation: cfRunner 1.8s linear infinite; }
.coflow[data-state="available"] .coflow__branch--yes::before { background: linear-gradient(var(--success), #1fbf82); box-shadow: 0 0 8px rgba(22, 163, 106, 0.4); }
.coflow[data-state="available"] .coflow__branch--yes .coflow__branch-runner { opacity: 1; animation: cfRunner 1.8s linear infinite; background: linear-gradient(180deg, transparent, var(--success), transparent); }

/* ---------------- lead engine: single-row strip ---------------- */
.le-strip {
  display: flex; align-items: center; gap: var(--s5);
  flex-wrap: wrap;
  padding: var(--s5) var(--s6);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-sm);
}
.le-strip__head { display: flex; align-items: center; gap: 0.7rem; flex: none; }
.le-strip__icon {
  width: 40px; height: 40px; flex: none; border-radius: var(--r-md);
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--cyan)); color: #fff;
}
.le-strip__icon svg { width: 19px; height: 19px; }
.le-strip__head b { display: block; font-size: var(--fs-md); font-weight: 750; color: var(--text-primary); }
.le-strip__head span { display: block; font-size: var(--fs-xs); color: var(--text-muted); }

.le-strip__flow { display: flex; align-items: center; gap: 0.5rem; flex: 1; min-width: 260px; font-size: var(--fs-sm); font-weight: 650; color: var(--text-secondary); flex-wrap: wrap; }
.le-strip__flow span { display: flex; align-items: center; gap: 0.4rem; }
.le-strip__flow svg { width: 13px; height: 13px; color: var(--border-medium); flex: none; }

.le-strip__price { display: flex; align-items: baseline; gap: 0.3rem; flex: none; white-space: nowrap; }
.le-strip__price b { font-size: var(--fs-h4); color: var(--text-primary); }
.le-strip__price span { font-size: var(--fs-xs); color: var(--text-muted); }

@media (max-width: 860px) {
  .le-strip { flex-direction: column; align-items: stretch; text-align: center; padding: var(--s5); }
  .le-strip__head { justify-content: center; }
  .le-strip__flow { justify-content: center; }
  .le-strip__price { justify-content: center; }
}

/* ---------------- privacy: central trust badge + status checklist ---------------- */
.trust {
  position: relative;
  max-width: 46rem; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: var(--s7);
  padding: var(--s7) var(--s6);
  border-radius: var(--r-2xl);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--dark-border);
  box-shadow: 0 30px 70px rgba(4, 9, 18, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.trust__badge { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.4rem; padding-top: 0.5rem; }
.trust__badge-ring {
  position: absolute; top: -6px; left: 50%; width: 92px; height: 92px;
  transform: translateX(-50%);
  border-radius: 50%; border: 1px solid rgba(56, 214, 234, 0.35);
  animation: trustRing 3.2s ease-out infinite;
}
.trust__badge-ring--2 { animation-delay: 1.1s; }
@keyframes trustRing { 0% { opacity: .8; transform: translateX(-50%) scale(0.9); } 100% { opacity: 0; transform: translateX(-50%) scale(1.35); } }

.trust__badge-icon {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  color: #fff;
  box-shadow: 0 0 0 6px rgba(56, 214, 234, 0.12), 0 16px 32px rgba(21, 94, 239, 0.35);
}
.trust__badge-icon svg { width: 34px; height: 34px; }
.trust__badge-label { font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.14em; color: var(--text-on-dark-soft); }
.trust__badge-status {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.95rem; border-radius: var(--r-pill);
  background: rgba(22, 163, 106, 0.16); color: #4CD8A0;
  font-size: var(--fs-sm); font-weight: 700;
}
.trust__badge-status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(76, 216, 160, 0.18); animation: cfPulse 2.2s ease-out infinite; }

.trust__list {
  list-style: none; margin: 0; padding: 0; width: 100%;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem 1.5rem;
}
.trust__row {
  display: flex; align-items: center; gap: 0.65rem;
  font-size: var(--fs-sm); font-weight: 600; color: var(--text-on-dark-soft);
  opacity: 0; transform: translateY(6px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
  transition-delay: calc(var(--d) * 90ms);
}
.trust.reveal.is-in .trust__row { opacity: 1; transform: none; }
.trust__check {
  flex: none; display: grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.35);
  transition: background .4s var(--ease-out), color .4s var(--ease-out), box-shadow .4s var(--ease-out);
  transition-delay: calc(var(--d) * 90ms + 250ms);
}
.trust.reveal.is-in .trust__check { background: var(--success); color: #fff; box-shadow: 0 0 0 4px rgba(22, 163, 106, 0.18); }
.trust__check svg { width: 12px; height: 12px; }

.trust__foot { margin: var(--s5) 0 0; text-align: center; font-size: var(--fs-xs); }
.dia-privacy .trust__foot a { color: var(--text-on-dark-soft); }
.dia-privacy .trust__foot a:hover { color: #fff; }

@media (max-width: 640px) {
  .trust { padding: var(--s6) var(--s4); }
  .trust__list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .trust__badge-ring { animation: none !important; opacity: .35; }
  .trust__badge-status i { animation: none !important; }
  .trust__row, .trust__check { transition-delay: 0ms !important; }
}

/* ---------------- privacy: trust dashboard (legacy, unused) ---------------- */
.trustdash {
  background: linear-gradient(165deg, var(--dark-surface), #0E1826);
  border-radius: var(--r-xl);
  padding: var(--s7) var(--s6);
  box-shadow: 0 24px 60px rgba(8, 15, 28, 0.28);
  color: #fff;
}
.trustdash__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; margin-bottom: var(--s5); }
.trustdash__head h3 { margin: 0; font-size: var(--fs-h3); color: #fff; }
.trustdash__status { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.9rem; border-radius: var(--r-pill); background: rgba(22, 163, 106, 0.16); color: #4CD8A0; font-size: var(--fs-xs); font-weight: 700; }
.trustdash__status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(76, 216, 160, 0.18); animation: cfPulse 2.2s ease-out infinite; }

.trustdash__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.7rem; }
.trustdash__item {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.85rem 1rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--t-base), border-color var(--t-base);
}
.trustdash__item:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(56, 214, 234, 0.3); }
.trustdash__item-icon { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(56, 214, 234, 0.14); color: var(--cyan); }
.trustdash__item-icon svg { width: 15px; height: 15px; }
.trustdash__item b { display: block; font-size: var(--fs-sm); font-weight: 650; color: #fff; }
.trustdash__item span { display: block; font-size: var(--fs-xs); color: var(--text-on-dark-soft); margin-top: 1px; }

.trustdash__foot { display: flex; align-items: center; justify-content: center; gap: var(--s4); flex-wrap: wrap; margin-top: var(--s6); }
.trustdash__foot a { color: #fff; }

@media (max-width: 900px) {
  .trustdash__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .trustdash { padding: var(--s6) var(--s4); }
  .trustdash__grid { grid-template-columns: 1fr; }
}

/* ---------------- how it works: scroll-driven fill ---------------- */
.dia-flow__rail[data-fill] { background: var(--border-soft); }
.dia-flow__rail__fill {
  position: absolute; left: 0; top: 0; width: 100%; height: 0%;
  background: linear-gradient(var(--primary), var(--cyan));
  border-radius: 4px;
  transition: height 0.5s var(--ease-out);
}
.dia-flow-step .dia-flow-step__marker span { transition: all var(--t-base); }
.dia-flow-step.is-done .dia-flow-step__marker span { background: var(--primary); color: #fff; border-color: var(--primary); }
.dia-flow-step.is-active .dia-flow-step__marker span { background: #fff; color: var(--primary); border-color: var(--primary); box-shadow: 0 0 0 6px rgba(21, 94, 239, 0.16), 0 8px 26px rgba(21, 94, 239, 0.22); transform: scale(1.08); }
.dia-flow-step.is-active .dia-flow-step__marker i { animation: diaNode 1.4s ease-in-out infinite; }
.dia-flow-step:not(.is-active) .dia-flow-step__marker i { animation: none; opacity: 0; }
