/* Fonts: Fraunces (headings) + Inter (text) from Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap");

/* ---------- Theme tokens: change colours here ---------- */
/* Brand theme: white base, forest green and campfire orange.
   (One light theme for everyone, so the site always looks like the brand.) */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #eef5f0;     /* light green tint: tiles, table heads */
  --tint-green: #f0f7f2;    /* green section background */
  --tint-orange: #fdf3e9;   /* orange section background */
  --text: #1d2a22;          /* deep forest ink */
  --muted: #5b6b60;
  --border: #dde8e0;
  --primary: #2f5e45;       /* forest green */
  --primary-ink: #ffffff;
  --accent: #d46a22;        /* campfire orange */
  --good: #2f7a4a;
  --bad: #b2412f;
  --forest: #1c3327;        /* footer / dark bands */
  --radius: 18px;
  --shadow: 0 1px 2px rgb(20 50 30 / .06), 0 10px 28px rgb(20 50 30 / .08);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  /* Faint topographic contour lines, like a hiking map */
  --topo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='520' viewBox='0 0 520 520'%3E%3Cg fill='none' stroke='%232f5e45' stroke-opacity='.075' stroke-width='1.2'%3E%3Cpath d='M260 70c90 0 170 60 175 150s-60 190-170 195S70 360 75 250 170 70 260 70z'/%3E%3Cpath d='M262 110c70 0 132 46 136 116s-48 148-133 152-150-58-146-140 73-128 143-128z'/%3E%3Cpath d='M265 150c50 0 95 33 98 83s-35 106-96 109-108-41-105-100 53-92 103-92z'/%3E%3Cpath d='M268 192c30 0 58 20 60 50s-21 64-58 66-66-25-64-60 32-56 62-56z'/%3E%3Cpath d='M-40 470c80-40 160-30 230 10s160 60 250 20 120-40 160-20'/%3E%3Cpath d='M-40 20c60 30 140 40 210 10s150-40 230-10 130 30 160 10'/%3E%3C/g%3E%3C/svg%3E");
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--text);
  /* White page with a soft green glow (top left), a warm orange glow (top right) and contour lines */
  background:
    radial-gradient(900px 620px at -5% -5%, rgb(47 94 69 / .13), transparent 62%),
    radial-gradient(760px 520px at 105% 8%, rgb(212 106 34 / .12), transparent 60%),
    radial-gradient(700px 500px at 50% 110%, rgb(47 94 69 / .07), transparent 60%),
    var(--topo) 0 0 / 520px 520px,
    var(--bg);
  background-attachment: fixed, fixed, fixed, scroll, scroll;
  line-height: 1.6; font-size: 1rem; min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 2px; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; text-wrap: balance; }
