/* =========================================
   OFF GRID POWER GUIDE — Main Stylesheet
   Palette: Deep charcoal + amber accent
   Rugged, authoritative, gear-review feel
   ========================================= */

/* --- Fonts --- */
@import url('https://api.fontshare.com/v2/css?f[]=cabinet-grotesk@400,500,700,800,900&f[]=satoshi@400,500,700&display=swap');

/* --- Design Tokens --- */
:root,
[data-theme='light'] {
  /* Surfaces */
  --color-bg: #f5f3ef;
  --color-surface: #faf9f7;
  --color-surface-2: #ffffff;
  --color-surface-offset: #eceae5;
  --color-surface-offset-2: #e4e1db;
  --color-divider: #d8d5cf;
  --color-border: #ccc9c2;

  /* Text */
  --color-text: #1c1a16;
  --color-text-muted: #6b6860;
  --color-text-faint: #aaa89f;
  --color-text-inverse: #f5f3ef;

  /* Primary — Amber/Orange (rugged, energy) */
  --color-primary: #c75f00;
  --color-primary-hover: #a54e00;
  --color-primary-active: #7d3a00;
  --color-primary-highlight: #f2ddd0;

  /* Success */
  --color-success: #3a7a2a;
  --color-success-highlight: #d3e6cc;

  /* Tokens */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 1px 3px rgba(28,26,22,0.08);
  --shadow-md: 0 4px 14px rgba(28,26,22,0.1);
  --shadow-lg: 0 12px 36px rgba(28,26,22,0.14);
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;

  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Fonts */
  --font-display: 'Cabinet Grotesk', 'Helvetica Neue', sans-serif;
  --font-body: 'Satoshi', 'Helvetica Neue', sans-serif;
}

[data-theme='dark'] {
  --color-bg: #141310;
  --color-surface: #1a1916;
  --color-surface-2: #1f1e1b;
  --color-surface-offset: #1d1c19;
  --color-surface-offset-2: #242320;
  --color-divider: #2a2926;
  --color-border: #363430;
  --color-text: #d4d1cb;
  --color-text-muted: #7a7770;
  --color-text-faint: #58554f;
  --color-text-inverse: #1c1a16;
  --color-primary: #f08030;
  --color-primary-hover: #f59040;
  --color-primary-active: #fab060;
  --color-primary-highlight: #3a2a1a;
  --color-success: #5aaa3a;
  --color-success-highlight: #1e3018;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.25);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.35);
  --shadow-lg: 0 12px 36px rgba(0,0,0,0.45);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #141310;
    --color-surface: #1a1916;
    --color-surface-2: #1f1e1b;
    --color-surface-offset: #1d1c19;
    --color-surface-offset-2: #242320;
    --color-divider: #2a2926;
    --color-border: #363430;
    --color-text: #d4d1cb;
    --color-text-muted: #7a7770;
    --color-text-faint: #58554f;
    --color-text-inverse: #1c1a16;
    --color-primary: #f08030;
    --color-primary-hover: #f59040;
    --color-primary-active: #fab060;
    --color-primary-highlight: #3a2a1a;
    --color-success: #5aaa3a;
    --color-success-highlight: #1e3018;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.25);
    --shadow-md: 0 4px 14px rgba(0,0,0,0.35);
    --shadow-lg: 0 12px 36px rgba(0,0,0,0.45);
  }
}

/* --- Base Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-20);
}
body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
}
img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
ul[role='list'], ol[role='list'] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1,h2,h3,h4,h5,h6 { text-wrap: balance; line-height: 1.15; font-family: var(--font-display); }
p, li, figcaption { text-wrap: pretty; max-width: 72ch; }
::selection { background: color-mix(in oklab, var(--color-primary) 25%, transparent); color: var(--color-text); }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; border-radius: var(--radius-sm); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }
a, button, [role='button'], input, textarea, select {
  transition: color var(--transition-interactive), background var(--transition-interactive),
    border-color var(--transition-interactive), box-shadow var(--transition-interactive),
    opacity var(--transition-interactive);
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }

/* --- Layout Utilities --- */
.container { width: 100%; max-width: var(--content-wide); margin-inline: auto; padding-inline: clamp(var(--space-4), 5vw, var(--space-16)); }
.container--narrow { max-width: var(--content-narrow); }
.container--default { max-width: var(--content-default); }

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(from var(--color-bg) l c h / 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
  transition: box-shadow var(--transition-interactive);
}
.site-header--scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-4);
}
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-base);
  letter-spacing: -0.01em;
  color: var(--color-text);
  flex-shrink: 0;
}
.logo:hover { color: var(--color-primary); }
.logo svg { width: 32px; height: 32px; flex-shrink: 0; }
.site-nav { display: flex; align-items: center; gap: var(--space-6); }
.site-nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
}
.site-nav a:hover { color: var(--color-primary); }
.site-nav a.active { color: var(--color-text); font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: var(--space-3); }
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}
.theme-toggle:hover { color: var(--color-text); background: var(--color-surface-offset); }
.nav-mobile-toggle { display: none; }
.mobile-nav { display: none; }

