/* CouponForU styles */

:root {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --surface-2: #efede6;
  --text: #15171c;
  --muted: #5d6270;
  --border: #e3e0d7;
  --border-strong: #cfcbbf;
  --accent: #3b3fd8;
  --accent-hover: #2d30b8;
  --accent-ink: #ffffff;
  --accent-soft: #e9e9fc;
  --cta: #e2560b;
  --cta-hover: #c64903;
  --cta-ink: #ffffff;
  --deal: #0d7a54;
  --deal-soft: #e2f3eb;
  --deal-ink: #ffffff;
  --bad-soft: #fcebea;
  --great: #12805c;
  --good: #4f7f0c;
  --ok: #a96a10;
  --bad: #c2312f;
  --score-ink: #ffffff;
  --star: #f2a516;
  --star-off: #d8d4c8;
  --notice-bg: #fff4d6;
  --notice-border: #f0d48a;
  --logo-check: #ffffff;
  --chip-bg-l: 0.94;
  --chip-fg-l: 0.42;
  --tint: #efede6;
  --shadow: 0 1px 2px rgb(20 20 30 / 0.05), 0 10px 28px -16px rgb(20 20 30 / 0.22);
  --shadow-lift: 0 2px 4px rgb(20 20 30 / 0.06), 0 18px 36px -18px rgb(20 20 30 / 0.3);
  --radius: 16px;
  --radius-sm: 10px;
  --font-head: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101217;
    --surface: #171a21;
    --surface-2: #1f232c;
    --text: #e9ebf0;
    --muted: #9ca2af;
    --border: #282d38;
    --border-strong: #373d4a;
    --accent: #9195fa;
    --accent-hover: #aeb1ff;
    --accent-ink: #0f1116;
    --accent-soft: #23264a;
    --cta: #f7701f;
    --cta-hover: #ff8a3e;
    --cta-ink: #160b03;
    --deal: #3fcf93;
    --deal-soft: #132a20;
    --deal-ink: #06170f;
    --bad-soft: #2c1819;
    --great: #34c38f;
    --good: #a2cf45;
    --ok: #f0b544;
    --bad: #f27171;
    --score-ink: #0d0f13;
    --star: #f5b432;
    --star-off: #3a404d;
    --notice-bg: #2e2612;
    --notice-border: #5e4b1c;
    --logo-check: #101217;
    --chip-bg-l: 0.3;
    --chip-fg-l: 0.86;
    --tint: #14171d;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 10px 28px -16px rgb(0 0 0 / 0.6);
    --shadow-lift: 0 2px 4px rgb(0 0 0 / 0.3), 0 18px 36px -18px rgb(0 0 0 / 0.7);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #101217;
  --surface: #171a21;
  --surface-2: #1f232c;
  --text: #e9ebf0;
  --muted: #9ca2af;
  --border: #282d38;
  --border-strong: #373d4a;
  --accent: #9195fa;
  --accent-hover: #aeb1ff;
  --accent-ink: #0f1116;
  --accent-soft: #23264a;
  --cta: #f7701f;
  --cta-hover: #ff8a3e;
  --cta-ink: #160b03;
  --deal: #3fcf93;
  --deal-soft: #132a20;
  --deal-ink: #06170f;
  --bad-soft: #2c1819;
  --great: #34c38f;
  --good: #a2cf45;
  --ok: #f0b544;
  --bad: #f27171;
  --score-ink: #0d0f13;
  --star: #f5b432;
  --star-off: #3a404d;
  --notice-bg: #2e2612;
  --notice-border: #5e4b1c;
  --logo-check: #101217;
  --chip-bg-l: 0.3;
  --chip-fg-l: 0.86;
  --tint: #14171d;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 10px 28px -16px rgb(0 0 0 / 0.6);
  --shadow-lift: 0 2px 4px rgb(0 0 0 / 0.3), 0 18px 36px -18px rgb(0 0 0 / 0.7);
  color-scheme: dark;
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
code { font-family: var(--font-mono); font-size: 0.92em; }

:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

:not(.logo) > svg {
  width: 1.1em;
  height: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 14px; border-radius: var(--radius-sm); font-weight: 600;
}
.skip:focus { top: 12px; }

.kicker {
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--accent); margin-bottom: 12px;
}
.kicker a:hover { text-decoration: underline; }

