/* =============================================================
   WattLab Review — styles.css
   1. Tokens  2. Reset & base  3. Utilities  4. Typography
   5. Components  6. Sections & pages  7. Effects
   8. Responsive  9. Reduced motion
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --ink: #0B1015;
  --ink-2: #121A22;
  --ink-3: #1B2631;
  --ink-line: #26333F;
  --paper: #F4F5F1;
  --card: #FFFFFF;
  --line: #E2E5DF;
  --line-2: #D3D8D0;
  --text: #121820;
  --muted: #5A6570;
  --muted-light: #9AA7B2;

  --volt: #C8F33A;
  --volt-2: #B4E01F;
  --volt-deep: #4F7A00;
  --volt-ink: #0B1015;
  --solar: #FFB020;
  --amazon: #FF9F1C;
  --amazon-2: #F28C00;
  --good: #128A55;
  --good-bg: #E7F6EE;
  --bad: #C9373D;
  --bad-bg: #FCECEC;

  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow-1: 0 1px 2px rgba(11, 16, 21, .06), 0 4px 16px rgba(11, 16, 21, .05);
  --shadow-2: 0 2px 6px rgba(11, 16, 21, .08), 0 18px 40px -12px rgba(11, 16, 21, .18);
  --gutter: clamp(16px, 4vw, 32px);
  --max: 1240px;
  --header-h: 68px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 56px); }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.1; letter-spacing: -0.02em; font-family: var(--display); }
ul, ol { padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--volt); color: var(--volt-ink); }
:focus-visible { outline: 2px solid var(--volt-deep); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: fixed; top: -100px; left: 1rem; padding: .6rem 1rem; background: var(--volt); color: var(--volt-ink); z-index: 9999; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 1rem; }
.mono { font-family: var(--mono); font-feature-settings: "tnum"; }
.strong { font-weight: 700; }
.muted { color: var(--muted); }
.center { text-align: center; margin-top: 1.5rem; }
.fine { font-size: .82rem; color: var(--muted); margin-top: .75rem; }
.na { color: var(--muted-light); }
.ico { width: 20px; height: 20px; flex: none; }
html:not(.js) .js-only { display: none !important; }
.toolbar, .dev-chips { display: flex; }

/* =============================================================
   4. Typography
   ============================================================= */