@media (max-width: 768px) {
  .site-nav { display: none; }
  .nav-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
  }
  .mobile-nav {
    display: block;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-divider);
    padding: var(--space-4);
    gap: var(--space-2);
  }
  .mobile-nav.open { display: flex; flex-direction: column; }
  .mobile-nav a { padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); font-size: var(--text-sm); font-weight: 500; color: var(--color-text-muted); }
  .mobile-nav a:hover { background: var(--color-surface-offset); color: var(--color-text); }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  transition: all var(--transition-interactive);
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-hover); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border-color: var(--color-border); color: var(--color-text); }
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); background: var(--color-primary-highlight); }
.btn-sm { padding: var(--space-2) var(--space-4); font-size: var(--text-xs); }

/* --- Cards --- */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: box-shadow var(--transition-interactive), transform var(--transition-interactive);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-img { width: 100%; height: 220px; object-fit: cover; display: block; }
.card-body { padding: var(--space-6); }
.card-category {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.card-title { font-size: var(--text-lg); font-weight: 800; margin-bottom: var(--space-3); line-height: 1.25; }
.card-title a:hover { color: var(--color-primary); }
.card-excerpt { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.6; }
.card-meta { display: flex; align-items: center; gap: var(--space-4); margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--color-divider); }
.card-meta span { font-size: var(--text-xs); color: var(--color-text-faint); }

/* --- Article Grid --- */
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--space-6); }
.articles-grid--featured { grid-template-columns: repeat(3, 1fr); }
.articles-grid--featured .card:first-child { grid-column: span 2; }
.articles-grid--featured .card:first-child .card-img { height: 320px; }

@media (max-width: 900px) {
  .articles-grid--featured { grid-template-columns: 1fr; }
  .articles-grid--featured .card:first-child { grid-column: span 1; }
}

/* --- Hero --- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
  padding-block: clamp(var(--space-16), 10vw, var(--space-24));
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 70% 60% at 80% 50%, color-mix(in oklab, var(--color-primary) 12%, transparent) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 10% 80%, color-mix(in oklab, var(--color-text) 4%, transparent) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}
.hero h1 {
  font-size: var(--text-3xl);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: var(--space-6);
  max-width: 14ch;
}
.hero h1 span { color: var(--color-primary); }
.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 52ch;
  margin-bottom: var(--space-8);
  line-height: 1.55;
}
.hero-actions { display: flex; gap: var(--space-4); flex-wrap: wrap; align-items: center; }
.hero-stats {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
  flex-wrap: wrap;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
}
.hero-stat-label { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: var(--space-1); }

/* --- Section headers --- */
.section-header { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-8); flex-wrap: wrap; }
.section-title { font-size: var(--text-xl); font-weight: 900; letter-spacing: -0.02em; }
.section-link { font-size: var(--text-sm); font-weight: 600; color: var(--color-primary); text-decoration: none; display: flex; align-items: center; gap: var(--space-1); white-space: nowrap; }
.section-link:hover { color: var(--color-primary-hover); }
.section-eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

/* --- Sections --- */
section { padding-block: clamp(var(--space-12), 7vw, var(--space-20)); }
.section-divider { border: none; border-top: 1px solid var(--color-divider); margin: 0; }

/* --- Rating badge --- */
.rating { display: inline-flex; align-items: center; gap: var(--space-1); }
.rating-score {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-base);
  color: var(--color-primary);
}
.rating-stars { display: flex; gap: 2px; }
.star { width: 14px; height: 14px; fill: var(--color-primary); }
.star.empty { fill: var(--color-border); }