.lede { color: var(--muted); font-size: 1.12rem; line-height: 1.6; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 12px; border: 1px solid transparent;
  font: 600 0.98rem/1.2 var(--font-body); cursor: pointer;
  transition: background-color 0.15s, transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-cta { background: var(--cta); color: var(--cta-ink); box-shadow: 0 6px 18px -8px var(--cta); }
.btn-cta:hover { background: var(--cta-hover); }
.btn-deal { background: var(--deal); color: var(--deal-ink); width: 100%; }
.btn-deal:hover { filter: brightness(1.08); }
.btn-ghost { border-color: var(--border-strong); color: var(--text); background: var(--surface); }
.btn-ghost:hover { border-color: var(--text); }
.btn-block { width: 100%; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 66px; }

.logo {
  display: inline-flex; align-items: center; gap: 9px;
  font: 800 1.28rem/1 var(--font-head); letter-spacing: -0.02em; color: var(--text);
}
.logo svg { width: 30px; height: 30px; color: var(--accent); flex: none; }

.main-nav { display: flex; gap: 4px; }
.main-nav a {
  padding: 8px 12px; border-radius: 10px; font-weight: 500; color: var(--muted);
  transition: color 0.15s, background-color 0.15s;
}
.main-nav a:hover { color: var(--text); background: var(--surface-2); }
.main-nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }

.header-actions { margin-left: auto; display: flex; gap: 4px; }
.icon-btn {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 10px; border: 0; background: transparent; color: var(--text); cursor: pointer;
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 20px; height: 20px; }
.menu-toggle { display: none; }

.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}

/* ---------- sections ---------- */

.section { padding: 56px 0; }
.section-tight { padding: 28px 0 64px; }
.section-tint { background: var(--tint); border-block: 1px solid var(--border); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-head h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
.more { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; font-size: 0.95rem; white-space: nowrap; }
.more:hover { text-decoration: underline; }

.page-head { padding: 56px 0 28px; }
.page-head h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 12px; }
.page-head .lede { max-width: 640px; }

/* ---------- hero ---------- */

.hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(60% 80% at 85% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%),
    radial-gradient(40% 60% at 0% 100%, color-mix(in srgb, var(--cta) 10%, transparent), transparent 70%);
  border-bottom: 1px solid var(--border);
}
.hero h1 {
  max-width: 880px; font-size: clamp(2.3rem, 6vw, 4.1rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { max-width: 620px; margin-bottom: 28px; }

.hero-search {
  display: flex; align-items: center; gap: 10px; max-width: 620px;
  padding: 6px 6px 6px 18px; background: var(--surface);
  border: 1px solid var(--border-strong); border-radius: 16px; box-shadow: var(--shadow);
}
.hero-search:focus-within { border-color: var(--accent); }
.hero-search > svg { color: var(--muted); }
.hero-search input {
  flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text);
  font: 400 1rem var(--font-body); padding: 10px 0; outline: none;
}

/* ---------- tiles, scores, stars, chips ---------- */

.tile {
  --h: 220;
  position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 9;
  color: #fff; font: 800 2.6rem/1 var(--font-head); letter-spacing: -0.03em;
  background: hsl(var(--h) 60% 50%);
  background:
    radial-gradient(circle at 82% 18%, rgb(255 255 255 / 0.28), transparent 42%),
    radial-gradient(circle at 10% 110%, rgb(0 0 0 / 0.22), transparent 50%),
    linear-gradient(135deg, oklch(0.66 0.15 var(--h)), oklch(0.47 0.17 calc(var(--h) + 35)));
  overflow: hidden;
}
.tile span { text-shadow: 0 2px 12px rgb(0 0 0 / 0.18); }
.tile-img { background: var(--surface-2); }
.tile-img img { width: 100%; height: 100%; object-fit: cover; }
.tile-sm { width: 52px; height: 52px; aspect-ratio: 1; border-radius: 13px; font-size: 1.15rem; flex: none; }
.tile-md { width: 68px; height: 68px; aspect-ratio: 1; border-radius: 16px; font-size: 1.5rem; flex: none; }
.tile-xl { aspect-ratio: 16 / 10; font-size: clamp(3.5rem, 8vw, 5.5rem); }

.score {
  --sc: var(--great);
  display: inline-flex; align-items: baseline; gap: 2px;
  padding: 6px 10px; border-radius: 10px; background: var(--sc); color: var(--score-ink);
  line-height: 1; flex: none;
}
.score b { font: 800 1.15rem/1 var(--font-head); }
.score span { font-size: 0.72rem; font-weight: 600; opacity: 0.85; }
.score-lg { padding: 10px 14px; border-radius: 14px; }
.score-lg b { font-size: 1.9rem; }
.s-great { --sc: var(--great); }
.s-good { --sc: var(--good); }
.s-ok { --sc: var(--ok); }
.s-bad { --sc: var(--bad); }

.stars { display: inline-block; font-size: 0.95rem; letter-spacing: 2px; line-height: 1; }
.stars::before {
  content: "★★★★★";
  background: linear-gradient(90deg, var(--star) var(--pct), var(--star-off) var(--pct));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.chip {
  --h: 220;
  display: inline-block; padding: 5px 11px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 600;
  background: oklch(var(--chip-bg-l) 0.045 var(--h));
  color: oklch(var(--chip-fg-l) 0.13 var(--h));
}
.chip:hover { filter: brightness(0.97); }

/* ---------- cards ---------- */

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--border-strong); }
.card-link { display: flex; flex-direction: column; height: 100%; }
.card-media { position: relative; }
.card-media .score { position: absolute; top: 12px; right: 12px; box-shadow: 0 4px 14px -4px rgb(0 0 0 / 0.35); }
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card-cat { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); }
.deal-tag {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px;
  background: var(--deal-soft); color: var(--deal); font-size: 0.75rem; font-weight: 700;
}
.deal-tag svg { width: 0.95em; height: 0.95em; }
.card h3 { font-size: 1.14rem; }
.card p {
  color: var(--muted); font-size: 0.93rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card-foot { margin-top: auto; padding-top: 6px; display: flex; align-items: center; justify-content: space-between; font-size: 0.82rem; color: var(--muted); }

/* ---------- editor's picks ---------- */

.picks { display: grid; grid-template-columns: 1.35fr 1fr; gap: 22px; }
.pick-lead {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden; transition: box-shadow 0.18s, transform 0.18s;
}
.pick-lead:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.pick-media { position: relative; }
.pick-media .score { position: absolute; left: 18px; bottom: 18px; box-shadow: 0 6px 18px -6px rgb(0 0 0 / 0.45); }
.pick-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; }
.pick-body h3 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); }
.pick-body p { color: var(--muted); }
.pick-side { display: flex; flex-direction: column; gap: 14px; }
.pick-sm {
  display: flex; align-items: center; gap: 16px; padding: 16px; flex: 1;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: box-shadow 0.18s, border-color 0.18s;
}
.pick-sm:hover { box-shadow: var(--shadow); border-color: var(--border-strong); }
.pick-sm > div:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.pick-sm h3 { font-size: 1.05rem; }

/* ---------- categories & how ---------- */

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.cat-card {
  --h: 220;
  display: flex; flex-direction: column; gap: 8px; padding: 22px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color 0.18s, box-shadow 0.18s;
}
.cat-card:hover { border-color: oklch(0.6 0.13 var(--h)); box-shadow: var(--shadow); }
.cat-dot {
  width: 38px; height: 38px; border-radius: 11px; margin-bottom: 6px;
  background: linear-gradient(135deg, oklch(0.68 0.15 var(--h)), oklch(0.5 0.17 calc(var(--h) + 35)));
}
.cat-card h3 { font-size: 1.2rem; }
.cat-card p { color: var(--muted); font-size: 0.92rem; }
.cat-count { margin-top: auto; padding-top: 6px; font-size: 0.82rem; font-weight: 600; color: oklch(var(--chip-fg-l) 0.13 var(--h)); }

