/* ==========================================================================
   0. Self-hosted web fonts
   ========================================================================== */

@font-face {
    font-family: 'Source Serif 4';
    src: url('/assets/vendor/fonts/source-serif-4.woff2') format('woff2-variations');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans 3';
    src: url('/assets/vendor/fonts/source-sans-3.woff2') format('woff2-variations');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans 3';
    src: url('/assets/vendor/fonts/source-sans-3-italic.woff2') format('woff2-variations');
    font-weight: 400 700;
    font-style: italic;
    font-display: swap;
}

/* ==========================================================================
   1. Design tokens
   ========================================================================== */

:root {
    --mo-navy:                  #1B3A5C;
    --mo-navy-dark:             #102338;
    --mo-navy-light:            #2D5280;
    --mo-copper:                #B5622B;
    --mo-copper-light:          #C97A40;
    --mo-bg:                    #F7F5F0;
    --mo-surface:               #FFFFFF;
    --mo-text:                  #1C1C2E;
    --mo-text-muted:            #6B7280;
    --mo-text-on-dark:          rgba(255, 255, 255, 0.7);
    --mo-text-on-dark-strong:   #FFFFFF;
    --mo-border:                #E2DBD0;
    --mo-border-dark:           rgba(255, 255, 255, 0.1);
    --mo-info-bg:               #EEF3FA;
    --mo-hero-bg:               #EDEBE4;
    --space-xs:                 0.25rem;
    --space-sm:                 0.5rem;
    --space-md:                 1rem;
    --space-lg:                 1.75rem;
    --space-xl:                 3rem;
    --font-heading:             'Source Serif 4', Georgia, 'Times New Roman', serif;
    --font-body:                'Source Sans 3', system-ui, -apple-system, sans-serif;
    --mo-radius:                6px;
    --mo-radius-sm:             6px;
    --mo-radius-xs:             4px;
    --mo-warning-bg:            #FFF8E1;
    --mo-warning:               #B8860B;
    --mo-content-max:           820px;
    --mo-radius-pill:           999px;
    --mo-tint-bg:               #FAF6EE;
    --mo-copper-tint:           #FBF1E8;
}

/* ==========================================================================
   2. Base resets / font setup
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--mo-text);
    background-color: var(--mo-bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--mo-navy);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--space-md);
}

h1 { font-size: clamp(1.6rem, 4vw, 2.15rem); }
h2 { font-size: clamp(1.3rem, 2.5vw, 1.5rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.2rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

small, .small {
    font-size: 14px;
}

/* ==========================================================================
   3. Link styling
   ========================================================================== */

a {
    color: var(--mo-navy);
    text-decoration: none;
}

a:hover {
    color: var(--mo-navy-dark);
    text-decoration: underline;
}

/* ==========================================================================
   4. Disclaimer banner
   ========================================================================== */

.mo-disclaimer-banner {
    background: var(--mo-navy-dark);
    color: var(--mo-text-on-dark);
    font-size: 0.82rem;
    line-height: 1.5;
    text-align: center;
    padding: 0.5rem 1rem;
}

.mo-disclaimer-banner a {
    color: var(--mo-text-on-dark);
    text-decoration: underline;
}

.mo-disclaimer-banner a:hover {
    color: var(--mo-text-on-dark-strong);
}

/* ==========================================================================
   5. Header / navbar
   ========================================================================== */

.mo-header {
    background: var(--mo-navy);
    border-bottom: 3px solid var(--mo-copper);
    padding: 0.65rem 0;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.mo-header .navbar {
    padding-top: 0;
    padding-bottom: 0;
}

.mo-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.mo-logo:hover {
    color: white;
    text-decoration: none;
}

.mo-brand-accent {
    color: var(--mo-copper-light);
}

.mo-wordmark {
    display: inline;
    line-height: inherit;
}

.mo-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mo-logo-icon svg {
    color: white;
    fill: white;
}

.mo-nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.4rem 0.8rem !important;
    border-radius: 4px;
    border-bottom: 2px solid transparent;
    transition: color 0.15s ease, background-color 0.15s ease;
    text-decoration: none;
}

.mo-nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.12);
    text-decoration: none;
}

.mo-nav-link.active {
    color: #FFFFFF !important;
    background: rgba(255, 255, 255, 0.12);
    border-bottom-color: var(--mo-copper-light);
}

/* Dropdown nav */
.mo-dropdown-toggle {
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
}

.mo-nav-link.mo-dropdown-toggle,
.mo-nav-link.mo-dropdown-toggle:hover,
.mo-nav-link.mo-dropdown-toggle:focus,
.mo-nav-link.mo-dropdown-toggle:active,
.mo-nav-link.mo-dropdown-toggle.show,
.mo-nav-link.mo-dropdown-toggle[aria-expanded="true"] {
    color: #FFFFFF !important;
}

.mo-nav-link.mo-dropdown-toggle::after {
    border-top-color: currentColor;
}

.mo-dropdown-toggle:hover,
.mo-dropdown-toggle:focus {
    color: white;
}

.mo-dropdown-toggle.active {
    color: white;
    font-weight: 500;
}

.navbar-nav .dropdown-menu {
    border: 1px solid var(--mo-border);
    border-radius: var(--mo-radius-sm);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 6px 0;
    min-width: 210px;
}

.navbar-nav .dropdown-item {
    font-size: 14px;
    color: var(--mo-text);
    padding: 7px 16px;
}

.navbar-nav .dropdown-item:hover {
    background: var(--mo-info-bg);
    color: var(--mo-navy);
}

/* Hamburger */
.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 5px 8px;
}

