:root {
  --bg-top: #060918;
  --bg-bottom: #1a1d47;
  --panel: #0b0f1c;
  --line: rgba(255, 255, 255, 0.14);
  --text: #f5f3ee;
  --dim: #b9bdcb;
  --focus: #ffd166;
  --good: #6fe3a8;
  --bad: #ff6b6b;
  --ink: #1b2030;
}
* { box-sizing: border-box; }
html { background: var(--bg-top); }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px 16px;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.card {
  width: 100%;
  max-width: 28rem;
  padding: 28px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
}
h1 { margin: 0 0 8px; font-size: 1.75rem; line-height: 1.2; }
h2 { margin: 20px 0 4px; font-size: 1.05rem; }
p { margin: 0 0 14px; }
.eyebrow { color: var(--focus); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.8rem; }
.dim { color: var(--dim); }
.price { font-size: 1.4rem; font-weight: 700; color: var(--good); }
.code { font-family: ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.12em; }
.restore { font-size: 1.8rem; font-weight: 700; padding: 12px; text-align: center; border: 1px dashed var(--line); border-radius: 12px; user-select: all; }
.error { color: var(--bad); }
.error:empty { display: none; }
.alt { text-align: center; margin: 16px 0 0; }
a { color: var(--focus); }
label { display: block; margin: 14px 0 4px; color: var(--dim); font-size: 0.9rem; }
input[type="text"], input:not([type]), input[name] {
  width: 100%;
  padding: 14px;
  font: inherit;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
input[type="hidden"] { display: none; }
.btn {
  display: block;
  width: 100%;
  margin-top: 18px;
  padding: 16px;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  background: var(--focus);
  border: 0;
  border-radius: 14px;
  cursor: pointer;
}
.btn:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
footer { color: var(--dim); font-size: 0.85rem; }
