:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: #172936; background: #f5f3ef; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; background: radial-gradient(ellipse at 50% 25%, #e3eaf0 0, transparent 65%); }
a { color: inherit; text-underline-offset: 4px; }
header, footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px clamp(24px, 5vw, 80px); font-size: 14px; }
header a { text-decoration: none; }
.brand { font-size: 20px; letter-spacing: -.7px; }
.brand strong { font-weight: 650; }
main { flex: 1; display: grid; align-content: center; justify-items: center; padding: 38px 20px; }
.card { width: 100%; max-width: 470px; padding: 42px; background: #fffdf8; border: 1px solid #d9e0e3; border-radius: 24px; box-shadow: 0 22px 70px #1729360a; }
.moon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 50%; background: #e7eef3; color: #29485f; font: 36px Georgia, serif; }
.eyebrow { margin: 0 0 14px; text-transform: uppercase; letter-spacing: 2px; font-size: 11px; font-weight: 600; color: #526c7d; }
h1 { margin: 0; font-size: clamp(32px, 6vw, 40px); font-weight: 500; line-height: 1.15; letter-spacing: -1.5px; }
h1 em { font-family: Georgia, serif; font-weight: 400; }
.description { margin: 20px 0 28px; color: #536673; font-size: 15px; line-height: 1.7; }
label { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 600; }
input:not([type=checkbox]) { width: 100%; border: 1px solid #bbc9d1; border-radius: 10px; background: #fff; color: #172936; padding: 14px; min-height: 50px; font: inherit; font-size: 16px; }
input::placeholder { color: #71818b; }
.primary { display: flex; justify-content: space-between; align-items: center; width: 100%; border: 0; border-radius: 50px; min-height: 52px; margin-top: 24px; padding: 16px 22px; background: #29485f; color: #fffdf6; text-decoration: none; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.primary:hover { background: #172f42; }
.primary:disabled { opacity: .65; cursor: wait; }
:focus-visible { outline: 3px solid #4384ae; outline-offset: 4px; }
.hint { font-size: 12px; color: #536673; margin: 10px 0 22px; }
.show-password { display: flex; align-items: center; gap: 8px; margin: 15px 0; min-height: 28px; font-weight: 400; cursor: pointer; }
.show-password input { width: 17px; height: 17px; accent-color: #29485f; }
.secondary { display: block; text-align: center; font-size: 13px; margin-top: 22px; }
.footnote { margin: 26px 0 0; text-align: center; font-size: 12px; line-height: 1.7; color: #536673; }
#message { padding: 14px; border: 1px solid #c2d5cc; border-radius: 10px; background: #eff6f1; color: #28533d; font-size: 14px; line-height: 1.6; }
#message.error { background: #fff0eb; border-color: #e9c1b5; color: #8c3527; }
.reassurance { margin: 26px 0 0; color: #536673; font: italic 18px Georgia, serif; }
footer { color: #536673; font-size: 12px; }
@media (max-width: 520px) { header { padding: 24px 20px; gap: 12px; } header > a:last-child { font-size: 12px; } .brand { font-size: 17px; } main { padding-top: 18px; } .card { padding: 30px 24px; } footer { padding: 24px 20px; } }
