.brand > span:last-child {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

    .brand > span:last-child small {
        margin-top: 4px;
        color: var(--teal);
        font: 500 0.63rem "DM Sans", sans-serif;
        letter-spacing: 0.03em;
    }

/* Login screen: Infonet Foundation text */
.foundation-caption-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 35px;
    line-height: 1;
}

    /* Same font family and weight as “Together for” */
    .foundation-caption-text strong {
        color: #e8f129;
        font-family: "Manrope", sans-serif;
        font-size: clamp(1.65rem, 3vw, 2.5rem);
        font-weight: 800;
        line-height: 1.05;
        letter-spacing: -0.04em;
    }

    .foundation-caption-text span {
        margin-top: 7px;
        color: #7ee080;
        font: italic 500 clamp(1.2rem, 2.3vw, 1.8rem) "DM Sans", sans-serif;
    }

/* Terms and Conditions */
.terms-card {
    display: grid;
    grid-template-columns: minmax(280px, 38%) 1fr;
    min-height: 520px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #1a789d, #113069);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.terms-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(30px, 5vw, 65px);
    border-right: 2px solid rgba(101, 213, 229, 0.65);
}

    .terms-title span {
        font: 700 clamp(1.8rem, 4vw, 3rem) "Manrope", sans-serif;
        line-height: 1.15;
    }

    .terms-title strong {
        margin-top: 6px;
        font: 400 clamp(1.35rem, 3vw, 2.2rem) "DM Sans", sans-serif;
    }

.terms-content {
    padding: clamp(28px, 4vw, 55px);
}

    .terms-content ul {
        margin: 0;
        padding-left: 22px;
    }

    .terms-content li {
        padding: 0 0 13px 7px;
        font-size: clamp(0.9rem, 1.4vw, 1.08rem);
        line-height: 1.42;
    }

        .terms-content li::marker {
            color: #d8ef29;
        }

    .terms-content a {
        color: #d8ef29;
        font-weight: 700;
    }

/* Mobile layout */
@media (max-width: 760px) {
    .terms-card {
        grid-template-columns: 1fr;
    }

    .terms-title {
        padding: 30px;
        border-right: 0;
        border-bottom: 2px solid rgba(101, 213, 229, 0.65);
    }

    .foundation-caption-text {
        margin-bottom: 24px;
    }

        .foundation-caption-text strong {
            font-size: clamp(1.5rem, 7vw, 2.1rem);
        }
}
