:root {
  --bg: #07090f;
  --bg-elev: #0e1320;
  --card: rgba(255,255,255,0.04);
  --card-border: rgba(255,255,255,0.08);
  --text: #eef2ff;
  --muted: #9aa3b8;
  --purple: #8b5cf6;
  --indigo: #6366f1;
  --cyan: #22d3ee;
  --ok: #34d399;
  --radius: 18px;
  --shadow: 0 24px 80px rgba(0,0,0,.45);
  --max: 1120px;
  --font: "Segoe UI", Inter, system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(139,92,246,.28), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(34,211,238,.16), transparent 50%),
    radial-gradient(700px 400px at 50% 100%, rgba(99,102,241,.12), transparent 45%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), calc(100% - 2.5rem)); margin-inline: auto; }
.nav {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(7,9,15,.72);
  border-bottom: 1px solid var(--card-border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 0; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .75rem; font-weight: 700; letter-spacing: .01em; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand span { font-size: .95rem; }
.brand small { display: block; font-weight: 500; color: var(--muted); font-size: .72rem; margin-top: 1px; }
.nav-links { display: flex; gap: 1.1rem; align-items: center; color: var(--muted); font-size: .92rem; }
.nav-links a:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border-radius: 999px; padding: .85rem 1.25rem; font-weight: 650; font-size: .95rem;
  border: 1px solid transparent; transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--indigo) 55%, #0ea5e9);
  color: white; box-shadow: 0 10px 30px rgba(99,102,241,.35);
}
.btn-ghost {
  background: rgba(255,255,255,.04);
  border-color: var(--card-border);
  color: var(--text);
}
.hero { padding: 4.5rem 0 3rem; }
.hero-grid {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 2.5rem; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .35rem .7rem; border-radius: 999px;
  background: rgba(139,92,246,.12); border: 1px solid rgba(139,92,246,.28);
  color: #c4b5fd; font-size: .8rem; font-weight: 600; margin-bottom: 1.1rem;
}
h1 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.12; margin: 0 0 1rem; letter-spacing: -0.03em;
}
h1 .grad {
  background: linear-gradient(90deg, #c4b5fd, #67e8f9);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { color: var(--muted); font-size: 1.08rem; max-width: 36rem; margin: 0 0 1.6rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.75rem; }
.stats { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.stat {
  min-width: 7.5rem; padding: .9rem 1rem; border-radius: 14px;
  background: var(--card); border: 1px solid var(--card-border);
}
.stat strong { display: block; font-size: 1.25rem; }
.stat span { color: var(--muted); font-size: .8rem; }
.hero-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid var(--card-border);
  border-radius: 28px; padding: 1.5rem; box-shadow: var(--shadow);
}
.hero-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: 28px; padding: 1px;
  background: linear-gradient(135deg, rgba(139,92,246,.5), transparent 40%, rgba(34,211,238,.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.app-badge { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.2rem; }
.app-badge img { width: 84px; height: 84px; border-radius: 20px; box-shadow: 0 12px 40px rgba(0,0,0,.4); }
.app-badge h2 { margin: 0; font-size: 1.25rem; }
.app-badge p { margin: .25rem 0 0; color: var(--muted); font-size: .88rem; }
.pill-list { display: grid; gap: .65rem; margin: 0; padding: 0; list-style: none; }
.pill-list li {
  display: flex; gap: .6rem; align-items: flex-start;
  padding: .75rem .9rem; border-radius: 12px;
  background: rgba(0,0,0,.22); border: 1px solid var(--card-border);
  color: #dbe3f5; font-size: .9rem;
}
.dot { width: .55rem; height: .55rem; margin-top: .45rem; border-radius: 50%; background: var(--cyan); flex-shrink: 0; box-shadow: 0 0 12px rgba(34,211,238,.7); }
section { padding: 3.25rem 0; }
.section-title { margin: 0 0 .5rem; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.02em; }
.section-sub { color: var(--muted); margin: 0 0 1.75rem; max-width: 38rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 1.25rem 1.3rem; min-height: 100%;
}
.card h3 { margin: 0 0 .45rem; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: .92rem; }
.icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  margin-bottom: .9rem; background: rgba(139,92,246,.15); color: #c4b5fd; font-size: 1.15rem;
}
.panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
  background: var(--bg-elev); border: 1px solid var(--card-border);
  border-radius: 24px; padding: 1.5rem;
}
.panel ul { margin: .6rem 0 0; padding-left: 1.1rem; color: var(--muted); }
.panel li { margin: .35rem 0; }
.note {
  margin-top: 1rem; padding: .9rem 1rem; border-radius: 12px;
  background: rgba(52,211,153,.08); border: 1px solid rgba(52,211,153,.25);
  color: #a7f3d0; font-size: .88rem;
}
.cta-band {
  margin: 1rem 0 2rem; padding: 2rem; border-radius: 24px; text-align: center;
  background: linear-gradient(135deg, rgba(139,92,246,.22), rgba(14,165,233,.12));
  border: 1px solid rgba(255,255,255,.1);
}
.cta-band h2 { margin: 0 0 .5rem; }
.cta-band p { margin: 0 0 1.2rem; color: var(--muted); }
footer {
  border-top: 1px solid var(--card-border);
  padding: 2rem 0 2.5rem; color: var(--muted); font-size: .88rem;
}
.footer-inner { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.legal-page { padding: 2.5rem 0 4rem; }
.legal-page article {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 20px; padding: 1.75rem 1.5rem; max-width: 760px;
}
.legal-page h1 { font-size: 1.8rem; margin: 0 0 .35rem; }
.legal-page h2 { font-size: 1.05rem; margin: 1.6rem 0 .5rem; color: #c4b5fd; }
.legal-page .meta { color: var(--muted); margin-bottom: 1.2rem; }
.legal-page a { color: #67e8f9; }
@media (max-width: 880px) {
  .hero-grid, .grid-3, .panel { grid-template-columns: 1fr; }
  .nav-links .hide-sm { display: none; }
}

/* Guide pages */
.guide-layout { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; padding: 2rem 0 4rem; align-items: start; }
.guide-nav {
  position: sticky; top: 5rem;
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 16px; padding: 1rem;
}
.guide-nav h2 { margin: 0 0 .75rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.guide-nav a { display: block; padding: .45rem .55rem; border-radius: 8px; color: var(--muted); font-size: .9rem; margin-bottom: .15rem; }
.guide-nav a:hover, .guide-nav a.active { background: rgba(139,92,246,.15); color: var(--text); }
.guide-body h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 .5rem; }
.guide-body .meta { color: var(--muted); margin: 0 0 1.5rem; }
.guide-body h2 { font-size: 1.15rem; margin: 1.75rem 0 .6rem; color: #c4b5fd; }
.guide-body h3 { font-size: 1rem; margin: 1.2rem 0 .4rem; }
.guide-body p, .guide-body li { color: #c8d0e0; }
.guide-body ol, .guide-body ul { padding-left: 1.2rem; }
.guide-body li { margin: .4rem 0; }
.guide-body pre, .guide-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .85rem;
}
.guide-body pre {
  background: #0a0d16; border: 1px solid var(--card-border);
  border-radius: 12px; padding: 1rem 1.1rem; overflow-x: auto;
  color: #e2e8f0; line-height: 1.45;
}
.guide-body .callout {
  margin: 1rem 0; padding: .9rem 1rem; border-radius: 12px;
  background: rgba(139,92,246,.1); border: 1px solid rgba(139,92,246,.28);
  color: #ddd6fe; font-size: .92rem;
}
.guide-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.25rem; }
@media (max-width: 880px) {
  .guide-layout { grid-template-columns: 1fr; }
  .guide-nav { position: static; display: flex; flex-wrap: wrap; gap: .35rem; }
  .guide-nav h2 { width: 100%; }
  .guide-nav a { margin: 0; }
  .guide-cards { grid-template-columns: 1fr; }
}
