/* XP24: one accent for the public pages. */
:root { --xp-brand: #ff5100; }

:root .op-preview .hero h1 {
  font-size: clamp(42px, min(4.85vw, 8.6svh), 72px);
  line-height: 1.02;
}
@media (min-width: 701px) and (max-height: 600px) {
  :root .op-preview .hero h1 { font-size: clamp(36px, 8.4svh, 50px); }
}
@media (max-width: 700px) {
  :root .op-preview .hero h1 { font-size: clamp(30px, 10.8vw, 44px); line-height: 1.02; }
}

:root :is(.hero-deadline, .hero h1 sup, .hero .promise, .section-title em, .tool-hero h1 em,
  .ce-title-question, .ce-stat > strong, .ce-trust > strong, .step-top > span,
  #tools-heading em, #faq-heading em,
  .brand-strip b, .closing-star, .pd-brand-star, .logo span) {
  color: var(--xp-brand);
  -webkit-text-fill-color: currentColor;
}
:root :is(.main-cta, .nav-cta, .ce-cta, .xc-link, .ed-cta, .closing-cta, .tool-primary, .contact-plan,
  .ph-featured .ph-button, .pd-mobile-max .pd-button, .pd-featured .pd-button, .plan-featured .plan-button) {
  background: var(--xp-brand) !important;
  border-color: var(--xp-brand) !important;
  color: #fff !important;
  font-size: 19px;
  font-weight: 700;
}
:root :is(.main-cta, .nav-cta, .ce-cta, .xc-link, .ed-cta, .closing-cta, .tool-primary, .contact-plan,
  .ph-featured .ph-button, .pd-mobile-max .pd-button, .pd-featured .pd-button, .plan-featured .plan-button):hover {
  box-shadow: 0 7px 20px rgb(255 81 0 / .2);
}
:root :is(.ph-offer:not(.ph-featured) .ph-button, .pd-mobile-card:not(.pd-mobile-max) .pd-button) {
  background: #fff;
  border-color: var(--xp-brand);
  color: #20201d;
}
:root :is(.hero .interest, .ph-interest, .ed-badge) {
  border-color: var(--xp-brand);
  color: #20201d !important;
}
:root :is(.ph-offer.ph-featured, .pd-mobile-max, .pd-mobile-pro) { border-color: var(--xp-brand); }
:root :is(.ph-ribbon, .pd-brand-pro, .pd-brand-max) { background: var(--xp-brand) !important; color: #20201d; }
:root :is(.showcase-dots button.active, .xc-dot.is-active)::before,
:root .showcase-dots button.active::after { background: var(--xp-brand); }
:root :is(.ce-connections, .ce-connections path, .cv-graph-line) { stroke: var(--xp-brand); }
:root .ce-connections circle { fill: var(--xp-brand); }

:root .hero .interest { color: var(--xp-brand); font-size: 19px; font-weight: 700; }

@media (min-width: 1200px) {
  :root .op-preview .hero h1 { width: min(110%, 580px); max-width: none; }
}
@media (min-width: 701px) and (max-width: 900px) {
  :root .op-preview .hero h1 { font-size: clamp(36px, 5.5vw, 48px); }
}
@media (max-width: 700px) and (max-height: 700px) {
  :root .op-preview .hero > .hero-visual {
    width: min(78vw, max(148px, calc((100svh - 500px) * 1.55))) !important;
  }
}
@media (max-width: 360px) and (max-height: 620px) {
  :root .op-preview .hero > .hero-visual { width: min(52vw, max(128px, calc((100svh - 480px) * 1.5))) !important; }
  :root .op-preview .hero .main-cta { margin-top: 3px; }
}

:root .hero .interest { color: var(--xp-brand) !important; }

:root :is(#tools-heading, #faq-heading) em {
  color: var(--xp-brand) !important;
  -webkit-text-fill-color: var(--xp-brand) !important;
}
:root #xc-slide-analytics svg circle { fill: var(--xp-brand); }
:root #xc-slide-analytics i[style*="--source-color:#ff5400"] { --source-color: var(--xp-brand) !important; }
:root #xc-slide-analytics i[style*="--source-color:#ff822a"] { --source-color: color-mix(in srgb, var(--xp-brand) 72%, #fff) !important; }
:root #xc-slide-analytics i[style*="--source-color:#ffb078"] { --source-color: color-mix(in srgb, var(--xp-brand) 49%, #fff) !important; }

@media (min-width: 1024px) {
  :root :is(.pricing-home-approved .ph-featured .ph-button, .main-cta, .xc-link,
    .closing-cta, .ce-cta, .header nav .nav-cta) {
    background: var(--xp-brand) !important;
    border-color: var(--xp-brand) !important;
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
  }

  :root .op-preview .hero > .hero-visual { translate: -32px 0; }
}

@media (min-width: 1200px) and (max-height: 600px) {
  :root .op-preview .hero > .hero-visual { translate: -56px 0; }
}

@media (min-width: 1024px) {
  :root .header nav .nav-cta { min-height: 40px; padding: 8px 16px; }
}

@media (min-width: 1200px) {
  :root .op-preview { --xp-home-width: clamp(1240px, 100vw - 240px, 1560px); }
  :root .op-preview .hero { max-width: var(--xp-home-width); }
  :root .op-preview .hero > .hero-copy { width: min(57%, 660px); }
  :root .op-preview .hero h1 {
    width: 100%;
    font-size: clamp(44px, 8.4svh, 52px);
  }
  :root .op-preview .hero h1 br { display: none; }
  :root .op-preview .hero h1 .hero-title-timing { white-space: nowrap; }
  :root .op-preview .hero .intro { max-width: 540px; }
  :root .op-preview .hero > .hero-visual {
    max-width: calc(620px + max(0px, 100vw - 1450px) * .6);
    translate: clamp(-56px, -12px - (100vw - 1536px) * .25, -12px) 0;
  }
}

@media (min-width: 1480px) {
  :root .op-preview .header { width: calc(var(--xp-home-width) - 100px); }
}

@media (min-width: 1200px) and (max-height: 600px) {
  :root .op-preview .hero > .hero-visual { translate: -56px 0; }
  :root .header { height: 58px; min-height: 58px; }
}

:root {
  --xp-section-title-size: clamp(38px, 3.6vw, 52px);
  --xp-section-title-ink: #070707;
}

:root .delivery-section { --xp-section-title-ink: #fff; }

:root :is(#ce-heading, #work-heading, #delivery-heading, #process-heading,
  #tools-heading, #pricing-heading, #about-heading, #faq-heading, #closing-heading) {
  color: var(--xp-section-title-ink);
  font-size: var(--xp-section-title-size);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1.04;
}

:root #ce-heading { white-space: normal; }
:root #ce-heading > span { font-size: inherit; line-height: inherit; }
:root #ce-heading > .ce-title-main { color: inherit; }

:root :is(#ce-heading > .ce-title-question, #work-heading > em, #delivery-heading > em,
  #process-heading > em, #tools-heading > em, #about-heading > em, #faq-heading > em,
  #closing-heading > span) {
  color: var(--xp-brand) !important;
  -webkit-text-fill-color: currentColor !important;
}

:root .ce-discovery .ce-stat > strong {
  display: inline-flex;
  align-items: baseline;
  gap: .08em;
  font-size: clamp(70px, 6.8vw, 102px);
}

:root .ce-discovery .ce-stat-missing > strong { font-size: clamp(64px, 6.2vw, 92px); }

:root .ce-discovery .ce-stat > strong > .ce-count {
  width: auto;
  min-width: 2ch;
  margin-inline-end: 0;
  letter-spacing: -.035em;
}

:root .ce-discovery .ce-stat > strong > span:last-child { letter-spacing: 0; }

@media (min-width: 801px) {
  :root main > .ce-discovery .ce-visual > img {
    width: 118%;
    max-height: clamp(335px, 35vw, 520px);
    flex-shrink: 0;
  }
}

@media (max-width: 700px) {
  :root { --xp-section-title-size: clamp(29px, 8vw, 38px); }
  :root .ce-discovery .ce-stat > strong { font-size: clamp(72px, 23vw, 100px); }
  :root .ce-discovery .ce-stat-missing > strong { font-size: clamp(62px, 20vw, 88px); }
}
