:root {
    --mint: #eef6f1;
    --mint-2: #e6f1eb;
    --deep: #103b33;
    --deep-70: rgba(16,59,51,.82);
    --deep-60: rgba(16,59,51,.65);
    --brand: #2d7a56;
    --brand-strong: #226548;
    --brand-lite: #cfe6dc;
    --card: #ffffff;
    --shadow: 0 10px 28px rgba(16,59,51,.08);
    --anchor-offset: 40px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--anchor-offset);
}

body {
    font-family: "Merriweather",serif;
    color: var(--deep);
    background: var(--mint);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.text-deep {
    color: var(--deep) !important;
}

.text-deep-70 {
    color: var(--deep-70) !important;
}

.text-deep-60 {
    color: var(--deep-60) !important;
}

.bg-mint {
    background: var(--mint);
}

#experts, #contact, #login, #create-account {
    scroll-margin-top: var(--anchor-offset);
}

/* Navbar */
.nav-mint {
    background: var(--mint);
    box-shadow: none;
}

.navbar .nav-link {
    font-weight: 800;
    letter-spacing: .3px;
}

.navbar .navbar-toggler {
    filter: invert(30%);
}

.brand-mark {
    height: 56px;
}

.brand-text {
    font-weight: 900;
    letter-spacing: .2px;
    font-size: clamp(1.5rem,2vw + 1rem,2.15rem);
}

/* Hero */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-bottom: 4rem;
}

.hero-mint {
    background: var(--mint);
}

.display-welcome {
    font-weight: 900;
    line-height: 1.05;
    font-size: clamp(2.35rem,2.2vw + 2rem,3.4rem);
    letter-spacing: .1px;
}

.subhead {
    font-weight: 700;
    line-height: 1.35;
}

.hero-bullets {
    list-style: none;
    padding-left: 0;
    margin-top: 1.25rem;
    max-width: 580px;
}

    .hero-bullets li {
        display: flex;
        align-items: flex-start;
        gap: .75rem;
        margin-bottom: 1rem;
    }

    .hero-bullets i {
        color: var(--brand);
        font-size: 1.05rem;
        position: relative;
        top: .3rem;
    }

/* Hero visual */
.king-stage {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
}

.king-circle {
    position: absolute;
    top: 6%;
    left: 50%;
    transform: translateX(-50%);
    width: 78%;
    aspect-ratio: 1/1;
    background: #d6e9df;
    border-radius: 999px;
    z-index: 1;
    filter: drop-shadow(0 12px 24px rgba(16,59,51,.1));
}

.king-img {
    position: relative;
    z-index: 2;
    max-height: 520px;
    width: auto;
    display: block;
    margin-inline: auto;
}

/* CTAs */
.btn-cta-green {
    background: var(--brand);
    color: #fff;
    font-weight: 900;
    border-radius: 999px;
    padding: .65rem 1.25rem;
    box-shadow: 0 8px 20px rgba(45,122,86,.25);
    border: 1px solid rgba(0,0,0,.05);
}

    .btn-cta-green:hover {
        background: var(--brand-strong);
        color: #fff;
    }

.btn-cta-solid {
    background: var(--brand);
    color: #fff;
    font-weight: 900;
    border-radius: 1rem;
    box-shadow: 0 12px 28px rgba(45,122,86,.28);
    border: 1px solid rgba(0,0,0,.05);
}

    .btn-cta-solid:hover {
        background: var(--brand-strong);
        color: #fff;
    }

.btn-subscribe {
    position: absolute;
    z-index: 4;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 18px 32px;
    font-size: 1.5rem;
}

