.home-journey,
.home-team,
.home-parent {
    --home-navy: #171a33;
    --home-muted: #667085;
    --home-line: #dfe4ec;
    --home-soft: #f5f7fb;
    --home-blue: #3568e8;
    --home-green: #16845f;
    color: var(--home-navy);
}

.home-journey {
    padding: clamp(4rem, 7vw, 6.5rem) 0;
    background: #fff;
}

.home-guidance-heading {
    max-width: 850px;
    margin: 0 auto 2.75rem;
    text-align: center;
}

.home-guidance-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.85rem;
    color: #d91f70;
    font-size: 0.86rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.home-guidance-heading h2,
.home-team-heading h2,
.home-parent-copy h2 {
    margin: 0;
    color: var(--home-navy);
    font-size: clamp(2rem, 3.7vw, 3.25rem);
    line-height: 1.13;
    letter-spacing: 0;
}

.home-guidance-heading p {
    max-width: 720px;
    margin: 1rem auto 0;
    color: var(--home-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.home-journey-layout {
    display: grid;
    grid-template-columns: minmax(340px, 0.82fr) minmax(520px, 1.18fr);
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: stretch;
}

.home-journey-tabs {
    display: grid;
    gap: 0.75rem;
    align-content: start;
}

.home-journey-tab {
    width: 100%;
    min-height: 112px;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 20px;
    gap: 0.9rem;
    align-items: center;
    padding: 1rem 1.1rem;
    border: 1px solid var(--home-line);
    border-radius: 8px;
    background: #fff;
    color: var(--home-navy);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.home-journey-tab:hover {
    border-color: #ff9cca;
    background: #fffafd;
}

.home-journey-tab:focus-visible,
.home-guidance-primary:focus-visible,
.home-guidance-secondary:focus-visible,
.home-team-foot a:focus-visible {
    outline: 3px solid rgba(53, 104, 232, 0.3);
    outline-offset: 3px;
}

.home-journey-tab.is-active {
    border-color: #ed267d;
    background: #fff6fa;
    box-shadow: 0 10px 26px rgba(237, 38, 125, 0.12);
}

.home-journey-tab > .fa-chevron-right {
    color: #a4abba;
    transition: transform 160ms ease, color 160ms ease;
}

.home-journey-tab.is-active > .fa-chevron-right {
    color: #ed267d;
    transform: translateX(2px);
}

.home-journey-index {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #edf1f7;
    color: #5b6577;
    font-size: 0.88rem;
    font-weight: 900;
}

.home-journey-tab.is-active .home-journey-index {
    background: #ed267d;
    color: #fff;
}

.home-journey-tab-copy {
    min-width: 0;
}

.home-journey-tab-copy strong,
.home-journey-tab-copy small {
    display: block;
    letter-spacing: 0;
}

.home-journey-tab-copy strong {
    margin-bottom: 0.25rem;
    font-size: 1rem;
    line-height: 1.35;
}

.home-journey-tab-copy small {
    color: var(--home-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

.home-journey-preview {
    min-height: 520px;
    overflow: hidden;
    border: 1px solid #d9e0eb;
    border-radius: 8px;
    background: var(--home-soft);
    box-shadow: 0 24px 60px rgba(23, 26, 51, 0.11);
}

.home-preview-bar {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1.15rem;
    border-bottom: 1px solid var(--home-line);
    background: #fff;
}

.home-preview-brand,
.home-preview-secure {
    display: inline-flex;
    align-items: center;
}

.home-preview-brand {
    gap: 0.65rem;
    font-weight: 800;
}

.home-preview-brand img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.home-preview-secure {
    gap: 0.45rem;
    color: var(--home-green);
    font-size: 0.78rem;
    font-weight: 800;
}

.home-journey-panel {
    min-height: 456px;
    padding: clamp(1.4rem, 3vw, 2.25rem);
}

.home-journey-panel[hidden] {
    display: none;
}

.home-preview-kicker {
    margin-bottom: 0.55rem;
    color: #d91f70;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.home-preview-title-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.home-preview-title-row h3 {
    margin: 0 0 0.35rem;
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    line-height: 1.22;
    letter-spacing: 0;
}

.home-preview-title-row p {
    max-width: 460px;
    margin: 0;
    color: var(--home-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.home-preview-step {
    flex: 0 0 auto;
    padding: 0.45rem 0.65rem;
    border: 1px solid #ccd7ed;
    border-radius: 5px;
    background: #fff;
    color: #46618d;
    font-size: 0.72rem;
    font-weight: 800;
    white-space: nowrap;
}

.home-preview-checklist,
.home-exam-track,
.home-parent-steps {
    list-style: none;
    margin: 0;
    padding: 0;
}

.home-preview-checklist {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--home-line);
}

.home-preview-checklist li {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
    min-height: 82px;
    border-bottom: 1px solid var(--home-line);
}

.home-preview-checklist li > i {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e9edf4;
    color: #7a8496;
}

.home-preview-checklist li.is-done > i {
    background: #dff5eb;
    color: var(--home-green);
}

.home-preview-checklist li.is-current > i {
    background: #ffe2ef;
    color: #d91f70;
}

.home-preview-checklist strong,
.home-preview-checklist small {
    display: block;
}

.home-preview-checklist strong {
    font-size: 0.94rem;
}

.home-preview-checklist small {
    margin-top: 0.14rem;
    color: var(--home-muted);
    line-height: 1.4;
}

.home-preview-note {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    margin-top: 1.2rem;
    padding: 0.9rem 1rem;
    border-left: 3px solid var(--home-blue);
    background: #eaf0ff;
    color: #43516a;
    font-size: 0.8rem;
    line-height: 1.5;
}

.home-preview-note > i {
    margin-top: 0.17rem;
    color: var(--home-blue);
}

.home-preview-coaches {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
    margin: 1rem 0 1.25rem;
}

.home-preview-coaches > span {
    min-width: 0;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 0 0.6rem;
    align-items: center;
    padding: 0.65rem;
    border: 1px solid var(--home-line);
    border-radius: 6px;
    background: #fff;
}

.home-preview-coaches img {
    width: 44px;
    height: 44px;
    grid-row: 1 / 3;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
}

.home-preview-coaches strong,
.home-preview-coaches small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-preview-coaches strong {
    align-self: end;
    font-size: 0.82rem;
}

.home-preview-coaches small {
    align-self: start;
    color: var(--home-green);
    font-size: 0.68rem;
    font-weight: 700;
}

.home-preview-slots {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
}

.home-preview-slots button {
    min-height: 74px;
    border: 1px solid #cfd6e2;
    border-radius: 6px;
    background: #fff;
    color: var(--home-navy);
    font: inherit;
    opacity: 1;
}

.home-preview-slots button.is-selected {
    border-color: #ed267d;
    background: #ed267d;
    color: #fff;
}

.home-preview-slots small,
.home-preview-slots strong {
    display: block;
}

.home-preview-slots small {
    margin-bottom: 0.18rem;
    font-size: 0.72rem;
}

.home-preview-slots strong {
    font-size: 1rem;
}

.home-preview-skills {
    display: grid;
    gap: 1rem;
}

.home-preview-skills > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(145px, 0.55fr);
    gap: 1rem;
    align-items: center;
}

.home-preview-skills strong,
.home-preview-skills small {
    display: block;
}

.home-preview-skills strong {
    font-size: 0.87rem;
}

.home-preview-skills small {
    color: var(--home-muted);
    font-size: 0.72rem;
}

.home-preview-skills b {
    height: 8px;
    overflow: hidden;
    border-radius: 4px;
    background: #dfe4ec;
}

.home-preview-skills b span {
    display: block;
    height: 100%;
    border-radius: 4px;
    background: var(--home-blue);
}

.home-code-access {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 20px;
    gap: 0.8rem;
    align-items: center;
    margin-top: 1.5rem;
    padding: 1rem;
    border: 1px solid #dce2eb;
    border-radius: 6px;
    background: #fff;
}

.home-code-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: #fff0b8;
    color: #7a5700;
}

.home-code-access strong,
.home-code-access small {
    display: block;
}

.home-code-access strong {
    font-size: 0.92rem;
}

.home-code-access small {
    margin-top: 0.2rem;
    color: var(--home-muted);
    font-size: 0.73rem;
    line-height: 1.45;
}

.home-code-access > .fa-arrow-up-right-from-square {
    color: #8c95a5;
}

.home-exam-track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--home-line);
    border-radius: 6px;
    background: #fff;
}

.home-exam-track > div {
    min-width: 0;
    min-height: 164px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    border-right: 1px solid var(--home-line);
}

.home-exam-track > div:last-child {
    border-right: 0;
}

.home-exam-track i {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #edf0f5;
    color: #7c8595;
}

.home-exam-track .is-done i {
    background: #dff5eb;
    color: var(--home-green);
}

.home-exam-track .is-current i {
    background: #ffe2ef;
    color: #d91f70;
}

.home-exam-track strong,
.home-exam-track small {
    display: block;
}

.home-exam-track strong {
    margin-bottom: 0.35rem;
    font-size: 0.79rem;
    line-height: 1.35;
}

.home-exam-track small {
    color: var(--home-muted);
    font-size: 0.68rem;
    line-height: 1.45;
}

.home-guidance-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

.home-guidance-primary,
.home-guidance-secondary,
.home-team-foot a {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.75rem 1.2rem;
    border-radius: 6px;
    font-weight: 800;
    text-decoration: none;
}

.home-guidance-primary {
    border: 2px solid #ed267d;
    background: #ed267d;
    color: #fff;
}

.home-guidance-secondary {
    border: 2px solid #ed267d;
    background: #fff;
    color: #d91f70;
}

.home-team {
    padding: clamp(4rem, 7vw, 6rem) 0;
    background: #f2f5fa;
}

.home-team-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.65fr);
    gap: 3rem;
    align-items: end;
    margin-bottom: 2rem;
}

