:root {
  --c-bg: #fafbfd;
  --c-bg2: #f3f5f9;
  --c-bg3: #eaecf2;
  --c-surface: #ffffff;
  --c-border: #e2e5ee;
  --c-text: #111827;
  --c-text2: #4b5563;
  --c-text3: #9ca3af;
  --c-accent: #1e40af;
  --c-accent-light: #eff4ff;
  --c-accent-hover: #1e3a8a;
  --c-teal: #0d9488;
  --c-teal-light: #f0fdfa;
  --c-danger: #b91c1c;
  --c-danger-bg: #fef2f2;
  --c-warn: #b45309;
  --c-warn-bg: #fffbeb;
  --c-safe: #047857;
  --c-safe-bg: #ecfdf5;
  --r: 10px;
  --r-sm: 6px;
  --max-w: 1060px;
  --max-narrow: 660px;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.08);
  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: var(--max-narrow); }
a { color: var(--c-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.25; font-weight: 600; color: var(--c-text); }
h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); margin-bottom: 0.4em; }
h3 { font-size: 1.15rem; font-family: var(--font-sans); font-weight: 600; }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 26px; border-radius: var(--r-sm);
  font-weight: 600; font-size: 0.9rem; text-decoration: none;
  cursor: pointer; border: none; transition: all 0.15s; font-family: var(--font-sans);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary { background: var(--c-accent); color: #fff; }
.btn-primary:hover { background: var(--c-accent-hover); }
.btn-secondary { background: var(--c-surface); color: var(--c-text); border: 1px solid var(--c-border); }
.btn-secondary:hover { background: var(--c-bg2); }
.btn-large { padding: 15px 34px; font-size: 0.95rem; }
.btn-ghost { background: transparent; color: var(--c-accent); border: 1.5px solid var(--c-accent); }
.btn-ghost:hover { background: var(--c-accent-light); }

/* Header */
.site-header {
  padding: 12px 0; border-bottom: 1px solid var(--c-border);
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(12px); background: rgba(250,251,253,0.92);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--c-text); font-weight: 600; font-size: 1rem; font-family: var(--font-sans); }
.logo:hover { text-decoration: none; }
.logo-icon { font-size: 1.2rem; color: var(--c-accent); }
.site-header nav { display: flex; gap: 28px; align-items: center; }
.site-header nav a { color: var(--c-text2); font-size: 0.85rem; font-weight: 500; }
.site-header nav a:hover { color: var(--c-text); text-decoration: none; }
.nav-cta { background: var(--c-accent); color: #fff !important; padding: 8px 18px; border-radius: var(--r-sm); font-weight: 600; }
.nav-cta:hover { background: var(--c-accent-hover); color: #fff !important; }

/* Eyebrow */
.eyebrow {
  color: var(--c-teal); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 10px;
  font-family: var(--font-sans);
}

/* Hero */
.hero {
  padding: 80px 0 64px; text-align: center;
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
}
.hero h1 { margin-bottom: 16px; max-width: 640px; margin-left: auto; margin-right: auto; }
.lede { font-size: 1.05rem; color: var(--c-text2); max-width: 540px; margin: 0 auto 28px; line-height: 1.75; }
.hero-cta { margin-bottom: 20px; }
.cta-note { font-size: 0.8rem; color: var(--c-text3); margin-top: 10px; }

/* Alert banner */
.alert-banner {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--c-surface); border: 1px solid var(--c-border);
  padding: 7px 16px; border-radius: 20px;
  font-size: 0.75rem; font-weight: 600; color: var(--c-text2); margin-bottom: 20px;
}
.pulse { width: 6px; height: 6px; background: var(--c-teal); border-radius: 50%; animation: pulse 2s ease infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* Trust stats */
.trust-row { display: flex; gap: 48px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.trust-stat { text-align: center; }
.trust-stat strong { display: block; font-size: 1.4rem; color: var(--c-text); font-family: var(--font-serif); }
.trust-stat span { font-size: 0.75rem; color: var(--c-text3); text-transform: uppercase; letter-spacing: 0.5px; }

/* Credibility bar */
.cred-bar { padding: 12px 0; border-bottom: 1px solid var(--c-border); background: var(--c-bg); }
.cred-bar .container { display: flex; align-items: center; gap: 20px; justify-content: center; flex-wrap: wrap; }
.cred-label { font-size: 0.7rem; color: var(--c-text3); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 500; }
.cred-logos { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.cred-item { font-size: 0.7rem; font-weight: 700; color: var(--c-text3); letter-spacing: 2px; text-transform: uppercase; }

/* Bands */
.band { padding: 72px 0; }
.band--alt { padding: 72px 0; background: var(--c-surface); }

/* Section headers */
.section-header { text-align: center; margin-bottom: 40px; max-width: 520px; margin-left: auto; margin-right: auto; }
.section-sub { color: var(--c-text2); font-size: 0.95rem; line-height: 1.7; }

/* Explainer grid */
.explainer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.explainer-card {
  background: var(--c-surface); padding: 0; border-radius: var(--r);
  border: 1px solid var(--c-border); overflow: hidden; transition: all 0.2s;
}
.explainer-card:hover { box-shadow: var(--shadow-md); border-color: #c7d2e0; }
.card-img { width: 100%; height: 180px; object-fit: cover; display: block; }
.card-body { padding: 24px; }
.card-body h3 { margin-bottom: 8px; color: var(--c-text); }
.card-body p { color: var(--c-text2); font-size: 0.92rem; line-height: 1.7; }

/* Social proof */
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.proof-card {
  background: var(--c-bg); padding: 28px; border-radius: var(--r);
  border: 1px solid var(--c-border); position: relative;
}
.proof-card::before {
  content: '\201C'; font-size: 2.5rem; color: var(--c-teal);
  opacity: 0.2; position: absolute; top: 14px; left: 20px; line-height: 1;
  font-family: var(--font-serif);
}
.proof-quote { font-size: 0.92rem; color: var(--c-text); line-height: 1.7; margin-bottom: 16px; padding-top: 14px; font-style: italic; }
.proof-attr { font-size: 0.78rem; color: var(--c-text3); font-weight: 600; font-style: normal; font-family: var(--font-sans); }

/* Steps */
.steps-list { list-style: none; counter-reset: step; max-width: 580px; margin: 0 auto; }
.steps-list li {
  counter-increment: step; padding: 20px 0; border-bottom: 1px solid var(--c-border);
  position: relative; padding-left: 50px;
}
.steps-list li:last-child { border-bottom: none; }
.steps-list li::before {
  content: counter(step); position: absolute; left: 0; top: 20px;
  width: 32px; height: 32px; background: var(--c-teal-light); color: var(--c-teal);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.82rem; font-family: var(--font-sans);
}
.steps-list li strong { display: block; margin-bottom: 4px; font-family: var(--font-sans); }

/* CTA box */
.cta-box {
  background: var(--c-surface); border: 1px solid var(--c-border);
  padding: 32px; border-radius: var(--r);
  display: flex; gap: 28px; align-items: center; flex-wrap: wrap; margin-top: 40px;
  box-shadow: var(--shadow-xs);
}
.cta-img { width: 160px; height: 120px; object-fit: cover; border-radius: var(--r-sm); flex-shrink: 0; }
.cta-box-text { flex: 1; min-width: 240px; }
.cta-box-text h3 { margin-bottom: 6px; }
.cta-box-text p { color: var(--c-text2); margin-bottom: 14px; font-size: 0.92rem; }

/* Lead magnet */
.lead-magnet { padding: 80px 0; background: var(--c-surface); border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.magnet-inner { display: flex; gap: 48px; align-items: flex-start; flex-wrap: wrap; }
.magnet-content { flex: 1; min-width: 300px; }
.magnet-visual { flex: 0 0 260px; }
.magnet-visual img { width: 100%; border-radius: var(--r); box-shadow: var(--shadow-lg); }
.magnet-features { list-style: none; margin: 20px 0 28px; }
.magnet-features li {
  padding: 6px 0 6px 26px; position: relative; color: var(--c-text2);
  font-size: 0.92rem;
}
.magnet-features li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--c-teal-light); border: 2px solid var(--c-teal);
}
.capture-form--inline { display: flex; gap: 8px; max-width: 100%; flex-wrap: wrap; }
.capture-form--inline input { flex: 1; min-width: 120px; }
.capture-form--inline button { white-space: nowrap; }

/* Articles grid */
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin: 32px 0; }
.article-card {
  display: flex; flex-direction: column; background: var(--c-surface);
  border-radius: var(--r); border: 1px solid var(--c-border); overflow: hidden;
  color: var(--c-text); transition: all 0.2s;
}
.article-card:hover { box-shadow: var(--shadow-md); text-decoration: none; border-color: #c7d2e0; }
.article-card-img { height: 180px; background-size: cover; background-position: center; }
.article-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.article-tag {
  font-size: 0.65rem; color: var(--c-teal); font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px; font-family: var(--font-sans);
}
.article-card h3 { margin: 6px 0 8px; font-size: 1.02rem; font-family: var(--font-serif); }
.article-card p { font-size: 0.88rem; color: var(--c-text2); flex: 1; line-height: 1.6; }
.article-meta { font-size: 0.75rem; color: var(--c-text3); margin-top: 12px; display: block; }

/* Quiz promo */
.quiz-promo { text-align: center; background: var(--c-surface); border-top: 1px solid var(--c-border); }
.quiz-promo-inner { max-width: 480px; margin: 0 auto; }
.quiz-promo-inner p { color: var(--c-text2); margin-bottom: 24px; font-size: 0.95rem; }
.promo-badge {
  width: 64px; height: 64px; border-radius: 50%; object-fit: cover;
  margin: 0 auto 14px; display: block; border: 2px solid var(--c-border);
  box-shadow: var(--shadow-xs);
}
.promo-stats {
  display: flex; gap: 8px; justify-content: center; margin-top: 14px;
  font-size: 0.75rem; color: var(--c-text3); flex-wrap: wrap;
}

/* FAQ */
.faq-list { max-width: 600px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--c-border); }
.faq-item summary {
  padding: 18px 0; cursor: pointer; font-weight: 600; font-size: 0.95rem;
  list-style: none; color: var(--c-text); display: flex;
  justify-content: space-between; align-items: center;
  font-family: var(--font-sans);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.2rem; color: var(--c-teal); font-weight: 400; flex-shrink: 0; margin-left: 16px; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { padding: 0 0 18px; color: var(--c-text2); line-height: 1.75; font-size: 0.92rem; }

/* Quiz page */
.quiz-page { min-height: 70vh; }
.quiz-page h1 { text-align: center; margin-bottom: 12px; }
.quiz-page .lede { text-align: center; }
#quiz-intro { text-align: center; padding: 40px 0; }
.quiz-progress { height: 3px; background: var(--c-bg3); border-radius: 2px; margin-bottom: 32px; }
.quiz-progress-bar { height: 100%; background: var(--c-teal); border-radius: 2px; transition: width 0.3s; width: 0; }
#quiz-question { font-size: 1.1rem; font-weight: 600; margin-bottom: 20px; font-family: var(--font-serif); }
#quiz-options { display: flex; flex-direction: column; gap: 10px; }
.quiz-option {
  background: var(--c-surface); border: 1.5px solid var(--c-border);
  padding: 14px 18px; border-radius: var(--r-sm); cursor: pointer;
  font-size: 0.92rem; color: var(--c-text); text-align: left; transition: all 0.12s;
}
.quiz-option:hover { border-color: var(--c-teal); background: var(--c-teal-light); }

/* Capture form */
.capture-form { max-width: 360px; margin: 20px auto 0; display: flex; flex-direction: column; gap: 10px; }
.capture-form input {
  padding: 12px 16px; border-radius: var(--r-sm); border: 1px solid var(--c-border);
  background: var(--c-surface); color: var(--c-text); font-size: 0.92rem;
  font-family: var(--font-sans);
}
.capture-form input:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(30,64,175,0.08); }
.form-note { font-size: 0.75rem; color: var(--c-text3); text-align: center; margin-top: 4px; }

/* Results */
#results-badge {
  display: inline-block; padding: 6px 18px; border-radius: 20px;
  font-weight: 700; font-size: 0.8rem; margin-bottom: 14px;
  font-family: var(--font-sans);
}
#results-badge.high { background: var(--c-danger-bg); color: var(--c-danger); }
#results-badge.moderate { background: var(--c-warn-bg); color: var(--c-warn); }
#results-badge.low { background: var(--c-safe-bg); color: var(--c-safe); }
.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-top: 20px; }
.tool-card { background: var(--c-surface); padding: 22px; border-radius: var(--r); border: 1px solid var(--c-border); }
.tool-card h4 { margin-bottom: 6px; color: var(--c-text); font-family: var(--font-sans); }
.tool-card p { font-size: 0.88rem; color: var(--c-text2); margin-bottom: 14px; }
.results-actions { margin: 32px 0; }
.results-actions h3 { margin-bottom: 16px; }

/* Blog post */
.post-header { margin-bottom: 32px; }
.post-header h1 { margin-top: 10px; }
.post-hero-img {
  width: 100%; height: 320px; object-fit: cover;
  border-radius: var(--r); margin-bottom: 32px; box-shadow: var(--shadow-sm);
}
.post-meta { color: var(--c-text3); font-size: 0.82rem; font-family: var(--font-sans); }
.post-content { line-height: 1.85; font-size: 1rem; }
.post-content h2 { margin-top: 40px; }
.post-content h3 { margin-top: 28px; margin-bottom: 10px; }
.post-content p { margin-bottom: 18px; }
.post-content ul, .post-content ol { margin: 16px 0; padding-left: 24px; }
.post-content li { margin-bottom: 8px; }
.post-content blockquote {
  border-left: 3px solid var(--c-teal); padding-left: 20px; margin: 28px 0;
  color: var(--c-text2); font-style: italic; font-family: var(--font-serif);
}
.post-content code {
  font-family: var(--font-mono); background: var(--c-bg2);
  padding: 2px 6px; border-radius: 3px; font-size: 0.86em;
}
.post-content pre {
  background: var(--c-bg2); padding: 20px; border-radius: var(--r-sm);
  overflow-x: auto; margin: 20px 0; border: 1px solid var(--c-border);
}
.post-cta { margin: 48px 0; }
.post-nav {
  display: flex; justify-content: space-between; gap: 16px;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--c-border); flex-wrap: wrap;
}

