/* ==========================================================================
   VPN LABS — reviews module (Design v2, "consumer-security clean")
   /reviews, /reviews/:slug, /reviews/compare, /reviews/rankings
   Tokens only (base.css), rounded cards, pill chips, navy glow bands, flat
   illustrations. Mobile-first; no fixed widths or nowrap on translated text;
   letter-spacing only through --tracking-* tokens; dark-mode and print safe.
   ========================================================================== */

/* ------------------------------------------------------------ primitives */
.rv-sub {
  display: block;
  margin-top: 0.2rem;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--c-muted);
}
.rv-sub--alert {
  color: var(--c-danger);
}
/* Long translated words (German compounds, Russian, Vietnamese) must never widen the page:
   section heads get shrinkable grid tracks and every heading may hyphenate / break. */
.page-reviews main {
  overflow-wrap: break-word;
}
.page-reviews main :is(h1, h2, h3, h4, legend, summary) {
  hyphens: auto;
}
.page-reviews .section-head {
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 960px) {
  .page-reviews .section-head {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .page-reviews .section-head--center {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Tables: let translated headers wrap; keep visually-hidden helpers inside the scroll box. */
.page-reviews .table-wrap {
  position: relative;
}
.page-reviews .data-table thead th {
  white-space: normal;
}

/* Core .btn is nowrap; translated labels (de/ru/vi/my) must be able to wrap. */
.page-reviews main .btn {
  white-space: normal;
  text-align: center;
  max-width: 100%;
}
.page-reviews main .arrow-link {
  max-width: 100%;
}
.page-reviews main .badge {
  white-space: normal;
  max-width: 100%;
  line-height: 1.3;
}

/* Inter's tabular figures also widen hyphens: keep tabular digits for numeric cells only. */
.page-reviews .data-table {
  font-variant-numeric: normal;
}
.page-reviews .data-table .num,
.rv-cmp__num {
  font-variant-numeric: tabular-nums;
}
.rv-caption {
  caption-side: top;
  text-align: left;
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.45;
  color: var(--c-ink-2);
  padding: var(--s-4) var(--s-5) var(--s-3);
}
.rv-footnote {
  margin-top: var(--s-5);
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--c-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2) var(--s-3);
}
.rv-footnote--center {
  justify-content: center;
  text-align: center;
}
.rv-text {
  color: var(--c-ink-2);
  line-height: var(--lh-body);
}
.rv-unit {
  color: var(--c-muted);
  font-size: 0.85em;
}
.rv-h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--s-3);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2) var(--s-3);
}
.rv-h3__meta {
  font-size: var(--fs-sm);
  font-weight: 500;
}
.rv-notice-wrap {
  margin-block: var(--s-6) 0;
}
.rv-notice-inline {
  margin-bottom: var(--s-5);
}

/* pill chips (platforms, meta) */
.rv-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  list-style: none;
}
.rv-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  max-width: 100%;
  padding: 0.38em 0.8em;
  border-radius: var(--r-pill);
  background: var(--c-surface-2);
  color: var(--c-ink-2);
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.rv-chip--warn {
  background: var(--c-amber-soft);
  color: var(--c-amber-ink);
}
.rv-plainlist {
  list-style: none;
  display: grid;
  gap: 0.2rem;
  font-size: var(--fs-sm);
}

/* count bubble (open findings) */
.rv-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2em;
  padding: 0.15em 0.6em;
  border-radius: var(--r-pill);
  background: var(--c-surface-2);
  color: var(--c-ink);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.rv-count--alert {
  background: var(--c-danger-soft);
  color: var(--c-danger);
}

/* methodology tag */
.rv-mtag {
  display: inline-flex;
  align-items: center;
  padding: 0.3em 0.75em;
  border-radius: var(--r-pill);
  background: var(--c-accent-soft);
  color: var(--c-accent-text);
  font-size: var(--fs-xs);
  font-weight: 650;
  line-height: 1.3;
  text-decoration: none;
}
.rv-mtag:hover {
  text-decoration: none;
  background: var(--c-mark);
}

/* score figure "7.8/10" */
.rv-figure {
  display: inline-flex;
  align-items: baseline;
  gap: 0.1em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.rv-figure strong {
  font-size: var(--fs-lg);
  font-weight: 750;
  letter-spacing: var(--tracking-tight);
  color: var(--c-ink);
}
.rv-figure small {
  font-size: var(--fs-xs);
  color: var(--c-muted);
  font-weight: 550;
}
.rv-figure--none {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-muted);
}

/* rounded score bar */
.rv-bar {
  display: block;
  width: 100%;
  height: 8px;
  border-radius: var(--r-pill);
  background: var(--c-surface-3);
  overflow: hidden;
}
.rv-bar__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--c-accent);
}
.rv-bar--strong {
  height: 10px;
}
.rv-bar--strong .rv-bar__fill {
  background: var(--c-ink);
}
.rv-bar--empty {
  background: transparent;
  border: 1px dashed var(--c-rule-strong);
}

/* circular score gauge */
.rv-ring {
  position: relative;
  flex-shrink: 0;
  width: 108px;
  height: 108px;
}
.rv-ring svg {
  width: 100%;
  height: 100%;
}
.rv-ring__track {
  fill: none;
  stroke: var(--c-surface-3);
  stroke-width: 10;
}
.rv-ring__fill {
  fill: none;
  stroke: var(--c-accent-line);
  stroke-width: 10;
  stroke-linecap: round;
}
/* The score sits in the exact centre of the ring; "/10" is small, at the bottom edge inside it. */
.rv-ring__value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.rv-ring__value strong {
  font-size: 2rem;
  font-weight: 750;
  letter-spacing: var(--tracking-tight);
  color: var(--c-ink);
}
.rv-ring__value small {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 21%;
  text-align: center;
  font-size: var(--fs-2xs);
  font-weight: 600;
  color: var(--c-muted);
}
.rv-ring--lg {
  width: 128px;
  height: 128px;
}
.rv-ring--lg .rv-ring__value strong {
  font-size: 2.8rem;
}
.rv-ring--sm {
  width: 76px;
  height: 76px;
}
.rv-ring--sm .rv-ring__value strong {
  font-size: 1.4rem;
}
.rv-ring--sm .rv-ring__value small {
  bottom: 16%;
}
.rv-ring--none .rv-ring__value strong {
  color: var(--c-muted);
  font-weight: 600;
}

