/**
 * Inner pages using homepage nav/footer — load after css/home-styles.css.
 * Sets scrollable document and shows footer without deck slide activation.
 * home-styles.css sets html,body { overflow: hidden } for the deck; undo that here.
 */

html:has(body.site-inner) {
  overflow: auto;
  height: auto;
  max-height: none;
}

html:has(body.site-inner)::-webkit-scrollbar {
  display: initial;
}

body.site-inner {
  overflow: auto;
  height: auto;
  min-height: 100%;
  max-height: none;
  scrollbar-width: auto;
  overscroll-behavior: auto;
  /* Match homepage (home-styles.css): Outfit body */
  font-family: var(--font-sans);
}

/* Inner pages: header stays legible over light sections — homepage uses fade-to-transparent; here bright cards must not show through */
body.site-inner .site-header {
  background: rgba(10, 10, 20, 0.65);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Scrolled header: darker bar + blur (class toggled in site-nav.js) */
body.site-inner .site-header.site-header--scrolled {
  background: rgba(6, 7, 16, 0.88) !important;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

/*
 * Header “Meet with Pulse”: match homepage .btn + .btn--ghost (home-styles.css).
 * Inner pages also load style.css — its .btn { border: none; font-weight: 700; … } overrides the homepage look.
 */
body.site-inner .site-header .btn.btn--ghost {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.65rem 1.25rem !important;
  border-radius: 999px !important;
  font-weight: 500 !important;
  font-size: 0.9rem !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  border: 1px solid transparent !important;
  border-color: var(--border) !important;
  background: transparent !important;
  color: var(--text) !important;
  box-shadow: none !important;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.25s !important;
}

body.site-inner .site-header .btn.btn--ghost:hover {
  border-color: rgba(0, 194, 255, 0.45) !important;
  background: rgba(122, 93, 227, 0.08) !important;
  color: var(--text) !important;
  transform: none !important;
}

body.site-inner .site-header .btn.btn--ghost:active {
  transform: scale(0.98) !important;
}

body.site-inner::-webkit-scrollbar {
  display: initial;
}

/* Velocity Lab case study pages — dark KO panel (no white slab); overrides case-study-detail .content-card */
body.site-inner.velocity-case-study-page main.velocity-case-study-main {
  position: relative;
  padding-top: clamp(5.75rem, 12vw, 7.5rem);
}

body.site-inner.velocity-case-study-page main.velocity-case-study-main .velocity-case-study-card.content-card {
  max-width: min(52rem, 100%) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  background:
    radial-gradient(ellipse 90% 80% at 100% 0%, rgba(122, 93, 227, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 60% at 0% 100%, rgba(0, 194, 255, 0.08), transparent 50%),
    linear-gradient(180deg, rgba(22, 24, 42, 0.97) 0%, rgba(12, 12, 24, 0.98) 100%) !important;
  border: 1px solid rgba(122, 93, 227, 0.28) !important;
  border-radius: 18px !important;
  box-shadow:
    0 0 0 1px rgba(0, 194, 255, 0.06),
    0 20px 50px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  color: rgba(255, 255, 255, 0.94) !important;
}

body.site-inner.velocity-case-study-page main.velocity-case-study-main .velocity-case-study-card.content-card::before {
  background: linear-gradient(90deg, var(--pulse-cyan) 0%, var(--pulse-purple) 45%, var(--pulse-magenta) 100%);
  height: 2px;
  opacity: 1;
}

body.site-inner.velocity-case-study-page .velocity-case-study-card.content-card h1,
body.site-inner.velocity-case-study-page .velocity-case-study-card.content-card h2,
body.site-inner.velocity-case-study-page .velocity-case-study-card.content-card h3,
body.site-inner.velocity-case-study-page .velocity-case-study-card.content-card h4,
body.site-inner.velocity-case-study-page .velocity-case-study-card.content-card .display-6 {
  color: rgba(255, 255, 255, 0.97) !important;
}

body.site-inner.velocity-case-study-page .velocity-case-study-card.content-card p,
body.site-inner.velocity-case-study-page .velocity-case-study-card.content-card .lead,
body.site-inner.velocity-case-study-page .velocity-case-study-card.content-card .text-muted,
body.site-inner.velocity-case-study-page .velocity-case-study-card.content-card figcaption {
  color: rgba(200, 195, 218, 0.9) !important;
}

body.site-inner.velocity-case-study-page .velocity-case-study-card.content-card a.text-muted {
  color: rgba(180, 175, 200, 0.95) !important;
}

body.site-inner.velocity-case-study-page .velocity-case-study-card.content-card a.text-muted:hover {
  color: var(--pulse-cyan) !important;
}

/* Case study: client logo tile (readable on dark KO) */
body.site-inner.velocity-case-study-page .velocity-case-study-card {
  position: relative;
}

body.site-inner.velocity-case-study-page .velocity-case-study-card__brand {
  position: absolute;
  z-index: 2;
  top: clamp(1.35rem, 3.5vw, 3.15rem);
  right: clamp(1.1rem, 3vw, 2.7rem);
  max-width: min(200px, 46%);
  line-height: 0;
  padding: 0.45rem 0.65rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.site-inner.velocity-case-study-page .velocity-case-study-card__brand img {
  display: block !important;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 48px;
  object-fit: contain;
  opacity: 1 !important;
  visibility: visible !important;
  /* White knockout on dark KO panel */
  filter: grayscale(1) brightness(0) invert(1);
}

body.site-inner.velocity-case-study-page .velocity-case-study-card__head {
  display: block;
  width: 100%;
  padding-right: min(220px, 46%);
  box-sizing: border-box;
}

body.site-inner.velocity-case-study-page .velocity-case-study-card__intro {
  min-width: 0;
}

/* App screenshots: subtle frame on dark (replaces light card shadow) */
body.site-inner.velocity-case-study-page .case-study-app-screens img {
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5) !important;
}

/* Footer: visible outside homepage deck */
body.site-inner .pulse-site-footer {
  opacity: 1;
  pointer-events: auto;
}

/* Footer column titles: match homepage .pulse-site-footer__heading (mono, uppercase) — wins over body.site-inner h3 */
body.site-inner .pulse-site-footer__heading {
  font-family: var(--font-mono) !important;
  font-size: clamp(0.72rem, 1.35vw, 0.82rem) !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--muted) !important;
  margin: 0 0 0.7rem !important;
  line-height: 1.3;
}

.site-inner-footer-wrap {
  margin-top: clamp(2rem, 5vw, 4rem);
  padding-top: clamp(1rem, 3vw, 2rem);
  position: relative;
  background: radial-gradient(ellipse 80% 50% at 50% -15%, rgba(233, 0, 202, 0.1), transparent 55%),
    radial-gradient(ellipse 55% 45% at 100% 40%, rgba(0, 194, 255, 0.06), transparent 50%),
    radial-gradient(ellipse 50% 40% at 0% 60%, rgba(122, 93, 227, 0.08), transparent 45%);
  background-color: var(--bg);
}

/* Velocity Lab hero: large Pulse logomark as CSS mask (gradient fill), clipped at hero bottom */
body.site-inner .product-hero--velocity .hero-content {
  z-index: 3;
}

body.site-inner .product-hero--velocity::before {
  z-index: 1;
}

body.site-inner .product-hero--velocity .product-hero__mark {
  position: absolute;
  right: max(-38vw, -3.5rem);
  bottom: 0;
  /* ×0.85 vs prior step */
  width: min(125vw, 1071px);
  height: min(172vh, 1326px);
  pointer-events: none;
  z-index: 2;
  /* Photo fills the box; SVG mask clips to Pulse logomark */
  background-color: #1a1f33;
  background-image: url("../images/img-pulse-background.jpg");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  opacity: 0.52;
  -webkit-mask-image: url("../images/pulse-ai-logomark.svg");
  mask-image: url("../images/pulse-ai-logomark.svg");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center bottom;
  mask-position: center bottom;
  /* Oversized; bottom extends past hero — overflow:hidden clips */
  transform: translate(calc(18% - 20px), 44%);
}

@media (max-width: 991px) {
  body.site-inner .product-hero--velocity .product-hero__mark {
    width: min(125vw, 714px);
    height: min(125vh, 995px);
    opacity: 0.4;
    transform: translate(calc(14% - 20px), 48%);
    right: max(-30vw, -2.75rem);
  }
}

/* Homepage pillar badges inside product hero (e.g. Velocity Lab): left-align, no extra pillar background */
body.site-inner .product-hero .product-hero__pillar-wrap.pillar-slide {
  background: transparent;
  padding: 0;
  margin: 0 0 clamp(1rem, 2vw, 1.35rem);
}

body.site-inner .product-hero .product-hero__pillar-wrap .hero__pillar-badges {
  justify-content: flex-start;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

body.site-inner .product-hero .product-hero__pillar-wrap .hero__pillar-badges--in-pillar {
  margin-bottom: 0;
}

/* Typography aligned with homepage (Instrument Serif display, Outfit UI, JetBrains Mono labels) */
body.site-inner .display-1,
body.site-inner .display-2,
body.site-inner .display-3,
body.site-inner .display-4,
body.site-inner .display-5,
body.site-inner .display-6 {
  font-family: var(--font-serif);
  font-weight: 400 !important; /* homepage section titles; override Bootstrap .fw-bold */
}

body.site-inner h1,
body.site-inner .h1 {
  font-family: var(--font-serif);
  font-weight: 400 !important;
}

body.site-inner h2,
body.site-inner .h2,
body.site-inner h3,
body.site-inner .h3 {
  font-family: var(--font-serif);
  font-weight: 400;
}

body.site-inner .product-hero h1,
body.site-inner .product-hero .display-4,
body.site-inner .product-hero .display-5 {
  font-family: var(--font-serif);
  font-weight: 400 !important;
}

body.site-inner .cta-callout .display-5 {
  font-family: var(--font-serif);
  font-weight: 400 !important;
}

/* CTA “Meet with Pulse”: pill radius like header .btn--ghost (overrides .btn-xl 12px) */
body.site-inner .cta-callout .cta-callout-btn {
  border-radius: 999px !important;
}

/* Card / compact headings: keep Outfit for readability */
body.site-inner .feature-card h4,
body.site-inner .feature-card h5,
body.site-inner .card-title,
body.site-inner .card h5,
body.site-inner .modal-title {
  font-family: var(--font-sans);
  font-weight: 600;
}

/*
 * Product hero eyebrow — same as homepage pillar: .eyebrow + .hero__eyebrow (Outfit, all caps via .eyebrow rule in home-styles).
 * Re-assert size/color/margin; uppercase + letter-spacing match home-styles .eyebrow (0.2em).
 */
body.site-inner .product-hero .eyebrow.hero__eyebrow,
body.site-inner .product-hero .product-hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-family: var(--font-sans);
  font-size: clamp(1rem, 2.1vw, 1.28rem);
  font-weight: 400;
  line-height: 1.45;
  color: rgba(200, 195, 218, 1) !important;
  margin: 0 0 clamp(0.85rem, 2.2vw, 1.35rem);
  max-width: min(38rem, 100%);
  text-align: left;
}

body.site-inner .product-hero .eyebrow.hero__eyebrow {
  margin-left: 0;
  margin-right: 0;
}

@media (max-width: 1024px) {
  body.site-inner .product-hero .eyebrow.hero__eyebrow {
    font-size: clamp(0.95rem, 2.15vw, 1.2rem);
  }
}

@media (max-width: 640px) {
  body.site-inner .product-hero .eyebrow.hero__eyebrow {
    max-width: 100%;
    font-size: clamp(0.92rem, 3.6vw, 1.2rem);
  }
}

/* Product hero H1: homepage gradient (pillar slides use .accent on Instrument Serif) — +25% vs base scale */
body.site-inner .product-hero .hero__title.product-hero__page-title {
  font-size: clamp(2.5rem, 5.25vw, 4.1875rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 clamp(0.5rem, 1.5vw, 0);
}

/* Same line as Build slide h2 tail: Instrument Serif + .pillar-slide__title scale (home-styles.css) */
body.site-inner .product-hero--velocity .product-hero__tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4.2vw, 4rem);
  font-weight: 400;
  font-style: normal;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.92) !important;
  margin: 0 0 clamp(0.75rem, 2vw, 1.25rem);
  max-width: min(42rem, 100%);
}

