/* MCA — AI Solutions page styles
   Scoped with .ai- prefix so nothing collides with global styles. */

/* ===== HERO ============================================================ */
.ai-hero {
  position: relative;
  padding: 210px 0 110px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  /* Pure black base with subtle brand-color hints */
  background: #000000;
  margin-top: calc(-1 * var(--nav-offset, 0px));
}
.ai-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* Soft brand-color blobs — black-first with subtle teal/deep glow */
.ai-hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  mix-blend-mode: screen;
  animation: ai-blob-float 22s ease-in-out infinite;
  will-change: transform;
}
.ai-hero__blob--teal {
  width: 720px; height: 720px;
  top: -200px; right: -160px;
  background: radial-gradient(closest-side, rgba(0,165,161,0.55) 0%, rgba(0,165,161,0) 70%);
  animation-delay: -2s;
}
.ai-hero__blob--deep {
  width: 680px; height: 680px;
  bottom: -220px; left: -160px;
  background: radial-gradient(closest-side, rgba(26,59,77,0.95) 0%, rgba(26,59,77,0) 70%);
  animation-delay: -7s;
}
.ai-hero__blob--tealSoft {
  width: 560px; height: 560px;
  top: 25%; left: 28%;
  background: radial-gradient(closest-side, rgba(0,165,161,0.22) 0%, rgba(0,165,161,0) 70%);
  animation-delay: -4s;
}
.ai-hero__blob--ink {
  width: 420px; height: 420px;
  top: 58%; right: 22%;
  background: radial-gradient(closest-side, rgba(26,59,77,0.55) 0%, rgba(26,59,77,0) 70%);
  animation-delay: -11s;
}
@keyframes ai-blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -30px) scale(1.05); }
  66%      { transform: translate(-30px, 40px) scale(0.97); }
}

/* Grain noise overlay */
.ai-hero__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.10;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.ai-hero__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 55% at 50% 50%, transparent 0%, rgba(0,0,0,0.28) 100%),
    radial-gradient(80% 60% at 50% 100%, rgba(0,0,0,0.45), transparent 60%);
  pointer-events: none;
}

/* Neural-network constellation field (canvas) */
.ai-neural {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.95;
  pointer-events: auto;
}

