:root {
    --bg: #f5f5f7;
    --card: #ffffff;
    --text: #1a1a1a;
    --muted: #5c5c5c;
    --brand: #0071bc;
    --brand-dark: #205493;
    --brand-soft: #e8f1fb;
    --primary: var(--brand);
    --primary-dark: var(--brand-dark);
    --primary-soft: var(--brand-soft);
    --accent: #1a1a1a;
    --border: #e5e5e5;
    --shadow: 0 12px 32px rgba(26, 26, 26, .08);
    --warning-bg: #fff7ed;
    --warning-border: #fdba74;
    --error-bg: #fef2f2;
    --error-border: #fca5a5;
    --success: #059669;
    --accent-soft: #ccfbf1;
    --accent-teal: #0f766e;
    --accent-border: #99f6e4;
    --radius: 14px;
    --touch: 48px;
    --control-radius: 8px;
    --control-border: 2px solid #d6d7d9;
    --control-height: 44px;
    --aca-table-sticky-top: 0px;
    --font-display: "Plus Jakarta Sans", "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

.container { width: min(1120px, 92vw); margin: 0 auto; }
.main-content { padding-bottom: 2rem; }

.topbar {
    background: #fff;
    color: var(--text);
    padding: .85rem 0;
    margin-bottom: 0;
    box-shadow: 0 1px 0 var(--border);
    border-bottom: 3px solid var(--brand);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    flex-wrap: wrap;
}

.brand { display: flex; align-items: center; gap: .75rem; min-width: 0; text-decoration: none; color: inherit; }

.brand-avatar-wrap {
    flex-shrink: 0;
    display: block;
}

.brand-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--brand-soft);
    display: block;
}

.brand-logo {
    display: block;
    width: auto;
    height: 3.4rem;
    max-width: 6.5rem;
    object-fit: contain;
}

.brand-text { min-width: 0; }

.brand-eyebrow {
    margin: 0;
    font-size: .78rem;
    color: var(--muted);
    font-weight: 600;
}

.brand-title {
    margin: 0;
    font-size: clamp(1rem, 3.5vw, 1.25rem);
    letter-spacing: -.02em;
    line-height: 1.2;
    font-weight: 800;
}

a.brand-phone {
    display: inline-block;
    text-decoration: none;
    color: var(--brand-dark);
}

a.brand-phone:hover,
a.brand-phone:focus-visible {
    color: var(--brand);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: .6rem;
    flex-wrap: wrap;
}

.topbar-phone {
    color: var(--brand-dark);
    font-weight: 700;
    text-decoration: none;
    font-size: .95rem;
}

.topbar-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: .08rem;
    line-height: 1.15;
    background: var(--brand-soft);
    color: var(--brand-dark);
    border: 1px solid #f5c2cb;
    padding: .4rem .75rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    text-align: center;
}

.topbar-badge-title {
    font-size: .72rem;
    letter-spacing: .01em;
}

.topbar-badge-year {
    font-size: .66rem;
    font-weight: 600;
    opacity: .92;
}

.hero-panel {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.hero-panel,
.quote-layout .quote-main,
.subsidy-card,
.results-panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-copy { padding: 1.35rem 1.4rem 1rem; }
.hero-copy h2 { margin: 0 0 .45rem; font-size: 1.55rem; letter-spacing: -.02em; }
.hero-copy p { margin: 0; color: var(--muted); max-width: 38rem; }

.hero-features {
    list-style: none;
    margin: 0;
    padding: 1rem 1.2rem;
    display: grid;
    gap: .85rem;
    align-content: center;
    border-left: 1px solid var(--border);
}

.hero-features li {
    display: grid;
    gap: .15rem;
    font-size: .88rem;
    color: var(--muted);
}

.hero-features strong { color: var(--text); font-size: .95rem; }

.quote-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 1rem;
    align-items: start;
    margin-bottom: 1.25rem;
}

#quoteWizard[hidden],
.landing-intro[hidden],
.results-panel[hidden] {
    display: none !important;
}

.quote-main { padding: 1.1rem 1.2rem 1.25rem; }

.wizard-steps {
    display: flex;
    gap: .45rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.wizard-step {
    flex: 1 1 140px;
    border: 1px solid var(--border);
    background: #f8fafc;
    color: var(--muted);
    border-radius: 999px;
    padding: .55rem .85rem;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
    transition: .15s ease;
}

.wizard-step.is-active,
.wizard-step.is-complete {
    background: var(--primary-soft);
    border-color: #99f6e4;
    color: var(--primary-dark);
}

.wizard-step.is-complete { opacity: .85; }

.wizard-title { margin: 0 0 .35rem; font-size: 1.2rem; }
.wizard-lead { margin: 0 0 1rem; color: var(--muted); font-size: .92rem; }

.wizard-grid,
.advanced-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.wizard-panel[hidden] { display: none !important; }

.field label {
    display: block;
    font-size: .85rem;
    font-weight: 700;
    margin-bottom: .4rem;
}

.field input, .field select {
    width: 100%;
    padding: .72rem .8rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: .95rem;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.field input:focus, .field select:focus {
    outline: none;
    border-color: #5eead4;
    box-shadow: 0 0 0 3px rgba(45, 212, 191, .18);
}

.income-input-wrap {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.income-prefix {
    padding: .72rem .8rem;
    background: #f8fafc;
    color: var(--muted);
    font-weight: 700;
    border-right: 1px solid var(--border);
}

.income-input-wrap input {
    border: none;
    border-radius: 0;
    box-shadow: none !important;
}

.autocomplete-wrap { position: relative; }

.suggestions {
    position: absolute;
    z-index: 30;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    margin: 0;
    padding: .35rem 0;
    list-style: none;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    max-height: 220px;
    overflow-y: auto;
    display: none;
}

.suggestions.show { display: block; }
.suggestions li { padding: .58rem .85rem; cursor: pointer; }
.suggestions li:hover { background: #f0fdfa; }

.member-ages-panel {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: .9rem 1rem 1rem;
    margin-bottom: 1rem;
}

.member-ages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: .75rem;
    min-height: 3.5rem;
}

.member-ages-grid.is-loading { opacity: .55; pointer-events: none; }
.member-ages-error { margin: 0; color: #b45309; font-size: .85rem; }

.field-hint {
    display: block;
    margin-top: .3rem;
    font-size: .78rem;
    color: var(--muted);
}

.field-check { margin-top: .5rem; }
.checkbox-label { display: flex; align-items: center; gap: .55rem; font-weight: 600; cursor: pointer; }

.wizard-consent {
    margin-top: 1rem;
    padding: .85rem 1rem;
    background: #fafafa;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.wizard-consent .checkbox-label {
    align-items: flex-start;
    font-weight: 500;
    font-size: .88rem;
    line-height: 1.45;
    color: var(--text);
}

.wizard-consent input[type="checkbox"] {
    margin-top: .15rem;
    flex-shrink: 0;
    width: 1.05rem;
    height: 1.05rem;
    accent-color: var(--brand);
}

.wizard-consent.is-invalid {
    border-color: #dc2626;
    background: #fef2f2;
}

.advanced-filters {
    margin-top: 1.1rem;
    border: 1px dashed var(--border);
    border-radius: 12px;
    padding: .75rem .9rem;
    background: #fafafa;
}

.advanced-filters summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--muted);
}

.advanced-filters[open] .advanced-grid { margin-top: .85rem; }

.wizard-nav {
    display: flex;
    gap: .65rem;
    flex-wrap: wrap;
    margin-top: 1.15rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.btn {
    border: none;
    border-radius: 12px;
    padding: .72rem 1.1rem;
    font-weight: 700;
    cursor: pointer;
    font-size: .92rem;
    transition: transform .12s ease, background .12s ease;
    text-decoration: none;
}

a.btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

a.btn:hover,
a.btn:focus,
a.btn:active {
    text-decoration: none;
}

.btn:active { transform: translateY(1px); }
.btn:disabled,
.btn[disabled] {
    opacity: .5;
    cursor: not-allowed;
    pointer-events: none;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-brand { background: var(--brand); color: #fff; border: 1px solid var(--brand-dark); }
.btn-brand:hover { background: var(--brand-dark); }
.btn-outline { background: #fff; color: var(--brand-dark); border: 2px solid var(--brand); }
.btn-lg { min-height: 48px; padding: .85rem 1.25rem; font-size: 1rem; }
.btn-secondary { background: #e2e8f0; color: var(--text); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-sm { padding: .45rem .8rem; font-size: .82rem; }

.btn-sob {
    background: #0f766e;
    color: #fff;
    border: 1px solid #0d5c56;
    min-width: 52px;
    text-decoration: none;
}

.btn-sob:hover {
    background: #0d9488;
    color: #fff;
}

.plan-doc-buttons {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem;
}

.plan-table-action-group {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .35rem;
}

.subsidy-sidebar { position: sticky; top: 1rem; }

.subsidy-card {
    padding: 1.1rem 1.15rem 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fffe 100%);
}

.subsidy-card-kicker {
    margin: 0 0 .35rem;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
    font-weight: 800;
}

.subsidy-amount-wrap {
    display: flex;
    align-items: baseline;
    gap: .25rem;
    margin-bottom: .35rem;
}

.subsidy-amount {
    font-size: 2rem;
    line-height: 1;
    font-weight: 800;
    color: var(--primary-dark);
}

.subsidy-period { color: var(--muted); font-weight: 600; }

.subsidy-message {
    margin: 0 0 .85rem;
    font-size: .88rem;
    font-weight: 600;
}

.subsidy-message-success { color: var(--success); }
.subsidy-message-warning { color: #b45309; }
.subsidy-message-info { color: var(--muted); }

.subsidy-stats {
    margin: 0;
    display: grid;
    gap: .55rem;
}

.subsidy-stats div {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    font-size: .84rem;
    padding-bottom: .45rem;
    border-bottom: 1px dashed var(--border);
}

.subsidy-stats dt { margin: 0; color: var(--muted); font-weight: 600; }
.subsidy-stats dd { margin: 0; font-weight: 700; text-align: right; }

.subsidy-disclaimer {
    margin: .85rem 0 0;
    font-size: .72rem;
    color: var(--muted);
    line-height: 1.45;
}

.results-panel { padding: 1.15rem 1.2rem 1.25rem; margin-bottom: 2rem; }

/* Barra compacta de subsidio en resultados */
.results-subsidy-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: .65rem 1rem;
    align-items: center;
    padding: .65rem 1rem;
    margin-bottom: .85rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfeff 100%);
    border: 1px solid #99f6e4;
}

.results-subsidy-stats {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem 1rem;
    align-items: center;
    min-width: 0;
}

.results-subsidy-stat {
    display: inline-flex;
    flex-direction: row;
    align-items: baseline;
    gap: .35rem;
    min-width: 0;
}

.results-subsidy-stat-label {
    font-size: .66rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--muted);
    font-weight: 700;
    white-space: nowrap;
}

.results-subsidy-stat-label .term-label {
    display: inline-flex;
    align-items: center;
    gap: .15rem;
    flex-wrap: nowrap;
}

.results-subsidy-stat-label .term-help-btn {
    width: .95rem;
    height: .95rem;
    font-size: .58rem;
}

.results-subsidy-stat-value {
    font-size: .82rem;
    font-weight: 700;
    color: var(--text);
}

.results-subsidy-highlight {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: .05rem;
    padding: 0 .65rem;
    border-left: 1px solid #99f6e4;
    min-width: 9.5rem;
    text-align: right;
}

.results-subsidy-highlight-label {
    font-size: .66rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--muted);
    font-weight: 700;
    line-height: 1.2;
}

.results-subsidy-highlight-label .term-label {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: .15rem;
    flex-wrap: nowrap;
}

.results-subsidy-highlight-label .term-label-text {
    max-width: 11rem;
}

.results-subsidy-highlight-value {
    font-size: 1.55rem;
    line-height: 1;
    font-weight: 800;
    color: #0f766e;
    white-space: nowrap;
}

.results-subsidy-highlight-period {
    font-size: .88rem;
    font-weight: 700;
    color: var(--muted);
}

.results-subsidy-highlight-note {
    font-size: .68rem;
    color: var(--muted);
    white-space: nowrap;
}

.results-subsidy-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.results-subsidy-actions .btn {
    white-space: nowrap;
    min-height: 42px;
    padding: .65rem 1.15rem;
    font-size: .9rem;
    font-weight: 800;
    border-radius: 999px;
    border: 2px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 2px 8px rgba(26, 26, 26, .06);
}

.results-subsidy-actions .btn:hover {
    border-color: #5eead4;
    color: #0f766e;
}

.results-quote-bar {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    padding: 1rem 1.1rem;
    margin-bottom: 1rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfeff 100%);
    border: 1px solid #99f6e4;
}

.results-quote-kicker {
    margin: 0 0 .25rem;
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
    font-weight: 800;
}

.results-quote-location { margin: 0 0 .5rem; font-size: 1.25rem; }

.results-quote-facts {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .35rem 1rem;
    font-size: .88rem;
    color: var(--muted);
}

.results-quote-subsidy {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .25rem;
    min-width: 200px;
}

.results-quote-subsidy-label {
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--muted);
    font-weight: 700;
}

.results-quote-subsidy-value {
    font-size: 1.85rem;
    line-height: 1;
    color: var(--primary-dark);
}

.results-quote-subsidy-note {
    font-size: .78rem;
    color: var(--muted);
    max-width: 220px;
}

.results-filters {
    display: grid;
    grid-template-columns: minmax(200px, 1.2fr) minmax(0, 2fr) auto;
    gap: .75rem;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.results-filter-search input {
    width: 100%;
    padding: .65rem .8rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: .92rem;
}

.results-filter-metals {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.results-filter-extra {
    display: flex;
    align-items: center;
    gap: .45rem;
    font-size: .82rem;
    color: var(--muted);
    font-weight: 600;
}

.results-filter-extra select {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: .45rem .55rem;
    font-size: .85rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.badge-muted {
    background: #f1f5f9;
    color: #475569;
}

.plan-list {
    display: none;
    flex-direction: column;
    gap: .75rem;
}

#planListView.results-view-active {
    display: flex !important;
}

#planCardsView.results-view-active {
    display: grid !important;
}

#planTableView.results-view-active {
    display: block !important;
}

.plan-cards-grid {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.plan-table-view {
    display: none;
}

.plan-table-sticky-sentinel {
    height: 1px;
    margin: 0;
    pointer-events: none;
}

.plan-table-frame {
    border: 1px solid #d6d7d9;
    border-radius: var(--control-radius);
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .05);
}

.plan-list-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: start;
    padding: 1rem 1.1rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    transition: box-shadow .15s ease, border-color .15s ease;
}

