/* Homepage shell only. Business, authentication, contact and download screens retain their live styles. */
@layer cs-electric-blue {
 @media screen and (forced-colors:none) {
  html[data-ui="5"]:not(.a11y-contrast):not([data-contrast="high"]) .public-shell:has(.home-story) {
   --site-bg:#f4fafc;--site-ink:#142a34;--site-muted:#49616c;--site-orange:#27718e;
   --finish-accent:#27718e;--finish-fill:#c8ecfa;--finish-on-fill:#153441;
   --finish-focus:#27718e;--finish-muted:#49616c;--finish-edge:#70b9d7;
   --finish-tint:#e1f4fc;--finish-gleam:none;--finish-glow:none;
   --home-shell-bg:#f4fafc;--home-shell-ink:#142a34;--home-shell-muted:#49616c;--home-shell-line:#bfd7e1;
   background:var(--home-shell-bg)!important;color:var(--home-shell-ink)!important;
  }
  html[data-ui="5"][data-theme="dark"]:not(.a11y-contrast):not([data-contrast="high"]) .public-shell:has(.home-story) {
   --site-bg:#111;--site-ink:#f1f1f1;--site-muted:#b7b7b7;--site-orange:#dedede;
   --finish-accent:#dedede;--finish-fill:#dedede;--finish-on-fill:#181818;
   --finish-focus:#dedede;--finish-muted:#b7b7b7;--finish-edge:#666;
   --finish-tint:#303030;--finish-gleam:none;--finish-glow:none;
   --home-shell-bg:#111;--home-shell-ink:#f1f1f1;--home-shell-muted:#b7b7b7;--home-shell-line:#414141;
  }
  html[data-ui="5"]:not(.a11y-contrast):not([data-contrast="high"]) .public-shell:has(.home-story) :is(.site-header,.site-footer,.public-bottom-nav) {
   background:var(--home-shell-bg)!important;color:var(--home-shell-ink)!important;
   border-color:var(--home-shell-line)!important;box-shadow:none!important;
  }
  html[data-ui="5"]:not(.a11y-contrast):not([data-contrast="high"]) .public-shell:has(.home-story) :is(.site-nav,.site-footer,.public-bottom-nav) :is(a,p,small) {color:var(--home-shell-muted)!important;}
  html[data-ui="5"]:not(.a11y-contrast):not([data-contrast="high"]) .public-shell:has(.home-story) .home-story {background:var(--home-bg)!important;color:var(--home-text)!important;}
  html[data-ui="5"]:not(.a11y-contrast):not([data-contrast="high"]) .public-shell:has(.home-story) .home-story :is(h1,h2,h3,strong) {color:var(--home-text)!important;}
  html[data-ui="5"]:not(.a11y-contrast):not([data-contrast="high"]) .public-shell:has(.home-story) .home-story .hs-hero h1>span {color:var(--home-accent)!important;}
  html[data-ui="5"]:not(.a11y-contrast):not([data-contrast="high"]) .public-shell:has(.home-story) .btn.primary:not(.danger):not(.destructive):is(:hover,:active):not(:disabled) {background:var(--finish-fill)!important;color:var(--finish-on-fill)!important;border-color:var(--finish-edge)!important;filter:brightness(.96);}
  html[data-ui="5"]:not(.a11y-contrast):not([data-contrast="high"]) .public-shell:has(.home-story) .public-bottom-nav a[aria-current="page"] {color:var(--finish-accent)!important;background:var(--finish-tint)!important;border-color:var(--finish-edge)!important;}
 }
}
/* Bounded mobile corrections reviewed against the exact live shell. */
@media screen {
 html[data-ui="5"] .public-shell:has(.home-story) .site-footer-bottom { flex-wrap:wrap; }
 html[data-ui="5"] .public-shell:has(.home-story) .site-footer-bottom nav { min-width:0; flex-wrap:wrap; }
 html[data-ui="5"] .public-shell:has(.home-story) .site-footer-bottom>.btn { flex:0 0 auto; min-width:0; max-width:100%; height:auto; white-space:normal; overflow-wrap:anywhere; }
}
@media screen and (max-width:640px) {
 html[data-ui="5"] body:has(.public-shell .home-story) .experience-dock { max-width:calc(100vw - 20px); }
 html[data-ui="5"] body:has(.public-shell .home-story) .experience-dock .assist-launch { width:max-content!important; min-width:0!important; max-width:calc(100vw - 76px); flex:0 1 auto; }
}
/* The verified live footer wordmark needs readable contrast in both appearances. */
@layer cs-electric-blue {
 @media screen and (forced-colors:none) {
  html[data-ui="5"][data-theme="light"]:not(.a11y-contrast):not([data-contrast="high"]) .public-shell .site-footer .brand strong { color:#142a34!important; }
  html[data-ui="5"][data-theme="light"]:not(.a11y-contrast):not([data-contrast="high"]) .public-shell .site-footer .brand small { color:#49616c!important; }
  html[data-ui="5"][data-theme="dark"]:not(.a11y-contrast):not([data-contrast="high"]) .public-shell .site-footer .brand strong { color:#f1f1f1!important; }
  html[data-ui="5"][data-theme="dark"]:not(.a11y-contrast):not([data-contrast="high"]) .public-shell .site-footer .brand small { color:#b7b7b7!important; }
 }
}
