/* =========================================================
   MFNXT — INDEX FUND BASICS
   Complete Page Styles
   Typography aligned with MFnxt Hero
========================================================= */


/* =========================================================
   GLOBAL PAGE
========================================================= */

.index-hero,
.what-learn-section,
.index-fund-intro,
.why-index-funds,
.featured-learning-section,
.comparison-section,
.calculator-section,
.roadmap-section,
.faq-section,
.newsletter-cta,
.investor-disclaimer {
    font-family: var(--third-font);
}

.index-hero *,
.what-learn-section *,
.index-fund-intro *,
.why-index-funds *,
.featured-learning-section *,
.comparison-section *,
.calculator-section *,
.roadmap-section *,
.faq-section *,
.newsletter-cta *,
.investor-disclaimer * {
    box-sizing: border-box;
}


/* =========================================================
   COMMON SECTION
========================================================= */

.index-hero,
.what-learn-section,
.index-fund-intro,
.why-index-funds,
.featured-learning-section,
.comparison-section,
.calculator-section,
.roadmap-section,
.faq-section,
.newsletter-cta,
.investor-disclaimer {
    position: relative;
    width: 100%;
}

.index-hero .container,
.what-learn-section .container,
.index-fund-intro .container,
.why-index-funds .container,
.featured-learning-section .container,
.comparison-section .container,
.calculator-section .container,
.roadmap-section .container,
.faq-section .container,
.newsletter-cta .container,
.investor-disclaimer .container {
    position: relative;
    z-index: 2;
}


/* =========================================================
   COMMON BADGE
========================================================= */

.index-hero .badge,
.section-heading .badge,
.index-fund-intro .badge,
.newsletter-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 8px 13px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 92, 200, 0.12);
    border-radius: 8px;
    background: var(--primary-color-soft);
    color: var(--primary-color);
    font-family: var(--third-font);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}


/* =========================================================
   COMMON SECTION HEADING
========================================================= */

.section-heading {
    width: 100%;
    max-width: 780px;
    margin: 0 auto 50px;
    text-align: center;
}

.section-heading h2 {
    margin: 0 0 15px;
    color: var(--c-ink);
    font-family: var(--third-font);
    font-size: clamp(32px, 3.4vw, 46px);
    font-weight: 600;
    line-height: 1.10;
    letter-spacing: -1.8px;
}

.section-heading p {
    max-width: 680px;
    margin: 0 auto;
    color: var(--c-muted);
    font-family: var(--third-font);
    font-size: clamp(15px, 1.2vw, 17px);
    font-weight: 400;
    line-height: 1.7;
}


/* =========================================================
   HERO
========================================================= */

.index-hero {
    position: relative;
    padding: clamp(45px, 6vw, 85px) 0;
    overflow: hidden;
    background: #ffffff;
    isolation: isolate;
}

.index-hero::before {
    content: "";
    position: absolute;
    width: 560px;
    height: 560px;
    top: -260px;
    left: -230px;
    border-radius: 50%;
    background: rgba(227, 6, 19, 0.045);
    filter: blur(110px);
    pointer-events: none;
    z-index: -1;
}

.index-hero::after {
    content: "";
    position: absolute;
    width: 620px;
    height: 620px;
    top: -240px;
    right: -290px;
    border-radius: 50%;
    background: rgba(0, 92, 200, 0.075);
    filter: blur(120px);
    pointer-events: none;
    z-index: -1;
}


/* =========================================================
   HERO BREADCRUMB
========================================================= */

.hero-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    margin: 0 0 45px;
    padding: 0;
    color: var(--c-muted);
    font-family: var(--third-font);
    font-size: 13px;
    line-height: 1.4;
}

.hero-breadcrumb a {
    display: inline-flex;
    align-items: center;
    color: var(--c-muted);
    font-family: var(--third-font);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.25s ease;
}

.hero-breadcrumb a:hover {
    color: var(--primary-color);
}

.hero-breadcrumb span {
    color: var(--c-ink);
    font-family: var(--third-font);
    font-size: 13px;
    font-weight: 600;
}

.hero-breadcrumb i {
    display: inline-flex;
    align-items: center;
    color: #94a3b8;
    font-size: 9px;
}


/* =========================================================
   HERO ROW
========================================================= */

