:root {
    color-scheme: light;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f4f7fb;
    color: #15233c;
}

* { box-sizing: border-box; }

body { margin: 0; min-height: 100vh; }

.page-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem 1rem;
}

.card {
    width: min(100%, 44rem);
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 1rem 3rem rgba(21, 35, 60, .12);
    padding: clamp(1.5rem, 5vw, 3rem);
}

.eyebrow { color: #1b5f98; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
h1 { font-size: clamp(2rem, 7vw, 3rem); line-height: 1.05; margin: .35rem 0 1rem; }
h2 { margin-top: 1.75rem; }
li + li { margin-top: .55rem; }

.stack { display: grid; gap: .75rem; margin-top: 1.75rem; }
label { font-weight: 750; }
input[type="email"] {
    width: 100%;
    border: 2px solid #75839a;
    border-radius: .6rem;
    padding: .85rem 1rem;
    font: inherit;
}

button, .button-link {
    display: inline-flex;
    justify-content: center;
    border: 0;
    border-radius: .6rem;
    background: #175f98;
    color: #fff;
    padding: .9rem 1.2rem;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

button.danger { background: #a61d2d; }
a { color: #0a568e; text-underline-offset: .18em; }
button:hover, .button-link:hover { filter: brightness(.9); }
button:focus-visible, a:focus-visible, input:focus-visible {
    outline: 4px solid #f3b61f;
    outline-offset: 3px;
}

.checkbox-row { display: flex; align-items: flex-start; gap: .8rem; font-weight: 650; }
.checkbox-row input { width: 1.35rem; height: 1.35rem; flex: 0 0 auto; }
.help, .support, .reference { color: #47566f; }
.notice { border-left: .35rem solid #1b5f98; background: #edf5fb; padding: .25rem 1rem 1rem; margin-top: 1.5rem; }
code { overflow-wrap: anywhere; }

@media (max-width: 30rem) {
    .page-shell { padding: 0; }
    .card { min-height: 100vh; border-radius: 0; box-shadow: none; }
    button, .button-link { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; }
}

