:root {
  --bg: #f6f7f4;
  --bg-card: #ffffff;
  --text: #0f1b2d;
  --text-muted: #4a5568;
  --accent: #0d6b4c;
  --accent-dark: #085239;
  --accent-soft: #e6f3ed;
  --navy: #0f1b2d;
  --border: #d9e0e7;
  --risk: #7a1f1f;
  --risk-bg: #f8ecec;
  --warn: #8a5a00;
  --warn-bg: #fff7e6;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(15, 27, 45, 0.06);
  --max: 1080px;
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-dark); }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: .5rem 1rem; z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .85rem 0;
}
.brand { display: flex; align-items: center; gap: .65rem; color: inherit; text-decoration: none; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 9px; background: linear-gradient(145deg, var(--accent), #0a4d7c);
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .95rem;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 700; letter-spacing: .01em; }
.brand-tag { font-size: .75rem; color: var(--text-muted); }
.topnav { display: none; gap: 1rem; font-size: .92rem; }
.topnav a { color: var(--text); text-decoration: none; font-weight: 500; }
.topnav a:hover { color: var(--accent); }
@media (min-width: 860px) { .topnav { display: flex; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  border-radius: 999px; padding: .85rem 1.35rem; font-weight: 700; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: .15s ease; font-size: 1rem;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: #fff; }
.btn-block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1rem 0; }
.affiliate-note, .loss-note, .legal-inline {
  font-size: .88rem; color: var(--text-muted); margin: .5rem 0 0;
}
.loss-note { color: var(--warn); }

/* Hero */
.hero { padding: 2rem 0 1.25rem; }
.hero-grid { display: grid; gap: 1.5rem; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.4fr .9fr; align-items: start; }
}
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent); background: var(--accent-soft);
  padding: .35rem .7rem; border-radius: 999px; margin-bottom: .85rem;
}
.hero h1 { font-size: clamp(1.7rem, 3.5vw, 2.35rem); line-height: 1.2; margin: 0 0 .85rem; }
.lead { font-size: 1.05rem; color: var(--text-muted); margin: 0 0 1rem; }
.trust-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.25rem; }
.chip {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 999px;
  padding: .4rem .75rem; font-size: .85rem; font-weight: 600; color: var(--navy);
}
.score-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.25rem;
}
.score-card h2 { margin: 0 0 .75rem; font-size: 1.05rem; }
.score-big { font-size: 2.4rem; font-weight: 800; color: var(--accent); line-height: 1; }
.score-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.score-list li { display: flex; justify-content: space-between; padding: .4rem 0; border-bottom: 1px solid var(--border); font-size: .95rem; }
.score-list li:last-child { border-bottom: 0; }

/* Editorial box */
.editorial {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.25rem 1.25rem 1.25rem 1.35rem;
  border-left: 5px solid var(--accent); margin: 1.5rem 0;
}
.editorial-label {
  display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .12em;
  color: var(--accent); margin-bottom: .5rem;
}
.editorial h2, .editorial h3 { margin: 0 0 .35rem; font-size: 1.15rem; }
.editorial .updated { color: var(--text-muted); font-size: .88rem; margin: 0 0 .75rem; }
.editorial ul { margin: .5rem 0 1rem; padding-left: 1.15rem; }
.editorial .verdict { font-weight: 600; margin: 0 0 .75rem; }
.editorial .disclaimer { font-size: .88rem; color: var(--text-muted); margin: 0; }

/* Sections */
section { padding: 1.75rem 0; }
section h2 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); margin: 0 0 1rem; }
section h3 { font-size: 1.1rem; margin: 1.25rem 0 .5rem; }
.card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.15rem 1.25rem; box-shadow: var(--shadow);
}
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1rem; }
@media (min-width: 700px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.fact { padding: 1rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); }
.fact dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); font-weight: 700; }
.fact dd { margin: .25rem 0 0; font-weight: 700; font-size: 1.05rem; }

.audience-list, .steps, .pros-cons ul { margin: 0; padding-left: 1.15rem; }
.steps { counter-reset: step; list-style: none; padding-left: 0; display: grid; gap: .85rem; }
.steps li {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1rem 1rem 1rem 3.2rem; position: relative;
}
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: .9rem; top: 1rem;
  width: 1.7rem; height: 1.7rem; border-radius: 50%;
  background: var(--accent); color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: .9rem;
}

