/* Industry landing pages - shared styles */
:root {
  --ip-blue: #2a65f6;
  --ip-blue-dark: #1e52e8;
  --ip-text: #0F172A;
  --ip-body: #475569;
  --ip-muted: #94A3B8;
  --ip-border: #E2E8F0;
  --ip-bg: #ffffff;
  --ip-bg-soft: #F8FAFC;
  --ip-font: 'DM Sans', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --ip-nav-h: 72px;
  --ip-accent: var(--ip-blue);
  --ip-accent-light: #EEF4FF;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body.ip-page {
  font-family: var(--ip-font);
  color: var(--ip-text);
  background: var(--ip-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Dot grid - see /assets/dot-bg.css (link on industry pages) */
/* Keep page content above dot grid only - do not stack above the nav dropdown */
body.ip-page > main,
body.ip-page > section,
body.ip-page > footer,
body.ip-page > .ip-cta {
  position: relative;
}

.ip-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .ip-container { padding: 0 48px; } }
@media (min-width: 1024px) { .ip-container { padding: 0 80px; } }

/* Nav */
.ip-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--ip-nav-h);
  background: #fff;
  border-bottom: 1px solid var(--ip-border);
  z-index: 10050;
  overflow: visible;
}
.ip-nav .ip-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  overflow: visible;
}
.ip-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ip-blue);
  text-decoration: none;
}
.ip-logo-icon {
  width: 36px; height: 36px;
  background: var(--ip-blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
}
.ip-nav-right { display: flex; align-items: center; gap: 28px; overflow: visible; }
.ip-nav-links { display: flex; gap: 24px; list-style: none; align-items: center; overflow: visible; }
.ip-nav-links a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--ip-text);
  text-decoration: none;
  transition: color .2s;
}
.ip-nav-links a:hover { color: var(--ip-blue); }
.ip-nav-dropdown {
  position: relative;
  z-index: 10051;
  /* Wider/taller hit area so the pointer can reach the panel without leaving hover */
  padding: 4px 10px 14px;
  margin: -4px -10px -14px;
}
.ip-nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.ip-nav-dropdown > a svg { width: 14px; height: 14px; transition: transform .2s; }
.ip-nav-dropdown:hover > a svg,
.ip-nav-dropdown.is-open > a svg { transform: rotate(180deg); }
.ip-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 2px;
  background: white;
  border: 1px solid var(--ip-border);
  border-radius: 12px;
  padding: 8px;
  min-width: 260px;
  box-shadow: 0 16px 40px rgba(0,0,0,.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
  z-index: 10052;
  pointer-events: none;
}
/* Invisible bridge: covers the gap between trigger and panel */
.ip-dropdown-menu::before {
  content: "";
  position: absolute;
  left: -16px;
  right: -16px;
  top: -14px;
  height: 14px;
}
.ip-nav-dropdown:hover .ip-dropdown-menu,
.ip-nav-dropdown.is-open .ip-dropdown-menu,
.ip-nav-dropdown:focus-within .ip-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.ip-dropdown-menu a {
  display: block;
  padding: 10px 14px;
  font-size: .88rem;
  border-radius: 8px;
  color: var(--ip-text);
}
.ip-dropdown-menu a:hover,
.ip-dropdown-menu a.active {
  background: var(--ip-accent-light);
  color: var(--ip-accent);
}
.ip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all .2s;
  text-decoration: none;
}
.ip-btn-primary {
  background: var(--ip-blue);
  color: white;
  box-shadow: 0 2px 8px rgba(42,101,246,.3);
}
.ip-btn-primary:hover { background: var(--ip-blue-dark); transform: translateY(-1px); }
.ip-btn-outline {
  background: white;
  color: var(--ip-text);
  border: 1.5px solid #94A3B8;
}
.ip-btn-outline:hover { border-color: var(--ip-blue); color: var(--ip-blue); }
.ip-btn-accent {
  background: var(--ip-accent);
  color: white;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--ip-accent) 40%, transparent);
}
.ip-btn-accent:hover { filter: brightness(1.08); transform: translateY(-1px); }
.ip-btn-white {
  background: white;
  color: var(--ip-blue);
  font-weight: 700;
}
.ip-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.ip-hamburger span { width: 22px; height: 2px; background: var(--ip-text); border-radius: 2px; }
.ip-mobile-menu {
  display: none;
  position: fixed;
  top: var(--ip-nav-h);
  left: 0; right: 0;
  background: white;
  padding: 16px 24px;
  border-bottom: 1px solid var(--ip-border);
  z-index: 10049;
}
.ip-mobile-menu.open { display: block; }
.ip-mobile-menu a {
  display: block;
  padding: 12px 0;
  color: var(--ip-body);
  text-decoration: none;
  border-bottom: 1px solid #f1f5f9;
}

