:root {
  color-scheme: light dark;
  font: 16px/1.5 system-ui, sans-serif;
  color: #181a17;
  background: #f5f5ee;
}

body { margin: 0; padding: 2rem 1rem; }
main { width: min(100%, 30rem); margin: 2vh auto; }
h1 { font-size: clamp(1.8rem, 7vw, 2.6rem); line-height: 1.1; margin: 0 0 1rem; }
p { margin: 0 0 1rem; }
.wordmark { font-size: 1.25rem; font-weight: 850; letter-spacing: -.04em; }
form { display: grid; gap: .5rem; }
[hidden] { display: none !important; }
label { font-weight: 600; }
input, button { min-height: 2.85rem; border-radius: .65rem; font: inherit; box-sizing: border-box; }
input { padding: .55rem .75rem; border: 1px solid #747a6e; background: Canvas; color: CanvasText; margin-bottom: .4rem; }
button { border: 1px solid #181a17; padding: .55rem .9rem; background: #e1ef88; color: #181a17; font-weight: 700; cursor: pointer; width: 100%; margin-bottom: .5rem; }
button.secondary { background: transparent; color: inherit; border-color: #747a6e; }
.text-button { background: transparent; color: inherit; border: 0; text-decoration: underline; }
button:disabled { opacity: .55; cursor: default; }
.code { font: 700 1.6rem/1.4 ui-monospace, monospace; letter-spacing: .12em; }
.detail { font-size: .95rem; }
#notice { border-inline-start: .25rem solid #82913f; padding-inline-start: .75rem; }
a { color: inherit; }
:focus-visible { outline: 2px solid #677525; outline-offset: 3px; }

@media (prefers-color-scheme: dark) {
  :root { background: #1c201b; color: #f5f5ee; }
  :focus-visible { outline-color: #e1ef88; }
}
