/* GearGuild - clean, fast, no external dependencies */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --text: #1a1d23;
  --muted: #5b6472;
  --border: #e3e6eb;
  --accent: #dc2626;
  --accent-dark: #b91c1c;
  --radius: 10px;
  --maxw: 760px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { font-weight: 800; font-size: 1.25rem; color: var(--text); letter-spacing: -0.02em; }
.brand span { color: var(--accent); }
.brand:hover { text-decoration: none; }
.tagline { font-size: 0.8rem; color: var(--muted); margin: 0; }
.nav { display: flex; gap: 1.1rem; font-size: 0.95rem; }
.nav a { color: var(--muted); font-weight: 500; }
.nav a:hover { color: var(--text); }

/* Layout */
.container { max-width: var(--maxw); margin: 0 auto; padding: 2rem 1.25rem 3rem; }
.container.wide { max-width: 1080px; }

/* Hero */
.hero { text-align: center; padding: 3rem 1.25rem 2rem; background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.hero h1 { font-size: 2.1rem; letter-spacing: -0.03em; margin: 0 0 0.5rem; line-height: 1.25; }
.hero p { color: var(--muted); font-size: 1.1rem; margin: 0 auto; max-width: 560px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.card:hover { border-color: var(--accent); }
.card .kicker { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); font-weight: 700; }
.card h3 { margin: 0; font-size: 1.15rem; line-height: 1.4; }
.card h3 a { color: var(--text); }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; flex: 1; }
.card .meta { font-size: 0.8rem; color: var(--muted); }
.featured { border: 2px solid var(--accent); background: #fff5f5; }
.section-title { font-size: 1.4rem; margin: 2.5rem 0 0.25rem; letter-spacing: -0.02em; }

/* Article */
.article-head .kicker { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); font-weight: 700; }
.article-head h1 { font-size: 2rem; line-height: 1.3; letter-spacing: -0.02em; margin: 0.4rem 0 0.6rem; }
.byline { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
.article-body h2 { font-size: 1.45rem; margin: 2.2rem 0 0.8rem; letter-spacing: -0.02em; }
.article-body h3 { font-size: 1.2rem; margin: 1.8rem 0 0.6rem; }
.article-body p { margin: 0 0 1.1rem; }
.article-body ul, .article-body ol { margin: 0 0 1.1rem; padding-left: 1.4rem; }
.article-body li { margin-bottom: 0.4rem; }
.article-body blockquote {
  border-left: 3px solid var(--accent);
  margin: 1.2rem 0;
  padding: 0.4rem 0 0.4rem 1rem;
  color: var(--muted);
  font-style: italic;
}
.article-body code {
  background: var(--bg-soft);
  padding: 0.15em 0.4em;
  border-radius: 5px;
  font-size: 0.9em;
}
.article-body pre {
  background: #1a1d23;
  color: #e8eaf0;
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: 0.9rem;
}
.article-body pre code { background: none; padding: 0; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: 0.92rem; display: block; overflow-x: auto; }
.article-body th, .article-body td { border: 1px solid var(--border); padding: 0.6rem 0.8rem; text-align: left; }
.article-body th { background: var(--bg-soft); font-weight: 700; }
.article-body img { max-width: 100%; height: auto; border-radius: var(--radius); }

/* Ad placeholders - replaced with real AdSense code after approval */
.ad-slot {
  margin: 2rem auto;
  padding: 1rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  background: var(--bg-soft);
  max-width: 728px;
}

/* Related */
.related { margin-top: 3rem; border-top: 1px solid var(--border); padding-top: 1.5rem; }
.related h2 { font-size: 1.2rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-soft); margin-top: 3rem; }
.footer-inner { max-width: 1080px; margin: 0 auto; padding: 2rem 1.25rem; display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; font-size: 0.9rem; color: var(--muted); }
.footer-inner nav { display: flex; gap: 1rem; flex-wrap: wrap; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero h1 { font-size: 1.6rem; }
  .article-head h1 { font-size: 1.55rem; }
  .site-header { position: static; }
  .header-inner { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
  .nav { flex-wrap: wrap; }
  .pros-cons { grid-template-columns: 1fr; }
}

/* Affiliate CTAs */
.affiliate-disclosure { font-size: 0.85rem; color: var(--muted); border-left: 3px solid var(--accent); padding: 0.4rem 0.75rem; margin: 1.5rem 0; }
.affiliate-cta { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-soft); padding: 1.25rem; margin: 1.5rem 0; }
.affiliate-cta-text { margin: 0 0 0.9rem; }
.affiliate-cta .btn { display: inline-block; padding: 0.6rem 1.4rem; background: var(--accent); color: #fff; border-radius: 8px; font-weight: 700; }
.affiliate-cta .btn:hover { background: var(--accent-dark); text-decoration: none; }

/* ---- sales funnel: pick cards, sticky buy bar, top picks ---- */
.btn { display: inline-block; padding: 0.65rem 1.5rem; background: var(--accent); color: #fff; border-radius: 8px; font-weight: 700; }
.btn:hover { background: var(--accent-dark); text-decoration: none; }
.sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--border); padding: .6rem 1rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; z-index: 50; box-shadow: 0 -2px 12px rgba(0,0,0,.08); }
.sticky-cta .btn { padding: .5rem 1.1rem; white-space: nowrap; }
body:has(.sticky-cta) { padding-bottom: 76px; }

