/*
 * ProductCompare AEO theme — main stylesheet
 * Mobile-first, no jQuery, no framework.
 * Critical above-the-fold CSS is inlined in header.php; this file is the rest.
 */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --pc-blue: #0B5FFF;
  --pc-blue-dark: #0846C2;
  --pc-blue-soft: #E6EEFF;
  --pc-orange: #FF8A00;
  --pc-orange-dark: #E07700;
  --pc-orange-soft: #FFF1DF;
  --pc-green: #10B981;
  --pc-green-soft: #E6F8F1;
  --pc-red: #E11D48;
  --pc-yellow: #F59E0B;

  /* Ink / surface */
  --ink-900: #0B1220;
  --ink-700: #1E293B;
  --ink-600: #334155;
  --ink-500: #475569;
  --ink-400: #64748B;
  --ink-300: #94A3B8;
  --ink-200: #CBD5E1;
  --ink-100: #E2E8F0;
  --ink-50:  #F1F5F9;
  --bg:      #F8FAFC;
  --bg-card: #FFFFFF;

  /* Type */
  --font-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;

  /* Scale (modular, 1.250 minor third) */
  --fs-xs: 0.8125rem;     /* 13px */
  --fs-sm: 0.9375rem;     /* 15px */
  --fs-base: 1.0625rem;   /* 17px */
  --fs-md: 1.1875rem;     /* 19px */
  --fs-lg: 1.4375rem;     /* 23px */
  --fs-xl: 1.75rem;       /* 28px */
  --fs-2xl: 2.25rem;      /* 36px */
  --fs-3xl: 2.875rem;     /* 46px */
  --fs-4xl: 3.5rem;       /* 56px */

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

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(11,18,32,.05);
  --shadow-md: 0 6px 16px -4px rgba(11,18,32,.10), 0 2px 6px -2px rgba(11,18,32,.06);
  --shadow-lg: 0 18px 40px -12px rgba(11,18,32,.18), 0 4px 12px -4px rgba(11,18,32,.08);
  --shadow-focus: 0 0 0 3px rgba(11,95,255,.35);

  /* Layout */
  --container: 1180px;
  --container-narrow: 760px;
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-900);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--pc-blue); text-decoration: none; }
a:hover { color: var(--pc-blue-dark); text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: none; box-shadow: var(--shadow-focus); border-radius: var(--r-sm);
}
button { font: inherit; cursor: pointer; }
hr { border: none; border-top: 1px solid var(--ink-100); margin: var(--s-8) 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-sans);
  color: var(--ink-900);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 var(--s-4);
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 4.6vw, var(--fs-3xl)); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.4vw, var(--fs-2xl)); font-weight: 800; }
h3 { font-size: clamp(1.25rem, 2.4vw, var(--fs-xl)); font-weight: 700; }
h4 { font-size: var(--fs-lg); font-weight: 700; }
h5 { font-size: var(--fs-md); font-weight: 700; }
p  { margin: 0 0 var(--s-4); text-wrap: pretty; }
strong, b { font-weight: 700; color: var(--ink-900); }
small { font-size: var(--fs-xs); color: var(--ink-500); }

.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pc-blue);
  margin-bottom: var(--s-3);
}
.lede { font-size: var(--fs-md); color: var(--ink-600); line-height: 1.65; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--s-5); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding: clamp(var(--s-12), 7vw, var(--s-20)) 0; }
.section--tight { padding: var(--s-10) 0; }
.section--alt { background: #FFFFFF; }
.section--dark { background: var(--ink-900); color: #fff; }
.section--dark h2, .section--dark h3, .section--dark p { color: #fff; }
.section--dark .lede { color: var(--ink-200); }
.section--dark .eyebrow { color: var(--pc-orange); }

.grid { display: grid; gap: var(--s-6); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.split { display: grid; gap: var(--s-10); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 880px) { .split { grid-template-columns: 1.05fr 0.95fr; gap: var(--s-12); } }
.split--reverse > :first-child { order: 2; }
@media (min-width: 880px) { .split--reverse > :first-child { order: 0; } }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink-900); color: #fff; padding: var(--s-3) var(--s-4);
  z-index: 9999; border-radius: var(--r-sm);
}
.skip-link:focus { left: var(--s-3); top: var(--s-3); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--ink-100);
}
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: var(--s-4);
}
.site-header__logo { display: flex; align-items: center; }
.site-header__logo img, .site-header__logo svg { height: 40px; width: auto; }

