/* ============================================================
   ELIGIBILITY CHECK - TACTILE MAXIMALISM
   Claymorphic depth, Royal Sapphire conduit, and spring physics
   for the eligibility wizard flow.
   Depends on --hiw-* variables from HowItWorksTactile.css
   ============================================================ */


/* ===========================
   1. ROYAL SAPPHIRE CONDUIT
   (Progress Indicator)
   =========================== */

.elig-conduit {
    margin-bottom: 32px;
}

.elig-conduit__label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748b;
    letter-spacing: 0.01em;
}

.elig-conduit__track {
    position: relative;
    width: 100%;
    height: 12px;
    border-radius: 6px;
    background: #e8eaf6;
    box-shadow:
        inset 2px 2px 5px rgba(0, 0, 0, 0.08),
        inset -1px -1px 3px rgba(255, 255, 255, 0.9),
        0 1px 2px rgba(255, 255, 255, 0.5);
    overflow: visible;
}

.elig-conduit__fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    border-radius: 6px;
    background: linear-gradient(
        90deg,
        var(--hiw-sapphire-light, #6366f1) 0%,
        var(--hiw-sapphire-main, #4338ca) 60%,
        var(--hiw-sapphire-dark, #312e81) 100%
    );
    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.25),
        0 2px 6px var(--hiw-sapphire-glow, rgba(67, 56, 202, 0.4));
    transition: width 550ms linear(
        0, 0.1719, 0.4986, 0.7952, 0.9887, 1.0779, 1.0939,
        1.0726, 1.0412, 1.0148, 0.9986, 0.9919, 0.9913,
        0.9937, 0.9967, 0.999, 1.0003, 1
    );
    min-width: 20px;
}

.elig-conduit__bead {
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background:
        /* Specular highlight */
        radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.9) 0%, transparent 45%),
        /* Sapphire gradient */
        linear-gradient(145deg, #a5b4fc 0%, #6366f1 40%, #4338ca 80%, #312e81 100%);
    border: 3px solid #ffffff;
    box-shadow:
        0 3px 8px var(--sapphire-main-35),
        0 1px 3px rgba(0, 0, 0, 0.15),
        inset 0 -2px 3px rgba(0, 0, 0, 0.15);
    transition: transform 550ms linear(
        0, 0.1719, 0.4986, 0.7952, 0.9887, 1.0779, 1.0939,
        1.0726, 1.0412, 1.0148, 0.9986, 0.9919, 0.9913,
        0.9937, 0.9967, 0.999, 1.0003, 1
    );
    z-index: 2;
}


/* ===========================
   2. FLOATING CLAY OPTION CARDS
   (Radio Question Options)
   =========================== */

.elig-clay-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    border-radius: 20px;
    border: none;
    background: #ffffff;
    cursor: pointer;
    box-shadow:
        5px 5px 14px rgba(0, 0, 0, 0.05),
        -3px -3px 8px rgba(255, 255, 255, 0.9),
        inset 0 1px 2px rgba(255, 255, 255, 0.6);
    transition:
        transform 450ms var(--hiw-spring-easing, ease),
        box-shadow 300ms ease,
        background 200ms ease;
    will-change: transform;
    user-select: none;
}

.elig-clay-option + .elig-clay-option {
    margin-top: 14px;
}

.elig-clay-option:hover {
    transform: translateY(-2px);
    box-shadow:
        7px 8px 18px rgba(0, 0, 0, 0.07),
        -3px -3px 10px rgba(255, 255, 255, 0.95),
        inset 0 1px 2px rgba(255, 255, 255, 0.6);
}

.elig-clay-option:active {
    transform: translateY(1px) scale(0.99);
}

.elig-clay-option--selected {
    transform: translateY(1px);
    background: linear-gradient(135deg, var(--sapphire-light-4) 0%, var(--sapphire-dark-2, rgba(67, 56, 202, 0.02)) 100%);
    box-shadow:
        inset 3px 3px 8px rgba(0, 0, 0, 0.06),
        inset -2px -2px 5px rgba(255, 255, 255, 0.7),
        1px 1px 4px rgba(0, 0, 0, 0.03);
}

