:root {
  --bg: #0b1017; --card: #141c28; --card2: #1a2434; --border: #2a3548;
  --text: #eef2f8; --muted: #8b9bb0; --accent: #5b8cff; --accent2: #7aa2ff;
  --good: #3dd68c; --warn: #f5a524; --danger: #f04438; --chip: #243044;
  --hero: linear-gradient(135deg, #1a2f55 0%, #142033 45%, #0f1826 100%);
  --pro: linear-gradient(90deg, #2a2210, #1f2838);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(900px 480px at 8% -8%, #1b2e52 0%, transparent 55%),
    radial-gradient(700px 400px at 100% 0%, #1a2838 0%, transparent 45%),
    var(--bg);
  color: var(--text); min-height: 100vh; line-height: 1.55;
}
a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 960px; margin: 0 auto; padding: 20px 16px 72px; }
header {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 14px; margin-bottom: 18px; flex-wrap: wrap;
}
.brand h1 { margin: 0; font-size: 1.55rem; letter-spacing: -0.03em; }
.brand p { margin: 4px 0 0; color: var(--muted); font-size: 0.9rem; }
.badge {
  display: inline-block; padding: 2px 8px; border-radius: 999px;
  background: #243b2e; color: var(--good); font-size: 0.72rem; font-weight: 700;
  vertical-align: middle;
}
.badge-pro { background: #3a2e14; color: var(--warn); }
.gate, .upsell {
  background: var(--pro); border: 1px solid #5a4518; border-radius: 14px;
  padding: 12px 14px; margin-bottom: 16px; color: #f0d9a0; font-size: 0.9rem;
}
.upsell.pro-on {
  background: linear-gradient(90deg, #1a2418, #1f2838);
  border-color: #3d5a34;
  color: #c8e6c0;
}
.upsell.over {
  border-color: #c4891a; box-shadow: 0 0 0 1px rgba(245,165,36,0.15);
}
.gate strong, .upsell strong { color: var(--warn); }
.price-pill {
  display: inline-block; background: #3a2e14; color: var(--warn);
  border-radius: 999px; padding: 2px 10px; font-weight: 700; font-size: 0.82rem;
}
.hero {
  background: var(--hero); border: 1px solid var(--border); border-radius: 18px;
  padding: 22px 20px; margin-bottom: 14px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: center;
}
.hero .eyebrow { color: var(--muted); font-size: 0.8rem; margin: 0 0 6px; }
.hero .big {
  font-size: clamp(2rem, 6vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em;
  margin: 0; line-height: 1.1;
}
.hero .sub { color: var(--muted); font-size: 0.88rem; margin: 8px 0 0; }
.hero-side { display: grid; gap: 8px; }
.mini {
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 12px; padding: 10px 12px;
}
.mini .k { color: var(--muted); font-size: 0.75rem; }
.mini .v { font-size: 1.15rem; font-weight: 700; margin-top: 2px; }
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px;
}
.stat {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 12px 14px;
}
.stat .label { color: var(--muted); font-size: 0.78rem; }
.stat .value { font-size: 1.2rem; font-weight: 700; margin-top: 3px; }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 16px; margin-bottom: 14px;
}
.card h2 { margin: 0 0 12px; font-size: 1.02rem; }
.renew-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.renew-list li {
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  background: var(--card2); border: 1px solid var(--border); border-radius: 12px;
  padding: 10px 12px;
}
.renew-list .when { color: var(--warn); font-weight: 700; font-size: 0.88rem; white-space: nowrap; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
th {
  color: var(--muted); font-weight: 600; font-size: 0.74rem;
  text-transform: uppercase; letter-spacing: 0.04em;
}
tr.soon-row { background: rgba(245,165,36,0.06); }
.chip {
  display: inline-block; background: var(--chip); color: var(--muted);
  border-radius: 6px; padding: 2px 7px; font-size: 0.75rem;
}
.soon { color: var(--warn); font-weight: 600; }
.actions a, .actions button, button, .btn {
  display: inline-block; border: 1px solid var(--border); background: #243044;
  color: var(--text); border-radius: 10px; padding: 8px 12px; font-size: 0.85rem;
  cursor: pointer; margin-right: 4px; margin-bottom: 4px; text-decoration: none;
  font: inherit;
}
.btn:hover, button:hover { text-decoration: none; filter: brightness(1.08); }
.btn-primary { background: var(--accent); border-color: #4a7af0; color: white; font-weight: 700; }
.btn-danger { background: #3a1f22; border-color: #6a3035; color: #ffb4ae; }
.btn-good { background: #1e3a2f; border-color: #2f6a4f; color: var(--good); }
.btn-ghost { background: transparent; }
.btn-lg { padding: 12px 18px; font-size: 1rem; border-radius: 12px; }
.btn-sm { padding: 5px 9px; font-size: 0.78rem; }
form.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
form.grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 0.8rem; color: var(--muted); margin-bottom: 4px; }
input, select, textarea {
  width: 100%; background: #0f1724; border: 1px solid var(--border); color: var(--text);
  border-radius: 10px; padding: 10px 12px; font: inherit;
}
textarea { min-height: 64px; resize: vertical; }
.flash { padding: 10px 12px; border-radius: 12px; margin-bottom: 14px; font-size: 0.9rem; }
.flash.ok { background: #1a3328; border: 1px solid #2f6a4f; color: var(--good); }
.flash.err { background: #3a1f22; border: 1px solid #6a3035; color: #ffb4ae; }
.nav { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
footer { margin-top: 28px; color: var(--muted); font-size: 0.78rem; line-height: 1.6; }
.hidden { display: none !important; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* Landing */
.land-hero { text-align: center; padding: 36px 12px 28px; }
.land-hero h1 {
  margin: 0 0 12px; font-size: clamp(1.8rem, 5.5vw, 2.6rem);
  letter-spacing: -0.035em; line-height: 1.15;
}
.land-hero .lead {
  color: var(--muted); font-size: 1.05rem; max-width: 560px; margin: 0 auto 20px;
}
.land-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.step {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 14px; text-align: left;
}
.step .n {
  width: 28px; height: 28px; border-radius: 8px; background: #243044;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; color: var(--accent2); font-size: 0.85rem; margin-bottom: 8px;
}
.step h3 { margin: 0 0 6px; font-size: 0.98rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.86rem; }
.fake-shot {
  background: var(--card2); border: 1px solid var(--border); border-radius: 16px;
  padding: 16px; overflow: hidden;
}
.fake-shot .bar {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 10px;
}
.fake-shot .amt { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.02em; }
.fake-row {
  display: flex; justify-content: space-between; padding: 8px 0;
  border-top: 1px solid var(--border); font-size: 0.9rem;
}
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.price-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 16px;
}
.price-card.featured {
  border-color: #5a4518; background: linear-gradient(180deg, #221c12, #141c28);
}
.price-card h3 { margin: 0 0 6px; }
.price-card .amt { font-size: 1.4rem; font-weight: 800; color: var(--warn); }
.price-card ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: 0.88rem; }

/* Toast */
.toast {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(120%);
  background: #1a3328; border: 1px solid #2f6a4f; color: var(--good);
  padding: 12px 18px; border-radius: 12px; font-size: 0.9rem; z-index: 50;
  transition: transform 0.25s ease; max-width: 90vw; box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.err { background: #3a1f22; border-color: #6a3035; color: #ffb4ae; }

.toolbar { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.empty {
  text-align: center; color: var(--muted); padding: 28px 12px; font-size: 0.95rem;
}

@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; padding: 18px 16px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats .stat:last-child { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  form.grid { grid-template-columns: 1fr; }
  th:nth-child(5), td:nth-child(5) { display: none; }
  .wrap { padding: 14px 12px 64px; }
  .nav .btn { padding: 7px 10px; font-size: 0.8rem; }
  .col-hide-sm { display: none; }
}
