/*
 * CoreLife landing page styles.
 * CSS was moved out of index.html.
 * Large embedded base64 font declarations were removed and fonts are now connected in the HTML head.
 */

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

        :root {
            --maple: #071a2f;
            --maple-dark: #03101f;
            --gold: #FFC107;
            --gold-light: #FFD54F;
            --navy: #03101f;
            --navy-mid: #071a2f;
            --cream: #F1F8F4;
            --white: #FFFFFF;
            --text: #1A2E1A;
            --text-muted: #5A6A5A;
            --radius: 16px
        }

        html {
            scroll-behavior: smooth
        }

        body {
            font-family: "DM Sans", sans-serif;
            background: var(--cream);
            color: var(--text);
            overflow-x: hidden
        }

        .ad-bar {
            background: #111;
            color: #fff;
            text-align: center;
            padding: 10px 20px;
            font-size: .82rem;
            font-weight: 600;
            letter-spacing: 1px;
            border-bottom: 3px solid var(--maple)
        }

        .ad-pill {
            display: inline-block;
            background: var(--maple);
            color: #fff;
            padding: 2px 10px;
            border-radius: 4px;
            margin-right: 8px;
            font-size: .72rem;
            letter-spacing: 2px;
            text-transform: uppercase
        }

        header {
            background: var(--navy);
            padding: 14px 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 2px 20px rgba(0, 0, 0, .35)
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none
        }

        .logo-text {
            display: flex;
            flex-direction: column;
            line-height: 1
        }

        .logo-text span:first-child {
            font-family: "Playfair Display", serif;
            font-weight: 900;
            font-size: 1.35rem;
            color: #fff
        }

        .logo-text span:last-child {
            font-size: .68rem;
            color: var(--gold);
            letter-spacing: 2.5px;
            text-transform: uppercase;
            font-weight: 500;
            margin-top: 2px
        }

        .header-badge {
            background: var(--maple);
            color: #fff;
            font-size: .72rem;
            font-weight: 600;
            padding: 6px 14px;
            border-radius: 50px;
            text-transform: uppercase;
            animation: pulse 2.5s ease-in-out infinite
        }

        @keyframes pulse {

            0%,
            100% {
                box-shadow: 0 0 0 0 rgba(46, 125, 50, .4)
            }

            50% {
                box-shadow: 0 0 0 8px rgba(46, 125, 50, 0)
            }
        }

        @keyframes fadeDown {
            from {
                opacity: 0;
                transform: translateY(-16px)
            }

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

        @keyframes fadeUp {
            from {
                opacity: 0;
                transform: translateY(20px)
            }

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

        .hero {
            background: linear-gradient(160deg, var(--navy) 0%, #2D6A4F 60%, #1B4332 100%);
            position: relative;
            overflow: hidden
        }

        .hero::before {
            content: "";
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse 70% 50%at 50% 20%, rgba(212, 168, 67, .1) 0%, transparent 70%);
            pointer-events: none
        }

        .hero-body {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 52px 24px 32px;
            text-align: center;
            max-width: 820px;
            margin: 0 auto
        }

        .hero-eyebrow {
            display: inline-block;
            background: rgba(212, 168, 67, .18);
            border: 1px solid rgba(212, 168, 67, .4);
            color: var(--gold-light);
            font-size: .78rem;
            font-weight: 600;
            letter-spacing: 2px;
            text-transform: uppercase;
            padding: 6px 18px;
            border-radius: 50px;
            margin-bottom: 20px;
            animation: fadeDown .6s ease both
        }

        .hero h1 {
            font-family: "Playfair Display", serif;
            font-size: clamp(1.9rem, 5vw, 3.2rem);
            font-weight: 900;
            color: #fff;
            line-height: 1.15;
            margin-bottom: 18px;
            animation: fadeDown .7s .1s ease both
        }

        .hero h1 em {
            font-style: normal;
            color: var(--gold)
        }

        .hero-sub {
            font-size: 1.05rem;
            color: rgba(255, 255, 255, .8);
            max-width: 560px;
            margin: 0 auto 30px;
            line-height: 1.7;
            animation: fadeDown .7s .2s ease both
        }

        .hero-family {
            width: 100%;
            max-width: 680px;
            margin: 0 auto;
            animation: fadeUp .8s .3s ease both
        }

        .sales {
            background: var(--white);
            padding: 60px 24px
        }

        .sales-inner {
            max-width: 760px;
            margin: 0 auto
        }

        .sales h2 {
            font-family: "Playfair Display", serif;
            font-size: clamp(1.5rem, 4vw, 2.2rem);
            color: var(--navy);
            margin-bottom: 20px;
            text-align: center;
            line-height: 1.25
        }

        .sales h2 em {
            font-style: normal;
            color: var(--maple)
        }

        .sales-lead {
            font-size: 1.08rem;
            line-height: 1.8;
            color: var(--text);
            margin-bottom: 18px
        }

        .sales-lead strong {
            color: var(--maple)
        }

        .eligibility-box {
            background: #F0F9F4;
            border: 2px solid var(--maple);
            border-radius: 12px;
            padding: 24px 28px;
            margin: 28px 0;
            font-size: 1rem;
            line-height: 1.8;
            color: var(--navy)
        }

        .elig-title {
            font-family: "Playfair Display", serif;
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--maple);
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 8px
        }

        .tick {
            color: var(--maple);
            font-weight: 700;
            margin-right: 4px
        }

        .sales-body {
            font-size: 1rem;
            line-height: 1.8;
            color: #333;
            margin-bottom: 14px
        }

        .sales-cta-note {
            font-size: 1rem;
            font-weight: 600;
            color: var(--navy);
            line-height: 1.7;
            margin-bottom: 8px;
            font-style: italic
        }

        .quiz-section {
            background: var(--cream);
            padding: 60px 20px 80px
        }

        .quiz-header {
            text-align: center;
            margin-bottom: 36px
        }

        .quiz-header .steps-pre {
            font-size: .82rem;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: var(--maple);
            font-weight: 700;
            margin-bottom: 10px
        }

        .quiz-header h2 {
            font-family: "Playfair Display", serif;
            font-size: clamp(1.6rem, 4vw, 2.4rem);
            color: var(--navy);
            margin-bottom: 10px
        }

        .quiz-header p {
            color: var(--text-muted);
            font-size: .95rem
        }

        .step-instructions {
            max-width: 680px;
            margin: 0 auto 36px;
            display: flex;
            flex-direction: column;
            gap: 12px
        }

        .step-row {
            display: flex;
            align-items: flex-start;
            gap: 14px;
            background: var(--white);
            border-radius: 12px;
            padding: 16px 20px;
            box-shadow: 0 2px 12px rgba(11, 30, 61, .06)
        }

        .step-num-badge {
            width: 32px;
            height: 32px;
            background: var(--maple);
            color: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: .9rem;
            flex-shrink: 0
        }

        .step-row p {
            font-size: .93rem;
            color: var(--text);
            line-height: 1.55
        }

        .step-row p strong {
            color: var(--navy)
        }

        .age-select-title {
            text-align: center;
            font-family: "Playfair Display", serif;
            font-size: 1.65rem;
            font-weight: 700;
            color: var(--navy);
            margin-bottom: 28px
        }

        .age-cards {
            display: flex;
            justify-content: center;
            gap: 14px;
            flex-wrap: wrap;
            max-width: 780px;
            margin: 0 auto
        }

        .age-card {
            background: var(--white);
            border: 3px solid var(--maple);
            border-radius: 14px;
            width: 162px;
            padding: 20px 12px 16px;
            text-align: center;
            cursor: pointer;
            text-decoration: none;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
            transition: all .22s ease;
            position: relative;
            overflow: hidden
        }

        .age-card:hover,
        .age-card:focus {
            background: var(--maple);
            transform: translateY(-4px);
            box-shadow: 0 14px 32px rgba(46, 125, 50, .3);
            outline: none
        }

        .age-card .age-label {
            font-family: "Playfair Display", serif;
            font-size: 1.75rem;
            font-weight: 900;
            color: var(--maple);
            line-height: 1;
            transition: color .22s
        }

        .age-card:hover .age-label,
        .age-card:focus .age-label {
            color: #fff
        }

        .age-card .age-sublabel {
            font-size: .72rem;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: var(--text-muted);
            font-weight: 600;
            transition: color .22s
        }

        .age-card:hover .age-sublabel,
        .age-card:focus .age-sublabel {
            color: rgba(255, 255, 255, .75)
        }

        .age-card svg {
            width: 110px;
            height: 120px
        }

        .quiz-note {
            text-align: center;
            font-size: .78rem;
            color: var(--text-muted);
            margin-top: 22px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px
        }

        .benefits {
            background: var(--navy);
            padding: 70px 20px;
            text-align: center
        }

        .section-eyebrow {
            font-size: .75rem;
            letter-spacing: 3px;
            text-transform: uppercase;
            color: var(--gold);
            font-weight: 600;
            margin-bottom: 14px
        }

        .benefits h2 {
            font-family: "Playfair Display", serif;
            font-size: clamp(1.6rem, 4vw, 2.4rem);
            color: #fff;
            margin-bottom: 50px
        }

        .benefits-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 24px;
            max-width: 900px;
            margin: 0 auto
        }

        .benefit-card {
            background: rgba(255, 255, 255, .06);
            border: 1px solid rgba(255, 255, 255, .09);
            border-radius: var(--radius);
            padding: 32px 24px;
            text-align: center;
            transition: transform .2s, background .2s
        }

        .benefit-card:hover {
            transform: translateY(-4px);
            background: rgba(255, 255, 255, .1)
        }

        .benefit-icon {
            width: 56px;
            height: 56px;
            border-radius: 14px;
            background: linear-gradient(135deg, var(--maple), var(--maple-dark));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.6rem;
            margin: 0 auto 18px
        }

        .benefit-card h3 {
            font-family: "Playfair Display", serif;
            font-size: 1.1rem;
            color: #fff;
            margin-bottom: 8px
        }

        .benefit-card p {
            font-size: .88rem;
            color: rgba(255, 255, 255, .6);
            line-height: 1.6
        }

        .stats-band {
            background: linear-gradient(135deg, var(--maple), var(--maple-dark));
            padding: 50px 20px
        }

        .stats-inner {
            max-width: 900px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
            gap: 24px;
            text-align: center
        }

        .stat-item h3 {
            font-family: "Playfair Display", serif;
            font-size: 2.4rem;
            font-weight: 900;
            color: #fff;
            margin-bottom: 6px
        }

        .stat-item p {
            font-size: .82rem;
            color: rgba(255, 255, 255, .8);
            text-transform: uppercase;
            letter-spacing: 1.5px
        }

        .testimonials {
            background: #E8F5E9;
            padding: 70px 20px;
            text-align: center
        }

        .testimonials h2 {
            font-family: "Playfair Display", serif;
            font-size: clamp(1.6rem, 4vw, 2.2rem);
            color: var(--navy);
            margin-bottom: 40px
        }

        .testi-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 20px;
            max-width: 900px;
            margin: 0 auto
        }

        .testi-card {
            background: #fff;
            border-radius: var(--radius);
            padding: 28px 24px;
            text-align: left;
            box-shadow: 0 4px 20px rgba(11, 30, 61, .07);
            border-left: 4px solid var(--maple)
        }

        .stars {
            color: var(--gold);
            font-size: 1rem;
            margin-bottom: 12px
        }

        .testi-text {
            font-size: .92rem;
            color: var(--text);
            line-height: 1.65;
            font-style: italic;
            margin-bottom: 16px
        }

        .testi-author {
            display: flex;
            align-items: center;
            gap: 10px
        }

        .testi-avatar {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--navy), var(--maple));
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-weight: 700;
            font-size: .85rem;
            flex-shrink: 0
        }

        .testi-name {
            font-weight: 600;
            font-size: .88rem;
            color: var(--navy)
        }

        .testi-loc {
            font-size: .78rem;
            color: var(--text-muted)
        }

        .cta-banner {
            background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
            padding: 70px 20px;
            text-align: center;
            position: relative;
            overflow: hidden
        }

        .cta-banner::before {
            content: "";
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse 60% 80%at 50% 50%, rgba(46, 125, 50, .15) 0%, transparent 70%)
        }

        .cta-banner h2 {
            font-family: "Playfair Display", serif;
            font-size: clamp(1.7rem, 4vw, 2.6rem);
            color: #fff;
            margin-bottom: 14px;
            position: relative
        }

        .cta-banner p {
            color: rgba(255, 255, 255, .7);
            margin-bottom: 32px;
            font-size: 1rem;
            position: relative
        }

        .cta-big-btn {
            display: inline-block;
            background: linear-gradient(135deg, var(--gold), #FFA000);
            color: var(--navy);
            text-decoration: none;
            font-weight: 700;
            font-size: 1.1rem;
            padding: 18px 40px;
            border-radius: 12px;
            position: relative;
            transition: all .2s;
            animation: pulse 2.5s ease-in-out infinite
        }

        .cta-big-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(212, 168, 67, .4)
        }

        footer {
            background: var(--navy);
            border-top: 1px solid rgba(255, 255, 255, .08);
            padding: 32px 24px;
            text-align: center
        }

        .footer-logo {
            display: flex;
            align-items: center;
            gap: 10px;
            justify-content: center;
            margin-bottom: 20px
        }

        .footer-logo span {
            font-family: "Playfair Display", serif;
            font-weight: 900;
            font-size: 1.2rem;
            color: #fff
        }

        .footer-links {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 8px 20px;
            margin-bottom: 18px
        }

        .footer-links a {
            color: rgba(255, 255, 255, .55);
            text-decoration: none;
            font-size: .8rem;
            transition: color .2s;
            cursor: pointer
        }

        .footer-links a:hover {
            color: var(--gold)
        }

        .footer-copy {
            color: rgba(255, 255, 255, 0.724);
            font-size: .75rem;
            line-height: 1.7;
            max-width: 600px;
            margin: 0 auto
        }

        .modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, .6);
            z-index: 1000;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            opacity: 0;
            pointer-events: none;
            transition: opacity .3s
        }

        .modal {
            background: #fff;
            border-radius: var(--radius);
            max-width: 580px;
            width: 100%;
            max-height: 80vh;
            overflow-y: auto;
            padding: 40px;
            position: relative;
            transform: scale(.95) translateY(10px);
            transition: transform .3s;
            box-shadow: 0 20px 60px rgba(0, 0, 0, .3)
        }

        .modal-close {
            position: absolute;
            top: 16px;
            right: 16px;
            background: #E8F5E9;
            border: none;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-muted);
            transition: background .2s
        }

        .modal-close:hover {
            background: #E8F5E9
        }

        .modal h3 {
            font-family: "Playfair Display", serif;
            font-size: 1.4rem;
            color: var(--navy);
            margin-bottom: 16px;
            padding-right: 30px
        }

        .modal-content {
            font-size: .88rem;
            color: var(--text-muted);
            line-height: 1.75
        }

        @media (max-width:600px) {
            .age-cards {
                gap: 10px
            }

            .age-card {
                width: 142px
            }

            .age-card svg {
                width: 90px;
                height: 100px
            }
        }

        @media (max-width:400px) {
            .age-card {
                width: calc(50% - 8px)
            }
        }

/* Extracted inline styles */
.logo__image {
    height: 42px;
    width: auto;
}

.hero-family__illustration {
    width: 100%;
    display: block;
}

.section-eyebrow--maple {
    color: var(--maple);
}

.footer-logo__image {
    height: 28px;
    width: auto;
}

.footer-copy__label {
    color: rgb(255, 255, 255);
}

.modal-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay.is-visible .modal {
    transform: scale(1) translateY(0);
}