.home-team-heading h2 {
    max-width: 700px;
}

.home-team-heading p {
    margin: 0 0 0.25rem;
    color: var(--home-muted);
    line-height: 1.7;
}

.home-team-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.home-instructor-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dce2eb;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 9px 24px rgba(23, 26, 51, 0.06);
}

.home-instructor-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: block;
    object-fit: cover;
    object-position: center 20%;
    background: #e9edf4;
}

.home-instructor-card > div {
    padding: 1rem;
}

.home-instructor-card h3 {
    margin: 0 0 0.3rem;
    font-size: 1.1rem;
    letter-spacing: 0;
}

.home-instructor-card p {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 24px;
    margin: 0;
    color: var(--home-muted);
    font-size: 0.78rem;
    line-height: 1.45;
}

.home-instructor-card p .fa-star {
    color: #d99c00;
}

.home-instructor-card .home-instructor-slots {
    margin-top: 0.65rem;
    color: var(--home-green);
    font-weight: 800;
}

.home-instructor-card.is-loading {
    box-shadow: none;
}

.home-instructor-photo-placeholder,
.home-instructor-line-placeholder {
    display: block;
    background: #e2e7ef;
}

.home-instructor-photo-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
}

.home-instructor-line-placeholder {
    width: 70%;
    height: 13px;
    margin: 0.2rem 0 0.75rem;
    border-radius: 4px;
}

