/* ==========================================================================
   Missouri initiative pages: /missouri-initiatives/make-mo-ai-ready and /show-me-network
   (shared cluster pieces — hero, stats, band, FAQ — live in missouri.css)
   ========================================================================== */
.js [data-reveal="up150"] { transform: translateY(150px); }
.ms-sec strong, .ms-problem strong, .ms-card strong { font-weight: inherit; }

/* ---------- Hero (overrides on the shared .mo-hero) ---------- */
.ms-hero__eyebrow { font-weight: 400; text-transform: uppercase; }
.mo-hero__lead.ms-hero__lead { max-width: 700px; }

/* ---------- Shared type ---------- */
.ms-eyebrow { text-align: inherit; }
.ms-up { text-transform: uppercase; }
.ms-h2 { font: 600 44px/52.8px var(--f-head); letter-spacing: -0.04em; color: var(--mo-ink); }

/* ---------- "The problem" (grey) ---------- */
.ms-problem { background: var(--mo-grey-bg); padding: 100px 40px 120px; display: flex; justify-content: center; }
.ms-problem__inner { width: 100%; max-width: 1000px; display: flex; flex-direction: column; gap: 40px; }
.ms-problem__head { display: flex; flex-direction: column; gap: 8px; text-align: left; }
.ms-problem__row { display: flex; gap: 20px; align-items: stretch; }
.ms-problem__left { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 40px; }
.ms-problem__lead { font: 400 18px/27px var(--f-body); color: var(--ink-3); }
.ms-problem__lead--lg { font-size: 23px; line-height: 34.5px; }
.ms-quotes { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.ms-quote { flex: 1 0 auto; background: #f0f0f0; border-radius: 12px; padding: 20px; }
.ms-quote p { font: 400 16px/24px var(--f-body); color: var(--ink-3); }
.ms-quote em { font-family: var(--f-inter); font-style: italic; font-feature-settings: var(--inter-features); }

/* "Here's the thing" card */
.ms-thing { flex: 1 1 40px; min-width: 0; background: var(--white); border-radius: 30px; box-shadow: var(--shadow-card), inset 0 0 0 1px var(--chip); padding: 20px 20px 36px; display: flex; flex-direction: column; gap: 20px; }
.ms-thing__visual { position: relative; flex: 1 1 0; min-height: 0; background: var(--ink); border-radius: 25px 25px 40px 40px; overflow: hidden; }
.ms-thing__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.ms-thing__body { padding: 0 16px; display: flex; flex-direction: column; gap: 10px; }
.ms-thing__title { font: 500 34px/44.2px var(--f-head); letter-spacing: -0.04em; color: var(--mo-ink); }
.ms-thing__text { font: 400 16px/24px var(--f-body); color: var(--ink-3); }

/* ---------- Generic centred section (white / grey) ---------- */
.ms-sec { padding: 80px 40px; display: flex; justify-content: center; overflow: clip; }
.ms-sec--grey { background: var(--mo-grey-bg); }
.ms-sec--pb100 { padding-bottom: 100px; }
.ms-sec__inner { width: 100%; max-width: 1000px; display: flex; flex-direction: column; align-items: center; gap: 36px; }
.ms-sec__head { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.ms-sec__title { width: 80%; }

.ms-cols { align-self: stretch; display: flex; gap: 10px; }
.ms-cols > p { flex: 1 1 0; min-width: 0; font: 400 18px/27px var(--f-body); color: var(--gray); }
.ms-cols > p.ms-p-lg { font-size: 23px; line-height: 34.5px; }
.ms-cols > p.ms-p-sm { font-size: 16px; line-height: 24px; }
.ms-cols--wide { gap: 36px; }
.ms-note { align-self: stretch; font: 400 16px/24px var(--f-body); color: var(--ink-3); }

/* ---------- Two cards (white on grey) ---------- */
.ms-cards { align-self: stretch; display: flex; gap: 36px; align-items: stretch; }
.ms-card { flex: 1 1 0; min-width: 0; background: var(--white); border-radius: 12px; padding: 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.ms-card__eyebrow { font: 700 16px/24px var(--f-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); }
.ms-card__title { font: 500 24px/28.8px var(--f-head); letter-spacing: -0.02em; color: var(--mo-ink); }
.ms-card__text { font: 400 18px/27px var(--f-body); color: var(--mo-ink); }
.ms-card .btn.mo-btn-green { height: 40px; }
.ms-support { align-self: stretch; font: 400 23px/34.5px var(--f-body); color: var(--ink-3); text-align: center; }

/* ---------- Dark teal feature section ---------- */
.ms-feat { position: relative; z-index: 1; background: #225e5b; padding: 140px 80px; display: flex; justify-content: center; }
.ms-badge { position: absolute; top: -50px; left: calc(50% - 51.5px); width: 103px; height: 103px; border-radius: 200px; background: var(--white); box-shadow: rgba(0, 0, 0, 0.25) 0 1px 2px 0; overflow: clip; }
.ms-badge img { position: absolute; left: 16px; top: 16px; width: 71px; height: 71px; object-fit: cover; }
.ms-feat__inner { width: 100%; max-width: 1000px; display: flex; flex-direction: column; align-items: flex-start; gap: 50px; }
.ms-feat__head { width: 90%; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ms-feat__eyebrow { font: 400 18px/27px var(--f-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--mo-lime); }
.ms-feat__title { color: var(--white); }
.ms-cols--feat > p { color: var(--white); }
.ms-cols--feat strong { font-family: var(--f-inter); font-weight: 700; font-feature-settings: var(--inter-features); }

.ms-pills { display: flex; align-items: center; gap: 8px; }
.ms-pill { display: flex; align-items: center; gap: 8px; padding: 8px 20px; border-radius: 100px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8); }
.ms-pill svg { flex: none; width: 20px; height: 20px; fill: var(--white); }
.ms-pill p { font: 400 15px/21px var(--f-body); color: var(--white); white-space: nowrap; }

.ms-tiers { align-self: stretch; display: flex; flex-direction: column; gap: 20px; }
.ms-tier { background: var(--white); border-radius: 12px; padding: 30px; display: flex; flex-direction: column; gap: 20px; }
.ms-tier--first { gap: 30px; }
.ms-tier__head { display: flex; flex-direction: column; gap: 10px; }
.ms-tier__label { align-self: flex-start; white-space: pre-wrap; font: 400 14px/21px var(--f-body); color: var(--green); }
.ms-tier__title { font: 500 24px/28.8px var(--f-head); letter-spacing: -0.02em; color: var(--mo-ink); }
.ms-tier__row { display: flex; gap: 16px; }
.ms-tier__row > p { flex: 1 1 0; min-width: 0; }
.ms-tier__small { font: 400 16px/24px var(--f-body); color: var(--ink-3); }
.ms-tier__big { font: 400 18px/27px var(--f-body); color: var(--mo-ink); }
.ms-tier__foot { font: 400 14px/21px var(--f-body); color: var(--gray); }

.ms-callout { align-self: stretch; background: #124341; box-shadow: inset 6px 0 0 0 var(--mo-lime); padding: 30px; display: flex; flex-direction: column; gap: 10px; }
.ms-callout__title { font: 500 22px/28.6px var(--f-head); letter-spacing: -0.02em; color: var(--white); }
.ms-callout__text { font: 400 16px/24px var(--f-body); color: #f0f0f0; }
.ms-feat__btns { align-self: stretch; display: flex; justify-content: center; align-items: center; gap: 10px; }

/* Show-Me Network counters */
.ms-counts { align-self: stretch; display: flex; gap: 20px; }
.ms-count { flex: 1 1 0; min-width: 0; background: var(--white); border-radius: 12px; padding: 16px 10px 20px; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.ms-count h3 { align-self: stretch; font: 500 34px/44.2px var(--f-head); letter-spacing: -0.04em; color: var(--mo-ink); }
.ms-count p { align-self: stretch; font: 400 16px/24px var(--f-body); color: var(--ink-3); }

/* ---------- Show-Me Network: connectors ---------- */
.ms-conn { align-self: stretch; display: flex; gap: 36px; }
.ms-conn__map { position: relative; flex: 1 1 0; min-width: 0; border-radius: 10px; overflow: hidden; }
.ms-conn__map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.ms-conn__list { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.ms-conn__item { display: flex; flex-direction: column; gap: 3px; }
.ms-conn__city { font: 400 18px/27px var(--f-body); color: var(--gray); }
.ms-conn__org { font: 400 14px/21px var(--f-body); color: var(--gray); }
.ms-conn__metro { width: calc(50% - 18px); font: 400 16px/24px var(--f-body); color: var(--gray); text-align: center; }

/* ---------- Band tweaks ---------- */
.ms-band { overflow: clip; }

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (max-width: 1199.98px) {
  .mo-hero__lead.ms-hero__lead { max-width: 600px; }
  .ms-h2 { font-size: 38px; line-height: 45.6px; }

  .ms-problem { padding: 80px 30px; }
  .ms-problem__lead, .ms-problem__lead--lg { font-size: 17px; line-height: 25.5px; }
  .ms-quote p { font-size: 15px; line-height: 22.5px; }
  .ms-thing { flex-basis: 20px; border-radius: 25px; padding: 10px 10px 36px; }
  .ms-thing__visual { border-radius: 20px 20px 30px 30px; }
  .ms-thing__title { font-size: 30px; line-height: 39px; }
  .ms-thing__text { font-size: 15px; line-height: 22.5px; }

  .ms-sec { padding: 80px 30px; }
  .ms-sec__title--tab-full { width: 100%; }
  .ms-cols > p, .ms-cols > p.ms-p-lg { font-size: 17px; line-height: 25.5px; }
  .ms-cols > p.ms-p-sm { font-size: 15px; line-height: 22.5px; }
  .ms-note { font-size: 15px; line-height: 22.5px; }

  .ms-cards { align-items: flex-start; }
  .ms-card { padding: 24px; }
  .ms-card__title { font-size: 22px; line-height: 26.4px; }
  .ms-card__text { font-size: 17px; line-height: 25.5px; }
  .ms-support { font-size: 17px; line-height: 25.5px; }

  .ms-feat { padding: 100px 25px; }
  .ms-feat__head { width: 80%; }
  .ms-pills { gap: 10px; }
  .ms-tier { padding: 24px; }
  .ms-tier__label { font-size: 13px; line-height: 19.5px; }
  .ms-tier__title { font-size: 22px; line-height: 26.4px; }
  .ms-tier__small { font-size: 15px; line-height: 22.5px; }
  .ms-tier__big { font-size: 17px; line-height: 25.5px; }
  .ms-tier__foot { font-size: 13px; line-height: 19.5px; }
  .ms-callout__title { font-size: 20px; line-height: 26px; }
  .ms-callout__text { font-size: 15px; line-height: 22.5px; }

  .ms-count { padding: 24px; }
  .ms-count h3 { font-size: 30px; line-height: 39px; }
  .ms-count p { font-size: 15px; line-height: 22.5px; }

  .ms-conn__city { font-size: 17px; line-height: 25.5px; }
  .ms-conn__org { font-size: 13px; line-height: 19.5px; }
  .ms-conn__metro { width: 100%; font-size: 15px; line-height: 22.5px; }
}

/* ==========================================================================
   Phone
   ========================================================================== */
@media (max-width: 809.98px) {
  .ms-hero .mo-hero__text { text-align: left; }
  .ms-hero .mo-hero__title { max-width: 540px; }
  .mo-hero__lead.ms-hero__lead { max-width: 400px; }
  .ms-hero__eyebrow { text-align: left; }
  .ms-hero__btn { flex: none; width: calc(50% - 5px); }
  .btn.mo-btn-green.ms-hero__btn { height: 40px; }
  .ms-hero__btns--stack { flex-direction: column; }
  .ms-hero__btns--stack .ms-hero__btn { flex: none; width: 100%; }

  .ms-h2 { font-size: 30px; line-height: 36px; letter-spacing: -0.09em; }

  .ms-problem { padding: 60px 20px; }
  .ms-problem__head { gap: 20px; }
  .ms-problem__row { flex-direction: column; }
  .ms-problem__left { flex: none; }
  .ms-problem__lead, .ms-problem__lead--lg { font-size: 16px; line-height: 24px; }
  .ms-quote p, .ms-quote em { font-size: 14px; line-height: 21px; }
  .ms-thing { flex: none; }
  .ms-thing__visual { flex: none; height: 233px; }
  .ms-thing__title { font-size: 24px; line-height: 31.2px; }
  .ms-thing__text { font-size: 14px; line-height: 21px; }

  .ms-sec { padding: 70px 20px; }
  .ms-sec__head { align-items: flex-start; text-align: left; }
  .ms-sec__title { width: 100%; }
  .ms-sec__title--phone-narrow { width: 80%; }
  .ms-cols { flex-direction: column; }
  .ms-cols > p, .ms-cols > p.ms-p-lg { flex: none; font-size: 16px; line-height: 24px; }
  .ms-cols > p.ms-p-sm { font-size: 14px; line-height: 21px; }
  .ms-note { font-size: 14px; line-height: 21px; }

  .ms-cards { flex-direction: column; }
  .ms-card { flex: none; width: 100%; padding: 30px; }
  .ms-card__eyebrow { font-size: 15px; line-height: 22.5px; }
  .ms-card__title { font-size: 20px; line-height: 24px; }
  .ms-card__text { font-size: 16px; line-height: 24px; }
  .ms-support { font-size: 16px; line-height: 24px; }

  .ms-feat { padding: 80px 20px 60px; }
  .ms-feat__head { width: 100%; gap: 20px; }
  .ms-pills { flex-wrap: wrap; gap: 6px 8px; }
  .ms-pill { padding: 4px 8px; }
  .ms-pill p { font-size: 14px; }
  .ms-tier { padding: 30px; }
  .ms-tier__label { font-size: 12px; line-height: 18px; }
  .ms-tier__title { font-size: 20px; line-height: 24px; }
  .ms-tier__small { font-size: 14px; line-height: 21px; }
  .ms-tier__big { font-size: 16px; line-height: 24px; }
  .ms-tier__foot { font-size: 12px; line-height: 18px; }
  .ms-callout { align-items: flex-start; }
  .ms-callout__title { font-size: 18px; line-height: 23.4px; }
  .ms-callout__text { font-size: 14px; line-height: 21px; }
  .ms-feat__btn { flex: none; width: calc(50% - 5px); }
  .btn--outline.ms-feat__btn { height: 40px; }

  .ms-count { padding: 16px 10px 20px; }
  .ms-count h3 { font-size: 24px; line-height: 31.2px; }
  .ms-count p { font-size: 14px; line-height: 21px; }

  .ms-conn { flex-direction: column; }
  .ms-conn__map { flex: none; width: 100%; height: 311px; }
  .ms-conn__list { flex: none; width: 100%; }
  .ms-conn__city { font-size: 16px; line-height: 24px; }
  .ms-conn__org { font-size: 12px; line-height: 18px; }
  .ms-conn__metro { font-size: 14px; line-height: 21px; }

  .ms-band--left .mo-band__inner { align-items: flex-start; text-align: left; }
}
