.home-page {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100%;
}

/* ==========================================================================
   BACKGROUND RHYTHM
   ========================================================================== */

.home-page__section--white {
    background-color: #ffffff;
}

.home-page__section--warm-gray {
    background-color: #f4f4f0;
}

.home-page__section--light-teal {
    background: linear-gradient(180deg, #e8f5f2 0%, #f5fbf9 100%);
}

.home-page__section--dark-blue,
.home-page__cta-wrapper {
    background-color: #0b1e36;
    width: 100%;
}

.home-page__trust-banner-wrapper {
    background-color: #0f172a;
    width: 100%;
}

.home-page__timeline-wrapper {
    width: 100%;
}

/* ==========================================================================
   DARK THEME
   ========================================================================== */

.theme--dark .home-page__section-title,
.theme--dark .home-page__intro-title,
.theme--dark .home-page__partners-title {
    color: #ffffff;
}

.theme--dark .home-page__section-subtitle,
.theme--dark .home-page__intro-body,
.theme--dark .home-page__partners-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

.theme--dark .home-page__eyebrow {
    background: rgba(54, 156, 131, 0.14);
    color: var(--color-calm-teal-light);
}

.theme--dark .home-page__pathway-card:hover,
.theme--dark .home-page__pathway-card:focus-within {
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.18);
}

/* ==========================================================================
   SECTION SPACING
   ========================================================================== */

.home-page__intro-section,
.home-page__pathways-section,
.home-page__credibility-section,
.home-page__support-section,
.home-page__partners,
.home-page__faq-section {
    padding: 96px 24px;
    overflow: visible;
}

.home-page__intro-inner,
.home-page__section-header,
.home-page__pathways-grid,
.home-page__credibility-grid,
.home-page__support-grid,
.home-page__partners-panel {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.home-page__intro-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
    gap: 40px;
    align-items: start;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

.home-page__intro-copy {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.home-page__eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(31, 138, 112, 0.1);
    color: var(--color-calm-teal);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.home-page__intro-title,
.home-page__section-title {
    margin: 0;
    color: var(--color-trust-blue);
    letter-spacing: -0.6px;
    line-height: 1.12;
}

.home-page__intro-title {
    font-size: clamp(32px, 4vw, 54px);
}

.home-page__section-title {
    font-size: clamp(28px, 3vw, 42px);
}

.home-page__intro-body,
.home-page__section-subtitle,
.home-page__pathway-card-body,
.home-page__pathway-card-audience,
.home-page__credibility-card-body,
.home-page__support-card-body {
    color: var(--color-charcoal);
    font-size: 17px;
    line-height: 1.8;
}

.home-page__section-header {
    margin-bottom: 40px;
    text-align: center;
}

.home-page__section-subtitle {
    max-width: 860px;
    margin: 14px auto 0;
}

/* ==========================================================================
   TRUST TILES
   ========================================================================== */

.home-page__trust-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.home-page__trust-tile {
    padding: 24px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.05);
    transition:
        transform var(--motion-fast) ease-out,
        box-shadow var(--motion-fast) ease-out,
        border-color var(--motion-fast) ease-out;
}

.home-page__trust-tile:hover,
.home-page__trust-tile:focus-within {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
    border-color: rgba(31, 138, 112, 0.18);
}

.home-page__trust-tile-icon {
    display: inline-flex;
    margin-bottom: 14px;
    color: var(--color-calm-teal);
    font-size: 22px;
}

.home-page__trust-tile-title,
.home-page__pathway-card-title,
.home-page__credibility-card-title,
.home-page__support-card-title {
    margin: 0 0 10px 0;
    color: var(--color-trust-blue);
    font-size: 22px;
    line-height: 1.25;
}

.home-page__trust-tile-body {
    margin: 0;
    color: var(--color-charcoal);
    font-size: 15px;
    line-height: 1.7;
}

/* ==========================================================================
   PATHWAYS
   ========================================================================== */

.home-page__pathways-grid,
.home-page__credibility-grid,
.home-page__support-grid {
    display: grid;
    gap: 24px;
}

.home-page__pathways-grid,
.home-page__credibility-grid,
.home-page__support-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-page__pathway-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    transition:
        transform var(--motion-fast) ease-out,
        box-shadow var(--motion-fast) ease-out,
        border-color var(--motion-fast) ease-out;
}