@media (min-width: 641px) and (max-width: 1024px) {
  body.site-inner .product-hero--velocity .product-hero__tagline {
    font-size: clamp(1.58rem, 3.35vw, 2.85rem);
    line-height: 1.18;
  }
}

@media (max-width: 640px) {
  body.site-inner .product-hero--velocity .product-hero__tagline {
    font-size: clamp(1.5rem, 10vw, 2.85rem);
    line-height: 1.18;
    max-width: 100%;
    overflow-wrap: break-word;
    padding-inline: 0.125rem;
  }
}

body.site-inner .product-hero .hero__title.product-hero__page-title .accent {
  font-style: normal;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  /* product-detail.css forces h1 { color: #fff !important } — keep gradient clip visible */
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}

body.site-inner .lead {
  font-family: var(--font-sans);
}

/* Velocity Lab — “What Velocity Lab Delivers”: dark glass tiles (not stark white cards) */
body.site-inner .velocity-delivers {
  position: relative;
  background:
    radial-gradient(ellipse 85% 55% at 50% -10%, rgba(233, 0, 202, 0.07), transparent 52%),
    radial-gradient(ellipse 50% 45% at 100% 30%, rgba(0, 194, 255, 0.05), transparent 48%),
    radial-gradient(ellipse 45% 40% at 0% 70%, rgba(122, 93, 227, 0.06), transparent 45%),
    linear-gradient(180deg, #0a0a14 0%, #0e0e1a 45%, #12122a 100%);
  color: rgba(255, 255, 255, 0.92);
}

body.site-inner .velocity-delivers .velocity-delivers__eyebrow {
  color: rgba(200, 195, 218, 0.85) !important;
}

body.site-inner .velocity-delivers h2.display-5 {
  font-family: var(--font-serif);
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.96) !important;
}

