:root{
  --ec-warm-bg:#f6efe5;
  --ec-warm-bg-2:#efe4d3;
  --ec-warm-surface:#fffdfa;
  --ec-warm-surface-2:#f8f1e6;
  --ec-warm-border:rgba(101,67,44,.12);
  --ec-warm-border-strong:rgba(101,67,44,.2);
  --ec-warm-text:#2f2017;
  --ec-warm-text-soft:#6e5a49;
  --ec-warm-accent:#8c5d3b;
  --ec-warm-accent-2:#bf8552;
  --ec-warm-accent-3:#d4b38b;
  --ec-warm-shadow:0 18px 48px rgba(65,45,30,.08);
}

body.ec-home-refresh,
body.ec-market-refresh,
body.ec-about-refresh{
  color:var(--ec-warm-text) !important;
  background:
    radial-gradient(1000px 500px at 0% 0%, rgba(191,133,82,.16), transparent 44%),
    radial-gradient(850px 380px at 100% 0%, rgba(96,122,76,.08), transparent 40%),
    linear-gradient(180deg,#fbf7f1 0%, var(--ec-warm-bg) 48%, var(--ec-warm-bg-2) 100%) !important;
}

body.ec-home-refresh,
body.ec-market-refresh,
body.ec-about-refresh,
body.ec-home-refresh p,
body.ec-market-refresh p,
body.ec-about-refresh p,
body.ec-home-refresh li,
body.ec-market-refresh li,
body.ec-about-refresh li{
  color:var(--ec-warm-text-soft);
}

body.ec-home-refresh h1,
body.ec-home-refresh h2,
body.ec-home-refresh h3,
body.ec-home-refresh h4,
body.ec-market-refresh h1,
body.ec-market-refresh h2,
body.ec-market-refresh h3,
body.ec-market-refresh h4,
body.ec-about-refresh h1,
body.ec-about-refresh h2,
body.ec-about-refresh h3,
body.ec-about-refresh h4{
  color:var(--ec-warm-text) !important;
}

body.ec-home-refresh .nav,
body.ec-home-refresh .card,
body.ec-home-refresh .hero-card,
body.ec-home-refresh .hero-metric-card,
body.ec-home-refresh .marketplace-pulse,
body.ec-home-refresh .pulse-item,
body.ec-home-refresh .trust-stage,
body.ec-home-refresh .trust-side-card,
body.ec-home-refresh .trust-feature,
body.ec-home-refresh .supplier-upgrade-item,
body.ec-market-refresh header,
body.ec-market-refresh .hero,
body.ec-market-refresh .backend-warning,
body.ec-market-refresh .feed > div > div,
body.ec-market-refresh .card,
body.ec-market-refresh .modal,
body.ec-market-refresh .sheet,
body.ec-market-refresh .drawer,
body.ec-market-refresh .table-wrap,
body.ec-about-refresh .paper,
body.ec-about-refresh .card,
body.ec-about-refresh .story-image,
body.ec-about-refresh .journey-card,
body.ec-about-refresh .value-card,
body.ec-about-refresh .cta-band{
  background:linear-gradient(180deg, rgba(255,253,249,.96), rgba(248,241,230,.94)) !important;
  border-color:var(--ec-warm-border) !important;
  box-shadow:var(--ec-warm-shadow) !important;
}

body.ec-home-refresh .logo,
body.ec-market-refresh .brand .logo,
body.ec-about-refresh .logo{
  display:inline-flex;
  align-items:center;
  gap:12px;
  color:var(--ec-warm-text) !important;
  text-decoration:none;
}
body.ec-home-refresh .logo-image,
body.ec-market-refresh .logo-image,
body.ec-about-refresh .logo-image{
  width:46px;
  height:46px;
  object-fit:contain;
  border-radius:12px;
  background:rgba(255,255,255,.75);
  box-shadow:0 6px 18px rgba(54,38,26,.08);
}
body.ec-home-refresh .logo-copy,
body.ec-market-refresh .logo-copy,
body.ec-about-refresh .logo-copy{
  display:flex;
  flex-direction:column;
  min-width:0;
}
body.ec-home-refresh .logo-text,
body.ec-market-refresh .logo-text,
body.ec-about-refresh .logo-text{
  font-weight:800;
  letter-spacing:-.02em;
  line-height:1;
}
body.ec-home-refresh .logo-tagline,
body.ec-market-refresh .logo-tagline,
body.ec-about-refresh .logo-tagline{
  font-size:.74rem;
  line-height:1.2;
  color:var(--ec-warm-text-soft) !important;
}

body.ec-home-refresh .btn-primary,
body.ec-home-refresh .btn.primary,
body.ec-market-refresh .btn.primary,
body.ec-about-refresh .btn-primary{
  background:linear-gradient(135deg,var(--ec-warm-accent),var(--ec-warm-accent-2)) !important;
  border-color:rgba(100,65,41,.18) !important;
  color:#fff !important;
}
body.ec-home-refresh .btn-outline,
body.ec-home-refresh .btn-ghost,
body.ec-market-refresh .btn,
body.ec-about-refresh .btn-secondary,
body.ec-about-refresh .btn-ghost{
  border-color:var(--ec-warm-border-strong) !important;
}

body.ec-home-refresh .nav{
  background:rgba(255,251,246,.88) !important;
  border:1px solid var(--ec-warm-border) !important;
  box-shadow:0 16px 40px rgba(55,38,26,.07) !important;
}
body.ec-home-refresh .hero{
  background:
    radial-gradient(circle at top right, rgba(191,133,82,.16), transparent 32%),
    linear-gradient(180deg, rgba(255,253,249,.92), rgba(247,240,231,.92)) !important;
  border:1px solid var(--ec-warm-border) !important;
}
body.ec-home-refresh .hero-title-line:last-child{
  color:var(--ec-warm-accent) !important;
}
body.ec-home-refresh .hero-badge,
body.ec-home-refresh .hero-badge-item,
body.ec-home-refresh .fp-tag,
body.ec-home-refresh .pulse-tag,
body.ec-home-refresh .badge{
  background:rgba(255,248,239,.9) !important;
  color:var(--ec-warm-text) !important;
  border-color:var(--ec-warm-border) !important;
}

body.ec-market-refresh .ec-float-logo{display:none !important;}
body.ec-market-refresh header{
  position:sticky;
  top:0;
  z-index:60;
  backdrop-filter:blur(12px);
  background:rgba(255,250,245,.9) !important;
}
body.ec-market-refresh .topbar{
  align-items:center;
}
body.ec-market-refresh .brand{
  gap:16px;
}
body.ec-market-refresh .brand-text{display:flex;flex-direction:column;gap:4px;}
body.ec-market-refresh .brand-text > a{
  font:800 1.28rem/1 'Outfit',sans-serif !important;
  color:var(--ec-warm-text) !important;
}
body.ec-market-refresh .sub{color:var(--ec-warm-text-soft) !important;max-width:42ch;}
body.ec-market-refresh .hero{
  padding:34px 34px 28px !important;
  border-radius:28px;
  border:1px solid var(--ec-warm-border);
  background:
    radial-gradient(circle at top right, rgba(191,133,82,.15), transparent 28%),
    linear-gradient(180deg, rgba(255,253,249,.96), rgba(247,240,230,.94)) !important;
}
body.ec-market-refresh .hero h1{
  font-size:clamp(2rem, 4vw, 3.2rem);
  max-width:14ch;
  line-height:1.02;
}
body.ec-market-refresh .hero p{max-width:68ch;color:var(--ec-warm-text-soft) !important;}
body.ec-market-refresh #upgradeHub > div,
body.ec-market-refresh .feed > div{
  gap:18px !important;
}
body.ec-market-refresh #upgradeHub .chip,
body.ec-market-refresh .pill,
body.ec-market-refresh .kpi,
body.ec-market-refresh .status,
body.ec-market-refresh .badge{
  background:rgba(255,248,239,.9) !important;
  color:var(--ec-warm-text) !important;
  border-color:var(--ec-warm-border) !important;
}
body.ec-market-refresh .btn.danger{
  background:#fff5f2 !important;
  color:#8f3b34 !important;
  border-color:rgba(143,59,52,.18) !important;
}
body.ec-market-refresh .right{justify-content:flex-end;}

body.ec-about-refresh .wrap{margin:26px auto 44px !important;}
body.ec-about-refresh .paper{overflow:visible;}
body.ec-about-refresh .topnav{
  background:linear-gradient(180deg, rgba(255,251,246,.95), rgba(247,239,228,.95)) !important;
  color:var(--ec-warm-text) !important;
  border-bottom:1px solid var(--ec-warm-border);
}
body.ec-about-refresh .topnav .nav-links a,
body.ec-about-refresh .topnav .mobile-menu-toggle,
body.ec-about-refresh .topnav .close-drawer{
  color:var(--ec-warm-text) !important;
}
body.ec-about-refresh .mobile-menu-toggle,
body.ec-about-refresh .mobile-nav-drawer{
  background:rgba(255,251,246,.98) !important;
  border-color:var(--ec-warm-border) !important;
  color:var(--ec-warm-text) !important;
}
body.ec-about-refresh .hero{
  min-height:unset;
  border-top:1px solid var(--ec-warm-border);
  background:
    linear-gradient(90deg, rgba(60,39,27,.58), rgba(60,39,27,.34)),
    url('/images/coffee-farmer-hero.jpg') center/cover no-repeat,
    linear-gradient(180deg, #8c5d3b 0%, #5b3924 100%) !important;
}
body.ec-about-refresh .hero::before{
  background:linear-gradient(135deg, rgba(212,179,139,.15), transparent 45%) !important;
}
body.ec-about-refresh .hero h1,
body.ec-about-refresh .hero p,
body.ec-about-refresh .eyebrow,
body.ec-about-refresh .hero-stat strong,
body.ec-about-refresh .hero-stat span,
body.ec-about-refresh .hero-stat small{
  color:#fff8f1 !important;
}
body.ec-about-refresh .hero-stat{
  background:rgba(255,250,244,.14) !important;
  border-color:rgba(255,250,244,.18) !important;
  backdrop-filter:blur(6px);
}
body.ec-about-refresh .section-sub,
body.ec-about-refresh .journey-info p,
body.ec-about-refresh .story-card p{color:var(--ec-warm-text-soft) !important;}
body.ec-about-refresh .story-image{
  background:
    linear-gradient(135deg, rgba(81,49,31,.92), rgba(140,92,58,.9)),
    radial-gradient(circle at top right, rgba(255,255,255,.12), transparent 42%) !important;
  color:#fff8f1 !important;
}
body.ec-about-refresh .story-image p,
body.ec-about-refresh .story-image h3,
body.ec-about-refresh .story-image .offer-price,
body.ec-about-refresh .story-image .countdown-timer{color:#fff8f1 !important;}
body.ec-about-refresh .promo-badge,
body.ec-about-refresh .badge-light{
  background:rgba(255,248,239,.9) !important;
  color:var(--ec-warm-text) !important;
}
body.ec-about-refresh .journey-img{background-color:#e7d8c4;}

@media (max-width: 900px){
  body.ec-market-refresh .hero h1{max-width:100%;}
}
@media (max-width: 768px){
  body.ec-market-refresh .right{justify-content:flex-start;}
  body.ec-about-refresh .topnav{padding:16px 18px !important;}
  body.ec-about-refresh .hero{background-position:center top !important;}
}