/* --- Product card (review-style) --- */
.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  gap: var(--space-6);
  align-items: flex-start;
  transition: box-shadow var(--transition-interactive), transform var(--transition-interactive);
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.product-card-rank {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  flex-shrink: 0;
  min-width: 2ch;
}
.product-card-img { width: 100px; height: 100px; object-fit: contain; border-radius: var(--radius-md); background: var(--color-surface-offset); flex-shrink: 0; }
.product-card-content { flex: 1; min-width: 0; }
.product-card-name { font-size: var(--text-lg); font-weight: 800; margin-bottom: var(--space-1); }
.product-card-tagline { font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: var(--space-3); }
.product-card-specs { display: flex; gap: var(--space-4); flex-wrap: wrap; margin-bottom: var(--space-4); }
.spec-pill { font-size: var(--text-xs); font-weight: 600; padding: var(--space-1) var(--space-3); border-radius: var(--radius-full); background: var(--color-surface-offset); color: var(--color-text-muted); }
.product-card-actions { display: flex; gap: var(--space-3); align-items: center; flex-wrap: wrap; }
.product-card-price { font-family: var(--font-display); font-weight: 900; font-size: var(--text-lg); color: var(--color-text); }
.product-list { display: flex; flex-direction: column; gap: var(--space-4); }

@media (max-width: 640px) {
  .product-card { flex-wrap: wrap; gap: var(--space-4); }
  .product-card-img { width: 70px; height: 70px; }
}

/* --- Comparison table --- */
.comparison-table-wrap { overflow-x: auto; border-radius: var(--radius-xl); border: 1px solid var(--color-border); }
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
  font-size: var(--text-sm);
}
.comparison-table th {
  background: var(--color-surface-offset);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: var(--space-4) var(--space-5);
  text-align: left;
  white-space: nowrap;
}
.comparison-table td { padding: var(--space-4) var(--space-5); border-top: 1px solid var(--color-divider); vertical-align: middle; }
.comparison-table tr:hover td { background: var(--color-surface-offset); }
.comparison-table .best-pick td:first-child { border-left: 3px solid var(--color-primary); }
.best-badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 2px var(--space-2);
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: #fff;
  margin-left: var(--space-2);
  letter-spacing: 0.04em;
}
.check { color: var(--color-success); font-size: 1.1em; }
.cross { color: var(--color-text-faint); }

/* --- Callout / tip boxes --- */
.callout {
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  margin-block: var(--space-6);
}
.callout-tip { background: var(--color-primary-highlight); border-left: 4px solid var(--color-primary); }
.callout-warning { background: color-mix(in oklab, #fbbf24 15%, var(--color-surface)); border-left: 4px solid #d97706; }
.callout-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: 2px; }
.callout-content { flex: 1; }
.callout-title { font-weight: 700; font-size: var(--text-sm); margin-bottom: var(--space-1); }
.callout-text { font-size: var(--text-sm); color: var(--color-text-muted); }

/* --- Footer --- */
.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-12) var(--space-8);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-8); margin-bottom: var(--space-10); }
.footer-brand p { font-size: var(--text-sm); color: var(--color-text-muted); margin-top: var(--space-3); max-width: 36ch; line-height: 1.6; }
.footer-col-title { font-family: var(--font-display); font-size: var(--text-xs); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: var(--space-4); }
.footer-links { display: flex; flex-direction: column; gap: var(--space-2); }
.footer-links a { font-size: var(--text-sm); color: var(--color-text-muted); text-decoration: none; }
.footer-links a:hover { color: var(--color-primary); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; padding-top: var(--space-8); border-top: 1px solid var(--color-divider); }
.footer-bottom p { font-size: var(--text-xs); color: var(--color-text-faint); }
.footer-bottom a { color: var(--color-text-muted); }
.footer-bottom a:hover { color: var(--color-primary); }
.affiliate-disclaimer {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  background: var(--color-surface-offset);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  margin-top: var(--space-4);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
}

/* --- Article page --- */
.article-hero {
  padding-block: clamp(var(--space-8), 6vw, var(--space-16));
  border-bottom: 1px solid var(--color-divider);
  margin-bottom: var(--space-10);
}
.article-hero .article-category {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
  text-decoration: none;
}
.article-hero h1 {
  font-size: var(--text-2xl);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: var(--space-5);
  max-width: 20ch;
}
.article-hero .article-deck {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 58ch;
  line-height: 1.55;
  margin-bottom: var(--space-6);
}
.article-meta { display: flex; align-items: center; gap: var(--space-5); flex-wrap: wrap; font-size: var(--text-xs); color: var(--color-text-faint); }
.article-meta .updated { display: flex; align-items: center; gap: var(--space-1); }

