/* ============================================================
   BRAND PALETTE COMPLIANCE + WCAG 2.2 AA
   Authority: 01 - Brand & Guidelines/Brand Board/Brand-DNA-Trust-Care-v1.md

   The previous version of this file introduced #C43D28, #057978,
   #9FCECD and #90A8B0 to pass contrast. Every one of those breaks
   the Palette Discipline Rules:

     "Do not introduce: new accent colours, no alternate teal
      hexes, no off-spec coral."

   They were also unnecessary. The Brand DNA already specifies the
   accessible answer:

     Trust Teal  #057F7E  "primary CTA fills ... dominant colour"
     Trust Coral #FD5F4C  "accent CTAs, highlights ... Never as a
                           background block - too high-energy for
                           healthcare."
     80/15/5              "Coral is a punctuation mark, never a
                           paragraph."

   White on Trust Teal is 4.83:1 and passes AA outright, so a teal
   primary CTA is both on-brand and accessible with no new hex and
   no type change.

   Measured pairs, brand palette only:
     white on teal   4.83   white on navy      7.81
     navy on white   7.75   navy on sand       6.82
     teal on white   4.79   navy on mint       7.13
     coral on white  3.01 = large text only, accent use only
   ============================================================ */

/* ---- primary CTA: Trust Teal fill, white label (DNA: "primary CTA fills") */
a.btn.btn-book,
a.btn.btn-book:link,
a.btn.btn-book:visited,
.hero-cta a.btn.btn-book,
.svc-promo .btn{background:var(--teal)!important;color:#fff!important}
a.btn.btn-book:hover,
.hero-cta a.btn.btn-book:hover,
header a.btn.btn-book:hover{background:var(--navy)!important}

/* ---- secondary CTA: outlined, teal type. Keeps the hierarchy without
        making a second colour compete with the primary action */
.tc-phone-pill{
  background:#fff!important;color:var(--teal)!important;
  border:1.5px solid rgba(5,127,126,.42);
}
.tc-phone-pill:hover{background:var(--teal)!important;color:#fff!important}

/* ---- coral is punctuation, not a paragraph and not a block ------------
        A filled card is a background block, so the alternating card on a
        teal band becomes a paper card with navy type. Coral survives as
        the rule above the title. */
.svc-card-fill{background:#fff!important;border-color:transparent!important}
.svc-card-fill h3{color:var(--navy)!important}
.svc-card-fill p{color:var(--muted)!important}
.svc-card-fill::before{
  content:"";display:block;width:34px;height:3px;background:var(--coral);
  border-radius:2px;margin-bottom:14px;
}

/* ---- small text never carries coral: 3.01 on white, 2.65 on sand ------
        Trust Navy is the in-palette answer and clears every ground */
.tc-menu > li > a,
.svc-kicker,
.post-next-meta,
.tc-post-card .more,
.svc-promo .eyb,
.svc-promo p,
.sec-head .kicker,
.kicker{color:var(--navy)}
.tc-menu > li > a:hover,
.tc-menu > li > a:focus-visible,
.tc-menu > li.fx > a{color:#fff}

/* the coral accent bar stays coral: it is a shape, not type */
.kicker .bar,.svc-sechead::after{background:var(--coral)}
.svc-kick::before{background:var(--coral)}

/* ---- text on a dark ground is white, not Soft Teal (3.50 fails) ------- */
.loc-fact .k,
.tc-quote cite,
.svc-bandhead .svc-kicker,
.cta .kicker,
.sec.cta .kicker,
section.cta .kicker,
.sec.why .kicker,
.marquee .track .item,
.marquee .track .item.hot,
div.marquee span.item,
.tc-quote .svc-kicker,
.svc-band .svc-kicker,
.loc-facts .svc-kicker{color:#fff}
.tc-foot-disc,
.sec.cta .wrap .small,
.sec.cta .small{color:rgba(255,255,255,.88)}

/* ---- teal type on a tinted ground is 4.22 / 4.41: use navy for small --- */
.svc-crumbs a,
.util-rail a.on,
.util-rail a:hover,
.svc-deck,
.svc-sechead .svc-deck{color:var(--navy)}
/* numerals on a white card: teal on white is 4.79 and passes */
.svc-steps .svc-step-n{color:var(--teal)}
/* numerals on SAND: teal is 4.22 and coral 2.65, both fail even at size.
   Trust Navy on sand is 6.82 and is the in-palette answer. */
.proc-step .n,
.welcome-media .badge b,
.stat .num .val,
.stat .num .suf{color:var(--navy)}

/* links in running copy: teal on white is 4.79 and passes */
.svc-prose a,.tc-prose a,.tc-sub a{color:var(--teal)}

/* the light-ground heroes carry dark copy and a light-ground button */
.svc-hero.svc-hero--frame .btn-outline2,
.svc-hero.svc-hero--split .btn-outline2{
  background:#fff;color:var(--teal);border-color:rgba(5,127,126,.42);
}
.svc-hero.svc-hero--frame .svc-hero-lede,
.svc-hero.svc-hero--split .svc-hero-lede{color:var(--muted)}

/* insurer pills already pass: white on teal */
.ins-grid .pill.hot{background:var(--teal);color:#fff}

/* focus visibility: a keyboard user must always see where they are */
a:focus-visible,button:focus-visible,summary:focus-visible,
input:focus-visible,select:focus-visible,textarea:focus-visible{
  outline:3px solid var(--teal);outline-offset:3px;border-radius:4px;
}
