/* Factum Labs — shared styles */
:root {
  --bg: #0e0f11;
  --surface: #16181c;
  --border: #2a2d35;
  --accent: #4f8ef7;
  --accent-hover: #3a7ae8;
  --text: #e2e4ea;
  --muted: #8b8fa8;
  --success: #34d399;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w: 860px;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* ── Nav ─────────────────────────────────────────────────── */
nav {
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 1.5rem; }
.nav-links a { color: var(--muted); font-size: 0.9rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ── Main / Page ─────────────────────────────────────────── */
main { flex: 1; }

.page-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 5rem 1.5rem 4rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(79,142,247,.12);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: 99px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(79,142,247,.25);
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.6rem;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background .15s, color .15s;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); color: #fff; text-decoration: none; }
.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--text); background: var(--surface); text-decoration: none; }

/* ── How it works ────────────────────────────────────────── */
.steps {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  max-width: var(--max-w);
  margin: 0 auto 4rem;
}
.steps h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
  text-align: center;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}
.step {
  text-align: center;
}
.step-num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(79,142,247,.15);
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .75rem;
  border: 1px solid rgba(79,142,247,.3);
}
.step h3 { font-size: .95rem; font-weight: 600; margin-bottom: .35rem; }
.step p  { font-size: .85rem; color: var(--muted); }

/* ── Verdicts showcase ───────────────────────────────────── */
.verdicts {
  max-width: var(--max-w);
  margin: 0 auto 5rem;
}
.verdicts h2 {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.verdict-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}
.verdict-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  text-align: center;
}
.verdict-badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .25rem .7rem;
  border-radius: 99px;
  margin-bottom: .75rem;
}
.badge-true    { background: rgba(52,211,153,.15); color: #34d399; border: 1px solid rgba(52,211,153,.3); }
.badge-false   { background: rgba(248, 113, 113,.15); color: #f87171; border: 1px solid rgba(248,113,113,.3); }
.badge-misleading { background: rgba(251,191,36,.15); color: #fbbf24; border: 1px solid rgba(251,191,36,.3); }
.badge-ai      { background: rgba(167,139,250,.15); color: #a78bfa; border: 1px solid rgba(167,139,250,.3); }
.verdict-card p { font-size: .85rem; color: var(--muted); }

/* ── CTA strip ───────────────────────────────────────────── */
.cta-strip {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 4rem 1.5rem;
}
.cta-strip h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: .75rem;
}
.cta-strip p { color: var(--muted); margin-bottom: 1.75rem; }

/* ── Footer ──────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  text-align: center;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
footer p { font-size: .82rem; color: var(--muted); }
.footer-links { display: flex; gap: 1rem; }
.footer-links a { font-size: .82rem; color: var(--muted); }
.footer-links a:hover { color: var(--text); }

/* ── Prose (legal pages) ─────────────────────────────────── */
.prose { max-width: 720px; margin: 0 auto; }
.prose h1 { font-size: 2rem; font-weight: 800; margin-bottom: .5rem; }
.prose .meta { color: var(--muted); font-size: .875rem; margin-bottom: 2.5rem; }
.prose h2 { font-size: 1.15rem; font-weight: 700; margin: 2rem 0 .75rem; }
.prose h3 { font-size: 1rem; font-weight: 600; margin: 1.5rem 0 .5rem; }
.prose p  { margin-bottom: 1rem; color: var(--muted); }
.prose ul, .prose ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.prose li { color: var(--muted); margin-bottom: .3rem; }
.prose a  { color: var(--accent); }
.prose strong { color: var(--text); }

/* ── About ───────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
}
.team-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .25rem; }
.team-card .role { font-size: .82rem; color: var(--accent); margin-bottom: .5rem; }
.team-card p { font-size: .875rem; color: var(--muted); }

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
}
.value-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: .4rem; }
.value-card p { font-size: .85rem; color: var(--muted); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 600px) {
  .nav-links { gap: 1rem; }
  .hero { padding: 3rem 1rem 2rem; }
  .steps, .verdicts { padding: 1.5rem; }
  .footer-inner { flex-direction: column; align-items: center; }
}
