/* =================================================================
   FlexLabReviews — shared design system
   Clean, editorial, trustworthy. Static HTML.
   ================================================================= */

/* ---------- Self-hosted fonts ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('/assets/fonts/source-serif-4-latin-wght-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/source-serif-4-latin-500-italic.woff2') format('woff2');
}

:root {
  /* Color */
  --ink:        #1a2230;   /* primary text */
  --ink-soft:   #4a5568;   /* secondary text */
  --ink-faint:  #7a8699;   /* muted/meta text */
  --line:       #e3e8ef;   /* borders/dividers */
  --bg:         #ffffff;
  --bg-soft:    #f7f9fc;   /* section bands, cards */
  --bg-sink:    #eef2f8;

  --brand:      #1f7a6b;   /* teal — trust, health */
  --brand-dark: #155e52;
  --brand-soft: #e6f2ef;

  --accent:     #e08a2b;   /* warm CTA — used sparingly */
  --accent-dark:#c4741c;

  --star:       #f3a712;   /* rating stars */
  --good:       #2f9e6f;
  --bad:        #d8574e;

  /* Type */
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif; /* editorial */
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --maxw: 760px;       /* article measure */
  --maxw-wide: 1080px; /* homepage hub */
  --radius: 10px;
  --shadow: 0 1px 3px rgba(20,30,50,.06), 0 6px 24px rgba(20,30,50,.06);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  overflow-x: clip; /* clamp the verdict-card breakout; clip (not hidden) keeps the sticky header working */
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga", "calt";
}

::selection { background: var(--brand-soft); color: var(--brand-dark); }

img { max-width: 100%; height: auto; }
/* <picture> wrappers (added by build.mjs for AVIF/WebP) are layout-transparent,
   so the inner <img> stays the effective flex/grid child. The <source> tags
   must be display:none or, under display:contents, they become phantom
   grid/flex items (CSS display does not affect AVIF/WebP source selection). */
picture { display: contents; }
picture source { display: none; }

a { color: var(--brand-dark); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--brand); }