.plan-list-item:hover {
    border-color: #99f6e4;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

.plan-list-item.is-hidden-by-filter { display: none !important; }

.plan-card.is-hidden-by-filter,
.plan-table .plan-result-item.is-hidden-by-filter {
    display: none !important;
}

.plan-list-badges { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .4rem; }

.plan-list-title {
    margin: 0 0 .2rem;
    font-size: 1.05rem;
    line-height: 1.35;
}

.plan-list-carrier {
    margin: 0 0 .55rem;
    color: var(--muted);
    font-size: .88rem;
    font-weight: 600;
}

.plan-list-meta {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.25rem;
    font-size: .82rem;
    color: var(--muted);
}

.plan-list-meta li { display: flex; gap: .35rem; }
.plan-list-meta strong { color: var(--text); }
.plan-list-id { margin: .45rem 0 0; font-family: Consolas, monospace; font-size: .72rem; color: var(--muted); }

.plan-list-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .65rem;
    min-width: 180px;
}

.plan-list-price { text-align: right; }

.plan-list-savings {
    display: block;
    font-size: .72rem;
    color: var(--success);
    font-weight: 700;
    margin-bottom: .15rem;
}

.plan-list-price-label {
    display: block;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--muted);
    font-weight: 700;
}

.plan-list-price-value {
    display: block;
    font-size: 1.75rem;
    line-height: 1.1;
    color: var(--primary-dark);
}

.plan-list-price-period { font-size: .82rem; color: var(--muted); font-weight: 700; }

.plan-list-details {
    grid-column: 1 / -1;
    margin-top: .25rem;
    padding-top: .75rem;
    border-top: 1px solid var(--border);
}

.plan-list-details[hidden] { display: none !important; }

.results-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .35rem;
    flex-wrap: wrap;
    margin-top: 1.1rem;
}

.page-btn {
    min-width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 8px;
    font-weight: 700;
    font-size: .85rem;
    cursor: pointer;
    color: var(--text);
}

.page-btn.is-active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.page-btn:disabled { opacity: .45; cursor: not-allowed; }

.page-info {
    font-size: .85rem;
    color: var(--muted);
    padding: 0 .5rem;
}

/* —— Results head, toolbar & advanced search (Medicare-inspired controls) —— */

.results-head {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-bottom: 1rem;
}

.results-head-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem 1rem;
    min-width: 0;
    margin-bottom: .75rem;
}

.results-head-row .results-heading {
    flex: 1 1 auto;
    min-width: 0;
}

.results-heading {
    display: flex;
    align-items: center;
    gap: .55rem;
    flex-wrap: wrap;
    min-width: 0;
}

.results-heading h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.35;
    color: var(--text);
}

.results-advanced-toggle {
    flex-shrink: 0;
    min-height: var(--control-height);
    padding: .5rem 1rem;
    font-size: .9rem;
    font-weight: 700;
    border: var(--control-border);
    border-radius: var(--control-radius);
    background: #fff;
    color: var(--text);
    white-space: nowrap;
}

.results-advanced-toggle:hover,
.results-advanced-toggle:focus-visible {
    border-color: var(--brand);
    background: var(--brand-soft);
    color: var(--brand-dark);
    outline: none;
}

.results-advanced-toggle[aria-expanded="true"] {
    border-color: var(--brand);
    background: var(--brand-soft);
    color: var(--brand-dark);
    box-shadow: inset 0 0 0 1px var(--brand);
}

.results-control-label {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    min-height: var(--control-height);
    padding: .5rem 1rem;
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.2;
    border: var(--control-border);
    border-color: var(--brand);
    border-radius: var(--control-radius);
    background: var(--brand-soft);
    color: var(--brand-dark);
    white-space: nowrap;
    cursor: default;
    user-select: none;
}

.results-toolbar {
    margin-bottom: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.results-sort-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    width: 100%;
    min-width: 0;
}

.results-control-select,
.results-control-input {
    font-family: inherit;
    font-size: .9rem;
    font-weight: 600;
    color: var(--text);
    background: #fff;
    border: var(--control-border);
    border-radius: var(--control-radius);
    min-height: var(--control-height);
}

.results-control-select {
    padding: .55rem .85rem;
    cursor: pointer;
}

.results-control-input {
    width: 100%;
    padding: .55rem .85rem;
}

.results-control-select:focus,
.results-control-input:focus {
    outline: 3px solid #ffbe2e;
    outline-offset: 2px;
    border-color: var(--brand);
}

.results-sort-select {
    min-width: min(11rem, 100%);
}

.results-per-page {
    min-width: 4.5rem;
}

.results-filter-select {
    min-width: min(10rem, 100%);
}

.results-field-label {
    display: block;
    margin: 0 0 .45rem;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text);
}

.results-field-label--inline {
    display: inline-block;
    margin: 0;
    white-space: nowrap;
}

.results-clear-link {
    font-size: .82rem;
    font-weight: 700;
    padding: .2rem .35rem;
}

.sort-dir-toggle {
    display: inline-flex;
    align-items: stretch;
    border: var(--control-border);
    border-radius: var(--control-radius);
    overflow: hidden;
    flex-shrink: 0;
}

.sort-dir-btn {
    min-width: var(--control-height);
    min-height: var(--control-height);
    border: 0;
    background: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    color: var(--muted);
    cursor: pointer;
}

.sort-dir-btn:hover,
.sort-dir-btn:focus-visible {
    background: var(--brand-soft);
    color: var(--brand-dark);
    outline: none;
}

.sort-dir-btn.is-active {
    background: var(--brand);
    color: #fff;
}

.view-toggle {
    display: inline-flex;
    border: var(--control-border);
    border-radius: var(--control-radius);
    overflow: hidden;
    flex-shrink: 0;
}

.view-toggle-btn {
    min-height: var(--control-height);
    padding: 0 .85rem;
    border: 0;
    background: #fff;
    font-size: .9rem;
    font-weight: 700;
    color: var(--muted);
    cursor: pointer;
}

