@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ═══════════════════════════════════════════
   ALTZOR AI ADOPTION PROGRAM
   Design tokens aligned with site theme
═══════════════════════════════════════════ */
:root {
  --aap-navy: #1d1d49;
  --aap-navy-grad-1: #15153a;
  --aap-navy-grad-2: #2e2e70;
  --aap-orange: #df6719;
  --aap-orange-light: #f07a30;
  --aap-orange-tint: rgba(223, 103, 25, 0.08);
  --aap-orange-tint-strong: rgba(223, 103, 25, 0.14);
  --aap-orange-border: rgba(223, 103, 25, 0.25);
  --aap-white: #ffffff;
  --aap-off-white: #f7f8fc;
  --aap-off-white-2: #f0f2f8;
  --aap-line: rgba(29, 29, 73, 0.10);
  --aap-line-strong: rgba(29, 29, 73, 0.16);
  --aap-text-body: #4a4a75;
  --aap-text-muted: #7a7aaa;
  --aap-card-shadow: 0 4px 20px rgba(29, 29, 73, 0.06);
  --aap-card-shadow-hover: 0 20px 50px rgba(29, 29, 73, 0.14);
  --aap-orange-shadow: 0 10px 30px rgba(223, 103, 25, 0.22);
  --aap-orange-shadow-lg: 0 18px 48px rgba(223, 103, 25, 0.35);
  --aap-transition: all 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  font-family: 'Manrope', sans-serif;
  background: var(--aap-white);
  color: var(--aap-text-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.65;
}

.aap-page h1,
.aap-page h2,
.aap-page h3,
.aap-page h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--aap-navy);
}

.aap-page p { opacity: 1; }

/* ═══════════════════════════════════════════
   LIGHT HEADER (blog-style) — scoped to .light-header
   Loaded after header.css so these win on equal specificity.
═══════════════════════════════════════════ */
header.light-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0;
  background: #ffffff;
  border-bottom: 1px solid #eef0f5;
  z-index: 999;
  transition: box-shadow 0.3s ease;
}

header.light-header.scrolled { box-shadow: 0 4px 20px rgba(29, 29, 73, 0.08); }

.light-header .headerHolder {
  height: 80px;
  padding: 0;
  margin-top: 0;
  background: transparent;
  border-radius: 0;
}

.light-header .logo-link { display: inline-flex; align-items: center; flex: none; }
.light-header .headerHolder .logo { width: auto; height: 38px; }

.light-header .navbar {
  background: transparent;
  backdrop-filter: none;
  padding: 0;
  border-radius: 0;
}

.light-header .navbar-list { gap: 0.15rem; }

.light-header .nav-link,
.light-header .nav-link:link,
.light-header .nav-link:visited,
.light-header .nav-link:focus {
  color: #374151;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  text-shadow: none;
}

.light-header .navbar a:hover,
.light-header .navbar a.active,
.light-header .nav-link:hover,
.light-header .nav-link:active,
.light-header .mega-toggle[aria-expanded="true"],
.light-header .dropdown-toggle[aria-expanded="true"] {
  color: var(--primary);
  text-shadow: none;
  background: transparent;
}

/* full-bleed white mega panel */
.light-header .mega-menu {
  top: 100%;
  left: calc(-50vw + 50%);
  width: 100vw;
  background: #ffffff;
  border-top: 1px solid #eef0f5;
  border-radius: 0;
  box-shadow: 0 18px 44px rgba(29, 29, 73, 0.10);
}

.light-header .mega-col-title {
  color: #9ca3af;
  border-bottom: 1px solid #f1f2f6;
}

.light-header .mega-link,
.light-header .mega-sub .mega-link {
  color: #374151;
  font-weight: 500;
}

.light-header .mega-link:hover,
.light-header .mega-sub .mega-link:hover {
  color: var(--primary);
  background: transparent;
  text-shadow: none;
}

.light-header .mega-link.active {
  color: var(--primary);
  background: rgba(223, 103, 25, 0.07);
}

.light-header .mega-sub { border-left: 3px solid var(--primary); }

/* small dropdown */
.light-header .navbar .dropdown-menu {
  background: #ffffff !important;
  border: 1px solid #eef0f5;
  box-shadow: 0 16px 40px rgba(29, 29, 73, 0.12);
}

