/* The sign-in page: a standalone page, so it does not load shell.css. */

:root {
    --navy: #202360;
    --navy-deep: #1a1d4f;
    --teal: #73b0a4;
    --sans: "DM Sans", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --serif: "Cormorant Garamond", Garamond, "Times New Roman", serif;
}

* { box-sizing: border-box; }

body { margin: 0; background: var(--navy-deep); }

/* Fills the screen and clips the rings; grows (and scrolls) if content is taller. */
.login-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 30%, #2b2f8a 0%, #24277a 35%, var(--navy) 65%, var(--navy-deep) 100%);
    color: #fff;
    font-family: var(--sans);
}

.login {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 64px 16px 24px;
    text-align: center;
}

/* ----------------------------------------------------------- mark + rings */

.login-mark {
    position: relative;
    width: 200px;
    height: 200px;
    margin-bottom: 64px;
}

.login-mark img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 48px rgba(10, 12, 50, .55);
}

/* Concentric rings centred on the mark, fading as they widen. */
.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.ring:nth-child(1) { width: 320px;  height: 320px; }
.ring:nth-child(2) { width: 480px;  height: 480px;  border-color: rgba(255, 255, 255, .13); }
.ring:nth-child(3) { width: 700px;  height: 700px;  border-color: rgba(255, 255, 255, .11); }
.ring:nth-child(4) { width: 1000px; height: 1000px; border-color: rgba(255, 255, 255, .09); }
.ring:nth-child(5) { width: 1420px; height: 1420px; border-color: rgba(255, 255, 255, .07); }
.ring:nth-child(6) { width: 2000px; height: 2000px; border-color: rgba(255, 255, 255, .05); }

/* ------------------------------------------------------------------- text */

.login-wordmark {
    position: relative;
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(48px, 9vw, 84px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: .14em;
    text-transform: uppercase;
    /* letter-spacing trails the last letter; pull it back to stay centred */
    margin-right: -.14em;
}

.login-product {
    position: relative;
    margin: 22px 0 0;
    color: var(--teal);
    font-size: clamp(13px, 2.4vw, 19px);
    font-weight: 600;
    letter-spacing: .42em;
    margin-right: -.42em;
    text-transform: uppercase;
}

.login-rule {
    width: 78px;
    margin: 36px auto 40px;
    border: 0;
    border-top: 2px solid rgba(115, 176, 164, .55);
}

.login-lede {
    position: relative;
    margin: 0 0 32px;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(16px, 2.2vw, 21px);
}

.login-messages {
    position: relative;
    margin: 0 0 24px;
    padding: 10px 16px;
    list-style: none;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    font-size: 14px;
}

/* ----------------------------------------------------------------- button */

.login-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 20px 44px;
    border-radius: 999px;
    background: #fff;
    color: #1d1f3b;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(10, 12, 50, .35);
    transition: transform .15s ease, box-shadow .15s ease;
}

.login-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(10, 12, 50, .45);
}

.login-button:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

.login-note {
    position: relative;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, .72);
    font-size: 15px;
}

.login-footer {
    position: relative;
    padding: 24px 16px 40px;
    color: rgba(255, 255, 255, .7);
    font-size: 15px;
    text-align: center;
}

@media (max-width: 480px) {
    .login-mark { width: 150px; height: 150px; margin-bottom: 48px; }
    .login-button { padding: 16px 28px; font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
    .login-button { transition: none; }
    .login-button:hover { transform: none; }
}
