/* ═══════════════════════════════════════════════════════════════════
   web-uplift.css — site-wide visual uplift for web.roi-edge.com
   Loaded AFTER each page's own <style>, so equal-specificity rules here
   win the cascade. Keep this file additive and low-risk: typography,
   states and finishing touches only — no layout changes.
   ═══════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,700;12..96,800&display=swap');

/* ── Typography: pair a display face with DM Sans body ──
   The site set headings and body in the same family; headings now carry
   Bricolage Grotesque (clamped to 800 where pages ask for 900). */
h1, h2, .cs-h1, .price-main, .hero h1 {
  font-family: 'Bricolage Grotesque', 'DM Sans', system-ui, sans-serif;
  font-optical-sizing: auto;
  letter-spacing: -0.035em;
}
h2 { text-wrap: balance; }
h3 { letter-spacing: -0.02em; }

/* Numbers that sit in columns or stat strips shouldn't wobble */
.res-val, .ba-stat-val, .work-name, .stat-val, [data-counter] {
  font-variant-numeric: tabular-nums;
}

/* ── Brand text selection ── */
::selection { background: #d2fe3a; color: #0b1d6e; }

/* ── Keyboard focus, everywhere (audit: present on 18/57 pages) ──
   #6aa8ff reads on both the white pages and the navy/dark pages. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #6aa8ff !important;
  outline-offset: 2px;
}

/* ── Finishing touches ── */
html { scrollbar-color: rgba(11, 29, 110, 0.35) transparent; }

/* Respect reduced motion across every page's animations */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
