/* ==========================================================================
   WattCycle — Shared Stylesheet
   Premium minimalist, dark mode, mobile-first, Core Web Vitals optimized
   ========================================================================== */

/* ---- Design tokens ---- */
:root {
  /* Light mode (default) */
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --bg-elev: #ffffff;
  --surface: #ffffff;
  --border: #e6e8ec;
  --border-strong: #d0d4db;
  --text: #0f172a;
  --text-muted: #475569;
  --text-soft: #64748b;
  --accent: #16a34a;          /* electric green */
  --accent-hover: #15803d;
  --accent-soft: #dcfce7;
  --warn: #d97706;
  --danger: #dc2626;
  --star: #f59e0b;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.04), 0 1px 3px rgba(15,23,42,.06);
  --shadow-md: 0 4px 6px -1px rgba(15,23,42,.08), 0 2px 4px -2px rgba(15,23,42,.05);
  --shadow-lg: 0 10px 25px -5px rgba(15,23,42,.10), 0 8px 10px -6px rgba(15,23,42,.05);
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --max-w: 1180px;
  --nav-h: 64px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --transition: 180ms cubic-bezier(.4,0,.2,1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220;
    --bg-alt: #0f172a;
    --bg-elev: #131c2e;
    --surface: #131c2e;
    --border: #1e293b;
    --border-strong: #334155;
    --text: #f1f5f9;
    --text-muted: #cbd5e1;
    --text-soft: #94a3b8;
    --accent: #22c55e;
    --accent-hover: #4ade80;
    --accent-soft: #052e16;
    --warn: #fbbf24;
    --danger: #f87171;
    --star: #fbbf24;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.3);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,.4);
    --shadow-lg: 0 10px 25px -5px rgba(0,0,0,.5);
  }
}

