:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #050506;
  color: #f9fafb;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
.page { min-height: 100svh; max-width: 560px; margin: auto; padding: 28px 24px 24px; display: flex; flex-direction: column; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.brand img { width: 58px; height: 58px; object-fit: contain; }
.content { margin: auto 0; padding: 48px 0; }
.eyebrow, footer { color: #b7b7b7; font-size: 11px; font-weight: 600; letter-spacing: .14em; }
h1 { margin: 12px 0 10px; font-size: clamp(30px, 7vw, 42px); line-height: 1.12; letter-spacing: -.035em; }
.description { color: #b7b7b7; font-size: 16px; line-height: 1.5; margin: 0 0 32px; }
form { margin-top: 28px; }
label { display: block; font-size: 14px; font-weight: 600; margin: 0 0 9px; }
.password-wrap { position: relative; }
input { width: 100%; min-height: 56px; padding: 12px 76px 12px 16px; border: 1px solid #383838; border-radius: 16px; background: #202020; color: #f9fafb; font: inherit; font-size: 16px; }
input::placeholder { color: #929292; }
button, .link-button { font: inherit; cursor: pointer; }
.show-password { position: absolute; right: 5px; top: 5px; min-height: 46px; min-width: 62px; border: 0; border-radius: 12px; background: transparent; color: #f9fafb; font-size: 13px; font-weight: 600; }
.hint, .fallback { color: #b7b7b7; font-size: 13px; line-height: 1.5; }
.hint { margin: 10px 0 0; }
.fallback { margin-top: 24px; }
.error { color: #f87171; background: #321617; border-radius: 10px; padding: 12px; font-size: 13px; line-height: 1.5; }
.primary { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; margin-top: 24px; padding: 10px 20px; border: 0; border-radius: 28px; background: #e6ff3b; color: #111; text-align: center; font-weight: 700; font-size: 15px; text-decoration: none; }
.primary:hover { background: #f1ff87; }
.primary:disabled { opacity: .55; cursor: wait; }
:focus-visible { outline: 3px solid #e6ff3b; outline-offset: 3px; }
footer { padding-top: 24px; text-align: center; }
[hidden] { display: none !important; }
@media (min-width: 700px) {
  .page { max-width: 620px; padding: 48px 44px 32px; }
  .content { background: #171717; border: 1px solid #303030; border-radius: 28px; padding: 42px; }
}