.ai-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Centered hero variant (matches Growth & Scale width + type) */
.ai-hero--center { text-align: center; }
.ai-hero--center .ai-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ai-hero--center .ai-hero__title {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.ai-hero--center .ai-hero__sub {
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}
.ai-hero--center .ai-hero__ctas { justify-content: center; }

.ai-hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 32px;
}
.ai-hero__crumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: #fff;
}
.ai-hero__crumb-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00A5A1;
  box-shadow: 0 0 12px #00A5A1;
  animation: ai-blink 1.6s ease-in-out infinite;
}
@keyframes ai-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}
.ai-hero__pill {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.ai-hero__pill--teal    { background: #00A5A1; color: #04181A; }
.ai-hero__pill--deep    { background: #1A3B4D; color: #FFFFFF; }
.ai-hero__pill--outline {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255,255,255,0.32);
}
.ai-hero__pill--ghost   {
  background: rgba(255,255,255,0.06);
  color: #FFFFFF;
  border-color: rgba(255,255,255,0.12);
}

.ai-hero__title {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(50px, 6.6vw, 80px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  margin: 0;
  max-width: 1200px;
  text-wrap: balance;
  color: #FFFFFF;
}
.ai-hero__title em {
  font-style: italic;
  font-family: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  padding: 0 6px;
}
.ai-hero__title-line {
  display: block;
  color: #FFFFFF;
  font-style: italic;
  font-family: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.ai-hero__sub {
  margin-top: 34px;
  font-size: 20px;
  line-height: 1.65;
  color: rgba(255,255,255,0.78);
  max-width: 660px;
}
.ai-hero__ctas {
  margin-top: 36px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.ai-hero__ctas .btn--primary {
  background: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}
.ai-hero__ctas .btn--primary:hover {
  background: #00A5A1;
  color: #FFFFFF;
  border-color: #00A5A1;
}
.ai-hero__ctas .btn--secondary {
  background: rgba(255,255,255,0.04);
  color: #fff;
  border-color: rgba(255,255,255,0.28);
}
.ai-hero__ctas .btn--secondary:hover {
  background: rgba(255,255,255,0.10);
  border-color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .ai-hero__blob { animation: none !important; }
}

/* ===== CHAPTER: INTELLIGENCE SHIFT ===================================== */
.ai-shift {
  background: #fff;
  position: relative;
}
.ai-shift__head { max-width: 980px; margin-bottom: 72px; }
.ai-shift__title {
  margin-top: 18px;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.ai-shift__title em {
  font-style: italic;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  color: var(--deep);
}
.ai-shift__lede {
  margin-top: 20px;
  font-size: 19px;
  color: var(--muted);
  max-width: 680px;
}

.ai-shift__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (max-width: 900px) { .ai-shift__grid { grid-template-columns: 1fr; } }

.ai-shift__card {
  padding: 48px 36px 56px;
  position: relative;
  border-right: 1px solid var(--border);
  transition: background 220ms ease;
}
.ai-shift__card:last-child { border-right: 0; }
@media (max-width: 900px) {
  .ai-shift__card { border-right: 0; border-bottom: 1px solid var(--border); }
  .ai-shift__card:last-child { border-bottom: 0; }
}
.ai-shift__card:hover { background: var(--surface); }
.ai-shift__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 36px;
}
.ai-shift__cardTitle {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.ai-shift__cardDesc {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 340px;
}
.ai-shift__rule {
  position: absolute;
  left: 36px; bottom: 0;
  height: 2px;
  width: 0;
  background: var(--teal);
  transition: width 350ms cubic-bezier(0.22,1,0.36,1);
}
.ai-shift__card:hover .ai-shift__rule { width: 56px; }

.ai-shift__ctas {
  margin-top: 56px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ===== CHAPTER: MEASURABLE IMPACT (dashboard) ========================= */
.ai-impact {
  background: #04080B;
  position: relative;
  padding-top: 40px;
}
@media (max-width: 768px) { .ai-impact { padding-top: 16px; } }
.ai-impact__head { max-width: 880px; margin-bottom: 48px; }
.ai-impact__title {
  margin-top: 18px;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
  color: #fff;
}
.ai-impact__title em {
  font-style: normal;
  font-family: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  color: var(--teal);
}
.ai-impact__lede {
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  max-width: 660px;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: auto;
  gap: 12px;
}
@media (max-width: 920px) { .impact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .impact-grid { grid-template-columns: 1fr; } }

.impact-card--cost { grid-column: span 4; }
.impact-card--fast { grid-column: span 2; }
.impact-card--prod,
.impact-card--rt,
.impact-card--conv { grid-column: span 2; }
@media (max-width: 920px) {
  .impact-card--cost { grid-column: span 2; }
  .impact-card--fast { grid-column: span 2; }
  .impact-card--prod { grid-column: span 1; }
  .impact-card--rt   { grid-column: span 1; }
  .impact-card--conv { grid-column: span 2; }
}
@media (max-width: 560px) {
  .impact-card--cost,
  .impact-card--fast,
  .impact-card--prod,
  .impact-card--rt,
  .impact-card--conv { grid-column: span 1; }
}

.impact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 28px 26px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
  transition: border-color 260ms ease, background 260ms ease, transform 260ms ease;
}
.impact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 60% at 100% 0%, rgba(0,165,161,0.10), transparent 60%);
  opacity: 0;
  transition: opacity 320ms ease;
  z-index: -1;
}
.impact-card:hover {
  border-color: rgba(255,255,255,0.30);
  background: rgba(255,255,255,0.05);
}
.impact-card:hover::before { opacity: 1; }

.impact-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.impact-card__eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
}
.impact-card__pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(0,165,161,0.40);
  color: var(--teal);
  background: rgba(0,165,161,0.08);
  white-space: nowrap;
}
.impact-card__liveDot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(0,165,161,0.6);
  animation: impact-live 1.6s ease-out infinite;
}
@keyframes impact-live {
  0%   { box-shadow: 0 0 0 0 rgba(0,165,161,0.55); }
  70%  { box-shadow: 0 0 0 7px rgba(0,165,161,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,165,161,0); }
}

.impact-card__stat { display: flex; flex-direction: column; gap: 2px; }
.impact-card__num {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
}
.impact-card__num--sm { font-size: clamp(30px, 3vw, 40px); }
.impact-card__unit {
  font-size: 0.5em;
  color: var(--teal);
  margin-left: 4px;
  letter-spacing: 0;
}
.impact-card__label {
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  margin-top: 6px;
}
.impact-card__desc {
  margin: 0;
  margin-top: auto;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.6);
  max-width: 460px;
}

