:root {
  --bg: #070a08;
  --card: #101612;
  --line: rgba(255, 255, 255, 0.08);
  --text: #eef2ef;
  --muted: #8b968f;
  --green: #3ecf5a;
  --green-dim: rgba(62, 207, 90, 0.14);
  --danger: #ff6b6b;
  --radius: 16px;
  --font: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
}
.bg {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(62, 207, 90, 0.18), transparent 60%),
    linear-gradient(180deg, #0b100d 0%, var(--bg) 50%);
}
.wrap {
  width: min(560px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
}
.top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px;
}
.brand {
  font-weight: 700; font-size: 1.15rem; color: var(--text); text-decoration: none;
  letter-spacing: 0.02em;
}
.ghost { color: var(--muted); text-decoration: none; font-size: 0.9rem; }
.hero h1 { font-size: 2rem; margin: 0 0 8px; letter-spacing: -0.03em; }
.lead { color: var(--muted); line-height: 1.5; margin: 0 0 22px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 14px;
}
.card h2 { margin: 0 0 14px; font-size: 1.05rem; }
.lbl { display: block; font-size: 0.8rem; color: var(--muted); margin-bottom: 6px; }
input[type="email"], input[type="text"] {
  width: 100%;
  border: 1px solid var(--line);
  background: #0a0e0b;
  color: var(--text);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  margin-bottom: 12px;
}
input:focus { outline: 2px solid rgba(62, 207, 90, 0.35); border-color: transparent; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: 12px;
  padding: 12px 16px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  width: 100%;
}
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn.primary {
  background: var(--green);
  border-color: transparent;
  color: #041208;
  margin-top: 4px;
}
.btn.primary:hover:not(:disabled) { filter: brightness(1.05); }
.tariffs { display: grid; gap: 10px; }
.tariff {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
}
.tariff strong { font-size: 1rem; }
.tariff .price { font-weight: 700; color: var(--green); }
.tariff .desc { grid-column: 1 / -1; color: var(--muted); font-size: 0.85rem; }
.tariff.active {
  border-color: var(--green);
  background: var(--green-dim);
}
.hint { color: var(--green); font-size: 0.85rem; }
.fine { color: var(--muted); font-size: 0.8rem; line-height: 1.45; margin: 12px 0 0; }
.err { color: var(--danger); margin-top: 12px; }
.key-row { display: flex; gap: 8px; margin-bottom: 12px; }
.key-row input { margin: 0; flex: 1; }
.key-row .btn { width: auto; white-space: nowrap; }
@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
}