.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.how-item { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.how-num {
  display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 14px;
  border-radius: 50%; background: var(--accent-soft); color: var(--accent); font: 800 1rem var(--font-head);
}
.how-item h3 { font-size: 1.12rem; margin-bottom: 6px; }
.how-item p { color: var(--muted); font-size: 0.94rem; }

/* ---------- deals & coupons ---------- */

.deal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.deal-card {
  display: flex; flex-direction: column; gap: 14px; padding: 18px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.deal-head { display: flex; align-items: center; gap: 14px; }
.deal-head h3 { font-size: 1.12rem; }
.deal-head h3 a:hover { color: var(--accent); }
.deal-cat { font-size: 0.82rem; color: var(--muted); }
.deal-review { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; font-size: 0.9rem; margin-top: auto; }
.deal-review:hover { text-decoration: underline; }

.coupon {
  display: flex; flex-direction: column; gap: 12px; padding: 16px;
  background: var(--deal-soft); border: 1.5px dashed color-mix(in srgb, var(--deal) 55%, transparent);
  border-radius: 14px;
}
.coupon-top { display: flex; flex-direction: column; gap: 4px; }
.coupon-label {
  display: inline-flex; align-items: center; gap: 6px; color: var(--deal);
  font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
}
.coupon-discount { font: 700 1.22rem/1.25 var(--font-head); }
.coupon-note, .coupon-nocode { font-size: 0.88rem; color: var(--muted); }
.coupon-code { display: flex; gap: 8px; }
.coupon-code code {
  flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center;
  padding: 10px 12px; border-radius: 10px; border: 1.5px dashed var(--border-strong);
  background: var(--surface); font-weight: 700; font-size: 1rem; letter-spacing: 0.08em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.copy-btn {
  padding: 10px 14px; border-radius: 10px; border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--text); font: 600 0.88rem var(--font-body); cursor: pointer; white-space: nowrap;
}
.copy-btn:hover { border-color: var(--text); }
.copy-btn.is-copied { background: var(--deal); border-color: var(--deal); color: var(--deal-ink); }
.coupon-exp { font-size: 0.8rem; color: var(--muted); }

.coupon.is-expired { background: var(--surface-2); border-color: var(--border-strong); }
.coupon.is-expired .coupon-label { color: var(--muted); }
.coupon.is-expired .coupon-discount, .coupon.is-expired code { text-decoration: line-through; opacity: 0.6; }
.coupon.is-expired .btn-deal, .coupon.is-expired .copy-btn { pointer-events: none; opacity: 0.45; filter: grayscale(1); }
.deal-card.is-expired { opacity: 0.75; }

/* ---------- review page ---------- */

.review-wrap { padding-top: 22px; padding-bottom: 24px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.86rem; color: var(--muted); margin-bottom: 22px; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.crumbs .sep { opacity: 0.5; }

.notice {
  padding: 12px 16px; margin-bottom: 22px; border-radius: 12px; font-size: 0.92rem;
  background: var(--notice-bg); border: 1px solid var(--notice-border);
}

.review-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 340px; column-gap: 48px; row-gap: 28px;
  grid-template-areas: "head side" "body side";
}
.review-head { grid-area: head; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.review-head h1 { font-size: clamp(1.9rem, 4.2vw, 2.85rem); font-weight: 800; letter-spacing: -0.025em; }
.byline { font-size: 0.9rem; color: var(--muted); }
.byline strong { color: var(--text); font-weight: 600; }
.disclosure {
  font-size: 0.82rem; color: var(--muted); padding: 8px 12px; border-radius: 10px;
  background: var(--surface-2);
}
.disclosure a { color: var(--accent); text-decoration: underline; }

.scorecard {
  grid-area: side; align-self: start;
  display: flex; flex-direction: column; gap: 16px; padding: 22px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow);
}
.sc-top { display: flex; align-items: center; gap: 14px; }
.sc-name { font-size: 1.25rem; }
.sc-brand { font-size: 0.86rem; color: var(--muted); }
.sc-score { display: flex; align-items: center; gap: 14px; }
.sc-score > div:not(.score) { display: flex; flex-direction: column; gap: 6px; }
.sc-label { font-size: 0.8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.07em; }
.sc-row { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--border); font-size: 0.92rem; }
.sc-row span { color: var(--muted); white-space: nowrap; }
.sc-row strong { text-align: right; font-weight: 600; }

.review-body { grid-area: body; display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.box-title { font-size: 1.15rem; margin-bottom: 14px; }

.verdict {
  display: flex; gap: 20px; align-items: flex-start; padding: 22px;
  background: var(--accent-soft); border-radius: var(--radius);
}
.verdict .box-title { margin-bottom: 6px; }
.verdict p { line-height: 1.65; }

.box { padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.bars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
.bar-top { display: flex; justify-content: space-between; font-size: 0.92rem; margin-bottom: 7px; }
.bar-top b { font-family: var(--font-head); }
.bar-track { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.bar-track span { display: block; height: 100%; width: var(--v); border-radius: 99px; background: var(--sc); }

.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pros, .cons { padding: 22px; border-radius: var(--radius); }
.pros { background: var(--deal-soft); }
.cons { background: var(--bad-soft); }
.proscons ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.proscons li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; }
.proscons li svg { margin-top: 3px; stroke-width: 2.6; }
.pros li svg { color: var(--deal); }
.cons li svg { color: var(--bad); }

.specs { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.specs th, .specs td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.specs th { width: 40%; font-weight: 500; color: var(--muted); padding-right: 16px; }

.final-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px;
  border-radius: 20px; background: var(--text); color: var(--bg);
}
.final-cta h2 { font-size: 1.4rem; margin-bottom: 6px; }
.final-cta p { opacity: 0.8; font-size: 0.95rem; }
.final-cta code { padding: 2px 7px; border-radius: 6px; background: rgb(127 127 127 / 0.25); font-weight: 700; }

/* ---------- prose ---------- */

.prose { font-size: 1.04rem; line-height: 1.78; max-width: 72ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.6rem; margin-top: 1.9em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.6em; }
.prose h4 { font-size: 1.08rem; margin-top: 1.4em; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--accent-hover); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose blockquote { margin-left: 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--accent); color: var(--muted); }
.prose code { padding: 2px 6px; border-radius: 6px; background: var(--surface-2); }
.prose pre { padding: 16px; border-radius: 12px; background: var(--surface-2); overflow-x: auto; }
.prose pre code { padding: 0; background: none; }
.prose img { border-radius: 12px; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2em 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.94rem; line-height: 1.5; }
.prose th, .prose td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--border); }
.prose th { background: var(--surface-2); font-weight: 600; }
.prose tr:last-child td { border-bottom: 0; }