.light-header .navbar .dropdown-menu li a,
.light-header .navbar .dropdown-menu .dropdown-item { color: #374151; }

.light-header .navbar .dropdown-menu li a:hover,
.light-header .navbar .dropdown-menu .dropdown-item:hover,
.light-header .navbar .dropdown-menu .dropdown-item:focus {
  color: var(--primary) !important;
  text-shadow: none;
}

@media (max-width: 992px) {
  .light-header .headerHolder { height: 68px; }
  .light-header .headerHolder .logo { height: 32px; }

  .light-header .navbar {
    background: #ffffff;
    backdrop-filter: none;
    border: 1px solid #eef0f5;
    box-shadow: 0 18px 44px rgba(29, 29, 73, 0.12);
    padding: 1rem 1rem 1.5rem;
  }

  .light-header .nav-link,
  .light-header .nav-link:link,
  .light-header .nav-link:visited { border-bottom: 1px solid #f1f2f6; }

  .light-header .mega-menu {
    left: auto !important;
    width: 100% !important;
    background: #f8f9fc !important;
    box-shadow: none;
    border-top: none;
    border-radius: 8px;
  }
}

/* offset page content below the fixed header */
.aap-page { padding-top: 80px; }
@media (max-width: 992px) { .aap-page { padding-top: 68px; } }

/* ═══════════════════════════════════════════
   FOOTER CTA (shared partial needs its band)
═══════════════════════════════════════════ */
#cta .container {
  background: var(--secondary);
  padding: 2rem;
  border-radius: 12px;
}

.aap-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
}

@media (max-width: 1024px) { .aap-container { padding: 0 32px; } }
@media (max-width: 768px)  { .aap-container { padding: 0 20px; } }

.aap-section { padding: 100px 0; }
.aap-section.tint { background: var(--aap-off-white); }
.aap-section.tight-top { padding-top: 0; }

@media (max-width: 768px) { .aap-section { padding: 64px 0; } }

/* ═══════════════════════════════════════════
   BREADCRUMB
═══════════════════════════════════════════ */
.aap-breadcrumb {
  padding: 28px 0 0;
  font-size: 13.5px;
  color: var(--aap-text-muted);
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
}

.aap-breadcrumb a { color: var(--aap-text-muted); transition: var(--aap-transition); }
.aap-breadcrumb a:hover { color: var(--aap-orange); }
.aap-breadcrumb .sep { opacity: 0.45; }
.aap-breadcrumb .current { color: var(--aap-navy); font-weight: 600; }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.aap-hero {
  padding: 40px 0 0;
  position: relative;
  overflow: hidden;
  background: var(--aap-white);
}

/* soft ambient wash behind the hero — fades out, no hard edges */
.aap-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 88% 22%, rgba(223, 103, 25, 0.06), transparent 65%),
    radial-gradient(760px 460px at 2% 70%, rgba(29, 29, 73, 0.04), transparent 62%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 92%);
  mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 92%);
}

.aap-hero > * { position: relative; z-index: 1; }

.aap-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 992px) { .aap-hero-grid { grid-template-columns: 1fr; gap: 12px; } }

.aap-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--aap-orange-tint);
  border: 1px solid var(--aap-orange-border);
  color: var(--aap-orange);
  padding: 9px 20px;
  border-radius: 40px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 26px;
}

.aap-hero-title {
  font-size: 54px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.028em;
  margin: 0 0 26px;
  color: var(--aap-navy);
}

.aap-hero-title .accent { color: var(--aap-orange); }

@media (max-width: 1200px) { .aap-hero-title { font-size: 46px; } }
@media (max-width: 768px)  { .aap-hero-title { font-size: 34px; } }

.aap-hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--aap-text-body);
  max-width: 560px;
  margin: 0 0 18px;
}

.aap-hero-sub.small { font-size: 16px; }

.aap-hero-cta-row {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.aap-btn {
  background: linear-gradient(135deg, var(--aap-orange) 0%, #c85610 100%);
  color: var(--aap-white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 17px 40px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  transition: var(--aap-transition);
  box-shadow: var(--aap-orange-shadow);
}

.aap-btn:hover {
  transform: translateY(-4px);
  background: linear-gradient(135deg, var(--aap-orange-light) 0%, var(--aap-orange) 100%);
  box-shadow: var(--aap-orange-shadow-lg);
  color: var(--aap-white);
}

.aap-btn.ghost {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  color: var(--aap-white);
  box-shadow: none;
}

.aap-btn.ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--aap-white);
  color: var(--aap-white);
  box-shadow: none;
}

.aap-text-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--aap-navy);
  border-bottom: 2px solid var(--aap-orange);
  padding-bottom: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--aap-transition);
}