.elig-clay-option--selected:hover {
    transform: translateY(1px);
    box-shadow:
        inset 3px 3px 8px rgba(0, 0, 0, 0.06),
        inset -2px -2px 5px rgba(255, 255, 255, 0.7),
        1px 1px 4px rgba(0, 0, 0, 0.03);
}

.elig-clay-option__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Unselected dimple */
.elig-clay-option__dimple {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #f1f5f9;
    box-shadow:
        inset 2px 2px 4px rgba(0, 0, 0, 0.1),
        inset -1px -1px 2px rgba(255, 255, 255, 0.8);
}

/* Selected check bead */
.elig-clay-option__check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background:
        /* Specular highlight */
        radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.9) 0%, transparent 40%),
        /* Teal gradient */
        linear-gradient(145deg, #5dd8e8 0%, #00bcd4 50%, #008c9e 100%);
    box-shadow:
        0 0 8px rgba(38, 198, 218, 0.4),
        0 2px 4px rgba(0, 80, 90, 0.2),
        inset 0 -2px 3px rgba(0, 80, 90, 0.3);
    position: relative;
}

/* Checkmark inside bead */
.elig-clay-option__check::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 12px;
    height: 12px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.6) 30%,
        rgba(255, 255, 255, 0.2) 60%,
        transparent 70%
    );
    clip-path: polygon(
        14% 50%, 28% 38%, 42% 55%,
        78% 18%, 90% 30%, 42% 80%
    );
    filter: drop-shadow(0 1px 1px rgba(0, 60, 70, 0.3));
}

.elig-clay-option__label {
    font-size: 0.95rem;
    font-weight: 400;
    color: #1e293b;
    line-height: 1.4;
}

.elig-clay-option--selected .elig-clay-option__label {
    font-weight: 500;
    color: #0f172a;
}

/* Fast-track CTA link */
.elig-fast-track {
    margin-top: 32px;
    padding: 10px 16px;
    border-radius: 12px;
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
}

.elig-fast-track-link {
    color: #4338ca;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: rgba(67, 56, 202, 0.3);
    transition: text-decoration-color 0.8s ease, color 0.8s ease, font-weight 0.8s ease,
        background-color 0.8s ease, padding 0.8s ease;
    border-radius: 6px;
}

.elig-fast-track-link:hover {
    text-decoration-color: rgba(67, 56, 202, 0.8);
}

/* Highlight after idle - applied to the <a> for GTM click tracking */
.elig-fast-track-link.elig-fast-track--highlight {
    color: #3730a3;
    font-weight: 500;
    text-decoration-color: rgba(67, 56, 202, 0.7);
    background: rgba(99, 102, 241, 0.06);
    padding: 4px 8px;
}


/* ===========================
   3. FLOATING CLAY GOAL CARDS
   (Form Selection Step)
   =========================== */

.elig-goal-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 28px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #ffffff;
    cursor: pointer;
    height: 100%;
    box-shadow:
        var(--clay-shadow-rest,
            0 2px 32px rgba(0, 0, 0, 0.04),
            0 8px 48px rgba(0, 0, 0, 0.02),
            inset -4px -4px 10px rgba(255, 255, 255, 0.90),
            inset 4px 4px 10px rgba(0, 0, 0, 0.03)
        );
    transition:
        transform 550ms var(--hiw-spring-easing, ease),
        box-shadow 550ms var(--hiw-spring-easing, ease);
    will-change: transform;
}

.elig-goal-card:hover {
    transform: scale(0.98);
    box-shadow:
        var(--clay-shadow-hover,
            0 1px 20px rgba(0, 0, 0, 0.03),
            0 4px 36px rgba(0, 0, 0, 0.02),
            inset -4px -4px 10px rgba(255, 255, 255, 0.60),
            inset 8px 8px 14px rgba(0, 0, 0, 0.05)
        );
}

