:root {
  --bg: #0b1210;
  --bg2: #121c18;
  --card: #16221d;
  --line: rgba(212, 175, 120, 0.22);
  --text: #eef4ef;
  --muted: #9bb0a4;
  --gold: #d4af78;
  --gold2: #f0d9a8;
  --sage: #7dba9a;
  --teal: #2f6f5e;
  --danger: #e07a7a;
  --ok: #7dba9a;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --max: 1080px;
  --font: "Noto Sans SC", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(47, 111, 94, 0.35), transparent 60%),
    radial-gradient(900px 500px at 90% 0%, rgba(212, 175, 120, 0.12), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
}
a { color: var(--gold2); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11, 18, 16, 0.82);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .9rem 0; flex-wrap: wrap;
}
.brand {
  display: flex; align-items: center; gap: .7rem;
  font-weight: 700; letter-spacing: .02em; color: var(--text);
  text-decoration: none;
}
.brand-mark {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(145deg, var(--gold), var(--teal));
  display: grid; place-items: center; color: #0b1210; font-size: .85rem; font-weight: 800;
}
.nav-links { display: flex; gap: .85rem; flex-wrap: wrap; font-size: .9rem; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--gold2); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  border: 1px solid transparent; border-radius: 999px;
  padding: .72rem 1.15rem; font-weight: 650; font-size: .92rem;
  cursor: pointer; text-decoration: none !important; transition: .2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), #b8894a);
  color: #1a140a !important; box-shadow: 0 8px 24px rgba(212, 175, 120, .25);
}
.btn-primary:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; border-color: var(--line); color: var(--text) !important;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold2) !important; }

/* Hero */
.hero { padding: 3.2rem 0 2.2rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  color: var(--gold); font-size: .82rem; letter-spacing: .08em;
  text-transform: uppercase; font-weight: 700; margin-bottom: .9rem;
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--sage); box-shadow: 0 0 0 4px rgba(125, 186, 154, .18);
}
h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  line-height: 1.18; font-weight: 780; max-width: 18ch;
  margin-bottom: 1rem;
}
.lead {
  color: var(--muted); font-size: 1.05rem; max-width: 58ch; margin-bottom: 1.4rem;
}
.hero-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem;
}
.stat {
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent), var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem .95rem; box-shadow: var(--shadow);
}
.stat b {
  display: block; font-size: 1.25rem; color: var(--gold2); font-weight: 750; margin-bottom: .2rem;
}
.stat span { color: var(--muted); font-size: .82rem; }

/* Sections */
section { padding: 2.4rem 0; }
.section-head { margin-bottom: 1.2rem; }
.section-head h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem); margin-bottom: .4rem;
}
.section-head p { color: var(--muted); max-width: 62ch; }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.15rem 1.2rem; box-shadow: var(--shadow);
}
.grid-2 { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: .85rem; }
.muted { color: var(--muted); }
.tiny { font-size: .82rem; color: var(--muted); }
.tag {
  display: inline-block; font-size: .72rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  padding: .22rem .5rem; border-radius: 999px;
  border: 1px solid var(--line); color: var(--gold2); margin-bottom: .55rem;
}
.tag.ok { color: var(--ok); border-color: rgba(125,186,154,.35); }
.tag.warn { color: #e8b86d; border-color: rgba(232,184,109,.35); }
.tag.bad { color: var(--danger); border-color: rgba(224,122,122,.35); }

/* Tables as cards for Telegram-friendly look */
.price-table, .comp-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.price-table th, .comp-table th,
.price-table td, .comp-table td {
  text-align: left; padding: .7rem .55rem; border-bottom: 1px solid rgba(255,255,255,.06);
  vertical-align: top;
}
.price-table th, .comp-table th { color: var(--gold); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
.price-table tr:last-child td, .comp-table tr:last-child td { border-bottom: 0; }
.mono { font-family: var(--mono); font-size: .86rem; }
.badge {
  display: inline-block; padding: .15rem .45rem; border-radius: 6px;
  background: rgba(125,186,154,.12); color: var(--sage); font-size: .75rem; font-weight: 700;
}
.badge.mid { background: rgba(212,175,120,.12); color: var(--gold2); }
.badge.hi { background: rgba(224,122,122,.12); color: #f0a0a0; }

/* Lists */
.checklist { list-style: none; display: grid; gap: .55rem; }
.checklist li {
  position: relative; padding-left: 1.45rem; color: var(--muted);
}
.checklist li::before {
  content: "✓"; position: absolute; left: 0; color: var(--sage); font-weight: 800;
}
.numlist { list-style: none; counter-reset: step; display: grid; gap: .75rem; }
.numlist li {
  counter-increment: step; position: relative;
  padding: .9rem 1rem .9rem 3.1rem;
  background: rgba(255,255,255,.02); border: 1px solid var(--line); border-radius: 12px;
}
.numlist li::before {
  content: counter(step); position: absolute; left: .85rem; top: .85rem;
  width: 1.55rem; height: 1.55rem; border-radius: 50%;
  background: rgba(212,175,120,.15); color: var(--gold2);
  display: grid; place-items: center; font-size: .8rem; font-weight: 800;
}
.numlist strong { color: var(--text); display: block; margin-bottom: .15rem; }

/* Callouts */
.callout {
  border-left: 3px solid var(--gold);
  background: rgba(212,175,120,.06);
  padding: .9rem 1rem; border-radius: 0 12px 12px 0;
  color: var(--muted); margin: 1rem 0;
}
.callout b { color: var(--gold2); }
.risk {
  border-left-color: var(--danger);
  background: rgba(224,122,122,.07);
}
.risk b { color: #f0a0a0; }

/* Sources */
.source-list { list-style: none; display: grid; gap: .55rem; }
.source-list li {
  padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 12px;
  background: rgba(255,255,255,.02); font-size: .9rem;
}
.source-list a { font-weight: 650; }

/* CTA */
.cta {
  margin: 1rem 0 2.5rem;
  padding: 1.6rem;
  border-radius: 20px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(47,111,94,.35), rgba(212,175,120,.12)),
    var(--card);
  display: grid; gap: 1rem;
}
.cta h2 { font-size: 1.45rem; }
.cta p { color: var(--muted); max-width: 55ch; }
.cta-actions { display: flex; gap: .7rem; flex-wrap: wrap; }

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 2.2rem; color: var(--muted); font-size: .82rem;
}
footer .foot-grid {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}

/* Mobile cards for tables */
.m-cards { display: none; gap: .75rem; }
.m-card {
  border: 1px solid var(--line); border-radius: 12px; padding: .9rem;
  background: rgba(255,255,255,.02);
}
.m-card h4 { color: var(--gold2); margin-bottom: .35rem; font-size: .98rem; }
.m-card p { color: var(--muted); font-size: .88rem; margin: .2rem 0; }
.m-card .k { color: var(--text); }

@media (max-width: 900px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .desk-only { display: none; }
  .m-cards { display: grid; }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr; }
  h1 { max-width: none; }
}