h1, h2 { font-family: var(--font-display); font-weight: 600; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -.015em; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.lead { font-size: 1.15rem; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
.icon { width: 1em; height: 1em; flex: none; vertical-align: -.125em; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.section { padding-block: clamp(32px, 6vw, 64px); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.section-head h2 { margin: 0; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }

/* ---------- Tinted sections (brand green / orange) ---------- */
.tint-green { background: linear-gradient(180deg, var(--tint-green), color-mix(in srgb, var(--tint-green) 55%, transparent)); border-block: 1px solid color-mix(in srgb, var(--primary) 10%, transparent); }
.tint-orange { background: linear-gradient(180deg, var(--tint-orange), color-mix(in srgb, var(--tint-orange) 55%, transparent)); border-block: 1px solid color-mix(in srgb, var(--accent) 12%, transparent); }
.tint-orange + .site-footer, .related + .site-footer { margin-top: clamp(64px, 9vw, 120px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.sample-banner { background: var(--accent); color: #1a0d00; text-align: center; font-size: .85rem; padding: 6px 16px; }
.sample-banner code { background: rgb(0 0 0 / .1); padding: 0 4px; border-radius: 4px; }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--text); text-decoration: none; }
.logo .icon { color: var(--primary); width: 1.3em; height: 1.3em; }
.main-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.main-nav a { color: var(--text); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: .95rem; }
.main-nav a:hover { background: var(--surface-2); }
.main-nav a[aria-current="page"] { background: var(--surface-2); color: var(--primary); }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); color: var(--text); border-radius: 8px; padding: 8px; cursor: pointer; font-size: 1.25rem; line-height: 0; }
@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: var(--surface); border-bottom: 1px solid var(--border); padding: 8px 16px 16px; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px; }
}

/* ---------- Buttons, chips, badges ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; font: inherit; font-weight: 600; max-width: 100%; text-align: center; transition: transform .1s, background .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: var(--primary-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--primary) 85%, black); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { padding: 8px 14px; font-size: .9rem; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.badge { display: inline-block; background: color-mix(in srgb, var(--accent) 18%, transparent); color: color-mix(in srgb, var(--accent) 70%, var(--text)); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 3px 8px; border-radius: 999px; }
.score { display: inline-flex; align-items: baseline; gap: 1px; font-weight: 800; font-size: 1.05rem; color: var(--good); }
.score small { font-size: .7em; color: var(--muted); font-weight: 600; }
.chip { font: inherit; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.price { font-weight: 700; font-size: 1.1rem; }
.price.lg { font-size: 1.6rem; }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.product-card { display: flex; flex-direction: column; }
.card-media { text-decoration: none; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 a { color: var(--text); text-decoration: none; }
.card-body h3 a:hover { color: var(--primary); }
.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.card-actions { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 8px; }

.category-card { padding: 0; text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.category-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgb(30 25 10 / .16); }
.cat-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.cat-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.category-card:hover .cat-photo img { transform: scale(1.05); }
.cat-photo .cat-icon { position: absolute; left: 16px; bottom: -22px; margin: 0; background: var(--surface); box-shadow: var(--shadow); }
.cat-text { padding: 32px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.cat-text h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
.category-card .link-arrow { margin-top: auto; color: var(--primary); }
.cat-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary); font-size: 1.5rem; margin-bottom: 14px; }

/* Product images / placeholders */
.product-img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--surface-2); }
/* Real product photos are usually shot on white, so give them a white backdrop in both themes */
img.product-img { background: #fff; padding: 12px; height: auto; }
img.product-img.sm { padding: 4px; }
.product-img.placeholder { display: grid; place-content: center; justify-items: center; gap: 6px; color: var(--muted); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; font-size: .8rem;
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 12%, var(--surface-2)), var(--surface-2)); }
.ph-icon { width: 56px; height: 56px; color: var(--primary); opacity: .7; }
.product-img.lg { border-radius: var(--radius); }
.product-img.lg .ph-icon { width: 96px; height: 96px; }
.product-img.sm { width: 64px; aspect-ratio: 1; border-radius: 8px; flex: none; }
.product-img.sm .ph-icon { width: 26px; height: 26px; }
.product-img.sm span { display: none; }

/* ---------- Home ---------- */
/* Full-width photo hero */
.hero { position: relative; isolation: isolate; min-height: min(84vh, 760px); display: flex; align-items: flex-end;
  padding-block: 80px clamp(80px, 11vw, 140px); color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgb(10 20 14 / .15) 0%, rgb(10 20 14 / .25) 40%, rgb(10 20 14 / .78) 100%),
              linear-gradient(90deg, rgb(10 20 14 / .72) 0%, rgb(10 20 14 / .35) 45%, transparent 70%); }
.hero h1 { max-width: 15ch; color: #fff; font-size: clamp(2.3rem, 6vw, 4.4rem); text-shadow: 0 2px 24px rgb(0 0 0 / .3); }
.hero .lead { max-width: 52ch; color: rgb(255 255 255 / .9); font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.hero .eyebrow { color: #f3d9b1; }
.hero .btn-ghost { color: #fff; border-color: rgb(255 255 255 / .6); background: rgb(255 255 255 / .08); backdrop-filter: blur(6px); }
.hero .btn-ghost:hover { background: rgb(255 255 255 / .2); }
.hero .search-box input { background: rgb(255 252 245 / .96); color: #1d2a22; border-color: transparent; }
.hero #search-results { color: var(--text); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
/* Mountain ridge that blends a photo section into the page */
.ridge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(40px, 6vw, 90px); color: var(--bg); z-index: 0; pointer-events: none; }
.photo-credit { position: absolute; right: 12px; bottom: clamp(44px, 6.5vw, 96px); z-index: 1; font-size: .7rem; color: rgb(255 255 255 / .7); }
.photo-credit a { color: inherit; }

/* Photo band (e.g. calculator call-to-action) */
.photo-band { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding-block: clamp(80px, 12vw, 150px); }
.photo-band > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.photo-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(12 24 16 / .82), rgb(12 24 16 / .35)); }
.photo-band h2 { color: #fff; max-width: 18ch; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.photo-band p { max-width: 46ch; color: rgb(255 255 255 / .88); font-size: 1.1rem; }
.photo-band .ridge.top { top: -1px; bottom: auto; transform: scaleY(-1); }

/* Page banner (category & top-10 pages) */
.page-banner { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding-block: clamp(56px, 9vw, 110px) clamp(64px, 9vw, 120px); }
.page-banner > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.page-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(10 20 14 / .35), rgb(10 20 14 / .75)); }
.page-banner h1 { color: #fff; max-width: 22ch; }
.page-banner .lead, .page-banner .crumbs, .page-banner .crumbs a { color: rgb(255 255 255 / .88); }
.page-banner .muted, .page-banner .muted a { color: rgb(255 255 255 / .75); }
.search-box { margin-top: 28px; max-width: 560px; position: relative; }
.search-box input { width: 100%; font: inherit; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.search-box input:focus { outline: 3px solid color-mix(in srgb, var(--primary) 40%, transparent); border-color: var(--primary); }
#search-results { margin-top: 24px; }
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; }
.trust div { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.trust strong { display: block; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; margin-bottom: 6px; }
.trust .cat-icon { margin-bottom: 12px; }

/* ---------- Category ---------- */
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--muted); }
.quick-list { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; margin: 8px 0 32px; }
.quick-list ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.quick-list a { color: var(--text); }
.ranked-list { display: grid; gap: 24px; }
.ranked { display: grid; grid-template-columns: minmax(0, 320px) 1fr; scroll-margin-top: 90px; }
.ranked-media { position: relative; }
.ranked-media .product-img { height: 100%; aspect-ratio: auto; min-height: 220px; }
.rank { position: absolute; top: 12px; left: 12px; background: var(--text); color: var(--bg); font-weight: 800; border-radius: 8px; padding: 2px 10px; }
.ranked-body { padding: 22px 24px; display: flex; flex-direction: column; }
.ranked-body h2 a { color: var(--text); text-decoration: none; }
@media (max-width: 720px) { .ranked { grid-template-columns: 1fr; } .ranked-media .product-img { aspect-ratio: 4/3; min-height: 0; } }

/* ---------- Home backup showcase ---------- */
.showcase-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 8px; }
@media (max-width: 900px) { .showcase-grid { grid-template-columns: 1fr; } }
.showcase-intro { grid-column: 1 / -1; display: flex; gap: 18px; align-items: center; padding: 24px 28px; border-radius: var(--radius);
  background: linear-gradient(120deg, color-mix(in srgb, var(--primary) 16%, var(--surface)), var(--surface)); border: 1px solid var(--border); }