.elig-goal-card:active {
    transform: scale(0.97);
    box-shadow:
        0 1px 12px rgba(0, 0, 0, 0.02),
        inset -3px -3px 8px rgba(255, 255, 255, 0.50),
        inset 10px 10px 18px rgba(0, 0, 0, 0.06);
}

.elig-goal-card:focus-visible {
    outline: 3px solid #4338ca;
    outline-offset: 2px;
}

.elig-goal-card--disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f8fafc;
    box-shadow:
        2px 2px 6px rgba(0, 0, 0, 0.03),
        inset 0 1px 2px rgba(255, 255, 255, 0.4);
}

.elig-goal-card--disabled:hover {
    transform: none;
    box-shadow:
        2px 2px 6px rgba(0, 0, 0, 0.03),
        inset 0 1px 2px rgba(255, 255, 255, 0.4);
}

.elig-goal-card__icon-well {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    flex-shrink: 0;
    color: var(--hiw-sapphire-main, #4338ca);
    background: var(--clay-well-bg, linear-gradient(145deg, #F8F9FA 0%, #EEF0F2 100%));
    box-shadow: var(--clay-shadow-well,
        inset 2px 2px 6px rgba(0, 0, 0, 0.04),
        inset -2px -2px 4px rgba(255, 255, 255, 0.90),
        0 2px 8px rgba(0, 0, 0, 0.04)
    );
}

.elig-goal-card__text {
    flex: 1;
    min-width: 0;
}

.elig-goal-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.elig-goal-card__subtitle {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.4;
    margin-top: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Arrow chevron */
.elig-goal-card__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #9ca3af;
    transition: transform 300ms ease, color 200ms ease;
}

.elig-goal-card:hover .elig-goal-card__arrow {
    transform: translateX(4px);
    color: #4338ca;
}

/* --- Frosted Glass for "Coming Soon" --- */
.elig-goal-card--frosted {
    position: relative;
    opacity: 1;
    cursor: not-allowed;
    pointer-events: none;
    overflow: hidden;
    justify-content: center;
    border: 1px dashed #d1d5db;
    background:
        repeating-linear-gradient(
            45deg,
            #f9fafb,
            #f9fafb 10px,
            #f3f4f6 10px,
            #f3f4f6 20px
        );
}

.elig-goal-card--frosted::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(248, 250, 252, 0.55);
    backdrop-filter: blur(2px) saturate(0.8);
    -webkit-backdrop-filter: blur(2px) saturate(0.8);
    z-index: 1;
}

.elig-goal-card--frosted::after {
    content: 'Coming Soon';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #475569;
    background: rgba(255, 255, 255, 0.92);
    padding: 6px 18px;
    border-radius: 20px;
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.08),
        inset 0 1px 1px rgba(255, 255, 255, 0.9);
    z-index: 2;
}

.elig-goal-card--frosted:hover {
    transform: none;
}


/* ===========================
   4. VERIFICATION TRAY
   (Requirements Section)
   =========================== */

.elig-verify-tray {
    padding: 32px;
    border-radius: 24px;
    background: #ffffff;
    margin-bottom: 24px;
    box-shadow:
        0 2px 12px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.elig-verify-tray__heading {
    font-size: 1.35rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 20px;
}

.elig-verify-tray__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.elig-verify-chip {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow:
        3px 3px 8px rgba(0, 0, 0, 0.04),
        -2px -2px 5px rgba(255, 255, 255, 0.9),
        inset 0 1px 1px rgba(255, 255, 255, 0.6);
    transition: transform 300ms ease;
}

.elig-verify-chip:hover {
    transform: translateY(-1px);
}

.elig-verify-chip__bead {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
    background:
        /* Specular highlight */
        radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.85) 0%, transparent 40%),
        /* Green gradient */
        linear-gradient(145deg, #81c784 0%, #4caf50 50%, #388e3c 100%);
    box-shadow:
        0 2px 5px rgba(76, 175, 80, 0.3),
        0 1px 2px rgba(0, 0, 0, 0.1),
        inset 0 -2px 3px rgba(27, 94, 32, 0.25);
    position: relative;
}

/* Checkmark in green bead */
.elig-verify-chip__bead::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 5px;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.9);
    clip-path: polygon(
        14% 50%, 28% 38%, 42% 55%,
        78% 18%, 90% 30%, 42% 80%
    );
    filter: drop-shadow(0 1px 1px rgba(0, 50, 0, 0.2));
}