/* Slightly above base body; still Outfit / homepage-adjacent scale */
body.site-inner .velocity-delivers .lead.text-muted {
  color: rgba(200, 195, 218, 0.72) !important;
  font-size: clamp(1rem, 1.85vw, 1.2rem);
  font-weight: 300;
  line-height: 1.58;
  max-width: min(48rem, 100%);
  margin-left: auto;
  margin-right: auto;
}

body.site-inner .velocity-delivers .feature-card {
  background: rgba(18, 20, 38, 0.72) !important;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(122, 93, 227, 0.22) !important;
  border-radius: 14px;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

body.site-inner .velocity-delivers .feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 194, 255, 0.35) !important;
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(0, 194, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.site-inner .velocity-delivers .feature-card h4 {
  font-family: var(--font-serif);
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.95) !important;
}

body.site-inner .velocity-delivers .feature-card p,
body.site-inner .velocity-delivers .feature-card .text-muted {
  color: rgba(200, 195, 218, 0.78) !important;
  font-family: var(--font-sans);
  font-size: clamp(0.96rem, 1.7vw, 1.1rem);
  font-weight: 300;
  line-height: 1.58;
  letter-spacing: 0.01em;
}

body.site-inner .velocity-delivers .feature-card .feature-icon {
  background: transparent !important;
  border: none !important;
  box-shadow: none;
}