.showcase-intro h2 { margin: 0 0 4px; font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.showcase-intro p { margin: 0; }
.si-icon { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 1.6rem; }
@media (max-width: 560px) { .showcase-intro { flex-direction: column; align-items: flex-start; } }

.showcase { display: flex; flex-direction: column; scroll-margin-top: 90px; transition: transform .2s, box-shadow .2s; }
.showcase:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgb(30 25 10 / .14); }
.sc-media { position: relative; background: radial-gradient(70% 90% at 50% 60%, #fff 55%, #eef0ea 100%); }
.sc-media .product-img { aspect-ratio: 16 / 10; max-height: 300px; background: transparent; padding: 24px 40px; }
.sc-rank { position: absolute; top: 14px; left: 14px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--forest); color: #f4eee0; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.sc-badge { position: absolute; top: 20px; right: 14px; background: var(--accent); color: #fff; }
.sc-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 20px; flex: 1; }
.sc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.sc-head h2 { margin: 0 0 4px; font-size: 1.5rem; }
.sc-head h2 a { color: var(--text); text-decoration: none; }
.sc-head h2 a:hover { color: var(--primary); }
.sc-head p { margin: 0; }

/* Circular score */
.score-ring { --pct: 85; flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--good) calc(var(--pct) * 1%), var(--surface-2) 0); }
.score-ring span { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--surface);
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--good); }