.navbar-toggler-icon {
    filter: invert(1);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ==========================================================================
   6. Mobile offcanvas nav
   ========================================================================== */

.mo-mobile-nav {
    max-width: 320px;
    height: 100%;
}

.mo-mobile-nav .offcanvas-header {
    background: var(--mo-navy);
    border-bottom: 2px solid var(--mo-copper);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mo-mobile-nav .offcanvas-header .mo-logo {
    font-size: 1rem;
}

.mo-mobile-nav .offcanvas-header .btn-close {
    filter: invert(1) brightness(1.5);
    opacity: 0.8;
}

.mo-mobile-nav .offcanvas-body {
    background: var(--mo-surface);
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mo-mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    color: var(--mo-text);
    text-decoration: none;
    border-bottom: 1px solid var(--mo-border);
    border-left: 3px solid transparent;
    transition: background-color 0.15s;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
}

.mo-mobile-nav-link i {
    font-size: 1.05rem;
    color: var(--mo-copper);
    width: 1.2rem;
    text-align: center;
    flex-shrink: 0;
}

.mo-mobile-nav-link:hover {
    background: var(--mo-info-bg);
    color: var(--mo-navy);
    text-decoration: none;
}

.mo-mobile-nav-link:hover i {
    color: var(--mo-copper);
}

.mo-mobile-nav-link.active {
    background: #F0F5FB;
    color: var(--mo-navy);
    border-left-color: var(--mo-copper);
    font-weight: 600;
}

.mo-mobile-nav-link.active i {
    color: var(--mo-copper);
}

.mo-mobile-nav-section {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px 8px;
    font-size: 11px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--mo-text-muted);
}

.mo-mobile-nav-section::before,
.mo-mobile-nav-section::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--mo-border);
}

.mo-mobile-nav-footer {
    margin-top: auto;
    border-top: 1px solid var(--mo-border);
    padding: 0.875rem 1.25rem;
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--mo-text-muted);
    background: var(--mo-bg);
}

/* ==========================================================================
   7. Footer
   ========================================================================== */

.mo-footer {
    background: var(--mo-navy-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-xl) 0 1.5rem;
    margin-top: var(--space-xl);
    font-size: 0.875rem;
}

.mo-footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    text-decoration: none;
}

.mo-footer-logo:hover {
    color: white;
    text-decoration: none;
}

.mo-footer-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: var(--mo-radius-xs);
    flex-shrink: 0;
}

.mo-footer-tagline {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.55;
    margin-bottom: 0;
}

.mo-footer-heading {
    display: block;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: white;
    margin-bottom: 1rem;
}

.mo-footer-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.4;
    margin-bottom: 0.45rem;
    text-decoration: none;
    transition: color 0.15s ease;
}

.mo-footer-link:hover {
    color: var(--mo-copper-light);
    text-decoration: none;
}

.mo-footer-link i {
    font-size: 0.85rem;
    opacity: 0.7;
}

.mo-footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 1.5rem 0 1rem;
}

.mo-footer-bottom {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.6;
}

.mo-footer-bottom a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: underline;
}

.mo-footer-bottom a:hover {
    color: white;
}

/* ==========================================================================
   8. Utility / section classes
   ========================================================================== */

.mo-section {
    padding: 4rem 0;
}

.mo-section-bg {
    background: var(--mo-bg);
    padding: 4rem 0;
}

.mo-text-muted {
    color: var(--mo-text-muted);
}

.mo-badge-state {
    display: inline-block;
    background: var(--mo-info-bg);
    color: var(--mo-navy);
    font-size: 12px;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: var(--mo-radius-xs);
    letter-spacing: 0.02em;
}

.mo-badge-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--mo-info-bg);
    color: var(--mo-copper);
    font-size: 12px;
    font-weight: 400;
    padding: 2px 8px;
    border-radius: var(--mo-radius-xs);
}

.mo-card {
    background: var(--mo-surface);
    border: 1px solid var(--mo-border);
    border-radius: var(--mo-radius);
    padding: 1.5rem;
}

/* ==========================================================================
   9. Buttons
   ========================================================================== */

.mo-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--mo-copper);
    color: white;
    border: 1px solid var(--mo-copper);
    border-radius: var(--mo-radius-sm);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s, border-color 0.15s;
}

.mo-btn-primary:hover {
    background: var(--mo-copper-light);
    border-color: var(--mo-copper-light);
    color: white;
    text-decoration: none;
}

.mo-btn-primary:focus {
    outline: 2px solid var(--mo-copper);
    outline-offset: 2px;
}

.mo-btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.mo-btn-block {
    width: 100%;
}

/* ==========================================================================
   10. Hero (board-style)
   ========================================================================== */

.mo-board-hero {
    background-color: var(--mo-hero-bg);
    background-image: radial-gradient(rgba(0,0,0,0.045) 1px, transparent 1px);
    background-size: 22px 22px;
    border-bottom: 2px solid var(--mo-border);
    padding: 3.25rem 0 2.75rem;
    margin-bottom: 2rem;
}

.mo-board-hero h1 {
    border-left: 4px solid var(--mo-copper);
    padding-left: 0.875rem;
    margin-bottom: 0.5rem;
}

.mo-board-hero .mo-hero-lead {
    color: var(--mo-text-muted);
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-left: calc(0.875rem + 4px);
}

.mo-last-updated-badge {
    padding-left: calc(0.875rem + 4px);
    margin-bottom: 1rem;
    font-size: 0.8rem;
    font-style: italic;
    color: var(--mo-text-muted);
}

.mo-last-updated-badge i {
    color: var(--mo-copper);
}

.mo-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-left: calc(0.875rem + 4px);
}

/* ==========================================================================
   11. Trust badges (used in hero)
   ========================================================================== */

.mo-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255,255,255,0.7);
    border: 1px solid var(--mo-border);
    border-radius: 20px;
    padding: 0.25rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--mo-text-muted);
}