/* Hero */
.ip-hero {
  padding: calc(var(--ip-nav-h) + 64px) 0 80px;
  position: relative;
  overflow: hidden;
}
.ip-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--ip-accent-light) 0%, #fff 45%, #fff 100%);
  z-index: -1;
}
.ip-hero-glow {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--ip-accent) 12%, transparent);
  filter: blur(80px);
  top: -100px; right: -100px;
  pointer-events: none;
}
.ip-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .ip-hero-grid { grid-template-columns: 1fr 1fr; }
}
.ip-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--ip-border);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--ip-accent);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 20px;
}
.ip-eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--ip-accent);
  border-radius: 50%;
  animation: ipPulse 2s infinite;
}
@keyframes ipPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.3); }
}
.ip-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 20px;
}
.ip-hero h1 .highlight {
  color: var(--ip-accent);
  display: block;
}
.ip-hero-desc {
  font-size: 1.1rem;
  color: var(--ip-body);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.7;
}
.ip-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ip-hero-visual {
  position: relative;
  border-radius: 24px;
  background: linear-gradient(145deg, white, var(--ip-accent-light));
  border: 1px solid var(--ip-border);
  padding: 32px;
  box-shadow: 0 24px 60px rgba(0,0,0,.08);
}
.ip-hero-card-stack { display: flex; flex-direction: column; gap: 12px; }
.ip-mini-card {
  background: white;
  border-radius: 14px;
  padding: 16px 18px;
  border: 1px solid var(--ip-border);
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,.04);
  transition: transform .3s, box-shadow .3s;
}
.ip-mini-card:hover { transform: translateX(6px); box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.ip-mini-card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--ip-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--ip-accent);
}
.ip-mini-card-icon svg { width: 22px; height: 22px; }
.ip-mini-card strong { display: block; font-size: .9rem; margin-bottom: 2px; }
.ip-mini-card span { font-size: .8rem; color: var(--ip-muted); }

/* Sections */
.ip-section { padding: 80px 0; }
.ip-section-alt { background: var(--ip-bg-soft); }
.ip-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ip-accent);
  margin-bottom: 10px;
}
.ip-section h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.ip-section-sub {
  color: var(--ip-body);
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 40px;
}

/* Challenge grid */
.ip-challenge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.ip-challenge-card {
  background: white;
  border: 1px solid var(--ip-border);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: all .25s;
  cursor: default;
}
.ip-challenge-card:hover {
  border-color: color-mix(in srgb, var(--ip-accent) 40%, var(--ip-border));
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,.06);
}
.ip-challenge-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--ip-accent-light);
  color: var(--ip-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ip-challenge-icon svg { width: 20px; height: 20px; }
.ip-challenge-card p { font-size: .92rem; color: var(--ip-body); font-weight: 500; }

/* Solution */
.ip-solution-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .ip-solution-grid { grid-template-columns: 1fr 1fr; }
}
.ip-handles-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ip-handles-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: white;
  border: 1px solid var(--ip-border);
  border-radius: 12px;
  font-size: .92rem;
  font-weight: 500;
  transition: all .2s;
}
.ip-handles-list li:hover {
  border-color: var(--ip-accent);
  background: var(--ip-accent-light);
  transform: translateX(4px);
}
.ip-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--ip-accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
}

