/* Redux brand foundation, shared by redux.co and redux.cloud.
   Keep sites/redux-co/assets/redux-brand.css and sites/redux-cloud/assets/redux-brand.css identical
   (tests/brand-foundation.test.cjs checks this). Page stylesheets build on these tokens. */
:root {
  --rx-navy: #0B1D3A;
  --rx-navy-2: #132B52;
  --rx-cream: #F5F1EB;
  --rx-paper: #FDFCFA;
  --rx-gold: #C4A265;        /* parent accent, on navy */
  --rx-gold-deep: #A8853F;   /* parent accent, on cream */
  --rx-sage: #8BA888;        /* Managed Teams accent, on navy */
  --rx-sage-deep: #6E8C6B;   /* Managed Teams accent, on cream */
  --rx-blue: #2563EB;        /* Cloud and Security accent */
  --rx-serif: 'DM Serif Display', Georgia, serif;
  --rx-sans: 'Outfit', -apple-system, sans-serif;
}

/* Scroll reveals: content stays visible unless a script has marked the page. */
.js-reveal .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease, transform 0.5s ease; }
.js-reveal .reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  .hero, .hero * { animation: none !important; }
}

/* "The Redux family" row in dark footers */
.rx-family { max-width: 1200px; margin: 0 auto; padding: 1.1rem 0; display: flex; align-items: center; gap: 1rem 1.6rem; flex-wrap: wrap; border-bottom: 1px solid rgba(255,255,255,0.06); }
.rx-family-label { display: inline-flex; align-items: center; gap: 0.6rem; color: rgba(255,255,255,0.35); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; }
.rx-family a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.82rem; font-weight: 500; transition: color 0.2s; }
.rx-family a:hover, .rx-family a[aria-current="page"] { color: rgba(255,255,255,0.9); }
.rx-family a:focus-visible { outline: 2px solid var(--rx-gold); outline-offset: 3px; }

/* One section rhythm on every page: 5rem 3rem on desktop (set in each page's stylesheet), 3.5rem 1.5rem on phones.
   Compact service pages keep their own, more specific .service-page rules. */
@media (max-width: 768px) {
  body :is(.services-section, .included-section, .pricing-section, .faq-section, .cta-section,
      .roles-section, .how-section, .value-section, .team-strip, .case-section, .about-section) { padding: 3.5rem 1.5rem; }
}

/* Closing contact band, the same on every page: one "Book a call" button, then an optional email route. */
.cta-section .btn-primary.rx-book { background: var(--rx-cream); color: var(--rx-navy); }
.cta-section .btn-primary.rx-book:hover { background: #FFFFFF; }
.rx-cta-or { margin: 1.4rem auto 0.9rem; max-width: 460px; color: rgba(245,241,235,0.68); font-size: 0.92rem; line-height: 1.55; }
.cta-form .btn-primary.btn-quiet { background: transparent; color: #FFFFFF; border: 1.5px solid rgba(255,255,255,0.35); white-space: nowrap; }
.cta-form .btn-primary.btn-quiet:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); }
