.gateway-page { padding: 24px; }
.gateway-shell { width: min(1080px, 100%); padding: 22px 32px; border: 1px solid #ffffffe0; border-radius: 31px; background: #ffffff7a; box-shadow: 0 20px 65px #65418c0c, inset 0 1px #fff; }
.gateway-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gateway-header .auth-brand { color: #69459c; }
.gateway-about-link { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 12px; border: 1px solid #ffffffd9; border-radius: 13px; background: #ffffff85; color: #806496; text-decoration: none; font-size: .78rem; }
.gateway-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(250px, .8fr); align-items: center; gap: 35px; padding: 45px 17px 38px; }
.gateway-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #8a6ca5; font-size: .8rem; }
.gateway-eyebrow > span { width: 6px; height: 6px; border-radius: 50%; background: #a387ce; }
.gateway-title h1 { margin: 12px 0; font-size: clamp(2rem, 4.5vw, 3.1rem); line-height: 1.7; font-weight: 700; letter-spacing: -.8px; }
.gateway-title h1 em { color: #8655cd; font-style: normal; }
.gateway-title p { max-width: 390px; margin: 0; color: var(--auth-muted); font-size: .89rem; line-height: 2; }
.gateway-hero .learning-art { background: radial-gradient(ellipse, #d8c6f47a, transparent 70%); }
.gateway-hero .learning-art-orbit { border-color: #ffffffd9; box-shadow: 0 0 0 18px #ffffff25, 0 0 0 40px #ffffff12; }
.gateway-hero .learning-art-spark { color: #b892d7; }
.gateway-entry-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; padding: 0 5px 11px; }
.gateway-entry-heading h2 { margin: 0; font-size: 1rem; }
.gateway-entry-heading > span { color: #9a87a9; font-size: .73rem; }
.gateway-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.gateway-option { display: flex; align-items: center; gap: 15px; min-height: 120px; min-width: 0; padding: 22px; border: 1px solid #fffffff0; border-radius: 23px; background: #ffffffbf; box-shadow: 0 7px 25px #754f9808; color: var(--auth-ink); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.gateway-option:hover { transform: translateY(-3px); box-shadow: 0 12px 30px #754f9814; }
.gateway-option-icon { display: grid; place-items: center; flex: none; width: 54px; height: 58px; border: 1px solid #fff; border-radius: 18px; background: linear-gradient(145deg, #f1e7ff, #e3d3fa); color: #8a5dbf; }
.gateway-option:nth-child(2) .gateway-option-icon { background: linear-gradient(145deg, #e9f8f2, #d5eee6); color: #4c9b88; }
.gateway-option-icon svg { width: 30px; height: 30px; }
.gateway-option-copy { display: grid; gap: 5px; min-width: 0; }
.gateway-option-copy strong { font-size: 1rem; }
.gateway-option-copy > span { color: var(--auth-muted); font-size: .75rem; line-height: 1.8; }
.gateway-option-arrow { display: grid; place-items: center; flex: none; width: 33px; height: 33px; margin-inline-start: auto; border-radius: 50%; background: #f1eafb; color: #946eb8; font-size: 1.1rem; }
.gateway-about { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 12px; padding: 23px 4px 8px; margin-top: 9px; border-top: 1px solid #ffffffb3; }
.gateway-about h2 { margin: 0; font-size: .86rem; color: #73598a; }
.gateway-about p { flex: 1 1 350px; margin: 0; color: var(--auth-muted); font-size: .78rem; line-height: 1.9; }
.gateway-about a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: #8a5dbf; text-decoration: none; font-size: .78rem; }
.gateway-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 16px 5px 0; color: #9a87a9; font-size: .7rem; }
@media (max-width: 700px) {
    .gateway-page { padding: 16px; }
    .gateway-shell { padding: 18px; border-radius: 27px; }
    .gateway-about-link { font-size: .7rem; padding-inline: 9px; }
    .gateway-hero { grid-template-columns: minmax(0, 1fr) 110px; gap: 0; padding: 30px 3px; }
    .gateway-title h1 { font-size: 1.9rem; }
    .gateway-title p { grid-column: 1 / -1; font-size: .79rem; }
    .gateway-hero .learning-art { width: 110px; height: 180px; overflow: visible; }
    .gateway-hero .learning-art-orbit { inset: 33px -10px 12px 0; }
    .gateway-hero .learning-art-book { top: 54px; right: 8px; width: 83px; height: 93px; border-radius: 25px; font-size: 2.6rem; }
    .gateway-hero .learning-art-note { top: 13px; left: -1px; width: 53px; height: 66px; padding: 9px; border-radius: 16px; gap: 5px; font-size: .9rem; }
    .gateway-hero .learning-art-check { bottom: 3px; left: 5px; width: 37px; height: 37px; font-size: 1.1rem; border-radius: 12px; }
    .gateway-hero .learning-art-spark { top: 21px; right: 14px; font-size: 1.4rem; }
    .gateway-options { grid-template-columns: 1fr; gap: 11px; }
    .gateway-option { min-height: 102px; padding: 17px; gap: 12px; border-radius: 21px; }
    .gateway-option-copy strong { font-size: .94rem; }
    .gateway-option-icon { width: 47px; height: 50px; border-radius: 16px; }
    .gateway-about { padding-top: 18px; }
}
@media (max-width: 390px) {
    .gateway-page { padding: 12px; }
    .gateway-shell { padding: 15px; }
    .gateway-about-link { padding: 4px; border: 0; background: transparent; }
    .gateway-hero { grid-template-columns: minmax(0, 1fr) 90px; padding-block: 24px; }
    .gateway-title h1 { font-size: 1.6rem; }
    .gateway-eyebrow { font-size: .68rem; }
    .gateway-hero .learning-art { width: 90px; }
    .gateway-option { gap: 10px; padding: 14px 12px; }
    .gateway-option-arrow { width: 27px; height: 27px; }
}