.mo-trust-badge i {
    font-size: 0.75rem;
    color: var(--mo-copper);
}

/* ==========================================================================
   12. Stat cards strip
   ========================================================================== */

.mo-stats-strip {
    margin-bottom: 2.5rem;
}

.mo-stat-card {
    background: var(--mo-surface);
    border: 1px solid var(--mo-border);
    border-top: 4px solid var(--mo-copper);
    border-radius: 6px;
    padding: 1.25rem 1rem;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    height: 100%;
}

.mo-stat-icon {
    font-size: 1.4rem;
    color: var(--mo-copper);
    line-height: 1;
    margin-bottom: 0.4rem;
    display: block;
}

.mo-stat-value {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--mo-copper);
    line-height: 1.15;
    margin-bottom: 0.3rem;
    display: block;
}

.mo-stat-label {
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--mo-text-muted);
    font-size: 0.68rem;
    font-weight: 700;
    display: block;
}

/* ==========================================================================
   13. Content sections (reusable card containers)
   ========================================================================== */

.mo-content-section {
    background: var(--mo-surface);
    border: 1px solid var(--mo-border);
    border-radius: 6px;
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.mo-content-section h2 {
    border-bottom: 2px solid var(--mo-copper);
    padding-bottom: 0.5rem;
    margin-bottom: 1.25rem;
}

.mo-content-section h3 {
    margin-top: 1.75rem;
}

.mo-content-section h3:first-child {
    margin-top: 0;
}

/* ==========================================================================
   14. Find cards (2x2 link grid)
   ========================================================================== */

.mo-find-card {
    background: var(--mo-surface);
    border: 1px solid var(--mo-border);
    border-left: 3px solid var(--mo-copper);
    border-radius: 6px;
    padding: 1.25rem 1.5rem;
    display: block;
    text-decoration: none;
    color: var(--mo-text);
    transition: box-shadow 0.18s, transform 0.18s;
    height: 100%;
}

.mo-find-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    text-decoration: none;
    color: var(--mo-text);
}

.mo-find-card i {
    font-size: 1.4rem;
    color: var(--mo-copper);
    margin-bottom: 0.4rem;
    display: block;
}

.mo-find-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--mo-navy);
    margin-bottom: 0.25rem;
}

.mo-find-desc {
    font-size: 0.875rem;
    color: var(--mo-text-muted);
    line-height: 1.55;
    margin: 0;
}

/* ==========================================================================
   15. State filter & grid
   ========================================================================== */

.mo-state-filter .input-group-text {
    background: var(--mo-surface);
    border-color: var(--mo-border);
}

.mo-state-filter .input-group-text i {
    color: var(--mo-copper);
}

.mo-state-filter .form-control {
    border-color: var(--mo-border);
}

.mo-state-filter .form-control:focus {
    border-color: var(--mo-copper);
    box-shadow: 0 0 0 0.15rem rgba(181, 98, 43, 0.15);
}

#mo-state-grid {
    /* Bootstrap row g-3 handles the grid; no CSS grid override */
}

.mo-state-card-v2 {
    background: var(--mo-surface);
    border: 1px solid var(--mo-border);
    border-radius: 6px;
    padding: 0.65rem 0.85rem;
    color: var(--mo-navy);
    text-decoration: none;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.mo-state-card-v2:hover {
    border-color: var(--mo-copper);
    background: var(--mo-info-bg);
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    text-decoration: none;
    color: var(--mo-navy);
}

.mo-state-abbr-v2 {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--mo-copper);
    min-width: 1.6rem;
    text-align: center;
}

.mo-state-no-match {
    font-size: 0.875rem;
    color: var(--mo-text-muted);
    text-align: center;
    padding: 1rem;
    grid-column: 1 / -1;
}

/* ==========================================================================
   16. About + feature list + Important callout
   ========================================================================== */

.mo-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mo-feature-item {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.875rem;
    line-height: 1.6;
    list-style: none;
}

.mo-feature-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35rem;
    width: 1rem;
    height: 1rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23B5622B'%3E%3Cpath d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.mo-feature-item i {
    display: none;
}

.mo-important-callout {
    background: rgba(181, 98, 43, 0.08);
    border: 1px solid rgba(181, 98, 43, 0.25);
    border-left: 3px solid var(--mo-copper);
    border-radius: 0 6px 6px 0;
    padding: 1rem 1.25rem;
    margin-top: 1.5rem;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.mo-important-badge {
    display: inline-block;
    background: var(--mo-copper);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    white-space: nowrap;
    flex-shrink: 0;
}

.mo-important-callout p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--mo-text-muted);
    line-height: 1.55;
}

/* ==========================================================================
   17. Page hero (national pages)
   ========================================================================== */

.mo-page-hero {
    background-color: var(--mo-hero-bg);
    background-image: radial-gradient(rgba(0,0,0,0.045) 1px, transparent 1px);
    background-size: 22px 22px;
    border-bottom: 2px solid var(--mo-border);
    padding: 2.5rem 0 2rem;
    margin-bottom: 2rem;
}

.mo-page-hero h1 {
    color: var(--mo-navy);
    border-left: 4px solid var(--mo-copper);
    padding-left: 0.875rem;
    margin-bottom: 0.5rem;
    font-size: clamp(1.5rem, 3.5vw, 2rem);
}

.mo-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: var(--mo-text-muted);
    padding-left: calc(0.875rem + 4px);
    margin-bottom: 0.6rem;
    list-style: none;
    padding-bottom: 0;
}

.mo-breadcrumb a {
    color: var(--mo-navy);
    text-decoration: none;
}

.mo-breadcrumb a:hover {
    color: var(--mo-copper);
    text-decoration: underline;
}