.index-hero .row {
    position: relative;
    z-index: 2;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.index-hero h1 {
    max-width: 700px;
    margin: 0 0 24px;
    color: var(--c-ink);
    font-family: var(--third-font);
    font-size: clamp(48px, 5.1vw, 76px);
    font-weight: 600;
    line-height: 0.97;
    letter-spacing: -3px;
}

.index-hero span {
    display: block;
    color: var(--primary-color);
}

.index-hero p {
    max-width: 600px;
    margin: 0;
    color: var(--c-slate);
    font-family: var(--third-font);
    font-size: clamp(16px, 1.2vw, 18px);
    font-weight: 400;
    line-height: 1.65;
}


/* =========================================================
   HERO BUTTONS
========================================================= */

.hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 23px;
    border-radius: var(--radius-pill);
    font-family: var(--third-font);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition:
        transform 0.3s var(--ease),
        box-shadow 0.3s var(--ease),
        background 0.3s ease,
        border-color 0.3s ease;
}

.hero-buttons .btn-primary {
    border: 1px solid var(--primary-color);
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 92, 200, 0.18);
}

.hero-buttons .btn-primary:hover {
    border-color: var(--primary-color-deep);
    background: var(--primary-color-deep);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 92, 200, 0.24);
}

.hero-buttons .btn-outline-primary {
    border: 1px solid var(--c-line);
    background: #ffffff;
    color: var(--c-ink);
    box-shadow: var(--shadow-sm);
}

.hero-buttons .btn-outline-primary:hover {
    border-color: rgba(0, 92, 200, 0.20);
    background: var(--primary-color-soft);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hero-buttons .btn i {
    font-size: 14px;
}


/* =========================================================
   HERO STATS
========================================================= */

.hero-stats {
    display: flex;
    align-items: stretch;
    width: fit-content;
    margin-top: 36px;
}

.hero-stats > div {
    min-width: 130px;
    padding: 0 22px;
    border-right: 1px solid var(--c-line);
    color: var(--c-muted);
    font-family: var(--third-font);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
}

.hero-stats > div:first-child {
    padding-left: 0;
}

.hero-stats > div:last-child {
    padding-right: 0;
    border-right: 0;
}

.hero-stats strong {
    display: block;
    margin-bottom: 4px;
    color: var(--primary-color);
    font-family: var(--third-font);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.1;
}


/* =========================================================
   HERO IMAGE
========================================================= */

.index-hero .hero-image {
    display: block;
    width: 100%;
    max-width: 620px;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    filter: drop-shadow(
        0 30px 50px rgba(15, 23, 42, 0.14)
    );
    transition: transform 0.4s var(--ease);
}

.index-hero .hero-image:hover {
    transform: translateY(-6px);
}


/* =========================================================
   WHAT YOU'LL LEARN
========================================================= */

.what-learn-section {
    padding: clamp(75px, 8vw, 110px) 0;
    background: var(--c-cream);
}

.what-learn-section .learn-card {
    position: relative;
    height: 100%;
    padding: 30px 25px;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
    background: #ffffff;
    text-align: center;
    transition:
        transform 0.3s var(--ease),
        box-shadow 0.3s var(--ease),
        border-color 0.3s ease;
}

.what-learn-section .learn-card:hover {
    border-color: rgba(0, 92, 200, 0.16);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.what-learn-section .learn-card a {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.learn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    border-radius: 15px;
    background: var(--primary-color-soft);
    color: var(--primary-color);
    font-size: 24px;
}

.learn-card h3 {
    margin: 0 0 11px;
    color: var(--c-ink);
    font-family: var(--third-font);
    font-size: clamp(18px, 1.5vw, 21px);
    font-weight: 650;
    line-height: 1.35;
}

.learn-card p {
    margin: 0;
    color: var(--c-muted);
    font-family: var(--third-font);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
}


/* =========================================================
   INDEX FUND INTRO
========================================================= */

.index-fund-intro {
    padding: clamp(75px, 8vw, 115px) 0;
    background: #ffffff;
}

.index-fund-intro .row {
    position: relative;
    z-index: 2;
}

.index-fund-intro .intro-image {
    display: block;
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    filter: drop-shadow(
        0 28px 48px rgba(15, 23, 42, 0.10)
    );
}

.index-fund-intro h2 {
    margin: 0 0 21px;
    color: var(--c-ink);
    font-family: var(--third-font);
    font-size: clamp(32px, 3.5vw, 48px);
    font-weight: 600;
    line-height: 1.10;
    letter-spacing: -1.8px;
}

.index-fund-intro p {
    max-width: 620px;
    margin: 0 0 16px;
    color: var(--c-slate);
    font-family: var(--third-font);
    font-size: clamp(15px, 1.1vw, 17px);
    font-weight: 400;
    line-height: 1.75;
}


/* =========================================================
   INTRO HIGHLIGHT
========================================================= */

.intro-highlight {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 620px;
    margin-top: 26px;
    padding: 18px 19px;
    border: 1px solid rgba(0, 92, 200, 0.10);
    border-left: 3px solid var(--primary-color);
    border-radius: var(--radius-sm);
    background: var(--primary-color-soft);
}

.intro-highlight i {
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--primary-color);
    font-size: 17px;
}

.intro-highlight span {
    color: var(--c-slate);
    font-family: var(--third-font);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.65;
}


/* =========================================================
   WHY INDEX FUNDS
========================================================= */

.why-index-funds {
    padding: clamp(75px, 8vw, 110px) 0;
    background: var(--c-cream);
}

.benefit-card {
    height: 100%;
    padding: 30px 23px;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
    background: #ffffff;
    text-align: center;
    transition:
        transform 0.3s var(--ease),
        box-shadow 0.3s var(--ease),
        border-color 0.3s ease;
}

.benefit-card:hover {
    border-color: rgba(0, 92, 200, 0.16);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    border-radius: 15px;
    background: var(--primary-color-soft);
    color: var(--primary-color);
    font-size: 21px;
}

.benefit-card h3 {
    margin: 0 0 10px;
    color: var(--c-ink);
    font-family: var(--third-font);
    font-size: 20px;
    font-weight: 650;
    line-height: 1.4;
}

.benefit-card p {
    margin: 0;
    color: var(--c-muted);
    font-family: var(--third-font);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
}


/* =========================================================
   FEATURED ARTICLES
========================================================= */

.featured-learning-section {
    padding: clamp(75px, 8vw, 110px) 0;
    background: #ffffff;
}

.learning-article-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
    background: #ffffff;
    transition:
        transform 0.3s var(--ease),
        box-shadow 0.3s var(--ease),
        border-color 0.3s ease;
}