.primary-nav { display: none; }
@media (min-width: 920px) {
  .primary-nav { display: block; }
}
.primary-nav ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; align-items: center; gap: var(--s-2);
}
.primary-nav a {
  display: inline-block;
  padding: var(--s-2) var(--s-4);
  color: var(--ink-700);
  font-weight: 600;
  font-size: var(--fs-sm);
  border-radius: var(--r-sm);
  text-decoration: none;
}
.primary-nav a:hover { background: var(--ink-50); color: var(--ink-900); }
.primary-nav a[aria-current="page"] { color: var(--pc-blue); background: var(--pc-blue-soft); }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--ink-200);
  border-radius: var(--r-sm); color: var(--ink-700);
}
@media (min-width: 920px) { .nav-toggle { display: none; } }
.nav-toggle svg { width: 22px; height: 22px; }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--ink-100);
  background: #fff;
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; padding: var(--s-3) var(--s-5); margin: 0; }
.mobile-nav a {
  display: block; padding: var(--s-3) 0;
  color: var(--ink-900); font-weight: 600; font-size: var(--fs-md);
  border-bottom: 1px solid var(--ink-50);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  padding: 0.85rem 1.4rem;
  font-weight: 700; font-size: var(--fs-sm);
  border-radius: var(--r-md);
  border: 2px solid transparent;
  text-decoration: none;
  transition: transform 80ms ease, background-color 120ms ease, color 120ms ease, box-shadow 120ms ease;
  white-space: nowrap;
  line-height: 1.2;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--pc-blue); color: #fff; }
.btn--primary:hover { background: var(--pc-blue-dark); color: #fff; }
.btn--accent { background: var(--pc-orange); color: var(--ink-900); }
.btn--accent:hover { background: var(--pc-orange-dark); color: var(--ink-900); }
.btn--ghost { background: transparent; color: var(--ink-900); border-color: var(--ink-200); }
.btn--ghost:hover { background: var(--ink-50); color: var(--ink-900); }
.btn--dark { background: var(--ink-900); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }
.btn--lg { padding: 1rem 1.6rem; font-size: var(--fs-base); }
.btn--block { width: 100%; }
.btn .icon { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(var(--s-12), 8vw, var(--s-24)) 0 var(--s-16);
  background:
    radial-gradient(900px 360px at 80% -10%, rgba(11,95,255,.10), transparent 60%),
    radial-gradient(700px 320px at 0% 110%, rgba(255,138,0,.10), transparent 60%),
    var(--bg);
}
.hero__inner { display: grid; grid-template-columns: 1fr; gap: var(--s-10); align-items: center; }
@media (min-width: 880px) { .hero__inner { grid-template-columns: 1.1fr 0.9fr; gap: var(--s-12); } }
.hero h1 {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.hero h1 .accent { color: var(--pc-blue); }
.hero__lede { font-size: clamp(var(--fs-md), 2.2vw, var(--fs-lg)); color: var(--ink-600); margin-top: var(--s-5); max-width: 36em; }
.hero__cta { display: flex; gap: var(--s-3); flex-wrap: wrap; margin-top: var(--s-8); }
.hero__stats {
  display: flex; gap: var(--s-8); flex-wrap: wrap; margin-top: var(--s-10);
  padding-top: var(--s-6); border-top: 1px solid var(--ink-100);
}
.hero__stat { }
.hero__stat .num { font-weight: 800; font-size: var(--fs-xl); color: var(--ink-900); display: block; letter-spacing: -0.02em; }
.hero__stat .lbl { font-size: var(--fs-xs); color: var(--ink-500); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }

.hero__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--ink-900), #1a2540);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero__visual img { width: 100%; height: 100%; object-fit: cover; opacity: 0.96; }
.hero__badge {
  position: absolute; bottom: var(--s-5); left: var(--s-5);
  background: #fff; padding: var(--s-3) var(--s-5);
  border-radius: var(--r-pill);
  font-weight: 700; font-size: var(--fs-sm);
  display: inline-flex; align-items: center; gap: var(--s-2);
  box-shadow: var(--shadow-md);
}
.hero__badge .dot { width: 8px; height: 8px; background: var(--pc-green); border-radius: 50%; }

/* ---------- Cards ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  box-shadow: var(--shadow-sm);
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--ink-200); }
.card h3 { margin-top: 0; }
.card__eyebrow { font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--pc-blue); }

.feature-card {
  display: flex; flex-direction: column; gap: var(--s-3);
}
.feature-card__icon {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-md);
  background: var(--pc-blue-soft); color: var(--pc-blue);
  margin-bottom: var(--s-3);
}
.feature-card__icon.is-accent { background: var(--pc-orange-soft); color: var(--pc-orange-dark); }
.feature-card__icon.is-green { background: var(--pc-green-soft); color: var(--pc-green); }
.feature-card__icon.is-dark { background: var(--ink-900); color: var(--pc-orange); }
.feature-card__icon svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: var(--fs-lg); margin: 0; }
.feature-card .kicker { color: var(--pc-blue); font-weight: 700; font-size: var(--fs-sm); margin: var(--s-1) 0 var(--s-3); }
.feature-card p { color: var(--ink-600); margin: 0; }

/* ---------- Article / Post ---------- */
.post-card {
  display: flex; flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post-card__media {
  aspect-ratio: 16 / 9;
  background: var(--ink-50);
  overflow: hidden;
}
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-2); flex: 1; }
.post-card__cat {
  align-self: flex-start;
  font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--pc-blue); background: var(--pc-blue-soft);
  padding: 4px 10px; border-radius: var(--r-pill);
}
.post-card__title { font-size: var(--fs-md); font-weight: 700; line-height: 1.3; margin: var(--s-2) 0; color: var(--ink-900); text-wrap: balance; }
.post-card__title a { color: inherit; text-decoration: none; }
.post-card__title a:hover { color: var(--pc-blue); }
.post-card__meta {
  display: flex; gap: var(--s-3); align-items: center;
  font-size: var(--fs-xs); color: var(--ink-500); margin-top: auto;
}
.post-card__rating {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--pc-orange-dark); font-weight: 700;
}
.post-card__rating svg { width: 14px; height: 14px; fill: var(--pc-orange); }