.mo-breadcrumb span[aria-hidden] {
    color: var(--mo-text-muted);
    opacity: 0.5;
}

.mo-breadcrumb span[aria-current] {
    color: var(--mo-text-muted);
}

.mo-page-hero .mo-page-lead {
    color: var(--mo-text-muted);
    font-size: 1rem;
    line-height: 1.6;
    padding-left: calc(0.875rem + 4px);
    margin-bottom: 0.75rem;
    max-width: 760px;
}

.mo-page-hero .mo-last-updated-badge {
    padding-left: calc(0.875rem + 4px);
    font-style: italic;
    font-size: 0.8rem;
    color: var(--mo-text-muted);
}

.mo-page-hero .mo-last-updated-badge i {
    color: var(--mo-copper);
}

/* ==========================================================================
   18. Callout variants (tip / warning)
   ========================================================================== */

.mo-callout {
    border-radius: 0 6px 6px 0;
    padding: 1rem 1.25rem;
    margin-top: 1.5rem;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.mo-callout-tip {
    background: var(--mo-info-bg);
    border: 1px solid rgba(27, 58, 92, 0.2);
    border-left: 3px solid var(--mo-navy);
}

.mo-callout-warning {
    background: var(--mo-warning-bg);
    border: 1px solid rgba(184, 134, 11, 0.25);
    border-left: 3px solid var(--mo-warning);
}

.mo-callout p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--mo-text-muted);
    line-height: 1.55;
}

.mo-badge-tip {
    background: var(--mo-navy) !important;
}

.mo-badge-warning {
    background: var(--mo-warning) !important;
}

/* ==========================================================================
   19. FAQ accordion
   ========================================================================== */

.mo-faq-accordion .accordion-item {
    border: 1px solid var(--mo-border);
    border-radius: var(--mo-radius-sm) !important;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.mo-faq-accordion .accordion-button {
    font-family: var(--font-heading);
    color: var(--mo-navy);
    font-size: 1rem;
    font-weight: 600;
    background: var(--mo-surface);
    box-shadow: none;
}

.mo-faq-accordion .accordion-button:not(.collapsed) {
    color: var(--mo-navy);
    background: var(--mo-info-bg);
    border-bottom: 2px solid var(--mo-copper);
    box-shadow: none;
    --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23B5622B'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.mo-faq-accordion .accordion-button:focus {
    box-shadow: 0 0 0 0.15rem rgba(181, 98, 43, 0.2);
}

.mo-faq-accordion .accordion-body {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--mo-text);
    background: var(--mo-surface);
}

/* ==========================================================================
   20. Comparison table (.mo-compare-table)
   ========================================================================== */

.mo-compare-table-wrap {
    border-radius: var(--mo-radius);
    overflow: hidden;
    border: 1px solid var(--mo-border);
}

.mo-compare-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--mo-surface);
    font-size: 0.9rem;
    margin: 0;
}

.mo-compare-table thead th {
    background: var(--mo-navy);
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 0.75rem 1rem;
    text-align: left;
    border: none;
}

.mo-compare-table thead th:first-child {
    width: 30%;
}

.mo-compare-table tbody tr:nth-child(odd) td {
    background: var(--mo-surface);
}

.mo-compare-table tbody tr:nth-child(even) td {
    background: var(--mo-info-bg);
}

.mo-compare-table tbody td {
    padding: 0.75rem 1rem;
    border: 1px solid var(--mo-border);
    color: var(--mo-text);
    vertical-align: top;
}

.mo-compare-table tbody td:first-child {
    font-weight: 600;
    color: var(--mo-navy);
    background: rgba(27, 58, 92, 0.04) !important;
}

/* ==========================================================================
   21. Numbered list (.mo-numbered-list)
   ========================================================================== */

.mo-numbered-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: mo-step;
}

.mo-numbered-list li {
    counter-increment: mo-step;
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.mo-numbered-list li::before {
    content: counter(mo-step);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 1.75rem;
    height: 1.75rem;
    background: var(--mo-copper);
    color: white;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* ==========================================================================
   22. Static find card variant
   ========================================================================== */

.mo-find-card-static {
    cursor: default;
}

.mo-find-card-static:hover {
    transform: none;
    box-shadow: none;
}

/* ==========================================================================
   24. Data table (.mo-data-table)
   ========================================================================== */

.mo-data-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--mo-border);
    border-radius: 6px;
    background: var(--mo-surface);
    margin-bottom: 1.5rem;
}

.mo-data-table {
    width: 100%;
    font-size: 0.9rem;
    border-collapse: separate;
    border-spacing: 0;
}

.mo-data-table thead th {
    background: var(--mo-navy);
    color: white;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.7rem 0.85rem;
    text-align: left;
    vertical-align: middle;
    white-space: nowrap;
    border-bottom: 3px solid var(--mo-copper);
}

.mo-data-table thead th:first-child { border-top-left-radius: 6px; }
.mo-data-table thead th:last-child  { border-top-right-radius: 6px; }

.mo-data-table thead th .bi {
    color: var(--mo-copper-light);
    margin-right: 0.35rem;
    font-size: 0.85rem;
}

.mo-data-table tbody td {
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid var(--mo-border);
    vertical-align: middle;
    color: var(--mo-text);
    line-height: 1.5;
}

.mo-data-table tbody tr:last-child td {
    border-bottom: none;
}

.mo-data-table tbody tr:hover td {
    background: var(--mo-info-bg);
}

.mo-data-table tbody td:first-child {
    font-weight: 600;
    color: var(--mo-navy);
}

.mo-data-table tbody td:first-child::before {
    content: "●";
    color: var(--mo-copper);
    margin-right: 0.4rem;
    font-size: 0.65rem;
    vertical-align: middle;
}

.mo-data-table .mo-cell-action {
    color: var(--mo-copper);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}

