/* ============================================================
   ShieldDigest v2 — dark editorial design system
   Type: Space Grotesk (display) / DM Sans (text)
   ============================================================ */

:root {
  --bg: #0B0E17;
  --bg-2: #0E1220;
  --panel: #131828;
  --panel-2: #182036;
  --line: #232B42;
  --line-soft: #1B2236;
  --ink: #EDF0F8;
  --ink-2: #A8B0C6;
  --ink-3: #6F778E;
  --lime: #C6F24E;
  --lime-deep: #9CCB2A;
  --cyan: #5EE0FF;
  --amber: #FFC24F;
  --red: #FF7A6B;
  --green: #4ADE9C;
  --ink-on-lime: #101403;

  --radius: 18px;
  --radius-sm: 12px;
  --font-d: "Space Grotesk", "DM Sans", system-ui, sans-serif;
  --font-t: "DM Sans", system-ui, -apple-system, sans-serif;
  --wrap: 1200px;
  --shadow: 0 20px 50px -24px rgba(0, 0, 0, .65);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-padding-top: 120px; }
body {
  font-family: var(--font-t);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--font-d); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2.05rem); }
h3 { font-size: 1.18rem; }
h1 em, h2 em { font-style: normal; color: var(--lime); }
p { color: var(--ink-2); }
section { padding: 76px 0; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-d); font-size: .75rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--cyan);
}
.kicker::before { content: ""; width: 26px; height: 1px; background: var(--cyan); }
.lede { font-size: 1.12rem; max-width: 46em; }
.section-head { max-width: 780px; margin-bottom: 42px; }
.section-head p { margin-top: 12px; }

/* ---------- header ---------- */
.topline {
  background: #070910; color: var(--ink-3); font-size: .73rem;
  text-align: center; padding: 7px 16px; line-height: 1.5;
}
.topline a { color: var(--ink-2); text-decoration: underline; }
header.site {
  position: sticky; top: 0; z-index: 80;
  background: rgba(11, 14, 23, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav { display: flex; align-items: center; gap: 30px; height: 70px; }
.logo {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--font-d); font-weight: 700; font-size: 1.28rem;
  color: var(--ink); text-decoration: none !important;
}
.logo em { font-style: normal; color: var(--lime); }
.logo-mark { width: 34px; height: 34px; flex: none; display: grid; place-items: center; }
.logo-mark svg { width: 34px; height: 34px; }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav-links > a { color: var(--ink-2); font-weight: 500; font-size: .93rem; }
.nav-links > a:hover { color: var(--ink); text-decoration: none; }
.nav-links > a.active { color: var(--lime); }
.hamburger { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }
.mobile-menu { display: none; flex-direction: column; padding: 8px 24px 20px; border-bottom: 1px solid var(--line-soft); background: var(--bg); }
.mobile-menu a { padding: 11px 0; font-weight: 500; color: var(--ink-2); border-bottom: 1px solid var(--line-soft); }
.mobile-menu.open { display: flex; }

/* progress bar */
#progress { position: fixed; top: 0; left: 0; height: 2.5px; width: 0; background: linear-gradient(90deg, var(--lime), var(--cyan)); z-index: 200; }

/* ---------- buttons & chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--lime); color: var(--ink-on-lime) !important;
  font-family: var(--font-d); font-weight: 700; font-size: .93rem;
  padding: 13px 26px; border-radius: 999px; border: 0; cursor: pointer;
  text-decoration: none !important; transition: .18s;
}
.btn:hover { background: #D6FF66; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink) !important; border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--panel); border-color: var(--ink-3); }
.btn-cyan { background: var(--cyan); color: #04222E !important; }
.btn-cyan:hover { background: #83E9FF; }
.btn-sm { padding: 9px 18px; font-size: .84rem; }
.btn svg { width: 15px; height: 15px; }

.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--panel); border: 1px solid var(--line);
  font-size: .8rem; font-weight: 500; color: var(--ink-2);
  padding: 6px 14px; border-radius: 999px; text-decoration: none !important;
}
.chip:hover { border-color: var(--cyan); color: var(--ink); }
.tag {
  display: inline-block; font-family: var(--font-d); font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--cyan);
}
.badge-top {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--lime); color: var(--ink-on-lime);
  font-family: var(--font-d); font-size: .68rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px;
}
.badge-dim {
  display: inline-flex; background: var(--panel-2); color: var(--amber);
  border: 1px solid var(--line); font-size: .68rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px;
}

/* ---------- breadcrumbs / byline ---------- */
.crumbs { padding: 20px 0 0; font-size: .8rem; color: var(--ink-3); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; }
.crumbs li + li::before { content: "→"; margin-right: 7px; color: var(--line); }
.crumbs a { color: var(--ink-3); }
.crumbs [aria-current] { color: var(--ink-2); }

.byline { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 20px; font-size: .84rem; color: var(--ink-3); }
.byline .avatars { display: flex; }
.byline .avatar {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--panel-2); color: var(--lime); font-family: var(--font-d);
  font-weight: 700; font-size: .7rem; border: 2px solid var(--bg);
}
.byline .avatar + .avatar { margin-left: -10px; color: var(--cyan); }
.byline b { color: var(--ink-2); font-weight: 600; }

