:root {
  color-scheme: light;
  --ink: #202123;
  --muted: #666b73;
  --line: #e3e5e8;
  --soft: #f7f7f5;
  --accent: #1769c2;
  --accent-hover: #1259a6;
  --focus: #1769c2;
  font: 16px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; padding: 40px 20px; background: var(--soft); color: var(--ink); }
main { max-width: 620px; margin: 0 auto; padding: 30px 32px 32px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.brand { display: inline-flex; align-items: center; min-height: 28px; color: var(--accent); font-size: 15px; font-weight: 700; letter-spacing: -.01em; text-decoration: none; }
h1 { max-width: 18ch; margin: 24px 0 8px; font-size: clamp(30px, 6vw, 38px); line-height: 1.12; letter-spacing: -.035em; }
h2 { margin: 26px 0 8px; font-size: 20px; line-height: 1.3; letter-spacing: -.015em; }
h3 { font-size: 15px; }
p, li { line-height: 1.55; }
p { margin: 8px 0 14px; }
a { color: var(--accent); }
section { margin-top: 24px; padding-top: 2px; border-top: 1px solid var(--line); }
label { display: block; margin: 18px 0 8px; font-size: 14px; font-weight: 650; }
input { display: block; width: 100%; margin-top: 7px; padding: 12px 13px; border: 1px solid #9da3aa; border-radius: 8px; background: #fff; color: var(--ink); font: inherit; }
input:focus, button:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
button { width: 100%; margin: 12px 0; padding: 12px 18px; border: 1px solid var(--accent); border-radius: 8px; background: var(--accent); color: #fff; cursor: pointer; font: inherit; font-size: 14px; font-weight: 650; }
button:hover:not(:disabled) { border-color: var(--accent-hover); background: var(--accent-hover); }
button:disabled { opacity: .55; cursor: wait; }
button.secondary { border-color: var(--line); background: #fff; color: var(--ink); }
button.secondary:hover:not(:disabled) { border-color: #c9cdd2; background: var(--soft); }
#notice { margin: 16px 0 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); color: #44484e; font-size: 14px; }
#key, #origin { overflow-wrap: anywhere; }
#origin { color: var(--muted); font-size: 14px; font-weight: 550; }
.fine { margin-top: 24px; color: var(--muted); font-size: 13px; }
details { margin: 18px 0; }
summary { color: #40444a; cursor: pointer; font-size: 14px; font-weight: 600; }
[hidden] { display: none !important; }
@media (max-width: 520px) {
  body { padding: 0; background: #fff; }
  main { padding: 24px 20px 30px; border: 0; border-radius: 0; }
  h1 { font-size: 30px; }
}