.mo-data-table .mo-cell-action:hover {
    text-decoration: underline;
}

.mo-data-table-filter .input-group-text {
    border-color: var(--mo-border);
}

.mo-data-table-filter .form-control {
    border-color: var(--mo-border);
}

.mo-data-table-filter .form-control:focus {
    border-color: var(--mo-copper);
    box-shadow: 0 0 0 0.15rem rgba(181, 98, 43, 0.15);
}

.mo-data-table-sticky-head th {
    position: sticky;
    top: 0;
    z-index: 1;
}

/* ==========================================================================
   25. Audience cards (.mo-audience-card)
   ========================================================================== */

.mo-audience-card {
    background: var(--mo-surface);
    border: 1px solid var(--mo-border);
    border-top: 3px solid var(--mo-copper);
    border-radius: 6px;
    padding: 1rem 1.15rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--mo-text);
    transition: box-shadow 0.18s, transform 0.18s;
}

a.mo-audience-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.mo-audience-card .bi {
    color: var(--mo-copper);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.mo-audience-card .audience-title {
    color: var(--mo-navy);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.mo-audience-card .audience-desc {
    color: var(--mo-text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   26. State page quick-facts card (.mo-state-quick-facts)
   ========================================================================== */

.mo-state-quick-facts dl {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.4rem 1rem;
    margin: 0;
}

.mo-state-quick-facts dt {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mo-text-muted);
    align-self: start;
    padding-top: 0.15rem;
}

.mo-state-quick-facts dd {
    color: var(--mo-navy);
    font-weight: 500;
    font-size: 0.95rem;
    margin: 0;
}

.mo-state-address {
    white-space: pre-line;
}

.mo-state-quick-facts a {
    color: var(--mo-navy);
    text-decoration: none;
    border-bottom: 1px solid rgba(181, 98, 43, 0.3);
    transition: color 0.15s, border-bottom-color 0.15s;
}

.mo-state-quick-facts a:hover {
    color: var(--mo-copper);
    border-bottom-color: var(--mo-copper);
}

/* ==========================================================================
   27. State page sticky sub-nav (.mo-state-subnav)
   ========================================================================== */

.mo-state-subnav {
    background: var(--mo-surface);
    border-top: 1px solid var(--mo-border);
    border-bottom: 1px solid var(--mo-border);
    padding: 0.75rem 0;
    position: sticky;
    top: 60px; /* stacks below the sticky .mo-header (~60px tall) */
    z-index: 50;
}

.mo-state-subnav .container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge legacy */
    white-space: nowrap;
    scroll-snap-type: x proximity;
    scroll-padding-left: 1rem;
}

.mo-state-subnav .container::-webkit-scrollbar {
    display: none; /* WebKit */
}

.mo-state-subnav a {
    color: var(--mo-navy);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0.25rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.15s, color 0.15s;
    flex-shrink: 0;
}

.mo-state-subnav a:hover {
    color: var(--mo-copper);
}

.mo-state-subnav a.active {
    color: var(--mo-copper);
    border-bottom-color: var(--mo-copper);
}

/* ==========================================================================
   28. Last-verified badge variants
   ========================================================================== */

.mo-last-updated-badge.is-unverified {
    color: var(--mo-text-muted);
    font-style: italic;
    opacity: 0.85;
}

.mo-last-updated-badge.is-unverified i {
    color: var(--mo-copper-light);
}

/* ==========================================================================
   23. Responsive adjustments
   ========================================================================== */

@media (max-width: 767.98px) {
    .mo-disclaimer-banner {
        font-size: 0.75rem;
        line-height: 1.6;
    }

    .mo-section,
    .mo-section-bg {
        padding: 2.5rem 0;
    }

    .mo-footer {
        padding: 2.5rem 0 1rem;
        margin-top: var(--space-lg);
    }

    .mo-nav-link.active {
        color: white;
        font-weight: 500;
        border-bottom-color: transparent;
    }

    .mo-board-hero {
        padding: 2.25rem 0 2rem;
    }

    .mo-board-hero h1 {
        padding-left: 0.65rem;
        font-size: 1.5rem;
    }

    .mo-board-hero .mo-last-updated-badge,
    .mo-board-hero .mo-trust-badges {
        padding-left: calc(0.65rem + 4px);
    }

    .mo-board-hero .mo-hero-lead {
        padding-left: calc(0.65rem + 4px);
    }

    .mo-trust-badge {
        padding: 0.2rem 0.55rem;
        font-size: 0.74rem;
    }

    .mo-stat-value {
        font-size: 1.2rem;
    }

    .mo-content-section {
        padding: 1.25rem;
    }

    /* #mo-state-grid uses Bootstrap row/col — no override needed on mobile */

    .mo-page-hero {
        padding: 2rem 0 1.5rem;
    }

    .mo-page-hero h1 {
        padding-left: 0.65rem;
        font-size: 1.4rem;
    }

    .mo-page-hero .mo-page-lead,
    .mo-breadcrumb,
    .mo-page-hero .mo-last-updated-badge {
        padding-left: calc(0.65rem + 4px);
    }

    .mo-compare-table {
        font-size: 0.8rem;
    }

    .mo-compare-table thead th,
    .mo-compare-table tbody td {
        padding: 0.5rem 0.6rem;
    }

    .mo-data-table tbody td:first-child {
        position: sticky;
        left: 0;
        background: var(--mo-surface);
        border-right: 1px solid var(--mo-border);
        z-index: 1;
    }

    .mo-data-table tbody tr:hover td:first-child {
        background: var(--mo-info-bg);
    }

    .mo-state-subnav {
        position: static;
        padding: 0.5rem 0;
    }
}

/* ==========================================================================
   26. Forms (contact + admin shared)
   ========================================================================== */

.mo-form .mo-form-field {
    margin-bottom: 1.25rem;
}

.mo-form .form-label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--mo-navy);
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
    letter-spacing: -0.005em;
}