.view-toggle-btn:hover,
.view-toggle-btn:focus-visible {
    background: var(--brand-soft);
    color: var(--brand-dark);
    outline: none;
}

.view-toggle-btn.is-active {
    background: var(--brand);
    color: #fff;
}

.results-advanced-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .32s ease;
    overflow: hidden;
    margin: 0;
    border: 1px solid transparent;
    border-radius: var(--control-radius);
    background: #fff;
    box-shadow: none;
}

.results-advanced-panel.is-open {
    grid-template-rows: 1fr;
    border-color: #d6d7d9;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .05);
    margin-bottom: .75rem;
}

.results-advanced-panel[hidden] {
    display: none !important;
}

.results-advanced-inner {
    display: grid;
    gap: 1rem;
    padding: 0 1.15rem;
    min-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: opacity .24s ease, padding .32s ease;
}

.results-advanced-panel.is-open .results-advanced-inner {
    padding: 1rem 1.15rem;
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .results-advanced-panel,
    .results-advanced-inner {
        transition: none;
    }
}

.company-filter-section,
.plan-search-section {
    display: grid;
    grid-template-rows: auto auto;
    gap: .45rem;
    min-width: 0;
    align-content: start;
}

.advanced-search-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.25rem;
    align-items: start;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e8e8e8;
}

.split-field-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    flex-wrap: nowrap;
    min-height: 1.5rem;
}

.split-field-control {
    min-height: var(--control-height);
}

.company-filter-picker {
    display: flex;
    align-items: center;
    gap: .5rem;
    min-height: var(--control-height);
}

.company-filter-select {
    flex: 1 1 auto;
    min-width: 0;
}

.company-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    min-height: 0;
}

.company-filter-chips:not(:empty) {
    min-height: 1.5rem;
}

.company-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    min-height: 36px;
    padding: .25rem .55rem .25rem .75rem;
    border-radius: 999px;
    background: var(--brand-soft);
    border: 2px solid #f5c2cb;
    font-size: .82rem;
    font-weight: 700;
    color: var(--brand-dark);
}

.company-filter-chip button {
    border: none;
    background: transparent;
    color: inherit;
    font-size: 1.05rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 .15rem;
}

.advanced-search-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e8e8e8;
}

.advanced-search-toolbar-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem 1rem;
    flex: 1 1 auto;
    min-width: 0;
}

.advanced-search-clear-all {
    flex-shrink: 0;
    min-height: 40px;
    padding: .4rem .9rem;
    font-size: .88rem;
    font-weight: 700;
    border-radius: var(--control-radius);
    border: var(--control-border);
    background: #fff;
    color: var(--brand-dark);
    cursor: pointer;
}

.advanced-search-clear-all:hover,
.advanced-search-clear-all:focus-visible {
    border-color: var(--brand);
    background: var(--brand-soft);
    outline: none;
}

.results-filters-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem .75rem;
    margin-bottom: 0;
}

.metal-filters {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem;
}

.metal-filter {
    min-height: 40px;
    padding: .4rem .8rem;
    border: var(--control-border);
    background: #fff;
    border-radius: 999px;
    font-size: .84rem;
    font-weight: 700;
    color: var(--muted);
    cursor: pointer;
    white-space: nowrap;
}

.metal-filter:hover,
.metal-filter:focus-visible {
    border-color: var(--brand);
    background: var(--brand-soft);
    color: var(--brand-dark);
    outline: none;
}

.metal-filter.is-active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.results-advanced-inner .term-help-btn {
    width: 1rem;
    height: 1rem;
    font-size: .62rem;
}

/* legacy aliases */
.results-controls { display: contents; }
.results-sort-label { font-size: .95rem; color: var(--text); font-weight: 700; }
.results-sort {
    border: var(--control-border);
    border-radius: var(--control-radius);
    padding: .55rem .85rem;
    font-size: .9rem;
    min-height: var(--control-height);
}

.plan-search-input {
    flex: 1 1 180px;
}

.badge {
    background: var(--primary-soft);
    color: var(--primary-dark);
    padding: .22rem .65rem;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 800;
}

.premium-note, .subsidy-warning {
    margin: 0 0 .85rem;
    font-size: .86rem;
    color: var(--muted);
}

.subsidy-warning { color: #b45309; }

.plan-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1rem;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: .55rem;
    transition: box-shadow .15s ease, transform .15s ease;
}

.plan-card:hover {
    box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
    transform: translateY(-2px);
}

.plan-card-header {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    align-items: flex-start;
}

.plan-card-price { text-align: right; }
.plan-card-price-label { display: block; font-size: .72rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.plan-card-price-value { display: block; font-size: 1.55rem; line-height: 1.1; color: var(--primary-dark); }
.plan-card-price-period { font-size: .82rem; color: var(--muted); font-weight: 700; }

.plan-card-title { margin: 0; font-size: 1.02rem; line-height: 1.35; }
.plan-card-carrier { margin: 0; color: var(--muted); font-size: .88rem; font-weight: 600; }
.plan-card-variant { margin: 0; color: var(--muted); font-size: .82rem; }

.plan-type-tag {
    display: inline-block;
    margin-left: .35rem;
    font-size: .72rem;
    font-weight: 800;
    color: #475569;
    background: #f1f5f9;
    padding: .12rem .45rem;
    border-radius: 999px;
}

.plan-card-stats {
    list-style: none;
    margin: .15rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .45rem .75rem;
}

.plan-card-stats li {
    display: flex;
    justify-content: space-between;
    gap: .5rem;
    font-size: .82rem;
    color: var(--muted);
}

.plan-card-stats strong { color: var(--text); }
.plan-card-stats strong.subsidy { color: var(--success); }

.plan-card-id {
    margin: 0;
    font-family: Consolas, monospace;
    font-size: .74rem;
    color: var(--muted);
}

.plan-card-actions {
    margin-top: auto;
    padding-top: .35rem;
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.plan-card-details {
    margin-top: .65rem;
    padding-top: .65rem;
    border-top: 1px solid var(--border);
}

.plan-card-details[hidden] { display: none !important; }

/* Plan detail page (HealthSherpa-style) */
.plan-detail-toolbar {
    margin-bottom: 1rem;
}

.plan-detail-page {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem 1.75rem 2rem;
    box-shadow: var(--shadow);
}

.plan-detail-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.5rem;
}

.plan-detail-carrier {
    margin: 0 0 .35rem;
    color: var(--muted);
    font-size: .9rem;
}

.plan-detail-title {
    margin: 0;
    font-size: 1.65rem;
    line-height: 1.2;
}

.plan-detail-variant {
    margin: .35rem 0 0;
    color: var(--muted);
    font-size: .92rem;
}

.plan-detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: .75rem;
}

.plan-detail-hero-price {
    text-align: right;
    flex-shrink: 0;
}

.plan-detail-was-price {
    display: block;
    font-size: .82rem;
    color: var(--muted);
    text-decoration: line-through;
}