/* Article layout */
.article-layout { display: grid; grid-template-columns: 1fr 280px; gap: var(--space-12); align-items: start; }
@media (max-width: 1024px) { .article-layout { grid-template-columns: 1fr; } }

.article-body { max-width: 72ch; }
.article-body h2 { font-size: var(--text-xl); font-weight: 800; margin-top: var(--space-10); margin-bottom: var(--space-4); letter-spacing: -0.02em; }
.article-body h3 { font-size: var(--text-lg); font-weight: 700; margin-top: var(--space-8); margin-bottom: var(--space-3); }
.article-body p { margin-bottom: var(--space-5); line-height: 1.75; color: var(--color-text); }
.article-body ul, .article-body ol { margin-bottom: var(--space-5); padding-left: var(--space-6); }
.article-body li { margin-bottom: var(--space-2); line-height: 1.7; }
.article-body a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--color-primary-hover); }
.article-body strong { font-weight: 700; }

/* Sidebar */
.article-sidebar { position: sticky; top: var(--space-20); }
.sidebar-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  margin-bottom: var(--space-4);
}
.sidebar-card-title { font-size: var(--text-sm); font-weight: 800; margin-bottom: var(--space-4); font-family: var(--font-display); letter-spacing: -0.01em; }
.toc-list { display: flex; flex-direction: column; gap: var(--space-2); }
.toc-list a { font-size: var(--text-xs); color: var(--color-text-muted); text-decoration: none; padding: var(--space-1) 0; border-left: 2px solid transparent; padding-left: var(--space-3); }
.toc-list a:hover { color: var(--color-primary); border-left-color: var(--color-primary); }
.toc-list a.active { color: var(--color-primary); border-left-color: var(--color-primary); font-weight: 600; }

/* --- Watt Calculator --- */
.calculator {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  margin-block: var(--space-8);
}
.calculator-title { font-size: var(--text-lg); font-weight: 800; margin-bottom: var(--space-2); }
.calculator-subtitle { font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: var(--space-6); }
.calc-row { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-4); flex-wrap: wrap; }
.calc-label { font-size: var(--text-sm); font-weight: 600; min-width: 160px; flex-shrink: 0; }
.calc-input {
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: var(--text-sm);
  width: 100px;
}
.calc-input:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-primary) 20%, transparent); }
.calc-result {
  background: var(--color-primary-highlight);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  margin-top: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.calc-result-label { font-size: var(--text-sm); font-weight: 600; color: var(--color-primary); }
.calc-result-value { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 900; color: var(--color-primary); }
.calc-recommendation { font-size: var(--text-sm); color: var(--color-text-muted); margin-top: var(--space-3); }

/* --- Pros/Cons --- */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); margin-block: var(--space-6); }
@media (max-width: 600px) { .pros-cons { grid-template-columns: 1fr; } }
.pros-block, .cons-block {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}
.pros-block { border-top: 3px solid var(--color-success); }
.cons-block { border-top: 3px solid #e53e3e; }
.pros-cons-title { font-size: var(--text-sm); font-weight: 800; margin-bottom: var(--space-3); font-family: var(--font-display); }
.pros-block .pros-cons-title { color: var(--color-success); }
.cons-block .pros-cons-title { color: #e53e3e; }
.pros-cons-list { list-style: none; display: flex; flex-direction: column; gap: var(--space-2); }
.pros-cons-list li { font-size: var(--text-sm); color: var(--color-text-muted); display: flex; gap: var(--space-2); align-items: flex-start; }
.pros-cons-list li::before { flex-shrink: 0; margin-top: 3px; }
.pros-block .pros-cons-list li::before { content: "✓"; color: var(--color-success); font-weight: 700; }
.cons-block .pros-cons-list li::before { content: "✗"; color: #e53e3e; font-weight: 700; }

/* --- Verdict box --- */
.verdict-box {
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  margin-block: var(--space-8);
}
.verdict-box .verdict-label { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.75; margin-bottom: var(--space-3); }
.verdict-box .verdict-text { font-size: var(--text-lg); font-weight: 700; line-height: 1.5; opacity: 0.95; }
.verdict-box .verdict-score { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 900; margin-top: var(--space-4); }

/* --- Breadcrumb --- */
.breadcrumb { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-xs); color: var(--color-text-faint); margin-bottom: var(--space-5); flex-wrap: wrap; }
.breadcrumb a { color: var(--color-text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb-sep { color: var(--color-text-faint); }

/* --- Table of Contents box --- */
.toc-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  margin-bottom: var(--space-8);
}
.toc-box-title { font-size: var(--text-sm); font-weight: 800; margin-bottom: var(--space-4); font-family: var(--font-display); }
.toc-box ol { padding-left: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); }
.toc-box li { font-size: var(--text-sm); color: var(--color-text-muted); }
.toc-box a { color: var(--color-primary); text-decoration: none; }
.toc-box a:hover { text-decoration: underline; }

/* --- Score bar --- */
.score-bars { display: flex; flex-direction: column; gap: var(--space-3); margin-block: var(--space-6); }
.score-row { display: flex; align-items: center; gap: var(--space-4); }
.score-label { font-size: var(--text-xs); font-weight: 600; color: var(--color-text-muted); min-width: 120px; flex-shrink: 0; }
.score-bar-track { flex: 1; height: 6px; background: var(--color-surface-offset); border-radius: var(--radius-full); overflow: hidden; }
.score-bar-fill { height: 100%; background: var(--color-primary); border-radius: var(--radius-full); }
.score-num { font-size: var(--text-xs); font-weight: 700; color: var(--color-primary); min-width: 32px; text-align: right; }

/* --- Newsletter bar --- */
.newsletter-bar {
  background: var(--color-surface-offset);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-8), 5vw, var(--space-12));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.newsletter-bar h3 { font-size: var(--text-xl); font-weight: 900; letter-spacing: -0.02em; }
.newsletter-bar p { font-size: var(--text-sm); color: var(--color-text-muted); margin-top: var(--space-1); }
.newsletter-form { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.newsletter-input {
  flex: 1;
  min-width: 200px;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  font-size: var(--text-sm);
  color: var(--color-text);
}
.newsletter-input:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-primary) 20%, transparent); }