/* leak result pill */
.rv-leak {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  max-width: 100%;
  padding: 0.4em 0.85em;
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 650;
  line-height: 1.3;
  background: var(--c-surface-2);
  color: var(--c-ink-2);
}
.rv-leak .icon {
  flex-shrink: 0;
}
.rv-leak--pass {
  background: var(--c-success-soft);
  color: var(--c-success);
}
.rv-leak--fail {
  background: var(--c-danger-soft);
  color: var(--c-danger);
}
.rv-leak--fixed {
  background: var(--c-teal-soft);
  color: var(--c-success);
}
.rv-leak--info {
  background: var(--c-amber-soft);
  color: var(--c-amber-ink);
}
.rv-leak--none {
  background: transparent;
  border: 1px dashed var(--c-rule-strong);
  color: var(--c-muted);
}

/* category bars (cards, score summary) */
.rv-catbars {
  list-style: none;
  display: grid;
  gap: var(--s-3);
}
.rv-catbars__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 0.3rem var(--s-3);
}
.rv-catbars__name {
  font-size: var(--fs-xs);
  font-weight: 550;
  color: var(--c-ink-2);
  line-height: 1.35;
}
.rv-catbars__val {
  font-size: var(--fs-sm);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--c-ink);
}
.rv-catbars__row .rv-bar {
  grid-column: 1 / -1;
  height: 6px;
}
.rv-catbars--compact {
  gap: 0.6rem;
}

/* check-mark lists */
.rv-trust,
.rv-checklist {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-5);
}
.rv-trust li,
.rv-checklist li {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.4;
}
.rv-trust .icon,
.rv-checklist .icon {
  flex-shrink: 0;
  margin-top: 0.05em;
  color: var(--c-teal);
}
.rv-trust {
  margin-top: var(--s-6);
  color: var(--c-ink-2);
}
.rv-checklist {
  flex-direction: column;
  margin-block: var(--s-5) var(--s-6);
  color: var(--c-ink);
}
.rv-checklist .icon {
  color: var(--c-accent-text);
}

/* meta chips under heroes */
.rv-metachips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2);
  margin-top: var(--s-5);
}
.rv-metachips__text,
.rv-metachips__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35em 0.85em;
  border-radius: var(--r-pill);
  background: var(--c-surface);
  border: 1px solid var(--c-rule);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-ink-2);
  line-height: 1.3;
}
.rv-metachips__link {
  color: var(--c-accent-text);
  text-decoration: none;
}
.rv-metachips__link:hover {
  border-color: var(--c-accent-line);
  text-decoration: none;
}
.rv-metachips .icon {
  color: var(--c-muted);
}
.rv-metachips__link .icon {
  color: inherit;
}

/* ----------------------------------------------------------------- heroes */
.rv-answer strong {
  color: var(--c-ink);
  font-weight: 650;
}
.rv-answer--wide {
  max-width: 78ch;
}

/* dark landing hero */
.rv-hero {
  padding-block: var(--s-8) var(--s-9);
  overflow: hidden;
}
.rv-hero__title {
  max-width: 15ch;
}
.page-hero--dark :is(h1, .display) em {
  color: var(--c-accent-text);
}
.rv-hero .page-hero__lead {
  max-width: 60ch;
}
.rv-hero .btn-row {
  margin-top: var(--s-6);
}
.rv-hero__art {
  position: relative;
}
.rv-hero__art .illustration {
  box-shadow: var(--shadow-lg);
}
.rv-hero__badge {
  position: absolute;
  left: var(--s-4);
  bottom: var(--s-4);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: calc(100% - var(--s-6));
  padding: 0.55em 1em;
  border-radius: var(--r-pill);
  background: var(--c-surface);
  border: 1px solid var(--c-rule);
  box-shadow: var(--shadow-md);
  color: var(--c-ink);
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.35;
}
.rv-hero__badge .icon {
  color: var(--c-accent-text);
}

/* Core .page-hero__grid has an implicit auto track below 1080px: long translated words would
   widen it beyond the viewport, so give it a shrinkable track on small screens. */