/* Manual override via [data-theme] */
[data-theme="light"] {
  --bg: #ffffff; --bg-alt: #f7f8fa; --bg-elev: #ffffff; --surface: #ffffff;
  --border: #e6e8ec; --border-strong: #d0d4db;
  --text: #0f172a; --text-muted: #475569; --text-soft: #64748b;
  --accent: #16a34a; --accent-hover: #15803d; --accent-soft: #dcfce7;
  --warn: #d97706; --danger: #dc2626; --star: #f59e0b;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.04), 0 1px 3px rgba(15,23,42,.06);
  --shadow-md: 0 4px 6px -1px rgba(15,23,42,.08);
  --shadow-lg: 0 10px 25px -5px rgba(15,23,42,.10);
}
[data-theme="dark"] {
  --bg: #0b1220; --bg-alt: #0f172a; --bg-elev: #131c2e; --surface: #131c2e;
  --border: #1e293b; --border-strong: #334155;
  --text: #f1f5f9; --text-muted: #cbd5e1; --text-soft: #94a3b8;
  --accent: #22c55e; --accent-hover: #4ade80; --accent-soft: #052e16;
  --warn: #fbbf24; --danger: #f87171; --star: #fbbf24;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.3);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.4);
  --shadow-lg: 0 10px 25px -5px rgba(0,0,0,.5);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { padding-left: 1.4em; }

/* ---- Layout ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 56px 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: 32px 0; }

/* ---- Header / Nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  display: flex;
  align-items: center;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -.02em;
  color: var(--text);
}
.brand:hover { color: var(--text); }
.brand-mark {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--accent), #0ea5e9);
  border-radius: 8px;
  display: grid; place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
}
.nav-links a {
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 15px;
  transition: all var(--transition);
}
.nav-links a:hover { color: var(--text); background: var(--bg-alt); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.theme-toggle {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: all var(--transition);
}
.theme-toggle:hover { background: var(--bg-alt); color: var(--text); }
.nav-toggle {
  display: none;
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  color: var(--text);
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
    gap: 4px;
    transform: translateY(-110%);
    transition: transform var(--transition);
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 12px 14px; font-size: 16px; }
}

/* ---- Hero ---- */
.hero {
  padding: 64px 0 56px;
  background:
    radial-gradient(1200px 600px at 80% -10%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, color-mix(in srgb, #0ea5e9 14%, transparent), transparent 60%);
  border-bottom: 1px solid var(--border);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(32px, 5.5vw, 56px);
  line-height: 1.08;
  letter-spacing: -.025em;
  font-weight: 800;
  margin-bottom: 18px;
  max-width: 14ch;
}
.hero p.lead {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--text-muted);
  max-width: 60ch;
  margin-bottom: 28px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 24px;
  color: var(--text-soft); font-size: 14px;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  transition: all var(--transition);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn--ghost:hover { background: var(--bg-alt); color: var(--text); }
.btn--amazon {
  background: linear-gradient(180deg, #ffd814, #f7ca00);
  color: #0f1720;
  font-weight: 700;
}
.btn--amazon:hover { background: linear-gradient(180deg, #f7ca00, #f5bd00); color: #0f1720; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--sm { padding: 8px 14px; font-size: 14px; }
.btn--lg { padding: 14px 28px; font-size: 16px; }
.btn--block { width: 100%; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 { letter-spacing: -.018em; line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; margin-bottom: 18px; }
h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; margin: 40px 0 14px; }
h3 { font-size: clamp(19px, 2.2vw, 23px); font-weight: 700; margin: 28px 0 10px; }
h4 { font-size: 18px; font-weight: 600; margin: 22px 0 8px; }
p { margin-bottom: 16px; color: var(--text-muted); }
p strong, li strong { color: var(--text); }
.lead { font-size: 19px; color: var(--text-muted); }

.article h2:first-child, .article h2.no-top { margin-top: 0; }
.article { max-width: 760px; margin: 0 auto; }
.article p, .article li { font-size: 17px; line-height: 1.75; }
.article ul, .article ol { margin: 0 0 18px; padding-left: 1.6em; }
.article li { margin-bottom: 8px; color: var(--text-muted); }
.article li::marker { color: var(--accent); }
.article a { font-weight: 500; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); text-underline-offset: 3px; }
.article a:hover { text-decoration-color: var(--accent); }
.article blockquote {
  border-left: 4px solid var(--accent);
  background: var(--bg-alt);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0;
  color: var(--text-muted);
  font-style: italic;
}
.article blockquote p { margin: 0; }

/* ---- Breadcrumbs ---- */
.breadcrumbs {
  padding: 14px 0;
  font-size: 14px;
  color: var(--text-soft);
}
.breadcrumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumbs li::after { content: "/"; margin-left: 6px; color: var(--border-strong); }
.breadcrumbs li:last-child::after { content: ""; }
.breadcrumbs a { color: var(--text-soft); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs li:last-child { color: var(--text-muted); }

/* ---- Page header ---- */
.page-header {
  padding: 36px 0 16px;
  border-bottom: 1px solid var(--border);
}
.page-header h1 { margin-bottom: 12px; }
.page-header .meta {
  display: flex; flex-wrap: wrap; gap: 16px;
  color: var(--text-soft); font-size: 14px;
  margin-top: 8px;
}
.page-header .meta span { display: inline-flex; align-items: center; gap: 6px; }

/* ---- Article layout ---- */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
  padding: 36px 0 64px;
  align-items: start;
}
@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; gap: 32px; }
}
.article { min-width: 0; }

/* ---- Table of contents (sidebar) ---- */
.toc {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  font-size: 14px;
}
.toc h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-soft);
  margin: 0 0 12px;
}
.toc ul { list-style: none; padding: 0; margin: 0; }
.toc li { margin-bottom: 6px; }
.toc a { color: var(--text-muted); display: block; padding: 4px 8px; border-radius: var(--radius-sm); transition: all var(--transition); }
.toc a:hover { background: var(--bg-alt); color: var(--accent); }
@media (max-width: 980px) {
  .toc { position: static; }
}

/* ---- Cards ---- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

/* ---- Comparison table ---- */
.table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  -webkit-overflow-scrolling: touch;
}
table.cmp {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 600px;
}
table.cmp th, table.cmp td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
table.cmp thead th {
  background: var(--bg-alt);
  font-weight: 700;
  color: var(--text);
  position: sticky;
  top: 0;
  font-size: 14px;
}
table.cmp tbody tr:hover { background: var(--bg-alt); }
table.cmp tbody tr:last-child td { border-bottom: none; }
table.cmp .pick {
  background: color-mix(in srgb, var(--accent-soft) 50%, transparent);
}
table.cmp .pick-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 4px;
}
table.cmp .stars { color: var(--star); font-weight: 600; }
table.cmp .price { font-weight: 700; color: var(--text); }
.table-wrap::-webkit-scrollbar { height: 8px; }
.table-wrap::-webkit-scrollbar-track { background: var(--bg-alt); }
.table-wrap::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 4px; }

