/* Avion YYA Student landing pages */

body.student-page {
    padding: 0;
}

.student-page main {
    overflow-x: hidden;
}

.student-page h2 {
    font-weight: 500 !important;
}

.student-page .student-section-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0px;
}

/* Footer — match 1120px content width */
.student-page section.disclaimer .section-inner,
.student-page footer .fat-footer-inner,
.student-page footer .main-footer-inner {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}

@media (max-width: 639px) {
    .student-page section.disclaimer .section-inner,
    .student-page footer .fat-footer-inner,
    .student-page footer .main-footer-inner {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Header — match 1120px content width at <=1440px (EN only) */
@media (max-width: 1440px) {
    html[lang="en"] .student-page #header .max-width {
        max-width: 1120px;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }
}

/* Hero */
.student-hero {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    height: min(44.444vw, 640px);
    background: #0051a5;
    overflow: hidden;
}

.student-hero__media {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.student-hero__media picture {
    display: contents;
}

.student-hero__bg-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 55% 100%;
}

.student-hero__wave {
    position: absolute;
    left: 0;
    top: -42.031%;
    width: 51.111%;
    height: 131.867%;
    z-index: 2;
    display: block;
}

.student-hero__frame {
    position: absolute;
    inset: 0;
    z-index: 3;
}

.student-hero__inner {
    position: relative;
    z-index: 1;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 6.88% 11.111% 0%;
    box-sizing: border-box;
}

.student-hero__content {
    max-width: 48.458%;
    color: #fff;
}

.student-hero__content h1 {
    font-family: "RBCDisplay", "RBC Display", sans-serif;
    font-size: 44px;
    font-weight: 500;
    line-height: 1.05;
    color: #fff;
    margin: 0 0 32px;
}

.student-hero__content p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    margin: 0px 20px 32px 0px;
}

.student-hero__sign-in {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    margin: 0;
}

.student-hero__sign-in a {
    color: #fff !important;
    font-weight: 700;
    text-decoration: underline;
}

@media (min-width: 940px) {
    .student-hero__sign-in-line2 {
        display: block;
    }
}

.student-hero__lockup {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.student-hero__lockup-shield {
    position: absolute;
    right: 0;
    bottom: 0.014%;
    width: 26.25%;
    height: 43.374%;
    display: block;
    z-index: 1;
}

.student-hero__lockup-rbc {
    position: absolute;
    right: 13.001%;
    bottom: 6.772%;
    width: 4.105%;
    height: 11.984%;
    display: block;
    z-index: 2;
}

.student-hero__lockup-avion {
    position: absolute;
    right: 3.575%;
    bottom: 9.318%;
    width: 8.194%;
    height: auto;
    display: block;
    z-index: 2;
}

.student-hero__badge {
    position: absolute;
    left: calc(50% + 17%);
    top: 11.563%;
    transform: translateX(-50%);
    z-index: 4;
}

.student-hero__disclaimer {
    position: absolute;
    bottom: 11.406%;
    z-index: 4;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    color: #fff;
    margin: 0;
}

.student-v2 .student-hero__content {
    max-width: 36.542%;
}

@media (min-width: 1441px) {
    /* Height caps at 640px while width grows — anchor top so heads stay visible, crop from below */
    .student-hero__bg-image {
        object-position: 92% 0%;
    }

    .student-hero__wave {
        top: -87%;
        left: -5%;
        width: 69.444vw;
        max-width: 1000px;
        height: 179.062%;
    }

    .student-v2 .student-hero__badge .student-points-badge {
        width: 210px;
        height: 210px;
    }

    .student-hero__inner {
        max-width: 1440px;
        margin: 0px;
        padding: 80px 0px 0px 240px;
    }

    .student-hero__content {
        max-width: 525px;
    }

    .student-v2 .student-hero__content {
        max-width: 411px;
    }

    .student-hero__lockup-shield {
        width: 378px;
        height: 277.735px;
        bottom: 0;
    }

    .student-hero__lockup-rbc {
        right: 187px;
        bottom: 43px;
        width: 59px;
        height: 77px;
    }

    .student-hero__lockup-avion {
        right: 51px;
        bottom: 60px;
        width: 118px;
        height: auto;
    }

    .student-v2 .student-hero__inner {
        padding-top: 113px;
    }
}

/* Points badge */
.student-points-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffb500 0%, #ff6c54 100%);
    color: #0b3166;
    text-align: center;
    flex-shrink: 0;
}