/* ---------- Testimonials ---------- */
.testimonial {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  display: flex; flex-direction: column; gap: var(--s-4);
  position: relative;
}
.testimonial__quote {
  color: var(--ink-700);
  font-size: var(--fs-sm);
  line-height: 1.6;
  margin: 0;
}
.testimonial__author {
  display: flex; align-items: center; gap: var(--s-3);
  padding-top: var(--s-4); border-top: 1px solid var(--ink-100);
  margin-top: auto;
}
.testimonial__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink-100);
  object-fit: cover;
  flex-shrink: 0;
}
.testimonial__name { font-weight: 700; color: var(--ink-900); font-size: var(--fs-sm); margin: 0; line-height: 1.2; }
.testimonial__role { font-size: var(--fs-xs); color: var(--ink-500); margin: 2px 0 0; }
.testimonial__stars { color: var(--pc-orange); font-size: var(--fs-sm); letter-spacing: 2px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-900);
  color: var(--ink-200);
  padding: var(--s-16) 0 var(--s-6);
  margin-top: var(--s-16);
}
.site-footer h4 {
  font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--pc-orange); margin: 0 0 var(--s-4);
}
.site-footer p { color: var(--ink-300); font-size: var(--fs-sm); }
.site-footer a { color: var(--ink-200); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--s-2); }
.site-footer ul li a { font-size: var(--fs-sm); }
.site-footer__grid {
  display: grid; gap: var(--s-10);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer__brand { display: flex; flex-direction: column; gap: var(--s-3); }
.site-footer__brand img { height: 44px; }
.site-footer__legal {
  margin-top: var(--s-12); padding-top: var(--s-5);
  border-top: 1px solid #1e2a44;
  display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-6); align-items: center; justify-content: space-between;
  font-size: var(--fs-xs); color: var(--ink-400);
}
.site-footer__social { display: flex; gap: var(--s-2); }
.site-footer__social a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-sm);
  background: #1e2a44; color: #fff;
}
.site-footer__social a:hover { background: var(--pc-blue); }
.site-footer__social svg { width: 18px; height: 18px; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  font-size: var(--fs-xs); color: var(--ink-500);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--ink-50);
  background: #fff;
}
.breadcrumbs > .container {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2);
}
.breadcrumbs a { color: var(--ink-500); text-decoration: none; }
.breadcrumbs a:hover { color: var(--pc-blue); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs__sep { color: var(--ink-300); }
.breadcrumbs [aria-current="page"] { color: var(--ink-900); font-weight: 600; }

/* ---------- AI Summary / Quick Answer ---------- */
.ai-summary-answer {
  background: linear-gradient(180deg, #FFF8EC 0%, #FFFDF7 100%);
  border: 1.5px solid #FFD89A;
  border-left: 5px solid var(--pc-orange);
  border-radius: var(--r-md);
  padding: var(--s-5) var(--s-6);
  margin: var(--s-6) 0;
}
.ai-summary-answer__label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--fs-xs); font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--pc-orange-dark);
  margin-bottom: var(--s-2);
}
.ai-summary-answer__label svg { width: 14px; height: 14px; }
.ai-summary-answer p { margin: 0; color: var(--ink-700); font-size: var(--fs-md); line-height: 1.6; }
.ai-summary-answer p:not(:last-child) { margin-bottom: var(--s-2); }

