/* =========================================================================
   RedVPN — design system
   Brand: signal red on a warm-neutral canvas. Light theme (IDE default).
   ========================================================================= */

:root {
  /* Brand */
  --red-50:  #fff1f0;
  --red-100: #ffdedb;
  --red-200: #ffc2bd;
  --red-400: #f8574c;
  --red-500: #e6392e;
  --red-600: #c62a20;
  --red-700: #9d2018;

  /* Neutrals */
  --ink-900: #14121b;
  --ink-800: #221f2c;
  --ink-700: #3b3747;
  --ink-600: #565165;
  --ink-500: #736e83;
  --ink-400: #9a95a8;
  --ink-300: #c4c0cf;
  --ink-200: #e3e0ea;
  --ink-100: #f1eff5;
  --ink-50:  #faf9fc;
  --white:   #ffffff;

  /* Accents */
  --amber-500: #e2a300;
  --amber-50:  #fff8e6;
  --green-600: #0f8a52;
  --green-50:  #e8f7ef;

  --bg: var(--white);
  --bg-alt: var(--ink-50);
  --surface: var(--white);
  --border: var(--ink-200);
  --border-soft: var(--ink-100);
  --text: var(--ink-900);
  --text-soft: var(--ink-600);
  --text-mute: var(--ink-500);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(20, 18, 27, .06);
  --shadow-sm: 0 2px 8px rgba(20, 18, 27, .07);
  --shadow-md: 0 10px 30px -12px rgba(20, 18, 27, .18);
  --shadow-lg: 0 26px 60px -24px rgba(20, 18, 27, .28);
  --shadow-red: 0 14px 34px -12px rgba(230, 57, 46, .45);

  --container: 1180px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;

  --sec-y: clamp(56px, 8vw, 104px);
}

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.18; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.15em; }
li { margin-bottom: .4em; }
strong { font-weight: 700; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--red-400); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.section { padding-block: var(--sec-y); }
.section--alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--red-600); background: var(--red-50);
  padding: 6px 12px; border-radius: var(--radius-pill); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red-500); }
.lede { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--text-soft); }
.muted { color: var(--text-mute); }
.center { text-align: center; }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: .95rem; border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red-500); color: #fff; box-shadow: var(--shadow-red); }
.btn-primary:hover { background: var(--red-600); }
.btn-outline { border-color: var(--ink-300); color: var(--ink-800); background: var(--white); }
.btn-outline:hover { border-color: var(--red-500); color: var(--red-600); }
.btn-ghost { color: var(--ink-700); }
.btn-ghost:hover { color: var(--red-600); }
.btn-dark { background: var(--ink-900); color: #fff; }
.btn-dark:hover { background: var(--ink-800); }
.btn-lg { padding: 16px 30px; font-size: 1.02rem; }
.btn-sm { padding: 9px 16px; font-size: .86rem; }
.btn-block { width: 100%; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.12rem; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--red-500), var(--red-700));
  color: #fff; font-weight: 900; box-shadow: var(--shadow-red);
}
.brand-name em { font-style: normal; color: var(--red-500); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 8px 14px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: .94rem; color: var(--ink-700);
}
.nav-links a:hover { background: var(--ink-100); color: var(--ink-900); }
.nav-links a.is-active { background: var(--red-50); color: var(--red-600); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink-800); border-radius: 2px; }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 480px at 88% -8%, var(--red-50), transparent 62%),
    radial-gradient(700px 420px at 4% 100%, #f3f1ff, transparent 60%),
    var(--white);
  padding-block: clamp(48px, 7vw, 92px) clamp(40px, 5vw, 72px);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 .accent { color: var(--red-500); }
.hero p.lede { max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px 26px; padding-top: 22px; border-top: 1px dashed var(--border); }
.hero-trust .t { display: flex; align-items: baseline; gap: 8px; }
.hero-trust b { font-size: 1.3rem; font-weight: 800; color: var(--ink-900); }
.hero-trust span { font-size: .85rem; color: var(--text-mute); }

/* Winner card (hero right) */
.winner {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px;
  box-shadow: var(--shadow-lg); position: relative;
}
.winner-flag {
  position: absolute; top: -14px; left: 22px;
  background: var(--amber-50); color: #8a6600; border: 1px solid #f2d788;
  font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--radius-pill);
}
.winner-top { display: flex; align-items: center; gap: 14px; margin: 12px 0 16px; }
.winner-top .logo { width: 52px; height: 52px; border-radius: 14px; font-size: 1.4rem; }
.winner-name { font-size: 1.28rem; font-weight: 800; }
.winner-sub { font-size: .86rem; color: var(--text-mute); }
.scorebadge {
  margin-left: auto; text-align: center; background: var(--green-50); color: var(--green-600);
  border-radius: var(--radius); padding: 8px 12px; font-weight: 800;
}
.scorebadge b { display: block; font-size: 1.35rem; line-height: 1; }
.scorebadge span { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.winner-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.winner-stats div { background: var(--ink-50); border-radius: var(--radius-sm); padding: 10px; text-align: center; }
.winner-stats b { display: block; font-size: 1.02rem; font-weight: 800; }
.winner-stats span { font-size: .72rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: .04em; }
.winner-foot { font-size: .78rem; color: var(--text-mute); text-align: center; margin: 10px 0 0; }

/* ------------------------------------------------------------------ logo */
.logo {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 1.15rem;
  box-shadow: var(--shadow-sm);
}

/* ----------------------------------------------------------------- cards */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* Award tiles */
.awards-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.award {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 16px; box-shadow: var(--shadow-xs); transition: transform .18s, box-shadow .18s, border-color .18s;
}
.award:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--red-200); }
.award .a-kicker { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--red-600); }
.award .a-name { font-size: 1.02rem; font-weight: 800; margin: 6px 0 4px; }
.award p { font-size: .86rem; color: var(--text-mute); margin: 0; }