.student-v2 .student-hero__badge .student-points-badge {
    width: 180px;
    height: 180px;
}

.student-points-badge__label {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
}

.student-points-badge__value + .student-points-badge__label,
.student-points-badge__label + .student-points-badge__label {
    line-height: 1.15;
}

.student-points-badge__value {
    font-family: "RBCDisplay", "RBC Display", sans-serif;
    font-size: 64px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -2px;
    margin: 0;
}

.student-points-badge__value span:nth-child(2) {
    font-size: 32px;
}

/* Buttons */
.student-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    padding: 20px 40px;
    border-radius: 9999px;
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.student-btn--white {
    background: #fff;
    color: #0b3166;
}

.student-btn--white:hover,
.student-btn--white:focus {
    background: #f5f8f9;
    color: #0b3166;
    text-decoration: none;
}

.student-btn--blue {
    background: #0051a5;
    color: #fff !important;
}

.student-btn--blue:hover,
.student-btn--blue:focus {
    background: #004488;
    color: #fff;
    text-decoration: none;
}

.student-btn--outline {
    background: #fff;
    color: #0b3166;
    border: 2px solid #0051a5;
    min-height: 48px;
    padding: 12px 32px;
    font-size: 16px;
    line-height: 24px;
}

.student-btn--sm {
    min-height: 48px;
    padding: 12px 32px;
    font-size: 16px;
    line-height: 24px;
}

/* Context block */
.student-context {
    padding: 64px 0;
}

.student-context__card {
    display: flex;
    align-items: center;
    gap: 32px;
    background: #b5ebfa;
    border-radius: 16px;
    padding: 32px 96px;
}

.student-context__text h2 {
    font-family: "RBCDisplay", "RBC Display", sans-serif;
    font-size: 36px;
    font-weight: 500 !important;
    line-height: 1.2;
    color: #1f1f1f;
    margin: 0 0 32px;
}

.student-context__text p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    color: #1f1f1f;
    margin: 0 0 32px;
}

.student-context__text p:last-child {
    margin-bottom: 0;
}

.student-context__illustration {
    flex: 0 0 352px;
    max-width: 352px;
}

.student-context__image {
    display: block;
    width: 352px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* Steps (V1 only) */
.student-steps {
    background: #f5f8f9;
    padding: 64px 0;
}

.student-steps__card {
    background: #fff;
    border-radius: 16px;
    padding: 64px 96px;
    margin-bottom: 64px;
}

.student-steps__card h2 {
    font-family: "RBCDisplay", "RBC Display", sans-serif;
    font-size: 36px;
    font-weight: 500 !important;
    line-height: 1.2;
    text-align: center;
    color: #1f1f1f;
    margin: 0 0 64px;
}

.student-steps__grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 29px;
}

.student-step {
    flex: 1 1 0;
    max-width: 256px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
}

.student-step__icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.student-step__icon img {
    width: 40px;
    height: 40px;
}