/* --- Tags --- */
.tag {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  background: var(--color-surface-offset);
  color: var(--color-text-muted);
  text-decoration: none;
  border: 1px solid transparent;
}
.tag:hover { background: var(--color-primary-highlight); color: var(--color-primary); border-color: var(--color-primary); }
.tags { display: flex; flex-wrap: wrap; gap: var(--space-2); }

/* --- Category pills nav --- */
.category-nav { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-bottom: var(--space-8); }
.category-pill {
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  cursor: pointer;
  text-decoration: none;
}
.category-pill:hover, .category-pill.active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

/* --- Misc utilities --- */
.text-primary { color: var(--color-primary); }
.text-muted { color: var(--color-text-muted); }
.text-faint { color: var(--color-text-faint); }
.font-display { font-family: var(--font-display); }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.hidden { display: none; }

/* =========================================================
   PREMIUM VISUAL REDESIGN — Off Grid Power Reviews
   Dark, rugged, high-energy. YETI meets Wirecutter.
   ========================================================= */

/* --- Keyframe Animations --- */
@keyframes amber-pulse {
  0%, 100% { text-shadow: 0 2px 40px color-mix(in oklab, #f08030 30%, transparent), 0 0 80px color-mix(in oklab, #f08030 15%, transparent); }
  50% { text-shadow: 0 2px 60px color-mix(in oklab, #f08030 55%, transparent), 0 0 120px color-mix(in oklab, #f08030 28%, transparent); }
}

@keyframes float-bolt {
  0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.08; }
  50% { transform: translateY(-18px) rotate(2deg); opacity: 0.13; }
}

/* =========================================================
   1. HERO — Complete Dark Overhaul
   ========================================================= */
.hero {
  background: #0e0c0a !important;
  position: relative;
  overflow: hidden;
  padding-block: clamp(var(--space-16), 12vw, 9rem);
  isolation: isolate;
}

/* Diagonal line texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 28px,
    rgba(240, 128, 48, 0.045) 28px,
    rgba(240, 128, 48, 0.045) 29px
  );
  pointer-events: none;
  z-index: 0;
}

/* Large amber radial glow */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 80% at 35% 55%, rgba(199, 95, 0, 0.22) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 15% 90%, rgba(240, 128, 48, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 30% 40% at 80% 20%, rgba(199, 95, 0, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

/* Hero label pill on dark background */
.hero .hero-label {
  background: rgba(240, 128, 48, 0.15);
  border: 1px solid rgba(240, 128, 48, 0.35);
  color: #f08030;
}

/* Massive headline */
.hero h1 {
  font-size: var(--text-3xl);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: #f5f3ef;
  max-width: 14ch;
  margin-bottom: var(--space-6);
  text-shadow: 0 2px 40px color-mix(in oklab, #f08030 30%, transparent);
}

.hero h1 span {
  color: #f08030;
  animation: amber-pulse 3.5s ease-in-out infinite;
  display: inline;
}

/* Subtitle on dark */
.hero .hero-subtitle {
  color: rgba(212, 209, 203, 0.80);
}

/* Hero stats as dark cards */
.hero-stats {
  border-top: 1px solid rgba(240, 128, 48, 0.2);
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}

.hero-stats > div {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(240, 128, 48, 0.18);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  margin-right: var(--space-3);
  margin-bottom: var(--space-3);
  backdrop-filter: blur(4px);
  min-width: 130px;
}

.hero .hero-stat-num {
  color: #f08030;
  font-size: var(--text-xl);
  font-weight: 900;
  line-height: 1;
}

.hero .hero-stat-label {
  color: rgba(212, 209, 203, 0.55);
  font-size: var(--text-xs);
  margin-top: var(--space-1);
}

/* CTA buttons in hero */
.hero .btn-primary {
  background: #c75f00;
  color: #fff;
  border-color: #c75f00;
  box-shadow: 0 0 0 0 rgba(199, 95, 0, 0);
}
.hero .btn-primary:hover {
  background: #f08030;
  border-color: #f08030;
  box-shadow: 0 4px 30px rgba(199, 95, 0, 0.55), 0 0 60px rgba(240, 128, 48, 0.25);
  transform: translateY(-2px);
}
.hero .btn-outline {
  background: transparent;
  border-color: rgba(212, 209, 203, 0.3);
  color: rgba(212, 209, 203, 0.85);
}
.hero .btn-outline:hover {
  border-color: #f08030;
  color: #f08030;
  background: rgba(240, 128, 48, 0.08);
}

/* Decorative floating bolt — positioned via .hero-bolt class added in HTML */
.hero-bolt-decor {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-52%);
  width: 300px;
  height: 300px;
  opacity: 0.08;
  pointer-events: none;
  z-index: 1;
  animation: float-bolt 6s ease-in-out infinite;
  color: #f08030;
}

@media (max-width: 900px) {
  .hero-bolt-decor { width: 200px; height: 200px; right: -40px; opacity: 0.05; }
}
@media (max-width: 640px) {
  .hero-bolt-decor { display: none; }
}

/* =========================================================
   2. CARD IMAGE COVERS — Editorial Gradient Illustrations
   ========================================================= */

/* Generic card image cover base */
.card-img-cover {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.articles-grid--featured .card:first-child .card-img-cover {
  height: 320px;
}

/* Featured card — power stations */
.card-img-cover--power {
  background: linear-gradient(135deg, #0e0c0a 0%, #1c1410 40%, #3d2008 75%, #c75f00 100%);
}
/* Buying guide card — forest green to amber */
.card-img-cover--guide {
  background: linear-gradient(135deg, #0a120a 0%, #0f2010 40%, #1a3a15 70%, #c75f00 100%);
}
/* Comparison card — slate to orange */
.card-img-cover--compare {
  background: linear-gradient(135deg, #0c0e14 0%, #141828 45%, #2a2040 70%, #c75f00 100%);
}

/* Use-case guide cards */
.card-img-cover--cpap {
  background: linear-gradient(135deg, #0c1218 0%, #101e2a 50%, #1e3a50 75%, #2a6090 100%);
  height: 140px;
}
.card-img-cover--cabin {
  background: linear-gradient(135deg, #0a110a 0%, #0e1e0e 50%, #1a3010 75%, #3a6015 100%);
  height: 140px;
}
.card-img-cover--emergency {
  background: linear-gradient(135deg, #120a0a 0%, #1e0f0f 50%, #3a1a1a 75%, #8a2020 100%);
  height: 140px;
}
.card-img-cover--overland {
  background: linear-gradient(135deg, #100c08 0%, #1c1408 50%, #342808 75%, #785020 100%);
  height: 140px;
}
.card-img-cover--budget {
  background: linear-gradient(135deg, #0a0c10 0%, #101420 50%, #1c2a30 75%, #304060 100%);
  height: 140px;
}
.card-img-cover--battery {
  background: linear-gradient(135deg, #080c12 0%, #101826 50%, #1a2840 75%, #2c4878 100%);
  height: 140px;
}

/* SVG icons inside covers */
.card-img-cover svg {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  opacity: 0.85;
  filter: drop-shadow(0 4px 20px rgba(240, 128, 48, 0.4));
  display: block;
  position: relative;
  z-index: 1;
}

/* Shimmer overlay on card covers */
.card-img-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
}

/* =========================================================
   3. PRODUCT CARDS — Premium Showcase Left Panel
   ========================================================= */
.product-card {
  border-color: var(--color-border);
  transition: box-shadow var(--transition-interactive), transform var(--transition-interactive), border-color var(--transition-interactive);
}
.product-card:hover {
  border-color: color-mix(in oklab, var(--color-primary) 40%, var(--color-border));
  box-shadow: var(--shadow-lg);
}

/* Product showcase box replaces plain icon placeholder */
.product-showcase {
  width: 110px;
  height: 110px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #0e0c0a 0%, #1c1410 50%, #3d2008 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(240, 128, 48, 0.2);
}

.product-showcase::before {
  content: attr(data-rank);
  position: absolute;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 5rem;
  line-height: 1;
  color: rgba(240, 128, 48, 0.12);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  letter-spacing: -0.05em;
}

.product-showcase svg {
  width: 38px;
  height: 38px;
  color: #f08030;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 10px rgba(240, 128, 48, 0.5));
}

/* Badge pill — "Best Overall" etc. */
.product-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 3px var(--space-3);
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

/* Premium spec pills */
.spec-pill {
  background: var(--color-surface-offset-2, #242320);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  font-weight: 700;
}

[data-theme='light'] .spec-pill {
  background: #e4e1db;
  color: #2a2820;
}

/* Rank number hidden from product-card-rank — handled by showcase */
.product-card-rank {
  display: none;
}

@media (max-width: 640px) {
  .product-showcase { width: 80px; height: 80px; }
  .product-showcase::before { font-size: 3.5rem; }
  .product-showcase svg { width: 28px; height: 28px; }
}

/* =========================================================
   4. SECTION BREAKS — Decorative Amber Gradient Strips
   ========================================================= */
.section-break {
  height: 48px;
  width: 100%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(199, 95, 0, 0.06) 20%,
    rgba(199, 95, 0, 0.12) 50%,
    rgba(199, 95, 0, 0.06) 80%,
    transparent 100%
  );
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.section-break::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(199, 95, 0, 0.3) 20%, rgba(240, 128, 48, 0.5) 50%, rgba(199, 95, 0, 0.3) 80%, transparent 100%);
  transform: translateY(-50%);
}
/* Dot grid pattern */
.section-break::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(199, 95, 0, 0.25) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: center;
  opacity: 0.5;
}

/* Remove old dividers adjacent to new breaks */
hr.section-divider {
  border-top-color: var(--color-divider);
}

/* =========================================================
   5. CALCULATOR SECTION — Dark "Tool" Look
   ========================================================= */
.section--calculator {
  background: #0e0c0a !important;
  position: relative;
  overflow: hidden;
}

.section--calculator::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(240, 128, 48, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.section--calculator .section-eyebrow {
  color: #f08030;
}

.section--calculator .section-title,
.section--calculator h2 {
  color: #f5f3ef;
}

.section--calculator .text-muted {
  color: rgba(212, 209, 203, 0.65);
}

.section--calculator .calculator {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(240, 128, 48, 0.2);
  color: #d4d1cb;
  backdrop-filter: blur(4px);
}

.section--calculator .calculator-title {
  color: #f5f3ef;
}

.section--calculator .calculator-subtitle {
  color: rgba(212, 209, 203, 0.6);
}

.section--calculator .calc-label {
  color: #d4d1cb;
}

.section--calculator .calc-input {
  background: rgba(255,255,255,0.06);
  border-color: rgba(240, 128, 48, 0.25);
  color: #f5f3ef;
}

.section--calculator .calc-input:focus {
  border-color: #f08030;
  box-shadow: 0 0 0 3px rgba(240, 128, 48, 0.2);
}

.section--calculator .calc-result {
  background: rgba(199, 95, 0, 0.2);
  border: 1px solid rgba(240, 128, 48, 0.3);
}

.section--calculator .calc-result-label {
  color: #f08030;
}

.section--calculator .calc-result-value {
  color: #f08030;
}

.section--calculator .calc-recommendation {
  color: rgba(212, 209, 203, 0.6);
}

/* =========================================================
   6. NEWSLETTER — Dramatic Dark Section with Amber Glow
   ========================================================= */
.section--newsletter {
  background: #0e0c0a !important;
  position: relative;
  overflow: hidden;
  padding-block: var(--space-16) !important;
}

.section--newsletter::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(199, 95, 0, 0.18) 0%, transparent 65%),
    repeating-linear-gradient(-45deg, transparent, transparent 30px, rgba(240, 128, 48, 0.03) 30px, rgba(240, 128, 48, 0.03) 31px);
  pointer-events: none;
}

.section--newsletter .newsletter-bar {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(240, 128, 48, 0.25);
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 1;
}

.section--newsletter .newsletter-bar h3 {
  color: #f5f3ef;
}

.section--newsletter .newsletter-bar p {
  color: rgba(212, 209, 203, 0.65);
}

.section--newsletter .newsletter-input {
  background: rgba(255,255,255,0.07);
  border-color: rgba(240, 128, 48, 0.3);
  color: #f5f3ef;
}
.section--newsletter .newsletter-input::placeholder {
  color: rgba(212, 209, 203, 0.4);
}
.section--newsletter .newsletter-input:focus {
  border-color: #f08030;
  box-shadow: 0 0 0 3px rgba(240, 128, 48, 0.2);
}

.section--newsletter .btn-primary {
  background: #c75f00;
  box-shadow: 0 4px 20px rgba(199, 95, 0, 0.3);
}
.section--newsletter .btn-primary:hover {
  background: #f08030;
  box-shadow: 0 4px 30px rgba(199, 95, 0, 0.55), 0 0 60px rgba(240, 128, 48, 0.25);
}

/* =========================================================
   7. LOGO — Bigger + Hover Glow
   ========================================================= */
.logo svg {
  width: 36px !important;
  height: 36px !important;
  transition: filter var(--transition-interactive);
}
.logo:hover svg {
  filter: drop-shadow(0 0 8px rgba(240, 128, 48, 0.7)) drop-shadow(0 0 16px rgba(199, 95, 0, 0.4));
}

/* =========================================================
   8. TYPOGRAPHY — Eyebrow Bar Treatment + H2 Weight
   ========================================================= */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  padding-left: var(--space-3);
  border-left: 2.5px solid var(--color-primary);
  margin-bottom: var(--space-2);
}

.section-title {
  font-weight: 900;
}

/* General primary button glow on hover */
.btn-primary:hover {
  box-shadow: 0 4px 24px rgba(199, 95, 0, 0.42), var(--shadow-md);
}

/* =========================================================
   9. PRODUCT RATING SCORE BARS
   ========================================================= */
.score-block {
  display: flex;
  gap: var(--space-6);
  align-items: flex-start;
  margin: var(--space-4) 0;
  padding: var(--space-4) 0;
  border-top: 1px solid var(--color-divider);
}
.score-overall {
  text-align: center;
  flex-shrink: 0;
  width: 72px;
}
.score-overall-num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
}
.score-overall-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
  line-height: 1.2;
}
.score-bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.score-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.score-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  min-width: 90px;
  flex-shrink: 0;
}
.score-bar-track {
  flex: 1;
  height: 6px;
  background: var(--color-surface-offset);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.score-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), color-mix(in oklab, var(--color-primary) 70%, #ffd700));
  border-radius: var(--radius-full);
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.score-num {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-primary);
  min-width: 24px;
  text-align: right;
}

/* =========================================================
   10. CRITICAL POWER SECTION
   ========================================================= */
.critical-power-section {
  background: #0e0c0a;
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
  color: #f5f3ef;
}
.critical-power-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
@media (max-width: 900px) {
  .critical-power-inner { grid-template-columns: 1fr; }
}
.critical-power-text h2 {
  font-size: var(--text-2xl);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--space-5);
  color: #f5f3ef;
}
.critical-power-text p {
  color: #a09d97;
  font-size: var(--text-base);
  line-height: 1.75;
  margin-bottom: var(--space-6);
}
.critical-power-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}
.critical-power-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: #c8c5bf;
  line-height: 1.5;
}
.critical-power-list li svg {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.critical-power-stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.critical-stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
}
.critical-stat-num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.critical-stat-label {
  font-size: var(--text-sm);
  color: #7a7770;
  line-height: 1.5;
}

/* Social icon links in header */
.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--color-text-muted);
  transition: color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.social-icon-link:hover {
  color: var(--color-primary);
  background: var(--color-surface);
}
