/* ==========================================================================
   Automotive Tools Guide — theme v3
   Editorial workshop system: graphite + amber, condensed display type.
   ========================================================================== */

@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/barlow-condensed-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/barlow-condensed-700.woff2') format('woff2');
}

:root {
  --ink: #0f1115;
  --ink-2: #171b22;
  --ink-3: #242a34;
  --paper: #f7f5f0;
  --paper-2: #efece3;
  --surface: #ffffff;
  --line: #e3ded3;
  --line-strong: #cfc8b9;
  --text: #191c23;
  --muted: #5d6472;
  --muted-2: #646b78;
  --amber: #f5a524;
  --amber-strong: #e08a00;
  --amber-deep: #a35a00;
  --amber-soft: #fff4dc;
  --green: #0e7a4a;
  --green-soft: #e7f6ee;
  --blue: #1e3a8a;
  --font-display: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1240px;
  --read: 780px;
  --radius-sm: 7px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 17, 21, .06);
  --shadow: 0 10px 30px -12px rgba(15, 17, 21, .22);
  --shadow-lg: 0 28px 60px -24px rgba(15, 17, 21, .38);
  --ease: cubic-bezier(.2, .7, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--amber-deep); text-decoration: none; }
a:hover { color: var(--ink); }
button { font: inherit; }
::selection { background: var(--amber); color: var(--ink); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: .005em;
  margin: 0 0 .5em;
  color: var(--ink);
}

p { margin: 0 0 1.15em; }
ul, ol { margin: 0 0 1.25em; padding-left: 1.25em; }
li { margin-bottom: .45em; }
strong { color: var(--ink); font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: -60px; left: 16px;
  z-index: 2000;
  background: var(--amber);
  color: var(--ink);
  padding: 10px 18px;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: .045em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  transition: transform .18s var(--ease), background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.btn-primary:hover { background: #ffb838; color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-ink:hover { background: var(--ink-3); color: #fff; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.32); color: #fff; }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn-sm { padding: 10px 15px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-amazon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 15px;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffb838, var(--amber));
  border: 1px solid #d98d00;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 4px 12px -6px rgba(163, 90, 0, .6);
  color: #17130a;
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.05;
  text-align: center;
  transition: transform .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);
}
.btn-amazon:hover {
  background: linear-gradient(180deg, #ffc95a, #f7ab22);
  color: #17130a;
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 8px 18px -8px rgba(163, 90, 0, .7);
}
.btn-amazon svg { width: 17px; height: 17px; flex: none; }
.btn-amazon .btn-sub { display: block; font-size: .72rem; font-weight: 600; opacity: .72; letter-spacing: .02em; }
.btn-amazon--wide { width: 100%; }
.paid-note {
  display: inline-block;
  margin-top: 6px;
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header.is-scrolled { box-shadow: 0 8px 30px -12px rgba(0,0,0,.6); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 70px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand img { width: 38px; height: 38px; }
.brand-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  line-height: .92;
  letter-spacing: .055em;
  text-transform: uppercase;
  color: #fff;
}
.brand-text em { font-style: normal; color: var(--amber); }
.brand-text small {
  margin-top: 5px;
  font-family: var(--font-body);
  font-size: .52rem;
  font-weight: 600;
  letter-spacing: .19em;
  color: rgba(255,255,255,.45);
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav-item {
  display: inline-flex;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 7px;
  color: rgba(255,255,255,.82);
  font-size: .89rem;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: color .15s, background .15s;
}
.nav-item:hover, .nav-item[aria-expanded="true"] { color: #fff; background: rgba(255,255,255,.07); }
.nav-item svg { width: 12px; height: 12px; transition: transform .2s; }
.nav-item[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-dropdown { position: relative; }
.nav-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, 82vw);
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  translate: 0 -6px;
  transition: opacity .16s, translate .16s, visibility .16s;
}
.nav-dropdown.is-open .nav-panel { opacity: 1; visibility: visible; translate: 0 0; }
.nav-panel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px 14px;
}
.nav-panel a {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--text);
  font-size: .83rem;
  font-weight: 600;
  line-height: 1.25;
}
.nav-panel a:hover { background: var(--amber-soft); color: var(--ink); }
.nav-panel-all {
  display: block;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--amber-deep);
}
.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16);
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.icon-btn:hover { border-color: var(--amber); color: var(--amber); background: rgba(255,255,255,.04); }
.icon-btn svg { width: 18px; height: 18px; }
.header-cta { font-size: 1rem; padding: 11px 16px; }
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 19px; height: 2px;
  margin: 4px auto;
  background: #fff;
  transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none;
  border-top: 1px solid rgba(255,255,255,.1);
  background: var(--ink);
  padding: 8px 0 20px;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block;
  padding: 12px 24px;
  color: rgba(255,255,255,.86);
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mobile-nav a:hover { color: var(--amber); }
.mobile-nav .mob-label {
  padding: 18px 24px 6px;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
}
.mobile-nav .mob-cats { display: grid; grid-template-columns: 1fr 1fr; }
.mobile-nav .mob-cats a { border: 0; padding: 8px 24px; font-size: .85rem; color: rgba(255,255,255,.7); }

