@font-face {
  font-family: Inter;
  src: url("./assets/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  font-family: Inter, sans-serif;
  font-synthesis: none;
  color: #252623;
  background: #f9f5ec;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100svh; display: grid; place-items: center; padding: 32px 20px; }
main { width: min(100%, 340px); }
.wordmark { width: 80px; height: auto; mix-blend-mode: multiply; }
h1 { font-size: 34px; font-weight: 650; letter-spacing: -1.1px; line-height: 1.2; margin: 28px 0 12px; }
p { font-size: 14px; line-height: 1.5; margin: 0 0 18px; }
#instructions { color: #62605b; }
fieldset { display: grid; gap: 18px; padding: 0; border: 0; margin: 0; }
label { display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
input, button { font: inherit; }
input, #submit { border: 1px solid #e7e1d6; border-radius: 6px; width: 100%; height: 52px; padding: 11px 12px; font-size: 16px; }
input { background: #fffdfa; color: #252623; font-weight: 400; }
#submit { background: #2457d6; color: white; font-weight: 600; border: 0; margin-top: 18px; cursor: pointer; }
#submit:hover { background: #1b45ad; }
#submit:disabled { opacity: .7; cursor: wait; }
#restart { margin-top: 12px; padding: 10px 0; border: 0; background: transparent; color: #234dae; cursor: pointer; }
:focus-visible { outline: 3px solid #123b9d; outline-offset: 3px; }
#error { background: #f9e5df; color: #8b3024; border-radius: 6px; padding: 12px; }
#enrollment { margin-bottom: 18px; }
#qr { width: min(100%, 220px); display: grid; margin-bottom: 12px; }
#qr svg { width: 100%; height: auto; }
#enrollment p { margin-bottom: 5px; }
#manual-key { font-size: 15px; overflow-wrap: anywhere; user-select: all; }
@media (max-width: 650px) { h1 { font-size: 27px; } }
