/* Your IT & Tech Mates — A0019178 Local Trust theme + contrast repair
   Semantic, accessible colour tokens. Homepage-only overrides. */
:root{
  --yitm-bg:#f7fafc;
  --yitm-surface:#ffffff;
  --yitm-surface-soft:#eef5f7;
  --yitm-ink:#10233f;
  --yitm-muted:#526579;
  --yitm-navy:#0b2947;
  --yitm-navy-soft:#143b5d;
  --yitm-teal:#0f766e;
  --yitm-teal-soft:#e4f4f1;
  --yitm-blue:#1467c3;
  --yitm-border:#d5e1e8;
  --yitm-dark-text:#f8fbff;
  --yitm-dark-muted:#d7e5f2;
  --yitm-shadow:0 12px 32px rgba(16,35,63,.08);
}

/* Light homepage surfaces: guarantee dark readable text. */
#business-system,
#business-system .home-business-funnel__copy,
#business-system .home-business-funnel__benefits article,
#business-system .home-business-funnel__visual,
.home-intent-proof-cluster,
.home-intent-proof-card{
  color:var(--yitm-ink)!important;
}

#business-system{
  background:var(--yitm-bg)!important;
}
#business-system h2,
#business-system h3,
#business-system strong{
  color:var(--yitm-ink)!important;
}
#business-system p,
#business-system .home-business-funnel__lede,
#business-system .home-business-funnel__note{
  color:var(--yitm-muted)!important;
}
#business-system .home-business-funnel__benefits article{
  background:var(--yitm-surface)!important;
  border-color:var(--yitm-border)!important;
  box-shadow:0 6px 20px rgba(16,35,63,.045);
}

/* Repair the pale workflow card shown in the user's screenshot. */
#business-system .home-business-funnel__visual{
  background:linear-gradient(180deg,#f2f8f8 0%,#edf4f6 100%)!important;
  border:1px solid #c6d8df!important;
  box-shadow:var(--yitm-shadow)!important;
}
#business-system .home-business-funnel__visual .home-business-funnel__label{
  display:block;
  color:#0b5f59!important;
  background:var(--yitm-teal-soft)!important;
  border:1px solid #9dcfc8!important;
  border-radius:999px;
  padding:8px 12px;
  font-weight:800;
  letter-spacing:.02em;
}
#business-system .home-business-funnel__visual li{
  color:var(--yitm-ink)!important;
}
#business-system .home-business-funnel__visual li strong{
  color:var(--yitm-ink)!important;
  font-weight:800!important;
}
#business-system .home-business-funnel__visual li span{
  color:var(--yitm-muted)!important;
}
#business-system .home-business-funnel__visual li b{
  background:var(--yitm-navy)!important;
  color:#fff!important;
  box-shadow:0 0 0 4px rgba(15,118,110,.08);
}

/* Eyebrow on light surfaces uses teal, not washed-out blue. */
#business-system .eyebrow,
.home-intent-proof-cluster .eyebrow{
  color:#0b5f59!important;
  background:var(--yitm-teal-soft)!important;
  border-color:#abd5cf!important;
}

/* Proof cards: crisp white cards, readable secondary copy. */
.home-intent-proof-cluster{
  background:linear-gradient(180deg,#f8fbfc 0%,#eef5f7 100%)!important;
  border-color:var(--yitm-border)!important;
}
.home-intent-proof-card{
  background:var(--yitm-surface)!important;
  border-color:var(--yitm-border)!important;
  box-shadow:0 8px 26px rgba(16,35,63,.065)!important;
}
.home-intent-proof-card span{
  color:#415f78!important;
}
.home-intent-proof-card strong{
  color:var(--yitm-ink)!important;
}

/* Static dark FAQ keeps intentional dark-mode contrast. */
.yitm-static-faq-a0019176{
  background:var(--yitm-navy)!important;
  color:var(--yitm-dark-text)!important;
}
.yitm-static-faq-a0019176__head h2,
.yitm-static-faq-a0019176__grid h3{
  color:var(--yitm-dark-text)!important;
}
.yitm-static-faq-a0019176__head p,
.yitm-static-faq-a0019176__grid p,
.yitm-static-faq-a0019176__links{
  color:var(--yitm-dark-muted)!important;
}
.yitm-static-faq-a0019176__grid article{
  background:rgba(255,255,255,.065)!important;
  border-color:rgba(255,255,255,.18)!important;
}
.yitm-static-faq-a0019176 a{
  color:#ffffff!important;
}

/* Buttons/links: consistent interaction colour and stronger focus state. */
body[data-yitm-design-mode="home"] a:not(.btn):focus-visible,
body[data-yitm-design-mode="home"] button:focus-visible,
body[data-yitm-design-mode="home"] input:focus-visible,
body[data-yitm-design-mode="home"] textarea:focus-visible,
body[data-yitm-design-mode="home"] select:focus-visible{
  outline:3px solid #2f86d7!important;
  outline-offset:3px!important;
}
body[data-yitm-design-mode="home"] .btn-primary{
  background:var(--yitm-teal)!important;
  border-color:var(--yitm-teal)!important;
  color:#fff!important;
}
body[data-yitm-design-mode="home"] .btn-primary:hover,
body[data-yitm-design-mode="home"] .btn-primary:focus-visible{
  background:#0b625c!important;
  border-color:#0b625c!important;
}
body[data-yitm-design-mode="home"] .btn-secondary{
  color:var(--yitm-ink)!important;
}

@media (prefers-reduced-motion: reduce){
  body[data-yitm-design-mode="home"] *,
  body[data-yitm-design-mode="home"] *::before,
  body[data-yitm-design-mode="home"] *::after{
    scroll-behavior:auto!important;
    transition-duration:.01ms!important;
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
  }
}