.elig-verify-chip__text {
    font-size: 0.9rem;
    font-weight: 450;
    color: #334155;
    line-height: 1.4;
}


/* ===========================
   4B. VALUE STACK
   (Why Check Section - Benefit Grid)
   =========================== */

.elig-value-stack {
    padding: 32px;
    border-radius: 24px;
    background: #f8fafc;
    margin-bottom: 32px;
    box-shadow:
        inset 4px 4px 10px rgba(0, 0, 0, 0.05),
        inset -2px -2px 6px rgba(255, 255, 255, 1),
        0 1px 2px rgba(255, 255, 255, 0.5);
}

.elig-value-stack__heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    text-align: center;
    letter-spacing: -0.025em;
    margin-bottom: 24px;
}

.elig-value-stack__intro {
    font-size: 0.95rem;
    color: #475569;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 24px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.elig-value-stack__subheading {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    text-align: center;
    margin-bottom: 20px;
}

.elig-value-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.elig-value-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow:
        4px 4px 10px rgba(0, 0, 0, 0.04),
        -2px -2px 6px rgba(255, 255, 255, 0.9),
        inset 0 1px 1px rgba(255, 255, 255, 0.6);
    transition: transform 300ms ease;
}

.elig-value-card:hover {
    transform: translateY(-2px);
}

/* Last card in odd-count grid stays in first column (no centering) */

.elig-value-card__bead {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 1px;
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.85) 0%, transparent 40%),
        linear-gradient(145deg, #a78bfa 0%, #7c3aed 50%, #6d28d9 100%);
    box-shadow:
        0 2px 6px rgba(124, 58, 237, 0.35),
        0 1px 2px rgba(0, 0, 0, 0.1),
        inset 0 -2px 3px rgba(91, 33, 182, 0.25);
    position: relative;
}

.elig-value-card__bead::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 6px;
    width: 11px;
    height: 11px;
    background: rgba(255, 255, 255, 0.9);
    clip-path: polygon(
        14% 50%, 28% 38%, 42% 55%,
        78% 18%, 90% 30%, 42% 80%
    );
    filter: drop-shadow(0 1px 1px rgba(49, 10, 101, 0.2));
}

.elig-value-card__text {
    font-size: 0.85rem;
    font-weight: 450;
    color: #334155;
    line-height: 1.45;
}

@media (max-width: 599px) {
    .elig-value-stack {
        padding: 20px 16px;
        border-radius: 20px;
    }

    .elig-value-grid {
        grid-template-columns: 1fr;
    }

    .elig-value-card {
        padding: 14px 16px;
        border-radius: 14px;
    }

    .elig-value-stack__heading {
        font-size: 1.25rem;
    }
}


/* ===========================
   4C. FORM INFO CARDS
   (About Forms Section)
   =========================== */

.elig-form-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 28px;
    border-radius: 28px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: linear-gradient(90deg, rgba(67, 56, 202, 0.04) 0%, #ffffff 40%);
    box-shadow:
        var(--clay-shadow-rest,
            0 2px 32px rgba(0, 0, 0, 0.04),
            0 8px 48px rgba(0, 0, 0, 0.02),
            inset -4px -4px 10px rgba(255, 255, 255, 0.90),
            inset 4px 4px 10px rgba(0, 0, 0, 0.03)
        );
    transition:
        transform 550ms var(--hiw-spring-easing, ease),
        box-shadow 550ms var(--hiw-spring-easing, ease);
    will-change: transform;
}