.mo-form .form-control,
.mo-form .form-select {
    border: 1px solid var(--mo-border);
    border-radius: 4px;
    padding: 0.6rem 0.75rem;
    font-size: 1rem;
    font-family: var(--font-body);
    color: var(--mo-text);
    background-color: var(--mo-surface);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.mo-form .form-control:focus,
.mo-form .form-select:focus {
    border-color: var(--mo-copper);
    box-shadow: 0 0 0 3px rgba(181, 98, 43, 0.18);
    outline: none;
}

.mo-form .form-control.is-invalid,
.mo-form .form-select.is-invalid {
    border-color: #b13c2b;
    background-image: none;
}

.mo-form .form-control.is-invalid:focus,
.mo-form .form-select.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(177, 60, 43, 0.18);
}

.mo-form .invalid-feedback {
    display: block;
    color: #b13c2b;
    font-size: 0.875rem;
    margin-top: 0.3rem;
}

.mo-form .mo-form-help {
    color: var(--mo-text-muted);
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

.mo-form .mo-form-actions {
    margin-top: 1.5rem;
}

.mo-form-success {
    border-left: 4px solid #2f7d4c;
    background-color: #eaf6ee;
    color: #1d4a2c;
    border-radius: 4px;
    padding: 0.9rem 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* ==========================================================================
   27. Admin shell (chrome for /admin/*)
   ========================================================================== */

.mo-admin-shell {
    background-color: var(--mo-surface);
}

.mo-admin-shell main {
    padding-bottom: 3rem;
}

.mo-admin-header {
    background-color: var(--mo-navy);
    color: white;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--mo-navy-light);
}

.mo-admin-header .mo-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
}

.mo-admin-header .mo-logo .mo-brand-accent {
    color: var(--mo-copper-light);
}

.mo-admin-user {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255,255,255,0.85);
    font-size: 0.875rem;
}

.mo-admin-user form {
    display: inline;
}

.mo-admin-logout-btn {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 3px;
    padding: 0.25rem 0.7rem;
    font-size: 0.85rem;
    cursor: pointer;
    transition: border-color 0.15s, background-color 0.15s;
}

.mo-admin-logout-btn:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: white;
}

.mo-admin-footer {
    background-color: #fafafa;
    border-top: 1px solid var(--mo-border);
    color: var(--mo-text-muted);
    font-size: 0.8rem;
    padding: 0.9rem 0;
    text-align: center;
}

.mo-admin-section-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin: 2rem 0 1.25rem;
}

.mo-admin-section-header h1 {
    margin: 0;
    font-family: var(--font-heading);
    color: var(--mo-navy);
    font-size: 1.75rem;
}

.mo-admin-meta {
    color: var(--mo-text-muted);
    font-size: 0.9rem;
}

.mo-filter-chips {
    display: inline-flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.mo-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.8rem;
    border: 1px solid var(--mo-border);
    border-radius: 999px;
    color: var(--mo-text);
    text-decoration: none;
    font-size: 0.875rem;
    background: var(--mo-surface);
    transition: border-color 0.15s, background-color 0.15s;
}

.mo-filter-chip:hover {
    border-color: var(--mo-copper);
    text-decoration: none;
}

.mo-filter-chip.is-active {
    background-color: var(--mo-navy);
    color: white;
    border-color: var(--mo-navy);
}

.mo-message-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--mo-border);
    border-radius: var(--mo-radius);
    overflow: hidden;
    background-color: var(--mo-surface);
}

.mo-message-table thead th {
    background-color: var(--mo-navy);
    color: white;
    font-family: var(--font-heading);
    font-weight: 600;
    text-align: left;
    padding: 0.7rem 0.9rem;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.mo-message-table tbody tr {
    border-top: 1px solid var(--mo-border);
    cursor: pointer;
    transition: background-color 0.1s;
}

.mo-message-table tbody tr:hover {
    background-color: var(--mo-info-bg);
}

.mo-message-table tbody td {
    padding: 0.8rem 0.9rem;
    vertical-align: top;
    font-size: 0.92rem;
}

.mo-message-table tbody tr.is-unread {
    border-left: 3px solid var(--mo-copper);
    background-color: #fbfaf5;
}

.mo-message-table tbody tr.is-unread .mo-msg-name {
    font-weight: 700;
    color: var(--mo-navy);
}

.mo-unread-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: var(--mo-copper);
}

.mo-msg-preview {
    color: var(--mo-text-muted);
    font-size: 0.85rem;
    max-width: 360px;
}

.mo-empty-state {
    border: 1px dashed var(--mo-border);
    background-color: var(--mo-surface);
    padding: 3rem 1rem;
    text-align: center;
    color: var(--mo-text-muted);
    border-radius: var(--mo-radius);
}

.mo-subject-badge {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.01em;
    background-color: #e9e9ea;
    color: #4a4a4d;
}

.mo-subject-badge--incorrect-info {
    background-color: var(--mo-copper);
    color: white;
}

.mo-subject-badge--suggest-content {
    background-color: var(--mo-navy);
    color: white;
}

.mo-subject-badge--general-question {
    background-color: var(--mo-info-bg);
    color: var(--mo-navy);
}

.mo-subject-badge--other {
    background-color: #e9e9ea;
    color: #4a4a4d;
}

.mo-message-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 1.5rem;
}

@media (max-width: 767.98px) {
    .mo-message-detail {
        grid-template-columns: 1fr;
    }
}

.mo-message-card {
    background: var(--mo-surface);
    border: 1px solid var(--mo-border);
    border-radius: var(--mo-radius);
    padding: 1.5rem;
}