.student-step__icon--sunburst { background: #ffe9b2; }
.student-step__icon--turquoise { background: #bff1ef; }
.student-step__icon--sky { background: #b5ebfa; }

.student-step h3 {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.25;
    margin: 0 0 16px;
    color: #1f1f1f;
}

.student-step p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    margin: 0;
    color: #1f1f1f;
}

.student-step-arrow {
    flex: 0 0 22px;
    padding-top: 32px;
}

.student-step-arrow img {
    width: 22px;
    height: 22px;
    display: block;
}

.student-steps__cta {
    text-align: center;
}

/* Offers section */
.student-offers {
    padding: 64px 0;
}

.student-offers .student-section-inner {
    padding-left: 0;
    padding-right: 0;
}

.student-v2 .student-offers {
    padding-top: 0;
}

.student-offers__intro {
    font-family: "RBCDisplay", "RBC Display", sans-serif;
    font-size: 24px;
    font-weight: 500 !important;
    line-height: 1.25;
    text-align: center;
    color: #1f1f1f;
    max-width: 730px;
    margin: 0 auto 64px;
}

.student-points-banner {
    position: relative;
    background: #0051a5;
    border-radius: 16px;
    width: 100%;
    aspect-ratio: 1120 / 440;
    overflow: hidden;
    margin-bottom: 64px;
}

.student-points-banner__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 72% 38%;
    pointer-events: none;
}

.student-points-banner__wave {
    position: absolute;
    left: 0;
    top: -25.909%;
    width: 38.316%;
    height: 111.836%;
    z-index: 1;
    pointer-events: none;
}

.student-points-banner__wave img {
    width: 100%;
    height: 100%;
    display: block;
}

.student-points-banner__content {
    position: absolute;
    z-index: 2;
    left: 5.714%;
    top: 14.545%;
    width: 27.589%;
    padding: 0;
    color: #fff;
}

.student-points-banner__content h2 {
    font-family: "RBCDisplay", "RBC Display", sans-serif;
    font-size: 36px;
    font-weight: 500 !important;
    line-height: 1.2;
    color: #fff;
    max-width: 276px;
    margin: 0 0 32px;
}

.student-points-banner__content p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    max-width: 309px;
    margin: 0;
}

.student-points-banner__badge {
    position: absolute;
    z-index: 3;
    left: 35.982%;
    top: 6.818%;
    width: 16.964%;
    max-width: 190px;
    aspect-ratio: 1;
}

.student-points-banner__badge .student-points-badge {
    width: 100%;
    height: 100%;
}

.student-points-banner__badge .student-points-badge__label {
    font-size: clamp(12px, 1.43vw, 16px);
}

.student-points-banner__badge .student-points-badge__value {
    font-size: clamp(36px, 5.4vw, 64px);
}

.student-points-banner__badge .student-points-badge__value span:nth-child(2) {
    font-size: clamp(18px, 2.86vw, 32px);
}

.student-points-banner__disclaimer {
    position: absolute;
    left: 5.714%;
    bottom: 9.318%;
    z-index: 2;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    color: #fff;
    margin: 0;
}

.student-offers__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    align-items: stretch;
    max-width: 1120px;
    margin: 0 auto;
}

.student-offer-card {
    max-width: 256px;
    width: 100%;
    min-height: 388px;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.student-offer-logo {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #e0e0e0;
    padding: 16px 24px;
}

.student-offer-logo img {
    max-width: 100%;
    max-height: 58px;
    width: auto;
    height: auto;
}

.student-offer-logo--dark {
    background: #000;
}

.student-offer-logo--sephora {
    display: block;
    padding: 0;
    position: relative;
}

.student-offer-logo--sephora img {
    position: absolute;
    top: 40.833%;
    left: 15.625%;
    width: 69.129%;
    height: 19.133%;
    max-width: none;
    max-height: none;
}

.student-offer-logo--banner {
    height: 120px;
    padding: 0;
    overflow: hidden;
}

.student-offer-logo--banner img {
    display: block;
    width: 100%;
    height: 120px;
    max-width: none;
    max-height: none;
    object-fit: cover;
}

.student-offer-logo--banner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.student-offer-logo--banner-logo img {
    width: auto;
    height: auto;
    max-width: calc(100% - 48px);
    max-height: 58px;
    object-fit: contain;
}

.student-offer-logo--banner-white {
    background: #ffffff;
}

.student-offer-logo--banner-pink {
    background: #fbe8fd;
}

.student-offer-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px;
}