/* ---------- Article body ---------- */
.article-body {
  max-width: 720px; margin: 0 auto;
  font-size: var(--fs-md); line-height: 1.75; color: var(--ink-700);
}
.article-body h2 { margin-top: var(--s-12); font-size: var(--fs-2xl); }
.article-body h3 { margin-top: var(--s-8); }
.article-body p, .article-body ul, .article-body ol { margin-bottom: var(--s-5); }
.article-body ul, .article-body ol { padding-left: 1.4em; }
.article-body li { margin-bottom: var(--s-2); }
.article-body img { border-radius: var(--r-md); margin: var(--s-6) 0; }
.article-body blockquote {
  border-left: 4px solid var(--pc-blue);
  padding: var(--s-2) var(--s-5);
  margin: var(--s-6) 0; font-style: italic; color: var(--ink-600);
}
.article-body figure { margin: var(--s-6) 0; }
.article-body figcaption { font-size: var(--fs-xs); color: var(--ink-500); text-align: center; margin-top: var(--s-2); }
.article-body a { color: var(--pc-blue); border-bottom: 1px solid currentColor; }
.article-body a:hover { color: var(--pc-blue-dark); text-decoration: none; }

/* Footnotes (citations) */
.article-body sup.fn { font-size: 0.7em; }
.article-body sup.fn a { background: var(--pc-blue-soft); color: var(--pc-blue); padding: 1px 5px; border-radius: 4px; border: none; }
.footnotes {
  margin-top: var(--s-12); padding-top: var(--s-6); border-top: 2px solid var(--ink-100);
  font-size: var(--fs-sm); color: var(--ink-600);
}
.footnotes h3 { font-size: var(--fs-md); }
.footnotes ol { padding-left: 1.2em; }

/* Pros / Cons block */
.proscons {
  display: grid; gap: var(--s-4); grid-template-columns: 1fr;
  background: #fff; border: 1px solid var(--ink-100);
  border-radius: var(--r-md); padding: var(--s-5);
  margin: var(--s-6) 0;
}
@media (min-width: 600px) { .proscons { grid-template-columns: 1fr 1fr; gap: var(--s-6); } }
.proscons__col h4 { font-size: var(--fs-base); margin: 0 0 var(--s-3); display: flex; align-items: center; gap: 6px; }
.proscons__col--pros h4 { color: var(--pc-green); }
.proscons__col--cons h4 { color: var(--pc-red); }
.proscons__col ul { padding: 0; list-style: none; margin: 0; }
.proscons__col li { padding-left: 24px; position: relative; margin-bottom: var(--s-2); font-size: var(--fs-sm); }
.proscons__col li::before {
  position: absolute; left: 0; top: 1px;
  font-weight: 800;
}
.proscons__col--pros li::before { content: "✓"; color: var(--pc-green); }
.proscons__col--cons li::before { content: "✕"; color: var(--pc-red); }

/* Editor's pick award ribbon */
.award-ribbon {
  display: inline-flex; align-items: center; gap: var(--s-3);
  background: linear-gradient(135deg, var(--ink-900) 0%, #1c2742 100%);
  color: #fff;
  padding: var(--s-3) var(--s-5);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  box-shadow: var(--shadow-md);
}
.award-ribbon__icon {
  width: 32px; height: 32px;
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--pc-orange); color: var(--ink-900);
  border-radius: 50%;
}
.award-ribbon__icon svg { width: 18px; height: 18px; }
.award-ribbon__label { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.12em; color: var(--pc-orange); font-weight: 700; }
.award-ribbon__title { font-weight: 800; font-size: var(--fs-base); display: block; line-height: 1.2; }