.aap-text-link i { transition: transform 0.28s ease; }
.aap-text-link:hover { color: var(--aap-orange); }
.aap-text-link:hover i { transform: translateX(4px); }

.aap-hero-visual {
  position: relative;
  height: 520px;
}

.aap-hero-visual svg { width: 100%; height: 100%; }

@media (max-width: 992px) { .aap-hero-visual { height: 340px; margin-top: 20px; } }
@media (max-width: 600px) { .aap-hero-visual { height: 260px; } }

/* ═══════════════════════════════════════════
   PROCESS STRIP
═══════════════════════════════════════════ */
.aap-process-strip {
  border-top: 1px solid var(--aap-line);
  margin-top: 60px;
  padding: 44px 0 0;
}

.aap-process-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

@media (max-width: 900px) {
  .aap-process-grid { grid-template-columns: 1fr; gap: 26px; }
  .aap-process-arrow { display: none; }
}

.aap-process-step {
  display: flex;
  align-items: baseline;
  gap: 18px;
}

.aap-process-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 38px;
  font-weight: 800;
  color: var(--aap-orange);
  line-height: 1;
}

.aap-process-step h4 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 800;
  color: var(--aap-navy);
}

.aap-process-step p {
  margin: 0;
  font-size: 14px;
  color: var(--aap-text-muted);
}

.aap-process-arrow {
  position: relative;
  width: 100%;
  height: 1px;
  background: var(--aap-line-strong);
}

.aap-process-arrow i {
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--aap-text-muted);
  font-size: 18px;
}

/* ═══════════════════════════════════════════
   SECTION HEADINGS
═══════════════════════════════════════════ */
.aap-head { max-width: 760px; margin: 0 0 44px; }

.aap-eyebrow-sm {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: var(--aap-orange);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: inline-block;
  position: relative;
  padding-bottom: 10px;
}

.aap-eyebrow-sm::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 3px;
  background: var(--aap-orange);
  border-radius: 2px;
}

.aap-title {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin: 0 0 16px;
  color: var(--aap-navy);
}

.aap-title.light { color: var(--aap-white); }

@media (max-width: 768px) { .aap-title { font-size: 28px; } }

.aap-head p {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--aap-text-body);
  margin: 0;
}

.aap-lede {
  font-size: 18px;
  line-height: 1.8;
  color: var(--aap-text-body);
  max-width: 860px;
}

.aap-lede p { margin: 0 0 22px; color: var(--aap-text-body); }
.aap-lede p:last-child { margin-bottom: 0; }
.aap-lede strong { color: var(--aap-navy); font-weight: 700; }

/* ═══════════════════════════════════════════
   CHALLENGE GRID
═══════════════════════════════════════════ */
.aap-challenge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--aap-line);
  border: 1px solid var(--aap-line);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 36px;
  box-shadow: var(--aap-card-shadow);
}

@media (max-width: 760px) { .aap-challenge-grid { grid-template-columns: 1fr; } }

.aap-challenge-item {
  background: var(--aap-white);
  padding: 28px 30px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: var(--aap-transition);
}

.aap-challenge-item:hover { background: var(--aap-orange-tint); }

.aap-challenge-item .mark {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--aap-orange-tint-strong);
  color: var(--aap-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-top: 2px;
}

.aap-challenge-item p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--aap-text-body);
}

.aap-connect-line {
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--aap-navy);
  max-width: 900px;
  margin: 40px 0 0;
  padding: 30px 34px;
  background: var(--aap-white);
  border-left: 4px solid var(--aap-orange);
  border-radius: 0 16px 16px 0;
  box-shadow: var(--aap-card-shadow);
}

.aap-connect-line strong { font-weight: 800; }

/* ═══════════════════════════════════════════
   PILLARS
═══════════════════════════════════════════ */
.aap-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 992px) { .aap-pillars { grid-template-columns: 1fr; } }

.aap-pillar {
  border: 1px solid var(--aap-line);
  border-radius: 22px;
  padding: 38px 32px;
  background: var(--aap-white);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--aap-card-shadow);
  transition: var(--aap-transition);
}