@media (max-width: 1079.98px) {
  .page-reviews .page-hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* light heroes with illustration (compare, rankings) */
.rv-lhero .page-hero__title {
  max-width: 20ch;
}
.rv-lhero__art .illustration {
  box-shadow: var(--shadow-md);
}
.rv-trust--light {
  margin-top: var(--s-5);
}
.rv-trust--light .icon {
  color: var(--c-accent-text);
}
.rv-cmp-title {
  max-width: none;
}
.rv-vs {
  font-size: 0.55em;
  font-weight: 600;
  color: var(--c-muted);
  vertical-align: middle;
  padding-inline: 0.15em;
}

/* --------------------------------------------------------- product cards */
.rv-pgrid {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}
.rv-pcard {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  padding: var(--s-5);
  background: var(--c-surface);
  border: 1px solid var(--c-rule);
  border-radius: var(--r-xl);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.rv-pcard:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--c-rule-strong);
  transform: translateY(-2px);
}
.rv-pcard__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-2) var(--s-3);
}
.rv-pcard__who {
  min-width: 0;
  flex: 1 1 10rem;
}
.rv-pcard__name {
  font-size: var(--fs-lg);
  line-height: 1.2;
}
.rv-pcard__name a {
  color: var(--c-ink);
  text-decoration: none;
}
.rv-pcard__name a:hover {
  color: var(--c-accent-text);
}
.rv-pcard__vendor {
  margin-top: 0.25rem;
  font-size: var(--fs-xs);
  color: var(--c-muted);
  line-height: 1.4;
}
.rv-pcard__score {
  /* Ring centred in the card, with the label and note centred below it. */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s-3) var(--s-4);
  padding: var(--s-4);
  border-radius: var(--r-lg);
  background: var(--c-surface-2);
}
.rv-pcard__scoretext {
  display: contents;
}
.rv-pcard__score .rv-ring {
  width: 136px;
  height: 136px;
}
.rv-pcard__score .rv-ring__value strong {
  font-size: 2.6rem;
}
.rv-pcard__scoretext > .rv-pcard__scoremeta {
  justify-content: center;
}
.rv-pcard__scorelabel {
  overflow-wrap: normal;
  font-size: var(--fs-sm);
  font-weight: 650;
  line-height: 1.3;
}
.rv-pcard__scoremeta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.6rem;
  font-size: var(--fs-xs);
  color: var(--c-muted);
  line-height: 1.4;
}
.rv-pcard__note {
  font-size: var(--fs-sm);
  color: var(--c-ink-2);
  line-height: 1.55;
}
.rv-pcard__sublabel {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-muted);
  margin-bottom: var(--s-2);
}
.rv-pcard__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 7.5rem), 1fr));
  gap: var(--s-3);
  margin-top: auto;
  padding-top: var(--s-4);
  border-top: var(--rule);
}
.rv-pcard__facts dt {
  font-size: var(--fs-2xs);
  font-weight: 600;
  color: var(--c-muted);
  line-height: 1.35;
  margin-bottom: 0.3rem;
}
.rv-pcard__facts dd {
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.rv-pcard__sub {
  display: block;
  font-size: var(--fs-2xs);
  font-weight: 500;
  color: var(--c-muted);
}
.rv-pcard__cta {
  width: 100%;
  white-space: normal;
  text-align: center;
}

/* ------------------------------------------------------------ stat band */
.rv-statband .section-head {
  margin-bottom: var(--s-6);
}
.rv-statband__list {
  list-style: none;
  display: grid;
  gap: var(--s-3);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr));
}
@media (min-width: 720px) {
  .rv-statband__list {
    gap: var(--s-4);
  }
}
.rv-statband__item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: var(--s-5);
  border-radius: var(--r-lg);
  background: color-mix(in srgb, var(--c-surface) 70%, transparent);
  border: 1px solid var(--c-rule);
}
.rv-statband__value {
  font-size: var(--fs-3xl);
  font-weight: 750;
  line-height: 1;
  letter-spacing: var(--tracking-display);
  font-variant-numeric: tabular-nums;
  color: var(--c-ink);
}
.rv-statband__label {
  margin-top: var(--s-2);
  font-weight: 650;
  color: var(--c-ink);
}
.rv-statband__note {
  font-size: var(--fs-sm);
  color: var(--c-muted);
  line-height: 1.45;
}

/* ------------------------------------------------------------ test areas */
.rv-areas {
  list-style: none;
  display: grid;
  gap: var(--s-4);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr));
}
.rv-area {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto auto 1fr;
  gap: var(--s-2) var(--s-4);
  align-content: start;
  padding: var(--s-5);
  background: var(--c-surface);
  border: 1px solid var(--c-rule);
  border-radius: var(--r-lg);
}
.rv-area__icon {
  grid-row: 1 / span 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--c-accent-soft);
  color: var(--c-accent-text);
}
.rv-area__title {
  font-size: var(--fs-md);
  line-height: 1.3;
}
.rv-area__text {
  color: var(--c-ink-2);
  font-size: var(--fs-sm);
  line-height: 1.6;
}
.rv-area__method {
  color: var(--c-muted);
  font-size: var(--fs-xs);
  line-height: 1.6;
}
.rv-area__label {
  font-weight: 650;
  color: var(--c-ink-2);
}
.rv-area__foot {
  grid-column: 2;
  align-self: end;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2) var(--s-4);
  margin-top: var(--s-2);
}
.rv-area__unit {
  display: inline-flex;
  padding: 0.35em 0.8em;
  border-radius: var(--r-pill);
  background: var(--c-surface-2);
  font-size: var(--fs-2xs);
  font-weight: 600;
  color: var(--c-ink-2);
  line-height: 1.35;
}
.rv-area__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: var(--fs-xs);
  font-weight: 650;
  text-decoration: none;
}
.rv-area__link:hover {
  text-decoration: none;
}
.rv-area__link .icon {
  transition: transform 0.15s;
}
.rv-area__link:hover .icon {
  transform: translateX(2px);
}

/* --------------------------------------------------------- feature rows */
.rv-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-6);
  align-items: center;
}
.rv-feature + .rv-feature {
  margin-top: var(--s-9);
}
.rv-feature__title {
  font-size: var(--fs-2xl);
  line-height: 1.1;
  max-width: 20ch;
}
.rv-feature__lead {
  margin-top: var(--s-4);
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--c-ink-2);
  max-width: 58ch;
}
.rv-feature__art .illustration {
  box-shadow: var(--shadow-sm);
}
.rv-steps {
  list-style: none;
  display: grid;
  gap: var(--s-4);
  margin-top: var(--s-6);
}
.rv-steps__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--s-4);
  align-items: start;
}
.rv-steps__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-accent);
  color: var(--c-accent-ink);
  font-weight: 700;
  font-size: var(--fs-sm);
}
.rv-steps__item strong {
  display: block;
  font-size: var(--fs-base);
}
.rv-steps__item span:not(.rv-steps__n) {
  display: block;
  margin-top: 0.15rem;
  font-size: var(--fs-sm);
  color: var(--c-ink-2);
  line-height: 1.55;
}
@media (min-width: 960px) {
  .rv-feature {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--s-8);
  }
  .rv-feature--reverse .rv-feature__text {
    order: 2;
  }
}

/* -------------------------------------------------------------- caveats */
.rv-caveats__heading {
  font-size: var(--fs-xl);
  margin-bottom: var(--s-5);
}
.rv-caveats {
  list-style: none;
  display: grid;
  gap: var(--s-4);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}
