/* ============================================
   SECTION: Autism Testing — Getting Started
   Heading + intro on the left, a cream card on the right.
   The card reuses the ndbi/definition cream-card styles
   (.ndbi-def-card--cream + swirl); this file adds the
   two-column layout and the three process sub-cards.
   ============================================ */

.at-getting-started {
    padding: 100px var(--section-side-padding);
    background: var(--color-white);
}

.at-getting-started__inner {
    max-width: var(--container-max);
    margin-inline: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
}

/* ----- Intro (left) ----- */
.at-getting-started__intro {
    flex: 0 1 505px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.at-getting-started__heading-block {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 0;
}

.at-getting-started__heading {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: var(--font-weight-normal);
    line-height: 50px;
    letter-spacing: -1.26px;
    color: var(--color-text-heading);
}

.at-getting-started__heading .accent-script {
    color: var(--color-primary);   /* pink */
}

.at-getting-started__lede {
    font-size: 16px;
    line-height: 26px;
    color: var(--color-text-faint);
    margin: 0;
}

/* ----- Cream card (right) ----- */
.at-getting-started__card {
    flex: 0 1 610px;
}

/* Three process sub-cards inside the cream card */
.at-getting-started__list {
    position: relative;
    z-index: 1;
    list-style: none;
    margin: 32px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.at-getting-started__item {
    padding: 24px;
    background: var(--color-white);
    border: 2px solid var(--color-primary-light);   /* #ffebf0 */
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.at-getting-started__item-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.at-getting-started__item-body {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.at-getting-started__item-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: var(--font-weight-normal);
    line-height: 28px;
    color: #2c2626;
    margin: 0;
}

.at-getting-started__item-desc {
    font-size: 15px;
    line-height: 22px;
    color: #5b6e78;
    margin: 0;
}

/* Scroll-position bars — phones only. Sits above the card's swirl.
   White rather than the usual pale pink, which would disappear against
   the cream card. */
.at-getting-started__bars {
    position: relative;
    z-index: 1;
    display: none;
    gap: 7px;
    margin-top: 24px;
}

.at-getting-started__bar {
    flex: 1 1 0;
    height: 4px;
    border-radius: 100px;
    background: var(--color-white);
    transition: background-color var(--transition-fast);
}

.at-getting-started__bar.is-active {
    background: var(--color-primary);
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
    .at-getting-started__inner {
        flex-direction: column;
        gap: 40px;
    }
    .at-getting-started__intro,
    .at-getting-started__card {
        flex: initial;
        max-width: none;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .at-getting-started {
        padding: 60px var(--section-side-padding);
    }
    .at-getting-started__heading {
        font-size: 32px;
        line-height: 38px;
    }
}

/* ----- Phones: the three stages become a horizontal scroller -----
   These sit inside the cream card, so the track bleeds to the card's own
   24px padding rather than the section gutter, and the card's
   `overflow: hidden` crops the next stage to a peek. */
@media (max-width: 600px) {
    .at-getting-started__list {
        flex-direction: row;
        align-items: stretch;         /* equal heights; ragged looks broken */
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        margin-inline: -24px;
        padding-inline: 24px;
        /* keeps the snap point from cancelling the padding above */
        scroll-padding-inline: 24px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .at-getting-started__list::-webkit-scrollbar {
        display: none;
    }

    .at-getting-started__item {
        flex: 0 0 260px;
        scroll-snap-align: start;
    }

    .at-getting-started__bars {
        display: flex;
    }
}