.plan-detail-price-label {
    display: block;
    font-size: .78rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.plan-detail-price-value {
    display: block;
    font-size: 2rem;
    color: var(--primary-dark);
    line-height: 1.1;
}

.plan-detail-savings {
    display: block;
    font-size: .82rem;
    color: var(--success);
    margin-top: .25rem;
}

.plan-detail-hero-price .plan-doc-buttons {
    margin-top: .85rem;
    justify-content: flex-end;
}

.plan-details-panel .plan-detail-hero-price .plan-doc-buttons {
    justify-content: flex-start;
}

.plan-detail-overview h2,
.plan-detail-docs h2 {
    font-size: 1.15rem;
    margin: 0 0 1rem;
}

.plan-detail-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.overview-stat {
    background: var(--surface-alt, #f8fafc);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: .85rem 1rem;
}

.overview-stat-label {
    display: block;
    font-size: .76rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .03em;
    margin-bottom: .35rem;
}

.overview-stat strong {
    display: block;
    font-size: 1.15rem;
}

.overview-stat small {
    color: var(--muted);
    font-size: .78rem;
}

.overview-stat-quality .quality-rating-block {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.quality-rating-label {
    font-size: .92rem;
    font-weight: 600;
    color: var(--text, #1e293b);
}

.star-rating {
    display: inline-flex;
    gap: .1rem;
    font-size: 1.1rem;
    line-height: 1;
}

.star-rating .star-on { color: #f59e0b; }
.star-rating .star-half { color: #fcd34d; opacity: .85; }
.star-rating .star-off { color: #d1d5db; }

.network-toggle {
    display: inline-flex;
    flex-wrap: wrap;
    gap: .35rem;
    align-items: center;
    padding: .25rem;
    background: var(--surface-alt, #f1f5f9);
    border-radius: 999px;
    margin-bottom: 1rem;
}

.network-toggle-item {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
}

.network-toggle-btn {
    border: none;
    background: transparent;
    color: var(--muted);
    font-weight: 700;
    font-size: .84rem;
    padding: .45rem 1rem;
    border-radius: 999px;
    cursor: pointer;
}

.network-toggle-btn.is-active {
    background: #fff;
    color: var(--primary-dark);
    box-shadow: 0 1px 3px rgba(15, 23, 42, .12);
}

.network-benefits-panel[hidden] {
    display: none !important;
}

.plan-detail-docs {
    margin: 1.5rem 0;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.plan-detail-docs-head {
    margin-bottom: 1rem;
}

.plan-detail-docs-lead {
    margin: .35rem 0 0;
    font-size: .9rem;
    color: var(--muted);
    line-height: 1.45;
}

.plan-doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: .75rem;
}

.plan-doc-card {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: 72px;
    padding: .85rem 1rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.plan-doc-card:hover {
    text-decoration: none;
    border-color: #cbd5e1;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .08);
    transform: translateY(-1px);
}

.plan-doc-card-code {
    flex-shrink: 0;
    min-width: 52px;
    padding: .35rem .45rem;
    border-radius: 8px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .03em;
    text-align: center;
    line-height: 1.2;
}

.plan-doc-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .15rem;
}

.plan-doc-card-title {
    display: block;
    font-size: .92rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.25;
}

.plan-doc-card-meta {
    display: block;
    font-size: .78rem;
    color: var(--muted);
    line-height: 1.3;
}

.plan-doc-card-icon {
    flex-shrink: 0;
    color: var(--muted);
    opacity: .75;
}

.plan-doc-card:hover .plan-doc-card-icon {
    color: var(--brand);
    opacity: 1;
}

.plan-doc-card--sob .plan-doc-card-code {
    background: #ccfbf1;
    color: #0f766e;
}

.plan-doc-card--formulary .plan-doc-card-code {
    background: #ede9fe;
    color: #6d28d9;
}

.plan-doc-card--brochure .plan-doc-card-code {
    background: #f1f5f9;
    color: #475569;
}

.plan-doc-card--enrollment .plan-doc-card-code {
    background: #ffe4e8;
    color: #be123c;
}

.plan-doc-card--providers .plan-doc-card-code {
    background: #dbeafe;
    color: #1d4ed8;
    font-size: .64rem;
}

.plan-doc-card--sob:hover { border-color: #99f6e4; }
.plan-doc-card--formulary:hover { border-color: #ddd6fe; }
.plan-doc-card--enrollment:hover { border-color: #fecdd3; }
.plan-doc-card--providers:hover { border-color: #bfdbfe; }

.plan-detail-hint {
    margin: .75rem 0 0;
    font-size: .84rem;
    color: var(--muted);
}

.plan-detail-benefits {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.plan-detail-network {
    font-size: .88rem;
    color: var(--muted);
    margin: 0 0 1.25rem;
}

.benefit-category {
    margin-bottom: 2rem;
}

.benefit-category h3 {
    margin: 0 0 .5rem;
    font-size: 1.05rem;
}

.benefit-category-desc {
    margin: 0 0 .85rem;
    color: var(--muted);
    font-size: .9rem;
    max-width: 72ch;
}

.benefit-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.benefit-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
}

.benefit-table th {
    text-align: left;
    background: var(--surface-alt, #f8fafc);
    padding: .65rem .85rem;
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
}

.benefit-table td {
    padding: .7rem .85rem;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.benefit-table tr:last-child td { border-bottom: none; }

.benefit-note {
    color: var(--muted);
}

.preventive-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: .45rem 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.preventive-list li {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    padding: .45rem 0;
    border-bottom: 1px solid var(--border);
    font-size: .88rem;
}

.preventive-list li strong { font-weight: 600; }
.preventive-list li span { color: var(--success); white-space: nowrap; font-weight: 600; }

.plan-detail-id {
    margin: 1.5rem 0 0;
    font-size: .78rem;
    color: var(--muted);
    font-family: Consolas, monospace;
}

.plan-details-panel .plan-detail-page {
    border: none;
    box-shadow: none;
    padding: 1rem 0 0;
}

.plan-details-panel .plan-detail-hero {
    flex-direction: column;
}

.plan-details-panel .plan-detail-hero-price {
    text-align: left;
}

.plan-details-panel .plan-detail-price-value {
    font-size: 1.5rem;
}

.plan-table {
    width: 100%;
    min-width: 720px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: .9rem;
}

.plan-table thead th {
    position: sticky;
    top: var(--aca-table-sticky-top);
    z-index: 25;
    padding: 0;
    vertical-align: middle;
    background: #f8fafc;
    border-bottom: 2px solid #d6d7d9;
    transition: box-shadow .2s ease, border-color .2s ease;
}

.plan-table thead.is-stuck th {
    box-shadow: 0 4px 14px rgba(15, 23, 42, .12);
    border-bottom-color: var(--brand);
}

.plan-table-th-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: .25rem .35rem;
}

.plan-table-col--plan .plan-table-th-inner {
    justify-content: flex-start;
    padding-left: .75rem;
    padding-right: .5rem;
}

.plan-table-sort {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    width: 100%;
    min-height: var(--control-height);
    padding: .45rem .6rem;
    border: 2px solid transparent;
    border-radius: var(--control-radius);
    background: transparent;
    font: inherit;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #475569;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.plan-table-col--plan .plan-table-sort {
    justify-content: flex-start;
}

.plan-table-sort-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .22rem;
    flex-wrap: wrap;
    line-height: 1.25;
    text-align: center;
}

.plan-table-col--plan .plan-table-sort-label {
    justify-content: flex-start;
    text-align: left;
}

.plan-table-sort-label .term-label {
    align-items: center;
}

.plan-table-sort-icon {
    flex-shrink: 0;
    min-width: .85rem;
    font-size: .95rem;
    line-height: 1;
    color: var(--brand-dark);
}

.plan-table-sort:hover,
.plan-table-sort:focus-visible {
    border-color: var(--brand);
    background: var(--brand-soft);
    color: var(--brand-dark);
    outline: none;
}

.plan-table-sort.is-active {
    border-color: var(--brand);
    background: var(--brand-soft);
    color: var(--brand-dark);
    box-shadow: inset 0 0 0 1px var(--brand);
}

.plan-table-th-static {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .22rem;
    min-height: var(--control-height);
    padding: .45rem .65rem;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #475569;
    line-height: 1.25;
}

.plan-table-col--compare .plan-table-th-static,
.plan-table-col--actions .plan-table-th-static {
    border: 2px solid transparent;
    border-radius: var(--control-radius);
}

.plan-table td {
    padding: .85rem .65rem;
    border-bottom: 1px solid #e8e8e8;
    vertical-align: middle;
}

.plan-table td:first-child {
    padding-left: .85rem;
}

.plan-table-variant {
    margin-top: .15rem;
    font-size: .78rem;
    color: var(--muted);
    font-weight: 600;
}

.plan-table-meta {
    margin-top: .25rem;
    font-size: .78rem;
    color: var(--muted);
    font-weight: 600;
    line-height: 1.35;
}

.plan-table-actions {
    white-space: nowrap;
    text-align: center;
}

.plan-table-details-btn {
    min-height: 40px;
    padding: .45rem .85rem;
    font-size: .84rem;
    font-weight: 700;
    border-radius: var(--control-radius);
    white-space: nowrap;
}

.plan-table-compare {
    text-align: center;
    vertical-align: middle;
}

.plan-table-compare .plan-compare-toggle {
    justify-content: center;
}

.plan-table tbody tr:hover {
    background: #fafafa;
}

.plan-table tbody tr:nth-child(even) {
    background: #fcfcfd;
}

.plan-table tbody tr:nth-child(even):hover {
    background: #f5f5f7;
}

.money { white-space: nowrap; font-weight: 700; }
.money.subsidy { color: var(--success); }
.money.net-premium strong { color: var(--primary-dark); }

.metal-badge {
    display: inline-block;
    padding: .18rem .55rem;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 800;
}

.metal-bronze, .metal-expanded-bronze { background: #fde68a; color: #92400e; }
.metal-silver { background: #e5e7eb; color: #374151; }
.metal-gold { background: #fef3c7; color: #b45309; }
.metal-platinum { background: #dbeafe; color: #1d4ed8; }
.metal-catastrophic { background: #fce7f3; color: #9d174d; }

.plan-id { font-size: .78rem; color: var(--muted); font-family: Consolas, monospace; margin-top: .15rem; }

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.detail-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: .85rem 1rem;
}

.detail-card h4 { margin: 0 0 .5rem; font-size: .95rem; }
.benefit-list, .doc-list { margin: 0; padding-left: 1.1rem; }
.benefit-list li, .doc-list li { margin-bottom: .35rem; }
.doc-list a { color: var(--primary-dark); }

.loading { color: var(--muted); font-style: italic; }
.empty { color: var(--muted); }

.alert {
    padding: 1rem 1.1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid;
}

.alert-warning { background: var(--warning-bg); border-color: var(--warning-border); }
.alert-error { background: var(--error-bg); border-color: var(--error-border); }

.site-footer {
    padding: 1.25rem 0 2rem;
    color: var(--muted);
    font-family: var(--font-display);
    font-size: .84rem;
    letter-spacing: -0.01em;
}

.site-footer a { color: var(--primary-dark); font-family: inherit; }

.scroll-top-btn {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 950;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    border: none;
    background: var(--brand);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.scroll-top-icon {
    display: inline-block;
    line-height: 1;
    transition: transform 0.2s ease;
}

.scroll-top-btn.is-down .scroll-top-icon {
    transform: rotate(180deg);
}

/* —— Landing intro (Sherpa / HealthCare.gov pattern) —— */
.mc-main:has(#landingIntro:not([hidden])) {
    padding-top: 0;
}

.landing-intro {
    background: var(--card);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    margin: 0 0 1rem;
    overflow: hidden;
}

.landing-intro.sb-ordered {
    display: flex;
    flex-direction: column;
}

.landing-hero,
.landing-process {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: min(36rem, 72vh);
    background: #123a64;
}

.landing-split--flip {
    direction: rtl;
}

.landing-split--flip > * {
    direction: ltr;
}

.landing-process {
    margin-top: 0;
    background: #f4f7fb;
    border-top: 1px solid var(--border);
}

.landing-hero-photo,
.landing-process-photo {
    margin: 0;
    min-height: 100%;
    overflow: hidden;
}

.landing-hero-photo img,
.landing-process-photo img,
.landing-faq-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.landing-split--flip .landing-hero-photo img,
.landing-split--flip .landing-process-photo img,
.landing-split--flip .landing-faq-photo img {
    --wave-left: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M28 0H100V100H28A60 60 0 0 1 28 0Z'/%3E%3C/svg%3E");
    -webkit-mask-image: var(--wave-left);
    mask-image: var(--wave-left);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.landing-hero-copy,
.landing-process-copy {
    padding: clamp(1.75rem, 4vw, 3rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.25rem;
    min-width: 0;
}

.landing-process-band {
    padding: clamp(1.4rem, 3vw, 2.25rem) clamp(1.25rem, 4vw, 3rem);
    background: #fff;
    border-top: 1px solid var(--border);
}

.landing-click {
    padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 3rem);
    background: #123a64;
    border-top: 1px solid rgba(255,255,255,.08);
}

.landing-click-inner {
    max-width: 52rem;
}

.landing-click .landing-page-title {
    color: #fff;
}

.landing-click .landing-review-kicker {
    color: #ffc857;
}

.landing-click .landing-review-lead {
    color: #e2e8f0;
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    margin-bottom: 1.25rem;
}

.landing-ask {
    display: grid;
    grid-template-columns: minmax(0, 25%) minmax(0, 75%);
    align-items: center;
    min-height: 0;
    padding: clamp(1.5rem, 3.5vw, 2.75rem) clamp(1.25rem, 4vw, 3rem);
    background: #0f2f52;
    border-top: 1px solid rgba(255,255,255,.08);
}

.landing-ask-photo {
    margin: 0 auto;
    width: min(100%, 15rem);
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, .28);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
}

.landing-ask-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.landing-ask-copy {
    min-width: 0;
    padding: 0 0 0 clamp(1rem, 3vw, 2rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: .35rem;
    min-height: 15rem;
}

.landing-ask-line {
    display: block;
    width: 100%;
    margin: 0;
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.landing-ask-q {
    font-size: clamp(1.7rem, 4.6vw, 3.6rem);
    color: #fff;
}

.landing-ask-cta {
    font-size: clamp(2.3rem, 6.4vw, 5rem);
    color: #ffc857;
}

.landing-ask-phone {
    font-size: clamp(2.5rem, 7.2vw, 5.4rem);
    color: #fff;
    text-decoration: none;
}

.landing-ask-phone:hover {
    color: #ffc857;
}

.landing-ask-hours {
    font-size: clamp(1.15rem, 2.5vw, 1.95rem);
    color: #dbe7f3;
}

.landing-ask-name {
    font-size: clamp(1.2rem, 2.7vw, 2.1rem);
    color: #fff;
}

.landing-process-band .landing-process-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 1rem;
}

.landing-page-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 4.4vw, 2.85rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #fff;
    text-wrap: balance;
}

.landing-page-title--sub {
    color: var(--text);
}

.landing-review-card {
    background: #fff;
    border: 1px solid #d7e3f0;
    border-radius: 16px;
    padding: clamp(1.35rem, 2.5vw, 1.85rem);
    box-shadow: 0 10px 28px rgba(10, 30, 55, .12);
}

.landing-review-kicker {
    margin: 0 0 .25rem;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--brand);
}

.landing-review-title {
    margin: 0 0 .55rem;
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 3vw, 2.3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text);
}

.landing-review-lead {
    margin: 0 0 .9rem;
    font-size: clamp(1.12rem, 2vw, 1.32rem);
    line-height: 1.45;
    color: #334155;
}

.landing-zip-label {
    display: block;
    margin-bottom: .4rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text);
}

.landing-zip-row {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}

.landing-zip-input,
.landing-lead-input {
    flex: 1 1 10rem;
    min-height: 56px;
    padding: .7rem 1rem;
    border: 2px solid #cbd5e1;
    border-radius: 12px;
    background: #fff;
    color: var(--text);
    font: inherit;
    font-size: 1.25rem;
    font-weight: 700;
}

.landing-zip-input:focus,
.landing-lead-input:focus {
    outline: 3px solid #ffc857;
    outline-offset: 1px;
    border-color: var(--brand);
}

.landing-review-btn {
    min-height: 56px;
    padding: .75rem 1.35rem;
    border-radius: 12px;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
}

.landing-lead-thanks {
    display: grid;
    gap: .75rem;
}

.landing-lead-thanks[hidden] {
    display: none;
}

.landing-zip-error {
    margin: .45rem 0 0;
    color: #b42318;
    font-weight: 700;
}

.landing-review-card .landing-hero-phone {
    margin-top: .75rem;
    color: var(--brand-dark);
    padding: 0;
    min-height: 0;
}

.landing-review-card .landing-hero-phone-kicker {
    color: var(--muted);
}

.landing-review-card .landing-hero-phone-num {
    color: var(--brand-dark);
    text-shadow: none;
}

.landing-process-steps {
    list-style: none;
    margin: 0 0 .35rem;
    padding: 0;
    display: grid;
    gap: .85rem;
}

.landing-process-steps li {
    display: grid;
    grid-template-columns: 2.1rem 1fr;
    gap: .7rem;
    align-items: start;
}

.landing-process-steps strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.landing-process-steps p {
    margin: .2rem 0 0;
    font-size: 1.12rem;
    line-height: 1.4;
    color: #475569;
}

.landing-lead {
    padding: 1.25rem 1rem 0;
    background: #fff7ed;
}

.landing-review-card--lead {
    max-width: 40rem;
    margin: 0 auto;
}

.landing-lead-form {
    display: grid;
    gap: .35rem;
}

.landing-lead-zipline {
    margin: 0 0 .85rem;
    font-size: 1.15rem;
}

.landing-consent {
    display: flex;
    gap: .65rem;
    align-items: flex-start;
    margin: .75rem 0 .35rem;
    font-size: 1.05rem;
    line-height: 1.4;
}

.landing-consent input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: .2rem;
    flex-shrink: 0;
}

.landing-headline-wrap {
    padding: clamp(1.1rem, 3.2vw, 2rem) clamp(.85rem, 3vw, 1.75rem) 1.15rem;
    text-align: center;
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
}

.landing-headline-wrap .landing-headline {
    font-size: clamp(1.7rem, 8vw, 4.2rem);
}

.landing-headline-wrap .landing-headline1 {
    font-size: clamp(1.55rem, 4.6vw, 3rem);
}

.landing-zip-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: .65rem;
    width: min(920px, 100%);
    margin: 1.15rem auto 0;
}

.landing-zip-bar .btn {
    flex: 0 1 auto;
    min-height: 56px;
    padding: .85rem 1.7rem;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 800;
    border-radius: 999px;
}

.landing-hero-phone {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 56px;
    padding: .35rem 1.1rem;
    color: #fff;
    text-decoration: none;
    line-height: 1.1;
}

.landing-hero-phone-kicker {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    opacity: .85;
}

.landing-hero-phone-num {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 3.5vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .28);
}

.landing-hero-phone:hover,
.landing-hero-phone:focus-visible {
    color: #ffc857;
}

.landing-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .65rem 1.25rem;
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    color: #fff;
    font-weight: 800;
}

.landing-steps li {
    display: flex;
    align-items: center;
    gap: .4rem;
}

.landing-step-num {
    display: inline-grid;
    place-items: center;
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 50%;
    background: #ffc857;
    color: #163a6b;
    font-size: .85rem;
}

.landing-hero-wa {
    margin: .65rem 0 0;
    font-size: .92rem;
    font-weight: 700;
}

.landing-hero-wa a {
    color: #ffc857;
    text-decoration: none;
}

.landing-hero-wa a:hover {
    text-decoration: underline;
}

.landing-headline {
    font-family: 'Anton', sans-serif;
    font-size: clamp(2rem, 11vw, 6rem);
    line-height: 0.95;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
    text-wrap: balance;
    color: #ffffff;
    -webkit-text-stroke: 2px #163a6b;
    paint-order: stroke fill;
    text-shadow: 0 4px 10px rgba(0,0,0,.35);
    /*text-shadow:
        0 4px 0 #0b3b75,
        0 10px 24px rgba(0, 0, 0, .28);*/
}


.landing-headline1 {
    font-family: 'League Spartan', sans-serif;
    font-weight: 900;
    font-size: clamp(2.2rem, 6vw, 4.6rem);
    line-height: 0.9;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    text-align: center;

    color: #FFC857;
    -webkit-text-stroke: 1px #163a6b;
    paint-order: stroke fill;

    text-shadow:
        0 3px 0 #163a6b,
        0 8px 16px rgba(0, 0, 0, .28);

    animation: landing-accent-blink 3.2s ease-in-out infinite;
}

@keyframes landing-accent-blink {
    0%, 100% {
        opacity: 1;
        text-shadow:
            0 3px 0 #163a6b,
            0 8px 16px rgba(0, 0, 0, .28);
    }
    50% {
        opacity: 0.78;
        text-shadow:
            0 3px 0 #163a6b,
            0 8px 22px rgba(255, 200, 87, .55);
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-headline1 {
        animation: none;
    }
}



.landing-headline-line {
    display: block;
}

.landing-headline-line + .landing-headline-line {
    margin-top: .06em;
}

.landing-disclosure {
    border-top: 1px solid var(--border);
}

.disclosure-kicker {
    margin: 0 0 .35rem;
    font-size: .78rem;
    font-weight: 600;
    color: var(--muted);
}

.disclosure-title {
    margin: 0 0 .45rem;
    font-size: .88rem;
    font-weight: 800;
    color: var(--text);
}

.landing-disclosure p:last-child {
    margin: 0;
}

.landing-cta-wrap {
    padding: 1.15rem 1.25rem .35rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: .75rem;
}

.landing-cta-wrap--repeat {
    padding: .35rem 0 0;
}

.landing-trust {
    margin: 0;
    padding: 1rem clamp(1.25rem, 4vw, 3rem);
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: .35rem 1rem;
    text-align: left;
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--text);
    border-top: 1px solid var(--border);
}

.landing-trust a {
    color: var(--brand);
    font-weight: 800;
    text-decoration: none;
}

.landing-trust a:hover {
    text-decoration: underline;
}

.landing-block-title,
.landing-video .landing-page-title,
.landing-lines-wrap .landing-page-title,
.landing-voices .landing-page-title {
    margin: 0 0 1rem;
    text-align: left;
}

.landing-video,
.landing-lines-wrap,
.landing-voices {
    padding: clamp(1.75rem, 4vw, 3rem);
    border-top: 1px solid var(--border);
    background: #fff;
}

.landing-lines-wrap {
    background: #f4f7fb;
}

.landing-lines {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
    padding: .35rem 0 0;
}

.landing-line-card {
    background: #fff;
    border: 1px solid #d7e3f0;
    border-radius: 16px;
    padding: clamp(1.25rem, 2.4vw, 1.75rem);
    display: flex;
    flex-direction: column;
    gap: .7rem;
    box-shadow: 0 10px 28px rgba(10, 30, 55, .08);
}

.landing-line-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2.6vw, 1.9rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.landing-line-hint {
    margin: 0;
    flex: 1;
    font-size: clamp(1.08rem, 1.8vw, 1.25rem);
    line-height: 1.45;
    color: #334155;
}

.landing-line-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    min-height: 52px;
    padding: .7rem 1.25rem;
    border: 0;
    border-radius: 12px;
    background: var(--brand);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.12rem;
    text-decoration: none;
    cursor: pointer;
}

.landing-line-action:hover {
    background: var(--brand-dark);
}

.landing-voices-list {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
}

.landing-voices-list blockquote {
    margin: 0;
    height: 100%;
    padding: clamp(1.2rem, 2vw, 1.6rem);
    background: var(--brand-soft);
    border-radius: 16px;
}

.landing-voices-list p {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--text);
}

.landing-voices-list footer {
    margin-top: .75rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--brand-dark);
}

.landing-faq {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: min(34rem, 70vh);
    padding: 0;
    background: #fff;
    border-top: 1px solid var(--border);
}

.landing-faq-photo {
    margin: 0;
    min-height: 100%;
    overflow: hidden;
}

.landing-faq-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.landing-faq-copy {
    padding: clamp(1.75rem, 4vw, 3rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.landing-faq-list {
    margin-top: 1.15rem;
}

.landing-faq-item {
    border-top: 1px solid #d7e3f0;
    padding: 0;
}

.landing-faq-item:last-of-type {
    border-bottom: 1px solid #d7e3f0;
}

.landing-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.05rem 0;
    cursor: pointer;
    list-style: none;
}

.landing-faq-item summary::-webkit-details-marker {
    display: none;
}

.landing-faq-q {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.4vw, 1.7rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.03em;
    color: var(--text);
}

.landing-faq-plus {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    position: relative;
}

.landing-faq-plus::before,
.landing-faq-plus::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    background: var(--brand);
    border-radius: 2px;
}

.landing-faq-plus::before {
    width: 1.35rem;
    height: 3px;
    transform: translate(-50%, -50%);
}

.landing-faq-plus::after {
    width: 3px;
    height: 1.35rem;
    transform: translate(-50%, -50%);
}

.landing-faq-item[open] .landing-faq-plus::after {
    display: none;
}

.landing-faq-a {
    padding: 0 2.5rem 1.15rem 0;
}

.landing-faq-item p {
    margin: 0 0 .55rem;
    color: #334155;
    font-size: clamp(1.08rem, 1.8vw, 1.25rem);
    line-height: 1.45;
}

.landing-faq-item a {
    color: var(--brand);
    font-weight: 800;
    font-size: 1.15rem;
}

.landing-tips .landing-review-card {
    margin-top: 1.35rem;
}

.landing-tips {
    background: #f4f7fb;
}

.landing-service {
    background: #fff;
}

.landing-terms {
    background: #f4f7fb;
}

.landing-close {
    padding: .35rem 1.25rem 1rem;
    text-align: center;
}

.landing-close-lead {
    margin: 0 0 .35rem;
    font-weight: 700;
}

.landing-foot {
    margin: 0;
    padding: .75rem 1.25rem 1.1rem;
    border-top: 1px solid var(--border);
    text-align: center;
    font-family: var(--font-display);
    font-size: .8rem;
    letter-spacing: -0.01em;
    color: var(--muted);
}

.landing-foot a {
    color: var(--brand);
    font-family: inherit;
    font-weight: 700;
}

.landing-cta-wrap .btn {
    flex: 0 1 auto;
    width: auto;
    min-width: 0;
    padding: .95rem 2rem;
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(26, 26, 26, .1);
}

.landing-cta-wrap .btn-secondary {
    background: #fff;
    color: var(--text);
    border: 2px solid var(--border);
    box-shadow: none;
}

.landing-cta-wrap .btn-secondary:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.landing-cta-pulse,
.landing-cta-wrap .btn-brand.landing-cta-pulse,
.landing-zip-bar .btn-brand.landing-cta-pulse {
    border-color: transparent;
    color: #fff;
    background-color: var(--brand);
    background-image: linear-gradient(
        110deg,
        #0071bc 0%,
        #00a3e0 18%,
        #ffc857 42%,
        #ff6a00 58%,
        #205493 82%,
        #0071bc 100%
    );
    background-size: 280% 100%;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
    box-shadow: 0 6px 20px rgba(0, 113, 188, .35);
    animation: landing-cta-shift 1.7s linear infinite;
}

.landing-cta-pulse:hover,
.landing-cta-pulse:focus-visible,
.landing-cta-wrap .btn-brand.landing-cta-pulse:hover,
.landing-cta-wrap .btn-brand.landing-cta-pulse:focus-visible,
.landing-zip-bar .btn-brand.landing-cta-pulse:hover,
.landing-zip-bar .btn-brand.landing-cta-pulse:focus-visible {
    animation: none;
    filter: none;
    background-image: none;
    background-color: #c41e1e;
    background-image: linear-gradient(180deg, #ff3b1f 0%, #c41e1e 55%, #8b0f0f 100%);
    border-color: #7a0c0c;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .45);
    box-shadow:
        0 0 0 2px rgba(255, 80, 40, .35),
        0 10px 28px rgba(196, 30, 30, .5);
}

@keyframes landing-cta-shift {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
    .landing-cta-pulse,
    .landing-cta-wrap .btn-brand.landing-cta-pulse {
        animation: none;
        background-image: none;
        background-color: var(--brand);
        text-shadow: none;
    }
}

.landing-learn-link {
    margin: 1.25rem 0 0;
    font-size: 1.05rem;
    font-weight: 700;
    text-align: center;
}

.landing-learn-link a {
    color: var(--brand);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.landing-learn-link a:hover {
    color: var(--brand-dark);
}

body.quote-mode .landing-intro { display: none; }

body.quote-mode .quote-layout {
    margin-top: 1rem;
}

/* —— Agent hero (legacy, unused) —— */
.agent-hero {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin: 1rem 0;
    overflow: hidden;
}

.agent-hero-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem 1.25rem;
    padding: 1.25rem;
    align-items: center;
}

.agent-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--brand-soft);
    display: block;
}

.agent-kicker {
    margin: 0 0 .25rem;
    font-size: .82rem;
    color: var(--muted);
    font-weight: 600;
}

.agent-tagline {
    margin: 0 0 .5rem;
    font-size: clamp(1.35rem, 4vw, 1.75rem);
    line-height: 1.15;
    font-weight: 800;
    color: var(--brand-dark);
}

.agent-intro {
    margin: 0 0 .75rem;
    color: var(--muted);
    font-size: .95rem;
    max-width: 40rem;
}

.agent-contact-strip {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1rem;
    font-size: .88rem;
}

.agent-phone, .agent-web {
    color: var(--brand-dark);
    font-weight: 700;
    text-decoration: none;
}

.landing-video .intro-video-wrap {
    padding: .35rem 0 0;
    display: flex;
    justify-content: center;
    width: 100%;
}

.intro-video-wrap {
    padding: .85rem 1.25rem 1rem;
}

.intro-video {
    width: 100%;
    max-width: 720px;
    display: block;
    margin: 0;
    border-radius: 16px;
    background: #000;
    aspect-ratio: 16 / 9;
}

.landing-video .intro-video {
    max-width: min(1100px, 100%);
    margin: 0;
}

.intro-video-caption {
    text-align: left;
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    font-weight: 800;
    color: var(--text);
    margin: .5rem 0 0;
}

.disclaimer-box {
    margin: 0;
    padding: .85rem 1.25rem 1.1rem;
    background: #fafafa;
    border-top: 1px solid var(--border);
    font-family: var(--font-display);
    font-size: .82rem;
    letter-spacing: -0.01em;
    color: var(--muted);
}

.disclaimer-box p { margin: 0; }

.disclaimer-hero { border-top: 3px solid var(--brand-soft); }

/* —— Wizard mobile —— */
.wizard-step-num {
    display: inline-grid;
    place-items: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    background: var(--border);
    font-size: .72rem;
    margin-right: .35rem;
}

.wizard-step.is-active .wizard-step-num,
.wizard-step.is-complete .wizard-step-num {
    background: var(--brand);
    color: #fff;
}

.wizard-grid-1 { grid-template-columns: 1fr !important; }

.personalize-panel {
    margin-top: 1rem;
    padding: .75rem;
    border: 1px dashed var(--border);
    border-radius: 10px;
    background: #fafafa;
}

.personalize-panel summary {
    cursor: pointer;
    font-weight: 700;
}

/* —— Savings overview —— */
.savings-overview { padding: 0; }

.savings-highlight {
    background: var(--brand-soft);
    border: 2px solid #f5c2cb;
    border-radius: 12px;
    padding: 1rem 1.1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.savings-highlight.is-eligible {
    border-color: var(--brand);
}

.savings-kicker {
    margin: 0 0 .25rem;
    font-size: .82rem;
    font-weight: 700;
    color: var(--brand-dark);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.savings-amount {
    font-size: clamp(2rem, 6vw, 2.75rem);
    font-weight: 800;
    color: var(--brand-dark);
    line-height: 1;
}

.savings-period { font-size: 1rem; color: var(--muted); }

.savings-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: .65rem;
    margin: 0 0 1rem;
}

.savings-stats div {
    background: #fafafa;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: .55rem .65rem;
}

.savings-stats dt {
    font-size: .72rem;
    color: var(--muted);
    margin: 0 0 .15rem;
}

.savings-stats dd {
    margin: 0;
    font-weight: 700;
    font-size: .92rem;
}

.savings-tip {
    font-size: .85rem;
    color: var(--muted);
    background: #fff;
    border-left: 3px solid var(--brand);
    padding: .65rem .85rem;
    border-radius: 0 8px 8px 0;
}

.plan-verify-links {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
    font-size: .82rem;
    margin-bottom: .65rem;
}

.plan-verify-label { color: var(--muted); font-weight: 600; }

.plan-verify-links a {
    color: var(--brand-dark);
    font-weight: 700;
}

.results-cta-panel {
    margin-top: 1.5rem;
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
    display: grid;
    gap: 1.25rem;
}

.results-cta-primary h3 {
    margin: 0 0 .35rem;
    font-size: 1.15rem;
}

.results-cta-actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: .65rem;
    margin-top: .85rem;
}

.results-cta-sherpa {
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.results-cta-sherpa h4 { margin: 0 0 .35rem; font-size: 1rem; }

.sherpa-pending {
    font-size: .85rem;
    color: var(--muted);
}

.site-footer-inner {
    display: grid;
    gap: 1rem;
    padding: 1.75rem 0 2.25rem;
    max-width: 52rem;
}

.footer-legal {
    display: grid;
    gap: .75rem;
}

.footer-legal p {
    margin: 0;
    line-height: 1.55;
}

.footer-legal-kicker {
    font-weight: 800;
    color: var(--text);
}

.footer-a11y {
    color: var(--text);
}

.footer-legal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .9rem;
}

.footer-meta, .footer-copy {
    margin: 0;
    font-family: var(--font-display);
    letter-spacing: -0.01em;
}

.footer-copy {
    font-weight: 700;
    color: var(--text);
}

.site-footer a { color: var(--brand-dark); font-family: inherit; font-weight: 700; }

@media (max-width: 960px) {
    .landing-process-band .landing-process-steps {
        grid-template-columns: 1fr;
    }
    .landing-lines {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .landing-voices-list {
        grid-template-columns: 1fr;
    }
    .results-subsidy-strip {
        grid-template-columns: 1fr;
        gap: .55rem;
    }

    .results-subsidy-highlight {
        align-items: flex-start;
        text-align: left;
        border-left: none;
        border-top: 1px solid #99f6e4;
        padding: .55rem 0 0;
        min-width: 0;
    }

    .results-subsidy-highlight-label .term-label {
        justify-content: flex-start;
    }

    .results-subsidy-actions {
        justify-content: stretch;
    }

    .results-subsidy-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .results-head-row {
        flex-wrap: wrap;
    }

    .results-head-row .results-heading {
        flex-wrap: wrap;
    }

    .results-head-row .results-heading h2 {
        white-space: normal;
    }

    .results-advanced-toggle {
        width: 100%;
        justify-content: center;
    }

    .results-sort-wrap {
        gap: .45rem;
    }

    .results-sort-select,
    .results-per-page,
    .results-filter-select {
        flex: 1 1 auto;
        min-width: min(100%, 9rem);
    }

    .view-toggle {
        width: 100%;
    }

    .view-toggle-btn {
        flex: 1 1 0;
        text-align: center;
    }

    .advanced-search-split {
        grid-template-columns: 1fr;
    }

    .advanced-search-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .advanced-search-toolbar-main {
        flex-direction: column;
        align-items: stretch;
    }

    .results-filters-row,
    .results-sort-wrap {
        flex-wrap: wrap;
    }

    .agent-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }
    .agent-photo { width: 140px; height: 140px; }
    .agent-contact-strip { justify-content: center; }
    .hero-panel { grid-template-columns: 1fr; }
    .hero-features { border-left: none; border-top: 1px solid var(--border); }
    .quote-layout { grid-template-columns: 1fr; }
    .subsidy-sidebar { position: static; }
    .results-quote-bar { grid-template-columns: 1fr; }
    .results-quote-subsidy { align-items: flex-start; text-align: left; }
    .results-filters { grid-template-columns: 1fr; }
    .plan-list-item { grid-template-columns: 1fr; }
    .plan-list-side { align-items: flex-start; }
    .plan-list-price { text-align: left; }
    .plan-detail-hero { flex-direction: column; }
    .plan-detail-hero-price { text-align: left; }
    .plan-detail-hero-price .plan-doc-buttons { justify-content: flex-start; }
    .plan-doc-grid { grid-template-columns: 1fr; }
}

.mc-plan-verify-links {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

body.aca-plan-modal-open {
    overflow: hidden;
}

body.aca-change-modal-open {
    overflow: hidden;
}

@media (max-width: 640px) {
    .wizard-steps {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: .35rem;
    }
    .wizard-step {
        flex: unset;
        font-size: .72rem;
        padding: .45rem .35rem;
        border-radius: 10px;
    }
    .wizard-step-num { display: none; }
    .wizard-nav {
        position: sticky;
        bottom: 0;
        background: var(--card);
        padding: .75rem 0;
        margin: 0 -1.2rem;
        padding-left: 1.2rem;
        padding-right: 1.2rem;
        border-top: 1px solid var(--border);
        z-index: 5;
    }
    .wizard-nav .btn-brand,
    .wizard-nav .btn-primary {
        flex: 1;
        min-height: var(--touch);
    }
    .landing-lines {
        grid-template-columns: 1fr;
    }
    .landing-hero,
    .landing-process,
    .landing-faq,
    .landing-ask {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .landing-split--flip {
        direction: ltr;
    }
    .landing-hero-photo,
    .landing-process-photo,
    .landing-faq-photo {
        min-height: 16rem;
        max-height: 42vh;
    }
    .landing-split--flip .landing-hero-photo img,
    .landing-split--flip .landing-process-photo img,
    .landing-split--flip .landing-faq-photo img {
        --wave-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M0 0H100V72A60 60 0 0 1 0 72Z'/%3E%3C/svg%3E");
        -webkit-mask-image: var(--wave-bottom);
        mask-image: var(--wave-bottom);
    }
    .landing-ask-photo {
        width: min(42vw, 11rem);
        max-height: none;
        min-height: 0;
    }
    .landing-zip-row {
        flex-direction: column;
    }
    .landing-zip-input,
    .landing-review-btn {
        width: 100%;
        max-width: none;
    }
    .landing-cta-wrap {
        flex-wrap: nowrap;
        gap: .6rem;
    }
    .landing-cta-wrap .btn {
        flex: 1 1 0;
        padding: .85rem 1rem;
        font-size: .9rem;
    }
    .plan-card-header { flex-direction: column; }
    .plan-card-price { text-align: left; }
    .results-cta-actions .btn {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        padding: .85rem 1rem;
        font-size: .88rem;
        justify-content: center;
    }
}

/* —— Insurance term help (glosario) —— */
.term-label {
    display: inline-flex;
    align-items: center;
    gap: .28rem;
    flex-wrap: wrap;
}

.term-label-text {
    line-height: 1.35;
}

.term-help-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.05rem;
    height: 1.05rem;
    padding: 0;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #f8fafc;
    color: #64748b;
    font-size: .68rem;
    font-weight: 800;
    line-height: 1;
    cursor: help;
    vertical-align: middle;
    flex-shrink: 0;
    transition: background .12s ease, color .12s ease, border-color .12s ease;
}

.term-help-btn:hover,
.term-help-btn:focus-visible,
.term-help-btn[aria-expanded="true"] {
    background: var(--brand-soft);
    border-color: #f5c2cb;
    color: var(--brand-dark);
    outline: none;
}

.field-label-row {
    display: flex;
    align-items: center;
    gap: .35rem;
    flex-wrap: wrap;
    margin-bottom: .35rem;
}

.field-label-row label {
    margin: 0;
}

.plan-table th .term-help-btn,
.plan-table-th-static .term-help-btn {
    width: 1rem;
    height: 1rem;
    font-size: .62rem;
    margin-left: .1rem;
    vertical-align: middle;
    flex-shrink: 0;
}

.plan-preview-stat .term-label {
    max-width: 100%;
}

.term-help-popover-summary,
.term-help-popover-body,
.term-help-popover-example,
.term-help-popover-note {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.term-help-popover {
    position: fixed;
    z-index: 400;
    width: min(42.5rem, calc(100vw - 1.5rem));
    max-height: min(72vh, 32rem);
    pointer-events: auto;
    display: block;
}

.term-help-popover[hidden] {
    display: none !important;
}

.term-help-popover-inner {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .18);
    padding: .85rem 1rem 1rem;
    max-height: inherit;
    min-height: 4.5rem;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.term-help-popover--sheet-bottom {
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: none;
    max-height: min(78vh, 36rem);
    padding: 0 .85rem max(.75rem, env(safe-area-inset-bottom));
}

.term-help-popover--sheet-bottom .term-help-popover-inner {
    width: min(56rem, 100%);
    margin: 0 auto;
    border-radius: 16px 16px 0 0;
}

.term-help-popover--below .term-help-popover-inner,
.term-help-popover--above .term-help-popover-inner {
    box-shadow: 0 20px 44px rgba(15, 23, 42, .2);
}

.term-help-popover-close {
    position: absolute;
    top: .45rem;
    right: .45rem;
    border: none;
    background: #f1f5f9;
    color: var(--text);
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 999px;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
}

.term-help-popover-kicker {
    margin: 0 0 .25rem;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--brand-dark);
}

.term-help-popover-title {
    margin: 0 1.5rem .45rem 0;
    font-size: .98rem;
    line-height: 1.35;
    color: var(--text);
}

.term-help-popover-summary {
    margin: 0 0 .55rem;
    font-size: .84rem;
    font-weight: 700;
    color: var(--brand-dark);
    line-height: 1.45;
}

.term-help-popover-body {
    margin: 0;
    font-size: .82rem;
    color: var(--text);
    line-height: 1.55;
}

.term-help-popover-example,
.term-help-popover-note {
    margin: .55rem 0 0;
    font-size: .78rem;
    color: var(--muted);
    line-height: 1.5;
}

.term-help-popover-example strong,
.term-help-popover-note strong {
    color: var(--text);
}

.term-help-popover-source {
    display: inline-block;
    margin-top: .65rem;
    font-size: .74rem;
    font-weight: 700;
    color: var(--brand-dark);
}

body.term-help-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .18);
    z-index: 350;
    pointer-events: none;
}

@media (max-width: 720px) {
    .term-help-popover {
        max-height: min(82vh, 36rem);
    }
}

/* —— App alert modal —— */
.app-modal {
    position: fixed;
    inset: 0;
    z-index: 520;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.app-modal[hidden] {
    display: none !important;
}

.app-modal-backdrop {
    position: absolute;
    inset: 0;
    border: none;
    background: rgba(15, 23, 42, .45);
    cursor: pointer;
}

.app-modal-panel {
    position: relative;
    z-index: 1;
    width: min(100%, 24rem);
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 18px 48px rgba(15, 23, 42, .22);
    border: 1px solid var(--border);
    overflow: hidden;
}

.app-modal-header {
    padding: 1rem 1.15rem .35rem;
}

.app-modal-title {
    margin: 0;
    font-size: 1.05rem;
    color: var(--brand-dark);
}

.app-modal-message {
    margin: 0;
    padding: .5rem 1.15rem 1rem;
    font-size: .95rem;
    line-height: 1.5;
    color: var(--text);
}

.app-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: .5rem;
    padding: .75rem 1.15rem 1.1rem;
    border-top: 1px solid var(--border);
    background: #fafafa;
}

body.app-modal-open {
    overflow: hidden;
}

/* —— Compare plans bar & modal —— */
.compare-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 450;
    background: #fff;
    border-top: 2px solid var(--brand);
    box-shadow: 0 -10px 32px rgba(15, 23, 42, .14);
}

.compare-bar[hidden] {
    display: none !important;
}

.compare-bar-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: .75rem 1rem;
    padding-bottom: max(.75rem, env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    gap: .85rem 1rem;
    flex-wrap: wrap;
}

.compare-bar-text {
    margin: 0;
    font-size: .88rem;
    color: var(--muted);
    white-space: nowrap;
}

.compare-bar-text strong {
    color: var(--brand-dark);
    font-size: 1rem;
}

.compare-bar-slots {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    flex: 1 1 220px;
    min-width: 0;
}

.compare-bar-slot {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    max-width: 100%;
    padding: .35rem .45rem .35rem .7rem;
    border-radius: 999px;
    background: var(--brand-soft);
    border: 1px solid #f5c2cb;
    font-size: .78rem;
    font-weight: 700;
    color: var(--brand-dark);
}

.compare-bar-slot-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 14rem;
}

.compare-bar-slot-remove {
    border: none;
    background: transparent;
    color: inherit;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 .15rem;
}

.compare-bar-actions {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin-left: auto;
}

body.compare-bar-open {
    padding-bottom: 5.75rem;
}

.compare-limit-note {
    position: fixed;
    left: 50%;
    bottom: 6rem;
    transform: translateX(-50%);
    z-index: 451;
    margin: 0;
    padding: .55rem .85rem;
    border-radius: 10px;
    background: #1e293b;
    color: #fff;
    font-size: .84rem;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .22);
}

.compare-limit-note[hidden] {
    display: none !important;
}

.compare-modal {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.compare-modal[hidden] {
    display: none !important;
}

.compare-modal-backdrop {
    position: absolute;
    inset: 0;
    border: none;
    background: rgba(15, 23, 42, .55);
    cursor: pointer;
}

.compare-modal-panel {
    position: relative;
    width: min(1100px, 100%);
    max-height: min(88vh, 900px);
    overflow: auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .22);
    padding: 1rem 1.1rem 1.15rem;
}

.compare-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .85rem;
}

.compare-modal-header h2 {
    margin: 0;
    font-size: 1.15rem;
}

.compare-modal-close {
    border: none;
    background: #f1f5f9;
    color: var(--text);
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

.compare-modal-note {
    margin: .85rem 0 0;
    font-size: .78rem;
    color: var(--muted);
}

.compare-table-wrap {
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.compare-table th,
.compare-table td {
    padding: .65rem .75rem;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
    text-align: left;
    font-size: .86rem;
}

.compare-table thead th {
    background: #fafafa;
    border-bottom: 2px solid var(--border);
}

.compare-table tbody th {
    color: var(--muted);
    font-weight: 700;
    width: 11rem;
    min-width: 9rem;
}

.compare-table .compare-highlight {
    font-size: 1rem;
    font-weight: 800;
    color: var(--brand-dark);
}

.compare-plan-head {
    min-width: 11rem;
}

.compare-plan-name {
    display: block;
    font-weight: 800;
    color: var(--text);
    line-height: 1.35;
}

.compare-plan-variant,
.compare-plan-carrier,
.compare-plan-meta {
    display: block;
    font-size: .78rem;
    color: var(--muted);
    font-weight: 600;
}

.compare-actions-row td,
.compare-actions-row th {
    border-bottom: none;
    padding-top: .85rem;
}

body.compare-modal-open {
    overflow: hidden;
}

.plan-card-footer {
    margin-top: auto;
    padding-top: .65rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .65rem;
    flex-wrap: wrap;
}

.plan-compare-toggle {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .86rem;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
    user-select: none;
}

.plan-compare-toggle input {
    width: 1rem;
    height: 1rem;
    accent-color: var(--brand);
    cursor: pointer;
}

.plan-list-side .plan-compare-toggle {
    margin-top: .45rem;
    justify-content: flex-end;
    width: 100%;
}

@media (max-width: 720px) {
    .compare-bar-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .compare-bar-actions {
        margin-left: 0;
        justify-content: stretch;
    }

    .compare-bar-actions .btn {
        flex: 1 1 auto;
    }
}

/* —— Plan de revisión (captura de lead por producto) —— */
.review-page {
    max-width: 52rem;
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1.1rem, 3vw, 1.5rem) 3rem;
}

.review-hero {
    background: #123a64;
    color: #fff;
    border-radius: 18px;
    padding: clamp(1.4rem, 3vw, 2.1rem);
    margin-bottom: 1.15rem;
}

.review-hero .landing-review-kicker,
.review-hero .landing-page-title {
    color: #fff;
}

.review-hero-lead {
    margin: .65rem 0 0;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.45;
    color: #dbe7f3;
}

.review-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-bottom: 1rem;
}

.review-tab {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    flex: 1 1 12rem;
    text-align: left;
    border: 2px solid #d7e3f0;
    background: #fff;
    border-radius: 14px;
    padding: .75rem .7rem;
    cursor: pointer;
    font: inherit;
    min-height: 4.5rem;
}

.review-tab[hidden] {
    display: none !important;
}

.review-tab.is-active {
    border-color: var(--brand);
    background: var(--brand-soft);
    box-shadow: 0 8px 20px rgba(0, 113, 188, .12);
}

.review-tab-num {
    flex: 0 0 1.7rem;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #123a64;
    color: #fff;
    font-weight: 800;
    font-size: .95rem;
}

.review-tab.is-active .review-tab-num {
    background: var(--brand);
}

.review-tab-copy {
    display: grid;
    gap: .15rem;
    min-width: 0;
}

.review-tab-copy strong {
    font-family: var(--font-display);
    font-size: .92rem;
    letter-spacing: -0.02em;
    color: var(--text);
}

.review-tab-copy em {
    font-style: normal;
    font-size: .78rem;
    line-height: 1.3;
    color: var(--muted);
}

.review-card {
    display: grid;
    gap: 1rem;
}

.review-panel {
    display: grid;
    gap: .75rem;
}

.review-panel[hidden] {
    display: none !important;
}

.review-input,
.review-select {
    width: 100%;
    min-height: 52px;
    border: 2px solid #d6d7d9;
    border-radius: 10px;
    padding: .65rem .85rem;
    font: inherit;
    font-size: 1.1rem;
}

.review-call {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--brand-dark);
    text-decoration: none;
}