.rv-caveat {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-5);
  background: var(--c-surface);
  border: 1px solid var(--c-rule);
  border-radius: var(--r-lg);
}
.rv-caveat__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--c-accent-soft);
  color: var(--c-accent-text);
}
.rv-caveat--demo .rv-caveat__icon {
  background: var(--c-amber-soft);
  color: var(--c-amber-ink);
}
.rv-caveat__title {
  font-size: var(--fs-md);
  line-height: 1.3;
}
.rv-caveat p {
  font-size: var(--fs-sm);
  color: var(--c-ink-2);
  line-height: 1.6;
}

/* -------------------------------------------------------------- FAQ */
.rv-faq summary {
  align-items: center;
}
.rv-faq__q {
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.4;
  letter-spacing: 0;
}
.rv-faq details > p {
  line-height: 1.65;
}

/* ---------------------------------------------------------- CTA banner */
.rv-cta-wrap {
  padding-top: 0;
}
.section--soft + .rv-cta-wrap {
  padding-top: var(--section-y);
}
.rv-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-6);
  align-items: center;
  padding: var(--s-7) var(--s-6);
  border-radius: var(--r-xl);
  background:
    radial-gradient(60% 80% at 90% 0%, color-mix(in srgb, var(--c-glow) 40%, transparent), transparent 70%),
    radial-gradient(45% 70% at 0% 100%, color-mix(in srgb, var(--c-teal) 18%, transparent), transparent 70%),
    var(--c-band);
  overflow: hidden;
}
.rv-cta__title {
  font-size: var(--fs-2xl);
  line-height: 1.1;
  max-width: 22ch;
}
.rv-cta__lead {
  margin-top: var(--s-4);
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--c-ink-2);
  max-width: 60ch;
}
.rv-cta .btn--ghost {
  color: var(--c-ink);
}
.rv-cta .btn--ghost:hover {
  background: var(--c-surface-2);
}
.rv-cta__art {
  max-width: 420px;
  justify-self: center;
  width: 100%;
}
@media (min-width: 960px) {
  .rv-cta {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    padding: var(--s-8);
  }
  .rv-cta__art {
    justify-self: end;
  }
}

/* ======================================================== dossier page */
.rv-dhero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-6);
  align-items: start;
}
.rv-dhero__title {
  max-width: 22ch;
}
.rv-dhero__meta {
  margin-top: var(--s-7);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 960px) {
  .rv-dhero__meta {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 1080px) {
  .rv-dhero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    gap: var(--s-8);
  }
}

/* score summary card */
.rv-scorecard {
  display: grid;
  gap: var(--s-5);
  padding: var(--s-6);
  background: var(--c-surface);
  border: 1px solid var(--c-rule);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
}
.rv-scorecard__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-4) var(--s-5);
}
.rv-scorecard__head {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
  flex: 1 1 9rem;
}
.rv-scorecard__label {
  font-size: var(--fs-sm);
  font-weight: 650;
  color: var(--c-ink);
  line-height: 1.3;
}
.rv-scorecard__date,
.rv-scorecard__none {
  font-size: var(--fs-xs);
  color: var(--c-muted);
}
.rv-scorecard__none {
  font-size: var(--fs-md);
  font-weight: 650;
}
.rv-scorecard__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2) var(--s-3);
  padding-top: var(--s-4);
  border-top: var(--rule);
}
.rv-scorecard__more {
  font-size: var(--fs-xs);
  font-weight: 650;
}
.rv-scorecard__demo {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-md);
  background: var(--c-amber-soft);
  color: var(--c-amber-ink);
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.45;
}
.rv-scorecard__demo .icon {
  flex-shrink: 0;
}
.rv-scorecard__text {
  font-size: var(--fs-sm);
  color: var(--c-ink-2);
  line-height: 1.6;
}

/* dossier body */
.rv-dossier__main {
  min-width: 0;
}
.rv-dsec + .rv-dsec {
  margin-top: var(--s-9);
}
.rv-dsec .section-head {
  margin-bottom: var(--s-5);
}
.rv-dsec .section-head__title {
  font-size: var(--fs-xl);
  max-width: 30ch;
}
.rv-dsec .section-head__lead {
  font-size: var(--fs-base);
}
.rv-empty-block {
  padding: var(--s-5);
  border-radius: var(--r-lg);
  background: var(--c-surface-2);
  color: var(--c-ink-2);
  line-height: 1.6;
}
.rv-empty-block__title {
  font-weight: 650;
  color: var(--c-ink);
  margin-bottom: var(--s-2);
}

/* category score table */
.rv-bars th[scope='row'] {
  font-weight: 600;
}
.rv-bars .rv-bars__barcol {
  width: 40%;
  vertical-align: middle;
}
.rv-bars tbody td,
.rv-bars tfoot td {
  vertical-align: middle;
}
.rv-bars__score strong {
  font-size: var(--fs-md);
}
.rv-bars tfoot th,
.rv-bars tfoot td {
  background: var(--c-surface-2);
  border-top: var(--rule);
  font-weight: 700;
}

/* benchmark */
.rv-bench {
  margin-top: var(--s-7);
}
.rv-bench .rv-text {
  margin-bottom: var(--s-4);
}
.rv-metrics th[scope='row'] {
  font-weight: 550;
  min-width: 14rem;
}
.rv-metrics td:last-child {
  color: var(--c-muted);
  font-size: var(--fs-xs);
}

