/* ── FamiVox — Midnight Heirloom Theme ─────────────────────────────────────── */

:root {
  --bg:       #0E0826;
  --bg-card:  #151030;
  --gold:     #F0C040;
  --gold-dim: rgba(240, 192, 64, 0.15);
  --border:   #2A2060;
  --text:     #EEEEFF;
  --text-dim: rgba(255, 255, 255, 0.54);
  --blue:     #60A5FA;
  --pink:     #FB7185;
  --radius:   12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Layout ──────────────────────────────────────────────────────────────────── */

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navigation ──────────────────────────────────────────────────────────────── */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 8, 38, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.5px;
}

.logo span { color: var(--text); font-weight: 400; }

nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
}

nav ul a {
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

nav ul a:hover { color: var(--gold); text-decoration: none; }

/* ── Hero ────────────────────────────────────────────────────────────────────── */

.hero {
  text-align: center;
  padding: 100px 24px 80px;
}

.hero h1 {
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero p {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 540px;
  margin: 0 auto 36px;
}

.badge-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.2s;
}

.badge:hover { border-color: var(--gold); text-decoration: none; }

.badge svg { width: 20px; height: 20px; }

/* ── Features ────────────────────────────────────────────────────────────────── */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 40px 0 80px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gold);
}

.feature-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ── Legal / Content Pages ───────────────────────────────────────────────────── */

.page-header {
  padding: 60px 0 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

.page-header h1 {
  font-size: 32px;
  font-weight: 800;
}

.page-header .updated {
  color: var(--text-dim);
  font-size: 13px;
  margin-top: 8px;
}

.content { padding-bottom: 80px; }

.content h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 36px 0 12px;
  color: var(--gold);
}

.content h2:first-child { margin-top: 0; }

.content p, .content li {
  font-size: 15px;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.content ul, .content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.content li { margin-bottom: 6px; }

.content strong { color: var(--text); }

/* ── Support Card ────────────────────────────────────────────────────────────── */

.support-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 24px;
}

.support-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.support-card p {
  color: var(--text-dim);
  font-size: 15px;
}

/* ── Footer ──────────────────────────────────────────────────────────────────── */

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

footer .links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 12px;
}

footer .links a { color: var(--text-dim); font-size: 13px; }
footer .links a:hover { color: var(--gold); }

/* ── Responsive ──────────────────────────────────────────────────────────────── */

@media (max-width: 600px) {
  nav ul { gap: 16px; }
  nav ul a { font-size: 13px; }
  .hero { padding: 60px 16px 50px; }
  .features { grid-template-columns: 1fr; }
}