.learning-article-card:hover {
    border-color: rgba(0, 92, 200, 0.16);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.learning-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--primary-color-soft);
}

.learning-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s var(--ease);
}

.learning-article-card:hover .learning-image img {
    transform: scale(1.035);
}

.learning-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px;
}

.learning-tag {
    align-self: flex-start;
    display: inline-flex;
    padding: 5px 9px;
    margin-bottom: 12px;
    border-radius: 6px;
    background: var(--primary-color-soft);
    color: var(--primary-color);
    font-family: var(--third-font);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.3;
    text-transform: uppercase;
}

.learning-content h3 {
    margin: 0 0 10px;
    font-family: var(--third-font);
    font-size: clamp(17px, 1.4vw, 19px);
    font-weight: 650;
    line-height: 1.4;
}

.learning-content h3 a {
    color: var(--c-ink);
    text-decoration: none;
    transition: color 0.25s ease;
}

.learning-content h3 a:hover {
    color: var(--primary-color);
}

.learning-content p {
    margin: 0;
    color: var(--c-muted);
    font-family: var(--third-font);
    font-size: 13px;
    line-height: 1.7;
}

.learning-meta {
    margin-top: auto;
    padding-top: 18px;
    color: #94a3b8;
    font-family: var(--third-font);
    font-size: 11px;
}

.learning-meta i {
    margin-right: 4px;
    color: var(--primary-color);
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 48px;
    padding: 0 21px;
    border-radius: var(--radius-pill);
    background: var(--primary-color);
    color: #ffffff;
    font-family: var(--third-font);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition:
        transform 0.3s var(--ease),
        box-shadow 0.3s var(--ease),
        background 0.3s ease;
}

.btn-view-all:hover {
    background: var(--primary-color-deep);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}


/* =========================================================
   COMPARISON
========================================================= */

.comparison-section {
    padding: clamp(75px, 8vw, 110px) 0;
    background: var(--c-cream);
}

.comparison-section .row {
    position: relative;
}

.comparison-table {
    width: 100%;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
    background: #ffffff;
    font-family: var(--third-font);
}

.comparison-table thead th {
    padding: 16px 15px;
    border: 0;
    background: var(--primary-color);
    color: #ffffff;
    font-family: var(--third-font);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}