/* Stat tiles */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 460px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tile { background: var(--surface-2); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.tile span { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tile strong { display: block; font-size: .95rem; line-height: 1.3; margin-top: 2px; overflow-wrap: anywhere; }

/* Capacity meter */
.cm-label { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 6px; font-weight: 600; font-size: .9rem; }
.cm-track { position: relative; height: 14px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.cm-fill, .cm-expand { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; }
.cm-fill { background: linear-gradient(90deg, var(--primary), color-mix(in srgb, var(--primary) 60%, var(--good))); }
.cm-expand { background: repeating-linear-gradient(45deg, color-mix(in srgb, var(--primary) 30%, transparent) 0 6px, transparent 6px 12px);
  border: 1.5px dashed color-mix(in srgb, var(--primary) 60%, transparent); }

/* Runtime bars */
.runtime h3 { font-size: .95rem; margin: 0 0 10px; }
.rt-row { display: grid; grid-template-columns: 11.5em 1fr 5.6em; align-items: center; gap: 10px; margin-bottom: 8px; font-size: .9rem; }
.rt-name { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.rt-name .icon { color: var(--primary); }
.rt-bar { height: 10px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.rt-bar span { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.rt-bar.full span { background: var(--good); }
.rt-val { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.runtime p { margin: 6px 0 0; }
@media (max-width: 520px) { .rt-row { grid-template-columns: 1fr 5.6em; } .rt-bar { grid-column: 1 / -1; grid-row: 2; } }

.sc-actions { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--border); }

.pros-cons { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; margin: 8px 0 16px; }
.pros-cons h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }
.pros-cons ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pros-cons li { display: flex; gap: 8px; align-items: flex-start; }
.pros-cons li .icon { margin-top: .3em; }
.pros .icon { color: var(--good); }
.cons .icon { color: var(--bad); }

/* ---------- Tables ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.compare-table { border-collapse: collapse; width: 100%; min-width: 640px; }
.compare-table th, .compare-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.compare-table thead th { background: var(--surface-2); font-size: 1rem; }
.compare-table thead th a { color: var(--text); }
.compare-table tbody th { color: var(--muted); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.compare-table tr:last-child > * { border-bottom: 0; }
/* Sticky first column so labels stay visible while scrolling on mobile */
.compare-table th:first-child { position: sticky; left: 0; background: var(--surface); z-index: 1; }
.compare-table thead th:first-child { background: var(--surface-2); }
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.spec-table th, .spec-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); text-align: left; }
.spec-table th { color: var(--muted); font-weight: 600; width: 40%; }
.spec-table tr:last-child > * { border-bottom: 0; }

/* ---------- Product page ---------- */
.product-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; margin-bottom: 48px; }
@media (max-width: 800px) { .product-hero { grid-template-columns: 1fr; } }
.verdict { display: flex; gap: 16px; align-items: center; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin: 20px 0; }
.verdict .score { font-size: 2rem; }
.buy-box { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; }
@media (max-width: 900px) { .product-layout { grid-template-columns: 1fr; } }
.prose { max-width: 70ch; }
.sidebar { align-self: start; position: sticky; top: 90px; display: grid; gap: 12px; }
.alt { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); text-decoration: none; color: var(--text); }
.alt:hover { border-color: var(--primary); }
.cta-strip { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 20px; border-radius: var(--radius); background: color-mix(in srgb, var(--primary) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--primary) 30%, var(--border)); }

/* ---------- Compare page ---------- */
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; margin-top: 24px; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
.calc-list { overflow-x: auto; }
.calc-table { width: 100%; border-collapse: collapse; }
.calc-table th, .calc-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); text-align: left; }
.calc-table thead th { background: var(--surface-2); font-size: .85rem; color: var(--muted); }
.calc-table tr:last-child td { border-bottom: 0; }
.calc-table label { display: flex; gap: 10px; align-items: center; cursor: pointer; }
.calc-table input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--primary); }
.calc-table .num { width: 84px; font: inherit; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg); color: var(--text); }
.calc-result { padding: 22px; position: sticky; top: 90px; display: grid; gap: 8px; }
@media (max-width: 860px) { .calc-result { position: static; order: -1; } }
.calc-result p { margin: 0; }
.calc-total { font-size: 2.6rem; font-weight: 800; line-height: 1.1; color: var(--primary); }

/* ---------- Top 10 article ---------- */
.top10-list { display: grid; gap: 56px; margin-top: 48px; }
.top10-item { scroll-margin-top: 90px; }
.top10-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.top10-head > div { flex: 1; }
.top10-head h2 { margin: 6px 0 0; }
.top10-head h2 a { color: var(--text); text-decoration: none; }
.top10-head .score { font-size: 1.6rem; }
.rank-big { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--primary); color: var(--primary-ink); font-weight: 800; font-size: 1.5rem; }
.top10-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 32px; align-items: start; }
.top10-grid .product-img { border-radius: var(--radius); margin-bottom: 16px; }
.top10-grid .prose h3 { font-size: 1.05rem; margin-top: 1.2em; }
.top10-grid .prose h3:first-child { margin-top: 0; }
.spec-table.small th, .spec-table.small td { padding: 8px 12px; font-size: .875rem; }
@media (max-width: 860px) { .top10-grid { grid-template-columns: 1fr; } }
.prose h3 { margin-top: 1.2em; }

/* ---------- Shared visual pieces (all pages) ---------- */
.score-ring.sm { width: 46px; height: 46px; }
.score-ring.sm span { width: 36px; height: 36px; font-size: .95rem; }
.page-banner.slim { padding-block: clamp(48px, 7vw, 80px) clamp(64px, 8vw, 100px); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; font-weight: 600; }
.chip-row { margin-top: 8px; }