.home-page__pathway-card:hover,
.home-page__pathway-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
    border-color: rgba(31, 138, 112, 0.18);
}

.home-page__pathway-card-image-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
    background-color: #f0f4f8;
}

.home-page__pathway-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--motion-fast) ease-out;
}

.home-page__pathway-card:hover .home-page__pathway-card-image {
    transform: scale(1.05);
}

.home-page__pathway-card-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.home-page__pathway-card--blue,
.home-page__credibility-card--blue {
    border-top: 4px solid rgba(30, 86, 160, 0.85);
}

.home-page__pathway-card--teal,
.home-page__credibility-card--teal {
    border-top: 4px solid rgba(31, 138, 112, 0.85);
}

.home-page__pathway-card--gold,
.home-page__credibility-card--gold {
    border-top: 4px solid rgba(191, 147, 63, 0.9);
}

.home-page__pathway-card-audience {
    margin: 0 0 16px 0;
    font-weight: 700;
    color: var(--color-calm-teal);
    font-size: 15px;
}

.home-page__pathway-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.home-page__pathway-meta-tag {
    font-size: 13px;
    font-weight: 600;
    background-color: #f4f7fb;
    color: var(--color-charcoal);
    padding: 6px 12px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(15, 23, 42, 0.04);
}

.home-page__pathway-meta-tag i {
    color: var(--color-trust-blue);
    opacity: 0.7;
}

.home-page__pathway-card-body {
    margin: 0 0 24px 0;
    flex: 1;
}

.home-page__pathway-card-link,
.home-page__partners-link {
    display: inline-flex;
    align-items: center;
    color: var(--color-calm-teal);
    font-weight: 700;
    text-decoration: none;
}

.home-page__pathway-card-link {
    margin-top: auto;
}

.home-page__pathway-card-link:hover,
.home-page__partners-link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   CREDIBILITY
   ========================================================================== */

.home-page__credibility-card {
    padding: 28px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    transition:
        transform var(--motion-fast) ease-out,
        box-shadow var(--motion-fast) ease-out,
        border-color var(--motion-fast) ease-out;
}

.home-page__credibility-card:hover,
.home-page__credibility-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
    border-color: rgba(31, 138, 112, 0.18);
}

.home-page__credibility-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(31, 138, 112, 0.1);
    color: var(--color-calm-teal);
    font-size: 20px;
}

.home-page__credibility-card-body {
    margin: 0;
}

/* ==========================================================================
   SUPPORT SECTION
   ========================================================================== */

.home-page__support-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    transition:
        transform var(--motion-fast) ease-out,
        box-shadow var(--motion-fast) ease-out,
        border-color var(--motion-fast) ease-out;
}

.home-page__support-card:hover,
.home-page__support-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
    border-color: rgba(31, 138, 112, 0.18);
}

.home-page__support-card-media {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #dfe8ee;
}

.home-page__support-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--motion-fast) ease-out;
}

.home-page__support-card:hover .home-page__support-card-image {
    transform: scale(1.05);
}

.home-page__support-card-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.home-page__support-card-icon {
    display: inline-flex;
    margin-bottom: 16px;
    color: var(--color-calm-teal);
    font-size: 22px;
}

