:root {
  color-scheme: dark;
  --bg: #0c0d10;
  --panel: #181a20;
  --text: #e4e6ea;
  --muted: #a0a5b1;
  --accent: #7fd1a7;
  --focus: #f0c674;
  font: 400 1rem/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 46rem; margin: auto; padding: 2.5rem clamp(1.25rem, 5vw, 3rem) 4rem; }
a { color: var(--text); text-underline-offset: .2em; }
.brand { display: inline-block; margin-bottom: 2rem; font-weight: 600; text-decoration: none; }
h1 { font-size: clamp(2.1rem, 7vw, 3.1rem); line-height: 1.15; letter-spacing: -.035em; margin: 1.5rem 0 1rem; }
h2 { font-size: 1.25rem; line-height: 1.3; margin: 0 0 .7rem; }
p { margin: 0 0 1rem; color: var(--muted); }
.notice { border-left: 3px solid var(--focus); padding-left: .9rem; color: var(--text); font-size: .9rem; }
.intro { max-width: 39rem; }
.purchase { margin: 2rem 0; padding: 1.6rem; background: var(--panel); border-radius: .7rem; border: 1px solid #30343e; }
.price { color: var(--text); font-size: 2.4rem; font-weight: 600; margin-bottom: .6rem; }
.price span { font-size: .95rem; color: var(--muted); font-weight: 400; }
ul { padding-left: 1.2rem; color: var(--muted); margin: 1rem 0 1.6rem; }
li { margin: .3rem 0; }
button, input { font: inherit; }
button { min-height: 2.8rem; border: 0; border-radius: .35rem; padding: .65rem 1rem; color: var(--bg); background: var(--accent); font-weight: 600; cursor: pointer; }
button:disabled { opacity: .45; cursor: wait; }
button:hover:enabled { filter: brightness(1.08); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
details { border-top: 1px solid #30343e; border-bottom: 1px solid #30343e; padding: 1rem 0; margin-bottom: 1.5rem; }
summary { cursor: pointer; font-weight: 500; }
details[open] summary { margin-bottom: 1rem; }
label { display: block; margin-bottom: .35rem; }
input { display: block; width: 100%; min-height: 2.8rem; margin: 0 0 1rem; padding: .6rem .75rem; background: var(--bg); color: var(--text); border: 1px solid #535966; border-radius: .35rem; }
#issued-key { font: .85rem/1.6 "SF Mono", ui-monospace, Menlo, monospace; }
#status { min-height: 1.6rem; color: var(--text); }
#receipt { margin: 2rem 0; border-top: 2px solid var(--accent); padding-top: 1.5rem; }
#licenses section { margin-bottom: 1.5rem; }
#licenses > section { padding: clamp(1rem, 4vw, 1.6rem); background: var(--panel); border: 1px solid #30343e; border-radius: .7rem; }
#licenses .covered-download { display: block; margin-top: .85rem; }
#licenses input { margin-top: .35rem; font-family: ui-monospace, monospace; }
#licenses section + section { padding-top: 1.5rem; border-top: 1px solid #30343e; }
.secondary { background: transparent; color: var(--text); border: 1px solid #535966; margin-bottom: 1.5rem; }
.fine { font-size: .85rem; margin-top: 1.4rem; }
footer { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: 2rem; font-size: .85rem; }
[hidden] { display: none !important; }
@media (max-width: 400px) { .purchase { padding: 1.1rem; } button { width: 100%; } }