/* Product page */
.product-top { padding-block: 28px 56px; background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 9%, var(--bg)), var(--bg)); }
.ph-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: radial-gradient(70% 90% at 50% 60%, #fff 55%, #eef0ea 100%); }
.ph-media .product-img.lg { background: transparent; padding: 32px; }
.verdict .score-ring { width: 72px; height: 72px; }
.verdict .score-ring span { width: 58px; height: 58px; font-size: 1.35rem; }
.glance { padding: 24px 28px; display: grid; gap: 20px; margin-bottom: 48px; }
.glance h2 { margin: 0; }

/* Top 10 */
.glance-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.glance-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border);
  text-decoration: none; color: var(--text); transition: transform .15s, border-color .15s; }
.glance-item:hover { transform: translateY(-2px); border-color: var(--primary); }
.gi-rank { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--forest); color: #f4eee0; font-weight: 700; font-size: .85rem; }
.gi-text { flex: 1; min-width: 0; display: grid; }
.gi-text strong { font-size: .95rem; line-height: 1.25; }
.top10-item.card { padding: clamp(18px, 3vw, 32px); overflow: visible; }
.top10-side { display: grid; gap: 18px; }
.top10-side .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.top10-side .rt-row { grid-template-columns: 1fr 5.6em; row-gap: 4px; }
.top10-side .rt-bar { grid-column: 1 / -1; grid-row: 2; }
.t10-media { border-radius: var(--radius); overflow: hidden; }
.t10-media .product-img { margin: 0 !important; aspect-ratio: 4 / 3; padding: 20px; }
.top10-list { gap: 32px; }

/* Compare table */
.ct-head { display: grid; gap: 8px; justify-items: start; text-decoration: none; color: var(--text); font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 6px; }
.ct-head .product-img.sm { width: 88px; }
.compare-table td.best { background: color-mix(in srgb, var(--good) 10%, transparent); }
.compare-table td.best .small { color: var(--good); font-weight: 600; }
.compare-table .score-ring { margin: 0; }

/* Calculator gauge */
.calc-gauge { --pct: 0; width: 200px; aspect-ratio: 1; margin: 4px auto 8px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--primary) calc(var(--pct) * 1%), var(--surface-2) 0); transition: background .3s; }
.calc-gauge > div { width: 76%; aspect-ratio: 1; border-radius: 50%; background: var(--surface); display: grid; place-content: center; text-align: center; }
.calc-gauge .calc-total { font-size: 2.3rem; }
.calc-gauge .calc-total small { font-size: .45em; color: var(--muted); }
.calc-result { text-align: left; }

/* ---------- Power assistant (calculator) ---------- */
.assistant { padding: clamp(20px, 3vw, 32px); margin-top: -40px; position: relative; z-index: 1; display: grid; gap: 18px; }
.ask-label { display: flex; gap: 14px; align-items: center; cursor: text; }
.ask-label strong { display: block; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }
.ask-label .muted { display: block; font-size: .95rem; }
.ask-row { display: flex; gap: 12px; align-items: stretch; margin-top: 14px; }
.ask-row textarea { flex: 1; min-width: 0; font: inherit; font-size: 1.05rem; line-height: 1.5; padding: 14px 16px; border-radius: 14px; resize: vertical;
  border: 2px solid var(--border); background: var(--bg); color: var(--text); min-height: 64px; }
.ask-row textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 18%, transparent); }
.ask-row .btn { align-self: stretch; padding-inline: 26px; }
@media (max-width: 640px) { .ask-row { flex-direction: column; } }
.examples { display: grid; gap: 8px; }
.examples .chip-row { margin: 0; }
.chip-example { font-weight: 500; font-size: .875rem; padding: 7px 14px; background: var(--surface-2); border-color: transparent; text-align: left; }
.chip-example:hover { border-color: var(--primary); }

.quick { margin-top: 36px; display: grid; gap: 14px; }
.quick h2 { font-size: 1.3rem; margin: 0; }
.quick-group { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; align-items: start; }
.qg-label { font-weight: 700; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding-top: 10px; }
.quick .chip-row { margin: 0; }
.quick .chip { font-size: .9rem; padding: 8px 14px; }
.quick .chip .icon, .compare-chip .icon { color: var(--primary); }
.quick .chip[aria-pressed="true"] .icon { color: inherit; }
@media (max-width: 640px) { .quick-group { grid-template-columns: 1fr; gap: 6px; } .qg-label { padding-top: 0; } }

.calc { margin-top: 32px; }
.calc-main { display: grid; gap: 24px; min-width: 0; }
.understood { padding: 22px 24px; }
.understood h2 { font-size: 1.2rem; margin: 0 0 12px; }
.u-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.u-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font-size: .9rem; font-weight: 600;
  background: color-mix(in srgb, var(--primary) 12%, var(--surface)); color: var(--text); border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent); }