.review-hours {
    margin: 0;
    color: var(--muted);
}

.review-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    align-items: center;
}

.review-lock-note {
    margin: 0;
    font-size: .92rem;
    color: var(--muted);
}

@media (max-width: 720px) {
    .review-tab {
        flex: 1 1 100%;
    }
}

.review-legal-links {
    margin: 0 0 .85rem;
    font-size: .92rem;
}

.review-legal-links a {
    color: var(--brand-dark);
    font-weight: 700;
}

.landing-consent--sms {
    font-size: .95rem;
}

.legal-page {
    max-width: 46rem;
    margin: 0 auto 2.5rem;
}

.legal-hero {
    margin: 0 0 1.25rem;
}

.legal-page .landing-page-title {
    color: #123a64;
}

.legal-updated {
    margin: .35rem 0 0;
    color: var(--muted);
}

.legal-jump {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem 1rem;
    margin: 0 0 1.5rem;
    padding: .85rem 0;
    border-top: 1px solid #d7e3f0;
    border-bottom: 1px solid #d7e3f0;
}

.legal-jump a {
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--brand-dark);
    text-decoration: none;
}

.legal-jump a[aria-current="page"] {
    color: var(--brand);
    text-decoration: underline;
}

.legal-prose {
    display: grid;
    gap: .85rem;
    font-size: 1.05rem;
    line-height: 1.55;
}

