/* ==================================================================
   errorHandle color layer (style/elegant-color, 16 Nov 2026)

   Loaded after style.css by functions.php. Everything here is color,
   shadow and one decorative wash: no layout, no fonts, no images.
   Built from the tokens in style.css plus four new ones below.
   Remove the enqueue in functions.php and the site is back to
   exactly what it was.

   Not touched on purpose: the customer flows (.eh-flow-*, Automations,
   Subscriptions, Account, bill pages) beyond shared links, and every
   form. Text contrast checked against WCAG AA.
   ================================================================== */
:root{
  --eh-violet-deep:#3A22B8;   /* hover/pressed, and the dark end of gradients */
  --eh-lavender:#F6F4FF;      /* tinted panels */
  --eh-indigo-tint:#EEF2FF;   /* the cool second tint */
  --eh-grad:linear-gradient(135deg,#5B3EE8 0%,#7C5CF6 100%);
  --eh-grad-deep:linear-gradient(135deg,#3A22B8 0%,#5B3EE8 100%);
  --eh-grad-ink:linear-gradient(135deg,#15121F 0%,#2B1F66 100%);
  --eh-shadow-violet:0 1px 2px rgba(21,18,31,.04),0 22px 48px -30px rgba(58,34,184,.42);
  /* A lighter, slightly warmer ground than #EAE8F2, so the page reads
     as lavender paper rather than grey. White panels still separate. */
  --eh-ground:#F1EFF8;
}

/* --- links ------------------------------------------------------- */
body a{text-decoration-color:rgba(91,62,232,.35);text-underline-offset:.18em}
body a:hover{color:var(--eh-violet-deep);text-decoration-color:currentColor}

/* --- header: a hairline of the brand gradient along its foot ------ */
body .eh-head{
  border-bottom:0;
  background:var(--eh-grad) left bottom/100% 2px no-repeat, var(--eh-paper);
  box-shadow:0 6px 24px -18px rgba(58,34,184,.35);
}
body .eh-cta{background:var(--eh-grad-ink);box-shadow:0 6px 16px -10px rgba(43,31,102,.7)}
body .eh-cta:hover{background:var(--eh-grad-deep)}

/* --- hero: the violet wash, back -----------------------------------
   style.css draws a wash on .eh-hero, then a later rule makes every
   unpainted section transparent and wins, so it never showed. This
   puts it back with two soft blurred shapes behind the content. */
body .eh-sec.eh-hero{
  position:relative;isolation:isolate;overflow:hidden;
  background:
    radial-gradient(60rem 26rem at 8% -10%, #E9E3FF 0%, rgba(233,227,255,0) 62%),
    radial-gradient(44rem 22rem at 100% 0%, var(--eh-indigo-tint) 0%, rgba(238,242,255,0) 60%),
    linear-gradient(180deg,#FBFAFF 0%,var(--eh-paper) 100%);
  border-bottom:1px solid var(--eh-line);
}
body .eh-sec.eh-hero::before,
body .eh-sec.eh-hero::after{
  content:"";position:absolute;z-index:-1;border-radius:50%;pointer-events:none;
  filter:blur(60px);opacity:.55;
}
body .eh-sec.eh-hero::before{
  width:26rem;height:26rem;right:-6rem;top:-8rem;
  background:radial-gradient(circle,#B9A8FF 0%,rgba(185,168,255,0) 70%);
}
body .eh-sec.eh-hero::after{
  width:20rem;height:20rem;right:22%;bottom:-12rem;
  background:radial-gradient(circle,#A5B4FC 0%,rgba(165,180,252,0) 70%);
  opacity:.4;
}
@media (max-width:767px){
  body .eh-sec.eh-hero::before{width:16rem;height:16rem;right:-7rem;top:-6rem}
  body .eh-sec.eh-hero::after{display:none}
}
/* The main heading fades from ink into deep violet. Both ends are
   dark enough for AA on the wash (ink 17:1, #3A22B8 9.6:1). */
body .eh-hero h1.elementor-heading-title{
  background:linear-gradient(100deg,#15121F 0%,#2B1F66 55%,#3A22B8 100%);
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;color:#15121F;
}
/* A short gradient rule under it, the accent the eye lands on. */
body .eh-hero .elementor-widget-heading:has(h1)::after{
  content:"";display:block;width:4.5rem;height:4px;border-radius:4px;
  margin-top:.7rem;background:var(--eh-grad);
}

/* --- eyebrow labels: a short gradient dash in front ---------------- */
body .eh-kicker .elementor-heading-title::before,
body .eh-eyebrow::before{
  content:"";display:inline-block;vertical-align:middle;
  width:1.4rem;height:2px;border-radius:2px;margin:-.15em .55rem 0 0;
  background:var(--eh-grad);
}

/* --- sections: white and lavender alternate ------------------------
   .eh-soft stays white; .eh-tint becomes a lavender panel, so a run
   of white panels no longer blurs into one. */
body .eh-sec.eh-tint{background:linear-gradient(180deg,var(--eh-lavender) 0%,#FFFFFF 100%)}
body .eh-sec.eh-tint-violet{background:linear-gradient(180deg,#EFEAFF 0%,#FFFFFF 100%)}
body .eh-sec.eh-inhouse{background:linear-gradient(135deg,#F1EDFF 0%,var(--eh-indigo-tint) 55%,#EAF9F4 100%)}
body .eh-sec.eh-clients-band{background:linear-gradient(180deg,var(--eh-indigo-tint) 0%,var(--eh-lavender) 100%)}

/* --- cards: a gradient cap, a violet-tinted shadow ------------------ */
body .eh-cards .elementor-widget-wrap{
  background:var(--eh-grad) top/100% 3px no-repeat, var(--eh-paper);
  box-shadow:var(--eh-shadow-violet);
}
@media (prefers-reduced-motion:no-preference){
  body .eh-cards .elementor-column:hover .elementor-widget-wrap{
    transform:translateY(-3px);
    border-color:#D9D1F5;
    box-shadow:0 1px 2px rgba(21,18,31,.05),0 30px 60px -30px rgba(58,34,184,.5);
  }
}
body .eh-cards .elementor-icon{box-shadow:inset 0 0 0 1px rgba(91,62,232,.08)}
body .eh-vendors .elementor-widget-image,
body .eh-carousel .swiper-slide-inner{box-shadow:0 10px 26px -20px rgba(58,34,184,.45)}

/* --- buttons ---------------------------------------------------------
   Order of weight: "Book a free demo" (bright gradient + glow) >
   other primary buttons (ink-to-indigo) > secondary (violet outline). */
body .elementor-button-wrapper .elementor-button{
  background:var(--eh-grad-ink);
  box-shadow:0 8px 20px -14px rgba(43,31,102,.8);
}
body .elementor-button-wrapper .elementor-button:hover{background:var(--eh-grad-deep);color:#fff}
@media (prefers-reduced-motion:no-preference){
  body .elementor-button-wrapper .elementor-button{transition:background .2s ease, box-shadow .2s ease, transform .15s ease}
  body .elementor-button-wrapper .elementor-button:hover{transform:translateY(-1px)}
}
/* the second button in a row is the quieter one */
body .elementor-widget-button + .elementor-widget-button .elementor-button,
body .elementor-button.elementor-size-md.elementor-button-info{
  background:transparent;color:var(--eh-violet-deep);
  box-shadow:inset 0 0 0 1.5px var(--eh-violet);
}
body .elementor-widget-button + .elementor-widget-button .elementor-button:hover,
body .elementor-button.elementor-size-md.elementor-button-info:hover{
  background:var(--eh-violet-soft);color:var(--eh-violet-deep);
  box-shadow:inset 0 0 0 1.5px var(--eh-violet-deep);
}
/* cards keep their pill links, on white bands keep white buttons */
body .eh-cards .elementor-widget-button .elementor-button{background:transparent;box-shadow:inset 0 0 0 1px #DCD2FA;transform:none}
body .eh-cards .elementor-widget-button .elementor-button:hover{background:var(--eh-violet);color:#fff;box-shadow:inset 0 0 0 1px var(--eh-violet)}
body .eh-band .elementor-button,
body .eh-feature .elementor-button{background:#FFFFFF;color:#15121F;box-shadow:0 10px 26px -14px rgba(0,0,0,.55)}
body .eh-band .elementor-button:hover,
body .eh-feature .elementor-button:hover{background:var(--eh-lavender);color:var(--eh-violet-deep)}

/* The demo strip and its phone sticky bar. These come from an HTML
   widget with its own <style>, so the selectors match its weight. */
body .ehkh .quick{
  background:linear-gradient(135deg,#F7F5FF 0%,var(--eh-indigo-tint) 100%);
  border:1.5px solid rgba(91,62,232,.55);
  box-shadow:0 18px 40px -30px rgba(58,34,184,.55);
}
body .ehkh .quick .btn.p,
body .ehkh-sticky a{
  background:var(--eh-grad);color:#fff;
  box-shadow:0 10px 24px -10px rgba(91,62,232,.75);
}
body .ehkh .quick .btn.p:hover,
body .ehkh-sticky a:hover{background:var(--eh-grad-deep);color:#fff}
body .nf-form-cont input[type=submit]{background:var(--eh-grad);box-shadow:0 10px 24px -14px rgba(91,62,232,.8)}
body .nf-form-cont input[type=submit]:hover{background:var(--eh-grad-deep)}

/* --- the dark closing band: a little more violet in the glow -------- */
body .eh-sec.eh-band{
  background:
    radial-gradient(50rem 24rem at 85% 120%, rgba(124,92,255,.45) 0%, rgba(124,92,255,0) 60%),
    radial-gradient(30rem 18rem at 0% -20%, rgba(91,62,232,.30) 0%, rgba(91,62,232,0) 60%),
    #15121F;
}

/* --- related links: pills with a violet edge ------------------------ */
body .eh-more a{background:var(--eh-paper);border-color:#DCD2FA}
body .eh-more a:hover{background:var(--eh-violet-soft);border-color:var(--eh-violet);color:var(--eh-violet-deep)}

/* --- footer: deep ink into indigo, light text -----------------------
   Contrast on the darkest/lightest end of the gradient:
   links #D6D1EA 12:1+, headings #A99CF0 6.8:1+, base #A6A0C0 6.6:1+. */
body .eh-foot{
  background:
    radial-gradient(40rem 20rem at 100% 0%, rgba(124,92,255,.22) 0%, rgba(124,92,255,0) 60%),
    linear-gradient(160deg,#15121F 0%,#1E1745 100%);
  border-top:0;
  color:#D6D1EA;
  position:relative;
  /* style.css spaces the footer off with margin-top, which left an empty
     strip of page background above it. The dark footer marks its own edge. */
  margin-top:0;
}
body .eh-foot::before{
  content:"";position:absolute;left:0;right:0;top:0;height:3px;background:var(--eh-grad);
}
body .eh-foot h4{color:#A99CF0}
body .eh-foot p,
body .eh-foot a{color:#D6D1EA}
body .eh-foot a:hover{color:#FFFFFF;text-decoration:underline;text-decoration-color:#8B7BFF}
body .eh-foot strong,body .eh-foot b{color:#FFFFFF}
body .eh-foot-base{border-top-color:rgba(255,255,255,.12);color:#A6A0C0}
body .eh-foot-base a{color:#A6A0C0}
body .eh-foot-base a:hover{color:#FFFFFF}