/* ---------- Header (navy chrome, matches the offer landers) ---------- */
.site-header {
  background: linear-gradient(90deg, #06142b 0%, #061a3b 55%, #07142b 100%);
  color: #fff;
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 8px 30px rgba(0,0,0,.14);
}
.site-header .wrap {
  max-width: var(--maxw-wide);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 23px;
  letter-spacing: -.03em;
  line-height: .85;
  color: #fff;
  text-decoration: none;
}
.brand:hover { color: #fff; text-decoration: none; }
.brand small {
  display: block;
  letter-spacing: .14em;
  font-size: 9px;
  font-weight: 800;
  color: #a9c4ef;
  margin-top: 2px;
}
.nav a {
  color: rgba(255,255,255,.92);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  margin-left: 22px;
}
.nav a:hover { color: #fff; }

.search-icon {
  width: 21px;
  height: 21px;
  border: 2px solid #d6e6ff;
  border-radius: 50%;
  position: relative;
  opacity: .95;
  display: inline-block;
  margin-left: 26px;
  vertical-align: middle;
}
.search-icon:after {
  content: "";
  width: 8px;
  height: 2px;
  background: #d6e6ff;
  position: absolute;
  right: -6px;
  bottom: -3px;
  transform: rotate(45deg);
  border-radius: 2px;
}

.nav-toggle { display: none; }

@media (max-width: 640px) {
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 4px;
    width: 42px; height: 38px; padding: 0 10px; flex: none;
    background: transparent; border: 1px solid rgba(255,255,255,.3); border-radius: 8px; cursor: pointer;
  }
  .nav-toggle-bar { display: block; width: 100%; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: #07142b; border-bottom: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 18px 30px rgba(0,0,0,.35); padding: 6px 20px 14px;
  }
  .nav.open { display: flex; }
  .nav a { margin-left: 0; padding: 13px 2px; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav > a:last-of-type { border-bottom: none; }
  .search-icon { display: none; }
}

/* Header "Product Reviews" dropdown */
.nav-dropdown { position: relative; display: inline-block; }
.nav-dropdown-toggle { color: rgba(255,255,255,.92); background: none; border: 0; cursor: pointer; font-family: inherit; font-size: 15px; font-weight: 600; margin-left: 22px; padding: 0; display: inline-flex; align-items: center; gap: 5px; }
.nav-dropdown-toggle:hover { color: #fff; }
.nav-caret { font-size: 10px; transition: transform .15s ease; }
.nav-dropdown.open > .nav-dropdown-toggle .nav-caret { transform: rotate(180deg); }
.nav-dropdown-menu { display: none; }
.nav-dropdown.open > .nav-dropdown-menu { display: block; }
@media (min-width: 641px) {
  .nav-dropdown-menu { position: absolute; top: 100%; left: 0; margin-top: 8px; min-width: 210px; background: #fff; border: 1px solid #e3eaf4; border-radius: 12px; box-shadow: 0 18px 44px rgba(7,23,47,.22); padding: 8px; z-index: 60; }
  .nav-dropdown-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
  /* Hover opens for mouse; keyboard users toggle .open via the button (Enter/
     Space -> nav.js). :focus-within was removed here: it kept the menu visible
     whenever the toggle held focus, so JS close (second click, Escape-refocus)
     never visually closed the menu. */
  .nav-dropdown:hover > .nav-dropdown-menu { display: block; }
  .nav-dropdown-menu a { display: block; margin: 0; padding: 9px 12px; border-radius: 7px; font-size: 14.5px; white-space: nowrap; color: #16233a; }
  .nav-dropdown-menu a:hover { background: #eef5ff; color: #0967e8; }
}
@media (max-width: 640px) {
  .nav-dropdown { display: block; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-dropdown-toggle { margin-left: 0; padding: 13px 2px; font-size: 16px; width: 100%; justify-content: space-between; }
  .nav-dropdown-menu a { display: block; padding: 11px 2px 11px 16px; font-size: 15px; color: #c8d7ec; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-dropdown-menu a:last-child { border-bottom: none; }
}

/* ---------- Layout ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: var(--maxw-wide); margin: 0 auto; padding: 0 20px; }

main { padding: 36px 0 60px; }

.band { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-pad { padding: 48px 0; }

/* ---------- Breadcrumb / meta ---------- */
.breadcrumb { font-size: 13px; color: var(--ink-faint); margin-bottom: 18px; }
.breadcrumb a { color: var(--ink-faint); }
.meta-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  font-size: 14px; color: var(--ink-faint);
  margin: 6px 0 26px;
}
.meta-row .updated { font-weight: 600; color: var(--ink-soft); }

/* ---------- Typography ---------- */
h1, h2 { font-optical-sizing: auto; }
h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 1.5rem + 2.3vw, 3rem);
  line-height: 1.12;
  letter-spacing: -.018em;
  margin: .2em 0 .35em;
}
h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 1.3rem + .9vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -.012em;
  margin: 2em 0 .5em;
  padding-top: .3em;
}
h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -.005em;
  margin: 1.6em 0 .4em;
}
p { margin: 0 0 1.1em; }
.lead {
  font-size: 1.26rem;
  line-height: 1.56;
  color: var(--ink-soft);
  font-weight: 400;
  letter-spacing: -.003em;
}

ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
li { margin: .35em 0; }

blockquote {
  margin: 1.8em 0; padding: .2em 0 .2em 24px;
  border-left: 4px solid var(--brand);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.4;
  letter-spacing: -.01em;
  color: var(--ink);
}

hr { border: none; border-top: 1px solid var(--line); margin: 2.4em 0; }

/* ---------- Hero (review pages) ---------- */
.hero { padding-top: 30px; padding-bottom: 8px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .14em;
  font-size: 12px; font-weight: 700; color: var(--brand);
  margin-bottom: 6px;
}

/* ---------- Rating ---------- */
.stars { color: var(--star); letter-spacing: 2px; font-size: 18px; }
.rating-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--brand-soft); color: var(--brand-dark);
  border-radius: 999px; padding: 6px 16px; font-weight: 700;
  font-size: 15px;
}
.score-big { font-family: var(--serif); font-optical-sizing: auto; font-size: 2.6rem; font-weight: 600; color: var(--ink); line-height: 1; letter-spacing: -.02em; }

/* ---------- Verdict / callout boxes ---------- */
.callout {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 26px 0;
}
.callout.verdict { border-left: 5px solid var(--brand); }
.callout h3 { margin-top: 0; }

.note {
  background: #fff8ec; border: 1px solid #f3e2c0;
  border-radius: var(--radius); padding: 16px 20px; margin: 22px 0;
  font-size: 15px; color: #6b5326;
}

/* ---------- Pros / Cons ---------- */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 26px 0; }
.proscons .col { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: var(--bg); }
.proscons h4 { margin: 0 0 10px; font-size: 1.05rem; }
.proscons ul { list-style: none; padding: 0; margin: 0; }
.proscons li { padding-left: 26px; position: relative; font-size: 15.5px; }
.proscons .pros li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 800; }
.proscons .cons li::before { content: "✕"; position: absolute; left: 0; color: var(--bad); font-weight: 800; }
@media (max-width: 560px) { .proscons { grid-template-columns: 1fr; } }

