/* ==========================================================================
   VoltPicks — portable power station review landing page
   Static, dependency-free, responsive. Cloudflare Pages friendly.
   ========================================================================== */

:root {
  --navy: #0d1b2a;
  --navy-2: #142c45;
  --ink: #1e293b;
  --slate: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --paper: #ffffff;
  --wash: #f5f7fa;
  --wash-2: #eef2f7;
  --amber: #f59e0b;
  --amber-dark: #b45309;
  --amber-soft: #fff7e6;
  --teal: #0f8b8d;
  --teal-soft: #e8f7f6;
  --rose: #be123c;
  --rose-soft: #fff1f3;
  --green: #15803d;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 10px 30px rgba(15, 23, 42, .06);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, .13);
  --wrap: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.18; letter-spacing: -.025em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.65rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.16rem; font-weight: 750; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--amber); color: var(--navy); font-weight: 800;
  padding: 10px 16px; border-radius: 0 0 8px 8px; transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ---------------------------------------------------------------- header -- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 850; font-size: 1.18rem; letter-spacing: -.03em; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 26px; height: 26px; border-radius: 7px; flex: none;
  background: linear-gradient(135deg, var(--amber), #fbbf24);
  position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 7px 5px;
  border-left: 3px solid var(--navy); border-bottom: 8px solid var(--navy);
  transform: skew(-18deg);
}
.site-nav { display: flex; gap: 22px; margin-left: auto; font-size: .92rem; font-weight: 650; }
.site-nav a { color: var(--slate); }
.site-nav a:hover { color: var(--navy); text-decoration: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--amber); color: #231100; font-weight: 800; font-size: .95rem;
  border: 1px solid transparent; border-radius: 10px; padding: 12px 20px;
  cursor: pointer; text-align: center; text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:hover { background: #fbbf24; color: #231100; text-decoration: none; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(245, 158, 11, .28); }
.btn-sm { padding: 8px 15px; font-size: .86rem; border-radius: 8px; white-space: nowrap; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.42); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; box-shadow: none; }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { background: var(--wash); color: var(--navy); box-shadow: none; }

