body.organization-home-page {
    position: relative;
    isolation: isolate;
    overflow-x: hidden;
    background:
        linear-gradient(180deg, rgba(232, 249, 241, .92) 0%, rgba(247, 250, 248, .96) 45%, #f7faf8 100%),
        radial-gradient(circle at 82% 6%, rgba(3, 251, 215, .22) 0%, rgba(3, 251, 215, 0) 32%),
        radial-gradient(circle at 12% 34%, rgba(206, 255, 125, .22) 0%, rgba(206, 255, 125, 0) 36%);
}

body.organization-home-page .main-content {
    position: relative;
    z-index: 1;
    min-height: calc(100dvh - 62px);
    padding-top: 62px;
    background: transparent;
}

.student-home-wordmark-watermark {
    position: fixed;
    left: 50%;
    top: 5px;
    width: 36vw;
    min-width: 640px;
    max-width: 1420px;
    height: auto;
    z-index: 0;
    pointer-events: none;
    transform: translateX(-50%);
}

.site-student-home-page {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 4px auto 78px;
    padding: 0 20px;
}

.student-home {
    display: grid;
    gap: 34px;
}

.student-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .96fr) minmax(360px, .74fr);
    gap: 76px;
    align-items: center;
    min-height: 500px;
    padding: 88px 0 76px;
}

.student-hero-copy {
    max-width: 620px;
}

.student-title {
    margin: 0;
    color: #333333;
    font-size: 54px;
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: 0;
}

.student-subtitle {
    margin: 28px 0 0;
    color: #111111;
    font-size: 34px;
    font-weight: 300;
    line-height: 1.16;
    letter-spacing: 0;
}

.student-subtitle::after {
    content: "";
    display: inline-block;
    width: 4.65em;
    height: 2.18em;
    margin-left: -4.3em;
    margin-bottom: -.78em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 170 90'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='3.6241' y1='45' x2='166.3759' y2='45' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23CEFF7D'/%3E%3Cstop offset='1' stop-color='%2303FBD7'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23g)' d='M66.8,87.2c-4.6,0-9.5-0.2-14.5-0.7c-11.1-1.1-26.6-4.2-37.1-12.3c-7-5.4-10.8-12.2-11.5-20.4C3.2,47.3,6,40.6,12,33.7c14-16,43.2-29.4,66.5-30.7c43.8-2.4,69.6,14.9,70.6,15.6c1.1,0.8,1.4,2.3,0.7,3.5c-0.8,1.1-2.3,1.4-3.5,0.7l0,0c-0.1,0-6.4-4.3-17.9-8.2c-10.6-3.6-27.8-7.7-49.7-6.5c-21.7,1.2-50,14.2-63,29c-5,5.7-7.5,11.4-7.1,16.3c0.5,6.7,3.7,12.4,9.5,16.8c16.4,12.7,50.5,13.7,68.4,10.4c32.4-6,61.2-23.1,75.2-44.8c0.8-1.2,2.3-1.5,3.5-0.7s1.5,2.3,0.7,3.5c-14.7,22.8-44.8,40.8-78.5,47C82.6,86.4,75.2,87.2,66.8,87.2z'/%3E%3C/svg%3E") center / contain no-repeat;
    vertical-align: baseline;
    pointer-events: none;
}

.student-copy {
    position: relative;
    max-width: 650px;
    margin: 42px 0 0;
    padding-left: 24px;
    color: #555555;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.9;
    letter-spacing: 0;
    text-align: justify;
    text-align-last: left;
}

.student-copy::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 6px;
    bottom: 8px;
    width: 6px;
    background: linear-gradient(180deg, #00d4a4 0%, #4abc99 100%);
}

.student-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.student-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 168px;
    height: 42px;
    padding: 0 20px;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 12px 26px rgba(15, 23, 42, .1);
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.student-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(15, 23, 42, .12);
}

.student-btn-primary {
    background: #08c7a3;
}

.student-btn-secondary {
    background: #5e89ee;
}

.student-panel {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    padding: 34px;
    border: 1px solid rgba(15, 23, 42, .06);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(248, 251, 253, .9)),
        radial-gradient(circle at 90% 0%, rgba(3, 251, 215, .2), rgba(3, 251, 215, 0) 36%);
    box-shadow: 0 16px 40px rgba(15, 23, 42, .07);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.student-panel::before {
    content: "";
    position: absolute;
    right: -48px;
    top: -48px;
    width: 172px;
    height: 172px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(8, 199, 163, .18), rgba(8, 199, 163, 0) 68%);
}

.student-panel-kicker {
    position: relative;
    z-index: 1;
    color: #08c7a3;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.student-panel h2 {
    position: relative;
    z-index: 1;
    margin: 12px 0 24px;
    color: #333333;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
}

.student-list {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.student-list li {
    position: relative;
    min-height: 52px;
    padding: 15px 16px 15px 42px;
    border: 1px solid rgba(15, 23, 42, .04);
    border-radius: 14px;
    background: rgba(255, 255, 255, .74);
    color: #40535d;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.student-list li::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 22px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #08c7a3;
    box-shadow: 0 0 0 6px rgba(8, 199, 163, .1);
}

.student-panel-footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.student-panel-footer span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(8, 199, 163, .08);
    color: #059969;
    font-size: 12px;
    font-weight: 700;
}

.student-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
}