/* --- SVG line/area charts --- */
.impact-card__chart {
  position: relative;
  width: 100%;
  height: 140px;
}
.impact-card__chart--lg { height: 210px; flex: 1; min-height: 200px; }
.impact-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1500ms cubic-bezier(0.22, 1, 0.36, 1);
}
.impact-svg.is-on { clip-path: inset(0 0 0 0); }
.impact-gridline { stroke: rgba(255,255,255,0.07); stroke-width: 1; }
.impact-baseline {
  stroke: rgba(255,255,255,0.28);
  stroke-width: 1.5;
  stroke-dasharray: 5 6;
  fill: none;
}
.impact-stroke {
  fill: none;
  stroke: var(--teal);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(0,165,161,0.45));
}
.impact-fill { opacity: 0; transition: opacity 900ms ease 500ms; }
.impact-svg.is-on .impact-fill { opacity: 1; }
.impact-dot {
  fill: #04080B;
  stroke: var(--teal);
  stroke-width: 2.5;
  opacity: 0;
  transition: opacity 300ms ease 1200ms;
}
.impact-svg.is-on .impact-dot { opacity: 1; }
.impact-dot--end { filter: drop-shadow(0 0 8px rgba(0,165,161,0.8)); }
.impact-card__axis {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.32);
}

/* --- Throughput bars --- */
.impact-bars { display: flex; flex-direction: column; gap: 16px; flex: 1; justify-content: center; }
.impact-bar__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.6);
}
.impact-bar__v {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--teal);
  letter-spacing: 0.04em;
}
.impact-bar__track {
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}
.impact-bar__fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0,165,161,0.55), var(--teal));
  box-shadow: 0 0 12px rgba(0,165,161,0.45);
  transition: width 1100ms cubic-bezier(0.22, 1, 0.36, 1);
}
.impact-bar__fill--muted {
  background: rgba(255,255,255,0.22);
  box-shadow: none;
}

