/* Medicaid Coverage page (/coverage).
   Built on styles.css tokens and components: gc-hero, gc-stats-bar, gc-step-card, faq-item, form-card, cta-banner. */
.cv-section { padding: var(--section-pad); }
.cv-section-head { max-width: 760px; margin-bottom: 40px; }
.cv-section-head h2 { margin: 8px 0 0; }
.cv-section-head .section-subtitle { margin-top: 14px; }
.cv-center { text-align: center; margin-left: auto; margin-right: auto; }
#states, #state-updates { scroll-margin-top: calc(var(--nav-height) + 8px); }

/* Hero */
.cv-hero .gc-hero-copy { max-width: 780px; }

/* Proof bar */
.cv-stats .gc-stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cv-stats .gc-stat-source { margin: 14px 0 0; font-size: 0.8rem; color: rgba(255,255,255,0.6); line-height: 1.5; }
.cv-stats .gc-stat-source a { color: #ffc857; }

/* State cards */
.cv-states { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.cv-state-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #ece6f3; border-top: 4px solid var(--accent); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 32px 30px; }
.cv-state-card h3 { margin: 16px 0 4px; font-size: 1.75rem; color: var(--bg-dark); }
.cv-agency { margin: 0 0 22px; color: #5c6178; font-size: 0.95rem; line-height: 1.5; }
.cv-status { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.cv-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.cv-status--funded { background: #e7f6ee; color: #1f7a4d; }
.cv-status--approved { background: #fff1e0; color: #b4690b; }
.cv-facts { margin: 0 0 28px; padding: 0; }
.cv-facts > div { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid #eee9f3; }
.cv-facts > div:last-child { border-bottom: 1px solid #eee9f3; }
.cv-facts dt { font-weight: 800; color: var(--bg-dark); font-size: 0.92rem; }
.cv-facts dd { margin: 0; color: #3d4257; font-size: 0.95rem; line-height: 1.55; }
.cv-state-card .btn { margin-top: auto; align-self: flex-start; }

/* Who this serves */
.cv-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cv-tile { background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 28px 26px; }
.cv-tile h3 { margin: 16px 0 8px; font-size: 1.15rem; color: #1a1035; }
.cv-tile p { margin: 0; color: #5c6178; font-size: 0.97rem; line-height: 1.6; }
.cv-icon { width: 48px; height: 48px; border-radius: 14px; background: #fff1e0; color: #e8940f; display: inline-flex; align-items: center; justify-content: center; }

/* Steps */
.cv-steps { position: relative; margin: 0; padding: 0; list-style: none; }
.cv-steps .gc-step-card { position: relative; height: 100%; }
.cv-steps .gc-step-card h3 { margin-top: 0; }
@media (min-width: 1025px) {
  .cv-steps::before { content: ""; position: absolute; top: 49px; left: 48px; right: 48px; height: 2px; background: repeating-linear-gradient(90deg, rgba(245,166,35,.55) 0 8px, transparent 8px 16px); z-index: 0; }
  .cv-steps .gc-step-card { z-index: 1; }
}

/* What funding covers */
.cv-covers h2 { color: #fff; }
.cv-covers .section-subtitle { color: rgba(255,255,255,0.82); }
.cv-cover-card { background: var(--card-purple); border: 1px solid rgba(255,255,255,0.1); border-radius: 18px; padding: 28px 26px; }
.cv-cover-num { color: var(--accent); font-weight: 900; font-size: 0.85rem; letter-spacing: 0.08em; }
.cv-cover-card h3 { color: #fff; font-size: 1.3rem; margin: 10px 0 10px; }
.cv-cover-card p { margin: 0; color: rgba(255,255,255,0.82); font-size: 0.97rem; line-height: 1.6; }

/* Clinical voice */
.cv-quote { display: grid; grid-template-columns: 200px 1fr; gap: 40px; align-items: center; max-width: 980px; margin: 0 auto; }
.cv-quote-photo { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; border: 6px solid #fff1e0; }
.cv-quote blockquote { margin: 0 0 16px; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.45; font-weight: 700; color: var(--bg-dark); }
.cv-quote figcaption { color: #5c6178; font-size: 0.97rem; font-weight: 600; }

/* What comes next + form */
.cv-next-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
.cv-next-grid h2 { margin: 8px 0 16px; }
.cv-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.cv-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 0.9rem; font-weight: 700; border: 1.5px solid #ece6f3; background: #fff; color: #5c6178; }
.cv-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.cv-pill--live { background: #e7f6ee; border-color: #bfe2cd; color: #1f7a4d; }
.cv-pill--next { background: var(--bg-light); }
.cv-investors { margin-top: 24px; font-size: 0.97rem; color: #3d4257; }
.cv-investors a { color: #e8940f; font-weight: 800; }
.cv-form-card { background: #fff; border-top: 4px solid var(--accent); }
.cv-form-card h3 { margin: 0 0 8px; font-size: 1.25rem; color: var(--bg-dark); }
.cv-form-card .form-group select { appearance: auto; background: #fff; }
.cv-form-card .form-group input:focus, .cv-form-card .form-group select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.cv-form-card .form-group.has-error input, .cv-form-card .form-group.has-error select { border-color: #c0392b; }
.cv-field-error { display: block; margin-top: 6px; color: #a5281b; font-size: 0.85rem; font-weight: 600; }
.cv-submit { width: 100%; justify-content: center; margin-top: 8px; }
.cv-submit.is-loading { opacity: 0.7; cursor: progress; }
.cv-form-error { display: none; margin: 16px 0 0; padding: 14px 18px; border-radius: 12px; background: #fdf0ef; border: 1px solid #f1c4c0; color: #8a2a22; line-height: 1.55; }
.cv-form-error.is-visible { display: block; }
.cv-form-success { padding: 8px 0; }
.cv-form-success h3 { margin: 0 0 10px; }
.cv-form-success p { margin: 0; padding: 16px 18px; border-radius: 12px; background: #eefaf3; border: 1px solid #bfe8cf; color: #1d5a37; line-height: 1.55; }

/* FAQ */
.cv-faq { max-width: 860px; margin: 0 auto; }
.cv-faq .faq-answer p { margin: 0; color: #5c6178; line-height: 1.65; }
.cv-faq .faq-answer a { color: #e8940f; font-weight: 700; }

/* Closing CTA */
.cv-final .cta-buttons { justify-content: center; }
.cv-contact-line { margin-top: 24px; }
.cv-contact-line a { color: #fff; font-weight: 700; }

/* Disclaimer */
.cv-disclaimer { padding: 28px 0; background: var(--bg-light); border-top: 1px solid #ece6dc; }
.cv-disclaimer p { margin: 0; max-width: 900px; font-size: 0.85rem; color: #6b7088; line-height: 1.6; }

@media (max-width: 1024px) {
  .cv-three { grid-template-columns: 1fr; max-width: 640px; }
  .cv-next-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  .cv-states { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .cv-section { padding: var(--section-pad-mobile); }
  .cv-stats .gc-stats-grid { grid-template-columns: 1fr; }
  .cv-state-card { padding: 26px 22px; }
  .cv-facts > div { grid-template-columns: 1fr; gap: 4px; }
  .cv-quote { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .cv-quote-photo { width: 140px; height: 140px; margin: 0 auto; }
}
