/* MSP partner landing page (E3-09, /partners/msps). On-brand with the shared
   dark design system (ai-ops-shared.css tokens); reuses .ai-ops-uc-form* for
   the partner form. Page-scoped under .ai-ops-msp-body. */

.ai-ops-msp {
  max-width: var(--ao-content-max);
  margin: 0 auto;
  padding: 0 var(--ao-section-pad-x);
}

/* ── Page atmosphere — cyan/periwinkle glow fading into the page dark,
   same family as the home hero's atmospheric gradient stack. ─────────── */
.ai-ops-msp-body {
  background-color: var(--ao-bg-page);
  background-image:
    radial-gradient(ellipse 60% 50% at 88% 4%, rgba(80, 213, 255, 0.20) 0%, rgba(80, 213, 255, 0) 60%),
    radial-gradient(ellipse 55% 45% at 72% 26%, rgba(172, 185, 255, 0.16) 0%, rgba(172, 185, 255, 0) 62%),
    linear-gradient(180deg, #0e1224 0%, #12152b 35%, #14172a 60%, rgba(16, 16, 16, 0) 100%);
  background-repeat: no-repeat;
  background-size: 100% 1100px, 100% 1100px, 100% 1100px;
}

/* ── Hero (two-column: copy left, handshake right) ──────────────────── */
.ai-ops-msp-hero {
  padding: var(--ao-hero-pad-top) 0 var(--ao-section-pad-y);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}
.ai-ops-msp-hero-copy { max-width: 640px; }
.ai-ops-msp-hero-media { position: relative; }
.ai-ops-msp-hero-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--ao-card-radius);
  border: 1px solid var(--ao-bg-card-bord);
  box-shadow: 0 24px 70px rgba(80, 140, 220, 0.28), 0 8px 24px rgba(0, 0, 0, 0.5);
}
/* Soft brand-gradient bloom behind the image so it sits in the glow, not a hard box. */
.ai-ops-msp-hero-media::before {
  content: "";
  position: absolute;
  inset: -14% -10% -18% -10%;
  z-index: -1;
  background: radial-gradient(ellipse at 55% 45%,
    rgba(80, 213, 255, 0.28) 0%,
    rgba(172, 185, 255, 0.18) 40%,
    rgba(80, 213, 255, 0) 72%);
  filter: blur(8px);
  pointer-events: none;
}
/* Proof chips across the bottom of the hero (span both columns). */
.ai-ops-msp-chips {
  grid-column: 1 / -1;
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;          /* keep all chips on a single line */
  gap: 10px;
  overflow-x: auto;           /* graceful scroll if a viewport is too narrow to fit them */
  scrollbar-width: none;      /* hide the scrollbar (Firefox) */
}
.ai-ops-msp-chips::-webkit-scrollbar { display: none; }  /* hide the scrollbar (WebKit) */
.ai-ops-msp-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px 9px 13px;
  border: 1px solid var(--ao-bg-card-bord);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ao-text-primary);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}
.ai-ops-msp-chip svg {
  flex: none;
  color: var(--ao-button-border);
}

.ai-ops-msp-h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.5px;
  margin: 12px 0 20px;
  color: var(--ao-text-primary);
}
/* Clear break between title and subtitle. The global `.ai-ops-body h1/h2` zeroes
   these margins, so a higher-specificity, margin-only rule restores the gap
   without touching the (approved) font-size. */
.ai-ops-msp .ai-ops-msp-h1 { margin: 12px 0 26px; }
.ai-ops-msp-lede {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.6;
  color: var(--ao-text-body);
  max-width: 640px;
  margin: 0 0 32px;
}
.ai-ops-msp-cta {
  display: inline-block;
  text-decoration: none;
  width: auto;
}