.comparison-table thead th:first-child {
    text-align: left;
}

.comparison-table tbody td {
    padding: 14px 15px;
    border-color: var(--c-line);
    color: var(--c-muted);
    font-family: var(--third-font);
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    vertical-align: middle;
}

.comparison-table tbody td:first-child {
    color: var(--c-ink);
    font-weight: 600;
    text-align: left;
}

.comparison-table tbody tr:hover {
    background: var(--primary-color-soft);
}

.comparison-box {
    height: 100%;
    padding: 32px;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.comparison-box h3 {
    margin: 0 0 18px;
    color: var(--c-ink);
    font-family: var(--third-font);
    font-size: clamp(26px, 2.7vw, 36px);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -1.2px;
}

.comparison-box p {
    margin: 0 0 15px;
    color: var(--c-slate);
    font-family: var(--third-font);
    font-size: 16px;
    line-height: 1.75;
}

.comparison-note {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-top: 22px;
    padding: 17px;
    border-radius: var(--radius-sm);
    background: var(--primary-color-soft);
}

.comparison-note i {
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--primary-color);
    font-size: 16px;
}

.comparison-note span {
    color: var(--c-slate);
    font-family: var(--third-font);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.65;
}


/* =========================================================
   CALCULATORS
========================================================= */

.calculator-section {
    padding: clamp(75px, 8vw, 110px) 0;
    background: #ffffff;
}

.calculator-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.mini-calculator-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-height: 105px;
    padding: 21px;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
    background: #ffffff;
    text-decoration: none;
    transition:
        transform 0.3s var(--ease),
        box-shadow 0.3s var(--ease),
        border-color 0.3s ease;
}

.mini-calculator-card:hover {
    border-color: rgba(0, 92, 200, 0.16);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.mini-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    border-radius: 14px;
    background: var(--primary-color-soft);
    color: var(--primary-color);
    font-size: 19px;
}

.mini-calculator-card h4 {
    margin: 0 0 6px;
    color: var(--c-ink);
    font-family: var(--third-font);
    font-size: 16px;
    font-weight: 650;
    line-height: 1.4;
}

.mini-calculator-card p {
    margin: 0;
    color: var(--c-muted);
    font-family: var(--third-font);
    font-size: 13px;
    line-height: 1.6;
}

.coming-soon {
    display: inline-flex;
    padding: 4px 8px;
    margin-bottom: 6px;
    border-radius: var(--radius-pill);
    background: var(--secondary-color-soft);
    color: var(--secondary-color);
    font-family: var(--third-font);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.3;
    text-transform: uppercase;
}


/* =========================================================
   ROADMAP
========================================================= */