/* Rating bar */
.rating-block { background: #fff; border: 1px solid var(--ink-100); border-radius: var(--r-md); padding: var(--s-5); margin: var(--s-6) 0; }
.rating-overall { display: flex; align-items: center; gap: var(--s-4); padding-bottom: var(--s-4); border-bottom: 1px solid var(--ink-100); margin-bottom: var(--s-4); }
.rating-overall__score {
  font-size: var(--fs-3xl); font-weight: 800; color: var(--ink-900);
  line-height: 1; letter-spacing: -0.03em;
}
.rating-overall__score .max { color: var(--ink-300); font-size: var(--fs-md); font-weight: 600; }
.rating-overall__stars { color: var(--pc-orange); font-size: var(--fs-lg); letter-spacing: 2px; line-height: 1; }
.rating-overall__label { color: var(--ink-500); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; margin-top: 4px; }
.rating-row { display: grid; grid-template-columns: 1fr auto; gap: var(--s-3) var(--s-4); align-items: center; margin-bottom: var(--s-2); font-size: var(--fs-sm); }
.rating-row__name { color: var(--ink-700); font-weight: 600; }
.rating-row__bar { grid-column: 1 / -1; height: 6px; background: var(--ink-50); border-radius: 3px; overflow: hidden; margin-top: -2px; margin-bottom: var(--s-3); }
.rating-row__bar > div { height: 100%; background: linear-gradient(90deg, var(--pc-blue), #4d8aff); border-radius: 3px; }
.rating-row__value { color: var(--ink-900); font-weight: 700; }

/* Comparison table */
.compare-table-wrap { overflow-x: auto; margin: var(--s-6) 0; border: 1px solid var(--ink-100); border-radius: var(--r-md); }
.compare-table { width: 100%; border-collapse: collapse; background: #fff; min-width: 640px; }
.compare-table thead th {
  background: var(--ink-50); color: var(--ink-900);
  text-align: left; font-size: var(--fs-sm); font-weight: 700;
  padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--ink-100);
}
.compare-table th, .compare-table td {
  padding: var(--s-3) var(--s-4);
  border-bottom: 1px solid var(--ink-100);
  font-size: var(--fs-sm);
  vertical-align: top;
}
.compare-table tbody th { font-weight: 600; color: var(--ink-700); background: #fafbfd; }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table .pick { color: var(--pc-orange-dark); font-weight: 700; }

/* FAQ */
.faq { margin: var(--s-8) 0; }
.faq details {
  background: #fff; border: 1px solid var(--ink-100);
  border-radius: var(--r-md); padding: var(--s-4) var(--s-5);
  margin-bottom: var(--s-3);
}
.faq details[open] { border-color: var(--pc-blue); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; font-weight: 700; color: var(--ink-900);
  font-size: var(--fs-md); list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-3);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6em; color: var(--pc-blue); font-weight: 400; line-height: 0.5; transition: transform 150ms ease; }
.faq details[open] summary::after { content: "−"; }
.faq details > *:not(summary) { margin-top: var(--s-3); color: var(--ink-600); }

/* Author box */
.author-box {
  display: grid; gap: var(--s-4);
  grid-template-columns: auto 1fr;
  align-items: start;
  padding: var(--s-5);
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--r-md);
  margin: var(--s-8) 0;
}
.author-box__avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--ink-100); object-fit: cover; }
.author-box__name { font-weight: 800; font-size: var(--fs-md); margin: 0; color: var(--ink-900); }
.author-box__title { font-size: var(--fs-xs); color: var(--pc-blue); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; margin: 2px 0 var(--s-2); }
.author-box__bio { font-size: var(--fs-sm); color: var(--ink-600); margin: 0 0 var(--s-2); }
.author-box__links { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.author-box__links a { font-size: var(--fs-xs); color: var(--ink-500); background: var(--ink-50); padding: 4px 10px; border-radius: var(--r-pill); }
.author-box__links a:hover { background: var(--pc-blue-soft); color: var(--pc-blue); text-decoration: none; }

/* Sticky mobile Amazon CTA */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #fff; border-top: 1px solid var(--ink-200);
  padding: var(--s-3) var(--s-4);
  box-shadow: 0 -8px 24px rgba(11,18,32,0.08);
  z-index: 40;
  display: none;
}
@media (max-width: 880px) { .sticky-cta { display: block; } }
.sticky-cta__inner { display: flex; align-items: center; gap: var(--s-3); max-width: var(--container); margin: 0 auto; }
.sticky-cta__product { display: flex; align-items: center; gap: var(--s-3); flex: 1; min-width: 0; }
.sticky-cta__thumb { width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--ink-50); flex-shrink: 0; object-fit: cover; }
.sticky-cta__name { font-size: var(--fs-xs); color: var(--ink-500); margin: 0; }
.sticky-cta__price { font-size: var(--fs-sm); font-weight: 800; color: var(--ink-900); margin: 0; }
.sticky-cta .btn { padding: 0.75rem 1.1rem; font-size: var(--fs-sm); flex-shrink: 0; }
@media (max-width: 880px) { body { padding-bottom: 76px; } }

