:root { --green:#C9FF9F; --teal:#0D4037; --black:#000; --card:#1A1A1A; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--green); color: var(--teal); min-height: 100vh;
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
main { width: 100%; max-width: 420px; text-align: center; }
h1 { font-family: "Bricolage Grotesque", system-ui, sans-serif; font-weight: 700; font-size: 2rem; margin: 0 0 4px; }
.sub { margin: 0 0 24px; opacity: .85; }
label { display: block; text-align: left; font-weight: 600; margin: 0 0 6px; }
input {
  width: 100%; font: inherit; padding: 14px 16px; border-radius: 12px;
  border: 2px solid var(--black); background: #fff; color: var(--black);
}
button {
  display: block; width: 100%; font: inherit; font-weight: 600; cursor: pointer;
  border-radius: 999px; padding: 14px 16px; margin: 12px 0 0;
  border: 2px solid var(--black); background: var(--black); color: #fff;
}
button.secondary { background: transparent; color: var(--black); }
button[disabled] { opacity: .5; cursor: default; }
details { margin: 16px 0; text-align: left; }
summary { cursor: pointer; font-weight: 600; margin-bottom: 8px; }
.note { font-size: .9rem; margin-top: 16px; }
a { color: var(--teal); font-weight: 600; }
#msg { min-height: 1.5em; margin-top: 16px; font-weight: 600; }
#msg.err { color: #8a1c1c; }
[hidden] { display: none !important; }