.roadmap-section {
    padding: clamp(75px, 8vw, 110px) 0;
    background: var(--c-cream);
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.roadmap-card {
    height: 100%;
    padding: 26px 17px;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
    background: #ffffff;
    text-align: center;
    transition:
        transform 0.3s var(--ease),
        box-shadow 0.3s var(--ease),
        border-color 0.3s ease;
}

.roadmap-card:hover {
    border-color: rgba(0, 92, 200, 0.16);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.roadmap-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 13px;
    border-radius: 14px;
    background: var(--primary-color-soft);
    color: var(--primary-color);
    font-size: 25px;
}

.roadmap-step {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #ffffff;
    font-family: var(--third-font);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.roadmap-card h4 {
    margin: 0;
    color: var(--c-ink);
    font-family: var(--third-font);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}


/* =========================================================
   FAQ
========================================================= */

.faq-section {
    padding: clamp(75px, 8vw, 110px) 0;
    background: #ffffff;
}

.faq-accordion {
    width: 100%;
}

.faq-accordion .accordion-item {
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid var(--c-line) !important;
    border-radius: var(--radius-sm) !important;
    background: #ffffff;
}

.faq-accordion .accordion-item:last-child {
    margin-bottom: 0;
}

.faq-accordion .accordion-button {
    padding: 18px 20px;
    color: var(--c-ink);
    background: #ffffff;
    font-family: var(--third-font);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background: var(--primary-color-soft);
    box-shadow: none;
}

.faq-accordion .accordion-button:focus {
    border-color: transparent;
    box-shadow: none;
}

.faq-accordion .accordion-button::after {
    background-size: 14px;
}

.faq-accordion .accordion-body {
    padding: 0 20px 20px;
    color: var(--c-muted);
    background: var(--primary-color-soft);
    font-family: var(--third-font);
    font-size: 15px;
    line-height: 1.75;
}


/* =========================================================
   FINAL CTA
========================================================= */

.newsletter-cta {
    padding: 20px 0 75px;
    background: #ffffff;
}

.newsletter-box {
    position: relative;
    overflow: hidden;
    padding: clamp(35px, 5vw, 60px);
    border: 1px solid rgba(0, 92, 200, 0.10);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(
            135deg,
            #f7faff 0%,
            #eef5ff 100%
        );
}

.newsletter-box::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    top: -160px;
    right: -100px;
    border: 1px solid rgba(0, 92, 200, 0.07);
    border-radius: 50%;
    pointer-events: none;
}

.newsletter-box::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    bottom: -120px;
    left: -80px;
    border: 1px solid rgba(227, 6, 19, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

.newsletter-box .row {
    position: relative;
    z-index: 2;
}

.newsletter-badge {
    margin-bottom: 17px;
    background: #ffffff;
}

.newsletter-box h2 {
    max-width: 720px;
    margin: 0 0 16px;
    color: var(--c-ink);
    font-family: var(--third-font);
    font-size: clamp(30px, 3.5vw, 44px);
    font-weight: 600;
    line-height: 1.10;
    letter-spacing: -1.5px;
}

.newsletter-box p {
    max-width: 680px;
    margin: 0;
    color: var(--c-muted);
    font-family: var(--third-font);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.75;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    max-width: 240px;
    margin-left: auto;
}

.cta-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: var(--radius-pill);
    font-family: var(--third-font);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}


/* =========================================================
   INVESTOR DISCLAIMER
========================================================= */

.investor-disclaimer {
    padding: 0 0 70px;
    background: #ffffff;
}

.disclaimer-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
    background: #f8fafc;
}

.disclaimer-box > i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 12px;
    background: #ffffff;
    color: var(--primary-color);
    font-size: 17px;
    box-shadow: var(--shadow-sm);
}

.disclaimer-box h5 {
    margin: 0 0 8px;
    color: var(--c-ink);
    font-family: var(--third-font);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.disclaimer-box p {
    margin: 0;
    color: var(--c-muted);
    font-family: var(--third-font);
    font-size: 12px;
    line-height: 1.75;
}


/* =========================================================
   LARGE DESKTOP
   1440px+
========================================================= */

@media (min-width: 1440px) {

    .index-hero {
        padding-top: 65px;
        padding-bottom: 95px;
    }

    .index-hero h1 {
        max-width: 740px;
        font-size: 72px;
    }

    .index-hero p {
        max-width: 620px;
        font-size: 17px;
    }

    .index-hero .hero-image {
        max-width: 720px;
        transform: scale(1.04);
    }

    .index-fund-intro .intro-image {
        max-width: 730px;
        transform: scale(1.04);
    }

    .section-heading h2 {
        font-size: 44px;
    }
}


/* =========================================================
   DESKTOP
   1200px — 1439px
========================================================= */

@media (min-width: 1200px) and (max-width: 1439px) {

    .index-hero h1 {
        font-size: clamp(58px, 5vw, 70px);
    }

    .index-hero .hero-image {
        max-width: 650px;
        transform: scale(1.03);
    }

    .index-fund-intro .intro-image {
        max-width: 600px;
    }

    .roadmap-grid {
        gap: 16px;
    }
}


/* =========================================================
   LAPTOP
   992px — 1199px
========================================================= */

@media (min-width: 992px) and (max-width: 1199px) {

    .index-hero {
        padding: 55px 0 75px;
    }

    .index-hero h1 {
        font-size: clamp(48px, 5.4vw, 62px);
        letter-spacing: -2.5px;
    }

    .index-hero p {
        font-size: 16px;
    }

    .index-hero .hero-image {
        max-width: 540px;
    }

    .index-fund-intro .intro-image {
        max-width: 520px;
    }

    .section-heading h2 {
        font-size: clamp(32px, 3.5vw, 42px);
    }

    .roadmap-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 10px;
    }

    .roadmap-card {
        padding: 22px 12px;
    }

    .roadmap-card h4 {
        font-size: 12px;
    }

    .calculator-grid {
        max-width: 850px;
    }
}


/* =========================================================
   TABLET / IPAD
   768px — 991px
========================================================= */