/* timeline */
.rv-timeline {
  list-style: none;
  position: relative;
  display: grid;
  gap: var(--s-4);
  padding-left: var(--s-6);
}
.rv-timeline::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  border-radius: var(--r-pill);
  background: var(--c-rule);
}
.rv-timeline__item {
  position: relative;
}
.rv-timeline__dot {
  position: absolute;
  left: calc(var(--s-6) * -1 + 2px);
  top: var(--s-5);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 0 4px var(--c-paper);
}
.rv-timeline__item.is-retracted .rv-timeline__dot {
  background: var(--c-danger);
}
.rv-timeline__card {
  display: grid;
  gap: var(--s-3);
  padding: var(--s-5);
  background: var(--c-surface);
  border: 1px solid var(--c-rule);
  border-radius: var(--r-lg);
}
.rv-timeline__item.is-retracted .rv-timeline__card {
  background: var(--c-surface-2);
}
.rv-timeline__when {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem var(--s-3);
  font-size: var(--fs-sm);
  font-weight: 650;
  color: var(--c-ink);
}
.rv-timeline__tested {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--c-muted);
}
.rv-timeline__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.rv-timeline__title {
  font-size: var(--fs-md);
  line-height: 1.35;
}
.rv-timeline__title a {
  color: var(--c-ink);
}
.rv-timeline__title a:hover {
  color: var(--c-accent-text);
}
.rv-timeline__item.is-retracted .rv-timeline__title a {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  color: var(--c-muted);
}
.rv-timeline__verdict,
.rv-timeline__retraction {
  font-size: var(--fs-sm);
  color: var(--c-ink-2);
  line-height: 1.6;
}
.rv-timeline__retraction {
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-md);
  background: var(--c-danger-soft);
}
.rv-timeline__retraction strong {
  color: var(--c-danger);
}
.rv-timeline__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  font-size: var(--fs-xs);
}
.rv-timeline__meta dt {
  color: var(--c-muted);
}
.rv-timeline__meta dd {
  font-weight: 600;
  color: var(--c-ink-2);
}

/* leak matrix tiles */
.rv-leakgrid {
  list-style: none;
  display: grid;
  gap: var(--s-4);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
}
.rv-leaktile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-5);
  background: var(--c-surface);
  border: 1px solid var(--c-rule);
  border-radius: var(--r-lg);
}
.rv-leaktile--pass {
  background: color-mix(in srgb, var(--c-success-soft) 55%, var(--c-surface));
}
.rv-leaktile--fail {
  background: color-mix(in srgb, var(--c-danger-soft) 55%, var(--c-surface));
}
.rv-leaktile--none {
  background: var(--c-surface-2);
  border-style: dashed;
}
.rv-leaktile__title {
  font-size: var(--fs-md);
  line-height: 1.3;
}
.rv-leaktile__src {
  display: grid;
  gap: 0.25rem;
  font-size: var(--fs-xs);
  line-height: 1.5;
}
.rv-leaktile__src .mono {
  font-weight: 600;
}
.rv-leaktile__ftitle {
  color: var(--c-ink-2);
}
.rv-leaktile__meta {
  display: grid;
  gap: 0.35rem;
  margin-top: auto;
  font-size: var(--fs-2xs);
}
.rv-leaktile__meta div {
  display: grid;
  gap: 0.1rem;
}
.rv-leaktile__meta dt {
  color: var(--c-muted);
  font-weight: 600;
}
.rv-leaktile__meta dd {
  color: var(--c-ink-2);
}

/* findings */
.rv-sevsummary {
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-lg);
  background: var(--c-surface-2);
  margin-bottom: var(--s-6);
}
.rv-fgroup + .rv-fgroup {
  margin-top: var(--s-6);
}
.rv-fgroup__head {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}
.rv-fgroup__title {
  font-size: var(--fs-lg);
}
.rv-fgroup__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding-inline: 0.5rem;
  border-radius: var(--r-pill);
  background: var(--c-surface-2);
  font-weight: 700;
  font-size: var(--fs-sm);
  font-variant-numeric: tabular-nums;
}
.rv-fgroup--open .rv-fgroup__count {
  background: var(--c-danger-soft);
  color: var(--c-danger);
}
.rv-fgroup--fixed .rv-fgroup__count {
  background: var(--c-success-soft);
  color: var(--c-success);
}
.rv-fgroup__lead {
  margin-top: var(--s-2);
  font-size: var(--fs-sm);
  color: var(--c-muted);
}
.rv-fgroup__none {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--s-4);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-pill);
  background: var(--c-success-soft);
  color: var(--c-success);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.rv-fgroup__more {
  margin-top: var(--s-4);
}
.rv-fgroup__more > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55em 1.1em;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-rule-strong);
  background: var(--c-surface);
  font-size: var(--fs-sm);
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}
.rv-fgroup__more > summary::-webkit-details-marker {
  display: none;
}
.rv-fgroup__more > summary::after {
  content: '+';
  font-weight: 500;
}
.rv-fgroup__more[open] > summary::after {
  content: '−';
}
.rv-fgroup__more > summary:hover {
  border-color: var(--c-accent-line);
}
.rv-findings {
  list-style: none;
  display: grid;
  gap: var(--s-3);
  margin-top: var(--s-4);
}
.rv-finding {
  display: grid;
  gap: var(--s-2);
  padding: var(--s-5);
  background: var(--c-surface);
  border: 1px solid var(--c-rule);
  border-radius: var(--r-lg);
}
.rv-finding__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.rv-finding__cvss {
  font-size: var(--fs-2xs);
  font-weight: 600;
  color: var(--c-muted);
  padding: 0.35em 0.65em;
  border-radius: var(--r-sm);
  background: var(--c-surface-2);
}
.rv-finding__title {
  font-size: var(--fs-base);
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: 0;
  text-wrap: pretty;
}
.rv-finding__title a {
  color: var(--c-ink);
}
.rv-finding__title a:hover {
  color: var(--c-accent-text);
}
.rv-finding__src {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem var(--s-3);
  font-size: var(--fs-xs);
  color: var(--c-muted);
}
.rv-finding__summary {
  font-size: var(--fs-sm);
  color: var(--c-ink-2);
  line-height: 1.6;
}
.rv-finding__retest {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-md);
  background: var(--c-success-soft);
  font-size: var(--fs-sm);
  line-height: 1.55;
}
.rv-finding__retest .icon {
  flex-shrink: 0;
  margin-top: 0.15em;
  color: var(--c-success);
}