/* Ranking card */
.ranking { display: flex; flex-direction: column; gap: 18px; }
.rank-card {
  position: relative;
  display: grid; grid-template-columns: 92px 1fr 300px;
  gap: 22px; align-items: center;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px 24px;
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.rank-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--red-200); }
.rank-card.is-top { border-color: var(--amber-500); box-shadow: var(--shadow-md); }
.rank-card.is-top::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; border-radius: var(--radius-lg) 0 0 var(--radius-lg); background: var(--amber-500); }
.rank-badge {
  position: absolute; top: -12px; left: 22px; background: var(--amber-500); color: #3a2a00;
  font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: var(--radius-pill); display: none;
}
.rank-card.is-top .rank-badge { display: inline-block; }
.rank-num {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; color: var(--text-mute);
}
.rank-num .n { font-size: 1.5rem; font-weight: 900; color: var(--ink-300); line-height: 1; }
.rank-body .head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.rank-body .name { font-size: 1.24rem; font-weight: 800; }
.rank-body .stars { color: var(--amber-500); font-size: .9rem; letter-spacing: 2px; }
.rank-body .stars .muted { color: var(--ink-300); }
.rank-body .tagline { font-size: .92rem; color: var(--text-soft); margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-size: .76rem; font-weight: 600; color: var(--ink-700); background: var(--ink-50);
  border: 1px solid var(--border-soft); border-radius: var(--radius-pill); padding: 4px 10px;
}
.chip.good { color: var(--green-600); background: var(--green-50); border-color: #cdecdb; }
.rank-side { border-left: 1px solid var(--border-soft); padding-left: 22px; }
.price-line { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.price-line .amount { font-size: 2.1rem; font-weight: 900; letter-spacing: -.03em; }
.price-line .per { font-size: .86rem; color: var(--text-mute); }
.price-note { font-size: .78rem; color: var(--text-mute); margin-bottom: 14px; }
.rank-side .btn { margin-bottom: 8px; }
.rank-side .site-link { display: block; text-align: center; font-size: .8rem; color: var(--text-mute); }
.rank-side .site-link:hover { color: var(--red-600); }

/* Pros / cons */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.proscons ul { list-style: none; padding: 0; margin: 0; }
.proscons li { position: relative; padding-left: 26px; font-size: .92rem; margin-bottom: 8px; color: var(--ink-700); }
.pros li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green-600); font-weight: 900; }
.cons li::before { content: "✕"; position: absolute; left: 0; top: 0; color: var(--red-500); font-weight: 900; }
.proscons h4 { font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.proscons .pros h4 { color: var(--green-600); }
.proscons .cons h4 { color: var(--red-600); }

/* ------------------------------------------------------- comparison table */
.table-wrap {
  overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--white); box-shadow: var(--shadow-sm);
}
table.ctable { width: 100%; border-collapse: collapse; min-width: 860px; font-size: .92rem; }
.ctable thead th {
  position: sticky; top: 0; z-index: 5; background: var(--ink-50);
  text-align: left; padding: 14px 16px; font-size: .78rem; text-transform: uppercase;
  letter-spacing: .06em; color: var(--ink-600); border-bottom: 1px solid var(--border);
  white-space: nowrap; cursor: pointer; user-select: none;
}
.ctable thead th[data-sort]:hover { color: var(--red-600); }
.ctable thead th .arrow { opacity: .35; font-size: .7rem; margin-left: 4px; }
.ctable thead th.is-sorted { color: var(--red-600); background: var(--red-50); }
.ctable thead th.is-sorted .arrow { opacity: 1; }
.ctable tbody td { padding: 14px 16px; border-bottom: 1px solid var(--border-soft); vertical-align: middle; }
.ctable tbody tr:last-child td { border-bottom: 0; }
.ctable tbody tr:hover { background: var(--ink-50); }
.ctable .v-cell { display: flex; align-items: center; gap: 12px; }
.ctable .v-name { font-weight: 800; }
.ctable .v-sub { font-size: .78rem; color: var(--text-mute); }
.ctable .best { color: var(--green-600); font-weight: 800; }
.ctable .best::after { content: " ★"; font-size: .75rem; }
.mono { font-variant-numeric: tabular-nums; }
.pill { display: inline-block; padding: 3px 10px; border-radius: var(--radius-pill); font-size: .78rem; font-weight: 700; }
.pill-yes { background: var(--green-50); color: var(--green-600); }
.pill-no { background: var(--ink-100); color: var(--text-mute); }
.pill-warn { background: var(--amber-50); color: #8a6600; }

/* Filter bar */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }
.filter-chip {
  background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-pill);
  padding: 8px 16px; font-weight: 600; font-size: .88rem; color: var(--ink-700);
  transition: all .18s;
}
.filter-chip:hover { border-color: var(--red-300, var(--red-200)); color: var(--red-600); }
.filter-chip.is-on { background: var(--red-500); border-color: var(--red-500); color: #fff; }
.filters .search {
  margin-left: auto; display: flex; align-items: center; gap: 8px;
  background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-pill);
  padding: 8px 16px;
}
.filters .search input { border: 0; outline: 0; font: inherit; font-size: .9rem; width: 180px; background: transparent; }

