/* ============================================================
   Health Insurance Assessment — Production UI
   ============================================================ */

:root {
    --health-primary: #1769e0;
    --health-primary-dark: #1257bb;
    --health-primary-soft: #eef5ff;

    --health-navy: #123b73;
    --health-text: #172033;
    --health-muted: #64748b;

    --health-border: #dce4ef;
    --health-border-soft: #e9eef5;

    --health-success: #16845b;

    --health-radius-sm: 10px;
    --health-radius-md: 14px;
    --health-radius-lg: 20px;

    --health-shadow:
        0 18px 45px rgba(15, 35, 65, 0.08);
}


/* ============================================================
   Base
   ============================================================ */

* {
    box-sizing: border-box;
}

body {
    margin: 0;

    color: var(--health-text);

    background: #f7f9fc;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    line-height: 1.55;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
a:focus-visible {
    outline: 3px solid rgba(23, 105, 224, 0.22);
    outline-offset: 2px;
}


/* ============================================================
   Header
   ============================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;

    background: rgba(255, 255, 255, 0.96);

    border-bottom: 1px solid var(--health-border-soft);

    backdrop-filter: blur(12px);
}

.site-header-inner {
    width: min(1180px, calc(100% - 40px));
    min-height: 76px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;
}

.brand {
    display: inline-flex;
    flex-direction: column;

    color: inherit;
    text-decoration: none;
}

.brand-name {
    color: var(--health-navy);

    font-size: 20px;
    font-weight: 750;
    letter-spacing: -0.3px;
}

.brand-subtitle {
    margin-top: 1px;

    color: var(--health-muted);

    font-size: 12px;
    font-weight: 500;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.site-nav a {
    color: var(--health-muted);

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;
}

.site-nav a:hover {
    color: var(--health-primary);
}

.product-pill {
    padding: 7px 11px;

    border: 1px solid #cfe0fb;
    border-radius: 999px;

    background: var(--health-primary-soft);
    color: var(--health-primary);

    font-size: 12px;
    font-weight: 700;
}


/* ============================================================
   Main
   ============================================================ */

.health-container {
    min-height: calc(100vh - 76px);

    padding: 58px 20px 72px;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(23, 105, 224, 0.08),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            #f6f9ff 0%,
            #ffffff 62%
        );
}

.assessment-shell {
    width: min(780px, 100%);
    margin: 0 auto;
}


/* ============================================================
   Introduction
   ============================================================ */

.health-header {
    text-align: center;
    margin: 0 auto 34px;
}

.assessment-label,
.screen-kicker {
    margin: 0 0 9px;

    color: var(--health-primary);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.health-header h1 {
    max-width: 720px;

    margin: 0 auto 14px;

    color: var(--health-navy);

    font-size: clamp(32px, 5vw, 46px);

    line-height: 1.12;
    letter-spacing: -1.1px;
}

.health-intro {
    max-width: 600px;

    margin: 0 auto;

    color: var(--health-muted);

    font-size: 17px;
}

.assessment-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 9px 18px;

    margin-top: 19px;
}

.meta-item {
    display: inline-flex;
    align-items: center;

    gap: 6px;

    color: #718096;

    font-size: 12px;
    font-weight: 600;
}

.meta-icon {
    font-size: 14px;
}


/* ============================================================
   Progress
   ============================================================ */

.progress-container {
    margin: 0 auto 18px;
}

.progress-track {
    width: 100%;
    height: 7px;

    overflow: hidden;

    background: #e6ebf2;

    border-radius: 999px;
}

.progress {
    width: 16.66%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            #1769e0,
            #4389ed
        );

    border-radius: inherit;

    transition: width 0.35s ease;
}

.progress-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin-top: 8px;

    color: #7a8799;

    font-size: 12px;
    font-weight: 600;
}


/* ============================================================
   Question Card
   ============================================================ */

.question-card {
    position: relative;

    overflow: hidden;

    padding: clamp(25px, 5vw, 46px);

    background: #ffffff;

    border: 1px solid var(--health-border);
    border-radius: var(--health-radius-lg);

    box-shadow: var(--health-shadow);
}

.question-screen {
    display: none;

    animation: screen-enter 0.25s ease both;
}

.question-screen.active {
    display: block;
}

