/*
 * /Login — portal chooser.
 *
 * Customers and partners use different portals (user.* vs agent.*),
 * each with their own auth stack. This page exists only so /login on the
 * marketing site doesn't dead-end — it sends each role to the right place
 * with enough description that nobody picks the wrong one and bounces
 * back here a minute later.
 *
 * Layout: two equal-weight cards on desktop, stacked on mobile. No form,
 * no submit button — just navigation.
 */

.login-section {
    background: var(--surface, #f6f6f8);
    padding: 4.5rem 1.25rem 5.5rem;
    min-height: calc(100vh - 80px);
}

.login-section-inner {
    max-width: 1080px;
    margin: 0 auto;
}

.login-section-head {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-section-head .section-title {
    margin: 0.4rem 0 0.65rem;
}

.login-section-head .section-sub {
    max-width: 620px;
    margin: 0 auto;
}

.login-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.login-choice {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--ink-100);
    border-radius: 16px;
    padding: 2rem 2rem 2.25rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.login-choice:hover,
.login-choice:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(20, 18, 28, 0.08);
    border-color: var(--rush-maroon);
    outline: none;
}

.login-choice-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--rush-maroon-soft, rgba(160, 12, 48, 0.08));
    color: var(--rush-maroon);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    margin-bottom: 1.1rem;
}

.login-choice-icon.partner {
    background: rgba(20, 18, 28, 0.06);
    color: var(--ink-700);
}

.login-choice-name {
    font-family: 'Sora', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.2rem;
    color: var(--ink-900);
}

.login-choice-domain {
    color: var(--ink-400);
    font-size: 0.82rem;
    margin: 0 0 1rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    letter-spacing: 0.01em;
}

.login-choice-desc {
    color: var(--ink-600);
    line-height: 1.55;
    margin: 0 0 1.4rem;
    flex: 1;
}

.login-choice-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--rush-maroon);
    font-weight: 600;
    font-size: 0.95rem;
}

.login-choice-cta i {
    transition: transform 0.2s ease;
}

.login-choice:hover .login-choice-cta i {
    transform: translateX(4px);
}

.login-section-help {
    margin: 2.25rem auto 0;
    max-width: 620px;
    text-align: center;
    color: var(--ink-500);
    font-size: 0.92rem;
    line-height: 1.6;
}

.login-section-help a {
    color: var(--rush-maroon);
    font-weight: 600;
}

@media (max-width: 720px) {
    .login-section { padding: 2.5rem 1rem 3.5rem; }
    .login-choice-grid { grid-template-columns: 1fr; gap: 1rem; }
    .login-choice { padding: 1.5rem 1.5rem 1.75rem; }
    .login-section-head .section-title { font-size: 1.65rem; }
}