/* ---------- score donut ---------- */
.donut { position: relative; display: inline-grid; place-items: center; }
.donut svg { transform: rotate(-90deg); display: block; }
.donut .ring-bg { stroke: var(--line-soft); }
.donut .ring-fg { stroke: var(--lime); stroke-linecap: round; }
.donut.cyan .ring-fg { stroke: var(--cyan); }
.donut .d-val {
  position: absolute; font-family: var(--font-d); font-weight: 700;
  color: var(--ink); line-height: 1; text-align: center;
}
.donut .d-val small { display: block; font-size: .58em; color: var(--ink-3); font-weight: 500; }

/* ---------- hero (home) ---------- */
.hero { padding: 80px 0 70px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 60px; align-items: center; }
.hero-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero p.lede { margin-top: 20px; }
.hero-img { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero-img img { width: 100%; height: auto; }
.hero-chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: rgba(13, 17, 29, .88); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px;
}
.hero-chip img { width: 30px; height: 30px; border-radius: 8px; background: #fff; padding: 3px; }
.hero-chip b { font-family: var(--font-d); font-size: .85rem; display: block; line-height: 1.2; }
.hero-chip span { font-size: .68rem; color: var(--ink-3); }
.hero-chip .s { margin-left: 6px; font-family: var(--font-d); font-weight: 700; color: var(--lime); font-size: 1.05rem; }

.statline {
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  padding: 22px 0; display: flex; gap: 40px; flex-wrap: wrap; justify-content: space-between;
}
.statline div b { font-family: var(--font-d); font-size: 1.5rem; display: block; color: var(--ink); }
.statline div span { font-size: .8rem; color: var(--ink-3); }

/* ---------- hub hero ---------- */
.hub-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }

/* ---------- category banners ---------- */
.cat-banner {
  display: grid; grid-template-columns: 380px 1fr; gap: 0; align-items: stretch;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 22px; transition: .2s; text-decoration: none !important; color: inherit;
}
.cat-banner:hover { border-color: var(--cyan); transform: translateY(-2px); box-shadow: var(--shadow); }
.cat-banner .cb-img { min-height: 200px; background: var(--bg-2); }
.cat-banner .cb-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-banner .cb-body { padding: 30px 34px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.cat-banner h3 { font-size: 1.4rem; }
.cat-banner p { font-size: .95rem; }
.cat-banner .cb-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 6px; }