/* Blog listing */
.blog-listing h1 { margin-bottom: 12px; }
.section-intro { color: var(--c-text2); margin-bottom: 8px; }
.pagination { display: flex; gap: 16px; justify-content: center; margin-top: 32px; }

/* Footer */
.site-footer {
  padding: 40px 0; border-top: 1px solid var(--c-border);
  text-align: center; background: var(--c-surface);
}
.disclaimer { font-size: 0.75rem; color: var(--c-text3); max-width: 520px; margin: 0 auto 14px; line-height: 1.6; }
.footer-links { display: flex; gap: 20px; justify-content: center; margin-bottom: 14px; }
.footer-links a { color: var(--c-text3); font-size: 0.78rem; }
.copyright { font-size: 0.75rem; color: var(--c-text3); }

/* Responsive */
@media (max-width: 768px) {
  .explainer-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .magnet-inner { flex-direction: column; }
  .magnet-visual { flex: 0 0 auto; }
  .cta-box { flex-direction: column; text-align: center; }
  .cta-img { width: 100%; height: 160px; }
}
@media (max-width: 640px) {
  .site-header nav { gap: 14px; }
  .hero { padding: 48px 0 36px; }
  .article-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .trust-row { gap: 24px; }
  .band, .band--alt { padding: 48px 0; }
  .capture-form--inline { flex-direction: column; }
}