.home-page__support-card-body {
    margin: 0;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.home-page__faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.home-page__faq-item {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition:
        box-shadow var(--motion-fast) ease,
        border-color var(--motion-fast) ease;
}

.home-page__faq-item:hover {
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
    border-color: rgba(31, 138, 112, 0.14);
}

.home-page__faq-question {
    padding: 20px 24px;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-trust-blue);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.home-page__faq-question::-webkit-details-marker {
    display: none;
}

.home-page__faq-icon {
    color: var(--color-calm-teal);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.home-page__faq-item[open] .home-page__faq-icon {
    transform: rotate(180deg);
}

.home-page__faq-answer {
    padding: 0 24px 24px 24px;
    color: var(--color-charcoal);
    font-size: 16px;
    line-height: 1.7;
}

.home-page__faq-answer p {
    margin: 0;
}

/* ==========================================================================
   PARTNERS
   ========================================================================== */

.home-page__partners {
    text-align: center;
}

.home-page__partners-panel {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: 24px;
    padding: 48px 32px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.home-page__partners-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 32px;
    line-height: 1.15;
    font-weight: 700;
    color: var(--color-trust-blue);
    letter-spacing: -0.5px;
    margin: 0;
}

.home-page__partners-subtitle {
    max-width: 820px;
    margin: 16px auto 40px;
    color: var(--color-charcoal);
    font-size: 18px;
    line-height: 1.75;
}

.home-page__partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    width: 100%;
}

.home-page__partner-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 18px;
    border-radius: 999px;
    background: #f6f8fa;
    border: 1px solid rgba(15, 23, 42, 0.06);
    color: var(--color-trust-blue);
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
    transition:
        transform var(--motion-fast) ease-out,
        box-shadow var(--motion-fast) ease-out,
        border-color var(--motion-fast) ease-out;
}

.home-page__partner-pill:hover,
.home-page__partner-pill:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    border-color: rgba(31, 138, 112, 0.18);
}

.home-page__partners-link {
    justify-content: center;
}

/* ==========================================================================
   HERO SECONDARY LINK
   ========================================================================== */

.hero-section__btn {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    font-weight: 500;
    transition:
        color var(--motion-fast) ease-out,
        text-decoration-color var(--motion-fast) ease-out,
        transform var(--motion-fast) ease-out;
}

.hero-section__btn--secondary {
    color: var(--color-white);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.4);
    text-underline-offset: 6px;
    padding: 12px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-section__btn--secondary:hover,
.hero-section__btn--secondary:focus-visible {
    color: var(--color-calm-teal);
    text-decoration-color: var(--color-calm-teal);
    outline: none;
}

.hero-section__btn--secondary:focus-visible {
    outline: var(--focus-outline);
    outline-offset: var(--focus-offset);
    border-radius: 4px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media screen and (max-width: 1024px) {
    .home-page__intro-inner {
        grid-template-columns: 1fr;
    }

    .home-page__pathways-grid,
    .home-page__credibility-grid,
    .home-page__support-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-page__section-header {
        margin-bottom: 32px;
    }

    .home-page__partners-title {
        font-size: 28px;
    }

    .home-page__partners-subtitle {
        font-size: 17px;
    }
}

@media screen and (max-width: 767px) {

    .home-page__intro-section,
    .home-page__pathways-section,
    .home-page__credibility-section,
    .home-page__support-section,
    .home-page__partners,
    .home-page__faq-section {
        padding: 72px 20px;
    }

    .home-page__pathways-grid,
    .home-page__credibility-grid,
    .home-page__support-grid,
    .home-page__trust-grid {
        grid-template-columns: 1fr;
    }

    .home-page__intro-title {
        font-size: 30px;
    }

    .home-page__section-title {
        font-size: 26px;
    }

    .home-page__intro-body,
    .home-page__section-subtitle,
    .home-page__pathway-card-body,
    .home-page__pathway-card-audience,
    .home-page__credibility-card-body,
    .home-page__support-card-body {
        font-size: 16px;
        line-height: 1.75;
    }

    .home-page__pathway-card-content,
    .home-page__credibility-card,
    .home-page__trust-tile,
    .home-page__support-card-content {
        padding: 22px;
    }

    .home-page__faq-question {
        font-size: 16px;
        padding: 16px 20px;
    }

    .home-page__faq-answer {
        padding: 0 20px 20px 20px;
    }

    .home-page__partners-panel {
        padding: 32px 20px;
    }

    .home-page__partners-title {
        font-size: 24px;
    }

    .home-page__partners-subtitle {
        margin: 14px auto 28px;
        font-size: 16px;
        line-height: 1.7;
    }

    .home-page__partners-logos {
        gap: 12px;
        margin-bottom: 28px;
    }

    .home-page__partner-pill {
        width: 100%;
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .home-page__partner-pill,
    .hero-section__btn,
    .home-page__pathway-card,
    .home-page__credibility-card,
    .home-page__trust-tile,
    .home-page__support-card,
    .home-page__pathway-card-image,
    .home-page__support-card-image,
    .home-page__faq-icon {
        transition: none !important;
    }
}