/* Form fields */
.field { display: flex; flex-direction: column; gap: var(--s-2); margin-bottom: var(--s-4); }
.field label { font-weight: 700; font-size: var(--fs-sm); color: var(--ink-700); }
.field input, .field textarea, .field select {
  width: 100%; padding: 0.75rem 0.9rem;
  font: inherit; font-size: var(--fs-sm);
  border: 1.5px solid var(--ink-200); border-radius: var(--r-sm);
  background: #fff; color: var(--ink-900);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--pc-blue); outline: none;
  box-shadow: 0 0 0 3px rgba(11,95,255,.18);
}
.field textarea { resize: vertical; min-height: 140px; }
.field__hint { font-size: var(--fs-xs); color: var(--ink-500); }

/* Tag chips */
.tag {
  display: inline-block;
  font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--pc-blue); background: var(--pc-blue-soft);
  padding: 4px 10px; border-radius: var(--r-pill);
}
.tag--green { color: var(--pc-green); background: var(--pc-green-soft); }
.tag--orange { color: var(--pc-orange-dark); background: var(--pc-orange-soft); }

/* Pagination */
.pagination { display: flex; gap: var(--s-2); align-items: center; justify-content: center; margin: var(--s-12) 0; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 var(--s-3); border-radius: var(--r-sm);
  font-weight: 700; font-size: var(--fs-sm);
  color: var(--ink-700); background: #fff;
  border: 1px solid var(--ink-200);
  text-decoration: none;
}
.pagination a:hover { background: var(--ink-50); color: var(--ink-900); }
.pagination .current { background: var(--pc-blue); color: #fff; border-color: var(--pc-blue); }

/* Cookie banner (non-blocking, CSR) */
.cookie-banner {
  position: fixed; bottom: 16px; left: 16px; right: 16px;
  max-width: 540px; margin: 0 auto;
  background: var(--ink-900); color: #fff;
  border-radius: var(--r-md);
  padding: var(--s-5);
  box-shadow: var(--shadow-lg);
  z-index: 60;
  display: none;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { color: var(--ink-200); font-size: var(--fs-sm); margin: 0 0 var(--s-3); }
.cookie-banner__actions { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.cookie-banner .btn--ghost { color: #fff; border-color: var(--ink-500); }
.cookie-banner .btn--ghost:hover { background: #1e2a44; color: #fff; }

/* AI disclosure footer */
.ai-disclosure {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--fs-xs); color: var(--ink-400);
  padding: var(--s-2) var(--s-3);
  background: rgba(255,255,255,0.04);
  border-radius: var(--r-pill);
}
.ai-disclosure svg { width: 14px; height: 14px; color: var(--pc-orange); }

/* Page header */
.page-header { padding: var(--s-16) 0 var(--s-10); text-align: center; }
.page-header h1 { max-width: 800px; margin: 0 auto var(--s-3); }
.page-header p { color: var(--ink-600); max-width: 640px; margin: 0 auto; font-size: var(--fs-md); }

/* Utilities */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: var(--s-2); }
.mb-4 { margin-bottom: var(--s-4); }
.mb-6 { margin-bottom: var(--s-6); }
.mt-6 { margin-top: var(--s-6); }
.mt-8 { margin-top: var(--s-8); }
.flex { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.flex--center { justify-content: center; align-items: center; }
.hide-mobile { display: none; }
@media (min-width: 720px) { .hide-mobile { display: revert; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Print */
@media print {
  .site-header, .site-footer, .sticky-cta, .cookie-banner { display: none !important; }
  body { padding: 0; background: #fff; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