.student-offer-brand {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 4px;
    color: #1f1f1f;
}

.student-offer-text {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.25;
    margin: 0;
    color: #1f1f1f;
}

.student-offer-date {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5;
    margin: 24px 0 0;
    color: #1f1f1f;
}

.student-offer-date img {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.student-offers-grid-heading {
    text-align: center;
    margin: 64px auto;
    padding: 0% 5%;
}

.student-offers-grid-heading p {
    font-family: "RBCDisplay", "RBC Display", sans-serif;
    font-size: 24px;
    font-weight: 500 !important;
    line-height: 1.25;
    color: #1f1f1f;
    max-width: 670px;
    margin: 0 auto 32px;
}

.student-offers__closing {
    text-align: center;
    margin-top: 64px;
    padding: 0% 5%;
}

.student-offers__closing p {
    font-family: "RBCDisplay", "RBC Display", sans-serif;
    font-size: 24px;
    font-weight: 500 !important;
    line-height: 1.25;
    color: #1f1f1f;
    max-width: 570px;
    margin: 0 auto 32px;
}

.student-v2-spacer {
    height: 64px;
    background: #fff;
}

@media (max-width: 1439px) and (min-width: 1120px) {
    .student-hero__inner {
        position: relative;
        z-index: 1;
        height: 100%;
        width: 100%;
        margin: 0;
        padding: 3.88% 6.111% 0%;
        box-sizing: border-box;
    }
    .student-hero__content h1 {
        font-size: 36px;
    }
}

@media (max-width: 1440px) and (min-width: 940px) {
    .student-hero__badge {
        position: absolute;
        left: calc(50% - 1%);
        top: 11.563%;
        transform: translateX(-50%);
        z-index: 4;
    }
}
/* Responsive: hero side-by-side tweaks (940px–1119px) */
@media (max-width: 1119px) and (min-width: 940px) {
    .student-hero {
        height: min(44.444vw, 640px);
    }

    .student-v2 .student-hero__badge .student-points-badge {
        width: 150px;
        height: 150px;
    }

    .student-hero__content h1 {
        font-size: 30px;
        max-width: 90%;
        margin: 0 0 20px;
    }

    .student-hero__content p {
        font-size: 16px;
        font-weight: 300;
        line-height: 1.5;
        margin: 0 0 20px;
        max-width: 85%;
    }

    .student-hero__inner {
        padding: 3% 5% 0%;
    }

    .student-hero__content {
        max-width: 55%;
    }

    .student-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 45px;
        padding: 10px 24px;
        border-radius: 9999px;
        font-size: 18px;
        font-weight: 500;
        line-height: 28px;
        text-decoration: none;
        cursor: pointer;
    }

    .student-hero__lockup {
        opacity: 0.85;
    }
}

@media (max-width: 1119px) {
    .student-context__card {
        flex-direction: column;
        padding: 32px 40px;
    }

    .student-context__illustration {
        flex: none;
        width: 100%;
        max-width: 280px;
    }

    .student-steps__card {
        padding: 40px 24px;
    }

    .student-steps__grid {
        flex-direction: column;
        align-items: center;
    }

    .student-step-arrow {
        transform: rotate(90deg);
        padding: 0;
    }
    
    .student-points-badge__value {
        font-family: "RBCDisplay", "RBC Display", sans-serif;
        font-size: 56px;
        font-weight: 500;
        line-height: 1;
        letter-spacing: -2px;
        margin: 0;
    }
}