/* Process stepper */
.ip-process-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 900px) {
  .ip-process-wrap { grid-template-columns: 280px 1fr; align-items: start; }
}
.ip-process-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (min-width: 900px) {
  .ip-process-tabs {
    position: sticky;
    top: calc(var(--ip-nav-h) + 24px);
    max-height: calc(100vh - var(--ip-nav-h) - 48px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
    scrollbar-width: thin;
  }
  .ip-process-tabs::-webkit-scrollbar { width: 5px; }
  .ip-process-tabs::-webkit-scrollbar-thumb {
    background: var(--ip-border);
    border-radius: 4px;
  }
}
@media (max-width: 899px) {
  .ip-process-tabs {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
  }
}
.ip-process-tab {
  text-align: left;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1.5px solid transparent;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  transition: all .2s;
}
.ip-process-tab:hover,
.ip-process-tab:focus-visible {
  background: white;
  border-color: var(--ip-border);
}
.ip-process-tab.active,
.ip-process-tab.is-active {
  background: white;
  border-color: var(--ip-accent);
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.ip-process-tab:hover .ip-process-tab-title,
.ip-process-tab.is-active .ip-process-tab-title {
  color: var(--ip-accent);
}
.ip-process-tab-num {
  font-size: .7rem;
  font-weight: 700;
  color: var(--ip-accent);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.ip-process-tab-title {
  display: block;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ip-text);
  margin-top: 4px;
}
.ip-process-panel {
  background: white;
  border: 1px solid var(--ip-border);
  border-radius: 20px;
  padding: 40px;
  min-height: 280px;
  position: relative;
  overflow: hidden;
}
.ip-process-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--ip-accent);
}
/* ── Step icons (activated when page defines window.IP_STEP_ICONS) ── */
.ip-process-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}
.ip-process-panel-header .ip-process-step-num {
  margin-bottom: 0;
}
.ip-process-icon-wrap {
  flex-shrink: 0;
  width: 58px; height: 58px; border-radius: 16px;
  background: linear-gradient(135deg, #2563eb 0%, #6366f1 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 22px rgba(37,99,235,.38), 0 2px 6px rgba(37,99,235,.2);
}
.ip-process-icon-wrap svg {
  width: 26px; height: 26px;
  stroke: #fff; fill: none; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

.ip-process-step-num {
  font-size: 4rem;
  font-weight: 800;
  color: var(--ip-accent-light);
  line-height: 1;
  margin-bottom: 16px;
}
.ip-process-panel h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.ip-process-panel p { color: var(--ip-body); font-size: 1rem; }
.ip-process-progress {
  display: flex;
  gap: 6px;
  margin-top: 28px;
}
.ip-process-dot {
  height: 4px;
  flex: 1;
  border-radius: 2px;
  background: var(--ip-border);
  transition: background .3s;
}
.ip-process-dot.active { background: var(--ip-accent); }

/* Benefits */
.ip-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.ip-benefit-card {
  background: white;
  border: 1px solid var(--ip-border);
  border-radius: 18px;
  padding: 28px;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.ip-benefit-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--ip-accent);
  transform: scaleX(0);
  transition: transform .3s;
  transform-origin: left;
}
.ip-benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,.08);
}
.ip-benefit-card:hover::after { transform: scaleX(1); }
.ip-benefit-stat {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ip-accent);
  line-height: 1;
  margin-bottom: 4px;
}
.ip-benefit-stat-label {
  font-size: .75rem;
  font-weight: 600;
  color: var(--ip-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 16px;
}
.ip-benefit-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.ip-benefit-card p { font-size: .88rem; color: var(--ip-body); line-height: 1.55; }

/* Scenarios tabs */
.ip-scenario-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.ip-scenario-tab {
  padding: 12px 20px;
  border-radius: 50px;
  border: 1.5px solid var(--ip-border);
  background: white;
  font-family: inherit;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  color: var(--ip-body);
}
.ip-scenario-tab:hover { border-color: var(--ip-accent); color: var(--ip-accent); }
.ip-scenario-tab.active {
  background: var(--ip-accent);
  border-color: var(--ip-accent);
  color: white;
}
.ip-scenario-panel {
  background: white;
  border: 1px solid var(--ip-border);
  border-radius: 20px;
  padding: 48px;
  text-align: center;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.ip-scenario-panel-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--ip-accent-light);
  color: var(--ip-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ip-scenario-panel-icon svg { width: 32px; height: 32px; }
.ip-scenario-panel h3 { font-size: 1.35rem; font-weight: 700; }
.ip-scenario-panel p { color: var(--ip-body); max-width: 480px; font-size: 1rem; }

/* CTA — see assets/cta-banner.css */

/* Footer */
.ip-footer {
  background: var(--ip-bg-soft);
  border-top: 1px solid var(--ip-border);
  padding: 48px 0 24px;
}
.ip-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .ip-footer-grid { grid-template-columns: 1fr; }
  .ip-nav-links, .ip-nav-right .ip-btn { display: none; }
  .ip-hamburger { display: flex; }
}
.ip-footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ip-blue); margin-bottom: 12px; }
.ip-footer-tagline { font-size: .88rem; color: var(--ip-body); max-width: 280px; }
.ip-footer-col h4 { font-size: .85rem; font-weight: 700; margin-bottom: 12px; }
.ip-footer-col a {
  display: block;
  font-size: .85rem;
  color: var(--ip-body);
  text-decoration: none;
  margin-bottom: 8px;
}
.ip-footer-col a:hover { color: var(--ip-blue); }
.ip-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--ip-border);
  font-size: .8rem;
  color: var(--ip-muted);
  flex-wrap: wrap;
  gap: 12px;
}
.ip-footer-bottom a { color: var(--ip-muted); text-decoration: none; margin-left: 16px; }
.ip-footer-bottom a:hover { color: var(--ip-text); }

/* Animations */
.ip-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.ip-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Hero is above the fold - show immediately (no scroll-reveal delay on mascot/cards) */
.ip-hero .ip-reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Gate overrides on industry pages */
body.ip-page #emailGate .email-gate-box { width: 400px; }

