/* Results2Go: shared skin for the supporting pages (/os, /audit, /demo and the
   legal pages), loaded LAST on each so it wins the cascade. It re-tokens the
   two older families of styles to the homepage's world and restyles the bar,
   buttons and footer to match. Page logic and layout are untouched. */

/* ---- tokens: the site.css family (legal pages) ---------------------------- */
:root {
  --background: #07090d; --surface: #0e131b;
  --surface-container: #0e131b; --surface-container-high: #141b27; --featured-fill: #141b27;
  --on-surface: #eef2f7; --on-surface-variant: #9aa7ba;
  --outline: #6b7890; --outline-variant: #252d3d;
  --accent-cyan: #6fb5ff;
  --f-head: "Outfit", system-ui, sans-serif; --f-body: "Outfit", system-ui, sans-serif; --f-label: "Outfit", system-ui, sans-serif;
  /* the inline family (/os, /audit, /demo) */
  --bg: #07090d; --accent-blue: #6fb5ff;
  --grad: #6fb5ff; --grad-hover: #8fc6ff;
  --text: #eef2f7; --muted: #9aa7ba; --faint: #7c889c;
  --glass: #0e131b; --glass-strong: #141b27; --panel: #0b0f16; --raise: #141b27;
  --line: rgba(158, 170, 190, .16); --line-2: rgba(158, 170, 190, .10);
  --warn: #ffb95c; --good: #6fb5ff; --green: #5ccb8f;
  --r2g-ink: #eef2f7; --r2g-canvas: #07090d; --r2g-accent: #6fb5ff; --r2g-hair: rgba(238, 242, 247, .12);
}
html { background: #07090d; }
body { background: #07090d; color: #eef2f7; font-family: "Outfit", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
body::before, body::after { display: none !important; }
h1, h2, h3, h4, .legal-head h1, .legal-body h2, .legal-body h3, .lede h1, .hero h1, .close-cta h2, .how h2, .site-foot h4, .footer h4 { font-family: "Outfit", system-ui, sans-serif !important; color: #eef2f7; }
body, p, li, a, button, input, .lede, .legal-body { font-family: "Outfit", system-ui, sans-serif; }
h1, h2 { font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; }
h3 { font-weight: 600; letter-spacing: -0.015em; }
::selection { background: #6fb5ff; color: #07090d; }
:focus-visible { outline: 2px solid #6fb5ff; outline-offset: 3px; }
a { text-decoration-thickness: 1px; text-underline-offset: 0.22em; }

/* ---- the bar --------------------------------------------------------------- */
.nav, .audit-nav, .os-nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(7, 9, 13, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--r2g-hair); box-shadow: none;
}
.nav-inner, .audit-nav-inner, .os-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.nav-logo, .audit-nav-logo, .os-nav-logo { background: transparent; padding: 0; border-radius: 0; }
.nav-logo img, img.audit-nav-logo, img.os-nav-logo { width: clamp(118px, 12vw, 150px); height: auto; padding: 0; background: transparent; }
.nav-links a, .audit-nav-links a:not(.audit-nav-cta), .os-nav-links a:not(.os-nav-cta) {
  font-family: "Outfit", system-ui, sans-serif; font-size: 0.95rem; font-weight: 500; letter-spacing: 0;
  color: #9aa7ba; text-transform: none; padding: 0.4rem 0;
}
.nav-links a:hover, .audit-nav-links a:not(.audit-nav-cta):hover, .os-nav-links a:not(.os-nav-cta):hover { color: #eef2f7; }
.audit-nav-links a[aria-current="page"] { color: #eef2f7; }
.nav-cta, .audit-nav-cta, .os-nav-cta, .nav-mobile .btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.75rem; padding: 0 1.15rem; margin: 0;
  border-radius: 999px; border: 0;
  background: #eef2f7 !important; color: #07090d !important;
  font-family: "Outfit", system-ui, sans-serif; font-size: 0.9rem; font-weight: 600; letter-spacing: 0.01em; text-transform: none; text-decoration: none;
  box-shadow: 0 2px 4px rgba(2, 6, 14, .24);
  transition: background 160ms cubic-bezier(.23, 1, .32, 1), transform 160ms cubic-bezier(.23, 1, .32, 1);
}
.nav-cta:hover, .audit-nav-cta:hover, .os-nav-cta:hover, .nav-mobile .btn-primary:hover { background: #fff !important; color: #07090d !important; }
.nav-cta:active, .audit-nav-cta:active, .os-nav-cta:active { transform: translateY(1px); }
.nav-burger span { background: #eef2f7; }
.nav-mobile { background: #0e131b; border-bottom: 1px solid var(--r2g-hair); }
.nav-mobile a { color: #eef2f7; font-family: "Outfit", system-ui, sans-serif; }

/* ---- buttons in the page ------------------------------------------------------ */
.btn, .btn-primary, .cta-btn {
  font-family: "Outfit", system-ui, sans-serif; font-weight: 600; letter-spacing: 0.01em; text-transform: none;
  border-radius: 999px; border: 0; min-height: 3rem; padding: 0 1.4rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  transition: background 160ms cubic-bezier(.23, 1, .32, 1), transform 160ms cubic-bezier(.23, 1, .32, 1);
}
.btn-primary, .cta-btn { background: #6fb5ff !important; color: #07090d !important; box-shadow: 0 2px 4px rgba(2, 6, 14, .24); }
.btn-primary:hover:not(:disabled), .cta-btn:hover { background: #8fc6ff !important; color: #07090d !important; transform: none; }
.btn-primary:active, .cta-btn:active { transform: translateY(1px); }
.btn-primary::before, .btn-primary::after { display: none !important; }
.btn-primary > span { color: inherit; }
.btn-secondary, .btn-ghost { background: transparent; color: #eef2f7; border: 1px solid var(--r2g-hair); }
.btn-secondary:hover, .btn-ghost:hover { background: rgba(238, 242, 247, .06); }
.btn-primary:disabled { opacity: .45; }

/* ---- labels, rules, links ------------------------------------------------------ */
.kicker, .how .kicker, .hero .meta, .livebar .lab, .eyebrow { color: #6fb5ff; font-family: "Outfit", system-ui, sans-serif; letter-spacing: 0.08em; }
.accent-bar { background: #6fb5ff; height: 2px; }
.legal-body a, .how a, .panel a, p a { color: #eef2f7; text-decoration: underline; text-decoration-color: rgba(111, 181, 255, .7); text-underline-offset: 0.3em; }
.legal-body a:hover, p a:hover { text-decoration-color: #6fb5ff; }
.legal-back { color: #9aa7ba; }
.legal-back:hover { color: #eef2f7; }
.legal-body p, .legal-body li { color: #b9c2d2; }
.legal-body h2 { color: #eef2f7; }
.legal-updated { color: #7c889c; }

/* ---- panels on the tool pages ------------------------------------------------- */
.panel, .gate, .results, .livebar, .field input { background: #0e131b; border-color: var(--r2g-hair); box-shadow: none; }
.field input { color: #eef2f7; }
.field input:focus { border-color: #6fb5ff; box-shadow: 0 0 0 3px rgba(111, 181, 255, .18); }
.field input::placeholder { color: #7c889c; }
.results .big::before { display: none; }
.results .big .stat-num { color: #6fb5ff; font-family: "Outfit", system-ui, sans-serif; font-weight: 700; letter-spacing: -0.03em; }
input[type="range"] { accent-color: #6fb5ff; }
.hero .c, .close-cta { background: transparent; }
.close-cta { border-top: 1px solid var(--r2g-hair); }

/* ---- footer -------------------------------------------------------------------- */
.site-foot, .footer { background: #07090d; border-top: 1px solid var(--r2g-hair); color: #9aa7ba; }
.site-foot h4, .footer h4 { font-family: "Outfit", system-ui, sans-serif; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: #7c889c; font-weight: 600; }
.site-foot ul a, .footer ul a, .foot-bottom a, .footer-bottom a { color: #9aa7ba; text-decoration: none; }
.site-foot ul a:hover, .footer ul a:hover, .foot-bottom a:hover, .footer-bottom a:hover { color: #eef2f7; }
.foot-brand img, .footer-brand img, .footer-logo-img { width: 110px; height: auto; opacity: .85; background: transparent; padding: 0; }
.foot-brand p, .footer-brand p { color: #9aa7ba; }
.foot-bottom, .footer-bottom { border-top: 1px solid var(--r2g-hair); color: #7c889c; }

/* ---- /os specifics: the dashboard keeps its density; only chrome and accent change */
.os-nav-cta { color: #07090d !important; }