@keyframes screen-enter {

    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.question-screen h2 {
    margin: 0 0 10px;

    color: var(--health-navy);

    font-size: clamp(24px, 3.5vw, 30px);

    line-height: 1.22;
    letter-spacing: -0.45px;
}

.question-description {
    margin: 0 0 28px;

    color: var(--health-muted);

    font-size: 15px;
}

.question-description.compact {
    margin-bottom: 17px;
}

.question-block {
    margin-top: 30px;
    padding-top: 25px;

    border-top: 1px solid var(--health-border-soft);
}

.question-block h3 {
    margin: 0 0 7px;

    color: #25334a;

    font-size: 16px;
    line-height: 1.35;
}


/* ============================================================
   Form fields
   ============================================================ */

.form-field {
    margin-top: 18px;
}

.form-field label,
.other-area label {
    display: block;

    margin-bottom: 7px;

    color: #334155;

    font-size: 13px;
    font-weight: 700;
}

.form-field input,
.other-area textarea,
.form-field select,
.coverage-row select,
#shared-coverage {
    width: 100%;

    padding: 13px 14px;

    color: var(--health-text);

    background: #ffffff;

    border: 1px solid #cfd9e6;
    border-radius: var(--health-radius-sm);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.form-field input::placeholder,
.other-area textarea::placeholder {
    color: #9aa6b5;
}

.form-field input:hover,
.other-area textarea:hover,
.form-field select:hover,
.coverage-row select:hover {
    border-color: #b6c4d5;
}

.form-field input:focus,
.other-area textarea:focus,
.form-field select:focus,
.coverage-row select:focus,
#shared-coverage:focus {
    outline: none;

    border-color: var(--health-primary);

    box-shadow:
        0 0 0 4px rgba(23, 105, 224, 0.09);
}

.field-error {
    min-height: 18px;

    margin: 5px 0 0;

    color: #c2413b;

    font-size: 12px;
}


/* ============================================================
   Option cards
   ============================================================ */

.option-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 13px;
}

.option {
    position: relative;

    display: flex;
    align-items: center;

    width: 100%;
    min-height: 70px;

    padding: 16px 46px 16px 16px;

    color: #27364d;
    text-align: left;

    background: #ffffff;

    border: 1px solid var(--health-border);
    border-radius: var(--health-radius-md);

    cursor: pointer;

    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease;
}

.option:hover {
    transform: translateY(-1px);

    border-color: #a9c6ee;

    background: #fbfdff;

    box-shadow:
        0 7px 18px rgba(23, 63, 110, 0.06);
}

.option.selected {
    border-color: var(--health-primary);

    background: var(--health-primary-soft);

    box-shadow:
        0 0 0 3px rgba(23, 105, 224, 0.09);
}

.option-icon {
    flex: 0 0 34px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    margin-right: 12px;

    font-size: 20px;

    background: #f4f7fb;

    border-radius: 10px;
}

.option.selected .option-icon {
    background: #ffffff;
}

.option-text {
    min-width: 0;

    color: inherit;

    font-size: 14px;
    font-weight: 650;
}

.check-mark {
    position: absolute;

    top: 50%;
    right: 15px;

    width: 22px;
    height: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    color: transparent;

    background: transparent;

    border: 1px solid #d4dde8;
    border-radius: 50%;

    font-size: 12px;
    font-weight: 800;
}

.option.selected .check-mark,
.option-row.selected .check-mark {
    color: #ffffff;

    background: var(--health-primary);

    border-color: var(--health-primary);
}


/* ============================================================
   Compact / dynamic options
   ============================================================ */

.compact-option-grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 9px;
}

.compact-option {
    min-height: 47px;

    padding: 10px 9px;

    color: #344258;

    background: #ffffff;

    border: 1px solid var(--health-border);
    border-radius: 10px;

    cursor: pointer;

    font-size: 13px;
    font-weight: 650;

    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        color 0.18s ease;
}

.compact-option:hover {
    border-color: #9dbce6;
}

.compact-option.selected {
    color: var(--health-primary);

    background: var(--health-primary-soft);

    border-color: var(--health-primary);
}

.mini-options,
.objective-list {
    display: grid;
    gap: 9px;
}

.option-row {
    position: relative;

    display: flex;
    align-items: center;

    width: 100%;
    min-height: 58px;

    padding: 11px 46px 11px 13px;

    color: #2d3b50;
    text-align: left;

    background: #ffffff;

    border: 1px solid var(--health-border);
    border-radius: 11px;

    cursor: pointer;

    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease;
}

.option-row:hover {
    border-color: #a9c6ee;
    background: #fbfdff;
}

.option-row.selected {
    border-color: var(--health-primary);
    background: var(--health-primary-soft);
}

.option-row .option-icon {
    margin-right: 11px;
}

.option-row small {
    color: var(--health-muted);
    font-size: 12px;
    line-height: 1.35;
}


/* ============================================================
   Conditional coverage area
   ============================================================ */