.legal-prose h2 {
    margin: .85rem 0 0;
    font-family: var(--font-display);
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.legal-prose ul {
    margin: 0;
    padding-left: 1.25rem;
}

.legal-prose blockquote {
    margin: 0;
    padding: .85rem 1rem;
    border-left: 4px solid var(--brand);
    background: var(--brand-soft);
}

.legal-en {
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid #d7e3f0;
}

.review-consent-need {
    margin: .35rem 0 0;
    font-size: .92rem;
    color: var(--muted);
}

.review-consent-list {
    display: grid;
    gap: .55rem;
    margin: .75rem 0;
}

.review-consent-row {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    width: 100%;
    text-align: left;
    border: 2px solid #d7e3f0;
    background: #fff;
    border-radius: 12px;
    padding: .75rem .8rem;
    font: inherit;
    cursor: pointer;
}

.review-consent-row.is-signed {
    border-color: var(--brand);
    background: var(--brand-soft);
}

.review-consent-row input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: .15rem;
    flex-shrink: 0;
    pointer-events: none;
}

.review-consent-row.is-signed input {
    accent-color: var(--brand);
    opacity: 1;
}

.review-consent-copy {
    display: grid;
    gap: .15rem;
}

.review-consent-copy strong {
    font-family: var(--font-display);
    font-size: .95rem;
}