/* Breadcrumbs */
.breadcrumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumbs a { color: var(--muted); }

/* Table of contents */
.toc { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-soft); padding: 1rem 1.25rem; margin: 1.5rem 0; }
.toc h2 { font-size: 1rem; margin: 0 0 0.5rem; }
.toc ul { margin: 0; padding-left: 1.2rem; }
.toc li { margin: 0.25rem 0; font-size: 0.95rem; }

/* Our picks */
.our-picks { margin: 1.5rem 0 2rem; }
.our-picks h2 { font-size: 1.5rem; letter-spacing: -0.02em; margin: 0 0 0.25rem; }
.pick-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.1rem; margin-top: 1.1rem; }
.pick-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
}
.pick-card:first-child { border: 2px solid var(--accent); }
.pick-card-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); font-weight: 800; }
.pick-media { margin: 0.7rem 0; }
.pick-media img { width: 100%; height: 150px; object-fit: contain; background: var(--bg-soft); border-radius: 8px; }
.pick-tile {
  height: 150px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--bg-soft), #e9edf3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.pick-card-name { font-size: 1.2rem; font-weight: 800; margin: 0.2rem 0 0.4rem; letter-spacing: -0.01em; }
.score-badge { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0.1rem 0 0.6rem; }
.score-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); font-weight: 700; }
.score-value { font-size: 1.35rem; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.score-max { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.score-badge.small .score-value { font-size: 1.05rem; }
.pick-card-blurb { margin: 0 0 0.8rem; font-size: 0.95rem; color: var(--muted); }
.pick-fit { background: var(--bg-soft); border-radius: 8px; padding: 0.7rem 0.9rem; margin: 0 0 0.9rem; font-size: 0.88rem; }
.pick-fit p { margin: 0.25rem 0; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin: 0 0 1rem; font-size: 0.9rem; }
.pros-cons h4 { margin: 0 0 0.35rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.pros h4 { color: #15803d; }
.cons h4 { color: #b91c1c; }
.pros-cons ul { margin: 0; padding-left: 1.15rem; }
.pros-cons li { margin-bottom: 0.3rem; }
.pick-cta { text-align: center; margin-top: auto; }
.pick-retailer { font-size: 0.82rem; color: var(--muted); margin: 0.35rem 0 0; text-align: center; }
.pick-band { font-size: 0.82rem; color: var(--muted); margin: 0.15rem 0 0; text-align: center; }

/* FAQ */
.faq { margin: 2.5rem 0; }
.faq h2 { font-size: 1.4rem; letter-spacing: -0.02em; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius); padding: 0.8rem 1rem; margin: 0.6rem 0; background: #fff; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.faq details p { margin: 0.6rem 0 0.2rem; color: var(--text); }

/* Comparison tables */
.table-wrap { overflow-x: auto; margin: 1.2rem 0; border: 1px solid var(--border); border-radius: var(--radius); }
.article-body .table-wrap table { margin: 0; border: none; display: table; width: 100%; font-size: 0.92rem; font-variant-numeric: tabular-nums; }
.table-wrap thead th { position: sticky; top: 0; background: var(--bg-soft); z-index: 2; }
.table-wrap tbody tr:nth-child(even) { background: #fafbfc; }
.table-wrap th.winner-col, .table-wrap td.winner-col { background: #fff7ed; }
.table-wrap thead th.winner-col { background: #ffedd5; }

/* Homepage: category pills + top pick cards */
.home-pills { margin: 0.5rem 0; }
.cat-pills { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.cat-pill {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
}
.cat-pill:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.top-picks { margin: 2rem 0; }
.top-pick-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.1rem; margin-top: 1.1rem; }
.top-pick-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.top-pick-card:hover { border-color: var(--accent); }
.top-pick-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); font-weight: 800; }
.top-pick-name { font-weight: 800; font-size: 1.1rem; }
.top-pick-why { font-size: 0.9rem; color: var(--muted); margin: 0; flex: 1; }
.top-pick-card .btn { align-self: flex-start; margin-top: 0.4rem; }