.mo-message-body {
    white-space: pre-line;
    background-color: #fafafa;
    border: 1px solid var(--mo-border);
    border-radius: 4px;
    padding: 1rem 1.1rem;
    font-size: 0.98rem;
    line-height: 1.55;
    margin-top: 0.5rem;
}

.mo-meta-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mo-meta-list li {
    border-top: 1px solid var(--mo-border);
    padding: 0.6rem 0;
    font-size: 0.88rem;
}

.mo-meta-list li:first-child {
    border-top: none;
}

.mo-meta-list .mo-meta-label {
    display: block;
    color: var(--mo-text-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.15rem;
}

.mo-meta-list .mo-meta-value {
    word-break: break-word;
    color: var(--mo-text);
}

.mo-action-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--mo-border);
}

.mo-action-toolbar form {
    display: inline;
}

.mo-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--mo-surface);
    color: var(--mo-navy);
    border: 1px solid var(--mo-border);
    border-radius: var(--mo-radius-sm);
    padding: 0.5rem 0.9rem;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.15s, background-color 0.15s;
}

.mo-btn-secondary:hover {
    border-color: var(--mo-navy);
    background-color: var(--mo-info-bg);
    text-decoration: none;
}

.mo-btn-danger {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--mo-surface);
    color: #b13c2b;
    border: 1px solid #d8b1a8;
    border-radius: var(--mo-radius-sm);
    padding: 0.5rem 0.9rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.15s;
}

.mo-btn-danger:hover {
    background-color: #fbeeea;
}

.mo-auth-card {
    max-width: 420px;
    margin: 3rem auto;
    background: var(--mo-surface);
    border: 1px solid var(--mo-border);
    border-radius: var(--mo-radius);
    padding: 2rem 2rem 1.75rem;
}

.mo-auth-card h1 {
    font-family: var(--font-heading);
    color: var(--mo-navy);
    font-size: 1.6rem;
    margin: 0 0 1.25rem;
}

/* ==========================================================================
   28. Accessibility — skip link
   ========================================================================== */

.mo-skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 9999;
    background: var(--mo-navy);
    color: #fff;
    padding: 0.6rem 1rem;
    text-decoration: none;
    border-radius: 0 0 4px 0;
}

.mo-skip-link:focus {
    left: 0;
}

/* ==========================================================================
   29. Homepage hero (Phase 2 scaffolding — used by Phase 3 home rewrite)
   ========================================================================== */

.mo-home-hero {
    background-color: var(--mo-navy-dark);
    background-image:
        radial-gradient(
            ellipse at 15% 60%,
            rgba(45, 82, 128, 0.7) 0%,
            transparent 55%
        ),
        radial-gradient(
            ellipse at 85% 20%,
            rgba(181, 98, 43, 0.18) 0%,
            transparent 50%
        );
    border-bottom: 3px solid var(--mo-copper);
    color: #fff;
}

.mo-hero-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mo-copper-light);
    font-family: var(--font-body);
}

.mo-hero-headline {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.mo-hero-subhead {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.mo-hero-hint {
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0;
}

.mo-dropdown-constrain {
    max-width: 400px;
}

/* State dropdown overrides inside dark hero */
.mo-home-hero .mo-state-select-group .input-group-text {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.mo-home-hero .mo-state-select-group .form-select {
    background-color: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--mo-text);
    font-weight: 600;
    font-size: 1rem;
}

.mo-home-hero .mo-state-select-group .form-select:focus {
    border-color: var(--mo-copper);
    box-shadow: 0 0 0 0.2rem rgba(181, 98, 43, 0.35);
}

@media (max-width: 575px) {
    .mo-hero-headline { font-size: 1.9rem; }
    .mo-hero-subhead { font-size: 1rem; }
}

.mo-hero-help {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 0.75rem;
    margin-bottom: 0;
    text-align: center;
}

/* ==========================================================================
   30. Section heading with accent bar
   ========================================================================== */

.mo-section-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.5vw, 1.8rem);
    font-weight: 700;
    color: var(--mo-navy);
    text-align: center;
    margin-bottom: 0.25rem;
}

.mo-section-heading-bar {
    display: block;
    width: 48px;
    height: 3px;
    background-color: var(--mo-copper);
    border-radius: 2px;
    margin: 0.75rem auto 0;
}

/* ==========================================================================
   31. Benefit cards (3-up "What is Medicaid?" section)
   ========================================================================== */

.mo-benefit-card {
    background-color: var(--mo-surface);
    border: 1px solid var(--mo-border);
    border-radius: var(--mo-radius);
    border-top: 3px solid var(--mo-copper);
    padding: 1.25rem;
    transition: box-shadow 0.15s;
    height: 100%;
}

.mo-benefit-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.mo-benefit-icon {
    font-size: 1.75rem;
    line-height: 1;
    color: var(--mo-copper);
}

/* ==========================================================================
   32. "Who qualifies?" 6-row category list
   ========================================================================== */

.mo-qualifies {
    background-color: var(--mo-tint-bg);
    border-radius: var(--mo-radius);
    padding: 1.5rem;
}

.mo-category-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1rem;
    background-color: var(--mo-surface);
    border: 1px solid var(--mo-border);
    border-radius: var(--mo-radius);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.mo-category-item:hover {
    border-color: var(--mo-copper);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.mo-category-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 36px;
    text-align: center;
    color: var(--mo-copper);
}

.mo-category-label {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--mo-navy);
    margin-bottom: 0.2rem;
    font-family: var(--font-body);
}

.mo-category-text {
    font-size: 0.88rem;
    color: var(--mo-text-muted);
    line-height: 1.5;
    margin-bottom: 0;
}