/* ---- Product card ---- */
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: var(--border-strong); }
.product-card .pc-body { padding: 20px; flex: 1; }
.product-card .pc-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 10px;
}
.product-card h3 { margin: 0 0 8px; font-size: 18px; }
.product-card .pc-rating { color: var(--star); font-size: 14px; margin-bottom: 12px; font-weight: 600; }
.product-card .pc-rating span { color: var(--text-soft); margin-left: 6px; font-weight: 400; }
.product-card .pc-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  font-size: 14px;
}
.product-card .pc-specs li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed var(--border);
  color: var(--text-muted);
}
.product-card .pc-specs li:last-child { border-bottom: none; }
.product-card .pc-specs li span:last-child { color: var(--text); font-weight: 500; text-align: right; }
.product-card .pc-footer { padding: 0 20px 20px; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

/* ---- Callout boxes ---- */
.callout {
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 24px 0;
  border: 1px solid;
  border-left-width: 4px;
}
.callout--top { background: var(--accent-soft); border-color: var(--accent); }
.callout--top p { color: var(--text); margin: 0; font-weight: 500; }
.callout--tip { background: color-mix(in srgb, #0ea5e9 8%, var(--bg)); border-color: #0ea5e9; }
.callout--warn { background: color-mix(in srgb, var(--warn) 8%, var(--bg)); border-color: var(--warn); }
.callout--info { background: var(--bg-alt); border-color: var(--border-strong); }
.callout h4 { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

/* ---- Top pick block ---- */
.top-pick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 32px 0;
  position: relative;
  overflow: hidden;
}
.top-pick::before {
  content: "Top Pick";
  position: absolute;
  top: 14px; right: -32px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 36px;
  transform: rotate(35deg);
  letter-spacing: .05em;
}
.top-pick h3 { margin-top: 0; }
.top-pick .tp-specs {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  font-size: 15px;
}
.top-pick .tp-specs li { padding: 4px 0; color: var(--text-muted); }
.top-pick .tp-specs li strong { color: var(--text); }
@media (max-width: 720px) {
  .top-pick { grid-template-columns: 1fr; }
}

/* ---- FAQ ---- */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: var(--surface);
  overflow: hidden;
}
.faq-item summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--accent);
  font-weight: 400;
  transition: transform var(--transition);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body {
  padding: 0 20px 18px;
  color: var(--text-muted);
}

/* ---- Pros / Cons ---- */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}
@media (max-width: 640px) {
  .pros-cons { grid-template-columns: 1fr; }
}
.pros-cons .pc-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  background: var(--surface);
}
.pros-cons h4 {
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.pros-cons .pros h4 { color: var(--accent); }
.pros-cons .cons h4 { color: var(--danger); }
.pros-cons ul { list-style: none; padding: 0; margin: 0; font-size: 15px; }
.pros-cons li {
  padding: 6px 0 6px 26px;
  position: relative;
  color: var(--text-muted);
}
.pros-cons .pros li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.pros-cons .cons li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: var(--danger);
  font-weight: 700;
}

/* ---- Specs grid ---- */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 20px 0;
}
.specs-grid .spec {
  background: var(--surface);
  padding: 14px 16px;
}
.specs-grid .spec-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-soft);
  margin-bottom: 4px;
}
.specs-grid .spec-value {
  font-weight: 700;
  color: var(--text);
  font-size: 16px;
}

/* ---- Star rating ---- */
.stars-display { color: var(--star); font-weight: 600; }
.stars-display span { color: var(--text-soft); margin-left: 4px; font-weight: 400; }

/* ---- Affiliate disclosure ---- */
.aff-disc {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-soft);
  margin: 20px 0;
}

/* ---- CTA banner ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--accent), #0ea5e9);
  border-radius: var(--radius-lg);
  padding: 36px;
  color: #fff;
  text-align: center;
  margin: 36px 0;
}
.cta-banner h3 { color: #fff; margin-top: 0; }
.cta-banner p { color: rgba(255,255,255,.92); margin-bottom: 20px; }
.cta-banner .btn--amazon { background: #fff; color: #0f1720; }
.cta-banner .btn--amazon:hover { background: #f8fafc; }

/* ---- Inline list ---- */
.check-list { list-style: none; padding: 0; }
.check-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--text-muted);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 18px;
}

/* ---- Related links box ---- */
.related {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 22px;
  margin: 32px 0;
}
.related h3 { margin-top: 0; font-size: 18px; }
.related ul { margin: 0; }
.related a { font-weight: 500; }

/* ---- Sitemap grid ---- */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
  margin: 24px 0;
}
.sitemap-section h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-soft);
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.sitemap-section ul { list-style: none; padding: 0; margin: 0; }
.sitemap-section li { padding: 5px 0; }
.sitemap-section a { color: var(--text-muted); font-size: 15px; }
.sitemap-section a:hover { color: var(--accent); }

/* ---- Footer ---- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
  margin-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { font-size: 14px; color: var(--text-soft); margin: 0; }
.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-soft);
  margin: 0 0 12px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { padding: 4px 0; }
.footer-col a { color: var(--text-muted); font-size: 14px; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--text-soft);
}
.footer-bottom a { color: var(--text-soft); }
.footer-bottom a:hover { color: var(--accent); }

/* ---- Mobile tweaks ---- */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 40px 0; }
  .hero { padding: 40px 0 36px; }
  .top-pick { padding: 20px; }
  .cta-banner { padding: 24px; }
}

/* ---- Print ---- */
@media print {
  .site-header, .site-footer, .toc, .nav-toggle, .theme-toggle, .breadcrumbs, .cta-banner { display: none !important; }
  body { font-size: 12pt; color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
}

/* ---- Accessibility ---- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  z-index: 999;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---- Misc ---- */
.tag {
  display: inline-block;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  color: var(--text-muted);
  margin: 2px 4px 2px 0;
}
.tag--accent { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
hr { border: none; border-top: 1px solid var(--border); margin: 32px 0; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