/* Calendly popup */
.calendly-overlay {
  background: rgba(0, 0, 0, 0.65) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  z-index: 100000 !important;
}
.calendly-overlay .calendly-popup {
  max-width: 100vw !important;
  min-width: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-height: 100vh !important;
  border-radius: 0 !important;
}
.calendly-popup-close {
  background: #1e293b !important;
  border-radius: 50% !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  top: 16px !important;
  right: 16px !important;
  left: auto !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
  cursor: pointer !important;
  position: fixed !important;
  z-index: 100001 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  overflow: visible !important;
  text-indent: -9999px !important;
  border: none !important;
}
.calendly-popup-close::before,
.calendly-popup-close::after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 20px !important;
  height: 2px !important;
  background: #ffffff !important;
  border-radius: 1px !important;
  display: block !important;
}
.calendly-popup-close::before {
  transform: translate(-50%, -50%) rotate(45deg) !important;
}
.calendly-popup-close::after {
  transform: translate(-50%, -50%) rotate(-45deg) !important;
}
.calendly-popup-close > * {
  display: none !important;
}
.calendly-popup-close:hover {
  background: #ef4444 !important;
}

/* ── RESPONSIVE: tablet, mobile, small phones ── */

/* Tablet landscape / small laptop */
@media (max-width: 1024px) {
  .ip-section {
    padding: 64px 0;
  }

  .ip-hero {
    padding: calc(var(--ip-nav-h) + 48px) 0 56px;
  }

  .ip-solution-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ip-process-wrap {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ip-process-tabs {
    position: static;
    max-height: none;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  .ip-process-tabs::-webkit-scrollbar {
    display: none;
  }

  .ip-process-tab {
    flex: 0 0 min(260px, 82vw);
    min-height: 72px;
  }

  .ip-hero-visual {
    order: -1;
  }
}

/* Tablet portrait / large phone */
@media (max-width: 768px) {
  .ip-container {
    padding: 0 20px;
  }

  .ip-nav-links,
  .ip-nav-right .ip-btn {
    display: none;
  }

  .ip-hamburger {
    display: flex;
  }

  .ip-mobile-menu a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .ip-hero-desc {
    font-size: 1rem;
    max-width: 100%;
  }

  .ip-hero-visual {
    padding: 20px;
  }

  .ip-section h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .ip-section-sub {
    font-size: 0.98rem;
    margin-bottom: 28px;
  }

  .ip-process-panel {
    padding: 28px 22px;
    min-height: 200px;
  }

  .ip-process-step-num {
    font-size: 3rem;
  }

  .ip-process-panel h3 {
    font-size: 1.2rem;
  }

  .ip-scenario-panel {
    padding: 32px 20px;
  }

  .ip-scenario-tabs {
    flex-wrap: wrap;
    justify-content: center;
  }

  .ip-cta {
    margin: 0 16px 56px;
    padding: 48px 24px;
    border-radius: 20px;
  }

  .ip-hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .ip-hero-actions .ip-btn {
    width: 100%;
    justify-content: center;
  }

  .ip-cta-actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .ip-cta-actions .ip-btn {
    width: 100%;
    max-width: 320px;
  }

  .ip-footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .ip-footer-bottom span:last-child a {
    margin: 0 8px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .ip-container {
    padding: 0 16px;
  }

  .ip-hero {
    padding: calc(var(--ip-nav-h) + 32px) 0 48px;
  }

  .ip-hero h1 {
    font-size: clamp(1.85rem, 8vw, 2.25rem);
  }

  .ip-hero h1 .highlight {
    display: inline;
  }

  .ip-eyebrow {
    font-size: 0.72rem;
    padding: 5px 12px;
  }

  .ip-mini-card {
    padding: 14px;
  }

  .ip-mini-card strong {
    font-size: 0.85rem;
  }

  .ip-challenge-grid,
  .ip-benefits-grid {
    grid-template-columns: 1fr;
  }

  .ip-challenge-card,
  .ip-benefit-card {
    padding: 18px;
  }

  .ip-handles-list li {
    padding: 10px 14px;
    font-size: 0.88rem;
  }

  .ip-process-tab {
    flex: 0 0 min(240px, 88vw);
    padding: 12px 14px;
    scroll-snap-align: unset;
  }

  .ip-process-step-num {
    font-size: 2.5rem;
  }

  .ip-cta {
    margin: 0 12px 48px;
    padding: 40px 18px;
  }

  .ip-cta h2 br {
    display: none;
  }

  .ip-section {
    padding: 48px 0;
  }
}

/* Very small phones */
@media (max-width: 360px) {
  .ip-logo {
    font-size: 1rem;
  }

  .ip-logo-icon {
    width: 32px;
    height: 32px;
  }

  .ip-benefit-stat {
    font-size: 1.65rem;
  }
}

/* ── Benefit stat count-up animation ── */
/* No extra DOM needed — JS updates textContent directly.
   will-change hints the browser to keep the element on its own layer
   so rapid textContent updates don't trigger full repaints. */
.ip-benefit-stat {
  will-change: contents;
}
