:root {
  color-scheme: light dark;
  font-family: system-ui, sans-serif;
  background: light-dark(#f5f5f7, #111113);
  color: light-dark(#202024, #f5f5f7);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: max(24px, env(safe-area-inset-top)) 20px
    max(24px, env(safe-area-inset-bottom));
}
main {
  max-width: 480px;
  margin: 2vh auto;
}
h1 {
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-top: 20px;
}
h2 {
  font-size: 1.25rem;
}
p,
li {
  line-height: 1.5;
  overflow-wrap: anywhere;
}
a {
  color: inherit;
  text-underline-offset: 3px;
}
.brand {
  font-weight: 750;
  font-size: 1.25rem;
  text-decoration: none;
}
label {
  display: block;
  margin: 24px 0 8px;
  font-weight: 600;
}
input,
button {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  padding: 12px 16px;
  font: inherit;
}
input {
  border: 1px solid light-dark(#76767b, #898990);
  background: light-dark(#fff, #202024);
  color: inherit;
}
button {
  margin-top: 12px;
  border: 1px solid transparent;
  background: light-dark(#7130a0, #d5a4ff);
  color: light-dark(#fff, #21102f);
  font-weight: 650;
  cursor: pointer;
}
button.secondary {
  background: transparent;
  color: inherit;
  border-color: light-dark(#76767b, #898990);
}
#apple {
  background: light-dark(#000, #fff);
  color: light-dark(#fff, #000);
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
:focus-visible {
  outline: 3px solid light-dark(#0061d5, #8fc1ff);
  outline-offset: 4px;
}
.hint,
footer {
  font-size: 0.9rem;
}
#status:not(:empty) {
  padding: 12px 0;
  font-weight: 500;
}
footer {
  margin-top: 24px;
}
[hidden] {
  display: none !important;
}

summary {
  cursor: pointer;
  min-height: 44px;
  padding: 10px 0;
}
