/* Research report components: byline, stat strip, city bars, comparison table,
   inline CTA card. Loaded after site.css and _sauce.css; premium.min.css still
   follows. Colours and spacing come from the site tokens, nothing new.
   Motion is one entrance on the bars (transform only) and a press scale on CTAs,
   both gated for reduced motion. */

.rmeta { margin: var(--s3) 0 var(--s4); color: var(--ink-invert-soft, #d3d9e0); }
.rmeta a { color: inherit; text-decoration: underline; text-underline-offset: .18em; }

.rstats > div { border-top: 2px solid var(--beacon); padding-top: var(--s3); }
.rstats .stat__n { font-size: var(--step-2); }

/* City bars: label, track, value. Bars scale from the left on transform. */
.rbars { list-style: none; margin: var(--s4) 0 var(--s5); padding: 0; display: grid; gap: var(--s2); max-width: var(--measure, 44rem); }
.rbars li { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) 3.25rem; align-items: center; gap: var(--s3); }
.rbars__n { font-family: var(--mono); font-size: var(--step--1); color: var(--ink); }
.rbars__track { display: block; height: .75rem; background: var(--beacon-wash, #e2eeec); border-radius: 999px; overflow: hidden; }
.rbars__bar { display: block; height: 100%; background: var(--beacon); border-radius: inherit; transform-origin: left center; transform: scaleX(var(--w, 1)); }
.rbars__v { font-family: var(--mono); font-size: var(--step--1); font-weight: 600; text-align: right; color: var(--beacon-lo, #0a5757); font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: no-preference) {
  .rbars__bar { animation: rbar-in 700ms cubic-bezier(.23, 1, .32, 1) both; }
  .rbars li:nth-child(2) .rbars__bar { animation-delay: 50ms; }
  .rbars li:nth-child(3) .rbars__bar { animation-delay: 100ms; }
  .rbars li:nth-child(4) .rbars__bar { animation-delay: 150ms; }
  .rbars li:nth-child(5) .rbars__bar { animation-delay: 200ms; }
  @keyframes rbar-in { from { transform: scaleX(0.04); } }
}

/* Comparison table: first column stays visible while the rest scrolls on phones. */
.rcompare th[scope="row"] { position: sticky; left: 0; background: #fff; z-index: 1; white-space: nowrap; }
.rcompare td, .rcompare th { font-variant-numeric: tabular-nums; }
.rcompare tbody tr:hover td, .rcompare tbody tr:hover th { background: var(--beacon-wash, #e2eeec); }

/* Inline CTA card */
.rcta { margin: var(--s5) 0 0; padding: var(--s4); background: #fff; border: 1px solid var(--rule-hard); border-radius: 8px; background: linear-gradient(180deg, var(--beacon-wash, #e2eeec), #fff 70%); max-width: var(--measure, 44rem); }
.rcta__eyebrow { margin: 0 0 var(--s2); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
.rcta__lead { margin: 0 0 var(--s3); font-weight: 600; color: var(--ink); }
.rcta .btn { transition: transform 160ms cubic-bezier(.23, 1, .32, 1), background-color 160ms ease; }
.rcta .btn:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .rcta .btn:hover { transform: translateY(-1px); } }

/* Bento tiles: one feature tile plus four. A real list; each tile is one link.
   Phones get one column in reading order. Hover only on fine pointers. */
.rbento { max-width: none; list-style: none; margin: var(--s4) 0 var(--s5); padding: 0; display: grid; gap: var(--s3); grid-template-columns: minmax(0, 1fr); grid-auto-flow: row dense; }
.rbento > li { margin: 0; max-width: none; min-width: 0; }
.rbento__t { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; min-height: 10rem; padding: var(--s4); background: #fff; border: 1px solid var(--rule-hard); border-radius: 14px; color: var(--ink); text-decoration: none; overflow: hidden; transition: transform 200ms cubic-bezier(.23, 1, .32, 1), box-shadow 200ms cubic-bezier(.23, 1, .32, 1); }
.rbento__t:active { transform: scale(.97); }
.rbento__t:focus-visible { outline: 2px solid var(--beacon); outline-offset: -6px; }
.rbento__k { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
.rbento__n { margin-top: var(--s2); font-family: var(--mono); font-size: var(--step-2); line-height: 1; font-weight: 600; white-space: nowrap; color: var(--beacon-lo, #0a5757); font-variant-numeric: tabular-nums; }
.rbento__d { margin-top: var(--s2); font-size: var(--step--1); line-height: 1.45; color: var(--ink); text-wrap: pretty; }
.rbento__go { margin-top: var(--s2); font-size: var(--step--1); font-weight: 600; color: var(--beacon-lo, #0a5757); }
.rbento__t--feature { background: #10161c; border-color: #10161c; min-height: 14rem; }
.rbento__t--feature .rbento__k, .rbento__t--feature .rbento__d { color: #d3d9e0; }
.rbento__t--feature .rbento__n { color: #7ed6d0; font-size: var(--step-3, 2.4rem); }
.rbento__t--feature .rbento__go { color: #7ed6d0; }
.rbento__t--wash { background: var(--beacon-wash, #e2eeec); }
@media (min-width: 640px) { .rbento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rbento__li--feature { grid-column: span 2; } }
@media (min-width: 1000px) { .rbento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(10rem, auto); } .rbento__li--feature { grid-column: span 2; grid-row: span 2; } }
@media (hover: hover) and (pointer: fine) { .rbento__t:hover { transform: translateY(-3px); box-shadow: 0 10px 24px -8px rgb(0 0 0 / .18); } }
@media (prefers-reduced-motion: reduce) { .rbento__t { transition: none; } }