/* Chart */
.chart-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.bars { display: flex; flex-direction: column; gap: 16px; }
.bar-row { display: grid; grid-template-columns: 150px 1fr 88px; align-items: center; gap: 16px; }
.bar-row .b-name { font-weight: 700; font-size: .92rem; display: flex; align-items: center; gap: 8px; }
.bar-row .b-name .dot { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.bar-track { height: 26px; background: var(--ink-100); border-radius: var(--radius-sm); overflow: hidden; }
.bar-fill { height: 100%; border-radius: var(--radius-sm); width: 0; transition: width 1.1s cubic-bezier(.2,.7,.2,1); }
.bar-row .b-val { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; font-size: .92rem; }

/* Blog / article cards */
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow-xs);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--red-200); }
.card .kicker { font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--red-600); }
.card h3 { margin: 10px 0 8px; }
.card p { color: var(--text-soft); font-size: .94rem; margin-bottom: 14px; }
.card .read { font-weight: 700; font-size: .88rem; color: var(--red-600); }

/* Article / review body */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: var(--ink-700); }
.prose blockquote {
  margin: 1.4em 0; padding: 16px 22px; border-left: 4px solid var(--red-400);
  background: var(--red-50); border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink-800);
}
.callout {
  display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius);
  background: var(--amber-50); border: 1px solid #f2d788; margin: 1.4em 0; font-size: .94rem;
}
.callout.info { background: var(--red-50); border-color: var(--red-200); }
.callout b { display: block; }

/* Review hero */
.review-hero { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
.review-side { position: sticky; top: 92px; }
.verdict-box { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-md); }
.verdict-box .score-ring {
  width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 14px;
  display: grid; place-items: center; font-size: 1.7rem; font-weight: 900; color: var(--green-600);
  background: conic-gradient(var(--green-600) calc(var(--p) * 1%), var(--ink-100) 0);
  position: relative;
}
.verdict-box .score-ring::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--white); }
.verdict-box .score-ring span { position: relative; z-index: 1; }
.spec-list { list-style: none; padding: 0; margin: 0 0 18px; }
.spec-list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--border); font-size: .88rem; }
.spec-list li:last-child { border-bottom: 0; }
.spec-list .k { color: var(--text-mute); }
.spec-list .v { font-weight: 700; text-align: right; }

