:root {
  font-family: system-ui, sans-serif;
  color: #242424;
  background: #f4f3f2;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
main {
  background: white;
  width: 100%;
  max-width: 440px;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 12px 50px #15253612;
}
.brand {
  background: #202020;
  padding: 20px 24px 22px;
  text-align: center;
}
.brand img {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}
.brand p {
  color: #d4d0cc;
  font-size: 0.86rem;
  width: 240px;
  max-width: 100%;
  text-align: left;
  /* Align with the artwork inside the unchanged logo's transparent margins. */
  padding-left: 10px;
  margin: -6px auto 0;
}
.form-content {
  padding: 28px 36px 32px;
}
h1 {
  font-size: 1.8rem;
  margin: 0 0 10px;
}
p {
  line-height: 1.5;
  color: #605d59;
}
label {
  display: block;
  font-weight: 600;
  margin: 18px 0 8px;
}
input {
  width: 100%;
  font: inherit;
  padding: 12px;
  border: 1px solid #98a9b5;
  border-radius: 8px;
}
button {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: #292929;
  color: white;
  padding: 13px;
  font: inherit;
  font-weight: 600;
  margin-top: 20px;
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
.secondary {
  background: transparent;
  color: #333333;
  margin-top: 8px;
}
button:focus-visible,
input:focus-visible {
  outline: 3px solid #ad3029;
  outline-offset: 3px;
}
#qr {
  display: block;
  margin: 20px auto;
  max-width: 100%;
  height: auto;
}
[hidden],
#qr[hidden] {
  display: none !important;
}
#error {
  color: #b52135;
}
.note {
  font-size: 0.8rem;
  margin-top: 28px;
}
.check {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.9rem;
}
.check input {
  width: auto;
}
button:not(:disabled):hover {
  background: #3b3b3b;
}
.secondary:not(:disabled):hover {
  background: #f1efed;
}
@media (max-width: 420px) {
  body {
    padding: 16px;
  }
  .form-content {
    padding: 24px;
  }
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #f1f5f7;
  padding: 12px;
  font-size: 0.8rem;
}