/* Hero: stacked layout below 940px — image on top, content below (v1 + v2, EN + FR) */
@media (max-width: 939px) {
    .student-hero {
        display: flex;
        flex-direction: column;
        height: auto;
        min-height: 0;
        overflow: hidden;
    }

    .student-hero__media {
        position: relative;
        inset: auto;
        order: -1;
        width: 100%;
        height: clamp(220px, 42vw, 320px);
        flex-shrink: 0;
        pointer-events: none;
    }

    .student-hero__wave {
        display: none;
    }

    .student-hero__bg-image {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 28%;
    }

    .student-hero__lockup {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: auto;
        height: clamp(220px, 42vw, 320px);
        z-index: 2;
        opacity: 1;
        pointer-events: none;
    }

    .student-hero__lockup-shield {
        right: 0;
        bottom: 0;
        left: auto;
        top: auto;
        width: clamp(150px, 30vw, 240px);
        height: auto;
    }

    .student-hero__lockup-rbc {
        right: 14%;
        bottom: 8%;
        width: 5.2%;
        min-width: 32px;
        max-width: 40px;
        height: auto;
    }

    .student-hero__lockup-avion {
        right: 3%;
        bottom: 11%;
        width: 8.5%;
        min-width: 50px;
        max-width: 78px;
        height: auto;
    }

    .student-hero__frame {
        position: relative;
        inset: auto;
        order: 1;
        width: 100%;
        z-index: 3;
        background: #0051a5;
    }

    .student-hero__inner {
        position: relative;
        height: auto;
        min-height: 0;
        padding: 32px 24px 40px;
        box-sizing: border-box;
    }

    .student-hero__content {
        max-width: 100%;
        width: 100%;
    }

    .student-v2 .student-hero__content {
        max-width: 100%;
    }

    .student-hero__content h1 {
        font-size: clamp(26px, 5vw, 34px);
        max-width: none;
        margin: 0 0 16px;
        line-height: 1.15;
    }

    .student-hero__content p {
        font-size: clamp(14px, 3.2vw, 16px);
        max-width: none;
        margin: 0 0 24px;
        line-height: 1.5;
    }

    .student-v2 .student-hero__inner {
        display: block;
        min-height: 0;
        padding-right: clamp(120px, 28vw, 170px);
    }

    .student-hero__badge {
        position: absolute;
        left: auto;
        right: 24px;
        top: 24px;
        transform: none;
        margin: 0;
        z-index: 4;
    }

    .student-hero__badge .student-points-badge {
        width: clamp(110px, 22vw, 150px);
        height: clamp(110px, 22vw, 150px);
    }

    .student-v2 .student-hero__badge .student-points-badge {
        width: clamp(110px, 22vw, 150px);
        height: clamp(110px, 22vw, 150px);
    }

    .student-hero__disclaimer {
        position: static;
        margin-top: 24px;
    }

    .student-points-badge__value {
        font-family: "RBCDisplay", "RBC Display", sans-serif;
        font-size: 28px;
        font-weight: 500;
        line-height: 1;
        letter-spacing: -2px;
        margin: 0;
    }

    .student-btn {
        width: 100%;
        min-height: 48px;
        padding: 10px;
    }
}

@media (max-width: 939px) and (min-width: 640px) {
    .student-hero__inner {
        padding: 35px 50px 10px;
    }

    .student-v2 .student-hero__inner {
        padding-right: clamp(118px, 26vw, 158px);
    }

    .student-hero__badge {
        right: 20px;
        top: 20px;
    }

}

/* Points banner: below desktop — stacked layout, badge top-right (≤939px) */
@media (max-width: 939px) {
    .student-points-banner {
        aspect-ratio: auto;
        min-height: auto;
        display: flex;
        flex-direction: column;
        background: #0051a5;
    }

    .student-points-banner__wave {
        display: none;
    }

    .student-points-banner__content {
        position: relative;
        left: auto;
        top: auto;
        width: auto;
        order: 1;
        padding: 32px 24px;
        padding-right: clamp(130px, 30vw, 170px);
        z-index: 2;
    }

    .student-points-banner__content h2 {
        font-size: clamp(22px, 5vw, 32px);
        max-width: none;
        margin-bottom: 16px;
    }

    .student-points-banner__content p {
        font-size: clamp(14px, 3.2vw, 16px);
        max-width: none;
    }

    .student-points-banner__badge {
        position: absolute;
        left: auto;
        right: 24px;
        top: 24px;
        width: clamp(110px, 22vw, 150px);
        margin: 0;
        z-index: 3;
    }

    .student-points-banner__bg {
        position: relative;
        right: auto;
        bottom: auto;
        order: 3;
        width: 100%;
        height: clamp(200px, 38vw, 260px);
        margin-top: 0;
        object-fit: cover;
        object-position: center 25%;
        display: block;
    }

    .student-points-banner__disclaimer {
        position: absolute;
        left: 24px;
        bottom: 16px;
        z-index: 3;
        padding: 0;
    }
}