body.site-inner .velocity-delivers .feature-card .feature-icon i,
body.site-inner .velocity-delivers .feature-card .feature-icon i::before {
  color: rgba(0, 194, 255, 0.95) !important;
  background: none !important;
  -webkit-text-fill-color: unset !important;
}

/* Velocity Lab — Example Outcomes cards (colored header band) */
body.site-inner.velocity-lab-page .velocity-outcome-card {
  overflow: hidden;
  border-radius: 14px;
}

body.site-inner.velocity-lab-page .velocity-outcome-card__header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.75rem, 2vw, 1.1rem);
  padding: clamp(0.95rem, 2.2vw, 1.2rem) clamp(1.15rem, 2.5vw, 1.5rem);
  min-height: clamp(4.25rem, 10vw, 5.25rem);
  color: #fff;
}

body.site-inner.velocity-lab-page .velocity-outcome-card__header-brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(5.25rem, 14vw, 7rem);
  height: clamp(3.1rem, 7.5vw, 3.85rem);
  padding: 0.4rem 0.65rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset;
}

body.site-inner.velocity-lab-page .velocity-outcome-card__header-logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  filter: grayscale(1);
  opacity: 0.92;
}

body.site-inner.velocity-lab-page .velocity-outcome-card__header-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-width: 0;
  flex: 1 1 auto;
}

/* Case study — app screenshots grid (keeps phone-sized previews from spanning full text column) */
body.site-inner .case-study-app-screens {
  max-width: 30rem;
  margin-inline: auto;
}

body.site-inner.velocity-case-study-page .case-study-app-screens {
  max-width: min(42rem, 100%);
}