@media (min-width: 768px) and (max-width: 991px) {

    .index-hero {
        padding: 50px 0 70px;
        text-align: center;
    }

    .hero-breadcrumb {
        justify-content: center;
        margin-bottom: 32px;
    }

    .index-hero h1 {
        max-width: 720px;
        margin-right: auto;
        margin-left: auto;
        font-size: clamp(46px, 7vw, 62px);
        letter-spacing: -2.5px;
    }

    .index-hero p {
        margin-right: auto;
        margin-left: auto;
        font-size: 16px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        margin-right: auto;
        margin-left: auto;
    }

    .index-hero .hero-image {
        max-width: 520px;
        margin-top: 40px;
    }

    .index-fund-intro .intro-image {
        max-width: 500px;
        margin-bottom: 25px;
    }

    .index-fund-intro h2 {
        font-size: 38px;
    }

    .learn-card h3 {
        font-size: 19px;
    }

    .benefit-card {
        padding: 25px 18px;
    }

    .roadmap-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .roadmap-card:nth-child(4),
    .roadmap-card:nth-child(5) {
        margin-top: 0;
    }

    .calculator-grid {
        max-width: 760px;
    }

    .newsletter-box {
        padding: 40px;
    }

    .cta-buttons {
        max-width: 220px;
    }
}


/* =========================================================
   MOBILE
   BELOW 767px
========================================================= */

@media (max-width: 767px) {

    .index-hero {
        padding: 35px 0 55px;
        text-align: center;
    }

    .hero-breadcrumb {
        justify-content: flex-start;
        margin-bottom: 28px;
        text-align: left;
    }

    .hero-breadcrumb a,
    .hero-breadcrumb span {
        font-size: 11px;
    }

    .index-hero .badge,
    .section-heading .badge,
    .index-fund-intro .badge,
    .newsletter-badge {
        padding: 7px 10px;
        margin-bottom: 16px;
        font-size: 9px;
    }

    .index-hero h1 {
        max-width: 100%;
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 19px;
        font-size: clamp(40px, 11vw, 54px);
        letter-spacing: -2px;
    }

    .index-hero p {
        max-width: 620px;
        margin-right: auto;
        margin-left: auto;
        font-size: 15px;
        line-height: 1.65;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        margin-top: 24px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 330px;
    }

    .hero-stats {
        width: 100%;
        justify-content: center;
        margin-top: 32px;
    }

    .hero-stats > div {
        min-width: 0;
        flex: 1;
        padding: 0 10px;
        font-size: 10px;
    }

    .hero-stats > div:first-child {
        padding-left: 5px;
    }

    .hero-stats > div:last-child {
        padding-right: 5px;
    }

    .hero-stats strong {
        font-size: 18px;
    }

    .index-hero .hero-image {
        max-width: 390px;
        margin-top: 35px;
        transform: none;
    }

    .section-heading {
        margin-bottom: 36px;
    }

    .section-heading h2 {
        font-size: clamp(30px, 8vw, 36px);
        letter-spacing: -1.2px;
    }

    .section-heading p {
        font-size: 14px;
        line-height: 1.7;
    }

    .what-learn-section,
    .index-fund-intro,
    .why-index-funds,
    .featured-learning-section,
    .comparison-section,
    .calculator-section,
    .roadmap-section,
    .faq-section {
        padding: 65px 0;
    }

    .index-fund-intro {
        text-align: center;
    }

    .index-fund-intro .intro-image {
        max-width: 390px;
        margin-bottom: 35px;
    }

    .index-fund-intro h2 {
        font-size: clamp(30px, 9vw, 42px);
        letter-spacing: -1.4px;
    }

    .index-fund-intro p {
        max-width: 680px;
        margin-right: auto;
        margin-left: auto;
        font-size: 15px;
    }

    .intro-highlight {
        max-width: 680px;
        margin-right: auto;
        margin-left: auto;
        text-align: left;
    }

    .benefit-card {
        padding: 27px 22px;
    }

    .learning-content {
        padding: 21px;
        text-align: left;
    }

    .comparison-box {
        padding: 25px 20px;
    }

    .comparison-box h3 {
        font-size: 28px;
    }

    .comparison-box p {
        font-size: 14px;
    }

    .comparison-note {
        text-align: left;
    }

    .comparison-table {
        min-width: 560px;
    }

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

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

    .roadmap-card {
        padding: 24px 15px;
    }

    .roadmap-card h4 {
        font-size: 13px;
    }

    .faq-accordion .accordion-button {
        padding: 17px 18px;
        font-size: 13px;
    }

    .faq-accordion .accordion-body {
        padding: 0 18px 18px;
        font-size: 12px;
    }

    .newsletter-cta {
        padding: 10px 0 55px;
    }

    .newsletter-box {
        padding: 34px 24px;
        text-align: center;
    }

    .newsletter-box h2 {
        font-size: clamp(29px, 8vw, 36px);
        letter-spacing: -1px;
    }

    .newsletter-box p {
        margin-right: auto;
        margin-left: auto;
        font-size: 14px;
    }

    .cta-buttons {
        max-width: 320px;
        margin: 25px auto 0;
    }

    .investor-disclaimer {
        padding-bottom: 55px;
    }

    .disclaimer-box {
        gap: 12px;
        padding: 19px;
    }

    .disclaimer-box > i {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        font-size: 15px;
    }

    .disclaimer-box h5 {
        font-size: 13px;
    }

    .disclaimer-box p {
        font-size: 11px;
        line-height: 1.7;
    }
}