.aap-pillar:hover {
  transform: translateY(-8px);
  box-shadow: var(--aap-card-shadow-hover);
  border-color: var(--aap-orange-border);
}

.aap-pillar .pnum {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--aap-orange);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: block;
}

.aap-pillar h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 14px;
  color: var(--aap-navy);
  line-height: 1.32;
}

.aap-pillar p.desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--aap-text-body);
  margin: 0 0 24px;
}

.aap-pillar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
  flex: 1;
}

.aap-pillar li {
  font-size: 15px;
  line-height: 1.55;
  color: var(--aap-text-body);
  padding-left: 22px;
  position: relative;
}

.aap-pillar li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--aap-orange);
}

.aap-pillar.execute {
  background: linear-gradient(150deg, var(--aap-navy-grad-1) 0%, var(--aap-navy-grad-2) 100%);
  border-color: transparent;
}

.aap-pillar.execute h3,
.aap-pillar.execute .pnum { color: var(--aap-white); }
.aap-pillar.execute .pnum { color: var(--aap-orange-light); }
.aap-pillar.execute p.desc,
.aap-pillar.execute li { color: rgba(255, 255, 255, 0.75); }
.aap-pillar.execute li::before { background: var(--aap-orange-light); }
.aap-pillar.execute:hover { border-color: transparent; }

/* ═══════════════════════════════════════════
   JOURNEY TIMELINE (vertical)
═══════════════════════════════════════════ */
.aap-timeline {
  position: relative;
  margin-top: 12px;
  max-width: 860px;
}

.aap-timeline::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--aap-orange), var(--aap-line-strong));
}

.aap-tl-item {
  position: relative;
  padding: 0 0 34px 72px;
}

.aap-tl-item:last-child { padding-bottom: 0; }

.aap-tl-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--aap-white);
  border: 2.5px solid var(--aap-orange);
  color: var(--aap-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 8px 22px rgba(223, 103, 25, 0.16);
  transition: var(--aap-transition);
}

.aap-tl-item:hover .aap-tl-dot {
  background: var(--aap-orange);
  color: var(--aap-white);
  transform: scale(1.08);
}

.aap-tl-item p {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--aap-navy);
  padding-top: 11px;
}

@media (max-width: 600px) {
  .aap-tl-item { padding-left: 60px; }
  .aap-tl-dot { width: 40px; height: 40px; font-size: 14px; }
  .aap-timeline::before { left: 19px; }
  .aap-tl-item p { font-size: 15px; padding-top: 7px; }
}

/* ═══════════════════════════════════════════
   ONE PARTNER
═══════════════════════════════════════════ */
.aap-partner-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 900px) { .aap-partner-layout { grid-template-columns: 1fr; gap: 34px; } }

.aap-partner-layout .intro {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--aap-text-body);
  margin: 0;
}

.aap-capability-list { display: flex; flex-direction: column; }

.aap-capability-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--aap-line);
  transition: var(--aap-transition);
}

.aap-capability-item:first-child { padding-top: 0; }
.aap-capability-item:hover { padding-left: 8px; }

.aap-capability-item .idx {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  color: var(--aap-orange);
  font-weight: 800;
  width: 26px;
  flex: none;
}

.aap-capability-item .label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--aap-navy);
}

.aap-capability-note {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--aap-text-body);
  margin: 26px 0 0;
}

/* ═══════════════════════════════════════════
   FINAL CTA
═══════════════════════════════════════════ */
.aap-final-cta {
  background: linear-gradient(150deg, var(--aap-navy-grad-1) 0%, var(--aap-navy-grad-2) 100%);
  border-radius: 28px;
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.aap-final-cta::before {
  content: '';
  position: absolute;
  right: -120px;
  top: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 103, 25, 0.32), transparent 70%);
}

.aap-final-cta > * { position: relative; z-index: 1; }

.aap-final-cta .aap-eyebrow {
  background: rgba(223, 103, 25, 0.16);
  border-color: rgba(223, 103, 25, 0.38);
  color: var(--aap-orange-light);
  margin-bottom: 0;
}

.aap-final-cta h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--aap-white);
  margin: 0;
  max-width: 680px;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.aap-final-cta p {
  font-size: 16.5px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  max-width: 620px;
  line-height: 1.7;
}

.aap-final-cta .cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.aap-final-cta .fine {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.52);
  margin-top: 4px;
}

