:root {
  --bg: #f6f8f9; --card: #ffffff; --ink: #111417; --muted: #5b6470; --line: #cfd5dc;
  --accent: #0b7285; --accent-ink: #ffffff; --error: #b42318; --field-line: #7b8591;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1017; --card: #121923; --ink: #eef1f4; --muted: #9aa5b1; --line: #37424f;
    --accent: #5fd0e2; --accent-ink: #0b1017; --error: #ff9a8f; --field-line: #6b7785;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 24px; padding: 32px 16px; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.5;
}
.card {
  width: 100%; max-width: 440px; background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 40px 32px 32px; text-align: center; box-shadow: 0 10px 40px rgba(11, 16, 23, 0.08);
}
.icon { display: block; margin: 0 auto 20px; border-radius: 22px; box-shadow: 0 6px 20px rgba(11, 16, 23, 0.18); }
.eyebrow { margin: 0 0 6px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
h1 { margin: 0; font-size: 34px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.1; }
.lede { margin: 12px 0 0; color: var(--muted); }
.gate { margin-top: 28px; text-align: left; }
label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.row { display: flex; gap: 10px; }
input {
  flex: 1; min-width: 0; height: 48px; padding: 0 14px; font: inherit; color: var(--ink); background: var(--bg);
  border: 1px solid var(--field-line); border-radius: 10px;
}
button {
  height: 48px; padding: 0 20px; font: inherit; font-weight: 600; color: var(--accent-ink); background: var(--accent);
  border: 0; border-radius: 10px; cursor: pointer;
}
button:disabled { opacity: 0.6; cursor: progress; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.status { min-height: 1.5em; margin: 10px 0 0; font-size: 15px; color: var(--error); }
.foot p { margin: 0; font-size: 14px; color: var(--muted); text-align: center; }
.foot a { color: var(--muted); text-decoration: underline; }
@media (max-width: 420px) {
  .card { padding: 32px 20px 24px; }
  .row { flex-direction: column; }
  input { flex: none; width: 100%; }
  button { width: 100%; }
}
