:root {
  color-scheme: light dark;
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
  background: #f1f4f9;
  color: #192334;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}
main {
  width: min(100%, 440px);
  border: 1px solid #d8e0ec;
  border-radius: 22px;
  padding: clamp(22px, 5vw, 38px);
  background: #fff;
  box-shadow: 0 18px 60px #1d355714;
}
.brand {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: #2457d6;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 26px;
}
h1 {
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -0.7px;
}
p {
  font-size: 15px;
  line-height: 1.55;
  color: #47566b;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 1.8px;
  font-weight: 700;
  margin-top: 24px;
}
form {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
[hidden] {
  display: none !important;
}
label {
  font-size: 14px;
  font-weight: 650;
}
input,
button,
nav a {
  border-radius: 11px;
  min-height: 48px;
  width: 100%;
  padding: 12px;
  font: inherit;
}
input {
  border: 1px solid #8292a8;
  background: #fff;
  color: #192334;
}
button,
nav a {
  background: #2457d6;
  color: white;
  border: 1px solid transparent;
  font-weight: 650;
  cursor: pointer;
}
button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.secondary {
  background: transparent;
  color: #254ba3;
  border-color: #bcc9dd;
}
:focus-visible {
  outline: 3px solid #5480ff;
  outline-offset: 3px;
}
#code {
  letter-spacing: 0.35em;
  font-size: 23px;
}
#status {
  min-height: 1.5em;
  font-weight: 550;
}
.footnote,
.external {
  font-size: 12px;
  line-height: 1.5;
}
a {
  color: #254ba3;
}
nav {
  display: grid;
  gap: 10px;
}
nav a {
  text-align: center;
  text-decoration: none;
}
@media (prefers-color-scheme: dark) {
  :root {
    background: #131820;
    color: #f2f5fa;
  }
  main {
    background: #1d2530;
    border-color: #3b495d;
  }
  p {
    color: #c1ccdc;
  }
  input {
    background: #131820;
    color: #fff;
  }
  a,
  .secondary {
    color: #aac5ff;
  }
}