/* ---------- CTA button ---------- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: background .15s ease, transform .05s ease;
}
.btn:hover { background: var(--accent-dark); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-ghost {
  background: transparent; color: var(--brand-dark) !important;
  border: 1.5px solid var(--brand); box-shadow: none;
}
.btn-ghost:hover { background: var(--brand-soft); color: var(--brand-dark); }
.cta-sub { font-size: 13px; color: var(--ink-faint); margin-top: 8px; }
/* ---------- Verdict card (redesigned "Bottom Line") ---------- */
/* Breaks out wider than the 760px article column, centered on the viewport. */
.verdict-card {
  width: min(950px, 94vw); margin: 30px 0; margin-left: 50%; transform: translateX(-50%);
  background: var(--bg); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: 16px; box-shadow: var(--shadow); padding: 26px 32px 28px;
}
.verdict-kicker { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.vk-badge { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--accent); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.vk-badge svg { width: 17px; height: 17px; }
.vk-label { font-family: var(--sans); font-size: 13px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--accent); }
.verdict-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 34px; align-items: start; }
.verdict-main > p { font-size: 14.5px; line-height: 1.62; }
.verdict-main > p:last-child { margin-bottom: 0; }
.verdict-title { font-family: var(--serif); font-size: 1.7rem; line-height: 1.16; letter-spacing: -.015em; margin: 0 0 16px; color: var(--ink); }
.verdict-rating { display: flex; align-items: center; gap: 16px; margin: 0 0 18px; }
.vr-pill { display: inline-flex; align-items: center; gap: 7px; background: #e9eef6; border-radius: 12px; padding: 6px 16px; }
.vr-out { font-size: 15px; color: var(--ink-faint); font-weight: 700; }
.verdict-rating .stars { font-size: 26px; }
.verdict-aside { border-left: 1px solid var(--line); padding-left: 32px; }
.btn-cta {
  display: flex; align-items: center; gap: 10px; width: 100%;
  background: linear-gradient(180deg, #efa040, #d97d1c); font-size: 16px; padding: 15px 16px;
  border-radius: 12px; border: 1px solid #bf6f18;
  box-shadow: 0 0 0 4px rgba(224,138,43,.13), 0 8px 20px rgba(216,125,28,.34), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn-cta:hover { background: linear-gradient(180deg, #e89638, #c4741c); color: #fff; }
.btn-cta .cart { width: 21px; height: 21px; flex: none; }
.btn-cta > span { flex: 1; text-align: center; }
.btn-cta .chev { width: 16px; height: 16px; flex: none; }
.cta-secure { display: flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; font-size: 12.5px; color: var(--ink-faint); margin: 12px 0 16px; }
.cta-secure svg { width: 14px; height: 14px; flex: none; }
.trust-row { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; font-size: 14.5px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.trust-row .tr-ico { width: 36px; height: 36px; border-radius: 10px; background: rgba(47,158,111,.13); color: var(--good); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.trust-row .tr-ico svg { width: 22px; height: 22px; }
/* Clickable trust row: a second path to the offer (opens in a new tab) */
a.trust-link { text-decoration: none; cursor: pointer; transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease; }
a.trust-link:hover { border-color: var(--good); background: rgba(47,158,111,.06); box-shadow: 0 2px 10px rgba(47,158,111,.12); }
.trust-link .tr-cta { color: var(--good); font-weight: 800; }
.trust-link .tr-arrow { width: 18px; height: 18px; margin-left: auto; flex: none; color: var(--ink-faint); transition: transform .15s ease, color .15s ease; }
a.trust-link:hover .tr-arrow { color: var(--good); transform: translateX(3px); }
.aff-disclosure { font-size: 11px; color: var(--ink-soft); margin: 6px 0 0; line-height: 1.4; }
.verdict-aside .aff-disclosure { text-align: center; margin-top: 14px; }
@media (max-width: 760px) {
  .verdict-card { width: 94vw; }
  .verdict-grid { grid-template-columns: 1fr; gap: 22px; }
  .verdict-aside { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 22px; }
}

/* ---------- Top Picks promo (bottom-of-review) ---------- */
.toppicks { margin: 32px 0; }
.toppicks-eyebrow { font-family: var(--sans); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 16px; text-align: center; }
.tp-card { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 18px 18px 20px; text-align: center; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.tp-rank { font-family: var(--sans); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 10px; }
.tp-first .tp-rank { color: var(--accent); }
.tp-img { height: 132px; width: auto; max-width: 100%; object-fit: contain; margin: 0 auto 12px; display: block; }
.tp-name { font-family: var(--serif); font-size: 1.2rem; margin: 0 0 5px; color: var(--ink); }
.tp-rating { margin: 0 0 9px; font-size: 14px; }
.tp-rating .stars { font-size: 16px; }
.tp-rating strong { margin-left: 5px; }
.tp-rating .muted { color: var(--ink-faint); font-size: 12px; margin-left: 2px; }
.tp-desc { font-size: 13.5px; color: var(--ink-soft); margin: 0 0 16px; line-height: 1.45; flex: 1; }
.tp-actions { display: flex; flex-direction: column; gap: 8px; }
.tp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-size: 13.5px; font-weight: 700; padding: 9px 14px; border-radius: 8px; box-shadow: none; }
.tp-play { width: 0; height: 0; border-left: 9px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; flex: none; }
.toppicks-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tp-first { border: 2px solid var(--accent); }
@media (max-width: 640px) { .toppicks-3 { grid-template-columns: 1fr; } }

/* ---------- Tables ---------- */
/* wrapper keeps wide tables swipeable on mobile instead of clipped by body overflow */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 24px 0; }
.table-scroll table { margin: 0; }
table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15.5px; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
thead th { background: var(--bg-sink); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); }
tbody tr:hover { background: var(--bg-soft); }

/* ---------- Product cards (homepage) ---------- */
.pick-grid { display: grid; gap: 20px; margin: 28px 0; }
.pick {
  display: grid; grid-template-columns: 56px 132px 1fr auto; gap: 20px; align-items: center;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; background: var(--bg); box-shadow: var(--shadow);
}
.pick .rank { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--brand); text-align: center; }
.pick-thumb { width: 132px; height: 132px; object-fit: contain; }
.pick h3 { margin: 0 0 4px; }
.pick .muted { color: var(--ink-faint); font-size: 14px; }
.pick.is-top { border-color: var(--brand); border-width: 2px; }
.ribbon { display: inline-block; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 3px 10px; border-radius: 6px; margin-bottom: 8px; }

/* ---------- Editor's pick cross-sell (flagship promo) ---------- */
.editor-pick {
  position: relative;
  display: grid; grid-template-columns: 40% 1fr;
  margin: 48px 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 38px rgba(20,30,50,.13);
}
.editor-pick-media {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 22px 14px 22px 20px;
}
.editor-pick-curve { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.editor-pick-img { position: relative; z-index: 1; display: block; line-height: 0; }
.editor-pick-img img { width: 100%; max-width: 270px; height: auto; display: block; }
.editor-pick-body { padding: 20px 28px; align-self: center; }

.editor-pick-ribbon {
  position: absolute; top: -12px; left: 26px; z-index: 2;
  width: 75px; padding: 7px 7px 36px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: var(--brand-dark); color: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 83%, 0 100%);
  filter: drop-shadow(0 5px 7px rgba(20,30,50,.30));
}
.ep-ribbon-emblem { width: 67px; height: auto; }
.ep-ribbon-num { font-size: 27px; font-weight: 800; line-height: 1; margin-top: 2px; }
.ep-ribbon-label { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.editor-pick-kicker {
  text-transform: uppercase; letter-spacing: .07em; font-size: 12px; font-weight: 700;
  color: var(--brand); margin: 0 0 9px; padding-bottom: 9px;
  border-bottom: 2px solid #d8e8e2;
}
.editor-pick-title { font-family: var(--sans); font-weight: 800; font-size: clamp(1.9rem, 1.3rem + 2vw, 2.4rem); line-height: 1.05; letter-spacing: -.02em; margin: 0; }
.editor-pick-title a { text-decoration: none; color: var(--ink); }
.editor-pick-title a:hover { color: var(--brand-dark); }
.editor-pick-brand { margin: 3px 0 0; font-size: 1.15rem; font-weight: 500; color: var(--ink-faint); }
.editor-pick-rating { display: flex; align-items: center; gap: 9px; margin: 10px 0; }
.editor-pick-rating .stars { font-size: 24px; letter-spacing: 2px; }
.editor-pick-rating strong { font-size: 1.5rem; font-weight: 800; color: var(--ink); }
.editor-pick-rating .muted { font-size: 1.05rem; color: var(--ink-faint); }
.editor-pick-desc { font-size: 1.02rem; line-height: 1.5; color: var(--ink-soft); margin: 11px 0 16px; }

.editor-pick-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.editor-pick-actions .btn { padding: 12px 15px; font-size: 15px; border-radius: 10px; display: inline-flex; align-items: center; }
.play-circle { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: #fff; margin-right: 10px; flex: none; }
.play-circle svg { width: 9px; height: 9px; fill: var(--accent); margin-left: 1px; }
.editor-pick-sub { display: flex; align-items: center; gap: 8px; margin: 13px 0 0; font-size: 14px; color: var(--ink-soft); }
.ep-shield { width: 19px; height: 19px; flex: none; }

@media (max-width: 640px) {
  .editor-pick { grid-template-columns: 1fr; }
  .editor-pick-media { border-radius: 18px 18px 0 0; padding: 26px 22px 22px; }
  .editor-pick-img img { max-width: 230px; }
  .editor-pick-body { padding: 24px 22px 26px; }
  .editor-pick-ribbon { left: 18px; }
}
@media (max-width: 600px) {
  .pick { grid-template-columns: 36px 80px 1fr; gap: 14px; min-width: 0; }
  .pick > div { min-width: 0; overflow-wrap: break-word; }
  .pick-thumb { width: 80px; height: 80px; }
  .pick .pick-cta { grid-column: 1 / -1; }
}

/* At-a-Glance comparison: reflow the table into stacked cards on mobile.
   Scoped to .compare so other .table-scroll tables are unaffected. */
@media (max-width: 600px) {
  .compare, .compare tbody { display: block; }
  .compare thead { display: none; }
  .compare tr {
    display: grid; grid-template-columns: 1fr auto; align-items: baseline; column-gap: 10px;
    border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px;
    margin-bottom: 14px; background: var(--bg); box-shadow: var(--shadow);
  }
  .compare td { border: none; padding: 0; }
  .compare .c-product { order: 1; font-family: var(--serif); font-size: 19px; font-weight: 700; color: var(--ink); min-width: 0; overflow-wrap: break-word; }
  .compare .c-rating { order: 2; justify-self: end; white-space: nowrap; }
  .compare .c-ings { order: 3; grid-column: 1 / -1; margin-top: 12px; min-width: 0; overflow-wrap: break-word; color: var(--ink-soft); font-size: 14px; line-height: 1.45; }
  .compare .c-ings::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 3px; }
  .compare .c-guarantee { order: 4; grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--line); font-weight: 600; }
  .compare .c-guarantee::before { content: attr(data-label); font-weight: 400; font-size: 13px; color: var(--ink-faint); }
  .compare .c-action { order: 5; grid-column: 1 / -1; margin-top: 14px; }
  .compare .c-action a { display: block; text-align: center; padding: 11px; border: 1.5px solid var(--brand); border-radius: 8px; color: var(--brand-dark); font-weight: 700; text-decoration: none; }
  .compare .is-top-row { border: 2px solid var(--brand); }
  .compare .is-top-row::before {
    content: "Top Rated"; order: 0; grid-column: 1 / -1; justify-self: start;
    background: var(--brand); color: #fff; font-size: 10px; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 6px; margin-bottom: 9px;
  }
}

/* ---------- TOC ---------- */
.toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 26px 0; font-size: 15px; }
.toc strong { display: block; margin-bottom: 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-faint); }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* ---------- Disclosure strip ---------- */
.disclosure-strip {
  background: var(--bg-sink); border-bottom: 1px solid var(--line);
  font-size: 13px; color: var(--ink-soft); text-align: center;
  padding: 8px 20px;
}
.disclosure-strip a { color: var(--brand-dark); }

/* ---------- Footer (navy, matches the offer landers) ---------- */
.site-footer { background: #07172f; color: #c8d7ec; font-size: 14px; padding: 44px 0 28px; margin-top: 60px; }
.site-footer a { color: #c8d7ec; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 28px 48px; justify-content: space-between; }
.footer-col h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 6px 0; }
.footer-brand { max-width: 320px; }
.footer-brand .brand { display: block; color: #fff; font-size: 38px; margin-bottom: 12px; }
.footer-brand .brand small { font-size: 14px; letter-spacing: .18em; margin-top: 4px; }
.footer-brand p { color: #9db0cc; font-size: 13.5px; line-height: 1.6; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.14); margin-top: 28px; padding-top: 20px; font-size: 12.5px; color: #8fa3c2; line-height: 1.6; }

/* ---------- Utility ---------- */
.muted { color: var(--ink-faint); }
.small { font-size: 14px; }
.center { text-align: center; }
.mt0 { margin-top: 0; }

/* ---------- Author / E-E-A-T ---------- */
.author-card {
  display: flex; gap: 20px; align-items: flex-start;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-soft); padding: 22px 24px; margin: 44px 0 0;
}
.author-card-photo {
  width: 84px; height: 84px; border-radius: 50%; object-fit: cover;
  flex: none; border: 3px solid var(--bg); box-shadow: var(--shadow);
}
.author-card p { margin: 0; }
.author-card-kicker {
  text-transform: uppercase; letter-spacing: .12em;
  font-size: 11px; font-weight: 700; color: var(--ink-faint); margin-bottom: 3px;
}
.author-card-name { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; line-height: 1.2; }
.author-card-name a { color: var(--ink); text-decoration: none; }
.author-card-name a:hover { color: var(--brand-dark); }
.author-card-role { font-size: 13.5px; font-weight: 600; color: var(--brand-dark); margin-bottom: 10px; }
.author-card-bio { font-size: 15px; color: var(--ink-soft); line-height: 1.6; }
@media (max-width: 560px) {
  .author-card { flex-direction: column; gap: 14px; }
  .author-card-photo { width: 72px; height: 72px; }
}

.byline-avatar {
  width: 24px; height: 24px; border-radius: 50%; object-fit: cover;
  vertical-align: -7px; margin-right: 7px;
}
.meta-row .byline-link { color: var(--ink-soft); font-weight: 600; text-decoration: none; }
.meta-row .byline-link:hover { color: var(--brand-dark); text-decoration: underline; }

.author-hero { display: flex; gap: 28px; align-items: center; margin: 6px 0 10px; }
.author-hero-photo {
  width: 128px; height: 128px; border-radius: 50%; object-fit: cover;
  flex: none; border: 4px solid var(--bg); box-shadow: var(--shadow);
}
.author-hero h1 { margin: 0 0 6px; }
.author-hero .author-role { font-size: 1.05rem; font-weight: 600; color: var(--brand-dark); margin: 0 0 4px; }
.author-hero .author-tagline { color: var(--ink-soft); margin: 0; font-size: 1.02rem; line-height: 1.5; }
.focus-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.focus-chips li {
  font-size: 13px; font-weight: 600; color: var(--brand-dark);
  background: var(--brand-soft); border-radius: 999px; padding: 5px 14px; margin: 0;
}
.article-list { list-style: none; padding: 0; margin: 18px 0; }
.article-list li { border-bottom: 1px solid var(--line); margin: 0; }
.article-list a { display: block; padding: 14px 4px; text-decoration: none; color: var(--ink); }
.article-list a:hover { background: var(--bg-soft); }
.article-list .art-title { font-weight: 600; display: block; }
.article-list .art-desc { font-size: 14px; color: var(--ink-faint); margin-top: 2px; display: block; }
@media (max-width: 560px) {
  .author-hero { flex-direction: column; text-align: center; gap: 16px; }
  .focus-chips { justify-content: center; }
}

/* ---------- Sticky CTA (review pages) ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--bg); border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(20,30,50,.10);
  transform: translateY(100%);
  transition: transform .25s ease;
  padding: 9px 0;
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta-inner {
  max-width: 640px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 16px;
}
.sticky-cta-thumb { width: 40px; height: 40px; object-fit: contain; flex: none; }
.sticky-cta-text { flex: 1; min-width: 0; line-height: 1.25; }
.sticky-cta-name { display: block; font-weight: 700; font-size: 15px; color: var(--ink); }
.sticky-cta-meta { display: block; font-size: 12.5px; color: var(--ink-faint); }
.sticky-cta-meta .stars { font-size: 12px; letter-spacing: 1px; }
.sticky-cta-btn {
  flex: none; padding: 12px 30px; font-size: 15px; font-weight: 700;
  box-shadow: 0 3px 14px rgba(224,138,43,.35); /* accent (--accent #e08a2b) — matches the button */
  animation: ctaPulse 2.6s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 3px 14px rgba(224,138,43,.30); }
  50%      { box-shadow: 0 5px 22px rgba(224,138,43,.60); }
}
@media (prefers-reduced-motion: reduce) { .sticky-cta-btn { animation: none; } }
.sticky-cta-close {
  flex: none; background: none; border: 0; cursor: pointer;
  font-size: 24px; line-height: 1; color: var(--ink-faint); padding: 2px 6px;
}
.sticky-cta-close:hover { color: var(--ink); }
@media (max-width: 560px) {
  .sticky-cta-meta { display: none; }
  .sticky-cta-thumb { width: 34px; height: 34px; }
  .sticky-cta-btn { padding: 10px 18px; font-size: 14px; }
  .sticky-cta-inner { gap: 10px; padding: 0 14px; }
}

/* ---------- AI-check result cards + image lightbox ---------- */
.zoomable { cursor: zoom-in; }
.ai-result { margin: 0; }
.ai-result img {
  display: block; width: 100%;
  border: 1px solid var(--line); border-radius: 10px;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.ai-result img:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); }
.ai-result figcaption { margin-top: 9px; font-size: 13.5px; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; }
.ai-badge { background: #fbe9e7; color: var(--bad); font-weight: 700; font-size: 12px; letter-spacing: .02em; padding: 3px 9px; border-radius: 999px; }

/* Testimonial provenance evidence cards (reverse-image-search findings) */
.face-evidence { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin: 22px 0; }
.face-evidence .card { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: var(--bg); box-shadow: var(--shadow); }
.face-evidence img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto 8px; }
.face-evidence .name { text-align: center; font-weight: 700; margin: 0 0 4px; }
.face-evidence .name .ai-badge { display: inline-block; margin-left: 4px; }
.face-evidence p { font-size: 14px; color: var(--ink-soft); margin: 8px 0 0; }

.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  background: rgba(15, 20, 30, .82);
  opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1000px, 100%); max-height: 90vh; border-radius: 10px; box-shadow: 0 12px 48px rgba(0,0,0,.45); }
.lightbox-close {
  position: absolute; top: 16px; right: 20px;
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.14); color: #fff; font-size: 26px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .15s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,.26); }
