/* ==========================================================================
   Missouri Initiatives cluster — shared pieces (hub + 4 initiative pages)
   Markup helpers: src/_includes/partials/missouri-macros.njk
   ========================================================================== */
:root { --mo-lime: #d5ed71; --mo-ink: #141414; --mo-teal-dark: #285757; --mo-grey-bg: #f8f8fa; }

.js [data-reveal="up"] { transform: translateY(40px); }
.mo-pre { white-space: pre-wrap; } /* Framer text keeps the space before a <br> */
@media (max-width: 1199.98px) { br.mo-br-desk { display: none; } }
@media (max-width: 809.98px) { br.mo-br-np { display: none; } }

/* ---------- Eyebrow (green caps) ---------- */
.mo-eyebrow { font: 700 18px/27px var(--f-body); letter-spacing: 0.1em; color: var(--green); text-align: center; }
.mo-eyebrow strong { font-weight: 700; }

/* ---------- Outline-green pill ---------- */
.btn.mo-btn-green { color: var(--green-dark); box-shadow: inset 0 0 0 1px var(--green-dark); height: 45px; }
.btn.mo-btn-green:hover { box-shadow: inset 0 0 0 1px var(--green-dark), 0 8px 20px 0 rgba(212, 237, 114, 0.54); }

/* ---------- Hero ---------- */
.mo-hero { padding: 180px 40px 140px; display: flex; justify-content: center; }
.mo-hero__inner { width: 100%; max-width: 1200px; display: flex; flex-direction: column; align-items: center; gap: 60px; }
.mo-hero__text { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.mo-hero__title { max-width: 760px; font: 600 64px/64px var(--f-head); letter-spacing: -0.04em; color: var(--mo-ink); }
.mo-hero__lead { max-width: 700px; font: 400 18px/27px var(--f-body); color: var(--ink-3); }
.mo-hero__btns { width: 100%; display: flex; justify-content: center; align-items: center; gap: 10px; }

/* ---------- Stats bar ---------- */
.mo-stats { width: 100%; max-width: 900px; background: var(--teal); border-radius: 24px; padding: 16px; display: flex; justify-content: center; align-items: flex-start; gap: 10px; }
.mo-stat { flex: 1 1 0; min-width: 0; border-radius: 12px; padding: 2px 0 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; overflow: clip; }
.mo-stat__num { font: italic 600 34px/40.8px var(--f-head); letter-spacing: -0.02em; color: var(--mo-lime); }
.mo-stat__label { align-self: stretch; font: 400 14px/21px var(--f-body); color: var(--white); }

/* ---------- Plus icon ---------- */
.mo-plus { flex: none; width: 20px; height: 20px; fill: currentColor; }

/* ---------- Teal CTA band ---------- */
.mo-band { background: var(--teal); padding: 80px 40px; display: flex; justify-content: center; overflow: clip; }
.mo-band__inner { width: 100%; max-width: 1000px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.mo-band__title { align-self: stretch; white-space: pre-wrap; font: 600 44px/52.8px var(--f-head); letter-spacing: -0.04em; color: var(--white); }
.mo-band__text { max-width: 603px; font: 400 18px/27px var(--f-body); color: rgba(255, 255, 255, 0.8); }
.mo-band__btns { display: flex; justify-content: center; align-items: center; gap: 10px; }

/* ---------- FAQ section ---------- */
.mo-faq { background: var(--mo-grey-bg); padding: 100px 40px; display: flex; justify-content: center; overflow: hidden; }
.mo-faq__inner { width: 100%; max-width: 1000px; display: flex; flex-direction: column; gap: 40px; }
.mo-faq__head { display: flex; justify-content: space-between; align-items: stretch; }
.mo-faq__title { font: 600 44px/52.8px var(--f-head); letter-spacing: -0.04em; color: var(--mo-ink); }
.mo-faq__title span { display: block; }
.mo-faq__side { flex: none; width: 320px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; }
.mo-faq__side p { font: 400 18px/27px var(--f-body); color: var(--gray); }
.mo-faq .qa__icon { fill: var(--teal); } /* this cluster's accordion uses the lighter teal (#357c7a) */

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (max-width: 1199.98px) {
  .mo-hero { padding: 180px 30px 120px; }
  .mo-hero__inner { gap: 40px; }
  .mo-hero__title { max-width: 600px; font-size: 49px; line-height: 49px; }
  .mo-hero__lead { max-width: 450px; font-size: 17px; line-height: 25.5px; }

  .mo-stats { align-items: center; }
  .mo-stat { padding: 10px; }
  .mo-stat__num { font-size: 28px; line-height: 33.6px; }
  .mo-stat__label { font-size: 13px; line-height: 19.5px; }

  .mo-band { padding: 80px 30px; }
  .mo-band__title { font-size: 38px; line-height: 45.6px; }
  .mo-band__text { max-width: none; font-size: 17px; line-height: 25.5px; }

  .mo-faq { padding: 80px 30px; }
  .mo-faq__inner { gap: 30px; }
  .mo-faq__head { align-items: flex-start; }
  .mo-faq__title { font-size: 38px; line-height: 45.6px; }
  .mo-faq__side { justify-content: flex-start; gap: 10px; }
  .mo-faq__side p { font-size: 17px; line-height: 25.5px; }
}

/* ==========================================================================
   Phone
   ========================================================================== */
@media (max-width: 809.98px) {
  .mo-hero { padding: 140px 20px 137px; }
  .mo-hero__inner { gap: 30px; }
  .mo-hero__title { max-width: none; font-size: 38px; line-height: 38px; }
  .mo-hero__lead { max-width: 400px; font-size: 16px; line-height: 24px; }
  .mo-hero__btn { width: 170px; }
  .btn.mo-btn-green.mo-hero__btn { height: 40px; }

  .mo-stats { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(0, 1fr); gap: 4px; }
  .mo-stat { padding: 2px 0 6px; align-self: start; }
  .mo-stat__num { font-size: 34px; line-height: 40.8px; }
  .mo-stat__label { font-size: 12px; line-height: 18px; }

  .mo-band { padding: 70px 20px; }
  .mo-band__title { font-size: 30px; line-height: 36px; letter-spacing: -0.09em; }
  .mo-band__text { max-width: 400px; font-size: 16px; line-height: 24px; }

  .mo-faq { padding: 60px 20px; }
  .mo-faq__inner { gap: 20px; }
  .mo-faq__head { flex-direction: column; align-items: center; gap: 10px; text-align: center; }
  .mo-faq__title { font-size: 30px; line-height: 36px; letter-spacing: -0.09em; }
  .mo-faq__side { align-items: center; gap: 16px; }
  .mo-faq__side p { font-size: 16px; line-height: 24px; }
}