/* ── Sections ───────────────────────────────────────────────────────── */
.ai-ops-msp-section {
  padding: var(--ao-section-pad-y) 0;
  border-top: 1px solid var(--ao-divider);
}
.ai-ops-msp-section--alt { }
.ai-ops-msp-section-head {
  max-width: var(--ao-shead-max);
  margin: 0 0 36px;
}
.ai-ops-msp-h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.3px;
  color: var(--ao-text-primary);
  margin: 0 0 12px;
}
/* Same break under every section title (wins over the global `.ai-ops-body h2`). */
.ai-ops-msp-section-head .ai-ops-msp-h2 { margin: 0 0 18px; }
.ai-ops-msp-section-sub {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ao-text-muted);
  max-width: var(--ao-shead-sub-max);
  margin: 0;
}

/* ── What AI Ops is — plain-terms explainer ─────────────────────────── */
.ai-ops-msp-what-lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--ao-text-body);
  max-width: 760px;
  margin: 0;
}

/* ── How it works — a slim numbered timeline (compact, not big cards) ── */
.ai-ops-msp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: msp-step;
  max-width: 720px;
}
.ai-ops-msp-step {
  counter-increment: msp-step;
  position: relative;
  padding: 0 0 22px 52px;
}
.ai-ops-msp-step:last-child { padding-bottom: 0; }
/* connector line threading the badges */
.ai-ops-msp-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 34px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(var(--ao-button-border), rgba(57, 172, 255, 0));
}
.ai-ops-msp-step-mark {
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ao-grad-primary);
  color: #0d1030;
  font-weight: 700;
  font-size: 0.85rem;
}
.ai-ops-msp-step-mark::before { content: counter(msp-step); }
/* Higher specificity than the global `.ai-ops-body h3` (0,1,1) so the compact
   step title wins — a single .ai-ops-msp-step-h class would otherwise lose. */
.ai-ops-msp-step .ai-ops-msp-step-h {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ao-text-primary);
  margin: 2px 0 4px;
  line-height: 1.3;
}
.ai-ops-msp-step p {
  margin: 0;
  color: var(--ao-text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ── What we deliver (hub breadth) ──────────────────────────────────── */
.ai-ops-msp-deliver-lead {
  font-size: 1.1rem;
  color: var(--ao-text-body);
  margin: 0 0 24px;
}
.ai-ops-msp-hubs {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.ai-ops-msp-hub a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--ao-bg-card);
  border: 1px solid var(--ao-bg-card-bord);
  border-radius: var(--ao-card-radius);
  padding: 18px 20px;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.ai-ops-msp-hub a:hover {
  border-color: var(--ao-button-border);
  transform: translateY(-2px);
}
.ai-ops-msp-hub-name {
  font-weight: 600;
  color: var(--ao-text-primary);
  font-size: 1.05rem;
}
.ai-ops-msp-hub-count {
  color: var(--ao-text-faded);
  font-size: 0.9rem;
}
.ai-ops-msp-deliver-foot { margin: 0; }
.ai-ops-msp-deliver-foot a { color: var(--ao-link); text-decoration: none; }
.ai-ops-msp-deliver-foot a:hover { color: var(--ao-link-hover); }

/* ── Form ───────────────────────────────────────────────────────────── */
.ai-ops-msp-section--engage { }
.ai-ops-msp-form-wrap {
  max-width: 640px;
}

/* Honeypot — visually hidden, still submitted (bots fill it, we drop it). */
.ai-ops-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .ai-ops-msp-hubs { grid-template-columns: repeat(2, 1fr); }
  /* Hero stacks: copy first, handshake below. */
  .ai-ops-msp-hero { grid-template-columns: 1fr; gap: 32px; }
  .ai-ops-msp-hero-copy { max-width: none; }
  .ai-ops-msp-hero-media { max-width: 560px; }
  .ai-ops-msp-body { background-size: 100% 820px, 100% 820px, 100% 820px; }
}
@media (max-width: 640px) {
  .ai-ops-msp { padding: 0 20px; }
  .ai-ops-msp-hubs { grid-template-columns: 1fr; }
}