/* ---------- leaderboard ---------- */
.board { display: flex; flex-direction: column; gap: 14px; }
.board-row {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  transition: .18s;
}
.board-row:hover { border-color: #2E3A5C; }
.board-row.is-top { border-color: var(--lime); background: linear-gradient(180deg, rgba(198, 242, 78, .05), var(--panel) 55%); }
.br-main { display: grid; grid-template-columns: 44px 58px minmax(0, 1.3fr) minmax(0, 1fr) 92px auto; gap: 18px; align-items: center; padding: 20px 24px; }
.br-rank { font-family: var(--font-d); font-weight: 700; font-size: 1.05rem; color: var(--ink-3); text-align: center; }
.board-row.is-top .br-rank { color: var(--lime); }
.br-logo { display: grid; place-items: center; flex: none; width: 58px; height: 58px; border-radius: 13px; background: #fff; padding: 7px; overflow: hidden; }
.br-logo img { width: 100%; height: 100%; object-fit: contain; }
.br-id h3 { font-size: 1.12rem; }
.br-id h3 a { color: inherit; }
.br-id .best { font-size: .8rem; color: var(--ink-3); }
.br-id .badges { margin-top: 5px; display: flex; gap: 7px; flex-wrap: wrap; }
.br-bars { display: flex; flex-direction: column; gap: 5px; }
.br-bars .b { display: grid; grid-template-columns: 86px 1fr 30px; gap: 8px; align-items: center; font-size: .68rem; color: var(--ink-3); }
.br-bars .t { height: 4px; border-radius: 3px; background: var(--line-soft); overflow: hidden; }
.br-bars .t i { display: block; height: 100%; background: var(--cyan); border-radius: 3px; }
.br-bars .v { font-weight: 600; color: var(--ink-2); text-align: right; font-variant-numeric: tabular-nums; }
.br-cta { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.br-cta .price { font-size: .74rem; color: var(--ink-3); text-align: center; }
.br-cta .price b { color: var(--ink); font-family: var(--font-d); }
details.br-more { border-top: 1px solid var(--line-soft); }
details.br-more summary {
  cursor: pointer; list-style: none; padding: 12px 24px; font-family: var(--font-d);
  font-size: .8rem; font-weight: 600; color: var(--cyan); display: flex; align-items: center; gap: 8px;
}
details.br-more summary::-webkit-details-marker { display: none; }
details.br-more summary::after { content: "▾"; transition: .2s; }
details.br-more[open] summary::after { transform: rotate(180deg); }
.br-detail { padding: 4px 24px 24px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; }
.br-detail ul.hl { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.br-detail ul.hl li { display: flex; gap: 10px; font-size: .9rem; color: var(--ink-2); }
.br-detail ul.hl li::before { content: "✓"; color: var(--lime); font-weight: 700; }
.br-detail .facts { font-size: .84rem; }
.br-detail .facts div { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; border-bottom: 1px dashed var(--line-soft); }
.br-detail .facts span { color: var(--ink-3); }
.br-detail .facts b { font-weight: 600; text-align: right; }

/* ---------- sticky section tabs ---------- */
.subnav {
  position: sticky; top: 70px; z-index: 60;
  background: rgba(11, 14, 23, .9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.subnav a {
  flex: none; font-family: var(--font-d); font-size: .82rem; font-weight: 600;
  color: var(--ink-3); padding: 8px 16px; border-radius: 999px; text-decoration: none !important;
}
.subnav a:hover, .subnav a.on { color: var(--ink); background: var(--panel-2); }

/* ---------- tables ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
table.cmp { border-collapse: collapse; width: 100%; min-width: 760px; font-size: .89rem; }
table.cmp th, table.cmp td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); color: var(--ink-2); }
table.cmp thead th { font-family: var(--font-d); color: var(--ink); background: var(--panel-2); white-space: nowrap; }
table.cmp thead th img { width: 26px; height: 26px; display: inline-block; vertical-align: -7px; margin-right: 8px; background: #fff; border-radius: 6px; padding: 2px; }
table.cmp tbody th { font-weight: 500; color: var(--ink-3); font-size: .82rem; white-space: nowrap; background: var(--panel-2); }
table.cmp tr:last-child td, table.cmp tr:last-child th { border-bottom: 0; }
table.cmp b { color: var(--ink); }
table.cmp b.win { color: var(--lime); }

/* ---------- checklist timeline ---------- */
.timeline { position: relative; max-width: 760px; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 12px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 26px; }
.tl-item::before {
  content: ""; position: absolute; left: -28px; top: 6px; width: 11px; height: 11px;
  border-radius: 50%; background: var(--bg); border: 2.5px solid var(--lime);
}
.tl-item b { font-family: var(--font-d); display: block; margin-bottom: 4px; color: var(--ink); }
.tl-item p { font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; }
details.faq-item { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; }
details.faq-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px;
  padding: 17px 22px; font-family: var(--font-d); font-weight: 600; font-size: .96rem; color: var(--ink);
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: "+"; color: var(--cyan); font-size: 1.25rem; line-height: 1; }
details.faq-item[open] summary::after { content: "–"; }
details.faq-item .faq-a { padding: 0 22px 18px; font-size: .93rem; color: var(--ink-2); }

/* ---------- review page ---------- */
.review-hero { display: grid; grid-template-columns: 1.25fr .75fr; gap: 44px; align-items: center; padding: 40px 0 46px; }
.review-hero .rv-logo { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.review-hero .rv-logo .br-logo { width: 62px; height: 62px; }
.score-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
}
.score-card .verdict-word { font-family: var(--font-d); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.score-card .facts-mini { width: 100%; font-size: .82rem; text-align: left; margin-top: 6px; }
.score-card .facts-mini div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line-soft); }
.score-card .facts-mini div:last-child { border: 0; }
.score-card .facts-mini span { color: var(--ink-3); }
.score-card .facts-mini b { font-weight: 600; }

.article-col { max-width: 800px; }
.article-col h2 { margin: 48px 0 16px; scroll-margin-top: 130px; }
.article-col h2:first-child { margin-top: 0; }
.article-col p + p { margin-top: 14px; }

.split-card { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 20px 0; }
.split-card .half { padding: 24px; background: var(--panel); }
.split-card .half + .half { border-left: 1px solid var(--line-soft); }
.split-card h4 { display: flex; gap: 8px; margin-bottom: 14px; font-size: .95rem; }
.split-card .half.good h4 { color: var(--green); }
.split-card .half.bad h4 { color: var(--red); }
.split-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.split-card li { display: flex; gap: 10px; font-size: .9rem; color: var(--ink-2); }
.split-card .good li::before { content: "+"; color: var(--green); font-weight: 700; font-family: var(--font-d); }
.split-card .bad li::before { content: "–"; color: var(--red); font-weight: 700; font-family: var(--font-d); }

.crit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }
.crit-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; display: flex; gap: 18px; align-items: center; }
.crit-card .cc-txt b { font-family: var(--font-d); display: block; font-size: .95rem; }
.crit-card .cc-txt p { font-size: .8rem; margin-top: 4px; }

.plan-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin: 20px 0; }
.plan-tile { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; }
.plan-tile .pn { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-family: var(--font-d); }
.plan-tile .pp { font-family: var(--font-d); font-size: 1.4rem; font-weight: 700; margin: 8px 0 4px; color: var(--ink); }
.plan-tile p { font-size: .8rem; }

.note-box { border: 1px solid var(--line); border-left: 3px solid var(--amber); background: var(--panel); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 16px 20px; margin: 24px 0; font-size: .93rem; color: var(--ink-2); }
.note-box b { color: var(--amber); }

/* sticky bottom CTA */
.cta-bar {
  position: fixed; left: 0; right: 0; bottom: -90px; z-index: 90;
  background: rgba(15, 19, 32, .96); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); transition: bottom .3s ease;
}
.cta-bar.show { bottom: 0; }
.cta-bar .wrap { display: flex; align-items: center; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.cta-bar img { width: 38px; height: 38px; border-radius: 9px; background: #fff; padding: 4px; }
.cta-bar b { font-family: var(--font-d); }
.cta-bar .s { color: var(--lime); font-family: var(--font-d); font-weight: 700; }
.cta-bar .btn { margin-left: auto; }

/* ---------- vs ---------- */
.vs-head { text-align: center; padding: 46px 0 8px; }
.vs-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 38px 0 10px; }
.vs-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: center; position: relative; }
.vs-card.winner { border-color: var(--lime); }
.vs-card .win-flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); }
.vs-card .br-logo { margin: 0 auto 12px; }
.vs-card .t { font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--cyan); font-family: var(--font-d); }
.vs-card h3 { margin: 4px 0 10px; font-size: 1.25rem; }
.vs-card .ctas { display: flex; gap: 10px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }

.duel { position: relative; max-width: 860px; margin: 0 auto; }
.duel::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line); }
.duel-round { position: relative; width: calc(50% - 30px); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 22px; }
.duel-round.left { margin-right: auto; }
.duel-round.right { margin-left: auto; }
.duel-round.tie { margin: 0 auto 22px; width: min(560px, 86%); text-align: center; }
.duel-round::after {
  content: ""; position: absolute; top: 28px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--lime); border: 3px solid var(--bg);
}
.duel-round.left::after { right: -37px; }
.duel-round.right::after { left: -37px; }
.duel-round.tie::after { display: none; }
.duel-round .r-num { font-family: var(--font-d); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.duel-round h3 { font-size: 1rem; margin: 4px 0 8px; }
.duel-round p { font-size: .89rem; }
.duel-round .w { display: inline-flex; margin-top: 10px; font-size: .76rem; font-weight: 700; color: var(--lime); font-family: var(--font-d); }
.tally-band { display: flex; align-items: center; justify-content: center; gap: 20px; font-family: var(--font-d); font-weight: 700; margin: 30px 0; font-size: 1.05rem; }
.tally-band .num { background: var(--panel-2); border: 1px solid var(--line); border-radius: 14px; padding: 12px 22px; font-size: 1.5rem; color: var(--lime); }

.verdict-band { background: var(--panel); border: 1px solid var(--lime); border-radius: var(--radius); padding: 36px; margin: 40px 0; }
.verdict-band h2 { margin-bottom: 12px; }
.verdict-band .btn { margin-top: 20px; }

/* ---------- blog ---------- */
.featured {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  text-decoration: none !important; color: inherit; transition: .2s;
}
.featured:hover { border-color: var(--cyan); box-shadow: var(--shadow); }
.featured .f-img img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.featured .f-body { padding: 36px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.featured h2 { font-size: 1.6rem; }
.featured p { font-size: .95rem; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none !important; color: inherit; display: flex; flex-direction: column; transition: .18s;
}
.post-card:hover { border-color: var(--cyan); transform: translateY(-3px); }
.post-card .p-img { aspect-ratio: 16/9; background: var(--bg-2); }
.post-card .p-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card .p-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card h3 { font-size: 1.02rem; line-height: 1.3; }
.post-card p { font-size: .84rem; color: var(--ink-3); }
.post-card .p-meta { margin-top: auto; padding-top: 10px; font-size: .74rem; color: var(--ink-3); display: flex; gap: 10px; align-items: center; }

/* blog search */
.search-bar {
  display: flex; align-items: center; gap: 12px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 8px 6px 20px; max-width: 580px; margin: 28px 0 4px; transition: .2s;
}
.search-bar:focus-within { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(198, 242, 78, .12); }
.search-bar svg { width: 18px; height: 18px; color: var(--ink-3); flex: none; }
.search-bar input {
  flex: 1; min-width: 0; background: none; border: 0; outline: 0;
  color: var(--ink); font: inherit; font-size: .95rem; padding: 9px 0;
}
.search-bar input::placeholder { color: var(--ink-3); }
.search-bar input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-bar button {
  background: var(--panel-2); border: 1px solid var(--line); color: var(--ink-2);
  width: 34px; height: 34px; border-radius: 50%; cursor: pointer; flex: none; font-size: .8rem;
}
.search-bar button:hover { color: var(--ink); border-color: var(--ink-3); }
.search-meta { font-size: .9rem; color: var(--ink-2); margin: 16px 0 20px; }
.search-meta b { color: var(--lime); }

.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 26px 0 34px; }
.filter-tabs a {
  font-family: var(--font-d); font-size: .84rem; font-weight: 600; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; text-decoration: none !important;
}
.filter-tabs a.on { background: var(--lime); color: var(--ink-on-lime); border-color: var(--lime); }
.filter-tabs a:hover:not(.on) { border-color: var(--cyan); color: var(--ink); }

/* article page */
.art-hero { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin: 26px 0 34px; }
.art-hero img { width: 100%; height: auto; max-height: 420px; object-fit: cover; }
.article-body { max-width: 780px; margin: 0 auto; }
.article-body h1 { margin: 14px 0; }
.article-body .dek { font-size: 1.13rem; color: var(--ink-2); }
.article-body h2 { margin: 44px 0 14px; scroll-margin-top: 130px; }
.article-body p + p { margin-top: 14px; }

.product-box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 36px 0; }
.product-box .pb-head { font-family: var(--font-d); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 16px; }
.product-box .pb-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.product-box .pb-row img { width: 42px; height: 42px; border-radius: 10px; background: #fff; padding: 5px; }
.product-box .pb-row .pb-id { flex: 1; min-width: 0; }
.product-box .pb-row b { font-family: var(--font-d); display: block; }
.product-box .pb-row span { font-size: .78rem; color: var(--ink-3); }
.product-box .pb-row .s { font-family: var(--font-d); font-weight: 700; color: var(--lime); }

.author-box { display: flex; gap: 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-top: 44px; }
.author-box .avatar { width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--panel-2); color: var(--lime); font-family: var(--font-d); font-weight: 700; }
.author-box .role { font-size: .72rem; color: var(--cyan); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-family: var(--font-d); margin-bottom: 4px; }
.author-box b { font-family: var(--font-d); }
.author-box p { font-size: .88rem; }