.home-instructor-line-placeholder.short {
    width: 45%;
    height: 10px;
    margin-bottom: 0.2rem;
}

.home-team-empty {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 96px;
    padding: 1.2rem;
    border: 1px solid #dce2eb;
    border-radius: 6px;
    background: #fff;
    color: var(--home-muted);
    line-height: 1.6;
}

.home-team-empty i {
    color: var(--home-blue);
    font-size: 1.2rem;
}

.home-team-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.25rem;
}

.home-team-foot > span {
    color: var(--home-muted);
    font-size: 0.8rem;
}

.home-team-foot > span i {
    margin-right: 0.35rem;
    color: var(--home-blue);
}

.home-team-foot a {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0.55rem 0.9rem;
    color: #d91f70;
}

.home-parent {
    padding: clamp(3.5rem, 6vw, 5rem) 0;
    border-top: 1px solid #e4e8ef;
    border-bottom: 1px solid #e4e8ef;
    background: #fff;
}

.home-financing {
    --home-navy: #171a33;
    --home-muted: #667085;
    --home-line: #dfe4ec;
    --home-blue: #3568e8;
    padding: clamp(3.75rem, 6vw, 5.25rem) 0;
    border-top: 1px solid #e5e9f0;
    border-bottom: 1px solid #e5e9f0;
    background: #f4f7fb;
    color: var(--home-navy);
    scroll-margin-top: 130px;
}

.home-financing-layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.78fr) minmax(520px, 1.22fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.home-financing-copy h2 {
    max-width: 560px;
    margin: 0;
    color: var(--home-navy);
    font-size: clamp(1.9rem, 3.2vw, 2.8rem);
    line-height: 1.14;
    letter-spacing: 0;
}

.home-financing-copy > p {
    max-width: 590px;
    margin: 1rem 0 0;
    color: var(--home-muted);
    line-height: 1.7;
}

.home-financing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.55rem;
}

.home-financing-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--home-line);
    border-left: 1px solid var(--home-line);
    background: #fff;
}

.home-financing-option {
    min-width: 0;
    min-height: 142px;
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    padding: 1.15rem;
    border-right: 1px solid var(--home-line);
    border-bottom: 1px solid var(--home-line);
}

.home-financing-option img {
    width: 86px;
    height: 58px;
    object-fit: contain;
}

.home-financing-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #e8efff;
    color: var(--home-blue);
    font-size: 1.35rem;
}

.home-financing-option strong,
.home-financing-option small {
    display: block;
}

