/* The sign-in cover ("B4" design): navy page, emblem with concentric rings behind it,
   spaced-caps title. Stands alone -- the cover has no top bar and does not load shell.css. */

:root {
    --navy: #202360;
    --navy-deep: #1a1d4f;
    --teal: #73b0a4;
    --text-soft: #c9cdf0;
    --text-faint: #a9aee0;
}

* { box-sizing: border-box; }

body.cover {
    position: relative;
    min-height: 100vh;
    margin: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-deep) radial-gradient(900px 700px at 50% 32%, #2c3190 0%, var(--navy-deep) 72%);
    color: #fff;
    font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.cover-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    text-align: center;
}

/* Everything after the emblem sits above the rings, which are positioned elements
   and would otherwise paint over plain text. */
.cover-main > *:not(.emblem-wrap) { position: relative; z-index: 2; }

.emblem-wrap { position: relative; width: 148px; height: 148px; margin-bottom: 40px; }

.ring {
    position: absolute;
    left: 50%;
    top: 50%;
    width: var(--d);
    height: var(--d);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1.5px solid rgba(115, 176, 164, var(--a));
}

.emblem {
    position: relative;
    width: 148px;
    height: 148px;
    filter: drop-shadow(0 12px 30px rgba(0, 0, 0, .35));
}

.cover-title {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 600;
    font-size: 66px;
    line-height: 1;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.cover-sub {
    margin: 10px 0 0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .42em;
    text-transform: uppercase;
    color: var(--teal);
}

.cover-rule { width: 56px; height: 1.5px; margin: 30px 0; background: rgba(115, 176, 164, .6); }

.cover-lede { max-width: 420px; margin: 0 0 34px; font-size: 17px; line-height: 1.55; color: var(--text-soft); }

.ms-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-height: 56px;
    padding: 0 32px;
    border-radius: 999px;
    background: #fff;
    color: #1f1f1f;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}

.ms-btn:hover { background: #e9ebf7; }
.ms-btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

.cover-note { margin: 18px 0 0; font-size: 13px; color: var(--text-faint); }

.cover-alert {
    max-width: 420px;
    margin: 0 0 24px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.45;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .22);
}

.cover-alert.error { background: rgba(180, 35, 24, .22); border-color: #f19a93; }

.cover-foot {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 28px;
    margin: 0;
    text-align: center;
    font-size: 12px;
    color: var(--text-faint);
}

@media (max-width: 600px) {
    .cover-title { font-size: 40px; letter-spacing: .12em; }
    .cover-sub { font-size: 12px; letter-spacing: .3em; }
    .cover-lede { font-size: 16px; }
}