/* ---------- reviews index filters ---------- */

.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; }
.filter-search {
  display: flex; align-items: center; gap: 8px; flex: 1 1 260px; max-width: 380px;
  padding: 0 14px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 12px;
}
.filter-search:focus-within { border-color: var(--accent); }
.filter-search svg { color: var(--muted); }
.filter-search input {
  flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text);
  font: 400 0.98rem var(--font-body); padding: 11px 0; outline: none;
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--text); font: 500 0.9rem var(--font-body); cursor: pointer;
}
.filter-chip:hover { border-color: var(--text); }
.filter-chip[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.filter-sort { display: flex; align-items: center; gap: 8px; margin-left: auto; font-size: 0.9rem; color: var(--muted); }
.filter-sort select {
  padding: 9px 12px; border-radius: 10px; border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--text); font: 500 0.9rem var(--font-body);
}
.result-count { font-size: 0.88rem; color: var(--muted); margin-bottom: 18px; }
.empty { padding: 40px 0; text-align: center; color: var(--muted); }

.notfound { padding: 96px 0; text-align: center; }
.notfound .lede { margin: 0 auto 28px; }
.notfound-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- footer ---------- */

.site-footer { margin-top: 24px; background: var(--surface); border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-top: 48px; padding-bottom: 36px; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; max-width: 420px; }
.footer-brand p { color: var(--muted); font-size: 0.94rem; }
.footer-disclosure { font-size: 0.84rem !important; }
.site-footer h2 {
  font: 700 0.78rem var(--font-body); text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--muted); margin-bottom: 14px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.site-footer ul a { font-size: 0.94rem; }
.site-footer ul a:hover { color: var(--accent); }
.footer-bottom { padding-top: 18px; padding-bottom: 28px; border-top: 1px solid var(--border); font-size: 0.85rem; color: var(--muted); }

/* ---------- responsive ---------- */

/* Keep the score card in view while reading, only on screens tall enough to show all of it. */
@media (min-width: 961px) and (min-height: 900px) {
  .scorecard { position: sticky; top: 88px; }
}

@media (max-width: 960px) {
  .review-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "side" "body"; }
  .picks { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .menu-toggle { display: grid; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 2px; padding: 10px 16px 16px;
    background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
  }
  .site-header.nav-open .main-nav { display: flex; }
  .main-nav a { padding: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .header-inner { gap: 12px; height: 60px; }
  .hero { padding: 48px 0 40px; }
  .section { padding: 40px 0; }
  .page-head { padding: 40px 0 20px; }
  .hero-search { padding-left: 14px; }
  .hero-search .btn { padding: 11px 14px; }
  .bars, .proscons { grid-template-columns: 1fr; }
  .verdict { flex-direction: column; gap: 14px; }
  .final-cta { flex-direction: column; align-items: stretch; text-align: left; }
  .filter-search { max-width: none; }
  .filter-sort { margin-left: 0; }
  .pick-sm { padding: 14px; gap: 12px; }
}

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