/* --- Productivity gauge --- */
.impact-card--prod { align-items: center; text-align: center; }
.impact-card--prod .impact-card__head { width: 100%; }
.impact-card--prod .impact-card__desc { text-align: center; }
.impact-card__gaugeWrap {
  position: relative;
  width: 190px;
  max-width: 100%;
  aspect-ratio: 1;
  margin: 4px auto 6px;
}
.impact-gauge { width: 100%; height: 100%; display: block; }
.impact-gauge__track {
  fill: none;
  stroke: rgba(255,255,255,0.08);
  stroke-width: 12;
}
.impact-gauge__value {
  fill: none;
  stroke: var(--teal);
  stroke-width: 12;
  stroke-linecap: round;
  filter: drop-shadow(0 0 8px rgba(0,165,161,0.5));
  transition: stroke-dashoffset 1500ms cubic-bezier(0.22, 1, 0.36, 1);
}
.impact-card__gaugeCenter {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.impact-card__gaugeCenter .impact-card__label { margin-top: 0; order: -1; margin-bottom: 4px; }

/* --- Task reliability (segmented uptime bar) --- */
.impact-card__segsWrap {
  width: 100%;
  height: 72px;
  display: flex;
  align-items: center;
}
.impact-segs {
  display: flex;
  gap: 3px;
  width: 100%;
  height: 48px;
}
.impact-seg {
  flex: 1;
  height: 100%;
  border-radius: 3px;
  background: var(--teal);
  box-shadow: 0 0 8px rgba(0,165,161,0.4);
  transform: scaleY(0.22);
  transform-origin: bottom;
  opacity: 0.25;
  transition: transform 460ms cubic-bezier(0.22, 1, 0.36, 1), opacity 460ms ease;
}
.impact-segs.is-on .impact-seg { transform: scaleY(1); opacity: 1; }
.impact-seg--miss { background: rgba(255,255,255,0.16); box-shadow: none; }
.impact-segs.is-on .impact-seg--miss { opacity: 1; transform: scaleY(0.42); }

@media (prefers-reduced-motion: reduce) {
  .impact-svg { clip-path: inset(0 0 0 0) !important; transition: none !important; }
  .impact-segs .impact-seg { transform: scaleY(1) !important; opacity: 1 !important; transition: none !important; }
  .impact-card__liveDot { animation: none !important; }
  .impact-bar__fill, .impact-gauge__value, .impact-fill, .impact-dot { transition: none !important; }
}

/* ===== CHAPTER: AI SYSTEMS (bento) ===================================== */
.ai-systems {
  background: var(--surface);
  position: relative;
}
.ai-systems__head { max-width: 880px; margin-bottom: 56px; }
.ai-systems__title {
  margin-top: 18px;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.05;
  text-wrap: balance;
}
.ai-systems__title em {
  font-style: italic;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  color: var(--deep);
}
.ai-systems__lede { margin-top: 18px; max-width: 720px; }

.ai-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 12px;
}
@media (max-width: 900px) {
  .ai-bento { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .ai-bento { grid-template-columns: 1fr; }
}
.ai-bento__card--lg { grid-column: span 3; }
.ai-bento__card--md { grid-column: span 2; }
@media (max-width: 900px) {
  .ai-bento__card--lg,
  .ai-bento__card--md { grid-column: span 1; }
  .ai-bento__card--lg { grid-column: span 2; }
}
@media (max-width: 540px) {
  .ai-bento__card--lg,
  .ai-bento__card--md { grid-column: span 1; }
}

.ai-bento__card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  transition: border-color 260ms ease, transform 260ms ease, background 260ms ease;
  cursor: pointer;
  isolation: isolate;
}
.ai-bento__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 100% 0%, rgba(0,165,161,0.10), transparent 60%);
  opacity: 0;
  transition: opacity 320ms ease;
  z-index: -1;
}
.ai-bento__card:hover {
  border-color: var(--ink);
  transform: translateY(-4px);
}
.ai-bento__card:hover::before { opacity: 1; }

.ai-bento__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.ai-bento__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--teal);
}
.ai-bento__glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--deep);
  transition: background 260ms ease, color 260ms ease, border-color 260ms ease;
}
.ai-bento__card:hover .ai-bento__glyph {
  background: var(--ink);
  color: var(--teal);
  border-color: var(--ink);
}
.ai-bento__title {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-top: auto;
}
.ai-bento__card--lg .ai-bento__title { font-size: 30px; }
.ai-bento__desc {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
  max-width: 480px;
}
.ai-bento__hover {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--ink);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 240ms ease, transform 240ms ease;
}
.ai-bento__card:hover .ai-bento__hover { opacity: 1; transform: translateY(0); }

/* ===== CHAPTER: OPERATORS ============================================= */
.ai-ops {
  background: #0B1418;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.ai-ops::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 50% at 0% 0%, rgba(0,165,161,0.12), transparent 60%),
    radial-gradient(60% 40% at 100% 100%, rgba(26,59,77,0.45), transparent 60%);
  pointer-events: none;
}
.ai-ops .container { position: relative; }
.ai-ops .eyebrow { color: rgba(255,255,255,0.55); }
.ai-ops__head { max-width: 920px; margin-bottom: 64px; }
.ai-ops__title {
  margin-top: 18px;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.05;
  color: #fff;
  text-wrap: balance;
}
.ai-ops__title em {
  font-style: italic;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  color: var(--teal);
}
.ai-ops__lede {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  max-width: 760px;
}

.ai-ops__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 20px;
  overflow: hidden;
}
@media (max-width: 900px) { .ai-ops__grid { grid-template-columns: 1fr; } }
.ai-ops__pillar {
  background: #0B1418;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 240ms ease;
}
.ai-ops__pillar:hover { background: #0F1A1F; }
.ai-ops__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--teal);
}
.ai-ops__pTitle {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
}
.ai-ops__pDesc {
  color: rgba(255,255,255,0.65);
  font-size: 15px;
  line-height: 1.6;
  max-width: 360px;
  margin: 0;
}

