:root {
    color-scheme: light;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #17324d;
    background: #f4f7fa;
}

body {
    display: grid;
    min-height: 100vh;
    margin: 0;
    place-items: center;
}

main {
    width: min(34rem, calc(100% - 3rem));
    padding: 3rem;
    border: 1px solid #d8e2eb;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 1.5rem 4rem rgb(23 50 77 / 10%);
}

.eyebrow {
    margin: 0 0 0.75rem;
    color: #53718d;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    letter-spacing: -0.05em;
}

h1 + p {
    margin: 1rem 0 0;
    color: #53718d;
    font-size: 1.125rem;
}

* { box-sizing: border-box; }
body { padding: 2rem 0; }
main { width: min(42rem, calc(100% - 2rem)); }
h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
header { padding-bottom: 2rem; border-bottom: 1px solid #d8e2eb; }
header p:last-child { color: #53718d; }
section { margin-top: 2rem; }
h2 { font-size: 1.5rem; line-height: 1.3; }
p, small { line-height: 1.6; }
label { display: block; margin: 1.5rem 0 .5rem; font-weight: 650; }
select, textarea { width: 100%; padding: .8rem; font: inherit; color: inherit; border: 1px solid #9cb0c2; border-radius: .3rem; background: #fff; }
textarea { resize: vertical; }
button { padding: .85rem 1.2rem; border: 1px solid #17324d; border-radius: .3rem; background: #17324d; color: white; font: inherit; font-weight: 650; cursor: pointer; }
button:hover { background: #274b6b; }
button:disabled { opacity: .65; cursor: wait; }
:focus-visible { outline: 3px solid #b87220; outline-offset: 3px; }
a { color: #174f78; text-underline-offset: .2em; }
.help, small { color: #53718d; font-size: .875rem; }
.notice { margin-top: 1.5rem; padding: 1rem; background: #edf3f7; border-left: 3px solid #53718d; line-height: 1.5; overflow-wrap: anywhere; }
.validation-summary-errors { color: #9e2b20; }
.validation-summary-valid { display: none; }
.disconnect { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; padding-top: 2rem; margin-top: 2rem; border-top: 1px solid #d8e2eb; }
.secondary { background: white; color: #17324d; }
.secondary:hover { background: #edf3f7; }
footer { display: flex; gap: 1.5rem; margin-top: 2rem; font-size: .8rem; }
@media (max-width: 480px) { main { padding: 1.5rem; } .disconnect { grid-template-columns: 1fr; } .disconnect button { justify-self: start; } }
