:root {
  --bg: #070a0f;
  --bg-elevated: #0c1118;
  --card: #121821;
  --card-hover: #161e2a;
  --text: #eef3f9;
  --muted: #8b9bb0;
  --muted-2: #6b7c90;
  --accent: #5b8cff;
  --accent-2: #7c5cff;
  --accent-soft: rgba(91, 140, 255, 0.14);
  --accent-glow: rgba(91, 140, 255, 0.35);
  --success: #3ecf8e;
  --line: #1e2a3a;
  --line-strong: #2a3a50;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(91, 140, 255, 0.16), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(124, 92, 255, 0.12), transparent 50%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 28px 20px 88px;
}

/* ——— Nav ——— */
.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 36px;
  padding: 12px 14px;
  background: rgba(18, 24, 33, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}
.nav a:hover { color: var(--text); }
.nav .brand {
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-right: 4px;
}
.nav .spacer { flex: 1; min-width: 8px; }
.nav .nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.82rem;
}
.nav .nav-cta:hover { filter: brightness(1.08); color: #fff !important; }

/* ——— Type ——— */
h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.45rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  font-weight: 750;
}
h2 {
  font-size: 1.22rem;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  font-weight: 700;
}
h3 {
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  font-weight: 650;
}
.lead {
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.55;
  margin: 0 0 28px;
  max-width: 38em;
}
.muted { color: var(--muted); font-size: 0.92rem; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

a { color: var(--accent); }
a:hover { color: #7aa3ff; }

/* ——— Cards ——— */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 16px 0;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.card:hover { border-color: var(--line-strong); background: var(--card-hover); }
.card.featured {
  background:
    linear-gradient(145deg, rgba(91, 140, 255, 0.14), rgba(124, 92, 255, 0.06) 40%, var(--card));
  border-color: rgba(91, 140, 255, 0.35);
  box-shadow: var(--shadow);
}
.card.featured:hover { border-color: rgba(91, 140, 255, 0.55); }
.card h2 { margin-top: 0; }
.card ul { margin: 0.4em 0 0; padding-left: 1.15rem; }
.card li { margin: 0.4em 0; }
.card li a { font-weight: 600; text-decoration: none; }
.card li a:hover { text-decoration: underline; }

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff !important;
  text-decoration: none !important;
  padding: 13px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 0;
  box-shadow: 0 8px 24px var(--accent-glow);
  transition: transform 0.12s ease, filter 0.12s ease;
}
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); color: #fff !important; }
.btn.secondary {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text) !important;
  box-shadow: none;
}
.btn.secondary:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--text) !important; }
.btn.large { padding: 15px 24px; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 6px; }

/* ——— Hero (home) ——— */
.hero {
  padding: 8px 0 8px;
  margin-bottom: 8px;
}
.hero h1 { margin-bottom: 16px; }
.hero .lead { font-size: 1.18rem; margin-bottom: 22px; }
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 8px;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--muted);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
}
.trust-pill strong { color: var(--text); font-weight: 650; }

/* ——— Value grid ——— */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 18px 0 8px;
}
@media (max-width: 720px) {
  .grid-3 { grid-template-columns: 1fr; }
  .nav { border-radius: 14px; }
}
.value-tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
}
.value-tile .icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 10px;
  font-size: 0.95rem;
}
.value-tile h3 { margin: 0 0 6px; font-size: 1rem; }
.value-tile p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* ——— Price / offer ——— */
.price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin: 4px 0 12px;
}
.price-tag .amount {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #fff, #b8c9ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price-tag .period { color: var(--muted); font-size: 0.95rem; }
.checklist { list-style: none; padding: 0; margin: 12px 0 18px; }
.checklist li {
  position: relative;
  padding: 8px 0 8px 28px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 0.98rem;
}
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--success);
  font-weight: 800;
}
.fineprint { color: var(--muted-2); font-size: 0.85rem; margin-top: 10px; }

/* ——— Proof placeholders ——— */
.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 14px 0;
}
@media (max-width: 600px) { .proof-grid { grid-template-columns: 1fr; } }
.proof-card {
  background: var(--bg-elevated);
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  padding: 14px 16px;
}
.proof-card .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-2);
  margin-bottom: 6px;
  font-weight: 650;
}
.proof-card p { margin: 0; color: var(--muted); font-size: 0.9rem; font-style: italic; }

/* ——— Article ——— */
.article h2 { margin-top: 1.75em; margin-bottom: 0.55em; }
.article h3 { margin-top: 1.4em; margin-bottom: 0.45em; }
.article hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 1.75em 0;
}
.article ul, .article ol { padding-left: 1.25rem; margin: 0.6em 0 1em; }
.article li { margin: 0.3em 0; }
.article p { margin: 0.8em 0; }
.article .cta-box {
  background:
    linear-gradient(145deg, rgba(91, 140, 255, 0.12), rgba(124, 92, 255, 0.05) 45%, var(--card));
  border: 1px solid rgba(91, 140, 255, 0.3);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 1.5em 0;
}
.article .cta-box h2 { margin-top: 0; }

.table-wrap {
  overflow-x: auto;
  margin: 1em 0 1.25em;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td {
  text-align: left;
  padding: 11px 13px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  color: var(--muted);
  font-weight: 650;
  background: rgba(0, 0, 0, 0.22);
  white-space: nowrap;
}
tr:last-child td { border-bottom: 0; }
pre.tree {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  overflow-x: auto;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--muted);
}
pre.tree code, code { font-family: var(--mono); }
code { font-size: 0.9em; }

/* ——— Footer ——— */
footer {
  margin-top: 48px;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  line-height: 1.55;
}
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }

.section-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted-2);
  font-weight: 700;
  margin: 28px 0 10px;
}

/* Sticky bottom CTA on articles (mobile-friendly) */
.sticky-cta {
  position: sticky;
  bottom: 14px;
  z-index: 20;
  margin-top: 28px;
  display: flex;
  justify-content: center;
}
.sticky-cta .btn {
  width: min(100%, 420px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 8px 24px var(--accent-glow);
}