/* ---------- prose / static ---------- */
.prose { max-width: 780px; }
.prose h2 { margin: 40px 0 12px; }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 14px 0 14px 22px; color: var(--ink-2); }
.prose li { margin-bottom: 8px; }

.weights { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 16px 0; }
.weight-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; }
.weight-card b { font-family: var(--font-d); font-size: 1.3rem; color: var(--cyan); display: block; }
.weight-card span { font-weight: 600; font-size: .88rem; display: block; margin: 3px 0 6px; color: var(--ink); }
.weight-card p { font-size: .78rem; color: var(--ink-3); }

/* back to top */
#toTop {
  position: fixed; right: 22px; bottom: 22px; z-index: 85; width: 44px; height: 44px;
  border-radius: 50%; background: var(--panel-2); border: 1px solid var(--line); color: var(--ink-2);
  display: grid; place-items: center; cursor: pointer; opacity: 0; pointer-events: none; transition: .25s;
}
#toTop.show { opacity: 1; pointer-events: auto; }
#toTop:hover { color: var(--lime); border-color: var(--lime); }

/* ---------- footer ---------- */
footer.site { background: #070910; border-top: 1px solid var(--line-soft); margin-top: 50px; }
footer.site .foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 40px; padding: 60px 0 40px; }
footer.site h4 { font-size: .88rem; margin-bottom: 14px; color: var(--ink); }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 9px; }
footer.site ul a { color: var(--ink-3); font-size: .86rem; }
footer.site ul a:hover { color: var(--ink); }
footer.site .foot-brand p { font-size: .86rem; margin-top: 14px; color: var(--ink-3); max-width: 28em; }
footer.site .foot-bottom { border-top: 1px solid var(--line-soft); padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .76rem; color: var(--ink-3); }
footer.site .foot-bottom a { color: var(--ink-3); }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .hero-grid, .review-hero, .hub-hero { grid-template-columns: 1fr; gap: 40px; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .br-main { grid-template-columns: 40px 54px minmax(0, 1fr) 84px auto; gap: 14px; }
  .br-bars { display: none; }
  footer.site .foot-grid { grid-template-columns: 1fr 1fr; }
  .crit-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .cat-banner { grid-template-columns: 1fr; }
  .cat-banner .cb-img { max-height: 180px; }
  .featured { grid-template-columns: 1fr; }
  .vs-cards, .split-card { grid-template-columns: 1fr; }
  .split-card .half + .half { border-left: 0; border-top: 1px solid var(--line-soft); }
  .duel::before { left: 8px; }
  .duel-round { width: calc(100% - 34px); margin-left: 34px !important; }
  .duel-round.left::after, .duel-round.right::after { left: -30px; right: auto; }
  .duel-round.tie { width: calc(100% - 34px); }
  .br-detail { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  section { padding: 52px 0; }
  .wrap { padding: 0 18px; }
  .post-grid { grid-template-columns: 1fr; }
  .br-main { grid-template-columns: 46px minmax(0, 1fr) 78px; gap: 14px; padding: 16px; }
  .br-rank { display: none; }
  .br-logo { width: 46px; height: 46px; padding: 5px; }
  .br-donut { justify-self: end; }
  .br-id h3 { font-size: 1.04rem; }
  .br-id .badges .badge-dim { display: none; }
  .br-cta { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 10px; }
  .br-cta .price { text-align: left; margin-right: auto; }
  .br-cta .btn { flex: none; }
  details.br-more summary, .br-detail { padding-left: 16px; padding-right: 16px; }
  .cta-bar .hide-sm { display: none; }
  .statline { gap: 14px 28px; justify-content: flex-start; }
  .statline div b { font-size: 1.25rem; }
  footer.site .foot-grid { grid-template-columns: 1fr; gap: 26px; padding: 44px 0 30px; }
  .featured .f-body { padding: 24px; }
  .verdict-band { padding: 26px 22px; }
  .verdict-band .btn { width: 100%; }
  .verdict-band .btn + .btn { margin: 10px 0 0 !important; }
  .hero-cta .btn { flex: 1 1 auto; }
  .review-hero { padding: 28px 0 34px; }
  .tally-band { font-size: .9rem; gap: 12px; }
}
