/* =============================================================
   Thank You — What Happens Next Section
   White bg, outline circles, horizontal connector line
   Matches screenshot design exactly
   ============================================================= */

.ty-next-steps {
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #ffffff;
    font-family: 'Inter', Arial, Verdana, Tahoma, sans-serif;
}

@media only screen and (min-width: 768px) {
    .ty-next-steps {
        padding-top: 64px;
        padding-bottom: 60px;
    }
}

.ty-next-steps-container {
    max-width: 900px;
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
    text-align: center;
}

/* Section title — exact hearing page h2 font-lg scale */
.ty-next-steps-title {
    font-family: 'General Sans', Arial, Verdana, Tahoma, sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #1C2533;
    line-height: 1.265;
    margin: 0 0 40px 0;
    text-align: center;
}

@media only screen and (min-width: 576px) {
    .ty-next-steps-title { font-size: 30px; }
}

@media only screen and (min-width: 768px) {
    .ty-next-steps-title {
        font-size: 38px;
        margin-bottom: 50px;
    }
}

@media only screen and (min-width: 1025px) {
    .ty-next-steps-title { font-size: 42px; }
}

@media only screen and (min-width: 1281px) {
    .ty-next-steps-title { font-size: 48px; }
}

@media only screen and (min-width: 1440px) {
    .ty-next-steps-title { font-size: 54px; }
}

@media only screen and (min-width: 1600px) {
    .ty-next-steps-title { font-size: 60px; }
}

/* Steps row — horizontal on tablet+ */
.ty-steps-row {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

@media only screen and (min-width: 768px) {
    .ty-steps-row {
        flex-direction: row;
        align-items: flex-start;
        gap: 0;
    }
}

/* Each step */
.ty-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

/* Circle row — contains circle + connector line */
.ty-step-top {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}

/* Number circle — outline style matching screenshot */
.ty-step-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #5857F9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.ty-step-circle span {
    font-family: 'General Sans', Arial, Verdana, Tahoma, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #5857F9;
    line-height: 1;
}

/* Connector line between circles */
@media only screen and (min-width: 768px) {
    .ty-step:not(:last-child) .ty-step-top::after {
        content: '';
        position: absolute;
        top: 50%;
        left: calc(50% + 26px);
        right: calc(-50% + 26px);
        height: 1.5px;
        background-color: #5857F9;
        transform: translateY(-50%);
        z-index: 1;
    }
}

/* Step content */
.ty-step-content {
    padding: 0 12px;
    max-width: 220px;
}

/* Step heading — General Sans, weight 600 */
.ty-step-heading {
    font-family: 'General Sans', Arial, Verdana, Tahoma, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1C2533;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

@media only screen and (min-width: 768px) {
    .ty-step-heading { font-size: 16px; }
}

@media only screen and (min-width: 1025px) {
    .ty-step-heading { font-size: 18px; }
}

@media only screen and (min-width: 1281px) {
    .ty-step-heading { font-size: 20px; }
}

/* Step description — body-font-lg scale */
.ty-step-description {
    font-size: 12px;
    font-weight: 400;
    color: #626468;
    line-height: 1.705;
    margin: 0;
}

@media only screen and (min-width: 768px) {
    .ty-step-description { font-size: 14px; }
}

@media only screen and (min-width: 1025px) {
    .ty-step-description { font-size: 15px; }
}

@media only screen and (min-width: 1281px) {
    .ty-step-description { font-size: 16px; }
}
