:root {
  color-scheme: dark;
  font-family: Inter, 'Segoe UI', system-ui, sans-serif;
  color: #f5f5f5;
  background: #0a0a0b;
}

* { box-sizing: border-box; }
body { min-height: 100vh; min-height: 100svh; margin: 0; display: grid; place-items: center; padding: 24px; background: radial-gradient(ellipse at 50% 0, #2d171c, transparent 60%); }
.card { width: min(100%, 440px); padding: clamp(24px, 6vw, 44px); border: 1px solid #333337; border-radius: 16px; background: #171719; box-shadow: 0 22px 60px #0009; }
.brand { display: flex; align-items: center; gap: 12px; font-family: Arial, Helvetica, sans-serif; font-size: 28px; font-weight: 750; letter-spacing: -.045em; }
.mark { position: relative; width: 36px; height: 54px; flex: none; overflow: hidden; }
.mark img { position: absolute; top: 0; left: 50%; width: 68px; transform: translateX(-50%); }
.wordmark-store { font-weight: 500; }
small { margin-left: 4px; font-size: 11px; color: #b3b3bd; letter-spacing: .055em; }
h1 { margin: 26px 0 8px; font-size: clamp(24px, 5vw, 30px); line-height: 1.16; letter-spacing: -.04em; }
p { color: #bcbcc4; font-size: 15px; line-height: 1.5; margin: 0 0 22px; }
form { display: grid; gap: 8px; }
label { font-weight: 650; font-size: 14px; }
input { min-width: 0; width: 100%; height: 44px; padding: 9px 12px; border: 1px solid #696973; border-radius: 7px; background: #202024; color: #f5f5f5; font: inherit; }
#password-hint { margin: -2px 0 8px; color: #bcbcc4; font-size: 13px; }
button { min-height: 45px; margin: 8px 0 0; padding: 9px 13px; border: 0; border-radius: 7px; background: #e6001a; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
button:hover { background: #c90017; }
:focus-visible { outline: 3px solid #ff5266; outline-offset: 2px; }
.demo { display: block; margin: 18px 0 0; text-align: center; color: #e5e5eb; font-size: 14px; font-weight: 650; text-underline-offset: 3px; }
.error { padding: 9px 11px; border-radius: 8px; color: #ffcbd2; background: #44191f; font-size: 14px; }