/* ---------- Search overlay ---------- */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 12vh 20px 20px;
  background: rgba(9, 11, 15, .78);
  backdrop-filter: blur(6px);
}
.search-overlay[hidden] { display: none; }
.search-panel {
  width: min(620px, 100%);
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 24px;
}
.search-panel h2 { font-size: 1.9rem; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 4px; }
.search-panel p { color: var(--muted); font-size: .92rem; }
.search-form { display: flex; gap: 8px; margin-top: 14px; }
.search-form input {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font: inherit;
  font-size: 1rem;
  background: #fff;
  color: var(--text);
}
.search-form input:focus { border-color: var(--amber); outline: 3px solid rgba(245,165,36,.24); outline-offset: 0; }
.search-hint { margin-top: 14px; font-size: .8rem; color: var(--muted-2); }
.search-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 38px; height: 38px;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
}

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 68px 0 56px;
  background:
    radial-gradient(900px 420px at 78% -10%, rgba(245,165,36,.16), transparent 70%),
    linear-gradient(180deg, var(--paper) 0%, #f2efe7 100%);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(15,17,21,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(15,17,21,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.65), transparent 78%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: 54px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber-deep);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--amber); flex: none; }
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.9rem, 5.2vw, 4.7rem);
  line-height: .96;
  letter-spacing: -.005em;
  text-transform: uppercase;
}
.hero h1 em { font-style: normal; color: var(--amber-deep); }
.hero-lede {
  max-width: 56ch;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #3f4551;
  margin-bottom: 26px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.hero-search { display: flex; gap: 8px; max-width: 500px; margin-bottom: 22px; }
.hero-search input {
  flex: 1;
  min-width: 0;
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-size: .97rem;
  color: var(--text);
}
.hero-search input::placeholder { color: var(--muted-2); }
.hero-search button {
  flex: none;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}
.hero-search button:hover { background: var(--ink-3); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.hero-chips a {
  padding: 6px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255,255,255,.62);
  color: #3b414d;
  font-size: .78rem;
  font-weight: 600;
}
.hero-chips a:hover { border-color: var(--amber); background: #fff; color: var(--ink); }

.hero-media { position: relative; }
.hero-frame {
  position: relative;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.1deg);
}
.hero-frame img {
  width: 100%;
  aspect-ratio: 4 / 3.3;
  object-fit: cover;
  border-radius: 9px;
  filter: saturate(.92) contrast(1.03);
}
.hero-frame::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 9px;
  box-shadow: inset 0 -120px 110px -70px rgba(0,0,0,.72);
  pointer-events: none;
}
.hero-frame figcaption {
  position: absolute;
  left: 26px; right: 26px; bottom: 24px;
  z-index: 1;
  color: #fff;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(0,0,0,.6);
}
.hero-badge {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  background: var(--ink);
  color: #fff;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  box-shadow: var(--shadow);
  font-size: .76rem;
  line-height: 1.25;
}
.hero-badge strong { display: block; color: #fff; font-size: .95rem; font-family: var(--font-display); letter-spacing: .06em; text-transform: uppercase; }
.hero-badge span { color: rgba(255,255,255,.6); }
.hero-badge--tl { top: 26px; left: -26px; }
.hero-badge--br { right: -18px; bottom: 42px; }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(245,165,36,.18); flex: none; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--ink); color: #fff; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.1);
}
.trust-item { background: var(--ink); padding: 22px 24px; }
.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .01em;
  color: #fff;
}
.trust-item strong em { font-style: normal; color: var(--amber); }
.trust-item span {
  display: block;
  margin-top: 7px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255,255,255,.54);
}

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section--paper { background: var(--paper); }
.section--white { background: var(--surface); }
.section--ink { background: var(--ink); color: #fff; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  text-transform: uppercase;
  letter-spacing: .015em;
}
.section-head h2 span { color: var(--amber-deep); }
.section-head p { margin: 7px 0 0; color: var(--muted); max-width: 62ch; }
.section-link {
  flex: none;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 2px solid var(--amber);
  padding-bottom: 3px;
  white-space: nowrap;
}
.section-link:hover { color: var(--amber-deep); }
.section--ink .section-head h2, .section--ink .section-head p { color: #fff; }
.section--ink .section-head p { color: rgba(255,255,255,.6); }
.section--ink .section-link { color: #fff; }
.section-rule { width: 54px; height: 3px; background: var(--amber); margin: 0 0 18px; }

/* ---------- Category tiles ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.cat-tile {
  position: relative;
  display: block;
  padding: 18px 18px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  transition: border-color .18s, transform .18s, background .18s;
}
.cat-tile:hover { border-color: var(--amber); transform: translateY(-2px); background: #fffdf8; color: var(--ink); }
.cat-tile .num {
  display: block;
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--amber-deep);
  margin-bottom: 7px;
}
.cat-tile strong {
  display: block;
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 10px;
}
.cat-tile .go {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--muted-2);
}
.cat-tile:hover .go { color: var(--amber-deep); }

/* ---------- Guide cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.guide-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.guide-card::before {
  content: "";
  position: absolute;
  left: 22px; right: 22px; top: -1px;
  height: 3px;
  background: var(--amber);
  border-radius: 0 0 3px 3px;
  opacity: 0;
  transition: opacity .18s;
}
.guide-card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.guide-card:hover::before { opacity: 1; }
.guide-kicker {
  display: inline-block;
  margin-bottom: 10px;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--amber-deep);
}
.guide-title {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.005em;
}
.guide-title a { color: var(--ink); }
.guide-title a:hover { color: var(--amber-deep); }
.guide-excerpt {
  margin: 0 0 16px;
  font-size: .86rem;
  line-height: 1.55;
  color: var(--muted);
  max-height: 4.65em;
  overflow: hidden;
}
.guide-excerpt p { margin: 0; }
.guide-excerpt a { color: inherit; }
.guide-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  font-size: .72rem;
  color: var(--muted-2);
}
.guide-foot .sep { color: var(--line-strong); }
.guide-foot .arrow { margin-left: auto; color: var(--amber-deep); font-weight: 700; font-size: 1rem; }
.guide-card--feature { grid-column: span 2; background: var(--ink); border-color: var(--ink); color: #fff; }
.guide-card--feature .guide-kicker { color: var(--amber); }
.guide-card--feature .guide-title { font-family: var(--font-display); font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.05; text-transform: uppercase; }
.guide-card--feature .guide-title a { color: #fff; }
.guide-card--feature .guide-title a:hover { color: var(--amber); }
.guide-card--feature .guide-excerpt { color: rgba(255,255,255,.62); max-height: 4.8em; font-size: .9rem; }
.guide-card--feature .guide-foot { border-color: rgba(255,255,255,.14); color: rgba(255,255,255,.55); }
.guide-card--feature .guide-foot .arrow { color: var(--amber); }

/* ---------- Feature band ---------- */
.feature-band {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 0;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature-band-copy { padding: 48px; }
.feature-band-copy .eyebrow { color: var(--amber); }
.feature-band-copy h2 { color: #fff; font-size: clamp(2rem, 3.2vw, 3rem); text-transform: uppercase; margin-bottom: 16px; }
.feature-band-copy p { color: rgba(255,255,255,.66); max-width: 52ch; }
.feature-band-copy .btn { margin-top: 10px; }
.feature-band-media { position: relative; min-height: 320px; background: #0a0c10; }
.feature-band-media img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.feature-band-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, transparent 45%); }
.step-list { list-style: none; margin: 22px 0 26px; padding: 0; counter-reset: step; }
.step-list li {
  position: relative;
  padding-left: 42px;
  margin-bottom: 14px;
  color: rgba(255,255,255,.78);
  font-size: .93rem;
}
.step-list li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0; top: 1px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .06em;
  color: var(--amber);
  border: 1px solid rgba(245,165,36,.4);
  border-radius: 999px;
  padding: 2px 7px;
}
.step-list strong { color: #fff; }

/* ---------- Article hero ---------- */
.post-hero {
  position: relative;
  overflow: hidden;
  padding: 30px 0 42px;
  background:
    radial-gradient(760px 360px at 82% 0%, rgba(245,165,36,.16), transparent 72%),
    var(--ink);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.post-hero .crumbs { margin-bottom: 18px; }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--muted-2);
}
.crumbs a { color: rgba(255,255,255,.58); }
.crumbs a:hover { color: var(--amber); }
.crumbs .sep { color: rgba(255,255,255,.28); }
.crumbs .current { color: rgba(255,255,255,.85); }
.post-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: start;
}
.post-hero .eyebrow { color: var(--amber); margin-bottom: 12px; }
.post-hero .eyebrow a { color: var(--amber); }
.post-hero .eyebrow a:hover { color: #fff; }
.post-h1 {
  margin: 0 0 20px;
  max-width: 24ch;
  font-size: clamp(2.15rem, 3.9vw, 3.55rem);
  line-height: 1.01;
  letter-spacing: -.002em;
  color: #fff;
}
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  flex: none;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.byline-who { display: flex; flex-direction: column; line-height: 1.25; }
.byline-who a { color: #fff; font-size: .88rem; font-weight: 700; }
.byline-who a:hover { color: var(--amber); }
.byline-who span { font-size: .72rem; color: rgba(255,255,255,.55); }
.byline-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  font-size: .76rem;
  color: rgba(255,255,255,.6);
}
.byline-meta .sep { color: rgba(255,255,255,.24); }
.byline-meta .tested {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(14,122,74,.18);
  border: 1px solid rgba(34,197,94,.3);
  color: #86efac;
  font-weight: 600;
  font-size: .68rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.byline-meta .tested svg { width: 11px; height: 11px; }
.hero-pick {
  padding: 16px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 12px;
}
.hero-pick-label {
  display: block;
  margin-bottom: 10px;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--amber);
}
.hero-pick-body { display: flex; gap: 12px; align-items: center; }
.hero-pick img {
  width: 64px; height: 64px;
  object-fit: contain;
  background: #fff;
  border-radius: 7px;
  padding: 4px;
  flex: none;
}
.hero-pick a.pick-link {
  display: block;
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.3;
  max-height: 3.9em;
  overflow: hidden;
  margin-bottom: 8px;
}
.hero-pick a.pick-link:hover { color: var(--amber); }
.hero-pick .btn-amazon { width: 100%; padding: 8px 10px; font-size: .8rem; }
.hero-pick .pick-sub { display: block; margin-top: 8px; font-size: .66rem; color: rgba(255,255,255,.42); }

/* ---------- Article layout ---------- */
.article-shell { background: var(--paper); padding: 34px 0 70px; }
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 312px;
  gap: 52px;
  align-items: start;
}
.article-main { min-width: 0; max-width: var(--read); }
.article-rail { position: relative; }
.rail-sticky { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 14px; }

.disclosure-bar {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 26px;
  padding: 12px 15px;
  background: var(--amber-soft);
  border: 1px solid #f3dcae;
  border-left: 3px solid var(--amber);
  border-radius: 7px;
  font-size: .76rem;
  line-height: 1.5;
  color: #6b4a12;
}
.disclosure-bar svg { width: 15px; height: 15px; flex: none; margin-top: 2px; }
.disclosure-bar a { color: #6b4a12; text-decoration: underline; }

/* TOC */
.toc-card {
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.toc-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}
.toc-title span { font-family: var(--font-body); font-size: .62rem; letter-spacing: .1em; color: var(--muted-2); }
.toc-list { list-style: none; margin: 0; padding: 0; max-height: min(48vh, 430px); overflow: auto; scrollbar-width: thin; }
.toc-list li { margin: 0; }
.toc-list a {
  display: block;
  padding: 6px 8px 6px 11px;
  border-left: 2px solid var(--line);
  color: #404652;
  font-size: .78rem;
  line-height: 1.35;
  transition: color .15s, border-color .15s, background .15s;
}
.toc-list a:hover { color: var(--amber-deep); border-color: var(--amber); background: #fffdf7; }
.toc-list a.is-active { color: var(--ink); border-color: var(--amber); background: var(--amber-soft); font-weight: 600; }
.toc-list ul { list-style: none; margin: 0; padding: 0; }
.toc-list ul ul a { padding-left: 22px; font-size: .73rem; color: var(--muted); }
.toc-list ul ul a::before { content: "– "; color: var(--line-strong); }

.toc-mobile {
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
}
.toc-mobile summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 15px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  list-style: none;
}
.toc-mobile summary::-webkit-details-marker { display: none; }
.toc-mobile summary::after { content: "+"; font-size: 1.2rem; color: var(--amber-deep); }
.toc-mobile[open] summary::after { content: "–"; }
.toc-mobile .toc-list { max-height: none; padding: 0 8px 10px; }

.rail-card {
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.rail-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.rail-card p { margin: 0 0 10px; font-size: .8rem; color: var(--muted); line-height: 1.55; }
.rail-pick { border-top: 3px solid var(--amber); }
.rail-pick .rail-pick-body { display: flex; gap: 11px; align-items: center; margin-bottom: 11px; }
.rail-pick img { width: 58px; height: 58px; object-fit: contain; flex: none; }
.rail-pick .rail-pick-name { font-size: .82rem; font-weight: 600; line-height: 1.35; color: var(--ink); }
.rail-pick .btn-amazon { width: 100%; font-size: .82rem; padding: 8px 10px; }
.rail-trust { background: var(--ink); border-color: var(--ink); color: #fff; }
.rail-trust h3 { color: #fff; }
.rail-trust p { color: rgba(255,255,255,.6); }
.rail-trust .mini-list { list-style: none; margin: 0; padding: 0; }
.rail-trust .mini-list li {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  font-size: .74rem;
  color: rgba(255,255,255,.72);
}
.rail-trust .mini-list svg { width: 13px; height: 13px; flex: none; margin-top: 2px; color: var(--amber); }
.rail-trust a { color: var(--amber); font-weight: 600; font-size: .74rem; }
.rail-cats { padding: 14px 18px; }
.rail-cats a { display: block; padding: 4px 0; font-size: .78rem; color: #444a56; }
.rail-cats a:hover { color: var(--amber-deep); }

/* ---------- Quick picks ---------- */
.quick-picks {
  margin: 0 0 34px;
  padding: 20px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
}
.quick-picks-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}
.quick-picks-head h2 {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
}
.quick-picks-head span { font-size: .68rem; letter-spacing: .06em; color: rgba(255,255,255,.5); text-transform: uppercase; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.quick-card {
  display: flex;
  flex-direction: column;
  padding: 12px;
  background: #fff;
  border-radius: 9px;
  color: var(--ink);
}
.quick-card .q-rank {
  align-self: flex-start;
  margin-bottom: 8px;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--amber-soft);
  color: var(--amber-deep);
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
}
.quick-card img { width: 100%; height: 76px; object-fit: contain; margin-bottom: 8px; }
.quick-card .q-name {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: .76rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 10px;
  min-height: 3.9em;
}
.quick-card .btn-amazon { margin-top: auto; font-size: .74rem; padding: 8px 8px; }
.quick-foot { margin-top: 11px; font-size: .68rem; color: rgba(255,255,255,.45); }
.quick-picks .quick-foot a, .quick-foot a { color: var(--amber); text-decoration: underline; }

/* ---------- Pick list ---------- */
.pick-list {
  margin: 26px 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
}
.pick-row {
  display: grid;
  grid-template-columns: 42px 76px minmax(0, 1fr) auto;
  gap: 15px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  transition: background .15s;
}
.pick-row:last-child { border-bottom: 0; }
.pick-row:hover { background: #fffdf6; }
.pick-rank {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
  color: var(--amber-deep);
  letter-spacing: .01em;
}
.pick-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px; height: 76px;
  padding: 5px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.pick-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pick-info { min-width: 0; }
.pick-flag {
  display: inline-block;
  margin-bottom: 4px;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--green-soft);
  color: var(--green);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.pick-name {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.36;
  color: var(--ink);
}
.pick-name:hover { color: var(--amber-deep); }
.pick-row .btn-amazon { min-width: 172px; }
.pick-note { margin: 0 0 34px; font-size: .7rem; color: var(--muted-2); }

/* ---------- Product review cards ---------- */
.review-card {
  position: relative;
  margin: 0 0 18px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  scroll-margin-top: 92px;
  transition: border-color .18s, box-shadow .18s;
}
.review-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.review-top {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.review-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  padding: 12px;
  background: #faf9f6;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.review-media img { max-height: 150px; width: auto; object-fit: contain; }
.review-rank {
  display: inline-block;
  margin-bottom: 7px;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber-deep);
}
.review-head h3 {
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: -.005em;
}
.review-head .btn-amazon { min-width: 210px; }
.review-copy { font-size: .96rem; line-height: 1.7; }
.review-copy p { margin: 0 0 .85em; }
.review-copy p:last-child { margin-bottom: 0; }
.review-copy strong { color: #7a4a00; }
.review-copy br + strong { }
.review-copy em { color: var(--muted); }
.review-verdict {
  margin-top: 14px;
  padding: 12px 14px;
  background: var(--amber-soft);
  border-left: 3px solid var(--amber);
  border-radius: 0 7px 7px 0;
  font-size: .93rem;
}

/* ---------- Post body ---------- */
.post-body { font-size: 1.03rem; line-height: 1.75; }
.post-body > p:first-of-type { font-size: 1.09rem; color: #2b303a; }
.post-body h2 {
  position: relative;
  margin: 2.6rem 0 1rem;
  padding-top: 1.4rem;
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: .005em;
  border-top: 1px solid var(--line);
}
.post-body h2::before {
  content: "";
  position: absolute;
  top: -2px; left: 0;
  width: 46px; height: 3px;
  background: var(--amber);
}
.post-body h3 {
  margin: 2rem 0 .7rem;
  font-size: clamp(1.32rem, 2vw, 1.6rem);
  line-height: 1.15;
}
.post-body h4 { font-size: 1.15rem; margin: 1.6rem 0 .5rem; }
.post-body a { color: var(--amber-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.post-body a:hover { color: var(--ink); }
.post-body ul, .post-body ol { padding-left: 1.3rem; }
.post-body li { margin-bottom: .5rem; }
.post-body li::marker { color: var(--amber-deep); }
.post-body blockquote {
  margin: 1.6rem 0;
  padding: 14px 20px;
  border-left: 3px solid var(--amber);
  background: var(--amber-soft);
  border-radius: 0 8px 8px 0;
  color: #4c3a12;
}
.post-body blockquote p:last-child { margin-bottom: 0; }
.post-body table:not(.product-table) {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: .88rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.post-body table:not(.product-table) th {
  background: var(--ink);
  color: #fff;
  text-align: left;
  padding: 11px 12px;
  font-family: var(--font-display);
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.post-body table:not(.product-table) td { padding: 11px 12px; border-top: 1px solid var(--line); vertical-align: top; }
.post-body table:not(.product-table) tr:nth-child(even) td { background: #fbfaf7; }
.post-body img { border-radius: 8px; }
.post-body hr { margin: 2rem 0; border-color: var(--line); }
.post-body details {
  margin: 1.3rem 0;
  padding: 12px 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.post-body summary { cursor: pointer; font-weight: 700; }
.post-body code { background: var(--paper-2); padding: 2px 5px; border-radius: 4px; font-size: .9em; }

@media (min-width: 981px) { .toc-mobile { display: none; } }

/* FAQ block */
.faq-block {
  margin-top: 2.4rem;
  padding: 6px 0 0;
}
.faq-block > h2 { margin-top: 1.2rem; }
.faq-block > h2:first-child { font-size: clamp(1.8rem, 2.6vw, 2.25rem); }
.faq-block > h2:not(:first-child) {
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  font-size: clamp(1.25rem, 1.9vw, 1.45rem);
  border-top: 1px solid var(--line);
}
.faq-block > h2:not(:first-child)::before { display: none; }
.faq-block > h3 {
  margin-top: 1.35rem;
  font-size: clamp(1.15rem, 1.7vw, 1.32rem);
}
.faq-block p { margin-bottom: .9rem; }
.faq-block p strong:first-child { color: var(--ink); }
.faq-block h2 + p, .faq-block h3 + p { color: #333945; }

/* ---------- Author + post footer ---------- */
.author-box {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 18px;
  margin: 44px 0 0;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.author-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.author-box .name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.author-box .role {
  margin: 2px 0 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--amber-deep);
}
.author-box p { margin: 0 0 8px; font-size: .88rem; color: var(--muted); line-height: 1.6; }
.author-box a { font-weight: 600; }

.post-footer { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.affiliate-notice {
  padding: 14px 16px;
  margin-bottom: 24px;
  background: var(--paper-2);
  border-left: 3px solid var(--amber);
  border-radius: 0 7px 7px 0;
  font-size: .78rem;
  color: #4d5360;
}
.affiliate-notice p { margin: 0; }
.post-navigation {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 34px;
}
.post-navigation a {
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
}
.post-navigation a:hover { border-color: var(--amber); }
.post-navigation .nav-label {
  display: block;
  margin-bottom: 5px;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--amber-deep);
}
.post-navigation .nav-title { font-size: .88rem; font-weight: 600; line-height: 1.35; }
.post-navigation .nav-next { text-align: right; }

/* Related */
.related {
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.related .section-head { margin-bottom: 18px; }
.related .section-head h2 { font-size: 1.8rem; }
.related .card-grid { grid-template-columns: repeat(2, 1fr); }
.related .guide-card { padding: 18px; }
.related .guide-title { font-size: .97rem; }
.related .guide-excerpt { font-size: .8rem; }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(15,17,21,.97);
  border-top: 1px solid rgba(245,165,36,.35);
  box-shadow: 0 -10px 30px rgba(0,0,0,.3);
  transform: translateY(110%);
  transition: transform .25s var(--ease);
}
.mobile-cta.is-visible { transform: translateY(0); }
.mobile-cta-info { min-width: 0; flex: 1; }
.mobile-cta-info span {
  display: block;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber);
}
.mobile-cta-info strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .78rem;
  font-weight: 600;
  color: #fff;
}
.mobile-cta .btn-amazon { flex: none; padding: 10px 14px; font-size: .82rem; }
.mobile-cta-close {
  flex: none;
  width: 28px; height: 28px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  background: transparent;
  color: rgba(255,255,255,.7);
  cursor: pointer;
  line-height: 1;
}

/* ---------- Page hero / listing ---------- */
.page-hero {
  position: relative;
  padding: 42px 0 38px;
  background:
    radial-gradient(700px 300px at 88% -20%, rgba(245,165,36,.18), transparent 70%),
    var(--ink);
  color: #fff;
}
.page-hero .crumbs { margin-bottom: 16px; }
.page-hero .eyebrow { color: var(--amber); margin-bottom: 10px; }
.page-title {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 4.4vw, 3.7rem);
  line-height: .98;
  text-transform: uppercase;
  color: #fff;
  max-width: 20ch;
}
.page-description { max-width: 68ch; margin: 0; color: rgba(255,255,255,.64); font-size: 1rem; line-height: 1.6; }
.page-hero .hero-chips { margin-top: 20px; }
.page-hero .hero-chips a { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: rgba(255,255,255,.8); }
.page-hero .hero-chips a:hover { background: rgba(255,255,255,.11); border-color: var(--amber); color: #fff; }

.listing { padding: 44px 0 70px; }
.listing-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.listing-head p { margin: 0; font-size: .82rem; color: var(--muted); }
.listing-head strong { color: var(--ink); }
.listing .card-grid { grid-template-columns: repeat(3, 1fr); }
.posts-container { max-width: none !important; }
.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 40px 0 0;
}
.pagination a, .pagination span, .pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: #fff;
  font-size: .83rem;
  font-weight: 600;
  color: var(--ink);
}
.pagination a:hover { border-color: var(--amber); background: var(--amber-soft); }
.pagination .pagination-current, .pagination .active .page-link, .pagination .page-item.active .page-link { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination .pagination-next, .pagination .pagination-prev {
  font-family: var(--font-display);
  font-size: .95rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 0 16px;
}
.pagination ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.pagination li { margin: 0; }
.pagination .disabled { opacity: .35; pointer-events: none; }

/* category index (tags page) */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 40px; }
.tag-link, .tag-cloud a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: .82rem;
  font-weight: 600;
}
.tag-link:hover, .tag-cloud a:hover { border-color: var(--amber); background: var(--amber-soft); }
.tag-count { color: var(--muted-2); font-size: .72rem; font-weight: 500; }

/* ---------- Prose pages ---------- */
.prose-shell { padding: 44px 0 70px; }
.prose-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 52px; align-items: start; }
.prose { max-width: 780px; font-size: 1.02rem; line-height: 1.75; }
.prose h2 {
  position: relative;
  margin: 2.4rem 0 1rem;
  padding-top: 1.3rem;
  font-size: clamp(1.7rem, 2.4vw, 2.1rem);
  border-top: 1px solid var(--line);
}
.prose h2::before { content: ""; position: absolute; top: -2px; left: 0; width: 44px; height: 3px; background: var(--amber); }
.prose h3 { margin: 1.8rem 0 .6rem; font-size: 1.42rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose img { border-radius: 10px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 1.5rem 0; background: #fff; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.prose th { background: var(--ink); color: #fff; font-family: var(--font-display); letter-spacing: .06em; text-transform: uppercase; font-size: .82rem; }
.prose-intro { font-size: 1.12rem; color: #2f3540; }
.prose .lede { font-size: 1.1rem; }

.page-content { padding: 0; }
.page-body { max-width: 780px; }
.sitemap-list { list-style: none; margin: 0; padding: 0; }
.sitemap-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 18px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
}
.sitemap-list a { color: var(--ink); font-weight: 600; font-size: .92rem; text-decoration: none; }
.sitemap-list a:hover { color: var(--amber-deep); }
.sitemap-date { color: var(--muted-2); font-size: .74rem; }
.sitemap-container { max-width: none !important; padding: 0 !important; }
.sitemap-description { color: var(--muted); font-size: .95rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 26px 0 34px; }
.contact-card { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.contact-card h3 { margin: 0 0 6px; font-size: 1.25rem; }
.contact-card p { margin: 0 0 10px; font-size: .88rem; color: var(--muted); }
.contact-card a { font-weight: 600; word-break: break-word; }
.email-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 22px;
  background: var(--ink);
  border-radius: 12px;
  color: #fff;
}
.email-cta p { margin: 0; color: rgba(255,255,255,.62); font-size: .86rem; }
.email-cta strong { display: block; color: #fff; font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .03em; text-transform: uppercase; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.66);
  padding: 56px 0 24px;
  border-top: 3px solid var(--amber);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .9fr .9fr .8fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { max-width: 38ch; font-size: .84rem; line-height: 1.65; color: rgba(255,255,255,.55); }
.footer-brand .footer-badges { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.footer-badges span {
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
}
.footer-col h3 {
  margin: 0 0 13px;
  font-family: var(--font-display);
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #fff;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0 0 7px; }
.footer-col a { color: rgba(255,255,255,.6); font-size: .82rem; }
.footer-col a:hover { color: var(--amber); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  font-size: .74rem;
  color: rgba(255,255,255,.64);
}
.footer-bottom p { margin: 0; }
.affiliate-disclosure { color: rgba(255,255,255,.64); max-width: 62ch; line-height: 1.5; }

/* ---------- Search page ---------- */
.search-hero { padding: 44px 0 34px; background: var(--ink); color: #fff; }
.search-hero h1 { color: #fff; font-size: clamp(2.2rem, 4vw, 3.4rem); text-transform: uppercase; margin-bottom: 10px; }
.search-hero p { color: rgba(255,255,255,.6); margin-bottom: 20px; }
.search-page-form { display: flex; gap: 8px; max-width: 640px; }
.search-page-form input {
  flex: 1; min-width: 0;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  color: #fff;
  font: inherit;
}
.search-page-form input::placeholder { color: rgba(255,255,255,.4); }
.search-page-form button { flex: none; }
.search-results { padding: 36px 0 70px; }
.search-status { margin-bottom: 22px; font-size: .86rem; color: var(--muted); }
.search-result {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.search-result:hover h2 { color: var(--amber-deep); }
.search-result h2 { margin: 0 0 5px; font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; line-height: 1.35; }
.search-result p { margin: 0 0 6px; font-size: .84rem; color: var(--muted); }
.search-result .meta { font-size: .7rem; color: var(--muted-2); }

/* ---------- Compat: legacy listing markup ---------- */
.blog-listing, .latest-posts, .features, .how-we-test, .categories, .related-posts { padding: 0; }
.post-card {
  padding: 22px;
  margin-bottom: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.post-card .post-title { margin: 0 0 8px; font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; }
.post-card .post-title a { color: var(--ink); }
.post-card .post-title a:hover { color: var(--amber-deep); }
.post-excerpt { font-size: .86rem; color: var(--muted); }
.article-meta { display: flex; gap: 8px; font-size: .72rem; color: var(--muted-2); margin-bottom: 8px; }
.read-more { font-size: .8rem; font-weight: 600; }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.affiliate-disclosure-section, .disclosure-content { max-width: 820px; margin: 0 auto; }

/* ---------- Home extras ---------- */
.card-grid--home .guide-card:first-child {
  grid-column: span 2;
  background: var(--ink);
  border-color: var(--ink);
}
.card-grid--home .guide-card:first-child .guide-kicker { color: var(--amber); }
.card-grid--home .guide-card:first-child .guide-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 2.6vw, 2.5rem);
  line-height: 1.02;
  text-transform: uppercase;
}
.card-grid--home .guide-card:first-child .guide-title a { color: #fff; }
.card-grid--home .guide-card:first-child .guide-title a:hover { color: var(--amber); }
.card-grid--home .guide-card:first-child .guide-excerpt { color: rgba(255,255,255,.62); max-height: 4.9em; font-size: .92rem; }
.card-grid--home .guide-card:first-child .guide-foot { border-color: rgba(255,255,255,.14); color: rgba(255,255,255,.55); }
.card-grid--home .guide-card:first-child .guide-foot .arrow { color: var(--amber); }
.card-grid--home .guide-card:first-child::before { opacity: 1; background: var(--amber); }

.link-list { border-top: 1px solid var(--line); }
.link-row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 24px;
  gap: 18px;
  align-items: center;
  padding: 17px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  transition: padding .18s, background .18s;
}
.link-row:hover { background: #fffdf7; padding-left: 12px; padding-right: 12px; color: var(--ink); }
.link-row-cat {
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--amber-deep);
}
.link-row strong { font-size: .98rem; font-weight: 700; line-height: 1.35; }
.link-row-arrow { justify-self: end; color: var(--amber-deep); font-size: 1.1rem; }

.disclosure-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--amber);
  border-radius: 10px;
}
.disclosure-strip strong { display: block; font-family: var(--font-display); font-size: 1.25rem; letter-spacing: .03em; text-transform: uppercase; }
.disclosure-strip p { margin: 4px 0 0; font-size: .85rem; color: var(--muted); max-width: 72ch; }
.disclosure-strip a { color: var(--amber-deep); text-decoration: underline; }

.protocol-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,.09);
  min-height: 0;
}
.protocol-panel::after { display: none; }
.protocol-item {
  padding: 28px 24px;
  background: #12151b;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.protocol-item span {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--amber);
}
.protocol-item strong {
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #fff;
}
.protocol-item p { margin: 0; font-size: .78rem; line-height: 1.55; color: rgba(255,255,255,.55); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1100;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s, background .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--amber); color: var(--ink); border-color: var(--amber); }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .primary-nav { gap: 0; }
  .nav-item { padding: 10px 9px; font-size: .84rem; }
  .post-hero-grid { grid-template-columns: minmax(0, 1fr) 270px; gap: 32px; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 282px; gap: 34px; }
  .article-main { max-width: none; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  .primary-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .header-inner { min-height: 64px; gap: 12px; }
  .header-actions { margin-left: auto; }
  .hero { padding: 44px 0 42px; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-media { max-width: 560px; order: 2; }
  .hero-badge--tl { left: 10px; }
  .hero-badge--br { right: 6px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid, .listing .card-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-card--feature { grid-column: span 2; }
  .card-grid--home .guide-card:first-child { grid-column: span 2; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .post-hero-grid { grid-template-columns: 1fr; }
  .hero-pick { display: none; }
  .article-layout { grid-template-columns: 1fr; gap: 0; }
  .article-rail { display: none; }
  .article-main { max-width: 100%; }
  .toc-desktop { display: none; }
  .mobile-cta { display: flex; }
  .feature-band { grid-template-columns: 1fr; }
  .feature-band-media { min-height: 240px; order: -1; }
  .feature-band-media::after { background: linear-gradient(0deg, var(--ink) 0%, transparent 55%); }
  .prose-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .post-navigation { grid-template-columns: 1fr; }
  .post-navigation .nav-next { text-align: left; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { padding-inline: 18px; }
  .section { padding: 44px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero h1 { font-size: clamp(2.5rem, 10vw, 3.4rem); }
  .hero-lede { font-size: 1rem; }
  .hero-frame { transform: none; }
  .hero-frame img { aspect-ratio: 4 / 3; }
  .trust-item { padding: 18px; }
  .trust-item strong { font-size: 1.6rem; }
  .card-grid, .listing .card-grid, .related .card-grid, .posts-grid { grid-template-columns: 1fr; }
  .guide-card--feature { grid-column: span 1; }
  .card-grid--home .guide-card:first-child { grid-column: span 1; }
  .link-row { grid-template-columns: 1fr 20px; gap: 4px 12px; }
  .link-row-cat { grid-column: 1 / -1; }
  .link-row-arrow { grid-row: 2; }
  .protocol-item { padding: 20px 18px; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .cat-tile { padding: 14px; }
  .cat-tile strong { font-size: .88rem; }
  .post-hero { padding: 22px 0 30px; }
  .post-h1 { font-size: clamp(1.95rem, 8.4vw, 2.7rem); }
  .byline { gap: 9px 11px; }
  .byline-meta { flex-basis: 100%; }
  .article-shell { padding: 22px 0 54px; }
  .quick-grid { grid-template-columns: 1fr; }
  .quick-picks-head span { flex-basis: 100%; }
  .quick-picks-head h2 { font-size: 1.35rem; }
  .quick-card { display: grid; grid-template-columns: 62px 1fr; column-gap: 10px; align-items: center; }
  .quick-card .q-rank { grid-column: 1 / -1; }
  .quick-card img { height: 60px; margin: 0; grid-row: span 2; }
  .quick-card .q-name { min-height: 0; margin-bottom: 6px; }
  .quick-card .btn-amazon { grid-column: 2; }
  .pick-row { grid-template-columns: 32px 62px minmax(0, 1fr); gap: 10px; padding: 12px; }
  .pick-rank { font-size: 1.25rem; }
  .pick-thumb { width: 62px; height: 62px; }
  .pick-row .btn-amazon { grid-column: 1 / -1; width: 100%; margin-top: 4px; }
  .pick-name { font-size: .84rem; }
  .review-card { padding: 16px; }
  .review-top { grid-template-columns: 1fr; gap: 14px; padding-bottom: 14px; margin-bottom: 14px; }
  .review-media { min-height: 130px; }
  .review-media img { max-height: 130px; }
  .review-head .btn-amazon { width: 100%; }
  .post-body { font-size: 1rem; }
  .post-body h2 { margin-top: 2.1rem; }
  .author-box { grid-template-columns: 1fr; gap: 12px; padding: 18px; }
  .author-avatar { width: 52px; height: 52px; font-size: 1.3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .contact-grid { grid-template-columns: 1fr; }
  .pagination a, .pagination span, .pagination .page-link { min-width: 36px; height: 36px; font-size: .78rem; }
  .article-shell { padding-bottom: 90px; }
  .post-body table:not(.product-table) { display: block; overflow-x: auto; }
}

@media (max-width: 420px) {
  .cat-grid { grid-template-columns: 1fr; }
  .hero-badge { display: none; }
  .quick-card { grid-template-columns: 54px 1fr; }
}

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

@media print {
  .site-header, .site-footer, .article-rail, .mobile-cta, .quick-picks, .toc-mobile, .post-navigation, .related, .hero-actions, .search-overlay { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .post-hero { background: #fff; color: #000; padding: 0; }
  .post-h1, .post-hero .eyebrow { color: #000; }
  .article-layout { display: block; }
  a { color: #000; text-decoration: underline; }
}

/* Hero info fallback */
.hero-pick--info { display: flex; flex-direction: column; gap: 10px; }
.hero-info-text { margin: 0; font-size: .8rem; line-height: 1.55; color: rgba(255,255,255,.64); }
.hero-pick--info .btn { align-self: flex-start; }

/* Search form inside dark hero */
.page-hero .hero-search button { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.page-hero .hero-search button:hover { background: #ffb838; }