.home-financing-option strong {
    font-size: 0.9rem;
    line-height: 1.4;
}

.home-financing-option small {
    margin-top: 0.3rem;
    color: var(--home-muted);
    font-size: 0.73rem;
    line-height: 1.5;
}

.home-parent-layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.78fr) minmax(520px, 1.22fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.home-parent-copy h2 {
    margin-bottom: 1rem;
    font-size: clamp(1.9rem, 3.2vw, 2.8rem);
}

.home-parent-copy p {
    margin: 0 0 1.35rem;
    color: var(--home-muted);
    line-height: 1.7;
}

.home-parent-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--home-line);
    border-left: 1px solid var(--home-line);
}

.home-parent-steps li {
    min-height: 150px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 0.85rem;
    align-items: start;
    padding: 1.15rem;
    border-right: 1px solid var(--home-line);
    border-bottom: 1px solid var(--home-line);
}

.home-parent-steps li > span {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffe2ef;
    color: #d91f70;
    font-weight: 900;
}

.home-parent-steps strong,
.home-parent-steps small {
    display: block;
}

.home-parent-steps strong {
    margin-top: 0.2rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.home-parent-steps small {
    margin-top: 0.35rem;
    color: var(--home-muted);
    font-size: 0.76rem;
    line-height: 1.5;
}

@media (max-width: 1020px) {
    .home-journey-layout,
    .home-parent-layout,
    .home-financing-layout {
        grid-template-columns: 1fr;
    }

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

    .home-team-heading {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

@media (max-width: 680px) {
    .home-journey,
    .home-team,
    .home-parent,
    .home-financing {
        padding: 3.5rem 0;
    }

    .home-guidance-heading {
        margin-bottom: 2rem;
        text-align: left;
    }

    .home-guidance-heading h2,
    .home-team-heading h2,
    .home-parent-copy h2,
    .home-financing-copy h2 {
        font-size: 1.9rem;
    }

    .home-financing-actions,
    .home-financing-actions .home-guidance-primary,
    .home-financing-actions .home-guidance-secondary {
        width: 100%;
    }

    .home-financing-options {
        grid-template-columns: 1fr;
    }

    .home-financing-option {
        min-height: 112px;
        grid-template-columns: 74px minmax(0, 1fr);
        padding: 1rem;
    }

    .home-financing-option img {
        width: 74px;
        height: 50px;
    }

    .home-guidance-heading p {
        margin-left: 0;
        font-size: 0.95rem;
    }

    .home-journey-tabs {
        grid-template-columns: 1fr;
    }

    .home-journey-tab {
        min-height: 94px;
        grid-template-columns: 42px minmax(0, 1fr) 18px;
        padding: 0.85rem;
    }

    .home-journey-index {
        width: 42px;
        height: 42px;
    }

    .home-journey-preview,
    .home-journey-panel {
        min-height: 0;
    }

    .home-preview-bar {
        min-height: 56px;
        padding: 0.65rem 0.85rem;
    }

    .home-preview-secure {
        font-size: 0;
    }

    .home-preview-secure i {
        font-size: 0.85rem;
    }

    .home-journey-panel {
        padding: 1.15rem;
    }

    .home-preview-title-row {
        display: block;
        margin-bottom: 1.1rem;
    }

    .home-preview-step {
        display: inline-block;
        margin-top: 0.75rem;
    }

    .home-preview-coaches {
        grid-template-columns: 1fr;
    }

    .home-preview-slots {
        gap: 0.4rem;
    }

    .home-preview-skills > div {
        grid-template-columns: 1fr;
        gap: 0.45rem;
    }

    .home-exam-track {
        grid-template-columns: 1fr;
    }

    .home-exam-track > div {
        min-height: 0;
        display: grid;
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 0.7rem;
        border-right: 0;
        border-bottom: 1px solid var(--home-line);
    }

    .home-exam-track > div:last-child {
        border-bottom: 0;
    }

    .home-guidance-actions,
    .home-guidance-primary,
    .home-guidance-secondary {
        width: 100%;
    }

    .home-team-grid {
        display: flex;
        gap: 0.85rem;
        margin: 0 -1.5rem;
        padding: 0 1.5rem 0.75rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .home-team-grid::-webkit-scrollbar {
        display: none;
    }

    .home-instructor-card {
        flex: 0 0 min(76vw, 290px);
        scroll-snap-align: start;
    }

    .home-team-foot {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-parent-steps {
        grid-template-columns: 1fr;
    }

    .home-parent-steps li {
        min-height: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-journey-tab,
    .home-journey-tab > .fa-chevron-right {
        transition: none;
    }
}
