/* ReadeCommerce warm cream, charcoal and muted gold brand palette. */
:root {
  --ink: #292929;
  --white: #F6F1E7;
  --paper: #F6F1E7;
  --charcoal: #292929;
  --signal: #B89B5E;
  --line: rgba(41, 41, 41, 0.14);
  --line-dark: rgba(41, 41, 41, 0.16);
  color-scheme: light;
}

html,
body {
  background-color: #F6F1E7;
  color: #292929;
}

body {
  background-color: #F6F1E7 !important;
  color: #292929 !important;
}

.nav {
  background: rgba(246, 241, 231, 0.96) !important;
  border-bottom-color: rgba(41, 41, 41, 0.14) !important;
  color: #292929 !important;
}

.logo,
.nav .logo,
footer .logo {
  color: #292929 !important;
}

.logo .light,
.nav .logo .light,
footer .logo .light {
  color: #B89B5E !important;
  font-weight: 500;
  opacity: 1;
}

/* Keep the main content areas on the warm cream canvas. */
.hero,
.dark,
.final-cta,
.article-cta,
.contact-panel,
footer,
.mobile-menu,
.stat-carousel .stat,
.contact-channels-wide .contact-channel {
  background: #F6F1E7 !important;
  border-color: rgba(41, 41, 41, 0.16) !important;
  color: #292929 !important;
}

.hero *,
.dark *,
.final-cta *,
.article-cta *,
.contact-panel *,
footer *,
.mobile-menu *,
.stat-carousel .stat *,
.contact-channels-wide .contact-channel * {
  color: #292929 !important;
}

/* Give the hero's image/video a soft cream veil so charcoal headlines stay legible. */
.hero-bg {
  background:
    radial-gradient(ellipse 60% 50% at 78% 18%, rgba(184, 155, 94, 0.12), transparent 60%),
    radial-gradient(ellipse 50% 60% at 15% 85%, rgba(184, 155, 94, 0.07), transparent 60%),
    linear-gradient(180deg, rgba(246, 241, 231, 0.72) 0%, rgba(246, 241, 231, 0.9) 56%, #F6F1E7 100%) !important;
}

.hero-grid {
  background-image:
    linear-gradient(rgba(41, 41, 41, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 41, 41, 0.035) 1px, transparent 1px) !important;
}

.final-cta::before {
  background: radial-gradient(ellipse 70% 60% at 80% 20%, rgba(184, 155, 94, 0.13), transparent 60%) !important;
}

.btn-primary {
  background: #B89B5E !important;
  border-color: #B89B5E !important;
  color: #292929 !important;
}

.btn-primary:hover {
  background: #292929 !important;
  border-color: #292929 !important;
  color: #F6F1E7 !important;
}

.process-bg {
  background: #B89B5E !important;
}

.process-item:hover .process-title {
  color: #292929 !important;
}

:focus-visible {
  outline-color: #B89B5E;
}

/* Homepage stats strip (section 04): black panels with clear white metrics. */
section.section-pad.dark[data-sec="04"] {
  background: #000000 !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #FFFFFF !important;
}

section.section-pad.dark[data-sec="04"] * {
  color: #FFFFFF !important;
}

section.section-pad.dark[data-sec="04"] .stat-carousel {
  background: #000000 !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
}

section.section-pad.dark[data-sec="04"] .stat-carousel .stat {
  background: #000000 !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Homepage 09 — Insights panel: black surface, white copy and subtle dividers. */
#insights {
  background: #000000 !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #FFFFFF !important;
}

#insights * {
  color: #FFFFFF !important;
}

#insights .insight-grid,
#insights .insight-card {
  background: #000000 !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

#insights .btn-ghost {
  border-color: rgba(255, 255, 255, 0.5) !important;
  color: #FFFFFF !important;
}

#insights .btn-ghost:hover {
  background: #FFFFFF !important;
  border-color: #FFFFFF !important;
  color: #000000 !important;
}

#insights .btn-ghost:hover * {
  color: #000000 !important;
}

/* Black footer across all routes; keep the wordmark's COMMERCE half gold. */
footer {
  background: #000000 !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #FFFFFF !important;
}

footer * {
  color: #FFFFFF !important;
}

footer .logo {
  color: #FFFFFF !important;
}

footer .logo .light {
  color: #B89B5E !important;
}

footer .foot-top,
footer .foot-bottom {
  border-color: rgba(255, 255, 255, 0.22) !important;
}

footer .to-top {
  border-color: rgba(255, 255, 255, 0.45) !important;
}

footer a:hover {
  color: #B89B5E !important;
}

footer .to-top:hover {
  background: #B89B5E !important;
  border-color: #B89B5E !important;
  color: #000000 !important;
}
