.portal-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 12%, rgba(96, 165, 250, 0.24), transparent 32%),
        radial-gradient(circle at 88% 88%, rgba(37, 99, 235, 0.18), transparent 34%),
        #eef3fb;
}

.portal-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 20px;
}

.portal-card {
    width: min(520px, 100%);
    overflow: hidden;
    border: 1px solid rgba(190, 205, 230, 0.88);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    padding: 36px;
    box-shadow: 0 28px 80px rgba(31, 64, 122, 0.16);
}

.portal-brand {
    color: #0f1e3f;
    font-size: 31px;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
}

.portal-brand span {
    color: var(--blue);
}

.portal-intro {
    margin: 66px 0 30px;
}

.portal-kicker {
    width: fit-content;
    margin: 0 0 12px;
    border: 1px solid #c9dcff;
    border-radius: 999px;
    background: #eef5ff;
    padding: 6px 10px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.portal-intro h1 {
    margin: 0;
    color: #102451;
    font-size: clamp(34px, 8vw, 46px);
    line-height: 1.03;
    letter-spacing: -0.045em;
}

.portal-intro > p:last-child {
    max-width: 390px;
    margin: 17px 0 0;
    color: #63779d;
    font-size: 16px;
    line-height: 1.5;
}

.portal-actions {
    display: grid;
    gap: 12px;
}

.portal-option {
    min-height: 82px;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    border: 1px solid #d7e1f1;
    border-radius: 17px;
    background: #f8faff;
    padding: 14px 17px;
    color: #173269;
    text-decoration: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.portal-option:hover,
.portal-option:focus-visible {
    border-color: #91b7fa;
    box-shadow: 0 12px 26px rgba(36, 91, 181, 0.12);
    transform: translateY(-2px);
}

.portal-option:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.2);
    outline-offset: 2px;
}

.portal-option-primary {
    border-color: transparent;
    background: linear-gradient(135deg, #367cf5, #215bdd);
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.23);
}

.portal-option-primary:hover,
.portal-option-primary:focus-visible {
    border-color: transparent;
    box-shadow: 0 18px 34px rgba(37, 99, 235, 0.3);
}

.portal-option-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: #e9f1ff;
    color: var(--blue);
}

.portal-option-primary .portal-option-icon {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.portal-option-icon svg {
    width: 24px;
    height: 24px;
}

.portal-option-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.portal-option-copy strong {
    font-size: 16px;
    line-height: 1.2;
}

.portal-option-copy small {
    color: #6c7fa2;
    font-size: 13px;
    font-weight: 500;
}

.portal-option-primary .portal-option-copy small {
    color: rgba(255, 255, 255, 0.76);
}

.portal-option-arrow {
    font-size: 22px;
    line-height: 1;
}

@media (max-width: 560px) {
    .portal-shell {
        align-items: stretch;
        padding: 0;
    }

    .portal-card {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        border: 0;
        border-radius: 0;
        padding: 28px 20px;
        box-shadow: none;
    }

    .portal-brand {
        position: absolute;
        top: 28px;
    }

    .portal-intro {
        margin: 38px 0 28px;
    }
}

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