/* Points banner: narrow overlay (940px–1120px) */
@media (max-width: 1120px) and (min-width: 940px) {
    .student-points-banner__content {
        left: 2.5%;
        top: 9%;
        width: min(26%, 235px);
    }

    .student-points-banner__content h2 {
        font-size: clamp(26px, 3vw, 32px);
        max-width: none;
        margin-bottom: 14px;
        line-height: 1.15;
    }

    .student-points-banner__content p {
        font-size: 15px;
        line-height: 1.45;
        max-width: none;
    }

    .student-points-banner__badge {
        left: 34%;
        width: clamp(110px, 13.5vw, 155px);
    }

    .student-points-banner__disclaimer {
        left: 2.5%;
        bottom: 7%;
    }

    .student-points-banner__badge .student-points-badge__label {
        font-size: clamp(12px, 1.25vw, 16px);
    }
}

/* Points banner: stacked medium (640px–939px) — 3-line body text */
@media (max-width: 939px) and (min-width: 640px) {
    .student-points-banner__content {
        padding: 28px 20px;
        padding-right: clamp(118px, 26vw, 158px);
    }

    .student-points-banner__content h2 {
        font-size: clamp(24px, 4.5vw, 30px);
        margin-bottom: 14px;
    }

    .student-points-banner__content p {
        max-width: 40ch;
        font-size: 15px;
        line-height: 1.5;
    }

    .student-points-banner__badge {
        right: 20px;
        top: 20px;
        width: clamp(108px, 20vw, 145px);
    }

    .student-btn {
        width: 100%;
    }
}

/* Points banner: small — stacked layout, badge left overlap (≤400px) */
@media (max-width: 400px) {
    .student-points-banner__content {
        padding: 32px 24px 48px;
        padding-right: 24px;
    }

    .student-points-banner__content h2 {
        font-size: 28px;
    }

    .student-points-banner__badge {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        order: 2;
        align-self: flex-start;
        width: clamp(100px, 30vw, 120px);
        margin: -36px 0 -36px 24px;
        z-index: 4;
    }

    .student-points-banner__bg {
        height: clamp(180px, 52vw, 220px);
    }

    .student-points-banner__badge .student-points-badge__label {
        font-size: clamp(12px, 1.25vw, 16px);
    }

    .student-hero__lockup-rbc {
        right: 18%;
        bottom: 8%;
        width: 5.2%;
        min-width: 32px;
        max-width: 40px;
        height: auto;
    }
}

@media (max-width: 639px) {
    .student-hero__inner {
        padding: 24px 36px 32px;
    }

    .student-hero__content h1 {
        font-size: clamp(24px, 5vw, 32px);
    }

    .student-hero__lockup {
        display: block;
    }

    .student-offers__grid {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
        padding: 0 20px;
    }

    .student-offer-card {
        max-width: none;
        width: 100%;
        min-height: 0;
    }

    .student-context__text h2,
    .student-steps__card h2,
    .student-points-banner__content h2 {
        font-size: 28px;
    }

    .student-offers__intro,
    .student-offers__closing p {
        font-size: 20px;
    }

    .student-btn {
        width: 100%;
    }

    .student-points-banner__badge .student-points-badge__label {
        font-size: clamp(10px, 1.1vw, 16px);
    }
}