.review-consent-copy em {
    font-style: normal;
    font-size: .82rem;
    color: var(--muted);
}

.legal-consent-modal {
    position: fixed;
    inset: 0;
    z-index: 560;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.legal-consent-modal[hidden] {
    display: none !important;
}

.legal-consent-backdrop {
    position: absolute;
    inset: 0;
    border: none;
    background: rgba(15, 23, 42, .5);
    cursor: pointer;
}

.legal-consent-panel {
    position: relative;
    z-index: 1;
    width: min(100%, 40rem);
    max-height: min(92vh, 44rem);
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .22);
    overflow: hidden;
}

.legal-consent-head {
    padding: 1rem 1.15rem .5rem;
    border-bottom: 1px solid #d7e3f0;
}

.legal-consent-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.2rem;
}

.legal-consent-hint {
    margin: .35rem 0 0;
    font-size: .88rem;
    color: var(--muted);
}

.legal-consent-scroll {
    overflow: auto;
    padding: 1rem 1.15rem;
    min-height: 12rem;
    max-height: min(58vh, 28rem);
}

.legal-consent-actions {
    display: flex;
    justify-content: flex-end;
    gap: .55rem;
    padding: .85rem 1.15rem 1rem;
    border-top: 1px solid #d7e3f0;
    background: #fafafa;
}

.legal-baja-form {
    display: grid;
    gap: .65rem;
    margin: 1rem 0;
}