/* versions & platforms */
.rv-vcard {
  padding: var(--s-5);
  background: var(--c-surface);
  border: 1px solid var(--c-rule);
  border-radius: var(--r-lg);
}
.rv-vcard__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: var(--s-3);
  border-radius: var(--r-md);
  background: var(--c-accent-soft);
  color: var(--c-accent-text);
}
.rv-vlist {
  list-style: none;
  display: grid;
  gap: var(--s-2);
}
.rv-vlist li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.3rem var(--s-3);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-md);
  background: var(--c-surface-2);
}
.rv-vlist__value {
  font-weight: 600;
  font-size: var(--fs-sm);
}
.rv-vlist__refs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.rv-vlist__refs a {
  font-size: var(--fs-2xs);
  font-weight: 600;
  padding: 0.25em 0.6em;
  border-radius: var(--r-sm);
  background: var(--c-surface);
  text-decoration: none;
}
.rv-vlist__refs a:hover {
  background: var(--c-accent-soft);
}

/* vendor responses */
.rv-vendors {
  list-style: none;
  display: grid;
  gap: var(--s-4);
}
.rv-vendor {
  display: grid;
  gap: var(--s-3);
  padding: var(--s-5);
  background: var(--c-surface);
  border: 1px solid var(--c-rule);
  border-radius: var(--r-lg);
}
.rv-vendor__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.rv-vendor__dates {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  font-size: var(--fs-xs);
}
.rv-vendor__dates div {
  display: flex;
  gap: 0.35rem;
}
.rv-vendor__dates dt {
  color: var(--c-muted);
}
.rv-vendor__dates dd {
  font-weight: 600;
}
.rv-vendor__summary {
  font-size: var(--fs-sm);
  color: var(--c-ink-2);
  line-height: 1.6;
}
.rv-vendor__statement {
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-md);
  background: var(--c-surface-2);
  font-size: var(--fs-sm);
  line-height: 1.65;
}
.rv-vendor__statement footer {
  margin-top: var(--s-2);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-muted);
}

/* callouts */
.rv-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3) var(--s-4);
  margin-top: var(--s-5);
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-lg);
  background: var(--c-accent-soft);
  font-size: var(--fs-sm);
  line-height: 1.55;
}
.rv-callout > p {
  flex: 1 1 16rem;
  color: var(--c-ink);
}
.rv-callout__icon {
  display: inline-flex;
  color: var(--c-accent-text);
}
.rv-callout--art {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4) var(--s-5);
  background: var(--c-surface-2);
}
.rv-callout--art p {
  margin-bottom: var(--s-3);
}
.rv-callout__art {
  max-width: 220px;
  border-radius: var(--r-lg);
}
@media (min-width: 640px) {
  .rv-callout--art {
    grid-template-columns: 160px minmax(0, 1fr);
  }
}

/* compare peers */
.rv-peerlist {
  list-style: none;
  display: grid;
  gap: var(--s-3);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}
.rv-peerlist a {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  height: 100%;
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-pill);
  background: var(--c-surface);
  border: 1px solid var(--c-rule);
  color: var(--c-ink);
  font-weight: 600;
  font-size: var(--fs-sm);
  line-height: 1.35;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.rv-peerlist a > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.rv-peerlist a:hover {
  border-color: var(--c-accent-line);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}
.rv-peerlist .icon {
  color: var(--c-accent-text);
}
.rv-peerlist__vs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 2.25rem;
  height: 2.25rem;
  padding-inline: 0.4rem;
  border-radius: 50%;
  background: var(--c-accent-soft);
  color: var(--c-accent-text);
  font-size: var(--fs-2xs);
  font-weight: 700;
}

/* cite */
.rv-cite {
  padding: var(--s-6);
  border-radius: var(--r-xl);
  background: var(--c-surface-2);
}
.rv-cite__title {
  font-size: var(--fs-xl);
}
.rv-cite__text {
  margin-block: var(--s-4);
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-md);
  background: var(--c-surface);
  border: 1px solid var(--c-rule);
  font-size: var(--fs-sm);
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.rv-cite__actions {
  gap: var(--s-3) var(--s-5);
}
.rv-cite .btn {
  white-space: normal;
}

/* sidebar */
.rv-dossier__aside {
  display: grid;
  gap: var(--s-5);
  align-content: start;
}
.rv-asidebox {
  display: grid;
  gap: var(--s-2);
  padding: var(--s-5);
  border-radius: var(--r-lg);
  background: var(--c-surface-2);
}
.rv-asidebox__label {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-muted);
}
.rv-asidebox__id {
  font-weight: 600;
  overflow-wrap: anywhere;
}
.rv-asidebox__counts {
  list-style: none;
  display: grid;
  gap: 0.2rem;
  margin-bottom: var(--s-2);
  font-size: var(--fs-sm);
  color: var(--c-ink-2);
}

/* ======================================================== compare page */
.rv-picker__set {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.rv-picker__legend {
  font-size: var(--fs-lg);
  font-weight: 700;
  padding: 0;
}
.rv-picker__hint {
  margin-top: var(--s-2);
  font-size: var(--fs-sm);
  color: var(--c-muted);
}
.rv-picker__list {
  list-style: none;
  display: grid;
  gap: var(--s-3);
  margin-top: var(--s-5);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}
.rv-picker__item {
  position: relative;
}
.rv-picker__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.rv-picker__label {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  height: 100%;
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-lg);
  border: 1.5px solid var(--c-rule-strong);
  background: var(--c-surface);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}