.conditional-area {
    margin-top: 22px;
}

.conditional-title {
    margin: 20px 0 9px;

    color: #334155;

    font-size: 14px;
    font-weight: 750;
}

.muted-note {
    margin: 14px 0 0;
    padding: 12px 14px;

    color: #637187;

    background: #f7f9fc;

    border: 1px solid var(--health-border-soft);
    border-radius: 10px;

    font-size: 13px;
}

.coverage-structure {
    margin-top: 18px;
}

.coverage-amounts {
    margin-top: 17px;
    padding-top: 17px;

    border-top: 1px solid var(--health-border-soft);
}

.coverage-row {
    padding: 12px 0;

    border-bottom: 1px solid var(--health-border-soft);
}

.coverage-row:last-child {
    border-bottom: 0;
}

.coverage-row-header {
    display: flex;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 8px;

    color: #475569;

    font-size: 13px;
    font-weight: 650;
}


/* ============================================================
   People / age sections
   ============================================================ */

.people-section {
    margin-top: 20px;
    padding: 18px;

    background: #fbfcfe;

    border: 1px solid var(--health-border-soft);
    border-radius: 13px;
}

.people-section-title {
    color: var(--health-navy);

    font-size: 15px;
    font-weight: 800;
}

.people-section-subtitle {
    margin: 3px 0 13px;

    color: var(--health-muted);

    font-size: 12px;
}

.age-row {
    display: grid;

    grid-template-columns: minmax(0, 1fr) 220px;

    align-items: center;

    gap: 14px;

    padding: 11px 0;

    border-bottom: 1px solid var(--health-border-soft);
}

.age-row:last-child {
    border-bottom: 0;
}

.age-person {
    color: #334155;

    font-size: 14px;
    font-weight: 650;
}


/* ============================================================
   Other reason
   ============================================================ */

.other-area {
    margin-top: 17px;
    padding: 17px;

    background: #fbfcfe;

    border: 1px solid var(--health-border-soft);
    border-radius: 13px;
}

.other-area textarea {
    display: block;

    min-height: 105px;

    resize: vertical;
}

.character-count {
    margin-top: 5px;

    color: #7b8798;

    text-align: right;

    font-size: 11px;
}


/* ============================================================
   Buttons
   ============================================================ */

.button-row {
    display: grid;

    grid-template-columns: auto minmax(0, 1fr);

    gap: 11px;

    align-items: center;

    margin-top: 30px;
}

.primary-button,
.secondary-button {
    min-height: 48px;

    padding: 12px 18px;

    border-radius: 11px;

    font-size: 14px;
    font-weight: 750;

    cursor: pointer;

    transition:
        transform 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    width: 100%;

    color: #ffffff;

    background: var(--health-primary);

    border: 1px solid var(--health-primary);

    box-shadow:
        0 8px 18px rgba(23, 105, 224, 0.18);
}

.primary-button:hover:not(:disabled) {
    transform: translateY(-1px);

    background: var(--health-primary-dark);
    border-color: var(--health-primary-dark);

    box-shadow:
        0 10px 22px rgba(23, 105, 224, 0.23);
}

.primary-button:disabled {
    color: #ffffff;

    background: #cbd5e1;
    border-color: #cbd5e1;

    box-shadow: none;

    cursor: not-allowed;
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    color: #526174;

    background: #ffffff;

    border: 1px solid #d4deea;
}

.secondary-button:hover {
    color: var(--health-primary);

    border-color: #a8c3e7;

    background: #fbfdff;
}

#back-1 {
    width: auto;

    margin-top: 12px;
    padding: 7px 0;

    color: #68778b;

    border: 0;
    background: transparent;
}

#back-1:hover {
    color: var(--health-primary);
}


/* ============================================================
   Result
   ============================================================ */

.result-screen {
    text-align: left;
}

.result-intro {
    padding-bottom: 27px;

    text-align: center;

    border-bottom: 1px solid var(--health-border-soft);
}

.result-check {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 14px;

    color: var(--health-success);

    background: #eaf8f2;

    border: 1px solid #ccecdf;
    border-radius: 50%;

    font-size: 22px;
    font-weight: 800;
}

.result-intro h2 {
    max-width: 650px;

    margin-left: auto;
    margin-right: auto;

    font-size: clamp(25px, 4vw, 34px);
}

.result-badge {
    display: inline-flex;

    max-width: 100%;

    margin-top: 4px;
    padding: 8px 13px;

    color: var(--health-primary);

    background: var(--health-primary-soft);

    border: 1px solid #d4e3fa;
    border-radius: 999px;

    font-size: 12px;
    font-weight: 750;
}

