:root {
  --primary: #3D52A0;
  --secondary: #7091E6;
  --accent: #FFB347;
  --surface: #1A1A2E;
  --card: #16213E;
  --on-surface: #E8E8F0;
  --muted: #9AA0B4;
  --success: #4CAF50;
  --warning: #FF9800;
  --error: #EF5350;
  --border: rgba(255,255,255,0.08);
  --max-width: 960px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--surface);
  color: var(--on-surface);
  line-height: 1.65;
}

a { color: var(--secondary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Nav ─────────────────────────────────────────────────────── */
header.site-header {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  position: sticky;
  top: 0;
  background: rgba(26, 26, 46, 0.92);
  backdrop-filter: blur(8px);
  z-index: 10;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--on-surface);
}
.brand img { width: 32px; height: 32px; border-radius: 8px; }
nav.site-nav a {
  color: var(--muted);
  margin-left: 24px;
  font-weight: 600;
  font-size: 14px;
}
nav.site-nav a:hover { color: var(--on-surface); text-decoration: none; }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 72px 24px 56px;
}
.hero img.icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(61, 82, 160, 0.35);
  margin-bottom: 24px;
}
.hero h1 {
  font-size: 40px;
  font-weight: 800;
  margin: 0 0 12px;
  background: linear-gradient(135deg, var(--on-surface), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.tagline {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 32px;
}
.badge-free {
  display: inline-block;
  background: rgba(76, 175, 80, 0.15);
  color: var(--success);
  border: 1px solid rgba(76, 175, 80, 0.35);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
}
.cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
}
.btn-secondary {
  background: transparent;
  color: var(--on-surface);
  border: 1px solid var(--border);
}

/* ── Sections ────────────────────────────────────────────────── */
section { padding: 48px 0; }
h2.section-title {
  font-size: 26px;
  font-weight: 800;
  text-align: center;
  margin: 0 0 40px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
.feature-card .icon-badge {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  margin-bottom: 16px;
}
.feature-card h3 { margin: 0 0 8px; font-size: 16px; font-weight: 700; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }

.symbol-list {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 8px 24px;
}
.symbol-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.symbol-list div:last-child { border-bottom: none; }
.symbol-list span.label { color: var(--muted); }

footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  margin-top: 40px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
footer a { margin: 0 10px; }

/* ── Legal pages (privacy / terms) ──────────────────────────── */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.legal h1 { font-size: 30px; font-weight: 800; margin-bottom: 4px; }
.legal .updated { color: var(--muted); font-size: 13px; margin-bottom: 36px; }
.legal h2 {
  font-size: 19px;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--on-surface);
}
.legal p, .legal li { color: #C7CCDA; font-size: 15px; }
.legal ul { padding-left: 22px; }
.legal .callout {
  background: rgba(255, 152, 0, 0.08);
  border: 1px solid rgba(255, 152, 0, 0.3);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 14px;
}

@media (max-width: 640px) {
  .hero h1 { font-size: 30px; }
  nav.site-nav a { margin-left: 14px; font-size: 13px; }
}
