.stage3 {
    position: relative;
    width: 100%;
    overflow: hidden;
    color: #ffffff;
    background: #111116;
    scroll-margin-top: 7rem;
}

.stage3::before {
    position: absolute;
    top: -25rem;
    left: 50%;
    width: 70rem;
    height: 50rem;
    background: radial-gradient(circle, rgba(0, 205, 255, 0.14), transparent 68%);
    content: "";
    transform: translateX(-50%);
    pointer-events: none;
}

.stage3__inner,
.stage3__senior-wrap {
    position: relative;
    z-index: 2;
    width: min(var(--container-width), calc(100% - (var(--page-gutter) * 2)));
    margin-inline: auto;
}

.stage3__inner {
    padding: 12rem 0 10rem;
}

.stage3__heading {
    max-width: 80rem;
    margin-inline: auto;
    text-align: center;
}

.stage3__eyebrow {
    margin: 0 0 1.7rem;
    color: var(--brand-cyan);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.stage3__eyebrow--light {
    color: rgba(255, 255, 255, 0.66);
}

.stage3__heading h2,
.stage3__senior-copy h2 {
    margin: 0;
    font-size: 5.8rem;
    font-weight: 760;
    letter-spacing: -0.06em;
    line-height: 1.03;
}

.stage3__heading h2 span {
    color: transparent;
    background: var(--brand-gradient);
    background-clip: text;
    -webkit-background-clip: text;
}

.stage3__heading h2 {
    letter-spacing: 0;
}

.stage3__heading > p:last-child {
    max-width: 62rem;
    margin: 2.5rem auto 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 1.5rem;
    line-height: 1.75;
}

.stage3__steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
    margin-top: 7rem;
}

.stage3__step {
    position: relative;
    min-height: 38rem;
    padding: 2.8rem;
    background: rgba(255, 255, 255, 0.055);
    border: 0.1rem solid rgba(255, 255, 255, 0.13);
    border-radius: 2.4rem;
}

.stage3__step--accent {
    color: #111116;
    background: linear-gradient(145deg, #a7eeff, #dcc0ff);
    border-color: transparent;
    transform: translateY(2rem) rotate(0.8deg);
}

.stage3__step-number {
    display: block;
    color: rgba(255, 255, 255, 0.42);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.stage3__step--accent .stage3__step-number {
    color: rgba(17, 17, 22, 0.5);
}

.stage3__step-icon {
    display: grid;
    width: 8rem;
    height: 8rem;
    margin: 5rem 0 4.2rem;
    place-items: center;
    color: #111116;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.18);
}

.stage3__step--accent .stage3__step-icon {
    color: #ffffff;
    background: #111116;
}

.stage3__step-icon svg {
    width: 3.2rem;
    height: 3.2rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.stage3__step h3 {
    margin: 0;
    font-size: 2.4rem;
    letter-spacing: -0.035em;
}

.stage3__step > p {
    max-width: 31rem;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.52);
    font-size: 1.3rem;
    line-height: 1.7;
}

.stage3__step--accent > p {
    color: rgba(17, 17, 22, 0.66);
}

.stage3__step-line {
    position: absolute;
    z-index: 4;
    top: 17rem;
    left: calc(100% - 1rem);
    width: 3.6rem;
    border-top: 0.1rem dashed rgba(255, 255, 255, 0.38);
}

.stage3__step--accent .stage3__step-line {
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(-0.8deg);
}

.stage3__principles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 8rem;
    border-top: 0.1rem solid rgba(255, 255, 255, 0.13);
    border-bottom: 0.1rem solid rgba(255, 255, 255, 0.13);
}

.stage3__principles > div {
    padding: 2.6rem 3rem;
    text-align: center;
}

.stage3__principles > div + div {
    border-left: 0.1rem solid rgba(255, 255, 255, 0.13);
}

.stage3__principles strong,
.stage3__principles span {
    display: block;
}

.stage3__principles strong {
    font-size: 1.4rem;
}

.stage3__principles span {
    margin-top: 0.4rem;
    color: rgba(255, 255, 255, 0.46);
    font-size: 1.1rem;
}

.stage3__senior-wrap {
    padding-bottom: 12rem;
    scroll-margin-top: 9rem;
}

.stage3__senior-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(30rem, 0.72fr) minmax(0, 1.28fr);
    gap: 5rem;
    align-items: start;
    overflow: hidden;
    padding: 6rem;
    background:
        radial-gradient(circle at 8% 15%, rgba(255, 255, 255, 0.48), transparent 23%),
        linear-gradient(125deg, #00bde9 0%, #7864ec 52%, #a600a6 100%);
    border-radius: 3.2rem;
}

.stage3__senior-card::after {
    position: absolute;
    right: -14rem;
    bottom: -24rem;
    width: 50rem;
    height: 50rem;
    border: 0.1rem solid rgba(255, 255, 255, 0.38);
    border-radius: 50%;
    content: "";
}

.stage3__senior-copy,
.stage3__senior-card [data-component-root="application"] {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.stage3__senior-copy h2 {
    font-size: 4.8rem;
}

.stage3__senior-copy > p:not(.stage3__eyebrow) {
    max-width: 58rem;
    margin: 2.4rem 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.5rem;
    line-height: 1.75;
}

.stage3__senior-benefits {
    display: grid;
    gap: 1.2rem;
    margin-top: 3.2rem;
    padding: 0;
    list-style: none;
}

.stage3__senior-benefits li {
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: 1rem;
    align-items: start;
    color: rgba(255, 255, 255, 0.74);
    font-size: 1.2rem;
    line-height: 1.6;
}

.stage3__senior-benefits li span {
    color: rgba(255, 255, 255, 0.48);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.stage3__application-link {
    display: inline-flex;
    min-height: 4.8rem;
    align-items: center;
    gap: 0.9rem;
    margin-top: 3.2rem;
    padding: 0 1.7rem;
    color: #111116;
    background: rgba(255, 255, 255, 0.92);
    border: 0.1rem solid rgba(255, 255, 255, 0.92);
    border-radius: 999rem;
    font-size: 1.2rem;
    font-weight: 700;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.stage3__application-link:hover {
    background: #ffffff;
    transform: translateY(-0.2rem);
}

.stage3__application-link svg {
    width: 1.7rem;
    height: 1.7rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media screen and (max-width: 900px) {
    .stage3__inner {
        padding: 9rem 0;
    }

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

    .stage3__step {
        min-height: 30rem;
    }

    .stage3__step--accent {
        transform: none;
    }

    .stage3__step-icon {
        margin: 3.6rem 0 3rem;
    }

    .stage3__step-line {
        display: none;
    }

    .stage3__senior-card {
        grid-template-columns: 1fr;
        gap: 5rem;
        padding: 5.5rem;
    }
}

@media screen and (max-width: 640px) {
    .stage3__senior-card [data-component-root="application"] {
        display: none;
    }
    .stage3__heading h2,
    .stage3__senior-copy h2 {
        font-size: 4.3rem;
    }

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

    .stage3__principles > div + div {
        border-top: 0.1rem solid rgba(255, 255, 255, 0.13);
        border-left: 0;
    }

    .stage3__senior-wrap {
        padding-bottom: 8rem;
    }

    .stage3__senior-card {
        gap: 4rem;
        padding: 4.5rem 2.4rem;
        border-radius: 2.4rem;
    }

    .stage3__senior-copy h2 {
        font-size: 4rem;
    }
}

@media screen and (max-width: 360px) {
    .stage3__senior-card {
        padding: 3.5rem 1.6rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .stage3__application-link {
        transition: none;
    }
}