.result-section {
    padding: 28px 0 24px;
}

.result-section h3,
.education-header h3 {
    margin: 0 0 10px;

    color: var(--health-navy);

    font-size: 19px;
}

.result-copy {
    margin: 0 0 13px;

    color: #4c5b70;

    font-size: 15px;
}

.result-review {
    color: #334155;
}


/* ============================================================
   Options worth exploring
   ============================================================ */

.options-exploring-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
    margin: 0 0 18px;
}

.option-exploring-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    padding: 15px;
    background: #ffffff;
    border: 1px solid var(--health-border);
    border-radius: 13px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.option-exploring-card:hover {
    transform: translateY(-1px);
    border-color: #b9cfea;
    box-shadow: 0 7px 18px rgba(23, 63, 110, 0.06);
}

.option-exploring-icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--health-primary-soft);
    border-radius: 10px;
    font-size: 17px;
}

.option-exploring-content { min-width: 0; }

.option-exploring-title {
    margin: 0 0 3px;
    color: var(--health-navy);
    font-size: 13px;
    font-weight: 800;
}

.option-exploring-description {
    margin: 0;
    color: var(--health-muted);
    font-size: 12px;
    line-height: 1.45;
}

.options-exploring-note {
    margin: 0 0 23px;
    padding: 11px 13px;
    color: #66758a;
    background: #f8fafc;
    border: 1px solid var(--health-border-soft);
    border-radius: 10px;
    font-size: 11px;
    line-height: 1.5;
}

/* ============================================================
   Snapshot
   ============================================================ */

.snapshot-card {
    padding: 20px;

    background:
        linear-gradient(
            135deg,
            #f8fbff,
            #ffffff
        );

    border: 1px solid #dce8f8;
    border-radius: 15px;
}

.snapshot-heading {
    margin-bottom: 14px;

    color: var(--health-navy);

    font-size: 14px;
    font-weight: 800;
}

.snapshot-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 9px;
}

.snapshot-item {
    min-width: 0;

    padding: 13px;

    background: #ffffff;

    border: 1px solid var(--health-border-soft);
    border-radius: 10px;
}

.snapshot-label {
    margin-bottom: 4px;

    color: #7a8798;

    font-size: 11px;
    font-weight: 650;
}

.snapshot-value {
    color: #26364c;

    font-size: 13px;
    font-weight: 750;

    overflow-wrap: anywhere;
}


.text-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
    padding: 8px 12px;
    border: 0;
    background: transparent;
    color: var(--health-muted);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.text-button:hover {
    color: var(--health-navy);
    text-decoration: underline;
}

/* ============================================================
   Advisor CTA
   ============================================================ */

.advisor-card {
    margin-top: 23px;
    padding: 21px;

    background:
        linear-gradient(
            135deg,
            #f3f8ff,
            #ffffff
        );

    border: 1px solid #d6e4f7;
    border-radius: 16px;
}

.advisor-card-content {
    display: flex;
    align-items: flex-start;

    gap: 13px;
}

.advisor-icon {
    flex: 0 0 42px;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;

    border: 1px solid #dbe7f6;
    border-radius: 12px;

    font-size: 20px;
}

.advisor-title {
    color: var(--health-navy);

    font-size: 16px;
    font-weight: 800;
}

.advisor-description {
    margin: 3px 0 0;

    color: var(--health-muted);

    font-size: 13px;
}

.lead-form {
    margin-top: 17px;
}

.mobile-input-wrap {
    display: flex;
}

.country-code {
    display: flex;
    align-items: center;

    padding: 0 12px;

    color: #56657a;

    background: #f3f6fa;

    border: 1px solid #cfd9e6;
    border-right: 0;
    border-radius: 10px 0 0 10px;

    font-size: 13px;
    font-weight: 700;
}

.mobile-input-wrap input {
    border-radius: 0 10px 10px 0;
}

.consent-row {
    display: flex;
    align-items: flex-start;

    gap: 9px;

    margin-top: 9px;

    color: #5d6a7d;

    font-size: 12px;

    cursor: pointer;
}

.consent-row input {
    flex: 0 0 auto;

    width: 16px;
    height: 16px;

    margin: 1px 0 0;

    accent-color: var(--health-primary);
}

.lead-form .primary-button {
    margin-top: 15px;
}


/* ============================================================
   Success
   ============================================================ */

.success-card {
    margin-top: 23px;
    padding: 25px;

    text-align: center;

    background: #f3fbf7;

    border: 1px solid #cdebdc;
    border-radius: 15px;
}