.ai-stack {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.ai-stack__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.45);
  text-align: center;
  margin-bottom: 24px;
}
.ai-stack__row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.ai-stack__track {
  display: flex;
  width: max-content;
  gap: 12px;
  animation: ai-stack-scroll 60s linear infinite;
}
@keyframes ai-stack-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ai-stack__row:hover .ai-stack__track { animation-play-state: paused; }
.ai-stack__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.88);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.ai-stack__pillDot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

/* ===== CHAPTER: HOW WE PARTNER ======================================== */
.ai-partner { background: #fff; }
.ai-partner__head { max-width: 880px; margin-bottom: 56px; }
.ai-partner__title {
  margin-top: 18px;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.05;
}
.ai-partner__title em {
  font-style: italic;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  color: var(--deep);
}
.ai-partner__lede { margin-top: 18px; max-width: 720px; }

.ai-partner__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 900px) { .ai-partner__grid { grid-template-columns: 1fr; } }

.ai-partner__card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px 40px 44px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 240ms ease, background 240ms ease;
}
.ai-partner__card:hover { border-color: var(--ink); background: #fff; }
.ai-partner__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--teal);
}
.ai-partner__cTitle {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
}
.ai-partner__cDesc {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0;
  max-width: 440px;
}
.ai-partner__list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ai-partner__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  font-size: 15px;
  color: var(--ink);
}
.ai-partner__list li:last-child { border-bottom: 1px solid var(--border); }
.ai-partner__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  flex-shrink: 0;
}

/* Merged process timeline inside How We Partner */
.ai-partner__process {
  margin-top: 64px;
  padding-top: 44px;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.ai-partner__processLabel {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 8px;
}

/* ===== CHAPTER: HOW WE WORK (timeline) ================================ */.ai-how {
  background: var(--surface);
  position: relative;
}
.ai-how__head { max-width: 880px; margin-bottom: 72px; }
.ai-how__title {
  margin-top: 18px;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.05;
}
.ai-how__title em {
  font-style: italic;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  color: var(--deep);
}
.ai-how__lede { margin-top: 18px; max-width: 640px; }

.ai-how__rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 56px;
}
@media (max-width: 900px) {
  .ai-how__rail { grid-template-columns: 1fr; gap: 48px; padding-top: 24px; }
}
.ai-how__line {
  position: absolute;
  top: 22px;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 8%, var(--border) 92%, transparent);
}
@media (max-width: 900px) {
  .ai-how__line {
    top: 0; bottom: 0;
    left: 22px; right: auto;
    width: 1px; height: auto;
    background: linear-gradient(180deg, transparent, var(--border) 8%, var(--border) 92%, transparent);
  }
}
.ai-how__step {
  position: relative;
  padding-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (max-width: 900px) {
  .ai-how__step { padding-top: 0; padding-left: 60px; }
}
.ai-how__node {
  position: absolute;
  top: 8px;
  left: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 901px) {
  .ai-how__node { top: 8px; left: 0; }
}
.ai-how__nodeRing {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
}
.ai-how__nodeDot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(0,165,161,0.15);
}
.ai-how__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--teal);
}
.ai-how__sTitle {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.ai-how__sDesc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  max-width: 280px;
}

/* ===== CHAPTER: WHY MCA + CODE ======================================== */
.ai-why { background: #fff; }
.ai-why__inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 72px;
  align-items: center;
}
@media (max-width: 1000px) { .ai-why__inner { grid-template-columns: 1fr; gap: 48px; } }