/* Benefits */
.benefits {
    background: linear-gradient(to bottom,var(--mint) 0% 30%,#fff 30% 100%);
    padding-bottom: 5rem;
    position: relative;
    z-index: 3;
}

.overlap-up {
    margin-top: -64px;
}

.benefit-card {
    background: var(--card);
    border-radius: 18px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(16,59,51,.08);
}

.benefit-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    font-size: 20px;
    background: var(--brand-lite);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ================================
   Meet the Experts — Team Cards (collapsible bios)
   ================================ */
.experts {
    background: linear-gradient(to bottom, var(--brand) 0% 38%, #fff 38% 100%);
    padding-top: 56px !important;
    padding-bottom: 72px !important;
}

.experts-header h2 {
    font-size: 2.25rem;
    letter-spacing: 1px;
}

.teamcard {
    background: #fff;
    border: 1px solid rgba(16,59,51,.08);
    border-radius: 24px;
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.teamcard-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--mint-2);
    border-bottom: 1px solid rgba(16,59,51,.08);
}

.teamcard-media {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    overflow: hidden;
    flex: 0 0 auto;
    background: #e9f3ee;
    display: none; /* enable later if you add images */
}

    .teamcard-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.teamcard-title h3 {
    font-size: 1.05rem;
}

.teamcard-title .small {
    margin-top: 2px;
}

.teamcard-body {
    padding: 14px 16px 0;
}

.teamcard-foot {
    padding: 12px 16px 16px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
}

.btn-teamcard {
    background: var(--brand);
    color: #fff;
    font-weight: 800;
    border-radius: 12px;
    padding: .5rem .85rem;
    border: 1px solid rgba(0,0,0,.04);
    box-shadow: 0 8px 18px rgba(45,122,86,.22);
}

    .btn-teamcard:hover {
        background: var(--brand-strong);
        color: #fff;
    }

@media (min-width: 768px) {
    .row.g-4 > [class*="col-"] > .teamcard {
        height: 100%;
    }
}

@media (max-width: 575.98px) {
    .teamcard-head {
        padding: 12px 14px;
    }

    .teamcard-body {
        padding: 12px 14px 0;
    }

    .teamcard-foot {
        padding: 10px 14px 14px;
    }
}

/* Contact */
.contact {
    background: #fff;
}

    .contact h2 {
        font-size: 2.25rem;
        letter-spacing: 1px;
    }

    .contact .form-control, .contact .form-select {
        border-radius: 10px;
        border: 1px solid rgba(16,59,51,.25);
        box-shadow: 0 2px 6px rgba(0,0,0,.04);
    }

    .contact .btn-cta-solid {
        font-weight: 700;
        border-radius: 10px;
        font-size: 1.1rem;
    }

/* Login */
.login {
    background: var(--mint);
}

.login-box {
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.input-group-text {
    background: var(--brand-lite);
    color: var(--brand);
    border: 1px solid rgba(16,59,51,.2);
}

.text-brand {
    color: var(--brand) !important;
}

/* Create Account */
.create-account {
    background: var(--mint);
}

.signup-box {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: transparent;
}

.signup-header {
    background: var(--brand);
    color: #fff;
    padding: 1rem 1.25rem;
    text-align: center;
}

    .signup-header h2 {
        font-size: 2rem;
        margin: 0;
    }

.signup-body {
    background: #fff;
    padding: 2.5rem;
    border-radius: 0 0 18px 18px;
}

/* Footer */
.mkt-footer {
    background: var(--deep);
    color: #eae1cf;
    padding: 48px 0 40px;
}

.footer-top {
    margin-bottom: 28px;
}

.footer-crown {
    font-size: 42px;
    color: #f0b90b;
    text-shadow: 0 2px 6px rgba(0,0,0,.35);
}

.footer-grid {
    margin-bottom: 24px;
}

.footer-title {
    position: relative;
    display: inline-block;
    padding-bottom: .25rem;
    margin-bottom: .75rem;
    font-weight: 900;
    color: #fff;
}

    .footer-title::after {
        content: "";
        position: absolute;
        bottom: -6px;
        left: 0;
        width: 64px;
        height: 3px;
        background: var(--brand-lite);
        border-radius: 2px;
    }

.footer-links li + li {
    margin-top: .35rem;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    color: #eae1cf;
    text-decoration: none;
    opacity: .9;
    transition: color .2s ease, transform .1s ease, opacity .2s ease;
}

    .footer-links a:hover {
        color: #fff;
        opacity: 1;
        transform: translateX(2px);
    }

.footer-links i {
    color: var(--brand-lite);
}

.footer-socials {
    display: flex !important;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: .75rem;
    justify-content: flex-start;
}

.social-btn {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    background: #0d2a24;
    border: 1px solid rgba(255,255,255,.08);
    transition: transform .12s ease, background .2s ease;
}

    .social-btn:hover {
        background: var(--brand);
        transform: translateY(-2px);
    }

.footer-rule {
    border: 0;
    height: 1px;
    margin: 16px 0 18px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
}

.footer-bottom {
    gap: 10px;
}

.policy-link {
    color: #eae1cf;
    text-decoration: none;
    transition: color .2s ease;
}

    .policy-link:hover {
        color: #fff;
    }

/* Modals */
.modal-backdrop.show {
    backdrop-filter: blur(6px);
    background-color: rgba(16,59,51,.25);
}

.modal-content {
    border: 1px solid rgba(16,59,51,.10);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(16,59,51,.25);
}

.modal-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(16,59,51,.08) !important;
}

.modal-title {
    font-weight: 900;
    color: var(--deep);
    letter-spacing: .2px;
}

.modal-body {
    padding: 1.25rem;
}

.modal-footer {
    border-top: 1px solid rgba(16,59,51,.08) !important;
    padding: .9rem 1.25rem;
}

/* Policy content (rendered from .txt files) */
.policy-content {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--deep-70);
}

    .policy-content h5, .policy-content h6 {
        color: var(--deep);
        font-weight: 900;
        margin: 1.25rem 0 .5rem;
    }

    .policy-content p {
        margin: .6rem 0;
    }

    .policy-content ul {
        padding-left: 1.2rem;
        margin: .4rem 0 .8rem;
    }

    .policy-content li {
        margin: .25rem 0;
    }

.policy-meta {
    display: block;
    font-size: .9rem;
    color: var(--deep-60);
    margin-bottom: .75rem;
}

/* <= 992px */
@media (max-width: 991.98px) {
    .brand-mark {
        height: 48px;
    }

    .king-img {
        max-height: 360px;
    }

    .btn-subscribe {
        font-size: 1.15rem;
        padding: 14px 24px;
        bottom: -6px;
    }

    .overlap-up {
        margin-top: -40px;
    }

    .hero {
        padding-bottom: 3.5rem;
    }

        .hero .col-lg-5 {
            order: 1;
        }

        .hero .col-lg-7 {
            order: 2;
        }
}

/* <= 768px */
@media (max-width: 767.98px) {
    .hero .display-welcome {
        display: none;
    }

    .hero {
        padding-top: 1.5rem;
        padding-bottom: 2rem;
    }

        .hero .subhead {
            text-align: center;
            font-size: 1.2rem;
            line-height: 1.65;
            margin: 1rem 0 1.75rem;
        }

    .hero-bullets {
        font-size: 1.05rem;
        line-height: 1.7;
        margin: 2rem 0;
        padding: 0 1rem;
        text-align: left;
    }

        .hero-bullets li {
            margin-bottom: 1.4rem;
        }

        .hero-bullets strong {
            display: block;
            margin-top: 0.5rem;
            font-size: 1.1rem;
        }
}

/* <= 576px */
@media (max-width: 575.98px) {
    .modal-body {
        padding: 1rem;
    }

    .policy-content {
        font-size: .98rem;
    }

    .btn-subscribe {
        font-size: 1rem;
        padding: 12px 20px;
    }
}
