/* Static SEO landing page styles.
   Colors mirror frontend/src/theme.ts — keep in sync if the app theme changes. */

:root {
  --bg: #0d0d1a;
  --bg-card: #161628;
  --border: #2a2a4a;
  --accent: #e8b45e;
  --accent-light: #f5d390;
  --text: #e8e0ff;
  --text-muted: #8888aa;
  --text-dim: #555577;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 880px;
  margin: 0 auto;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.brand {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent-light);
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
}

.site-nav a:hover { color: var(--accent-light); }

.site-nav a.nav-cta {
  color: var(--bg);
  background: var(--accent);
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
}

.site-nav a.nav-cta:hover { background: var(--accent-light); }

main {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero {
  text-align: center;
  padding: 64px 0 48px;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.25;
  margin: 0 0 16px;
  font-weight: 700;
  color: var(--text);
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 32px;
}

.btn-gold {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  padding: 14px 34px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn-gold:hover { background: var(--accent-light); }

.section-num {
  display: block;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.2em;
  font-weight: 700;
  margin-bottom: 12px;
}

.content-section,
.faq-section,
.related-section {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.content-section h2,
.cta-section h2,
.faq-section h2,
.related-section h2 {
  font-size: clamp(22px, 3.5vw, 28px);
  margin: 0 0 20px;
}

.prose p {
  color: var(--text);
  margin: 0 0 16px;
  font-size: 16px;
}

.prose p:last-child { margin-bottom: 0; }

.cta-section {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px 32px;
  margin: 40px 0;
}

.cta-section p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 28px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.faq-item:first-of-type { border-top: 1px solid var(--border); }

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  float: right;
  color: var(--accent);
  font-weight: 700;
}

.faq-item[open] summary::after { content: '\2212'; }

.faq-item p {
  color: var(--text-muted);
  margin: 12px 0 0;
  font-size: 15px;
}

.related-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.related-links a {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.related-links a:hover { border-color: var(--accent); color: var(--accent-light); }

.site-footer {
  max-width: 880px;
  margin: 40px auto 0;
  padding: 32px 24px 48px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 13px;
}

.site-footer nav {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.site-footer nav a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-footer nav a:hover { color: var(--accent-light); }

@media (max-width: 480px) {
  .hero { padding: 48px 0 36px; }
  .cta-section { padding: 36px 20px; }
}