.ai-why__eyebrow { display: block; }
.ai-why__title {
  margin-top: 18px;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.05;
  text-wrap: balance;
}
.ai-why__title em {
  font-style: italic;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  color: var(--deep);
}
.ai-why__p {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 520px;
}
.ai-why__p--lead {
  margin-top: 24px;
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
  max-width: 540px;
  text-wrap: pretty;
}
.ai-why__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}
.ai-why__tags span {
  position: relative;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.55);
  padding-left: 16px;
}
.ai-why__tags span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px rgba(0,165,161,0.6);
}
.ai-why__points {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ai-why__point {
  padding: 18px 0;
  border-top: 1px solid var(--border);
}
.ai-why__point:last-child { border-bottom: 1px solid var(--border); }
.ai-why__pointNum {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--teal);
}
.ai-why__pointTitle {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.ai-why__pointDesc {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
  margin-top: 4px;
}

/* Code window */
.ai-why__code {
  background: #0B1216;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 80px -30px rgba(8,12,18,0.5);
  position: relative;
}
.ai-why__codeBar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #131C22;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ai-why__dots {
  display: inline-flex;
  gap: 6px;
  flex-shrink: 0;
}
.ai-why__dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #34373A;
}
.ai-why__dot--r { background: #FF5F57; }
.ai-why__dot--y { background: #FEBC2E; }
.ai-why__dot--g { background: #28C840; }
.ai-why__file {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  flex: 1;
  text-align: center;
}
.ai-why__lang {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.4);
  padding: 4px 8px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
}
.ai-why__codeBody {
  margin: 0;
  padding: 20px 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.65;
  color: #D4D9DE;
  overflow-x: auto;
  white-space: pre;
}
.ai-why__codeRow { display: flex; gap: 18px; }
.ai-why__codeNo {
  color: rgba(255,255,255,0.25);
  user-select: none;
  width: 28px;
  text-align: right;
  flex-shrink: 0;
}
.ai-why__codeText { white-space: pre; }
.ai-why__codeText .hl-kw { color: #FF8FA1; }
.ai-why__codeText .hl-str { color: #C7E5E3; }
.ai-why__codeText .hl-num { color: #FFC76A; }
.ai-why__codeText .hl-fn  { color: #82E1C7; }
.ai-why__codeText .hl-cls { color: #FFD27A; }

.ai-why__codeFoot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: #0A1014;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  flex-wrap: wrap;
}
.ai-why__codeBlink {
  width: 8px; height: 14px;
  background: var(--teal);
  animation: ai-blink-caret 1s steps(2, jump-end) infinite;
}
@keyframes ai-blink-caret {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.ai-why__codeReturn { color: var(--teal); }

/* ===== CHAPTER: INDUSTRIES ============================================ */
.ai-ind {
  background: var(--surface);
}
.ai-ind__head { max-width: 880px; margin-bottom: 56px; }
.ai-ind__title {
  margin-top: 18px;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.05;
}
.ai-ind__title em {
  font-style: italic;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  color: var(--deep);
}
.ai-ind__lede { margin-top: 18px; max-width: 720px; }

.ai-ind__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
@media (max-width: 800px) { .ai-ind__grid { grid-template-columns: repeat(2, 1fr); } }
.ai-ind__cell {
  background: #fff;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: background 220ms ease, color 220ms ease;
}
.ai-ind__cell:hover { background: var(--ink); color: #fff; }
.ai-ind__cell:hover .ai-ind__cellNum { color: var(--teal); }
.ai-ind__cellNum {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--muted);
  font-weight: 500;
  transition: color 220ms ease;
}

.ai-ind__caps {
  margin-top: 48px;
  padding: 40px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
}
.ai-ind__capsHead {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-bottom: 24px;
}
.ai-ind__capsList {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 32px;
}
@media (max-width: 700px) { .ai-ind__capsList { grid-template-columns: 1fr; } }
.ai-ind__capsList li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.ai-ind__capsBullet {
  font-family: var(--font-mono);
  color: var(--teal);
  font-size: 22px;
  line-height: 0;
}

/* ===== FINAL CTA ======================================================= */
.ai-final {
  background: #04080B;
  padding: 0;
  margin: 0;
}
.ai-final .container {
  max-width: none;
  padding: 0;
}
.ai-final__block {
  position: relative;
  background: #04080B;
  color: #fff;
  border-radius: 0;
  padding: clamp(96px, 14vw, 200px) clamp(24px, 6vw, 96px);
  overflow: hidden;
  isolation: isolate;
}
@media (max-width: 768px) { .ai-final__block { padding: 96px 24px; } }
.ai-final__grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(6, 1fr);
  z-index: 0;
  opacity: 0.35;
}
.ai-final__grid > span {
  border-right: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ai-final__block::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 50% at 20% 10%, rgba(0,165,161,0.30), transparent 60%),
    radial-gradient(60% 60% at 100% 100%, rgba(26,59,77,0.55), transparent 65%);
  z-index: 0;
}
.ai-final__inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
}
.ai-final__eyebrow {
  color: rgba(255,255,255,0.55);
  display: block;
  margin-bottom: 20px;
}
.ai-final__title {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(40px, 5.6vw, 80px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  text-wrap: balance;
  margin: 0;
}
.ai-final__title em {
  font-style: italic;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  color: var(--teal);
}
.ai-final__sub {
  margin-top: 24px;
  color: rgba(255,255,255,0.7);
  font-size: 18px;
  line-height: 1.55;
  max-width: 560px;
}
.ai-final__ctas {
  margin-top: 40px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.ai-final__ctas .btn--secondary {
  background: rgba(255,255,255,0.04);
  color: #fff;
  border-color: rgba(255,255,255,0.22);
}
.ai-final__ctas .btn--secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: #fff;
}

/* ===== Reduced motion ================================================= */
@media (prefers-reduced-motion: reduce) {
  .ai-stack__track,
  .ai-hero__crumb-dot,
  .ai-why__codeBlink { animation: none !important; }
}

/* ===== Unified accent: all italic em swaps become straight teal accents ===== */
.ai-hero__title em,
.ai-hero__title-line,
.ai-shift__title em,
.ai-systems__title em,
.ai-ops__title em,
.ai-partner__title em,
.ai-how__title em,
.ai-why__title em,
.ai-ind__title em,
.ai-final__title em {
  font-style: normal !important;
  font-family: inherit !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
  color: #00A5A1 !important;
  padding: 0 !important;
}

/* Hero ampersand stays white */
.ai-hero__title > em:first-of-type {
  color: #FFFFFF !important;
}

/* ============================================================
   FULL DARK MODE for AI Solutions page
   Flips every white/light section to dark and re-tunes text,
   borders, cards, and accent surfaces to match the hero.
   ============================================================ */

/* ---- Section backgrounds → dark ---- */
.ai-shift,
.ai-systems,
.ai-partner,
.ai-how,
.ai-why,
.ai-ind {
  background: #04080B !important;
  color: #fff;
}

/* Subtle alternation so sections still read as distinct */
.ai-systems,
.ai-how,
.ai-ind {
  background: #07101400 !important;
  background-image: linear-gradient(180deg, #060E12 0%, #04080B 100%) !important;
}

/* ---- Headings, ledes, eyebrows ---- */
.ai-shift__title,
.ai-systems__title,
.ai-partner__title,
.ai-how__title,
.ai-why__title,
.ai-ind__title {
  color: #fff !important;
}
.ai-shift .eyebrow,
.ai-systems .eyebrow,
.ai-partner .eyebrow,
.ai-how .eyebrow,
.ai-why .eyebrow,
.ai-ind .eyebrow {
  color: rgba(255,255,255,0.55) !important;
}
.ai-shift__lede,
.ai-systems__lede,
.ai-partner__lede,
.ai-how__lede,
.ai-why__p,
.ai-ind__lede {
  color: rgba(255,255,255,0.72) !important;
}

/* ---- Intelligence Shift grid ---- */
.ai-shift__grid {
  border-top-color: rgba(255,255,255,0.10) !important;
  border-bottom-color: rgba(255,255,255,0.10) !important;
}
.ai-shift__card {
  border-right-color: rgba(255,255,255,0.10) !important;
}
@media (max-width: 900px) {
  .ai-shift__card { border-bottom-color: rgba(255,255,255,0.10) !important; }
}
.ai-shift__card:hover { background: rgba(255,255,255,0.04) !important; }
.ai-shift__cardTitle { color: #fff; }
.ai-shift__cardDesc { color: rgba(255,255,255,0.65) !important; }

/* ---- AI Systems (bento) ---- */
.ai-bento__card {
  background: rgba(255,255,255,0.03) !important;
  border-color: rgba(255,255,255,0.10) !important;
  color: #fff;
}
.ai-bento__card:hover {
  border-color: rgba(255,255,255,0.35) !important;
  background: rgba(255,255,255,0.06) !important;
}
.ai-bento__title { color: #fff; }
.ai-bento__desc  { color: rgba(255,255,255,0.65) !important; }
.ai-bento__glyph {
  border-color: rgba(255,255,255,0.18) !important;
  color: #fff;
  background: rgba(255,255,255,0.03);
}
.ai-bento__card:hover .ai-bento__glyph {
  background: var(--teal) !important;
  color: #04181A !important;
  border-color: var(--teal) !important;
}
.ai-bento__hover { color: rgba(255,255,255,0.85) !important; }

/* ---- How We Partner cards ---- */
.ai-partner__card {
  background: rgba(255,255,255,0.03) !important;
  border-color: rgba(255,255,255,0.10) !important;
}
.ai-partner__card:hover {
  background: rgba(255,255,255,0.06) !important;
  border-color: rgba(255,255,255,0.35) !important;
}
.ai-partner__cTitle { color: #fff; }
.ai-partner__cDesc  { color: rgba(255,255,255,0.65) !important; }
.ai-partner__list li {
  color: rgba(255,255,255,0.88);
  border-top-color: rgba(255,255,255,0.10) !important;
}
.ai-partner__list li:last-child {
  border-bottom-color: rgba(255,255,255,0.10) !important;
}

/* ---- How We Work (timeline) ---- */
.ai-how__line {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18) 8%, rgba(255,255,255,0.18) 92%, transparent) !important;
}
@media (max-width: 900px) {
  .ai-how__line {
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.18) 8%, rgba(255,255,255,0.18) 92%, transparent) !important;
  }
}
.ai-how__nodeRing {
  background: #04080B !important;
  border-color: rgba(255,255,255,0.25) !important;
}
.ai-how__sTitle { color: #fff; }
.ai-how__sDesc  { color: rgba(255,255,255,0.65) !important; }

/* ---- Why MCA points ---- */
.ai-why__point {
  border-top-color: rgba(255,255,255,0.10) !important;
}
.ai-why__point:last-child {
  border-bottom-color: rgba(255,255,255,0.10) !important;
}
.ai-why__pointTitle { color: #fff; }
.ai-why__pointDesc  { color: rgba(255,255,255,0.65) !important; }

/* ---- Industries grid ---- */
.ai-ind__grid {
  background: rgba(255,255,255,0.10) !important;
  border-color: rgba(255,255,255,0.10) !important;
}
.ai-ind__cell {
  background: #06101400 !important;
  background-color: #050C10 !important;
  color: #fff;
}
.ai-ind__cell:hover {
  background-color: #fff !important;
  color: var(--ink) !important;
}
.ai-ind__cell:hover .ai-ind__cellNum {
  color: var(--teal) !important;
}
.ai-ind__cellNum { color: rgba(255,255,255,0.5) !important; }

.ai-ind__caps {
  background: rgba(255,255,255,0.03) !important;
  border-color: rgba(255,255,255,0.10) !important;
}
.ai-ind__capsHead { color: rgba(255,255,255,0.55) !important; }
.ai-ind__capsList li {
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.10) !important;
}

/* ---- Buttons in dark sections (secondary buttons embedded mid-page) ---- */
.ai-shift .btn--secondary,
.ai-systems .btn--secondary,
.ai-partner .btn--secondary,
.ai-how .btn--secondary,
.ai-why .btn--secondary,
.ai-ind .btn--secondary {
  background: rgba(255,255,255,0.04) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,0.22) !important;
}
.ai-shift .btn--secondary:hover,
.ai-systems .btn--secondary:hover,
.ai-partner .btn--secondary:hover,
.ai-how .btn--secondary:hover,
.ai-why .btn--secondary:hover,
.ai-ind .btn--secondary:hover {
  background: rgba(255,255,255,0.10) !important;
  border-color: #fff !important;
}
.ai-shift .btn--primary,
.ai-systems .btn--primary,
.ai-partner .btn--primary,
.ai-how .btn--primary,
.ai-why .btn--primary,
.ai-ind .btn--primary {
  background: #fff !important;
  color: var(--ink) !important;
  border-color: #fff !important;
}
.ai-shift .btn--primary:hover,
.ai-systems .btn--primary:hover,
.ai-partner .btn--primary:hover,
.ai-how .btn--primary:hover,
.ai-why .btn--primary:hover,
.ai-ind .btn--primary:hover {
  background: var(--teal) !important;
  color: #fff !important;
  border-color: var(--teal) !important;
}

/* Kill the white gap between the dark final CTA and the footer.
   The footer has margin-top:64px which lets the body's white show through. */
main:has(.ai-final) + .footer {
  margin-top: 0 !important;
}
/* Also paint the body so a brief flash before paint can't show white either */
body:has(.ai-final) {
  background: #04080B !important;
}