@media (max-width: 768px) {
  .aap-final-cta { padding: 44px 26px; border-radius: 22px; }
  .aap-final-cta h2 { font-size: 25px; }
}

/* ═══════════════════════════════════════════
   SMALL DEVICES — buttons, type scale, eyebrows
═══════════════════════════════════════════ */
@media (max-width: 600px) {

  /* --- eyebrows: keep the pill readable, never a 3-line blob --- */
  .aap-eyebrow {
    font-size: 10.5px;
    letter-spacing: 0.1em;
    padding: 7px 14px;
    margin-bottom: 18px;
    line-height: 1.4;
    max-width: 100%;
  }

  .aap-eyebrow-sm {
    font-size: 11px;
    letter-spacing: 0.14em;
    margin-bottom: 12px;
    padding-bottom: 8px;
  }

  /* --- type scale --- */
  .aap-hero-title { font-size: 30px; line-height: 1.18; margin-bottom: 20px; }
  .aap-hero-sub { font-size: 15.5px; line-height: 1.65; margin-bottom: 14px; }
  .aap-hero-sub.small { font-size: 14.5px; }
  .aap-title { font-size: 25px; line-height: 1.24; }
  .aap-head { margin-bottom: 30px; }
  .aap-head p { font-size: 15px; }
  .aap-lede { font-size: 15.5px; line-height: 1.72; }
  .aap-breadcrumb { font-size: 12.5px; padding-top: 20px; gap: 6px; }

  /* --- buttons: full width, centred, no orphan wraps --- */
  .aap-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    font-size: 12.5px;
    letter-spacing: 0.04em;
    padding: 15px 20px;
    line-height: 1.35;
  }

  .aap-btn:hover { transform: none; }

  .aap-hero-cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-top: 26px;
  }

  .aap-text-link {
    align-self: center;
    font-size: 14px;
  }

  /* diagram sizes to its own aspect ratio — no letterboxed dead space */
  .aap-hero-visual {
    height: auto;
    margin-top: 26px;
  }
  .aap-hero-visual svg { height: auto; }

  /* --- process strip --- */
  .aap-process-strip { margin-top: 44px; padding-top: 34px; }
  .aap-process-grid { gap: 22px; }
  .aap-process-num { font-size: 32px; }
  .aap-process-step h4 { font-size: 16.5px; }

  /* --- cards --- */
  .aap-challenge-item { padding: 20px 18px; }
  .aap-challenge-item p { font-size: 14.5px; }
  .aap-connect-line { font-size: 15.5px; padding: 22px 20px; margin-top: 28px; }
  .aap-pillar { padding: 28px 22px; }
  .aap-pillar h3 { font-size: 19px; }
  .aap-pillar p.desc,
  .aap-pillar li { font-size: 14.5px; }
  .aap-capability-item .label { font-size: 15px; }

  /* --- final CTA --- */
  .aap-final-cta { gap: 16px; }
  .aap-final-cta h2 { font-size: 23px; line-height: 1.3; }
  .aap-final-cta p { font-size: 15px; }
  .aap-final-cta .cta-row {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
    margin-top: 4px;
  }
  .aap-final-cta .fine { font-size: 12.5px; }
}

@media (max-width: 380px) {
  .aap-hero-title { font-size: 27px; }
  .aap-title { font-size: 23px; }
  .aap-eyebrow { font-size: 10px; letter-spacing: 0.08em; padding: 7px 12px; }
  .aap-btn { font-size: 12px; padding: 14px 16px; letter-spacing: 0.03em; }
}

/* ═══════════════════════════════════════════
   HUBSPOT MODAL
═══════════════════════════════════════════ */
.hs-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 50, 0.82);
  backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
}

.hs-modal-overlay.active { opacity: 1; pointer-events: auto; }

.hs-modal-content {
  background: var(--aap-white);
  width: 100%;
  max-width: 520px;
  border-radius: 28px;
  padding: 48px;
  position: relative;
  transform: translateY(24px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  max-height: 90vh;
  overflow-y: auto;
}

.hs-modal-overlay.active .hs-modal-content { transform: translateY(0) scale(1); }

.hs-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--aap-off-white);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 20px;
  color: var(--aap-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--aap-transition);
}

.hs-modal-close:hover {
  background: var(--aap-orange);
  color: var(--aap-white);
  transform: rotate(90deg);
}

@media (max-width: 600px) {
  .hs-modal-content { padding: 40px 22px; border-radius: 22px; }
}
