:root {
  --bg: #08090a;
  --panel: #0d0f11;
  --panel-2: #111417;
  --text: #f2f2ef;
  --muted: #8f969b;
  --line: #252a2f;
  --soft: #15191d;
  --good: #d8f5dd;
  --bad: #f5d8d8;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); font: 15px/1.45 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body { display: grid; place-items: start center; }
.shell { width: min(760px, calc(100vw - 32px)); padding: 72px 0 40px; }
.top { margin-bottom: 34px; }
.brand { letter-spacing: .18em; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.line { font-size: 15px; color: var(--text); }
.card { background: linear-gradient(180deg, var(--panel), #0b0c0e); border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: 0 24px 70px rgba(0,0,0,.35); }
h1 { margin: 0; font-size: 28px; line-height: 1.1; font-weight: 560; letter-spacing: -.02em; }
.muted { color: var(--muted); margin: 12px 0 0; }
.form { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 28px; }
input { width: 100%; height: 48px; border-radius: 10px; border: 1px solid var(--line); background: #070809; color: var(--text); padding: 0 14px; font: inherit; outline: none; }
input:focus { border-color: #59606a; }
button, .button { height: 48px; border-radius: 10px; border: 1px solid #d9d9d2; background: #eeeede; color: #08090a; padding: 0 18px; font: inherit; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
button.secondary, .button.secondary { background: transparent; color: var(--text); border-color: var(--line); }
button:disabled { opacity: .45; cursor: not-allowed; }
.result { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 22px; }
.hidden { display: none; }
.state { font-size: 21px; line-height: 1.2; margin-bottom: 12px; }
.good { color: var(--good); }
.bad { color: var(--bad); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
.kv { background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.kv dt { color: var(--muted); font-size: 12px; margin-bottom: 5px; }
.kv dd { margin: 0; font-size: 16px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.email-row { display: flex; gap: 8px; width: 100%; margin-top: 10px; }
.email-row input { flex: 1; }
.terms { margin-top: 16px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.terms dl { margin: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.terms div { padding: 14px; border-right: 1px solid var(--line); background: #0a0b0c; }
.terms div:last-child { border-right: 0; }
.terms dt { color: var(--muted); font-size: 11px; margin-bottom: 5px; white-space: nowrap; }
.terms dd { margin: 0; font-size: 13px; white-space: nowrap; }
footer { color: var(--muted); font-size: 12px; margin-top: 20px; }
.small { color: var(--muted); font-size: 12px; margin-top: 10px; }
@media (max-width: 760px) {
  .shell { padding-top: 36px; }
  .form { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .terms dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .terms div { border-bottom: 1px solid var(--line); }
  .email-row { flex-direction: column; }
}