table { width: 100%; border-collapse: collapse; background: var(--bg-card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
th, td { padding: .75rem .9rem; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: #eef2f6; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
tr:last-child td { border-bottom: 0; }
.table-note { font-size: .85rem; color: var(--text-muted); margin-top: .6rem; }

.placeholder-grid { display: grid; gap: 1rem; }
@media (min-width: 700px) { .placeholder-grid { grid-template-columns: 1fr 1fr; } }
.shot {
  border: 1px dashed #9bb0c4; border-radius: var(--radius); background: linear-gradient(160deg, #edf3f8, #f8fafb);
  min-height: 160px; display: grid; place-items: center; padding: 1rem; text-align: center; color: var(--text-muted);
}
.shot strong { display: block; color: var(--navy); margin-bottom: .35rem; }
.shot svg { width: 64px; height: 64px; margin: 0 auto .5rem; opacity: .7; }

.pros-cons .pro { border-top: 4px solid var(--accent); }
.pros-cons .con { border-top: 4px solid #a33; }

/* FAQ */
.faq details {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: .9rem 1rem; margin-bottom: .65rem;
}
.faq summary { cursor: pointer; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--accent); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .65rem 0 0; color: var(--text-muted); }

.final-cta {
  background: linear-gradient(145deg, #0f1b2d, #0a4d7c);
  color: #fff; border-radius: calc(var(--radius) + 4px); padding: 1.75rem 1.35rem; margin: 1rem 0 2rem;
}
.final-cta h2 { color: #fff; margin-top: 0; }
.final-cta p { color: #d7e3f0; }
.final-cta .btn-primary { background: #16a36a; }
.final-cta .btn-secondary { color: #fff; border-color: #fff; }
.final-cta .btn-secondary:hover { background: #fff; color: var(--navy); }
.final-cta .affiliate-note, .final-cta .loss-note { color: #c9d6e5; }

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: rgba(255,255,255,.96); border-top: 1px solid var(--border);
  padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
  transform: translateY(110%); transition: transform .2s ease;
  box-shadow: 0 -8px 24px rgba(15,27,45,.08);
}
.sticky-cta.visible { transform: translateY(0); }
@media (min-width: 860px) { .sticky-cta { display: none; } }

/* Footer */
.site-footer {
  background: var(--navy); color: #c9d4e0; padding: 2rem 0 5.5rem; font-size: .92rem;
}
@media (min-width: 860px) { .site-footer { padding-bottom: 2rem; } }
.site-footer a { color: #e8eef5; }
.footer-grid { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: .35rem 0; }
.footer-risk {
  margin-top: 1.5rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid rgba(255, 196, 120, .45);
  border-radius: 10px;
  background: rgba(255, 196, 120, .12);
  color: #fff4e5;
  font-size: 1rem;
  line-height: 1.55;
}
.footer-risk strong { color: #ffd89a; font-weight: 700; }
.footer-risk p { margin: 0; }
.footer-bottom { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; }

.legal-page { padding: 2rem 0 3rem; }
.legal-page h1 { margin-top: 0; }
.legal-page h2 { font-size: 1.15rem; margin-top: 1.5rem; }
.muted { color: var(--text-muted); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Compact topic nav */
.topnav-compact { flex-wrap: wrap; justify-content: flex-end; gap: .55rem .85rem; font-size: .82rem; max-width: 62%; }
.topnav-compact a.is-active { color: var(--accent); font-weight: 700; }
.breadcrumb { font-size: .88rem; color: var(--text-muted); margin: 0 0 .75rem; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

/* Topic cards on home */
.topics { padding: .5rem 0 1.25rem; }
.topic-grid {
  display: grid; gap: .75rem;
  grid-template-columns: 1fr;
  margin-top: 1rem;
}
@media (min-width: 560px) { .topic-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .topic-grid { grid-template-columns: 1fr 1fr 1fr 1fr; } }
.topic-card {
  display: flex; flex-direction: column; gap: .25rem;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1rem 1.05rem; text-decoration: none; color: inherit;
  box-shadow: var(--shadow); transition: border-color .15s ease, transform .15s ease;
}
.topic-card:hover { border-color: var(--accent); transform: translateY(-1px); color: inherit; }
.topic-card strong { color: var(--navy); font-size: .98rem; }
.topic-card span { color: var(--text-muted); font-size: .86rem; line-height: 1.4; }