.success-icon {
    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 10px;

    color: var(--health-success);

    background: #e5f7ee;

    border-radius: 50%;

    font-weight: 800;
}

.success-card h3 {
    margin: 0 0 5px;

    color: #24543f;

    font-size: 18px;
}

.success-card p {
    margin: 0;

    color: #547364;

    font-size: 13px;
}


/* ============================================================
   Education
   ============================================================ */

.education-section {
    margin-top: 25px;
    padding-top: 28px;

    border-top: 1px solid var(--health-border-soft);
}

.education-header p {
    margin: 0;

    color: var(--health-muted);

    font-size: 14px;
}

.education-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 10px;

    margin-top: 17px;
}

.education-card {
    padding: 15px;

    background: #fbfcfe;

    border: 1px solid var(--health-border-soft);
    border-radius: 12px;
}

.education-icon {
    width: 29px;
    height: 29px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 8px;

    color: var(--health-primary);

    background: var(--health-primary-soft);

    border-radius: 8px;

    font-size: 13px;
    font-weight: 800;
}

.education-card h4 {
    margin: 0 0 4px;

    color: #2c3b51;

    font-size: 14px;
}

.education-card p {
    margin: 0;

    color: #6a7789;

    font-size: 12px;
    line-height: 1.5;
}

.key-takeaway {
    margin-top: 15px;
    padding: 16px 17px;

    background: #f8fafc;

    border-left: 3px solid var(--health-primary);

    border-radius: 8px;
}

.key-takeaway strong {
    color: var(--health-navy);

    font-size: 13px;
}

.key-takeaway p {
    margin: 5px 0 0;

    color: #536176;

    font-size: 13px;
}


/* ============================================================
   Footer / disclaimer
   ============================================================ */

.result-actions {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 10px;

    margin-top: 25px;
}

.assessment-disclaimer {
    max-width: 650px;

    margin: 17px auto 0;

    color: #8995a5;

    text-align: center;

    font-size: 11px;
    line-height: 1.55;
}


/* ============================================================
   Utility
   ============================================================ */

.hidden {
    display: none !important;
}


/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 760px) {

    .site-header-inner {
        width: min(100% - 28px, 1180px);
        min-height: 68px;
    }

    .site-nav a {
        display: none;
    }

    .product-pill {
        font-size: 11px;
    }

    .health-container {
        min-height: calc(100vh - 68px);

        padding: 35px 14px 52px;
    }

    .health-header {
        margin-bottom: 26px;
    }

    .health-header h1 {
        font-size: 31px;
        letter-spacing: -0.7px;
    }

    .health-intro {
        font-size: 15px;
    }

    .assessment-meta {
        gap: 7px 12px;
    }

    .question-card {
        padding: 24px 18px;
        border-radius: 17px;
    }

    .question-screen h2 {
        font-size: 25px;
    }

    .option-grid {
        grid-template-columns: 1fr;
    }

    .compact-option-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .age-row {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .button-row {
        grid-template-columns: 1fr;
    }

    .button-row .secondary-button {
        order: 2;
    }

    .button-row .primary-button {
        order: 1;
    }

    .options-exploring-grid,
    .snapshot-grid,
    .education-grid,
    .result-actions {
        grid-template-columns: 1fr;
    }

    .advisor-card {
        padding: 18px;
    }
}


@media (max-width: 430px) {

    .brand-name {
        font-size: 18px;
    }

    .brand-subtitle {
        font-size: 11px;
    }

    .product-pill {
        display: none;
    }

    .progress-meta {
        font-size: 11px;
    }

    .health-header h1 {
        font-size: 28px;
    }

    .question-card {
        padding: 21px 15px;
    }

    .option {
        min-height: 64px;
    }

    .compact-option-grid {
        grid-template-columns: 1fr;
    }

    .advisor-card-content {
        gap: 10px;
    }

    .advisor-icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }
}


/* ============================================================
   Education closing
   ============================================================ */

.education-closing {
    margin-top: 22px;
    padding: 20px 22px;

    background: #f8fafc;

    border: 1px solid var(--health-border-soft);

    border-radius: 14px;
}

.education-closing h3 {
    margin: 0 0 8px;

    color: var(--health-navy);

    font-size: 18px;
    line-height: 1.35;
}

.education-closing p {
    margin: 0;

    color: var(--health-muted);

    font-size: 13px;
    line-height: 1.6;
}

.education-closing .education-complete-note {
    margin-top: 10px;

    color: var(--health-navy);

    font-weight: 700;
}


/* ============================================================
   Reduced motion
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;
    }
}