.rv-picker__label:hover {
  border-color: var(--c-accent-line);
}
.rv-picker__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 0.1rem;
  border-radius: var(--r-xs);
  border: 1.5px solid var(--c-rule-strong);
  background: var(--c-surface);
  color: transparent;
}
.rv-picker__body {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
  flex: 1;
}
.rv-picker__name {
  font-weight: 650;
  line-height: 1.3;
}
.rv-picker__meta {
  display: block;
  font-size: var(--fs-xs);
  color: var(--c-muted);
  line-height: 1.45;
}
.rv-picker__meta strong {
  color: var(--c-ink);
}
.rv-picker__demo {
  flex-shrink: 0;
  padding: 0.25em 0.6em;
  border-radius: var(--r-pill);
  background: var(--c-amber-soft);
  color: var(--c-amber-ink);
  font-size: var(--fs-2xs);
  font-weight: 650;
}
.rv-picker__input:checked + .rv-picker__label {
  border-color: var(--c-accent-line);
  background: var(--c-accent-soft);
}
.rv-picker__input:checked + .rv-picker__label .rv-picker__check {
  background: var(--c-accent);
  border-color: var(--c-accent-line);
  color: var(--c-accent-ink);
}
.rv-picker__input:focus-visible + .rv-picker__label {
  outline: var(--focus);
  outline-offset: 2px;
}
.rv-picker__input:disabled + .rv-picker__label {
  opacity: 0.5;
  cursor: not-allowed;
}
.rv-picker__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3) var(--s-5);
  margin-top: var(--s-6);
}
.rv-picker__actions .btn {
  white-space: normal;
}
.rv-picker__status {
  font-size: var(--fs-sm);
  color: var(--c-muted);
}

/* how comparisons work */
.rv-howcards {
  list-style: none;
}
.rv-howcard {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-4) var(--s-4) var(--s-6);
  background: var(--c-surface);
  border: 1px solid var(--c-rule);
  border-radius: var(--r-xl);
}
.rv-howcard__art {
  margin-bottom: var(--s-2);
}
.rv-howcard__art .illustration {
  border-radius: var(--r-lg);
}
.rv-howcard__title,
.rv-howcard p {
  padding-inline: var(--s-2);
}
.rv-howcard__title {
  font-size: var(--fs-lg);
}
.rv-howcard p {
  font-size: var(--fs-sm);
  color: var(--c-ink-2);
  line-height: 1.6;
}

/* comparison table */
@media (min-width: 720px) {
  .rv-cmp {
    table-layout: fixed;
  }
  .rv-cmp__corner {
    width: 22%;
  }
}
.rv-cmp th,
.rv-cmp td {
  vertical-align: middle;
}
.rv-cmp thead th {
  font-size: var(--fs-base);
  color: var(--c-ink);
  background: var(--c-surface);
  white-space: normal;
  vertical-align: top;
  padding-block: var(--s-5);
}
.rv-cmp__corner {
  background: var(--c-surface);
}
.rv-cmp__product {
  display: block;
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1.25;
}
.rv-cmp__demo {
  display: block;
  margin-top: var(--s-2);
}
.rv-cmp__open {
  display: inline-block;
  margin-top: var(--s-2);
  font-size: var(--fs-xs);
  font-weight: 600;
}
.rv-cmp__grouprow th {
  background: var(--c-surface-2);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-ink);
  padding-block: 0.7rem;
}
.rv-cmp tbody th[scope='row'] {
  font-weight: 600;
  color: var(--c-ink-2);
  min-width: 10rem;
}
.rv-cmp tbody td {
  min-width: 12rem;
}
.rv-cmp .rv-bar {
  margin-top: 0.4rem;
  max-width: 14rem;
}
.rv-cmp__num {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.rv-cmp__src {
  display: block;
  margin-top: 0.35rem;
  font-size: var(--fs-2xs);
}
.rv-cmp .sev-bar-wrap {
  max-width: 16rem;
}

/* ======================================================= rankings page */
.rv-sortbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-6);
}
.rv-sortbar__label {
  font-size: var(--fs-sm);
  font-weight: 650;
  color: var(--c-ink-2);
}
.rv-sortbar ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}
.rv-filter {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.45em 1em;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-rule-strong);
  background: var(--c-surface);
  color: var(--c-ink);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: border-color 0.15s, background-color 0.15s;
}
.rv-filter:hover {
  border-color: var(--c-accent-line);
  text-decoration: none;
}
.rv-filter.is-active {
  background: var(--c-ink);
  border-color: var(--c-ink);
  color: var(--c-paper);
}
.rv-rankgroups {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-8);
}
.rv-rankgroup__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
}
.rv-rankgroup__title {
  font-size: var(--fs-xl);
}
.rv-rankgroup__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}
.rv-rankgroup__meta .rv-chip {
  background: var(--c-surface);
  border: 1px solid var(--c-rule);
}
.rv-rank th,
.rv-rank td {
  vertical-align: middle;
}
.rv-rank thead th {
  vertical-align: bottom;
  white-space: normal;
}
.rv-sort {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: inherit;
  font-weight: 650;
  text-decoration: none;
}
.rv-sort:hover {
  color: var(--c-accent-text);
  text-decoration: none;
}
.rv-sort.is-active {
  color: var(--c-accent-text);
}
.rv-rank__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--c-accent-soft);
  color: var(--c-accent-text);
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.rv-rank tbody tr:first-child .rv-rank__n {
  background: var(--c-accent);
  color: var(--c-accent-ink);
}
.rv-rank__product a {
  display: block;
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--c-ink);
}
.rv-rank__product a:hover {
  color: var(--c-accent-text);
}
.rv-rank__vendor {
  display: block;
  margin-block: 0.15rem 0.4rem;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--c-muted);
}
.rv-rank__overall {
  min-width: 8rem;
}
.rv-rank__overall .rv-bar,
.rv-rank__cat .rv-bar {
  margin-top: 0.4rem;
  max-width: 9rem;
}
.rv-rank__cat {
  min-width: 6.5rem;
}
.rv-rank__date {
  min-width: 7.5rem;
}
.rv-rank td.is-sorted {
  background: color-mix(in srgb, var(--c-accent-soft) 55%, transparent);
}

.rv-unranked {
  list-style: none;
  display: grid;
  gap: var(--s-3);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}
.rv-unranked__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-2);
  padding: var(--s-5);
  background: var(--c-surface);
  border: 1px solid var(--c-rule);
  border-radius: var(--r-lg);
}
.rv-unranked__name {
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--c-ink);
}
.rv-unranked__meta {
  font-size: var(--fs-sm);
  color: var(--c-muted);
}

