/* ClaimRadar website — emerald premium theme */
:root {
  --primary: #0A6847;
  --primary-dark: #064C33;
  --primary-light: #DCFCE7;
  --accent: #D97706;
  --accent-dark: #B45309;
  --accent-light: #FEF3C7;
  --bg: #FAFAF9;
  --surface: #FFFFFF;
  --text: #0F172A;
  --text-muted: #64748B;
  --divider: #EFEDEA;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

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

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

h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 12px; }
p { line-height: 1.65; color: var(--text); margin: 0 0 14px; }
ul, ol { line-height: 1.7; color: var(--text); padding-left: 22px; }
li { margin-bottom: 6px; }

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

/* ───────────────────── Header / nav ───────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 249, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--divider);
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 17px;
  color: var(--text);
}
.brand .logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
}
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--text-muted); font-weight: 600; font-size: 14px; }
.nav a:hover { color: var(--text); text-decoration: none; }
.nav .cta {
  padding: 9px 16px;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
}
.nav .cta:hover { background: var(--primary-dark); text-decoration: none; }

/* ───────────────────── Hero ───────────────────── */
.hero {
  padding: 80px 0 60px;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(10,104,71,0.10), transparent 60%),
    radial-gradient(900px 400px at 0% 0%, rgba(217,119,6,0.07), transparent 60%);
}
.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.03em;
  max-width: 780px;
  margin-bottom: 18px;
}
.hero h1 span { color: var(--primary); }
.hero .lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 32px;
}
.hero .ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--divider); }
.btn-ghost:hover { background: #f1f5f9; }

/* ───────────────────── Stats / features ───────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 36px 0 60px;
}
@media (max-width: 720px) { .stats { grid-template-columns: 1fr; } }
.stat {
  background: var(--surface);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  border: 1px solid var(--divider);
}
.stat .num {
  font-size: 36px;
  font-weight: 900;
  font-style: italic;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.stat .label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 600;
}

.features {
  padding: 80px 0;
  background: var(--surface);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 11px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.03em;
  max-width: 700px;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 40px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; } }
.feature {
  padding: 28px;
  border-radius: 18px;
  background: var(--bg);
  border: 1px solid var(--divider);
}
.feature .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.feature h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.feature p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* ───────────────────── CTA band ───────────────────── */
.cta-band {
  padding: 80px 0;
  background: linear-gradient(160deg, var(--primary), var(--primary-dark) 65%, #021F14);
  color: #fff;
  text-align: center;
}
.cta-band h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 42px);
  font-style: italic;
  font-weight: 900;
  margin-bottom: 14px;
}
.cta-band p {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 28px;
}
.cta-band .btn-primary {
  background: var(--accent);
  color: #1F2937;
}
.cta-band .btn-primary:hover { background: var(--accent-dark); color: #fff; }

/* ───────────────────── Footer ───────────────────── */
.footer {
  padding: 50px 0 28px;
  background: var(--bg);
  border-top: 1px solid var(--divider);
  font-size: 13px;
  color: var(--text-muted);
}
.footer .row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 28px;
}
.footer .links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer .links a { color: var(--text-muted); font-weight: 600; }
.footer .copy { margin-top: 24px; font-size: 12px; }

/* ───────────────────── Doc pages (privacy / terms / etc.) ───────────────────── */
.doc {
  padding: 64px 0 80px;
  background: var(--surface);
  min-height: 60vh;
}
.doc h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.doc .updated {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 36px;
}
.doc h2 {
  font-size: 22px;
  font-weight: 800;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--text);
}
.doc h3 {
  font-size: 16px;
  font-weight: 800;
  margin-top: 22px;
  margin-bottom: 8px;
}
.doc p, .doc li { font-size: 15px; }
.doc strong { color: var(--text); }
.doc .callout {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  padding: 14px 18px;
  margin: 18px 0 26px;
  font-size: 14px;
  color: var(--primary-dark);
}