.elig-form-card:hover {
    transform: scale(0.98);
    box-shadow:
        var(--clay-shadow-hover,
            0 1px 20px rgba(0, 0, 0, 0.03),
            0 4px 36px rgba(0, 0, 0, 0.02),
            inset -4px -4px 10px rgba(255, 255, 255, 0.60),
            inset 8px 8px 14px rgba(0, 0, 0, 0.05)
        );
}


.elig-form-card__icon-well {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
    color: var(--hiw-sapphire-main, #4338ca);
    background: var(--clay-well-bg, linear-gradient(145deg, #F8F9FA 0%, #EEF0F2 100%));
    box-shadow: var(--clay-shadow-well,
        inset 2px 2px 6px rgba(0, 0, 0, 0.04),
        inset -2px -2px 4px rgba(255, 255, 255, 0.90),
        0 2px 8px rgba(0, 0, 0, 0.04)
    );
}

/* Body content */
.elig-form-card__body {
    flex: 1;
    min-width: 0;
}

.elig-form-card__overline {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--hiw-sapphire-main, #4338ca);
    margin-bottom: 2px;
}

.elig-form-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
    margin-bottom: 6px;
}

.elig-form-card__description {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 12px;
}

.elig-form-card__req-heading {
    font-size: 0.75rem;
    font-weight: 600;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

.elig-form-card__req-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.elig-form-card__req-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.82rem;
    color: #475569;
    line-height: 1.4;
}

.elig-form-card__req-bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 5px;
    background: var(--hiw-sapphire-main, #4338ca);
    opacity: 0.5;
}

/* Staggered column container for form cards */
.elig-forms-staggered {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 900px;
    margin: 0 auto;
}

/* Related form link wrapper */
.elig-related-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}


/* ===========================
   4D. HOW IT WORKS STEPS
   (Connected Step Cards)
   =========================== */

.elig-steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Connector track behind step badges */
.elig-steps-container::before {
    content: '';
    position: absolute;
    top: 46px;
    left: calc(16.67% + 24px);
    right: calc(16.67% + 24px);
    height: 4px;
    border-radius: 2px;
    background: #e5e7eb;
    z-index: 0;
}

.elig-step-card {
    padding: 24px 20px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.04),
        0 8px 12px -3px rgba(0, 0, 0, 0.02);
    text-align: center;
    position: relative;
    z-index: 1;
}