/* =========================================================
   SMALL MOBILE
   BELOW 480px
========================================================= */

@media (max-width: 480px) {

    .index-hero {
        padding: 28px 0 48px;
    }

    .hero-breadcrumb {
        gap: 6px;
        margin-bottom: 25px;
    }

    .hero-breadcrumb a,
    .hero-breadcrumb span {
        font-size: 10px;
    }

    .hero-breadcrumb i {
        font-size: 8px;
    }

    .index-hero h1 {
        font-size: clamp(39px, 11.5vw, 52px);
        letter-spacing: -1.8px;
    }

    .index-hero p {
        font-size: 14px;
    }

    .hero-buttons .btn {
        min-height: 50px;
        font-size: 13px;
    }

    .hero-stats > div {
        padding: 0 7px;
        font-size: 9px;
    }

    .hero-stats strong {
        font-size: 17px;
    }

    .index-hero .hero-image {
        max-width: 340px;
    }

    .what-learn-section,
    .index-fund-intro,
    .why-index-funds,
    .featured-learning-section,
    .comparison-section,
    .calculator-section,
    .roadmap-section,
    .faq-section {
        padding: 60px 0;
    }

    .index-fund-intro .intro-image {
        max-width: 340px;
    }

    .index-fund-intro h2 {
        font-size: 31px;
    }

    .index-fund-intro p {
        font-size: 14px;
    }

    .intro-highlight {
        padding: 15px;
    }

    .intro-highlight span {
        font-size: 12px;
    }

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

    .roadmap-card {
        padding: 24px 20px;
    }

    .calculator-grid {
        gap: 12px;
    }

    .mini-calculator-card {
        padding: 18px;
    }

    .newsletter-box {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .newsletter-box h2 {
        font-size: 29px;
    }

    .newsletter-box p {
        font-size: 13px;
    }

    .cta-buttons {
        max-width: 100%;
    }

    .disclaimer-box {
        align-items: flex-start;
        padding: 16px;
    }
}


/* =========================================================
   EXTRA SMALL
   BELOW 380px
========================================================= */

@media (max-width: 380px) {

    .index-hero h1 {
        font-size: 39px;
        letter-spacing: -1.5px;
    }

    .index-hero p {
        font-size: 14px;
    }

    .index-hero .hero-image {
        max-width: 300px;
    }

    .index-fund-intro .intro-image {
        max-width: 300px;
    }

    .section-heading h2 {
        font-size: 29px;
    }

    .hero-stats > div {
        padding: 0 5px;
        font-size: 8px;
    }

    .hero-stats strong {
        font-size: 16px;
    }
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.hero-buttons .btn:focus-visible,
.btn-view-all:focus-visible,
.mini-calculator-card:focus-visible,
.learning-article-card a:focus-visible,
.hero-breadcrumb a:focus-visible {
    outline: 3px solid rgba(0, 92, 200, 0.25);
    outline-offset: 3px;
}


/* =========================================================
   REDUCED MOTION
========================================================= */

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

    .index-hero *,
    .what-learn-section *,
    .index-fund-intro *,
    .why-index-funds *,
    .featured-learning-section *,
    .comparison-section *,
    .calculator-section *,
    .roadmap-section *,
    .faq-section *,
    .newsletter-cta *,
    .investor-disclaimer * {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }
}