/* Product / UI screenshot slot — same box on every outcome card; image fills with cover (Bowman, Alli, etc.) */
body.site-inner.velocity-lab-page .velocity-outcome-card__shot {
  position: relative;
  width: 100%;
  height: clamp(8.5rem, 18vw, 10.5rem);
  background: #e8eaef;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

body.site-inner.velocity-lab-page .velocity-outcome-card__header--alli + .velocity-outcome-card__shot {
  background: #f2ede4;
}

body.site-inner.velocity-lab-page .velocity-outcome-card__shot-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

body.site-inner.velocity-lab-page .velocity-outcome-card__header-title {
  font-family: var(--font-sans);
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

body.site-inner.velocity-lab-page .velocity-outcome-card__header-meta {
  font-family: var(--font-sans);
  font-size: clamp(0.68rem, 1.2vw, 0.76rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.88;
}

body.site-inner.velocity-lab-page .velocity-outcome-card__header--bowman {
  background: linear-gradient(135deg, var(--pulse-purple) 0%, #5c3eb8 55%, #4a3299 100%);
}

body.site-inner.velocity-lab-page .velocity-outcome-card__header--alli {
  background: linear-gradient(135deg, #00a8d4 0%, var(--pulse-cyan) 48%, #0096c0 100%);
}

body.site-inner.velocity-lab-page .velocity-outcome-card .btn {
  border-radius: 999px !important;
}

/* Outcome cards: keep outline buttons outline on hover (no full gradient fill) */
body.site-inner.velocity-lab-page .velocity-outcome-card .btn.btn-outline-primary:hover,
body.site-inner.velocity-lab-page .velocity-outcome-card .btn.btn-outline-primary:focus-visible {
  background: rgba(0, 194, 255, 0.1) !important;
  border-color: var(--primary-color) !important;
  color: var(--primary-color) !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 12px rgba(0, 194, 255, 0.2);
}

body.site-inner.velocity-lab-page .velocity-outcome-card .btn.btn-outline-primary:active {
  background: rgba(0, 194, 255, 0.16) !important;
  border-color: var(--primary-color) !important;
  color: var(--primary-color) !important;
}

/* Velocity Lab — “The Build Engine” lead: highlight pace */
body.site-inner.velocity-lab-page .velocity-build-lead .velocity-build-lead__emphasis {
  font-weight: 600;
  color: #0a7a9a;
  letter-spacing: 0.01em;
}

/* Velocity Lab — five-step infographic (Build Engine blurb) */
body.site-inner.velocity-lab-page .velocity-infographic {
  margin-top: var(--section-copy-gap);
  margin-bottom: 0;
}

body.site-inner.velocity-lab-page .velocity-infographic__max {
  max-width: 72rem;
  margin-inline: auto;
}

body.site-inner.velocity-lab-page .velocity-infographic__node-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 100%;
  min-width: 1.5rem;
  max-width: 2.75rem;
  margin-inline: auto;
  padding: 0.15rem 0;
}

body.site-inner.velocity-lab-page .velocity-infographic__chev {
  display: block;
  flex-shrink: 0;
}

body.site-inner.velocity-lab-page .velocity-infographic__node-ring {
  position: relative;
  width: clamp(4.25rem, 9vw, 5.25rem);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid #c8cad8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  background: rgba(255, 255, 255, 0.65);
  justify-self: center;
}

body.site-inner.velocity-lab-page .velocity-infographic__node-ring::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a8aab8;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 1px rgba(18, 20, 40, 0.06);
}

body.site-inner.velocity-lab-page .velocity-infographic__node {
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  line-height: 1;
}

body.site-inner.velocity-lab-page .velocity-infographic__node--1 {
  background: var(--pulse-magenta);
}
body.site-inner.velocity-lab-page .velocity-infographic__node--2 {
  background: var(--pulse-purple);
}
body.site-inner.velocity-lab-page .velocity-infographic__node--3 {
  background: var(--pulse-cyan);
}
body.site-inner.velocity-lab-page .velocity-infographic__node--4 {
  background: var(--warning);
}
body.site-inner.velocity-lab-page .velocity-infographic__node--5 {
  background: #1fb89a;
}

body.site-inner.velocity-lab-page .velocity-infographic__step-label {
  font-family: var(--font-sans);
  font-size: clamp(0.88rem, 1.55vw, 1.06rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin: 0.65rem 0 0;
  line-height: 1.22;
  text-align: center;
}

body.site-inner.velocity-lab-page .velocity-infographic__step-label--1 {
  color: var(--pulse-magenta);
}
body.site-inner.velocity-lab-page .velocity-infographic__step-label--2 {
  color: var(--pulse-purple);
}
body.site-inner.velocity-lab-page .velocity-infographic__step-label--3 {
  color: #0099c4;
}
body.site-inner.velocity-lab-page .velocity-infographic__step-label--4 {
  color: #c9782a;
}
body.site-inner.velocity-lab-page .velocity-infographic__step-label--5 {
  color: #148f78;
}

body.site-inner.velocity-lab-page .velocity-infographic__desc {
  font-family: var(--font-sans);
  font-size: clamp(0.8rem, 1.38vw, 0.92rem);
  font-weight: 400;
  color: rgba(60, 58, 82, 0.78);
  line-height: 1.45;
  margin: 0.45rem 0 0;
  text-align: center;
  min-width: 0;
}

body.site-inner.velocity-lab-page .velocity-infographic__rail-track {
  position: relative;
  height: clamp(1.15rem, 2.5vw, 1.35rem);
}

body.site-inner.velocity-lab-page .velocity-infographic__rail-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background: #d0d2dc;
  border-radius: 1px;
  z-index: 0;
}

body.site-inner.velocity-lab-page .velocity-infographic__rail-line::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 7px;
  border-color: transparent transparent transparent #b8bac8;
}

body.site-inner.velocity-lab-page .velocity-infographic__rail-dots {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  pointer-events: none;
}

body.site-inner.velocity-lab-page .velocity-infographic__rail-dots span {
  box-sizing: border-box;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid #8b8e9e;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.9);
  justify-self: center;
  align-self: center;
  flex-shrink: 0;
}

body.site-inner.velocity-lab-page .velocity-infographic__rail-dots span:nth-child(1) {
  grid-column: 1;
}
body.site-inner.velocity-lab-page .velocity-infographic__rail-dots span:nth-child(2) {
  grid-column: 3;
}
body.site-inner.velocity-lab-page .velocity-infographic__rail-dots span:nth-child(3) {
  grid-column: 5;
}
body.site-inner.velocity-lab-page .velocity-infographic__rail-dots span:nth-child(4) {
  grid-column: 7;
}
body.site-inner.velocity-lab-page .velocity-infographic__rail-dots span:nth-child(5) {
  grid-column: 9;
}

/* Desktop: 9-col grid; steps use display:contents so ring / label / desc land on separate rows */
@media (min-width: 992px) {
  body.site-inner.velocity-lab-page .velocity-infographic__grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
    column-gap: clamp(0.15rem, 0.9vw, 0.45rem);
    row-gap: 0.55rem;
    align-items: center;
  }

  body.site-inner.velocity-lab-page .velocity-infographic__step {
    display: contents;
  }

  body.site-inner.velocity-lab-page .velocity-infographic__step .velocity-infographic__step-label {
    margin-top: 0;
  }

  body.site-inner.velocity-lab-page .velocity-infographic__step .velocity-infographic__desc {
    margin-top: 0;
  }

  body.site-inner.velocity-lab-page .velocity-infographic__step:nth-child(1) .velocity-infographic__node-ring {
    grid-row: 1;
    grid-column: 1;
  }
  body.site-inner.velocity-lab-page .velocity-infographic__step:nth-child(1) .velocity-infographic__step-label {
    grid-row: 2;
    grid-column: 1;
  }
  body.site-inner.velocity-lab-page .velocity-infographic__step:nth-child(1) .velocity-infographic__desc {
    grid-row: 4;
    grid-column: 1;
  }

  body.site-inner.velocity-lab-page .velocity-infographic__node-arrow:nth-child(2) {
    grid-row: 1;
    grid-column: 2;
  }

  body.site-inner.velocity-lab-page .velocity-infographic__step:nth-child(3) .velocity-infographic__node-ring {
    grid-row: 1;
    grid-column: 3;
  }
  body.site-inner.velocity-lab-page .velocity-infographic__step:nth-child(3) .velocity-infographic__step-label {
    grid-row: 2;
    grid-column: 3;
  }
  body.site-inner.velocity-lab-page .velocity-infographic__step:nth-child(3) .velocity-infographic__desc {
    grid-row: 4;
    grid-column: 3;
  }

  body.site-inner.velocity-lab-page .velocity-infographic__node-arrow:nth-child(4) {
    grid-row: 1;
    grid-column: 4;
  }

  body.site-inner.velocity-lab-page .velocity-infographic__step:nth-child(5) .velocity-infographic__node-ring {
    grid-row: 1;
    grid-column: 5;
  }
  body.site-inner.velocity-lab-page .velocity-infographic__step:nth-child(5) .velocity-infographic__step-label {
    grid-row: 2;
    grid-column: 5;
  }
  body.site-inner.velocity-lab-page .velocity-infographic__step:nth-child(5) .velocity-infographic__desc {
    grid-row: 4;
    grid-column: 5;
  }

  body.site-inner.velocity-lab-page .velocity-infographic__node-arrow:nth-child(6) {
    grid-row: 1;
    grid-column: 6;
  }

  body.site-inner.velocity-lab-page .velocity-infographic__step:nth-child(7) .velocity-infographic__node-ring {
    grid-row: 1;
    grid-column: 7;
  }
  body.site-inner.velocity-lab-page .velocity-infographic__step:nth-child(7) .velocity-infographic__step-label {
    grid-row: 2;
    grid-column: 7;
  }
  body.site-inner.velocity-lab-page .velocity-infographic__step:nth-child(7) .velocity-infographic__desc {
    grid-row: 4;
    grid-column: 7;
  }

  body.site-inner.velocity-lab-page .velocity-infographic__node-arrow:nth-child(8) {
    grid-row: 1;
    grid-column: 8;
  }

  body.site-inner.velocity-lab-page .velocity-infographic__step:nth-child(9) .velocity-infographic__node-ring {
    grid-row: 1;
    grid-column: 9;
  }
  body.site-inner.velocity-lab-page .velocity-infographic__step:nth-child(9) .velocity-infographic__step-label {
    grid-row: 2;
    grid-column: 9;
  }
  body.site-inner.velocity-lab-page .velocity-infographic__step:nth-child(9) .velocity-infographic__desc {
    grid-row: 4;
    grid-column: 9;
  }

  body.site-inner.velocity-lab-page .velocity-infographic__rail {
    grid-row: 3;
    grid-column: 1 / -1;
    margin-top: 0.35rem;
    margin-bottom: 0.35rem;
    padding: 0.15rem 0;
  }

  body.site-inner.velocity-lab-page .velocity-infographic__step-label {
    align-self: start;
  }

  body.site-inner.velocity-lab-page .velocity-infographic__desc {
    align-self: start;
  }
}

/* Mobile: one column; each step is ring → title → copy */
@media (max-width: 991.98px) {
  body.site-inner.velocity-lab-page .velocity-infographic__grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-width: min(28rem, 100%);
    margin-inline: auto;
    padding-inline: clamp(0.75rem, 4vw, 1.5rem);
    box-sizing: border-box;
  }

  body.site-inner.velocity-lab-page .velocity-infographic__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: clamp(1.1rem, 3.5vw, 1.5rem) clamp(0.85rem, 3vw, 1.35rem) clamp(1.35rem, 4vw, 1.65rem);
    margin-bottom: clamp(0.85rem, 2.5vw, 1.15rem);
    border-bottom: 1px solid rgba(18, 20, 40, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.45);
  }

  /* Last step is 9th grid child (before .rail); rail is 10th and hidden */
  body.site-inner.velocity-lab-page .velocity-infographic__grid > .velocity-infographic__step:nth-child(9) {
    margin-bottom: 0;
    border-bottom: none;
  }

  body.site-inner.velocity-lab-page .velocity-infographic__node-arrow {
    display: none;
  }

  body.site-inner.velocity-lab-page .velocity-infographic__rail {
    display: none;
  }

  body.site-inner.velocity-lab-page .velocity-infographic__step-label {
    margin-top: 0.7rem;
    font-size: clamp(1.05rem, 4.2vw, 1.28rem);
    line-height: 1.2;
    letter-spacing: 0.02em;
  }

  body.site-inner.velocity-lab-page .velocity-infographic__desc {
    margin-top: 0.55rem;
    max-width: 100%;
    padding-inline: clamp(0, 1.5vw, 0.35rem);
    font-size: clamp(0.9rem, 3.1vw, 1.02rem);
    line-height: 1.5;
  }
}
