/* Hero approved sitewide interactive color parity | 2026-11-17
   Apply only to actual disclosure controls, action links, and navigation
   link groups. Information cards, labels and full legal answers remain stable.
   The ten canonical Hero colors are inherited from existing branding. */
body :is(details.faq-item,.acc-item,.hero-handoff-card details,details.hero-handoff-card,.resource-updates-grid details.update-more,.hero-handoff-index>a,.resource-jump-nav>a,.hero-real-life-links>li,.hero-search-prompt-links>li,.hero-search-results>li){--hero-interact-accent:var(--hero-brand-blue,#1E88E5);--hero-interact-wash:#eff7ff;}
body :is(details.faq-item,.acc-item,.hero-handoff-card details,details.hero-handoff-card,.resource-updates-grid details.update-more,.hero-handoff-index>a,.resource-jump-nav>a,.hero-real-life-links>li,.hero-search-prompt-links>li,.hero-search-results>li):nth-of-type(10n+1){--hero-interact-accent:var(--hero-brand-rose,#E74C8C);--hero-interact-wash:#fff1f6;}
body :is(details.faq-item,.acc-item,.hero-handoff-card details,details.hero-handoff-card,.resource-updates-grid details.update-more,.hero-handoff-index>a,.resource-jump-nav>a,.hero-real-life-links>li,.hero-search-prompt-links>li,.hero-search-results>li):nth-of-type(10n+2){--hero-interact-accent:var(--hero-brand-red,#E53935);--hero-interact-wash:#fff1ef;}
body :is(details.faq-item,.acc-item,.hero-handoff-card details,details.hero-handoff-card,.resource-updates-grid details.update-more,.hero-handoff-index>a,.resource-jump-nav>a,.hero-real-life-links>li,.hero-search-prompt-links>li,.hero-search-results>li):nth-of-type(10n+3){--hero-interact-accent:var(--hero-brand-orange,#FB8300);--hero-interact-wash:#fff4eb;}
body :is(details.faq-item,.acc-item,.hero-handoff-card details,details.hero-handoff-card,.resource-updates-grid details.update-more,.hero-handoff-index>a,.resource-jump-nav>a,.hero-real-life-links>li,.hero-search-prompt-links>li,.hero-search-results>li):nth-of-type(10n+4){--hero-interact-accent:var(--hero-brand-gold,#FBC022);--hero-interact-wash:#fff9e5;}
body :is(details.faq-item,.acc-item,.hero-handoff-card details,details.hero-handoff-card,.resource-updates-grid details.update-more,.hero-handoff-index>a,.resource-jump-nav>a,.hero-real-life-links>li,.hero-search-prompt-links>li,.hero-search-results>li):nth-of-type(10n+5){--hero-interact-accent:var(--hero-brand-lime,#7ED342);--hero-interact-wash:#f5faec;}
body :is(details.faq-item,.acc-item,.hero-handoff-card details,details.hero-handoff-card,.resource-updates-grid details.update-more,.hero-handoff-index>a,.resource-jump-nav>a,.hero-real-life-links>li,.hero-search-prompt-links>li,.hero-search-results>li):nth-of-type(10n+6){--hero-interact-accent:var(--hero-brand-green,#2E7D32);--hero-interact-wash:#eff8ed;}
body :is(details.faq-item,.acc-item,.hero-handoff-card details,details.hero-handoff-card,.resource-updates-grid details.update-more,.hero-handoff-index>a,.resource-jump-nav>a,.hero-real-life-links>li,.hero-search-prompt-links>li,.hero-search-results>li):nth-of-type(10n+7){--hero-interact-accent:var(--hero-brand-teal,#26A69A);--hero-interact-wash:#effaf8;}
body :is(details.faq-item,.acc-item,.hero-handoff-card details,details.hero-handoff-card,.resource-updates-grid details.update-more,.hero-handoff-index>a,.resource-jump-nav>a,.hero-real-life-links>li,.hero-search-prompt-links>li,.hero-search-results>li):nth-of-type(10n+8){--hero-interact-accent:var(--hero-brand-blue,#1E88E5);--hero-interact-wash:#eff7ff;}
body :is(details.faq-item,.acc-item,.hero-handoff-card details,details.hero-handoff-card,.resource-updates-grid details.update-more,.hero-handoff-index>a,.resource-jump-nav>a,.hero-real-life-links>li,.hero-search-prompt-links>li,.hero-search-results>li):nth-of-type(10n+9){--hero-interact-accent:var(--hero-brand-indigo,#5E35B1);--hero-interact-wash:#f2effc;}
body :is(details.faq-item,.acc-item,.hero-handoff-card details,details.hero-handoff-card,.resource-updates-grid details.update-more,.hero-handoff-index>a,.resource-jump-nav>a,.hero-real-life-links>li,.hero-search-prompt-links>li,.hero-search-results>li):nth-of-type(10n+10){--hero-interact-accent:var(--hero-brand-purple,#8E24AA);--hero-interact-wash:#faf0fd;}

/* Questions / legal and implementation disclosure summaries.
   Change only the clickable heading, never the expanded answer body. */
@media (hover:hover) and (pointer:fine) {
 body :is(details.faq-item,.hero-handoff-card details,details.hero-handoff-card,.resource-updates-grid details.update-more)>summary:hover,
 body .acc-item>button.acc-btn:hover {
   background:var(--hero-interact-wash,#eff7ff)!important;
   box-shadow:inset 4px 0 0 var(--hero-interact-accent,#1E88E5);
   color:#153b60!important;
   text-decoration:underline;
   text-underline-offset:3px;
 }
 body :is(.hero-handoff-index,.resource-jump-nav)>a:hover,
 body :is(.hero-real-life-links,.hero-search-prompt-links)>li>a:hover {
   background:var(--hero-interact-wash,#eff7ff)!important;
   border-color:color-mix(in srgb,var(--hero-interact-accent,#1E88E5) 42%,#d5e2e8)!important;
   color:#123b61!important;
   text-decoration:underline;
   text-underline-offset:3px;
 }
 body .hero-search-results>li:hover {
   background:var(--hero-interact-wash,#eff7ff);
   border-color:#aebfc9;
 }
 body :is(.resource-card,.subsection,.contact-method) a.text-link:hover,
 body :is(.resource-card,.subsection) a.external-source:hover {
   border-radius:4px;
   box-shadow:0 0 0 3px var(--hero-ui-wash,#eff7ff);
   text-decoration-thickness:2px;
 }
}
/* Keyboard receives the same color as hover plus a visible outline and
   underline, not color-only indication. All controls still work by touch. */
body :is(details.faq-item,.hero-handoff-card details,details.hero-handoff-card,.resource-updates-grid details.update-more)>summary:focus-visible,
body .acc-item>button.acc-btn:focus-visible {
   background:var(--hero-interact-wash,#eff7ff)!important;
   box-shadow:inset 4px 0 0 var(--hero-interact-accent,#1E88E5);
   outline:3px solid #123b61!important;
   outline-offset:2px!important;
   color:#153b60!important;
   text-decoration:underline;
   text-underline-offset:3px;
}
body :is(.hero-handoff-index,.resource-jump-nav)>a:focus-visible,
body :is(.hero-real-life-links,.hero-search-prompt-links)>li>a:focus-visible {
   background:var(--hero-interact-wash,#eff7ff)!important;
   border-color:color-mix(in srgb,var(--hero-interact-accent,#1E88E5) 42%,#d5e2e8)!important;
   color:#123b61!important;
   outline:3px solid #123b61!important;
   outline-offset:3px!important;
   text-decoration:underline;
   text-underline-offset:3px;
}
body .hero-search-results>li:focus-within {
  background:var(--hero-interact-wash,#eff7ff);
  border-color:#aebfc9;
}
body .hero-search-results>li a:focus-visible {
  outline:3px solid #123b61!important;
  outline-offset:3px!important;
}
body :is(.resource-card,.subsection,.contact-method) a.text-link:focus-visible,
body :is(.resource-card,.subsection) a.external-source:focus-visible {
  border-radius:4px;
  box-shadow:0 0 0 3px var(--hero-ui-wash,#eff7ff);
  outline:3px solid #123b61!important;
  outline-offset:3px!important;
}
@media (prefers-reduced-motion:reduce) {
 body :is(details.faq-item,.hero-handoff-card details,details.hero-handoff-card,.resource-updates-grid details.update-more)>summary,
 body .acc-item>button.acc-btn,
 body :is(.hero-handoff-index,.resource-jump-nav)>a,
 body :is(.hero-real-life-links,.hero-search-prompt-links)>li>a,
 body .hero-search-results>li {transition:none!important;animation:none!important;transform:none!important;}
}
@media (forced-colors:active) {
 body :is(details.faq-item,.hero-handoff-card details,details.hero-handoff-card,.resource-updates-grid details.update-more)>summary:is(:hover,:focus-visible),
 body .acc-item>button.acc-btn:is(:hover,:focus-visible),
 body :is(.hero-handoff-index,.resource-jump-nav)>a:is(:hover,:focus-visible),
 body :is(.hero-real-life-links,.hero-search-prompt-links)>li>a:is(:hover,:focus-visible) {
   background:Canvas!important;color:CanvasText!important;
   box-shadow:none!important;outline:3px solid Highlight!important;
 }
 body .hero-search-results>li:is(:hover,:focus-within) {
   background:Canvas!important;color:CanvasText!important;border-color:Highlight!important;
 }
}


/* Beta repair: information panels are not whole-card links.
   Actual anchor cards retain their existing lift and color response. */
body :is(article.resource-card,article.subsection,div.subsection,
  article.contact-method,.card3>section):not(a){transition:none!important;}
body :is(article.resource-card,article.subsection,div.subsection,
  article.contact-method,.card3>section):not(a):hover{
  transform:none!important;box-shadow:var(--shadow-sm)!important;
  border-color:#B6C7B9!important;
}
body .contact-method-schedule:not(a):hover{border-color:rgba(214,157,35,.5)!important;}
@media(forced-colors:active){
 body :is(article.resource-card,article.subsection,div.subsection,
   article.contact-method,.card3>section):not(a):hover{
   border-color:CanvasText!important;box-shadow:none!important;
 }
}

/* Hero interaction parity — 2026-11-17 touch and expanded state.
   These states apply only to actual links, disclosure controls and buttons.
   Pressed feedback is a short visual cue, not a required way to learn an action. */
body details.faq-item[open]>summary,
body .acc-item.open>button.acc-btn,
body .hero-handoff-card details[open]>summary,
body details.hero-handoff-card[open]>summary,
body .resource-updates-grid details.update-more[open]>summary{
  background:var(--hero-interact-wash,#eff7ff)!important;
  box-shadow:inset 4px 0 0 var(--hero-interact-accent,#1E88E5);
  color:#153b60!important;
}
@media (any-pointer:coarse){
  body .hero-explore-grid>a.hero-explore-card:active{
    background:linear-gradient(145deg,var(--hero-next-wash,#eff7ff),#fff 78%)!important;
    border-color:var(--hero-next-accent,#1E88E5)!important;
  }
  body .hero-resource-gallery-grid>a.hero-resource-tile:active{
    background:linear-gradient(140deg,var(--hr-wash,#eff7ff),#fff 73%)!important;
  }
  body :is(.start-grid>a.choice.tap,.home-paths .path-card-grid>a.path-card,.service-quick-grid>a.service-quick-card):active{
    background:linear-gradient(150deg,var(--hero-interactive-wash,#eff7ff),#fff 86%)!important;
  }
  body :is(details.faq-item,.hero-handoff-card details,details.hero-handoff-card,.resource-updates-grid details.update-more)>summary:active,
  body .acc-item>button.acc-btn:active{
    background:var(--hero-interact-wash,#eff7ff)!important;
    box-shadow:inset 4px 0 0 var(--hero-interact-accent,#1E88E5)!important;
  }
  body :is(.hero-handoff-index,.resource-jump-nav)>a:active,
  body :is(.hero-real-life-links,.hero-search-prompt-links)>li>a:active{
    background:var(--hero-interact-wash,#eff7ff)!important;
    border-color:var(--hero-interact-accent,#1E88E5)!important;
  }
}
@media (forced-colors:active){
  body details.faq-item[open]>summary,
  body .acc-item.open>button.acc-btn,
  body :is(details.faq-item,.hero-handoff-card details,details.hero-handoff-card,.resource-updates-grid details.update-more)>summary:active{
    background:Canvas!important;
    color:CanvasText!important;
    box-shadow:none!important;
    outline:2px solid Highlight!important;
  }
}

/* Hero unified design refinement — 2026-11-18 */
:root {
 --hero-design-navy:#123B61;
 --hero-design-body:#29465C;
 --hero-design-paper:#FFFDF8;
 --hero-design-muted:#475D69;
 --hero-design-border:#DCE6E9;
 --hero-design-focus:#0B3C72;
 --hero-design-radius:16px;
 --hero-design-heading-font:'Trebuchet MS',Arial,system-ui,sans-serif;
}
/* Refine type without changing the custom logo or page hierarchy. */
main :is(h1,h2,h3) {
 font-family:var(--hero-design-heading-font);
 overflow-wrap:break-word;
}
main :is(.section-intro,.lead,.hero-support-promise) {
 line-height:1.65;
}
main :is(.section-head,.page-intro) {min-width:0;}
/* Preserve all accent colors and existing interactive behavior. */
body :is(.hero-explore-grid>a.hero-explore-card,.hero-resource-gallery-grid>a.hero-resource-tile,
 .start-grid>a.choice.tap,.home-paths .path-card-grid>a.path-card,.service-quick-grid>a.service-quick-card) {
 border-radius:var(--hero-design-radius);
 min-width:0;
}
body :is(.hero-explore-grid>a.hero-explore-card,.hero-resource-gallery-grid>a.hero-resource-tile,
 .start-grid>a.choice.tap,.home-paths .path-card-grid>a.path-card,.service-quick-grid>a.service-quick-card) :is(h2,h3,p) {
 overflow-wrap:break-word;
}
/* A light resting surface on the dark footer protects the original wordmark. */
.footer .hero-footer-mark {
 display:inline-flex; width:fit-content; max-width:100%;
 padding:8px 12px; background:#FFFDF8; border:1px solid #DCE6E9; border-radius:8px;
}
.footer .hero-footer-mark .footer-logo {display:block; margin:0;}
/* High-contrast focus indicators for navigation, actual buttons and links. */
body :is(.site-header a,.site-header button,.site-header summary,.mobile-menu a,.mobile-menu summary,
 main a[href],main button:not(:disabled),main summary):focus-visible {
 outline:3px solid var(--hero-design-focus)!important;
 outline-offset:3px!important;
}
body .footer a:focus-visible {outline:3px solid #FBC022!important;outline-offset:3px!important;}
/* No forced animation or motion for those who request reduced motion. */
@media(prefers-reduced-motion:reduce){
 body :is(.hero-explore-card,.hero-resource-tile,.choice.tap,.path-card,.service-quick-card,
 .hero-search-results>li,.acc-btn,details>summary){
  transition:none!important;animation:none!important;transform:none!important;
 }
}
@media(forced-colors:active){
 body :is(.site-header a,.site-header button,.site-header summary,.mobile-menu a,.mobile-menu summary,
 main a[href],main button:not(:disabled),main summary,.footer a):focus-visible{
  outline:3px solid Highlight!important;
 }
 .footer .hero-footer-mark{background:Canvas;border-color:CanvasText;}
}