.u-chip .icon { color: var(--primary); }
.u-chip.dev { background: var(--surface-2); border-color: var(--border); font-weight: 500; }
.u-chip.warn { background: color-mix(in srgb, #4a90c2 14%, var(--surface)); border-color: color-mix(in srgb, #4a90c2 35%, transparent); }
.u-chip.sun { background: color-mix(in srgb, var(--accent) 14%, var(--surface)); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.u-chip.sun .icon { color: var(--accent); }
.u-chip button { display: inline-grid; place-items: center; border: 0; background: none; color: var(--muted); cursor: pointer; padding: 2px; margin-right: -4px; border-radius: 50%; }
.u-chip button:hover { color: var(--bad); background: rgb(0 0 0 / .06); }
.understood p { margin: 12px 0 0; }

.recs-title { font-size: 1.5rem; margin: 8px 0 6px; }
#recs > p { margin-bottom: 16px; }
.rec-list { display: grid; gap: 16px; }
.rec { position: relative; display: grid; grid-template-columns: 180px minmax(0, 1fr); overflow: hidden; }
.rec.best { border: 2px solid var(--primary); box-shadow: 0 10px 30px color-mix(in srgb, var(--primary) 18%, transparent); }
.rec-flag { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--primary); color: var(--primary-ink); font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.rec-media { display: block; background: radial-gradient(70% 90% at 50% 60%, #fff 55%, #eef0ea 100%); }
.rec-media .product-img { height: 100%; aspect-ratio: auto; min-height: 160px; background: transparent; padding: 28px 16px 16px; }
.rec-body { padding: 18px 20px; display: grid; gap: 10px; }
.rec-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.rec-head h3 { margin: 0; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.rec-head h3 a { color: var(--text); text-decoration: none; }
.rec-why { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; font-size: .92rem; }
.rec-why li { display: flex; gap: 8px; align-items: flex-start; }
.rec-why .icon { color: var(--good); margin-top: .3em; }
.rec-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
@media (max-width: 560px) { .rec { grid-template-columns: 1fr; } .rec-media .product-img { aspect-ratio: 16 / 9; min-height: 0; } }

.recs-sub { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin: 28px 0 12px; }
.solar-plan { margin-top: 20px; padding: 20px 22px; display: grid; gap: 14px;
  background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 14%, var(--surface)), var(--surface)); border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); }
.sp-head { display: flex; gap: 14px; align-items: flex-start; }
.sp-head > .icon { flex: none; width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: var(--accent); color: #fff; }
.sp-head h3 { margin: 0 0 4px; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
.sp-head p { margin: 0; }
.sp-items { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sp-items .alt { flex: 1 1 220px; }
.sp-plus { font-size: 1.6rem; font-weight: 700; color: var(--accent); }
.solar-plan > p { margin: 0; }

.finetune { padding: 0; }
.finetune summary { cursor: pointer; padding: 16px 22px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.finetune summary::-webkit-details-marker { display: none; }
.finetune summary::after { content: "+"; font-size: 1.4rem; color: var(--primary); line-height: 1; }
.finetune[open] summary::after { content: "–"; }
.finetune[open] summary { border-bottom: 1px solid var(--border); }
.finetune .calc-table th[scope="row"] { font-weight: 600; white-space: nowrap; }
.finetune .calc-table th[scope="row"] .icon { color: var(--primary); }
.finetune .num { width: 76px; }
.finetune > p, .add-device { padding: 0 22px; }
.finetune > p { padding-bottom: 18px; }
.add-device { display: flex; align-items: center; gap: 10px; margin: 14px 0; }
.add-device select { font: inherit; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg); color: var(--text); }
.icon-btn { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--muted); cursor: pointer; }
.icon-btn:hover { color: var(--bad); border-color: var(--bad); }

.calc-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 4px 0; }
.calc-facts div { background: var(--surface-2); border-radius: 10px; padding: 8px; text-align: center; }
.calc-facts dt { font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.calc-facts dd { margin: 2px 0 0; font-weight: 700; font-size: .95rem; }

/* ============================================================
   Blog / magazine article layout
   ============================================================ */
.article-head { max-width: 860px; padding-top: clamp(28px, 5vw, 56px); padding-bottom: 28px; }
.article-head .crumbs { margin-bottom: 22px; }
.kicker { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.article-head h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.08; letter-spacing: -.02em; margin-bottom: 16px; }
.dek { font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 60ch; margin-bottom: 24px; font-family: var(--font-display); font-weight: 500; }
.byline { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--border); }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: var(--primary-ink); font-size: 1.3rem; flex: none; }
.by-text { display: grid; line-height: 1.35; }
.by-text .muted { font-size: .875rem; }

.feature-wrap { margin-bottom: clamp(32px, 5vw, 56px); }
.feature { margin: 0; }
.feature img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
@media (max-width: 700px) { .feature img { aspect-ratio: 4 / 3; border-radius: 16px; } }
.feature figcaption { font-size: .78rem; color: var(--muted); margin-top: 8px; text-align: right; }
.product-feature { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow);
  background: radial-gradient(60% 90% at 50% 55%, #fff 50%, #eceee6 100%); }
.product-feature .product-img.lg { aspect-ratio: 21 / 9; background: transparent; padding: clamp(20px, 4vw, 48px); border-radius: 0; }
.product-feature img.product-img { object-fit: contain; box-shadow: none; border-radius: 0; }
@media (max-width: 700px) { .product-feature .product-img.lg { aspect-ratio: 4 / 3; } }
.pf-badge { position: absolute; top: 18px; left: 18px; background: var(--accent); color: #fff; }

.article-grid { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: clamp(32px, 5vw, 64px); justify-content: center; align-items: start; }
.article-grid.no-toc { grid-template-columns: minmax(0, 720px); }
.article-grid.has-aside { grid-template-columns: minmax(0, 720px) 280px; }
@media (max-width: 1000px) { .article-grid, .article-grid.has-aside { grid-template-columns: minmax(0, 720px); } }

/* Table of contents */
.toc { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow: auto; padding-right: 8px; }
.toc-title { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--border); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: .9rem; line-height: 1.35; }
.toc a:hover { color: var(--text); }
.toc a[aria-current="true"] { color: var(--primary); border-left-color: var(--primary); font-weight: 600; }
@media (max-width: 1000px) {
  .toc { position: static; max-height: none; padding: 16px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
  .toc ol { border: 0; columns: 2 220px; }
  .toc a { padding-left: 0; border: 0; margin: 0; }
}

/* Article text */
.article-body { font-size: 1.075rem; line-height: 1.75; min-width: 0; }
.article-body p { margin: 0 0 1.15em; }
.article-body h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 .5em; scroll-margin-top: 96px; }
.article-body h2.sub { font-size: clamp(1.3rem, 2.2vw, 1.55rem); margin-top: 1.6em; }
.article-body h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; margin: 1.6em 0 .4em; }
.article-body > .intro > p:first-child::first-letter { float: left; font-family: var(--font-display); font-weight: 700; font-size: 4.2em; line-height: .82; margin: .08em .12em 0 0; color: var(--primary); }
.lede { font-size: 1.15rem; font-weight: 500; }
.article-body a:not(.btn):not(.ps-item):not(.alt-card) { color: var(--primary); }

.pull-quote { margin: 2.4em 0; padding: 4px 0 4px 28px; border-left: 4px solid var(--accent); }
.pull-quote p { font-family: var(--font-display); font-size: clamp(1.35rem, 2.6vw, 1.75rem); line-height: 1.35; font-weight: 500; margin: 0; color: var(--text); }

/* Picks strip */
.picks-strip { margin: 2em 0; padding: 22px; border-radius: var(--radius); background: var(--tint-green); border: 1px solid color-mix(in srgb, var(--primary) 14%, transparent); }
.ps-title { font-size: 1.15rem !important; margin: 0 0 14px !important; }
.ps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.ps-item { position: relative; display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; text-decoration: none; color: var(--text); background: #fff; box-shadow: 0 1px 2px rgb(20 50 30 / .06); transition: transform .15s; }
.ps-item:hover { transform: translateY(-2px); }
.ps-item .product-img.sm { width: 56px; }
.ps-num { position: absolute; top: 4px; left: 4px; z-index: 1; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--forest); color: #f4eee0; font-size: .7rem; font-weight: 700; }
.ps-text { display: grid; line-height: 1.25; font-size: .9rem; min-width: 0; }
.ps-badge { font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }

/* One pick = one article section */
.pick { padding-top: 2.6em; margin-top: 2.6em; border-top: 1px solid var(--border); scroll-margin-top: 80px; }
.pick-kicker { display: flex; align-items: center; gap: 10px; font-size: .8rem !important; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: .6em !important; }
.pick-num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--forest); color: #f4eee0; font-family: var(--font-display); font-size: 1rem; letter-spacing: 0; }
.pick h2 a { color: var(--text) !important; text-decoration: none; }
.pick h2 a:hover { color: var(--primary) !important; }
.pick-bestfor { color: var(--muted); }
.pick-figure { position: relative; margin: 1.4em 0 1.6em; border-radius: 20px; overflow: hidden; background: radial-gradient(60% 90% at 50% 55%, #fff 50%, #eceee6 100%); }
.pick-figure .product-img { aspect-ratio: 16 / 9; background: transparent; padding: 24px 48px; }
.pick-figure .score-ring { position: absolute; right: 16px; bottom: 16px; box-shadow: var(--shadow); }

.data-figure { margin: 1.8em 0; padding: 20px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); display: grid; gap: 16px; font-size: 1rem; line-height: 1.6; }
.data-figure > figcaption { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.data-figure > figcaption .icon { color: var(--accent); }
.data-figure p { margin: 0; }
.data-figure .runtime h3 { font-family: var(--font); font-size: .95rem; font-weight: 700; margin: 0 0 10px; }

.buy-inline { display: flex; align-items: center; gap: 14px; margin: 1.6em 0; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--primary) 9%, var(--surface)); border: 1px solid color-mix(in srgb, var(--primary) 25%, var(--border)); }
.buy-inline .product-img.sm { width: 60px; }
.bi-text { flex: 1; display: grid; line-height: 1.35; min-width: 0; }
@media (max-width: 520px) { .buy-inline { flex-wrap: wrap; } .buy-inline .btn { width: 100%; } }
.read-more { margin-top: -.4em; }

/* Guide sections, callouts, FAQ */
.guide-section { padding-top: 2.6em; margin-top: 2.6em; border-top: 1px solid var(--border); scroll-margin-top: 80px; }
.callout { display: flex; gap: 14px; align-items: flex-start; margin: 1.6em 0; padding: 16px 18px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.callout > .icon { flex: none; width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: var(--accent); color: #fff; }
.callout p { margin: 0; }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 18px 16px; }
.table-figure { margin: 1.4em 0 0; }
.glossary { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.gl-item { padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.gl-item h3 { margin: 0 0 6px !important; font-size: 1.1rem !important; }
.gl-item p { margin: 0 !important; font-size: .98rem; line-height: 1.6; }
#side-by-side .chip-row { margin-bottom: 14px; }

/* Product review page */
.verdict-box { display: flex; gap: 18px; align-items: center; padding: 20px 22px; margin-bottom: 2em; border-radius: var(--radius);
  background: color-mix(in srgb, var(--primary) 9%, var(--surface)); border: 1px solid color-mix(in srgb, var(--primary) 25%, var(--border)); }
.verdict-box .score-ring { width: 76px; height: 76px; }
.verdict-box .score-ring span { width: 62px; height: 62px; font-size: 1.4rem; }
.vb-text p { margin: 0 0 .3em; }
.vb-text .kicker { margin-bottom: 4px; }
.article-body > .intro h2.sub:first-child { margin-top: 0; }
.article-aside { position: sticky; top: 96px; }
.buy-card { padding: 18px; display: grid; gap: 10px; text-align: center; justify-items: center; }
.buy-card .product-img { border-radius: 12px; }
.buy-card .btn { width: 100%; }
@media (max-width: 1000px) { .article-aside { position: static; order: -1; } .buy-card { display: none; } }
.alt-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 12px; margin-bottom: 1em; }
.alt-card { display: grid; text-decoration: none; color: var(--text); border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: var(--surface); transition: transform .15s; }
.alt-card:hover { transform: translateY(-2px); }
.alt-card .product-img { aspect-ratio: 4 / 3; }
.ac-text { display: grid; gap: 2px; padding: 10px 12px 12px; line-height: 1.3; }

/* More guides */
.related { margin-top: clamp(56px, 8vw, 96px); padding-block: clamp(40px, 6vw, 64px); background: linear-gradient(180deg, var(--tint-green), var(--tint-orange)); border-top: 1px solid color-mix(in srgb, var(--primary) 10%, transparent); }
.related h2 { margin-bottom: 18px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 18px; }
.related-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; text-decoration: none; color: #fff; box-shadow: var(--shadow); }
.related-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.related-card:hover img { transform: scale(1.05); }
.related-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgb(10 20 14 / .82)); }
.rc-text { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; display: grid; gap: 4px; }
.rc-text .kicker { color: #f3d9b1; margin: 0; font-size: .7rem; }
.rc-text strong { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; line-height: 1.25; }

/* ---------- Static pages ---------- */
.page-prose { max-width: 72ch; }
.page-prose h2 { margin-top: 1.5em; }

/* ---------- Footer ---------- */
.site-footer { position: relative; margin-top: clamp(64px, 9vw, 120px); background: var(--forest); color: #e9e3d4; }
.site-footer .ridge { top: calc(-1 * clamp(40px, 6vw, 90px) + 1px); bottom: auto; color: var(--forest); }
.site-footer .logo, .site-footer .logo .icon { color: #f4eee0; }
.site-footer .muted { color: #b9c2b4; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding-block: 48px 24px; }
.footer-grid a:not(.logo) { display: block; color: #c8d0c2; text-decoration: none; padding: 3px 0; }
.footer-grid a:not(.logo):hover { color: #fff; }
.footer-grid h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: #f3d9b1; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / .12); padding-block: 16px 24px; }
.footer-bottom a { color: #c8d0c2; }
.footer-bottom p { margin: 4px 0; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