/* Deals */
.deal {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px 26px; box-shadow: var(--shadow-xs); transition: box-shadow .2s, border-color .2s;
}
.deal:hover { box-shadow: var(--shadow-md); border-color: var(--red-200); }
.deal-left { display: flex; align-items: center; gap: 18px; }
.deal-left .tag { font-size: .76rem; font-weight: 800; color: var(--red-600); text-transform: uppercase; letter-spacing: .08em; }
.deal-left h3 { margin: 4px 0 4px; }
.deal-left p { margin: 0; font-size: .9rem; color: var(--text-mute); }
.deal-right { text-align: right; }
.deal-right .old { text-decoration: line-through; color: var(--text-mute); font-size: .88rem; }
.deal-right .new { font-size: 1.9rem; font-weight: 900; letter-spacing: -.03em; }
.deal-right .new small { font-size: .8rem; font-weight: 600; color: var(--text-mute); }
.deal-save { display: inline-block; background: var(--red-50); color: var(--red-600); font-weight: 800; font-size: .78rem; padding: 3px 10px; border-radius: var(--radius-pill); margin-bottom: 8px; }

/* Newsletter / CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--ink-900), #2c2438 60%, var(--red-700));
  border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 54px); color: #fff; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 56ch; margin-inline: auto; }
.subscribe { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.subscribe input {
  min-width: 280px; padding: 14px 18px; border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255,255,255,.25); background: rgba(255,255,255,.1);
  color: #fff; font: inherit; font-size: .95rem;
}
.subscribe input::placeholder { color: rgba(255,255,255,.6); }
.subscribe input:focus { outline: 0; border-color: #fff; background: rgba(255,255,255,.16); }
.form-note { font-size: .82rem; color: rgba(255,255,255,.6); margin: 12px 0 0; }

/* Stats bar */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 24px 16px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
.stat b { display: block; font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 900; color: var(--red-500); letter-spacing: -.03em; }
.stat span { font-size: .86rem; color: var(--text-mute); }

/* FAQ */
.faq { border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--border-soft); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  padding: 18px 22px; font-weight: 700; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--red-500); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 22px 20px; color: var(--text-soft); font-size: .94rem; }
.faq details[open] summary { background: var(--ink-50); }

/* Breadcrumbs */
.crumbs { font-size: .84rem; color: var(--text-mute); padding-top: 22px; }
.crumbs a:hover { color: var(--red-600); }
.crumbs span { margin-inline: 8px; }

/* Page hero (subpages) */
.page-hero {
  background: radial-gradient(700px 300px at 80% -20%, var(--red-50), transparent 65%), var(--white);
  padding-block: clamp(24px, 4vw, 44px) clamp(28px, 4vw, 52px);
  border-bottom: 1px solid var(--border-soft);
}
.page-hero h1 { max-width: 20ch; }
.page-hero p { max-width: 62ch; color: var(--text-soft); font-size: 1.05rem; }

/* Footer */
.site-footer { background: var(--ink-900); color: rgba(255,255,255,.72); padding-block: clamp(44px, 6vw, 68px) 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: .9rem; max-width: 42ch; }
.footer-mail a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.footer-col h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer-col a { display: block; padding: 5px 0; font-size: .9rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; font-size: .82rem; }
.footer-bottom p { margin-bottom: 6px; }
.footer-legal { color: rgba(255,255,255,.5); }