.h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); margin-bottom: .9rem; }
.h3 { font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); margin-bottom: .6rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--mono); font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: .7rem;
}
.eyebrow .ico { width: 15px; height: 15px; }
.eyebrow--volt { color: var(--volt-deep); }
.panel-dark .eyebrow--volt, .hero .eyebrow--volt, .page-hero .eyebrow--volt { color: var(--volt); }
.lead { font-size: 1.15rem; line-height: 1.65; color: var(--text); max-width: 68ch; }
.prose { max-width: 72ch; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.05rem; }
.prose p:last-child { margin-bottom: 0; }
.prose ul { padding-left: 0; }
.prose ul li { position: relative; padding-left: 1.4rem; margin-bottom: .5rem; }
.prose ul li::before { content: ""; position: absolute; left: .2rem; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--volt-2); }
.prose a { color: var(--volt-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose h2 { font-size: 1.5rem; margin: 2rem 0 .8rem; }
.prose--doc { max-width: 78ch; }
.prose code { font-family: var(--mono); font-size: .88em; background: #E9ECE6; padding: .1em .35em; border-radius: 4px; }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; color: var(--volt-deep); }
.link-arrow .ico { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.link-arrow:hover .ico { transform: translateX(3px); }

/* =============================================================
   5. Components
   ============================================================= */
/* Buttons */
.btn {
  --h: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: var(--h); padding: 0 1.15rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; line-height: 1; white-space: nowrap;
  transition: transform .25s var(--ease-out), background-color .2s, box-shadow .25s, color .2s, border-color .2s;
}
.btn .ico { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-sm { --h: 38px; padding: 0 .9rem; font-size: .86rem; }
.btn-sm .ico { width: 16px; height: 16px; }
.btn-xs { --h: 32px; padding: 0 .75rem; font-size: .8rem; }
.btn-xs .ico { width: 14px; height: 14px; }
.btn-lg { --h: 54px; padding: 0 1.6rem; font-size: 1.02rem; }
.btn-amazon { background: var(--amazon); color: #1A1200; box-shadow: 0 1px 0 rgba(0,0,0,.08), inset 0 -2px 0 rgba(0,0,0,.08); }
.btn-amazon:hover { background: var(--amazon-2); transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(242, 140, 0, .6); }
.btn-volt { background: var(--volt); color: var(--volt-ink); }
.btn-volt:hover { background: var(--volt-2); transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(180, 224, 31, .8); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--text); }
.btn-outline-light { color: #fff; border: 1.5px solid rgba(255,255,255,.28); }
.btn-outline-light:hover { border-color: var(--volt); color: var(--volt); }
.btn-icon { width: var(--h); padding: 0; border: 1.5px solid var(--line-2); }
.btn-icon .when-off, .btn-icon .when-on { display: inline-flex; font-size: 0; gap: 0; }
.btn-icon:hover { border-color: var(--text); }
[data-compare-toggle] .when-off { display: inline-flex; align-items: center; gap: .4rem; }
[data-compare-toggle] .when-on { display: none; }
[data-compare-toggle][aria-pressed="true"] .when-off { display: none; }
[data-compare-toggle][aria-pressed="true"] .when-on { display: inline-flex; align-items: center; gap: .4rem; }
[data-compare-toggle][aria-pressed="true"] { background: var(--ink); color: var(--volt); border-color: var(--ink); }
.btn-icon[aria-pressed="true"] .when-on { font-size: 0; }

/* Cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-1); }
.grid-cards { display: grid; gap: 20px; grid-template-columns: 1fr; }
.product-card { display: flex; flex-direction: column; overflow: hidden; transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .2s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--line-2); }
.card-media {
  position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 100%, #E9EDE4 0%, #F7F8F5 60%, #fff 100%);
}
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform .6s var(--ease-out); }
.product-card:hover .card-media img { transform: scale(1.045); }
.card-rank { position: absolute; top: 12px; left: 12px; z-index: 1; font-family: var(--mono); font-weight: 600; font-size: .78rem; background: var(--ink); color: var(--volt); padding: .3rem .55rem; border-radius: 8px; }
.card-label { position: absolute; top: 12px; right: 12px; z-index: 1; font-size: .74rem; font-weight: 600; background: var(--volt); color: var(--volt-ink); padding: .3rem .6rem; border-radius: 999px; }
.card-body { display: flex; flex-direction: column; gap: .65rem; padding: 18px 18px 20px; flex: 1; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.card-brand { font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card-title { font-size: 1.22rem; }
.card-title a:hover { color: var(--volt-deep); }
.card-verdict { color: var(--muted); font-size: .93rem; line-height: 1.5; }
.card-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; padding-top: .4rem; }

/* Spec chips */
.chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.chips li { display: flex; flex-direction: column; padding: .5rem .65rem; border-radius: 10px; background: #F3F5F0; border: 1px solid #ECEFE8; }
.chip-v { font-family: var(--mono); font-weight: 600; font-size: .9rem; letter-spacing: -.01em; }
.chip-k { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

/* Score ring */
.score {
  --p: 0; --s: 46px;
  position: relative; display: inline-grid; place-items: center; width: var(--s); height: var(--s); border-radius: 50%; flex: none;
  background: conic-gradient(var(--volt-2) calc(var(--p) * 1%), #E4E8E0 0);
}
.score::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--ink); }
.score-num { position: relative; font-family: var(--mono); font-weight: 600; color: #fff; font-size: .9rem; line-height: 1; }
.score-of { display: none; }
.score--sm { --s: 42px; }
.score--sm .score-num { font-size: .82rem; }
.score--lg { --s: 76px; }
.score--lg::before { inset: 6px; }
.score--lg .score-num { font-size: 1.45rem; }
.score--lg .score-of { display: block; position: absolute; bottom: 14px; font-family: var(--mono); font-size: .58rem; color: var(--muted-light); }
.panel-dark .score { background: conic-gradient(var(--volt) calc(var(--p) * 1%), var(--ink-line) 0); }

/* Price */
.price { display: flex; align-items: baseline; gap: .5rem; }
.price-v { font-family: var(--mono); font-weight: 600; font-size: 1.15rem; }
.price-note { font-size: .74rem; color: var(--muted); }
.price-block { display: grid; gap: .1rem; padding: .9rem 1rem; border-radius: var(--r-sm); background: #F3F5F0; border: 1px dashed var(--line-2); }
.price-label { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.price-block .price-v { font-size: 1.6rem; }

/* Tables */
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.data-table th, .data-table td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--line); font-size: .93rem; vertical-align: top; }
.data-table thead th { font-family: var(--mono); font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); background: #F7F8F5; white-space: nowrap; }
.data-table tbody tr:last-child > * { border-bottom: 0; }
.data-table tbody th { font-weight: 600; }
.data-table a { color: var(--volt-deep); font-weight: 600; }

/* Breadcrumb */
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .35rem; font-size: .82rem; color: var(--muted); padding: 1rem 0; }
.breadcrumb li + li::before { content: "/"; margin-right: .35rem; opacity: .5; }
.breadcrumb a:hover { color: var(--text); }
.page-hero .breadcrumb ol, .hero .breadcrumb ol { color: var(--muted-light); padding-top: 0; }
.page-hero .breadcrumb a:hover { color: #fff; }

/* Callout, FAQ, empty */
.callout { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: var(--r-sm); background: #FFF6E2; border: 1px solid #F5DFA8; margin: 1.2rem 0; font-size: .93rem; }
.callout .ico { color: #B07800; margin-top: 2px; }
.faq-list { display: grid; gap: 10px; max-width: 860px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); }
.faq-item summary { list-style: none; cursor: pointer; padding: 1rem 3rem 1rem 1.1rem; font-weight: 600; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 1.2rem; color: var(--volt-deep); transition: transform .3s var(--ease-out); }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { padding: 0 1.1rem 1.1rem; color: var(--muted); }
.empty { padding: clamp(24px, 5vw, 48px); text-align: center; display: grid; justify-items: center; gap: .6rem; }
.empty > .ico { width: 40px; height: 40px; color: var(--volt-deep); }
.empty p { max-width: 60ch; color: var(--muted); }
.empty .grid-cards { margin-top: 1.4rem; text-align: left; width: 100%; }

/* =============================================================
   6. Sections & pages
   ============================================================= */
/* Top bar + header */
.topbar { background: var(--ink); color: var(--muted-light); font-size: .76rem; }
.topbar-inner { display: flex; align-items: center; gap: .5rem; min-height: 32px; padding-block: .35rem; }
.topbar .ico { width: 14px; height: 14px; color: var(--volt); }
.topbar a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 16, 21, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(255,255,255,.06); color: #fff; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .site-header { background: var(--ink); } }
.header-inner { display: flex; align-items: center; gap: 1rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: #fff; }
.logo-mark { width: 34px; height: 34px; color: #fff; flex: none; }
.brand-name { font-family: var(--display); font-size: 1.32rem; font-weight: 600; letter-spacing: -.02em; }
.brand-name b { color: var(--volt); font-weight: 700; }
.main-nav { display: none; margin-left: auto; }
.nav-links { display: flex; gap: .25rem; }
.nav-links a { display: block; padding: .5rem .75rem; border-radius: 999px; font-size: .92rem; font-weight: 500; color: #C9D2DA; transition: color .2s, background-color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.07); }
.site-header a.nav-cta, .site-header a.nav-cta:hover {
  display: inline-flex; align-items: center; gap: .45rem; margin-left: auto; padding: 0 1rem; height: 40px; border-radius: 999px;
  background: var(--volt); color: var(--volt-ink); font-weight: 600; font-size: .92rem;
}
.site-header a.nav-cta:hover { background: var(--volt-2); }
.nav-cta .ico { width: 18px; height: 18px; }
.tray-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: var(--volt); font-family: var(--mono); font-size: .75rem; }
.mobile-nav { position: relative; }
.mobile-nav summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; cursor: pointer; color: #fff; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary .ico { width: 24px; height: 24px; }
.mobile-nav[open] summary { background: rgba(255,255,255,.08); }
.mobile-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(84vw, 320px); background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: var(--r); padding: .5rem; box-shadow: 0 24px 48px -12px rgba(0,0,0,.5); }
.mobile-panel a { display: block; padding: .8rem 1rem; border-radius: 10px; color: #DCE3E9; font-weight: 500; }
.mobile-panel a:hover { background: rgba(255,255,255,.06); color: #fff; }

/* Hero (home) */
.hero { position: relative; overflow: hidden; background: radial-gradient(90% 120% at 85% 10%, #1D2B22 0%, var(--ink) 55%); color: #fff; padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 100px); isolation: isolate; }
.hero-grid-bg { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(70% 80% at 70% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(70% 80% at 70% 40%, #000 20%, transparent 75%); }
.hero-inner { display: grid; gap: 40px; align-items: center; }
.hero-title { font-size: clamp(2.3rem, 1.4rem + 4vw, 4.4rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; }
.hero-title .hl { color: var(--volt); position: relative; white-space: nowrap; }
.hero-lede { margin-top: 1.2rem; font-size: clamp(1rem, .95rem + .3vw, 1.18rem); color: #B6C1CA; max-width: 58ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.1); }
.hero-stats li { display: grid; }
.stat-v { font-family: var(--mono); font-size: 1.9rem; font-weight: 600; color: #fff; line-height: 1.1; }
.stat-k { font-size: .82rem; color: var(--muted-light); }
.hero-visual { position: relative; min-height: 340px; width: 100%; max-width: 560px; margin-inline: auto; }
.hero-orb { position: absolute; inset: 8% 6%; border-radius: 50%; background: radial-gradient(circle at 50% 55%, rgba(200,243,58,.28), rgba(200,243,58,0) 62%); filter: blur(6px); }
.hero-img { position: absolute; filter: drop-shadow(0 30px 40px rgba(0,0,0,.55)); }
.hero-img--a { width: 68%; right: 4%; top: 2%; }
.hero-img--b { width: 40%; left: 0; bottom: 0; }
.float-chip { position: absolute; display: grid; gap: .1rem; padding: .65rem .9rem; border-radius: 14px; background: rgba(18, 26, 34, .82); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: .74rem; color: var(--muted-light); box-shadow: 0 16px 32px -12px rgba(0,0,0,.6); }
.float-chip .mono { color: #fff; font-size: 1rem; }
.float-chip--1 { left: 2%; top: 4%; }
.float-chip--2 { right: 0; bottom: 18%; }
.float-chip--3 { display: flex; align-items: center; gap: .6rem; left: 42%; bottom: 0; }
.mini-gauge { width: 54px; height: 20px; border: 2px solid #fff; border-radius: 5px; padding: 2px; position: relative; }
.mini-gauge::after { content: ""; position: absolute; right: -6px; top: 4px; width: 3px; height: 8px; background: #fff; border-radius: 0 2px 2px 0; }
.mini-gauge span { display: block; height: 100%; width: var(--lvl); background: var(--volt); border-radius: 2px; animation: charge 3.2s var(--ease-soft) infinite; }

/* Page hero (inner pages) */
.page-hero { background: radial-gradient(80% 140% at 90% 0%, #1A2820 0%, var(--ink) 60%); color: #fff; padding: 1.1rem 0 clamp(32px, 5vw, 56px); }
.page-hero-grid { display: grid; gap: 1.5rem; align-items: end; }
.page-title { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); font-weight: 700; letter-spacing: -.03em; max-width: 22ch; }
.page-lede { margin-top: .9rem; color: #B6C1CA; font-size: 1.1rem; max-width: 62ch; }
.page-hero-stat { display: grid; padding: 1rem 1.3rem; border: 1px solid var(--ink-line); border-radius: var(--r); background: rgba(255,255,255,.03); justify-self: start; }
.page-hero-stat .stat-v { color: var(--volt); }
.byline { margin-top: 1rem; color: var(--muted-light); font-size: .88rem; }
.byline a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

.section { padding-block: clamp(36px, 5vw, 64px); }
.section + .section { padding-top: 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.section-head .h2 { margin-bottom: 0; }
.panel-dark { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: clamp(24px, 4vw, 48px); margin-block: clamp(20px, 4vw, 40px); }
.section.panel-dark + .section { padding-top: clamp(36px, 5vw, 64px); }
.panel-dark .muted { color: var(--muted-light); }
.two-col { display: grid; gap: 28px; align-items: start; }

/* Category cards */
.cat-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.cat-card { position: relative; display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "ico name count" "ico lede lede"; gap: .15rem .9rem; align-items: center; padding: 18px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); transition: transform .3s var(--ease-out), border-color .2s, box-shadow .3s; }
.cat-card:hover { transform: translateY(-3px); border-color: var(--ink); box-shadow: var(--shadow-2); }
.cat-ico { grid-area: ico; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--ink); color: var(--volt); }
.cat-ico .ico { width: 26px; height: 26px; }
.cat-name { grid-area: name; font-family: var(--display); font-weight: 600; font-size: 1.1rem; }
.cat-count { grid-area: count; font-family: var(--mono); font-size: .72rem; color: var(--muted); background: #F1F3EE; padding: .2rem .5rem; border-radius: 999px; }
.cat-lede { grid-area: lede; font-size: .86rem; color: var(--muted); line-height: 1.45; }

/* Guide cards & teasers */
.grid-guides { display: grid; gap: 16px; grid-template-columns: 1fr; }
.guide-card { display: flex; flex-direction: column; gap: .4rem; padding: 22px; transition: transform .3s var(--ease-out), box-shadow .3s; }
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.guide-card p { color: var(--muted); font-size: .93rem; }
.guide-card .link-arrow { margin-top: auto; padding-top: .5rem; }
.guide-teaser { display: grid; gap: .5rem; padding: 22px; border-radius: var(--r); background: var(--ink); color: #fff; transition: transform .3s var(--ease-out); }
.guide-teaser:hover { transform: translateY(-3px); }
.guide-teaser strong { font-family: var(--display); font-size: 1.3rem; line-height: 1.2; }
.guide-teaser .link-arrow { color: var(--volt); }

/* Tips */
.tips { display: grid; gap: 14px; grid-template-columns: 1fr; counter-reset: tip; }
.tips li { position: relative; padding: 20px 20px 20px 64px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); counter-increment: tip; }
.tips li::before { content: counter(tip, decimal-leading-zero); position: absolute; left: 18px; top: 18px; font-family: var(--mono); font-weight: 600; color: var(--volt-deep); font-size: .95rem; }
.tips h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.tips p { color: var(--muted); font-size: .93rem; }

/* Quick match */
.qm-grid { display: grid; gap: 28px; }
.use-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.use-chip, .dev-chip { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem .95rem; border-radius: 999px; border: 1.5px solid var(--ink-line); color: #C9D2DA; font-weight: 500; font-size: .9rem; transition: all .2s; }
.use-chip .ico, .dev-chip .ico { width: 18px; height: 18px; }
.use-chip:hover { border-color: var(--muted-light); color: #fff; }
.use-chip.is-active { background: var(--volt); color: var(--volt-ink); border-color: var(--volt); }
.qm-results { display: grid; gap: 10px; align-content: start; }
.qm-row { display: grid; grid-template-columns: auto 56px 1fr auto; align-items: center; gap: .9rem; padding: 12px 14px; border-radius: 14px; background: var(--ink-2); border: 1px solid var(--ink-line); animation: rise .5s var(--ease-out) both; }
.qm-row:first-child { border-color: rgba(200,243,58,.45); background: linear-gradient(90deg, rgba(200,243,58,.08), transparent 70%), var(--ink-2); }
.qm-rank { font-family: var(--mono); color: var(--volt); font-weight: 600; width: 1.6rem; }
.qm-row img { width: 56px; height: 56px; object-fit: contain; background: #fff; border-radius: 10px; padding: 4px; }
.qm-name { font-weight: 600; }
.qm-name a:hover { color: var(--volt); }
.qm-why { display: block; font-size: .8rem; color: var(--muted-light); }
.qm-fit { font-family: var(--mono); font-size: .9rem; color: #fff; text-align: right; }
.qm-fit small { display: block; font-size: .65rem; color: var(--muted-light); text-transform: uppercase; letter-spacing: .06em; }

/* How we score */
.how-grid { display: grid; gap: 28px; align-items: start; }
.how-grid p { color: var(--muted); margin-bottom: 1rem; }
.axes { display: grid; gap: 8px; }
.axes li { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; padding: .85rem 1rem; background: var(--card); border: 1px solid var(--line); border-radius: 12px; font-size: .9rem; }
.axis-k { font-family: var(--mono); font-weight: 600; font-size: .82rem; color: var(--volt-deep); }
.axis-d { color: var(--muted); }

/* ---------- Product page (ficha) ---------- */
.ficha-hero { display: grid; gap: 28px; padding-bottom: clamp(24px, 4vw, 48px); }
/* Grid children with scrolling rows inside must be allowed to shrink */
.ficha-hero > *, .scores-grid > *, .two-col > *, .qm-grid > *, .how-grid > *, .cmp-visual-grid > *, .pick > * { min-width: 0; }
.center .btn { white-space: normal; text-align: center; height: auto; padding-block: .75rem; line-height: 1.3; }
.gallery-main { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: clamp(12px, 3vw, 32px); transition: opacity .25s; }
.gallery-main img.is-swapping { opacity: 0; }
.gallery-credit { position: absolute; left: 12px; bottom: 10px; font-size: .68rem; color: var(--muted); background: rgba(255,255,255,.75); padding: .15rem .45rem; border-radius: 6px; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding: 2px; scrollbar-width: thin; }
.thumb { display: block; width: 72px; height: 72px; flex: none; border-radius: 12px; border: 2px solid var(--line); background: #fff; overflow: hidden; transition: border-color .2s; }
.thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.thumb:hover { border-color: var(--line-2); }
.thumb.is-active { border-color: var(--ink); }
.ficha-head { display: flex; flex-direction: column; gap: 1rem; }
.ficha-head .eyebrow { margin-bottom: -.4rem; }
.ficha-title { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); font-weight: 700; letter-spacing: -.03em; }
.ficha-verdict { font-size: 1.12rem; color: var(--muted); }
.ficha-score-row { display: flex; align-items: center; gap: 1rem; }
.score-label { font-weight: 700; font-family: var(--display); font-size: 1.1rem; }
.score-sub { font-size: .82rem; color: var(--muted); }
.score-sub a { text-decoration: underline; text-underline-offset: 2px; }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.tiles li { display: grid; padding: .8rem .9rem; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.tile-v { font-family: var(--mono); font-weight: 600; font-size: 1.05rem; }
.tile-k { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.ficha-ctas { display: flex; flex-wrap: wrap; gap: .6rem; }
.ficha-ctas .btn-amazon { flex: 1 1 260px; }
.aff-mini { display: flex; align-items: center; gap: .4rem; font-size: .76rem; color: var(--muted); }
.aff-mini .ico { width: 14px; height: 14px; }

.subnav { position: sticky; top: var(--header-h); z-index: 40; background: rgba(244,245,241,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-block: 1px solid var(--line); }
.subnav ul { display: flex; gap: .2rem; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: .8rem .85rem; font-size: .88rem; font-weight: 500; color: var(--muted); white-space: nowrap; border-bottom: 2px solid transparent; }
.subnav a:hover, .subnav a.is-current { color: var(--text); border-bottom-color: var(--volt-2); }

.fit-grid { display: grid; gap: 12px; margin-top: 1.4rem; }
.fit { padding: 18px 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.fit h3 { display: flex; align-items: center; gap: .5rem; font-size: 1rem; margin-bottom: .4rem; }
.fit h3 .ico { width: 18px; height: 18px; }
.fit--yes h3 .ico { color: var(--good); }
.fit--no h3 .ico { color: var(--bad); }
.fit p { color: var(--muted); font-size: .95rem; }

.scores-grid { display: grid; gap: 28px; align-items: center; }
.bars { display: grid; gap: 10px; margin-top: 1.2rem; }
.bars li { display: grid; grid-template-columns: 110px 1fr 40px; align-items: center; gap: .8rem; font-size: .88rem; }
.bar-k { color: #C9D2DA; }
.bar { height: 8px; border-radius: 99px; background: var(--ink-3); overflow: hidden; }
.bar > span { display: block; height: 100%; width: var(--w); border-radius: 99px; background: linear-gradient(90deg, var(--volt-2), var(--volt)); transform-origin: left; }
.bar-v { text-align: right; color: #fff; }
.parts { margin-top: 1.6rem; border-top: 1px solid var(--ink-line); padding-top: 1rem; }
.parts summary { cursor: pointer; font-weight: 600; color: var(--volt); }
.parts ul { display: grid; gap: 6px; margin-top: .8rem; }
.parts li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem .8rem; border-radius: 8px; background: var(--ink-2); font-size: .9rem; color: #C9D2DA; }

/* Radar */
.radar-wrap { display: grid; justify-items: center; gap: .8rem; }
.radar-wrap figcaption { font-size: .78rem; color: var(--muted-light); text-align: center; }
.radar-wrap figcaption a { color: var(--volt); }
.radar { width: 100%; max-width: 380px; height: auto; overflow: visible; }
.radar-ring { fill: none; stroke: var(--ink-line); stroke-width: 1; }
.radar-ring--outer { stroke: #3A4A58; }
.radar-spoke { stroke: var(--ink-line); stroke-width: 1; }
.radar-label { fill: #C9D2DA; font-family: var(--mono); font-size: 11px; font-weight: 500; }
.radar-area { fill: var(--c); fill-opacity: .22; stroke: var(--c); stroke-width: 2.2; stroke-linejoin: round; }
.radar-dot { fill: var(--c); stroke: var(--ink); stroke-width: 1.5; }
.ficha .radar-area { fill: var(--volt); stroke: var(--volt); fill-opacity: .2; }
.ficha .radar-dot { fill: var(--volt); }

/* Runtime */
.runtime-box { display: grid; gap: 1rem; margin-top: 1rem; }
.runtime-table .dev { display: inline-flex; align-items: center; gap: .55rem; font-weight: 500; }
.runtime-table .dev .ico { width: 18px; height: 18px; color: var(--volt-deep); }
.runtime-table tr.is-over td:last-child { color: var(--bad); font-weight: 500; }
.runtime-custom { display: grid; gap: .5rem; padding: 18px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.runtime-custom label { font-weight: 600; font-size: .92rem; }
.runtime-input { display: inline-flex; align-items: center; gap: .4rem; }
.runtime-input input { width: 140px; height: 44px; padding: 0 .9rem; border-radius: 10px; border: 1.5px solid var(--line-2); background: #fff; font-family: var(--mono); font-size: 1rem; }
.runtime-input input:focus { outline: none; border-color: var(--ink); }
.runtime-input span { font-family: var(--mono); color: var(--muted); }
.runtime-custom output { font-family: var(--mono); font-size: .95rem; }
.runtime-custom output strong { color: var(--volt-deep); font-size: 1.15rem; }

/* Specs */
.spec-groups { display: grid; gap: 16px; margin-top: 1rem; }
.spec-group { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.spec-group h3 { font-size: .78rem; font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: .85rem 1rem; background: #F7F8F5; border-bottom: 1px solid var(--line); color: var(--muted); }
.spec-table th, .spec-table td { padding: .7rem 1rem; border-bottom: 1px solid #EEF0EC; font-size: .92rem; text-align: left; vertical-align: top; }
.spec-table tr:last-child > * { border-bottom: 0; }
.spec-table th { width: 48%; font-weight: 500; color: var(--muted); }
.spec-table td { font-family: var(--mono); font-weight: 500; font-size: .88rem; }
.spec-notes { margin-top: 1rem; display: grid; gap: .35rem; font-size: .84rem; color: var(--muted); }
.sources { margin-top: 1rem; font-size: .88rem; }
.sources summary { cursor: pointer; font-weight: 600; }
.sources ul { margin-top: .5rem; display: grid; gap: .3rem; }
.sources a { color: var(--volt-deep); text-decoration: underline; text-underline-offset: 2px; }

/* CTA bands */
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 20px 24px; border-radius: var(--r); background: #FFF4E0; border: 1px solid #F7DDAE; margin-block: clamp(24px, 4vw, 40px); }
.cta-band-k { font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: #9A6200; }
.cta-band-t { font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
.cta-band--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.cta-band--dark .cta-band-k { color: var(--volt); }

/* Pros / cons */
.pc-grid { display: grid; gap: 14px; margin-top: 2rem; }
.pc-col { padding: 20px 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.pc-col h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.1rem; margin-bottom: .8rem; }
.pc-col h3 svg, .pc-col li svg { width: 1.15em; height: 1.15em; flex: none; }
.pc-col ul { display: grid; gap: .6rem; }
.pc-col li { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; }
.pc-col li svg { margin-top: .2em; }
.pc-col--pro { border-top: 4px solid var(--good); }
.pc-col--pro svg { color: var(--good); }
.pc-col--con { border-top: 4px solid var(--bad); }
.pc-col--con svg { color: var(--bad); }

.owners { padding: 22px; max-width: 860px; }
.owners p:last-child { color: var(--text); }
.owner-rating { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: .8rem; }
.owner-rating strong { font-family: var(--mono); font-size: 1.2rem; }
.owner-rating span { color: var(--muted); font-size: .88rem; }
.stars { display: inline-flex; gap: 2px; }
.ico.star { width: 18px; height: 18px; color: #D5D9D1; fill: currentColor; stroke: none; }
.ico.star.is-on { color: var(--amazon); }

.vs-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.vs-links a { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .9rem; border-radius: 999px; background: var(--card); border: 1.5px solid var(--line-2); font-weight: 600; font-size: .9rem; transition: border-color .2s; }
.vs-links a:hover { border-color: var(--ink); }
.vs-links .ico { width: 16px; height: 16px; color: var(--volt-deep); }

/* ---------- Guides ---------- */
.page-hero--guide .page-title { max-width: 24ch; }
.guide-layout { padding-top: clamp(28px, 4vw, 48px); }
.lead-prose { font-size: 1.08rem; }
.quick-picks { padding: 20px 22px; margin-top: 1.6rem; }
.quick-picks ol { display: grid; gap: .5rem; }
.quick-picks li { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "rank label btn" "rank name btn"; gap: 0 .8rem; align-items: center; padding: .7rem 0; border-top: 1px solid var(--line); }
.quick-picks li:first-child { border-top: 0; }
.qp-rank { grid-area: rank; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--ink); color: var(--volt); font-family: var(--mono); font-weight: 600; font-size: .85rem; }
.qp-label { grid-area: label; font-size: .74rem; font-family: var(--mono); color: var(--volt-deep); text-transform: uppercase; letter-spacing: .06em; }
.quick-picks li > a:not(.btn) { grid-area: name; font-weight: 600; }
.quick-picks .btn { grid-area: btn; }
.picks { display: grid; gap: 22px; }
.pick { display: grid; gap: 20px; padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); }
.pick-media { position: relative; aspect-ratio: 1; border-radius: var(--r); background: radial-gradient(110% 90% at 50% 100%, #E5EADF, #F8F9F6 55%, #fff); overflow: hidden; }
.pick-media img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.pick-rank { position: absolute; top: 12px; left: 12px; font-family: var(--mono); font-weight: 600; background: var(--ink); color: var(--volt); padding: .35rem .6rem; border-radius: 9px; }
.pick-body { display: flex; flex-direction: column; gap: .8rem; }
.pick-title { font-size: 1.6rem; }
.pick-title a:hover { color: var(--volt-deep); }
.pick-score { display: flex; align-items: center; gap: .6rem; font-size: .85rem; color: var(--muted); }
.pick .chips { grid-template-columns: repeat(2, 1fr); }
.pc-mini { font-size: .9rem; color: var(--muted); display: grid; gap: .3rem; }
.pc-mini strong { color: var(--text); }

/* ---------- Comparator ---------- */
.page-hero--compare { padding-bottom: clamp(28px, 4vw, 48px); }
.picker-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.picker-search input { width: min(320px, 100%); height: 44px; padding: 0 1rem; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; }
.picker-search input:focus { outline: none; border-color: var(--ink); }
.picker { display: grid; gap: 10px; grid-template-columns: 1fr; }
.pick-chip { position: relative; display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: .8rem; padding: 10px 12px; border-radius: 14px; background: var(--card); border: 1.5px solid var(--line); cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease-out); }
.pick-chip:hover { border-color: var(--line-2); transform: translateY(-1px); }
.pick-chip input { position: absolute; opacity: 0; pointer-events: none; }
.pick-chip img { width: 56px; height: 56px; object-fit: contain; border-radius: 10px; background: #F4F6F1; padding: 4px; }
.pick-chip-txt { display: grid; line-height: 1.3; min-width: 0; }
.pick-chip-brand { font-family: var(--mono); font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.pick-chip-name { font-weight: 600; }
.pick-chip-meta { font-size: .76rem; color: var(--muted); }
.pick-chip-check { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; border: 1.5px solid var(--line-2); color: transparent; transition: all .2s; }
.pick-chip-check .ico { width: 16px; height: 16px; }
.pick-chip:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(200,243,58,.5); }
.pick-chip:has(input:checked) .pick-chip-check { background: var(--ink); border-color: var(--ink); color: var(--volt); }
.pick-chip:has(input:focus-visible) { outline: 2px solid var(--volt-deep); outline-offset: 2px; }
.pick-chip.is-disabled { opacity: .45; }

.cmp-empty { padding: clamp(28px, 5vw, 48px); text-align: center; display: grid; justify-items: center; gap: .6rem; }
.cmp-empty > .ico { width: 40px; height: 40px; color: var(--volt-deep); }
.cmp-presets { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: .4rem; }
.cmp-presets .btn { white-space: normal; max-width: 100%; height: auto; min-height: 2rem; text-align: center; line-height: 1.25; }

.cmp-heads { display: grid; gap: 12px; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); }
.cmp-head { position: relative; display: flex; flex-direction: column; gap: .55rem; padding: 14px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); border-top: 5px solid var(--c); }
.cmp-head-img { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #F4F6F1; }
.cmp-head-img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.cmp-head-name { font-family: var(--display); font-weight: 600; font-size: 1.02rem; line-height: 1.2; }
.cmp-head-name a:hover { color: var(--volt-deep); }
.cmp-head-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.cmp-head .btn { width: 100%; }
.cmp-remove { position: absolute; top: -10px; right: -10px; z-index: 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; box-shadow: var(--shadow-1); }
.cmp-remove .ico { width: 14px; height: 14px; }
.cmp-remove:hover { background: var(--bad); }

.cmp-visual-grid { display: grid; gap: 32px; }
.legend { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; justify-content: center; font-size: .85rem; }
.legend li { display: inline-flex; align-items: center; gap: .45rem; color: #DCE3E9; }
.legend i { width: 14px; height: 14px; border-radius: 4px; background: var(--c); }
.winners { display: grid; gap: 8px; }
.winners li { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; align-items: center; padding: .8rem 1rem; border-radius: 12px; background: var(--ink-2); border: 1px solid var(--ink-line); }
.winners .w-k { font-size: .78rem; color: var(--muted-light); text-transform: uppercase; letter-spacing: .06em; font-family: var(--mono); }
.winners .w-name { font-weight: 600; display: inline-flex; align-items: center; gap: .45rem; }
.winners .w-name i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); flex: none; }
.winners .w-v { grid-row: 1 / span 2; grid-column: 2; font-family: var(--mono); color: var(--volt); font-size: .95rem; text-align: right; }

.dev-chips { flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.dev-chip { border-color: var(--line-2); color: var(--text); background: var(--card); }
.dev-chip:hover { border-color: var(--ink); }
.dev-chip .ico { color: var(--volt-deep); }
.dev-chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.dev-chip.is-active .ico { color: var(--volt); }
.runtime-input--inline { margin-bottom: 1.2rem; gap: .6rem; }
.runtime-input--inline label { font-weight: 600; font-size: .9rem; }

.hbars { display: grid; gap: 12px; }
.hbar { display: grid; gap: .35rem; }
.hbar-top { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; }
.hbar-top b { font-weight: 600; display: inline-flex; align-items: center; gap: .45rem; }
.hbar-top b i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.hbar-track { height: 14px; border-radius: 99px; background: #E7EAE3; overflow: hidden; }
.hbar-fill { height: 100%; width: var(--w); border-radius: 99px; background: var(--c); transition: width .7s var(--ease-out); }
.hbar.is-best .hbar-top span { color: var(--good); font-weight: 600; }
.hbar.is-over .hbar-top span { color: var(--bad); }

.metric-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.metric { padding: 18px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.metric h3 { font-size: .8rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: .9rem; }
.metric .hbars { gap: 10px; }
.metric .hbar-track { height: 10px; }

.cmp-wrap { max-height: none; }
.cmp-table { min-width: 560px; table-layout: fixed; }
.cmp-table thead th:first-child, .cmp-table tbody th { width: 210px; }
.cmp-table th, .cmp-table td { padding: .7rem .9rem; border-bottom: 1px solid #EEF0EC; text-align: left; font-size: .9rem; vertical-align: top; }
.cmp-table thead th { position: sticky; top: 0; background: #F7F8F5; font-family: var(--display); font-size: .95rem; z-index: 1; }
.cmp-table thead th a { color: var(--text); }
.cmp-table tbody th { position: sticky; left: 0; background: var(--card); font-weight: 500; color: var(--muted); z-index: 1; min-width: 150px; box-shadow: 1px 0 0 var(--line); }
.cmp-table td { font-family: var(--mono); font-size: .86rem; min-width: 140px; }
.cmp-table tr.group-row th { position: static; background: var(--ink); color: var(--volt); font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; box-shadow: none; }
.cmp-table td.is-best { background: var(--good-bg); color: var(--good); font-weight: 600; }
.cmp-table td.is-best::after { content: " ★"; font-size: .75em; }
.best-dot { display: inline-block; width: 12px; height: 12px; border-radius: 3px; background: var(--good-bg); border: 1px solid var(--good); vertical-align: -1px; margin-right: .3rem; }
.js [data-cmp-static].is-hidden-by-app { display: none; }

/* Compare tray */
.compare-tray { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); background: rgba(11,16,21,.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--ink-line); color: #fff; animation: trayIn .45s var(--ease-out); }
.tray-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tray-items { display: flex; gap: 12px; padding: 8px 8px 0 0; overflow: visible; }
.tray-slot { position: relative; }
.tray-thumb { width: 48px; height: 48px; border-radius: 10px; background: #fff; overflow: hidden; }
.tray-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.tray-x { position: absolute; top: -8px; right: -8px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--bad); color: #fff; }
.tray-x .ico { width: 12px; height: 12px; }
.tray-actions { display: flex; gap: 8px; flex: none; }
.compare-tray .btn-ghost { color: #C9D2DA; border-color: var(--ink-line); }
.has-tray .site-footer { padding-bottom: 96px; }

/* Price checks (deals) */
.price-checks { display: grid; gap: 10px; }
.price-check { display: grid; grid-template-columns: 64px 1fr; gap: .4rem 1rem; align-items: center; padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.price-check img { width: 64px; height: 64px; object-fit: contain; border-radius: 10px; background: #F4F6F1; padding: 4px; grid-row: span 2; }
.price-check div { display: grid; gap: .1rem; }
.price-check .muted { font-size: .84rem; }
.price-check .btn { justify-self: start; }

/* Toolbar */
.toolbar { align-items: center; gap: .6rem; justify-content: flex-end; margin-bottom: 1rem; }
.toolbar label { font-size: .88rem; color: var(--muted); }
.toolbar select { height: 40px; padding: 0 2.2rem 0 .9rem; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230B1015' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .8rem center; appearance: none; -webkit-appearance: none; font-weight: 500; }

/* Footer */
.site-footer { background: var(--ink); color: var(--muted-light); padding: clamp(40px, 6vw, 72px) 0 32px; margin-top: clamp(32px, 6vw, 80px); font-size: .92rem; }
.footer-grid { display: grid; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--ink-line); }
.footer-brand p { margin: 1rem 0 1.2rem; max-width: 42ch; }
.footer-h { font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: .9rem; }
.site-footer ul { display: grid; gap: .5rem; }
.site-footer ul a:hover { color: var(--volt); }
.footer-legal { display: grid; gap: .7rem; padding-top: 24px; font-size: .8rem; line-height: 1.6; }
.footer-legal strong { color: #fff; }

/* =============================================================
   7. Effects
   ============================================================= */
@keyframes charge { 0% { width: 18%; } 70% { width: var(--lvl); } 100% { width: var(--lvl); } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes trayIn { from { transform: translateY(100%); } to { transform: none; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.float-chip--1 { animation: floaty 6s ease-in-out infinite; }
.float-chip--2 { animation: floaty 7s ease-in-out infinite .8s; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.radar-area { transition: fill-opacity .25s; }
.radar-area:hover { fill-opacity: .4; }
@view-transition { navigation: auto; }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .chips { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .price-check { grid-template-columns: 64px 1fr auto; }
  .price-check img { grid-row: auto; }
  .price-check .btn { justify-self: end; }
  .picker { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 720px) {
  .fit-grid, .pc-grid { grid-template-columns: 1fr 1fr; }
  .tips { grid-template-columns: 1fr 1fr; }
  .grid-guides { grid-template-columns: repeat(2, 1fr); }
  .pick { grid-template-columns: 240px 1fr; }
  .spec-groups { display: block; columns: 2; column-gap: 16px; }
  .spec-group { break-inside: avoid; margin-bottom: 16px; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero-grid { grid-template-columns: 1fr auto; }
  .page-hero-stat { justify-self: end; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
@media (min-width: 960px) {
  .main-nav { display: block; }
  .mobile-nav { display: none; }
  .site-header a.nav-cta { margin-left: .5rem; }
  .hero-inner { grid-template-columns: 1.15fr .85fr; }
  .hero-visual { min-height: 480px; max-width: none; }
  .hero-title { font-size: clamp(2.6rem, 1rem + 3.6vw, 4.1rem); }
  .grid-cards { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-guides { grid-template-columns: repeat(3, 1fr); }
  .ficha-hero { grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
  .gallery { position: sticky; top: calc(var(--header-h) + 16px); }
  .scores-grid { grid-template-columns: 1fr 1fr; }
  .qm-grid { grid-template-columns: .9fr 1.1fr; align-items: center; }
  .how-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .two-col { grid-template-columns: 1.6fr 1fr; gap: 48px; }
  .cmp-visual-grid { grid-template-columns: 1.1fr .9fr; align-items: start; }
  .picker { grid-template-columns: repeat(3, 1fr); }
  .metric-grid { grid-template-columns: repeat(3, 1fr); }
  .guide-layout .guide-main { max-width: 920px; }
}
@media (min-width: 1280px) {
  .nav-links a { padding: .5rem .9rem; }
}
@media (max-width: 539px) {
  .cmp-heads { grid-template-columns: repeat(var(--cols, 2), minmax(150px, 1fr)); overflow-x: auto; padding: 12px 4px 4px 0; }
  .card-actions .btn-amazon { flex: 1 1 auto; }
  .bars li { grid-template-columns: 92px 1fr 36px; }
  .qm-row { grid-template-columns: auto 48px 1fr; }
  .qm-row img { width: 48px; height: 48px; }
  .qm-fit { grid-column: 3; text-align: left; }
  .hero-visual { min-height: 300px; }
  .float-chip--3 { display: none; }
  .tray-actions .btn-ghost { display: none; }
  .brand-name { font-size: 1.15rem; }
  .site-header a.nav-cta { padding: 0 .75rem; }
  .nav-cta > span:not(.tray-count) { display: none; }
  .axes li { grid-template-columns: 1fr; gap: .2rem; }
}

/* =============================================================
   9. Reduced motion (only intrusive effects)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .float-chip--1, .float-chip--2, .mini-gauge span { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Articles ---------- */
.art-hero-grid { display: grid; gap: 24px; align-items: center; }
.art-hero-media { display: none; margin: 0; }
.art-hero-media img { width: 100%; max-width: 300px; height: auto; margin-inline: auto; filter: drop-shadow(0 18px 40px rgba(0,0,0,.45)); }
.art-body { min-width: 0; }
.art-takeaways { padding: 20px 22px; margin-bottom: 1.6rem; border-left: 4px solid var(--volt-2); }
.art-takeaways ul { margin-top: .6rem; padding-left: 0; list-style: none; }
.art-takeaways li { position: relative; padding-left: 1.4rem; margin-bottom: .45rem; }
.art-takeaways li::before { content: ""; position: absolute; left: .2rem; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--volt-2); }
.art-toc { padding: 18px 22px; margin: 1.6rem 0; max-width: 72ch; }
.art-toc ol { margin: .5rem 0 0 1.2rem; }
.art-toc li { margin-bottom: .3rem; }
.art-toc a { color: var(--volt-deep); text-decoration: underline; text-underline-offset: 3px; }
.art-prose h3 { font-size: 1.15rem; margin: 1.4rem 0 .6rem; }
.art-prose ol { padding-left: 1.3rem; }
.art-prose ol li { margin-bottom: .5rem; }
.art-section { scroll-margin-top: 90px; }
.art-prose .table-wrap, .art-prose .art-product, .art-prose .art-cta { max-width: none; }
.art-table td.win { font-weight: 700; color: var(--volt-deep); }
.art-product { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 18px; margin: 1.4rem 0; }
.art-product-media img { width: 100%; max-width: 180px; height: auto; margin-inline: auto; display: block; }
.art-product-title { font-family: var(--display, inherit); font-size: 1.2rem; font-weight: 700; margin: .2rem 0; }
.art-product-title a { color: inherit; text-decoration: none; }
.art-product-verdict { color: var(--muted); font-size: .93rem; margin-bottom: .6rem; }
.prose .art-product-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; padding: 0; margin: 0 0 .9rem; list-style: none; }
.prose .art-product-specs li { padding: 0; margin: 0; display: flex; flex-direction: column; font-size: .88rem; }
.prose .art-product-specs li::before { display: none; }
.art-product-specs span { color: var(--muted); font-size: .78rem; }
.art-product-specs strong { font-family: var(--mono); }
.prose .art-product .btn, .prose .art-cta .btn, .prose .art-table .btn { color: inherit; text-decoration: none; }
.art-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 16px 18px; margin: 1.4rem 0; border-radius: var(--r-sm, 12px); background: var(--ink); color: #fff; }
.art-cta-k { font-size: .78rem; color: var(--muted-light); text-transform: uppercase; letter-spacing: .06em; margin: 0; }
.art-cta-t { font-weight: 700; font-size: 1.05rem; margin: 0; }
.art-sources ul { padding-left: 1.2rem; }
.art-sources li { margin-bottom: .35rem; overflow-wrap: anywhere; }
.art-sources a { color: var(--volt-deep); text-decoration: underline; }
.art-card { display: flex; flex-direction: column; overflow: hidden; transition: transform .3s var(--ease-out), box-shadow .3s; }
.art-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.art-card-media { display: block; background: var(--ink-2); padding: 18px; }
.art-card-media img { width: 100%; max-width: 170px; height: 150px; object-fit: contain; margin-inline: auto; display: block; }
.art-card-body { display: flex; flex-direction: column; gap: .45rem; padding: 20px 22px 22px; flex: 1; }
.art-card-title { display: block; }
.art-card-desc { color: var(--muted); font-size: .93rem; }
.art-card .link-arrow { margin-top: auto; padding-top: .4rem; }
@media (min-width: 720px) {
  .art-product { grid-template-columns: 180px 1fr; align-items: center; }
  .prose .art-product-specs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .art-hero-grid { grid-template-columns: 1fr 300px; }
  .art-hero-media { display: block; }
}
.prose a.btn { text-decoration: none; }
.prose a.btn-dark { color: #fff; }
.prose a.btn-amazon, .prose a.btn-ghost { color: inherit; }
