/* AllerHome — editorial buyer's-guide styles. No framework, mobile-first. */
:root {
  --paper: #faf7f0;
  --paper-2: #f3eee3;
  --card: #fffdf8;
  --ink: #123430;
  --ink-2: #2b4a45;
  --muted: #5a6a66;
  --line: #e3dccd;
  --line-2: #d6cdb9;
  --teal: #1d5a52;
  --teal-2: #2f7a6f;
  --mint: #e4efe9;
  --mint-2: #cfe3d9;
  --accent: #f0a238;
  --accent-2: #e08c1c;
  --accent-ink: #2b1a05;
  --accent-soft: #fcefd9;
  --accent-text: #8a4b00;
  --good: #1f6b4f;
  --bad: #9a3b2a;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(18, 52, 48, .06), 0 8px 24px -12px rgba(18, 52, 48, .18);
  --shadow-lg: 0 2px 4px rgba(18, 52, 48, .05), 0 24px 48px -20px rgba(18, 52, 48, .28);
  --serif: "Fraunces", "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1140px;
  --read: 760px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.has-sticky { padding-bottom: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; margin: 0 0 1.1em; }
li { margin-bottom: .35em; }
strong { font-weight: 650; }
small { font-size: .85em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; color: #fff; }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 600; letter-spacing: -.01em; line-height: 1.15; margin: 0 0 .5em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); letter-spacing: -.02em; line-height: 1.06; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.25rem); margin-top: 0; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.4rem); }
h4 { font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--muted); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.read { max-width: var(--read); }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

/* ---------- Deal bar ---------- */
.dealbar { background: var(--ink); color: #f6f1e6; font-size: .9rem; }
.dealbar .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 42px; padding-top: 6px; padding-bottom: 6px; text-align: center; flex-wrap: wrap; }
.dealbar a { color: var(--accent); font-weight: 600; white-space: nowrap; }
.dealbar a:hover { color: #ffd08a; }
.dealbar .pill { background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(250, 247, 240, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--serif); font-weight: 650; font-size: 1.35rem; letter-spacing: -.02em; min-height: 44px; }
.brand svg { width: 32px; height: 32px; flex: none; }
.brand small { display: none; font-family: var(--sans); font-weight: 500; font-size: .74rem; color: var(--muted); letter-spacing: 0; border-left: 1px solid var(--line-2); padding-left: 10px; margin-left: 2px; }
@media (min-width: 980px) { .brand small { display: inline; } }
.nav { display: flex; gap: 2px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--ink-2); text-decoration: none; font-size: .93rem; font-weight: 500; border-radius: 8px; white-space: nowrap; }
.nav a:hover { background: var(--paper-2); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent-2); border-radius: 0; }
.btn.header-cta { display: none; }
@media (min-width: 1080px) { .btn.header-cta { display: inline-flex; width: auto; } }
.subnav { display: none; }
@media (max-width: 899px) {
  .site-header .nav { display: none; }
  .subnav { display: block; border-top: 1px solid var(--line); }
  .subnav .nav { display: flex; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 0 8px; }
  .subnav .nav::-webkit-scrollbar { display: none; }
  .subnav .nav a { font-size: .88rem; padding: 0 10px; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font-family: var(--sans); font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; text-align: center; }
.btn:hover { transform: translateY(-1px); }
.btn-amazon { background: var(--accent); color: var(--accent-ink); box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 8px 18px -8px rgba(224, 140, 28, .7); }
.btn-amazon:hover { background: #f5b04f; color: var(--accent-ink); }
.btn-amazon svg { width: 18px; height: 18px; }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 1.06rem; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--card); color: var(--ink); border-color: var(--ink-2); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--teal); color: #fff; }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: .92rem; }
.cta-note { font-size: .84rem; color: var(--muted); margin-top: 8px; }
.cta-note span + span::before { content: "·"; margin: 0 7px; color: var(--line-2); }

/* ---------- Breadcrumb + disclosure ---------- */
.crumbs { font-size: .85rem; color: var(--muted); padding-top: 18px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a { color: var(--muted); }
.disclosure { display: flex; gap: 12px; align-items: flex-start; margin: 14px 0 0; padding: 12px 16px; background: var(--mint); border: 1px solid var(--mint-2); border-radius: var(--radius-sm); font-size: .9rem; color: var(--ink-2); line-height: 1.5; }
.disclosure svg { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--teal); }
.disclosure strong { color: var(--ink); }
.disclosure a { font-weight: 600; white-space: nowrap; }

/* ---------- Article header ---------- */
.article-head { padding: 26px 0 8px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent-2); }
.dek { font-size: clamp(1.08rem, 2vw, 1.25rem); color: var(--ink-2); max-width: 720px; line-height: 1.55; }
.byline { display: flex; align-items: center; gap: 12px; margin: 20px 0 6px; font-size: .88rem; color: var(--muted); flex-wrap: wrap; }
.byline .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-family: var(--serif); font-weight: 600; font-size: 1rem; flex: none; }
.byline strong { color: var(--ink); font-weight: 650; }
.byline .meta { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.byline .meta span + span::before { content: "·"; margin-right: 12px; color: var(--line-2); }
.byline .who { display: flex; flex-direction: column; line-height: 1.35; }

/* ---------- Layout with sidebar TOC ---------- */
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 18px 0 32px; }
@media (min-width: 1040px) {
  .article-grid { grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; }
  .article-grid aside { position: sticky; top: 92px; align-self: start; }
}
.article-body > section { margin: 0 0 56px; }
.article-body h2 { scroll-margin-top: 90px; }
.article-body h2 + p.lead { font-size: 1.08rem; color: var(--ink-2); }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 12px; font-size: .92rem; }
.toc h4 { margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 1.1em; }
.toc li { margin-bottom: 6px; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--teal); text-decoration: underline; }
.side-card { margin-top: 16px; background: var(--ink); color: #eef3f0; border-radius: var(--radius); padding: 18px; font-size: .92rem; }
.side-card h4 { color: #b9d2c9; }
.side-card p { color: #dfe9e4; }
.side-card img { border-radius: 10px; margin-bottom: 12px; background: #fff; }
.toc-mobile { margin: 0 0 32px; }
.toc-mobile summary { cursor: pointer; font-weight: 650; min-height: 44px; display: flex; align-items: center; }
@media (min-width: 1040px) { .toc-mobile { display: none; } }
@media (max-width: 1039px) { .article-grid aside { display: none; } }

/* ---------- Quick answer + takeaways ---------- */
.quick { position: relative; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: var(--radius); padding: 20px 22px 16px; box-shadow: var(--shadow); margin: 0 0 22px; }
.quick .label { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 6px; }
.quick p { font-size: 1.06rem; color: var(--ink); margin-bottom: .6em; }
.quick p:last-child { margin-bottom: 0; }
.takeaways { background: var(--paper-2); border-radius: var(--radius); padding: 20px 22px 8px; margin: 0 0 40px; }
.takeaways h2 { font-size: 1.25rem; margin-bottom: 12px; }
.takeaways ul { list-style: none; padding: 0; }
.takeaways li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.takeaways li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E") center/12px no-repeat; }

/* ---------- Top pick box ---------- */
.toppick { display: grid; grid-template-columns: 1fr; gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; margin: 6px 0 28px; }
@media (min-width: 760px) { .toppick { grid-template-columns: 300px 1fr; } }
.toppick .media { position: relative; background: #fff; display: grid; place-items: center; padding: 18px; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .toppick .media { border-bottom: 0; border-right: 1px solid var(--line); } }
.toppick .media img { max-height: 260px; width: auto; object-fit: contain; }
.toppick .body { padding: 22px 22px 20px; }
.toppick .kicker { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 8px; }
.toppick h2, .toppick .h { font-family: var(--serif); font-size: clamp(1.35rem, 2.6vw, 1.7rem); margin: 0 0 6px; line-height: 1.2; font-weight: 600; }
.toppick ul { list-style: none; padding: 0; margin: 12px 0 16px; font-size: .95rem; }
.toppick li { padding-left: 24px; position: relative; margin-bottom: 6px; }
.toppick li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 800; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; background: var(--mint); color: var(--teal); text-transform: uppercase; }
.chip-deal { background: var(--accent-soft); color: var(--accent-text); border: 1px solid #f4cf98; }
.chip-ink { background: var(--ink); color: #fff; }
.deal-badge { position: absolute; top: 14px; left: 14px; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: .78rem; line-height: 1.15; text-align: center; padding: 8px 10px; border-radius: 12px; transform: rotate(-4deg); box-shadow: 0 6px 14px -6px rgba(224, 140, 28, .8); }
.deal-badge b { display: block; font-size: 1.25rem; font-family: var(--serif); }
.stars { color: var(--accent-2); letter-spacing: 1px; }

/* ---------- Tables ---------- */
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); margin: 0 0 10px; }
.table-wrap:focus-visible { outline-offset: 2px; }
table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: .92rem; }
caption { text-align: left; padding: 14px 16px 4px; font-size: .85rem; color: var(--muted); caption-side: top; }
th, td { padding: 13px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { background: var(--paper-2); font-size: .74rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); font-weight: 750; white-space: nowrap; position: sticky; top: 0; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-weight: 650; }
tbody tr.is-pick { background: #fff8ec; }
tbody tr.is-pick th { box-shadow: inset 4px 0 0 var(--accent); }
td .tag { display: inline-block; font-size: .74rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--mint); color: var(--teal); white-space: nowrap; margin: 0 4px 4px 0; }
td .tag.surface { background: var(--accent-soft); color: var(--accent-text); }
.table-hint { font-size: .8rem; color: var(--muted); margin: 0 0 22px; }
@media (min-width: 900px) { .table-hint .mob { display: none; } }
.cost { font-weight: 700; letter-spacing: 1px; color: var(--ink-2); }
.cost .dim { color: var(--line-2); }
.vs-table td:first-child, .vs-table th:first-child { width: 22%; }
.yes { color: var(--good); font-weight: 650; }
.no { color: var(--bad); font-weight: 650; }

/* ---------- Ranked cards ---------- */
.ranked { counter-reset: rank; }
.rank-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px 20px 22px; margin: 0 0 22px; box-shadow: var(--shadow); scroll-margin-top: 90px; }
@media (min-width: 720px) { .rank-card { padding: 28px 30px 26px; } }
.rank-card.is-pick { border: 2px solid var(--accent); box-shadow: var(--shadow-lg); background: linear-gradient(180deg, #fffaf0 0, var(--card) 220px); }
.rank-top { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; margin-bottom: 14px; }
.rank-num { width: 52px; height: 52px; border-radius: 14px; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-family: var(--serif); font-size: 1.5rem; font-weight: 650; line-height: 1; }
.is-pick .rank-num { background: var(--accent); color: var(--accent-ink); }
.rank-card h3 { margin: 2px 0 6px; font-size: clamp(1.25rem, 2.4vw, 1.55rem); }
.bestfor { font-size: .95rem; color: var(--ink-2); margin: 0; }
.bestfor b { color: var(--teal); font-weight: 750; text-transform: uppercase; font-size: .74rem; letter-spacing: .08em; margin-right: 6px; }
.rank-meta { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0 0 16px; }
.rank-meta span { font-size: .8rem; background: var(--paper-2); color: var(--ink-2); padding: 4px 10px; border-radius: 999px; }
.rank-meta span b { font-weight: 700; color: var(--ink); }
.rank-body { display: grid; grid-template-columns: 1fr; gap: 18px; }
.rank-card.has-media .rank-body { grid-template-columns: 1fr; }
@media (min-width: 820px) { .rank-card.has-media .rank-body { grid-template-columns: 1fr 240px; } }
.rank-media { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; align-self: start; position: relative; }
.rank-media img { border-radius: 8px; }
.prodtile { display: flex; align-items: center; gap: 14px; background: var(--paper-2); border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; }
.prodtile svg { width: 44px; height: 44px; flex: none; color: var(--teal); }
.prodtile .t { font-size: .86rem; color: var(--muted); line-height: 1.4; }
.prodtile .t strong { display: block; color: var(--ink); font-size: .95rem; }
.proscons { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 14px 0 12px; }
@media (min-width: 640px) { .proscons { grid-template-columns: 1fr 1fr; } }
.proscons > div { border-radius: 12px; padding: 14px 16px 6px; font-size: .93rem; }
.pros { background: #eef6f1; }
.cons { background: #f8efe9; }
.proscons h4 { margin-bottom: 8px; }
.pros h4 { color: var(--good); }
.cons h4 { color: var(--bad); }
.proscons ul { list-style: none; padding: 0; }
.proscons li { position: relative; padding-left: 22px; margin-bottom: 8px; line-height: 1.45; }
.pros li::before { content: "+"; position: absolute; left: 2px; font-weight: 800; color: var(--good); }
.cons li::before { content: "–"; position: absolute; left: 2px; font-weight: 800; color: var(--bad); }
.skip-it { font-size: .93rem; border-top: 1px dashed var(--line-2); padding-top: 12px; margin: 6px 0 0; color: var(--ink-2); }
.skip-it b { color: var(--ink); }
.rank-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 18px; }
.quote { margin: 14px 0 0; padding: 14px 16px; background: var(--paper-2); border-radius: 12px; font-family: var(--serif); font-size: 1.04rem; line-height: 1.5; color: var(--ink); }
.quote cite { display: block; font-family: var(--sans); font-style: normal; font-size: .82rem; color: var(--muted); margin-top: 6px; }
.footnote { font-size: .8rem; color: var(--muted); }
.plain-name { font-size: .82rem; color: var(--muted); }

/* ---------- Generic blocks ---------- */
.section { padding: 64px 0; }
.section-tight { padding: 40px 0; }
.section-alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 28px; }
.section-head p { color: var(--ink-2); font-size: 1.05rem; }
.grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-4 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: .97rem; }
a.card { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-2); color: inherit; }
.card .more { margin-top: auto; font-weight: 650; color: var(--teal); font-size: .93rem; }
.icon-badge { width: 48px; height: 48px; border-radius: 13px; background: var(--mint); color: var(--teal); display: grid; place-items: center; margin-bottom: 14px; }
.icon-badge svg { width: 26px; height: 26px; }
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px 14px 62px; margin: 0; }
.steps li::before { content: counter(step); position: absolute; left: 16px; top: 15px; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-family: var(--serif); font-weight: 650; }
.steps li strong { display: block; color: var(--ink); }
.callout { border-radius: var(--radius); padding: 18px 20px; background: var(--accent-soft); border: 1px solid #f2d3a3; margin: 0 0 22px; }
.callout p:last-child { margin-bottom: 0; }
.callout.mint { background: var(--mint); border-color: var(--mint-2); }
.note { font-size: .86rem; color: var(--muted); }
figure { margin: 0 0 24px; }
figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.diagram { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; box-shadow: var(--shadow); }
.diagram svg { width: 100%; height: auto; display: block; }
.stack { display: grid; gap: 14px; }
.layer { display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.layer .n { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--mint); color: var(--teal); }
.layer .n svg { width: 28px; height: 28px; }
.layer.hl { border: 2px solid var(--accent); background: #fffaf0; }
.layer.hl .n { background: var(--accent-soft); color: var(--accent-text); }
.layer h3 { margin-bottom: 4px; font-size: 1.15rem; }
.layer p { margin: 0; color: var(--ink-2); font-size: .96rem; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 2px; min-height: 56px; font-family: var(--serif); font-size: 1.12rem; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-family: var(--sans); font-weight: 500; font-size: 1.15rem; color: var(--teal); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 2px 18px; color: var(--ink-2); }
.faq .a p:last-child { margin-bottom: 0; }

/* ---------- Home ---------- */
.hero { padding: 36px 0 56px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 34px; align-items: center; }
@media (min-width: 920px) { .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; } .hero { padding: 60px 0 76px; } }
.hero h1 { font-size: clamp(2.4rem, 6.4vw, 4.4rem); margin-bottom: 18px; }
.hero h1 em { font-style: italic; color: var(--teal); font-weight: 500; }
.hero .dek { margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-figure { position: relative; }
.hero-figure img { border-radius: 22px; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.hero-figure .float { position: absolute; left: -10px; bottom: 22px; max-width: 250px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow-lg); font-size: .85rem; line-height: 1.4; }
@media (max-width: 919px) { .hero-figure .float { left: 12px; } .hero-figure img { aspect-ratio: 4 / 3; } }
.hero-figure .float b { display: block; font-family: var(--serif); font-size: 1rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; font-size: .86rem; color: var(--muted); }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--teal); }
.chooser a.card { padding: 20px; min-height: 100%; }
.chooser .q { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.chooser h3 { font-size: 1.3rem; margin: 2px 0 6px; }
.dealstrip { background: var(--ink); color: #eef3f0; border-radius: 24px; overflow: hidden; display: grid; grid-template-columns: 1fr; box-shadow: var(--shadow-lg); }
@media (min-width: 820px) { .dealstrip { grid-template-columns: 300px 1fr; } }
.dealstrip .img { background: #fff; display: grid; place-items: center; padding: 18px; position: relative; }
.dealstrip .img img { max-height: 240px; width: auto; }
.dealstrip .txt { padding: 28px 24px; }
@media (min-width: 820px) { .dealstrip .txt { padding: 36px 40px; } }
.dealstrip h2 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
.dealstrip p { color: #d7e3de; }
.dealstrip .countdown { display: inline-block; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .05em; padding: 4px 10px; border-radius: 999px; margin-left: 6px; }
.dealstrip .cta-note { color: #b9cbc4; }
.research { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .research { grid-template-columns: repeat(3, 1fr); } }
.research .card { box-shadow: none; }
.research .src { font-size: .75rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.soon .card { box-shadow: none; border-style: dashed; background: transparent; }
.soon .card .chip { align-self: flex-start; margin-bottom: 10px; background: var(--paper-2); color: var(--muted); }
.soon .card h3 { font-size: 1.12rem; }
.soon .card p { font-size: .92rem; margin: 0; }
.cta-band { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px 24px; display: grid; gap: 18px; align-items: center; box-shadow: var(--shadow); }
@media (min-width: 820px) { .cta-band { grid-template-columns: 120px 1fr auto; padding: 26px 30px; } }
.cta-band img { width: 120px; height: 120px; object-fit: contain; background: #fff; border-radius: 14px; border: 1px solid var(--line); padding: 6px; }
.cta-band h3 { margin-bottom: 4px; }
.cta-band p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.why-amazon { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .84rem; color: var(--muted); margin-top: 10px; list-style: none; padding: 0; }
.why-amazon li { margin: 0; display: inline-flex; align-items: center; gap: 6px; }
.why-amazon li::before { content: "✓"; color: var(--good); font-weight: 800; }
.author-box { display: grid; grid-template-columns: 56px 1fr; gap: 16px; background: var(--paper-2); border-radius: var(--radius); padding: 20px; margin-top: 10px; }
.author-box .avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.author-box p { margin: 0 0 .5em; font-size: .93rem; color: var(--ink-2); }
.author-box h3 { font-size: 1.1rem; margin-bottom: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c9d8d3; margin-top: 40px; padding: 52px 0 28px; font-size: .9rem; }
.site-footer a { color: #e9f1ee; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer .brand { color: #fff; }
.site-footer h4 { color: #8fb1a6; margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 4px; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 36px; }
.footer-disclosure { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: 10px; font-size: .84rem; line-height: 1.55; color: #b5c8c1; }
.footer-disclosure strong { color: #fff; }
.footer-disclosure a { text-decoration: underline; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(255, 253, 248, .97); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -12px rgba(18,52,48,.3); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; transform: translateY(110%); transition: transform .25s ease; }
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta img { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; background: #fff; border: 1px solid var(--line); flex: none; }
.sticky-cta .t { flex: 1; min-width: 0; font-size: .82rem; line-height: 1.3; color: var(--ink-2); }
.sticky-cta .t strong { display: block; color: var(--ink); font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-cta .btn { min-height: 46px; padding: 10px 16px; font-size: .92rem; flex: none; }
@media (min-width: 900px) { .sticky-cta { display: none; } }
@media (max-width: 899px) { body.has-sticky .site-footer { padding-bottom: 96px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .dealbar, .sticky-cta, .site-header, .subnav { display: none !important; } }

/* ======================================================================
   Mobile-first conversion layer (375px target)
   ====================================================================== */
.btn-sm { min-height: 48px; }
.mobile-pick { display: none; }
@media (max-width: 899px) {
  .mobile-pick { display: grid; grid-template-columns: 64px 1fr; gap: 10px 12px; align-items: center; background: var(--card); border: 2px solid var(--accent); border-radius: 16px; padding: 12px; margin: 14px 0 4px; box-shadow: var(--shadow); }
  .mobile-pick img { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 10px; }
  .mobile-pick .mp-t { display: flex; flex-direction: column; gap: 3px; line-height: 1.3; font-size: .86rem; color: var(--ink-2); }
  .mobile-pick .chip { align-self: flex-start; font-size: .66rem; padding: 3px 8px; }
  .mobile-pick strong { font-family: var(--serif); font-size: 1.05rem; color: var(--ink); }
  .mobile-pick .mp-deal { color: var(--accent-text); font-weight: 650; }
  .mobile-pick .btn { grid-column: 1 / -1; }
  .hero .mobile-pick { margin-top: 18px; }
}
@media (max-width: 639px) {
  body { font-size: 16.5px; }
  h1 { font-size: clamp(1.8rem, 8vw, 2.3rem); }
  .hero h1 { font-size: clamp(2.1rem, 10vw, 2.6rem); }
  .btn, .btn-lg { width: 100%; min-height: 52px; }
  .sticky-cta .btn { width: auto; min-height: 48px; }
  .rank-cta .chip { margin: 0 auto; }
  .disclosure { font-size: .82rem; padding: 10px 12px; gap: 10px; margin-top: 10px; }
  .crumbs { padding-top: 12px; font-size: .8rem; }
  .article-head { padding-top: 16px; }
  .byline { margin-top: 14px; }
  .dek { font-size: 1.02rem; }
  .rank-card { padding: 20px 16px 18px; border-radius: 16px; }
  .rank-num { width: 44px; height: 44px; font-size: 1.25rem; border-radius: 12px; }
  .rank-top { gap: 12px; }
  .toppick .body { padding: 18px 16px; }
  .toppick .media img { max-height: 200px; }
  .dealstrip .img img { max-height: 180px; }
  .section { padding: 44px 0; }
  .cta-band { padding: 20px 16px; text-align: left; }
  .cta-band img { width: 88px; height: 88px; }
  .hero-figure img { aspect-ratio: 4 / 3; }
  .quick, .takeaways { padding-left: 16px; padding-right: 16px; }
  .diagram { padding: 8px; }
}

/* Comparison tables become stacked cards on phones (no sideways scroll). */
@media (max-width: 759px) {
  .table-wrap { overflow: visible; border: 0; background: transparent; box-shadow: none; border-radius: 0; }
  .table-wrap table { min-width: 0; }
  .table-wrap table, .table-wrap tbody, .table-wrap tr, .table-wrap td, .table-wrap tbody th { display: block; width: 100%; }
  .table-wrap thead { display: none; }
  .table-wrap caption { display: block; padding: 0 0 10px; }
  .table-wrap tbody tr { background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin: 0 0 12px; padding: 4px 14px; box-shadow: var(--shadow); }
  .table-wrap tbody tr.is-pick { border: 2px solid var(--accent); background: #fffaf0; }
  .table-wrap tbody tr.is-pick th { box-shadow: none; }
  .table-wrap td, .table-wrap tbody th { display: grid; grid-template-columns: 34% 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
  .table-wrap tbody tr > :last-child { border-bottom: 0; }
  .table-wrap td::before, .table-wrap tbody th::before { content: attr(data-label); font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
  .vs-table tbody th { display: block; font-family: var(--serif); font-size: 1.08rem; padding: 10px 0 6px; }
  .vs-table tbody th::before { content: none; }
  .vs-table td:first-child, .vs-table th:first-child { width: 100%; }
  .table-hint { margin-top: 2px; }
}

/* ---------- Product image slots (owner fills assets/p/SLUG.jpg) ---------- */
.pslot { position: relative; display: block; flex: none; width: 112px; height: 112px; border-radius: 12px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b9c9c3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Ccircle cx='9' cy='10' r='2'/%3E%3Cpath d='m21 16-5-5-9 9'/%3E%3C/svg%3E") center / 34% no-repeat; border: 1px solid var(--line); overflow: hidden; }
.pslot img { width: 100%; height: 100%; object-fit: contain; padding: 6px; background: #fff; }
.pslot img.is-missing { visibility: hidden; }
.prodtile { align-items: flex-start; }
.prodtile .pimgs { display: flex; gap: 8px; flex: none; }
.prodtile.two .pslot { width: 84px; height: 84px; }
.prodtile .t { font-size: .9rem; }
.ourpick { display: block; font-size: .74rem; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; color: var(--teal); margin-bottom: 4px; }
.plinks { display: block; margin-top: 8px; }
.plinks + .plinks { margin-top: 4px; }
a.plink { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; font-size: .9rem; color: var(--teal); }
a.plink::after { content: "↗"; margin-left: 5px; font-size: .85em; }
.plabel { font-size: .82rem; color: var(--muted); }
.tprod { display: flex; gap: 12px; align-items: flex-start; }
.tprod .pslot { width: 56px; height: 56px; border-radius: 9px; }
.tprod .pslot img { padding: 3px; }
.tprod > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tprod a.plink { min-height: 32px; font-size: .84rem; }
.tprod .plain-name { font-size: .8rem; }
a.tbuy { display: inline-flex; align-items: center; min-height: 36px; font-size: .84rem; font-weight: 750; color: var(--accent-text); }
@media (max-width: 759px) {
  /* product cell spans full card width as the card's header */
  .table-wrap td[data-label="Product"], .table-wrap td[data-label="Tool"] { display: block; padding-top: 12px; }
  .table-wrap td[data-label="Product"]::before, .table-wrap td[data-label="Tool"]::before { content: none; }
  .tprod .pslot { width: 72px; height: 72px; }
  .tprod strong { font-family: var(--serif); font-size: 1.08rem; }
  a.tbuy { display: flex; justify-content: center; min-height: 48px; margin-top: 6px; background: var(--accent); color: var(--accent-ink); border-radius: 999px; text-decoration: none; }
  a.tprod-link { min-height: 44px; }
  .prodtile { flex-direction: column; }
  .prodtile .pslot { width: 140px; height: 140px; }
  .prodtile.two .pslot { width: 120px; height: 120px; }
  .rank-media img { max-height: 260px; width: 100%; object-fit: cover; }
}
@media (max-width: 639px) {
  .dealbar { font-size: .82rem; }
  .dealbar .wrap { gap: 6px 10px; min-height: 40px; }
  .dealbar .pill, .dealbar .db-more { display: none; }
  .dealbar a { display: inline-flex; align-items: center; min-height: 32px; }
}
@media (max-width: 759px) {
  .table-wrap .cv { display: block; min-width: 0; }
  .table-wrap tbody th[data-label="Rank"] { display: flex; align-items: center; gap: 1px; padding: 10px 0 0; border-bottom: 0; font-family: var(--serif); font-size: 1rem; }
  .table-wrap tbody th[data-label="Rank"]::before { content: "#"; font-family: var(--sans); padding: 0; }
  .table-wrap tbody th[data-label="Rank"] .cv { display: inline; }
}
@media (max-width: 420px) {
  .sticky-cta { gap: 10px; padding-left: 12px; padding-right: 12px; }
  .sticky-cta img { display: none; }
  .sticky-cta .t { font-size: .78rem; }
}
@media (max-width: 819px) {
  .rank-card.has-media .rank-media { order: -1; }
  .rank-card.has-media .rank-media img { width: 100%; max-height: 300px; object-fit: cover; }
}
@media (max-width: 819px) {
  .rank-card.has-media .rank-media img { aspect-ratio: 4 / 3; height: auto; max-height: none; object-fit: cover; }
}

/* QA Nov 18: thumb-size tap targets on phones */
.tprod a.plink { min-height: 44px; }
.dealbar a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; }