.elig-step-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 16px;
    border: 4px solid #ffffff;
    background: linear-gradient(
        145deg,
        var(--hiw-sapphire-light, #6366f1) 0%,
        var(--hiw-sapphire-main, #4338ca) 60%,
        var(--hiw-sapphire-dark, #312e81) 100%
    );
    box-shadow:
        0 4px 10px var(--sapphire-main-35),
        0 2px 4px rgba(0, 0, 0, 0.1),
        inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.elig-step-card__title {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.elig-step-card__desc {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.5;
}

@media (max-width: 599px) {
    .elig-steps-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .elig-steps-container::before {
        display: none;
    }

    .elig-step-card {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .elig-form-card {
        padding: 20px;
        border-radius: 16px;
    }

}


/* ===========================
   4E. FAQ "PILLOW STACK"
   (Separated Card Accordion)
   =========================== */

.elig-faq-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.elig-faq-container .MuiAccordion-root {
    border-radius: 16px !important;
    margin: 0 !important;
    border: 1px solid rgba(0, 0, 0, 0.04);
    background: #ffffff;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.04),
        0 8px 12px -3px rgba(0, 0, 0, 0.02);
    transition:
        box-shadow 300ms ease,
        transform 300ms ease;
}

.elig-faq-container .MuiAccordion-root:hover {
    transform: translateY(-2px);
    box-shadow:
        0 10px 15px -3px rgba(0, 0, 0, 0.08),
        0 4px 8px -4px rgba(0, 0, 0, 0.02);
}

.elig-faq-container .MuiAccordion-root.Mui-expanded {
    box-shadow:
        0 10px 20px -5px rgba(0, 0, 0, 0.08),
        0 4px 8px -4px rgba(0, 0, 0, 0.03);
}

.elig-faq-container .MuiAccordionSummary-root {
    min-height: 64px;
    padding: 8px 24px;
    border-radius: 16px;
}

.elig-faq-container .MuiAccordionSummary-content {
    margin: 16px 0;
}

.elig-faq-container .MuiAccordionDetails-root {
    padding: 0 24px 24px;
}


/* ===========================
   5. CONTROL PAD
   (CTA Button Container)
   =========================== */

.elig-control-pad {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    border-radius: 24px;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    box-shadow:
        5px 5px 14px rgba(0, 0, 0, 0.05),
        -3px -3px 8px rgba(255, 255, 255, 0.9),
        inset 0 1px 2px rgba(255, 255, 255, 0.7);
}


/* ===========================
   6. WIZARD CARD
   (Page-level Container)
   =========================== */

.elig-wizard-card {
    padding: 24px;
    border-radius: 24px;
    background: #ffffff;
    margin-bottom: 48px;
    box-shadow:
        8px 8px 24px var(--sapphire-light-8),
        -4px -4px 12px rgba(255, 255, 255, 0.9),
        0 4px 16px rgba(0, 0, 0, 0.06),
        inset 0 1px 2px rgba(255, 255, 255, 0.6);
    border: 1px solid var(--sapphire-light-15);
}

@media (min-width: 600px) {
    .elig-wizard-card {
        padding: 40px;
    }
}


/* ===========================
   7. QUESTION HEADING
   (Conversational Typography)
   =========================== */

.elig-question-heading {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.35;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    text-align: center;
}

/* Utility: Tight tracking for section headings */
.elig-tight-heading {
    letter-spacing: -0.025em;
}

/* Tool link shown below question subtitle */
.elig-tool-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #4f46e5;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 8px;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.elig-tool-link:hover {
    background: #e0e7ff;
    border-color: #a5b4fc;
    text-decoration: none;
}

@media (max-width: 599px) {
    .elig-question-heading {
        font-size: 1.25rem;
    }
}


/* ===========================
   8. RESPONSIVE
   =========================== */

@media (max-width: 599px) {
    .elig-conduit__bead {
        width: 16px;
        height: 16px;
        right: -8px;
        border-width: 2px;
    }

    .elig-conduit__track {
        height: 10px;
        border-radius: 5px;
    }

    .elig-conduit__fill {
        border-radius: 5px;
        min-width: 16px;
    }

    .elig-clay-option {
        padding: 16px 18px;
        border-radius: 16px;
    }

    .elig-goal-card {
        padding: 14px 16px;
        border-radius: 20px;
    }

    .elig-verify-tray {
        padding: 20px 16px;
        border-radius: 20px;
    }

    .elig-verify-chip {
        padding: 12px 14px;
        border-radius: 14px;
    }

    .elig-control-pad {
        padding: 12px 16px;
        border-radius: 20px;
    }
}


/* ===========================
   9. REDUCED MOTION
   =========================== */

@media (prefers-reduced-motion: reduce) {
    .elig-conduit__fill {
        transition: none;
    }

    .elig-conduit__bead {
        transition: none;
    }

    .elig-clay-option,
    .elig-goal-card,
    .elig-goal-card__arrow,
    .elig-verify-chip,
    .elig-value-card,
    .elig-form-card {
        transition: none;
    }

    .elig-clay-option:hover,
    .elig-goal-card:hover,
    .elig-verify-chip:hover,
    .elig-value-card:hover,
    .elig-form-card:hover {
        transform: none;
    }

    .elig-goal-card:hover .elig-goal-card__arrow {
        transform: none;
    }
}