.mo-category-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--mo-copper);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.mo-category-link:hover {
    color: var(--mo-navy);
    text-decoration: underline;
}

.mo-qualifies .row > [class*="col-"] {
    display: flex;
}

.mo-qualifies .mo-category-item {
    width: 100%;
    height: 100%;
}

@media (max-width: 767.98px) {
    .mo-category-item {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        align-items: start;
    }
    .mo-category-icon {
        grid-row: 1 / -1;
        padding-top: 0.15rem;
    }
    .mo-category-link {
        grid-column: 2;
        margin-top: 0.5rem;
        align-self: start;
    }
}

.mo-qualifies-note {
    font-size: 0.88rem;
    color: var(--mo-text-muted);
    margin-bottom: 0;
    line-height: 1.6;
}

.mo-qualifies-note a {
    color: var(--mo-copper);
    font-weight: 600;
}

/* ==========================================================================
   33. "How to apply" 3-step numbered cards
   ========================================================================== */

.mo-steps-wrapper {
    position: relative;
}

@media (min-width: 768px) {
    .mo-steps-wrapper::before {
        content: '';
        position: absolute;
        top: calc(1rem + 20px);
        left: calc(1rem + 20px);
        right: calc(1rem + 20px);
        height: 2px;
        background-color: var(--mo-border);
        z-index: 0;
    }
}

.mo-steps-list {
    padding-left: 0;
    list-style: none;
    margin-bottom: 0;
}

.mo-steps-list > li {
    list-style: none;
}

.mo-step-card {
    background-color: var(--mo-surface);
    border: 1px solid var(--mo-border);
    border-radius: var(--mo-radius);
    border-top: 3px solid var(--mo-copper);
    padding: 1rem;
    transition: box-shadow 0.15s;
    position: relative;
    z-index: 1;
    height: 100%;
}

.mo-step-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.mo-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--mo-navy);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1;
    position: relative;
    z-index: 1;
    font-family: var(--font-body);
}

.mo-step-cta {
    display: inline-block;
    background-color: var(--mo-navy);
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 10px 28px;
    border-radius: var(--mo-radius-pill);
    transition: background-color 0.15s, transform 0.1s;
}

.mo-step-cta:hover {
    background-color: var(--mo-copper);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

/* ==========================================================================
   34. State card callout variant (alternative grid card)
   ========================================================================== */

.mo-state-card-callout {
    display: block;
    background-color: var(--mo-surface);
    border: 1px solid var(--mo-border);
    border-left: 4px solid var(--mo-copper);
    border-radius: var(--mo-radius);
    padding: 1rem 1.1rem;
    text-decoration: none;
    color: var(--mo-text);
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.1s;
    height: 100%;
}

.mo-state-card-callout:hover {
    border-color: var(--mo-copper);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    color: var(--mo-navy);
    text-decoration: none;
    transform: translateY(-1px);
}

.mo-state-card-label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--mo-navy);
    margin-bottom: 0.15rem;
}

.mo-state-card-hint {
    font-size: 0.83rem;
    color: var(--mo-text-muted);
    margin-bottom: 0;
    line-height: 1.4;
}

/* ==========================================================================
   35. Prose container (readable content width)
   ========================================================================== */

.mo-prose {
    max-width: var(--mo-content-max);
    margin-left: auto;
    margin-right: auto;
}

.mo-prose > p:first-of-type {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--mo-text-muted);
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   36. State subnav — pill style (overrides .mo-state-subnav a defaults)
   ========================================================================== */

.mo-state-subnav .container {
    align-items: center;
    padding-top: 0.15rem;
    padding-bottom: 0.15rem;
}

.mo-state-subnav a.mo-subnav-pill {
    display: inline-block;
    padding: 6px 18px;
    border-radius: var(--mo-radius-pill);
    border: 1.5px solid var(--mo-navy);
    border-bottom: 1.5px solid var(--mo-navy);
    color: var(--mo-navy);
    background-color: transparent;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.15s, color 0.15s, border-color 0.15s;
    white-space: nowrap;
    line-height: 1.3;
}

.mo-state-subnav a.mo-subnav-pill:hover {
    background-color: var(--mo-copper-tint);
    color: var(--mo-copper);
    border-color: var(--mo-copper);
    text-decoration: none;
}

.mo-state-subnav a.mo-subnav-pill.active,
.mo-state-subnav a.mo-subnav-pill.mo-subnav-pill--active {
    background-color: var(--mo-navy);
    color: #fff;
    border-color: var(--mo-navy);
}

.mo-state-subnav a.mo-subnav-pill.active:hover,
.mo-state-subnav a.mo-subnav-pill.mo-subnav-pill--active:hover {
    background-color: var(--mo-copper);
    color: #fff;
    border-color: var(--mo-copper);
}

.mo-state-subnav a.mo-subnav-pill {
    scroll-snap-align: start;
}

@media (max-width: 767.98px) {
    .mo-state-subnav {
        position: relative; /* explicit positioning context for ::before/::after */
        overflow: visible;  /* let inner .container handle its own clipping */
    }

    .mo-state-subnav .container {
        overflow-x: auto;
        overflow-y: hidden;
    }

    .mo-state-subnav::before,
    .mo-state-subnav::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 32px;
        pointer-events: none;
        z-index: 2;
    }

    .mo-state-subnav::before {
        left: 0;
        background: linear-gradient(to right, var(--mo-surface), transparent);
    }

    .mo-state-subnav::after {
        right: 0;
        background: linear-gradient(to left, var(--mo-surface), transparent);
    }
}

/* ==========================================================================
   37. Footer — small legal links (bottom row)
   ========================================================================== */

.mo-footer-link-sm {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.15s ease;
}

.mo-footer-link-sm:hover {
    color: var(--mo-copper-light);
    text-decoration: none;
}