/* ------------------------------------------------- cost calculator ------- */
.calc-head { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; }
.calc-toggle { display: flex; gap: 8px; flex-wrap: wrap; }
.calc-rows { display: flex; flex-direction: column; gap: 8px; }
.calc-row {
  display: grid;
  grid-template-columns: 26px 34px minmax(110px, 150px) 1fr 92px 88px;
  align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: var(--radius);
  background: var(--ink-50); border: 1px solid transparent;
  transition: border-color .18s, background .18s;
}
.calc-row.is-best { background: var(--green-50); border-color: #cdecdb; }
.calc-pos { font-weight: 900; color: var(--ink-400); font-size: .9rem; }
.calc-row.is-best .calc-pos { color: var(--green-600); }
.calc-name { font-weight: 700; font-size: .94rem; }
.calc-bar { height: 10px; background: var(--ink-200); border-radius: 6px; overflow: hidden; min-width: 40px; }
.calc-row.is-best .calc-bar { background: #cdecdb; }
.calc-bar i { display: block; height: 100%; border-radius: 6px; transition: width .5s ease; }
.calc-total { font-weight: 800; text-align: right; font-size: .98rem; }
.calc-per { text-align: right; font-size: .84rem; color: var(--text-mute); }

/* --------------------------------------------------- head-to-head (VS) --- */
.vs-head {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px;
  padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--border);
}
.vs-side { display: flex; align-items: center; gap: 12px; }
.vs-side.vs-right { justify-content: flex-end; text-align: right; }
.vs-name { font-weight: 800; font-size: 1.1rem; }
.vs-score { font-size: .84rem; color: var(--text-mute); font-weight: 700; }
.vs-badge {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink-900); color: #fff; font-weight: 900; font-size: .82rem; letter-spacing: .04em;
}
.vs-body { display: flex; flex-direction: column; }
.vs-row {
  display: grid; grid-template-columns: 1fr 170px 1fr; align-items: center;
  padding: 11px 0; border-bottom: 1px dashed var(--border-soft); font-size: .92rem;
}
.vs-row:last-child { border-bottom: 0; }
.vs-label { text-align: center; font-size: .82rem; color: var(--text-mute); font-weight: 600; }
.vs-a { text-align: left; font-weight: 600; }
.vs-b { text-align: right; font-weight: 600; }
.vs-win { color: var(--green-600); font-weight: 800; }
.vs-win::after { content: " ✓"; font-size: .78rem; }
.vs-foot { display: flex; gap: 12px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
.vs-picker { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; margin-bottom: 20px; }
.vs-picker label { display: flex; flex-direction: column; gap: 6px; font-size: .82rem; font-weight: 700; color: var(--ink-600); text-transform: uppercase; letter-spacing: .06em; }
.vs-picker select {
  padding: 11px 16px; border-radius: var(--radius-pill); border: 1.5px solid var(--border);
  background: var(--white); font: inherit; font-size: .94rem; font-weight: 600; color: var(--ink-900);
  min-width: 190px; cursor: pointer;
}
.vs-picker select:focus { outline: 0; border-color: var(--red-400); }

/* ---------------------------------------------------- article meta bar --- */
.article-meta {
  display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center;
  font-size: .84rem; color: var(--text-mute); margin-top: 12px;
}
.toc {
  background: var(--ink-50); border: 1px solid var(--border-soft);
  border-radius: var(--radius); padding: 18px 22px; margin: 0 0 1.6em;
}
.toc h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-600); margin-bottom: 12px; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li { margin-bottom: 6px; font-size: .92rem; }
.toc a { color: var(--ink-700); }
.toc a:hover { color: var(--red-600); }

/* -------------------------------------------------- responsive extras --- */
@media (max-width: 760px) {
  .calc-row { grid-template-columns: 22px 30px 1fr 84px; row-gap: 6px; }
  .calc-bar { display: none; }
  .calc-per { display: none; }
  .vs-row { grid-template-columns: 1fr; gap: 2px; text-align: left; padding: 12px 0; }
  .vs-label { text-align: left; order: -1; margin-bottom: 4px; }
  .vs-a, .vs-b { text-align: left; }
  .vs-b::before { content: "vs "; color: var(--text-mute); font-weight: 400; }
}

/* ------------------------------------------------------- reveal animation */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .awards-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rank-card { grid-template-columns: 1fr; gap: 18px; }
  .rank-num { flex-direction: row; justify-content: flex-start; }
  .rank-side { border-left: 0; border-top: 1px solid var(--border-soft); padding-left: 0; padding-top: 18px; }
  .review-hero { grid-template-columns: 1fr; }
  .review-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-2, .grid-5 { grid-template-columns: 1fr; }
  .proscons { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .bar-row { grid-template-columns: 100px 1fr 70px; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--white);
    border-bottom: 1px solid var(--border); padding: 10px 16px 18px;
    box-shadow: var(--shadow-md);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-toggle { display: flex; }
  .nav-cta .btn-ghost { display: none; }
  .nav { gap: 12px; }
  .nav-links { margin-left: auto; }
}
@media (max-width: 620px) {
  .awards-strip { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .deal { grid-template-columns: 1fr; }
  .deal-right { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .filters .search { margin-left: 0; width: 100%; }
  .filters .search input { width: 100%; }
  .winner-stats { grid-template-columns: 1fr; }
}