.student-card {
    position: relative;
    display: grid;
    grid-template-columns: 44% minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
    column-gap: 28px;
    min-height: 320px;
    overflow: hidden;
    padding: 22px 28px 18px;
    border: 1px solid rgba(15, 23, 42, .05);
    border-radius: 18px;
    background: #fff;
    color: #16222b;
    text-decoration: none;
    box-shadow: 0 0 20px rgba(15, 23, 42, .05);
    transform-origin: center;
    transition: border-color .28s ease, box-shadow .32s ease, transform .34s cubic-bezier(.22, 1, .36, 1);
}

.student-card::before {
    content: "";
    position: absolute;
    right: 17px;
    top: 15px;
    width: 22px;
    height: 22px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22' fill='none'%3E%3Cpath d='M11 5V17M5 11H17' stroke='%23a0a8aa' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
    opacity: .9;
}

.student-card:hover {
    border-color: rgba(15, 23, 42, .05);
    box-shadow: 0 18px 42px rgba(15, 23, 42, .12);
    transform: translateY(-4px) scale(1.015);
}

.student-card:focus-visible {
    outline: 3px solid rgba(8, 199, 163, .28);
    outline-offset: 5px;
}

.student-card-media {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: center;
    display: grid;
    place-items: center;
    min-height: 190px;
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(8, 199, 163, .12), rgba(94, 137, 238, .12)),
        radial-gradient(circle at 30% 28%, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0) 46%);
}

.student-card-media span {
    display: inline-flex;
    margin: 0;
    padding: 0;
    background: transparent;
    color: rgba(51, 51, 51, .72) !important;
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .02em;
}

.student-card-media-toefl {
    background:
        linear-gradient(135deg, rgba(94, 137, 238, .16), rgba(255, 255, 255, .72)),
        radial-gradient(circle at 36% 30%, rgba(94, 137, 238, .18), rgba(94, 137, 238, 0) 56%);
}

.student-card-media-ielts {
    background:
        linear-gradient(135deg, rgba(8, 199, 163, .16), rgba(255, 255, 255, .72)),
        radial-gradient(circle at 36% 30%, rgba(8, 199, 163, .18), rgba(8, 199, 163, 0) 56%);
}

.student-card-media-sat {
    background:
        linear-gradient(135deg, rgba(11, 159, 227, .16), rgba(255, 255, 255, .72)),
        radial-gradient(circle at 36% 30%, rgba(11, 159, 227, .18), rgba(11, 159, 227, 0) 56%);
}

.student-card small {
    display: none;
}

.student-card h3 {
    grid-column: 2;
    grid-row: 1;
    margin: 5px 0 5px;
    color: #333333;
    font-size: 25px;
    font-weight: 500;
    line-height: 1.2;
}

.student-card p {
    grid-column: 2;
    grid-row: 1;
    margin: 72px 0 6px;
    color: #444444;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.58;
}

.student-card > span {
    grid-column: 1 / 3;
    grid-row: 3;
    align-self: end;
    justify-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 168px;
    height: 42px;
    margin: 0 0 15px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: #08c7a3;
    color: #fff !important;
    font-size: 16px;
    font-weight: 500;
}

.student-card:nth-child(1) > span {
    background: #5e89ee;
}

.student-card:nth-child(3) > span {
    background: #0b9fe3;
}

body.organization-home-page .footer {
    position: relative;
    z-index: 1;
    background: transparent;
    color: #8a8f93;
}

body.organization-home-page .footer a {
    color: #8a8f93;
}

@media (max-width: 1180px) {
    .student-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        padding: 64px 0 52px;
    }

    .student-panel {
        min-height: 0;
    }

    .student-grid {
        gap: 18px;
    }

    .student-card {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto 1fr auto;
        min-height: 0;
    }

    .student-card-media {
        grid-column: 1;
        grid-row: 1;
        min-height: 150px;
        margin-bottom: 18px;
    }

    .student-card h3,
    .student-card p,
    .student-card > span {
        grid-column: 1;
    }

    .student-card h3 {
        grid-row: 2;
    }

    .student-card p {
        grid-row: 3;
        margin: 0;
    }

    .student-card > span {
        grid-row: 4;
        margin-top: 18px;
    }
}

@media (max-width: 900px) {
    body.organization-home-page .main-content {
        padding-top: 56px;
    }

    .student-home-wordmark-watermark {
        top: 32px;
        width: 470px;
        min-width: 0;
    }

    .site-student-home-page {
        margin-top: 0;
        padding: 0 16px;
    }

    .student-hero {
        padding: 44px 0 34px;
    }

    .student-title {
        font-size: 40px;
    }

    .student-subtitle {
        font-size: 25px;
    }

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

@media (max-width: 640px) {
    .site-student-home-page {
        margin-bottom: 54px;
        padding: 0 13px;
    }

    .student-hero {
        gap: 18px;
        padding: 28px 0 26px;
    }

    .student-title {
        font-size: 32px;
    }

    .student-subtitle {
        margin-top: 18px;
        font-size: 20px;
    }

    .student-copy {
        margin-top: 24px;
        font-size: 14px;
        line-height: 1.75;
        text-align: left;
    }

    .student-actions {
        gap: 12px;
    }

    .student-btn {
        width: 100%;
        min-width: 0;
    }

    .student-panel {
        padding: 22px;
        border-radius: 18px;
    }

    .student-panel h2 {
        font-size: 22px;
    }

    .student-list li {
        min-height: 46px;
        padding: 13px 14px 13px 36px;
        font-size: 13px;
    }

    .student-list li::before {
        left: 16px;
        top: 20px;
    }

    .student-card {
        padding: 18px;
    }

    .student-card-media {
        min-height: 128px;
    }

    .student-card-media span {
        font-size: 28px;
    }

    .student-card h3 {
        font-size: 22px;
    }
}