/* ==================================================== responsive tables */
/* Stack tables into cards on small screens; labels come from data-label. */
@media (max-width: 719px) {
  .rv-stack thead,
  .rv-rank thead,
  .rv-cmp thead .rv-cmp__corner {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .rv-stack,
  .rv-stack tbody,
  .rv-stack tr,
  .rv-stack th,
  .rv-stack td,
  .rv-rank,
  .rv-rank tbody,
  .rv-rank tr,
  .rv-rank th,
  .rv-rank td,
  .rv-cmp,
  .rv-cmp tbody,
  .rv-cmp tr,
  .rv-cmp th,
  .rv-cmp td {
    display: block;
    width: 100%;
    min-width: 0;
  }
  .rv-stack caption,
  .rv-rank caption,
  .rv-cmp caption {
    display: block;
  }
  .rv-stack tbody tr,
  .rv-rank tbody tr,
  .rv-cmp tbody tr:not(.rv-cmp__grouprow) {
    padding: var(--s-4) var(--s-5);
    border-top: var(--rule);
  }
  .rv-stack tbody tr:hover,
  .rv-rank tbody tr:hover,
  .rv-cmp tbody tr:hover {
    background: transparent;
  }
  .rv-stack th,
  .rv-stack td,
  .rv-rank th,
  .rv-rank td,
  .rv-cmp tbody th,
  .rv-cmp tbody td {
    padding: 0.3rem 0;
    border: 0;
    text-align: left;
  }
  .data-table:is(.rv-stack, .rv-rank, .rv-cmp) :is(td, th).num {
    text-align: left;
  }
  .rv-stack td[data-label],
  .rv-rank td[data-label],
  .rv-cmp tbody td[data-label] {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: var(--s-3);
    align-items: start;
  }
  .rv-stack td[data-label]::before,
  .rv-rank td[data-label]::before,
  .rv-cmp tbody td[data-label]::before {
    content: attr(data-label);
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--c-muted);
    line-height: 1.45;
    padding-top: 0.15rem;
  }
  .rv-cell {
    min-width: 0;
  }
  .rv-rank .rv-cell,
  .rv-cmp .rv-cell {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem 0.75rem;
  }
  .rv-rank .rv-cell > .rv-bar,
  .rv-cmp .rv-cell > .rv-bar {
    flex: 1 1 4rem;
    margin-top: 0;
  }
  .rv-cmp .rv-cell > :is(.rv-sub, .rv-cmp__src, .rv-chips, .rv-plainlist, .sev-bar-wrap, .rv-cmp__overall) {
    flex-basis: 100%;
    margin-top: 0;
  }
  .rv-cmp .rv-cmp__grouprow th {
    padding: var(--s-3) var(--s-5);
  }
  .rv-stack tbody th[scope='row'],
  .rv-rank tbody th[scope='row'],
  .rv-cmp tbody th[scope='row'] {
    font-size: var(--fs-base);
    font-weight: 700;
    color: var(--c-ink);
    padding-bottom: var(--s-2);
  }
  .rv-cmp thead tr {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-2);
    padding: var(--s-4) var(--s-5) 0;
  }
  .rv-cmp thead th {
    flex: 1 1 8rem;
    padding: var(--s-3) var(--s-4);
    border-radius: var(--r-md);
    background: var(--c-surface-2);
    border: 0;
  }
  .rv-cmp__grouprow th {
    margin-top: var(--s-2);
    padding: var(--s-3) var(--s-5);
    border-top: var(--rule);
  }
  .rv-rank td.rv-rank__pos {
    position: absolute;
    right: var(--s-5);
    top: var(--s-4);
    width: auto;
    padding: 0;
  }
  .rv-rank tbody tr {
    position: relative;
    padding-right: calc(var(--s-5) + 3rem);
  }
  .rv-rank td.is-sorted {
    background: transparent;
  }
  .rv-metrics th[scope='row'] {
    min-width: 0;
  }
  .rv-bars .rv-bars__barcol {
    width: 30%;
  }
  .rv-bars th,
  .rv-bars td {
    padding-inline: 0.7rem;
  }
}

/* ============================================================== print */
@media print {
  .rv-hero__art,
  .rv-lhero__art,
  .rv-feature__art,
  .rv-cta__art,
  .rv-howcard__art,
  .rv-callout__art,
  .rv-hero__badge,
  .rv-picker,
  .rv-sortbar,
  .rv-pcard__cta,
  .rv-dossier__aside,
  .rv-cite__actions,
  .rv-cta .btn-row {
    display: none !important;
  }
  .rv-cta,
  .rv-statband__item,
  .rv-scorecard {
    background: var(--c-paper) !important;
    color: var(--c-ink) !important;
    border: 1px solid var(--c-rule-strong);
    box-shadow: none !important;
  }
  .rv-pcard,
  .rv-leaktile,
  .rv-finding,
  .rv-timeline__card,
  .rv-caveat,
  .rv-area {
    break-inside: avoid;
    box-shadow: none !important;
    transform: none !important;
  }
  .rv-bar {
    border: 1px solid var(--c-rule-strong);
  }
  .rv-bar__fill {
    background: var(--c-ink) !important;
  }
  .rv-ring__fill {
    stroke: var(--c-ink);
  }
}

/* Empty states (no published records yet): readable text width, centred actions. */
.page-reviews .empty-state > p {
  max-width: 60ch;
}
.rv-empty__actions {
  justify-content: center;
}

/* Vendor logos: the vendor's own site icon, shown for identification only. */
.rv-pcard__logo {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  background: #fff;
}
.rv-pcard__head:has(.rv-pcard__logo) {
  align-items: center;
}
.rv-dhero__logo {
  display: block;
  width: 64px;
  height: 64px;
  margin-bottom: var(--s-3);
  border-radius: 16px;
  object-fit: cover;
  background: #fff;
}
.rv-rank__logo {
  float: left;
  width: 32px;
  height: 32px;
  margin: 0.15rem 0.65rem 0 0;
  border-radius: 8px;
  object-fit: cover;
  background: #fff;
}