/* ------------------------------------------------------------------ hero -- */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .32;
  background-image: radial-gradient(rgba(255,255,255,.13) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
}
.hero::after {
  content: ""; position: absolute; width: 520px; height: 520px; right: -120px; top: -220px;
  background: radial-gradient(circle, rgba(245,158,11,.28), transparent 66%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center;
  padding: 72px 0 78px;
}
.eyebrow {
  display: inline-block; color: #fbbf24; font-size: .79rem; font-weight: 800;
  letter-spacing: .13em; text-transform: uppercase; margin-bottom: 14px;
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em { color: #fbbf24; font-style: normal; }
.lede { color: #cbd5e1; font-size: 1.09rem; max-width: 60ch; }
.proof-strip { display: flex; flex-wrap: wrap; gap: 10px 30px; margin: 28px 0 22px; }
.proof-strip div { display: flex; flex-direction: column; }
.proof-strip strong { font-size: 1.62rem; line-height: 1.1; color: #fff; letter-spacing: -.03em; }
.proof-strip span { font-size: .78rem; color: #94a3b8; text-transform: uppercase; letter-spacing: .07em; }
.disclosure-inline { font-size: .79rem; color: #94a3b8; max-width: 64ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 20px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 0; font-size: .84rem; color: #cbd5e1; }
.trust-list li::before { content: "✓"; color: #34d399; font-weight: 800; margin-right: 7px; }

.hero-visual { position: relative; display: grid; gap: 18px; }
.hero-card {
  background: #fff; border-radius: 18px; padding: 18px; position: relative;
  box-shadow: var(--shadow-lg); transform: rotate(2deg);
}
.hero-card-b { transform: rotate(-3deg) translateX(30px); }
.hero-card img { width: 100%; height: 218px; object-fit: contain; border-radius: 10px; background: var(--wash); }
.hero-tag {
  position: absolute; left: 14px; top: 14px; background: var(--amber); color: #231100;
  font-size: .72rem; font-weight: 850; text-transform: uppercase; letter-spacing: .05em;
  padding: 5px 10px; border-radius: 6px;
}
.hero-tag-alt { background: var(--teal); color: #fff; }
.hero-note { color: #94a3b8; font-size: .76rem; text-align: right; margin: 4px 0 0; }

/* --------------------------------------------------------------- sections -- */
.section { padding: 72px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-wash { background: var(--wash); }
.section-head { max-width: 720px; margin-bottom: 30px; }
.section-head p:last-child { color: var(--slate); margin-bottom: 0; }
.kicker { color: var(--amber-dark); font-weight: 850; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 10px; }

/* filter bar */
.filter-bar { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; }
.filter-btn {
  border: 1px solid var(--line); background: #fff; color: var(--slate);
  font: inherit; font-size: .88rem; font-weight: 700;
  padding: 8px 15px; border-radius: 999px; cursor: pointer; transition: all .15s;
}
.filter-btn:hover { border-color: var(--teal); color: var(--teal); }
.filter-btn.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ------------------------------------------------------------ product card -- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cbd5e1; }
.product-card[hidden] { display: none; }
.card-media { position: relative; background: var(--wash); padding: 18px; height: 230px; display: grid; place-items: center; overflow: hidden; }
.card-media img { width: 100%; height: 100%; max-height: 194px; object-fit: contain; mix-blend-mode: multiply; }
.img-fallback {
  width: 100%; height: 100%; min-height: 170px; display: grid; place-items: center; text-align: center;
  color: var(--muted); font-size: .82rem; line-height: 1.5; border: 1px dashed #cbd5e1;
  border-radius: 10px; background: repeating-linear-gradient(45deg, #fff, #fff 10px, #f8fafc 10px, #f8fafc 20px);
}
.badge {
  position: absolute; left: 12px; top: 12px; font-size: .7rem; font-weight: 850;
  text-transform: uppercase; letter-spacing: .05em; padding: 5px 9px; border-radius: 6px;
  background: var(--navy); color: #fff;
}
.badge-best { background: var(--amber); color: #231100; }
.badge-value { background: var(--teal); }
.badge-new { background: #6d28d9; }
.card-body { padding: 20px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.card-brand { color: var(--muted); font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin: 0; }
.card-body h3 { margin: 0; font-size: 1.06rem; }
.rating { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--slate); margin: 0; }
.stars { color: var(--amber); letter-spacing: 1px; font-size: .95rem; }
.rating-na { font-size: .78rem; color: var(--muted); font-style: italic; }
.price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 0; }
.price { font-size: 1.4rem; font-weight: 850; color: var(--navy); letter-spacing: -.03em; }
.price-label { font-size: .72rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.price-na { font-size: 1rem; font-weight: 700; color: var(--muted); }
.asof { display: block; width: 100%; font-size: .72rem; color: var(--muted); font-weight: 500; }
.live-price-flag {
  display: inline-block; font-size: .62rem; font-weight: 850; letter-spacing: .06em;
  color: #065f46; background: #d1fae5; border-radius: 4px; padding: 2px 5px; margin-left: 6px;
  vertical-align: middle;
}
.price-row[data-live-price="ok"] .price { color: #047857; }
.feature-list { list-style: none; padding: 0; margin: 0; font-size: .87rem; color: var(--slate); }
.feature-list li { position: relative; padding-left: 16px; margin-bottom: 5px; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.best-for { font-size: .83rem; color: var(--slate); background: var(--wash); border-radius: 8px; padding: 9px 11px; margin: 0; }
.mini-details { border-top: 1px dashed var(--line); padding-top: 10px; margin-top: auto; font-size: .84rem; }
.mini-details summary { cursor: pointer; font-weight: 750; color: var(--teal); }
.mini-details p { margin: 8px 0 0; color: var(--slate); }
.pro strong { color: var(--green); }
.con strong { color: var(--rose); }
.affiliate-note { font-size: .69rem; color: var(--muted); margin: -4px 0 0; text-align: center; }

/* ----------------------------------------------------------- comparison ---- */
.table-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.table-tools label { font-size: .85rem; font-weight: 700; color: var(--slate); }
.table-tools select {
  font: inherit; font-size: .88rem; padding: 8px 12px; border-radius: 8px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
}
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; min-width: 780px; font-size: .88rem; }
caption { text-align: left; padding: 14px 16px; color: var(--slate); font-size: .82rem; background: var(--wash); }
th, td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--navy); color: #fff; font-size: .77rem; text-transform: uppercase; letter-spacing: .06em; position: sticky; top: 0; z-index: 2; }
tbody th { font-weight: 750; color: var(--ink); min-width: 190px; }
tbody tr:nth-child(even) { background: #fbfcfe; }
tbody tr:hover { background: var(--amber-soft); }
td.na { color: var(--muted); font-style: italic; }
.table-footnote { font-size: .78rem; color: var(--muted); margin-top: 12px; }

/* --------------------------------------------------------------- reviews --- */
.review-list { display: grid; gap: 18px; }
.review {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: grid; grid-template-columns: 240px 1fr; gap: 28px;
}
.review-media { background: var(--wash); border-radius: 10px; padding: 14px; display: grid; place-items: center; min-height: 190px; overflow: hidden; }
.review-media img { width: 100%; height: 170px; object-fit: contain; mix-blend-mode: multiply; }
.review-body > p { color: var(--slate); font-size: .93rem; }
.verdict {
  background: var(--teal-soft); border-left: 4px solid var(--teal); border-radius: 0 8px 8px 0;
  padding: 12px 15px; font-size: .9rem; color: #134e4a; margin: 14px 0;
}
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 14px 0; }
.pc-box { border-radius: 10px; padding: 13px 15px; font-size: .86rem; }
.pc-box h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 8px; }
.pc-pro { background: #f0fdf4; }
.pc-pro h4 { color: var(--green); }
.pc-con { background: var(--rose-soft); }
.pc-con h4 { color: var(--rose); }
.pc-box ul { margin: 0; padding-left: 1.1em; }
.spec-chips { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; padding: 0; margin: 12px 0; }
.spec-chips li { background: var(--wash-2); border-radius: 6px; padding: 5px 10px; font-size: .78rem; font-weight: 650; color: var(--slate); }
.review-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.review-cta small { color: var(--muted); font-size: .74rem; }

/* ----------------------------------------------------------- buying guide -- */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.guide-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.guide-num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--amber-soft); color: var(--amber-dark); font-weight: 850; margin-bottom: 14px; }
.guide-item p { color: var(--slate); font-size: .9rem; margin: 0; }
.match-box { margin-top: 26px; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 28px; }
.match-box h3 { color: #fff; }
.match-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 16px; }
.match-grid div { border-left: 2px solid rgba(245,158,11,.6); padding-left: 14px; }
.match-grid strong { display: block; color: #fbbf24; font-size: .84rem; text-transform: uppercase; letter-spacing: .06em; }
.match-grid span { font-size: .88rem; color: #cbd5e1; }

/* -------------------------------------------------------------------- FAQ -- */
.faq-list { max-width: 860px; display: grid; gap: 10px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 0 18px; }
.faq-list summary { cursor: pointer; font-weight: 750; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--teal); font-size: 1.3rem; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { color: var(--slate); font-size: .92rem; padding-bottom: 14px; margin: 0; }

/* -------------------------------------------------------------- disclosure -- */
.disclosure { background: var(--wash-2); border-top: 1px solid var(--line); padding: 34px 0; }
.disclosure-inner { max-width: 860px; }
.disclosure h2 { font-size: 1.15rem; margin-bottom: 8px; }
.disclosure p { font-size: .86rem; color: var(--slate); margin: 0; }

/* --------------------------------------------------------------------- CTA -- */
.cta-band { background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: #fff; padding: 56px 0; text-align: center; }
.cta-band h2 { color: #fff; max-width: 660px; margin-inline: auto; }
.cta-band p { color: #cbd5e1; max-width: 620px; margin-inline: auto; }
.cta-band .btn { margin-top: 8px; }

/* ------------------------------------------------------------------ footer -- */
.site-footer { background: var(--navy); color: #94a3b8; padding: 34px 0 28px; font-size: .84rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: center; }
.footer-inner a { color: #cbd5e1; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.placeholder-flag {
  display: inline-block; background: #4c1d95; color: #fff; font-size: .68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em; padding: 3px 7px; border-radius: 5px; margin-left: 6px;
}

/* ------------------------------------------------------------- responsive -- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 56px 0 62px; }
  .hero-visual { max-width: 560px; }
  .card-grid, .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .match-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .site-nav { display: none; }
  .header-inner { min-height: 60px; }
  .brand { margin-right: auto; }
  .section { padding: 52px 0; }
  .card-grid, .guide-grid, .pros-cons, .match-grid { grid-template-columns: 1fr; }
  .review { grid-template-columns: 1fr; padding: 20px; gap: 18px; }
  .review-media { min-height: 150px; }
  .hero-card-b { transform: rotate(-2deg) translateX(10px); }
  .proof-strip { gap: 18px 24px; }
  .wrap { width: min(100% - 30px, var(--wrap)); }
}
@media (max-width: 430px) {
  .hero-card img { height: 165px; }
  .card-media { height: 190px; }
  .btn { width: 100%; }
  .btn-sm { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
