/* ---------------- Tokens (mirror the React Native app) ---------------- */
:root {
  --bg: #0a0a0a;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);
  --fg: #f5f2ee;
  --fg-muted: #999;
  --fg-dim: #6b6b6b;
  --accent: #ff6b35;
  --accent-soft: rgba(255, 107, 53, 0.15);
  --gold: #f5c842;
  --max: 1100px;
  --radius: 20px;
  --radius-sm: 12px;
}

/* ---------------- Reset ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------------- Typography ---------------- */
h1, h2, h3 { font-family: 'Bebas Neue', 'DM Sans', sans-serif; font-weight: 400; letter-spacing: 0.04em; line-height: 1.05; margin: 0 0 0.4em; text-transform: uppercase; }
h1 { font-size: clamp(48px, 9vw, 96px); }
h2 { font-size: clamp(32px, 5vw, 56px); }
h3 { font-size: clamp(20px, 2.4vw, 28px); }

.eyebrow {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 6px 12px;
  background: var(--accent-soft);
  border-radius: 999px;
  border: 1px solid rgba(255, 107, 53, 0.3);
}

.muted { color: var(--fg-muted); }
.dim { color: var(--fg-dim); }

/* ---------------- Layout ---------------- */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }
@media (max-width: 720px) { section { padding: 56px 0; } }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(10, 10, 10, 0.7);
  border-bottom: 1px solid var(--border);
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; max-width: var(--max); margin: 0 auto;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 0.08em;
  color: var(--fg);
}
.brand-mark {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #ff9b35);
  display: grid; place-items: center;
  color: #0a0a0a; font-family: 'Bebas Neue', sans-serif; font-size: 18px;
  box-shadow: 0 6px 18px rgba(255, 107, 53, 0.35);
}
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { color: var(--fg-muted); font-size: 14px; font-weight: 500; }
.nav a:hover { color: var(--fg); text-decoration: none; }
@media (max-width: 600px) { .nav a:not(.cta) { display: none; } }

.cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent);
  color: #0a0a0a !important;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cta:hover { transform: translateY(-1px); text-decoration: none; box-shadow: 0 10px 28px rgba(255, 107, 53, 0.4); }
.cta.ghost { background: transparent; color: var(--fg) !important; border: 1px solid var(--border-strong); }
.cta.ghost:hover { box-shadow: none; background: var(--surface); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; overflow: hidden;
  padding: 120px 0 100px;
}
.hero::before {
  content: '';
  position: absolute; inset: -200px -100px auto -100px;
  height: 600px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255, 107, 53, 0.35), transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(245, 200, 66, 0.18), transparent 55%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}
.hero .inner { position: relative; z-index: 1; max-width: 820px; }
.hero h1 { margin-top: 16px; }
.hero .lead {
  font-size: clamp(17px, 2.2vw, 22px);
  color: var(--fg-muted);
  margin: 18px 0 32px;
  max-width: 620px;
}
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ---------------- Features ---------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
@media (max-width: 900px) { .features-grid { grid-template-columns: 1fr; } }
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.feature:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.feature .ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: grid; place-items: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.feature h3 { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 17px; text-transform: none; letter-spacing: 0; margin-bottom: 6px; }
.feature p { color: var(--fg-muted); font-size: 14px; margin: 0; }

/* ---------------- Scoring callout ---------------- */
.scoring {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.10), rgba(245, 200, 66, 0.04));
  border: 1px solid rgba(255, 107, 53, 0.25);
  border-radius: var(--radius);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 800px) { .scoring { grid-template-columns: 1fr; padding: 28px; } }
.scoring-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.scoring-table th, .scoring-table td {
  padding: 12px 0; text-align: left;
  border-bottom: 1px solid var(--border);
}
.scoring-table th { color: var(--fg-muted); font-weight: 500; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }
.scoring-table td:last-child { text-align: right; font-family: 'DM Mono', ui-monospace, monospace; color: var(--accent); font-weight: 500; }

/* ---------------- Footer ---------------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 60px;
  margin-top: 40px;
  color: var(--fg-muted);
  font-size: 13px;
}
.site-footer .inner {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
}
.site-footer a { color: var(--fg-muted); }
.site-footer a:hover { color: var(--fg); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------------- Legal pages ---------------- */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 24px 80px;
}
.legal h1 { font-size: clamp(40px, 6vw, 64px); margin-bottom: 8px; }
.legal .updated { color: var(--fg-muted); font-size: 13px; margin-bottom: 40px; }
.legal h2 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700; text-transform: none; letter-spacing: 0;
  font-size: 22px;
  margin: 48px 0 12px;
}
.legal h3 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600; text-transform: none; letter-spacing: 0;
  font-size: 16px;
  margin: 24px 0 6px;
  color: var(--fg);
}
.legal p, .legal li { color: #d4d2cf; font-size: 15px; line-height: 1.7; }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal table {
  width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 14px;
}
.legal th, .legal td {
  text-align: left; padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.legal th { color: var(--fg-muted); font-weight: 600; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.legal a { color: var(--accent); }
.legal .back {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--fg-muted);
  font-size: 13px;
}
