/* Hero: The Person Is the HERO. Shared English/Spanish design, 2026-10-30. */
:root{
 /* Canonical HERO ten-color accents: retain the exact approved 2026 colors. */
 --hero-brand-rose:#E74C8C;
 --hero-brand-red:#E53935;
 --hero-brand-orange:#FB8300;
 --hero-brand-gold:#FBC022;
 --hero-brand-lime:#7ED342;
 --hero-brand-green:#2E7D32;
 --hero-brand-teal:#26A69A;
 --hero-brand-blue:#1E88E5;
 --hero-brand-indigo:#5E35B1;
 --hero-brand-purple:#8E24AA;
 --hero-metal:linear-gradient(115deg,#bb913c 0%,#e8c263 28%,#fff0b3 47%,#d4a43c 68%,#bd9443 100%);
 --hero-ten:linear-gradient(90deg,var(--hero-brand-rose) 0% 10%,var(--hero-brand-red) 10% 20%,var(--hero-brand-orange) 20% 30%,var(--hero-brand-gold) 30% 40%,var(--hero-brand-lime) 40% 50%,var(--hero-brand-green) 50% 60%,var(--hero-brand-teal) 60% 70%,var(--hero-brand-blue) 70% 80%,var(--hero-brand-indigo) 80% 90%,var(--hero-brand-purple) 90% 100%);
}
body .site-header{border-bottom:1px solid #d6bd7d;box-shadow:0 2px 16px #17395308}
body .hero-home{background:linear-gradient(110deg,#fffdf6 0%,#fffefa 55%,#f0f7fa 100%)}
body .hero-home .hero-kicker{display:flex;align-items:center;gap:18px;max-width:100%;font-size:.78rem;line-height:1.5}
body .hero-home .hero-kicker::before{display:none}
body .hero-home .hero-kicker .hero-contest-person{display:block;width:56px;height:78px;flex:0 0 56px;object-fit:contain;filter:none;background:transparent}
body .hero-home h1{font-size:clamp(2.2rem,4.1vw,3.6rem);max-width:17ch;letter-spacing:-.035em}
body .hero-home .hero-visual .hero-bear{width:min(100%,490px)!important;max-width:490px!important}
body .hero-home .hero-grid-visual{grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);align-items:center;gap:32px}
body .btn:not(.secondary),body .nav-cta{
 background:var(--hero-metal)!important;color:#133553!important;border:1px solid #aa802d!important;
 box-shadow:0 3px 9px #87631e1a!important;text-shadow:none!important
}
body .btn:not(.secondary):hover,body .nav-cta:hover{filter:brightness(1.04);text-decoration:underline;text-underline-offset:4px}
body .btn.secondary{background:#fffefa!important;color:#123e64!important;border:1.5px solid #466780!important}
body .page-intro.hero-contest-intro,body.hero-how-cutout .page-intro.hero-contest-intro{
 background:linear-gradient(115deg,#fffaf0,#fffefa 62%,#edf6f8)!important;position:relative;isolation:isolate;border-bottom:1px solid #dfd7bf
}
body .page-intro.hero-contest-intro>.container{
 display:grid!important;grid-template-columns:minmax(0,1fr) 86px;gap:12px clamp(14px,2.2vw,28px);align-items:start;
 padding-top:40px;padding-bottom:40px;position:relative;z-index:1
}
body .hero-contest-intro h1{grid-column:1;grid-row:1;margin:0;max-width:28ch}
body .hero-contest-intro .intro-copy,body .hero-contest-intro>.container>.lead{grid-column:1;grid-row:2;max-width:72ch;margin:0}
body .hero-contest-intro .hero-contest-person{display:block;grid-column:2;grid-row:1/3;width:76px!important;height:108px!important;max-width:100%;object-fit:contain;justify-self:center;align-self:center!important;margin:0;filter:none}
body .hero-contest-intro::before,body.hero-how-cutout .page-intro.hero-contest-intro::before{
 content:""!important;display:block!important;position:absolute;inset:auto -40px -48px auto;width:170px;height:200px;
 background:url('/assets/hero-brand/hero-california-poppies-ten-colors.svg') center/contain no-repeat;opacity:.16;pointer-events:none;z-index:0
}
body .home-paths .path-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px}
body .home-paths .path-card-grid>.path-card{
 display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;
 padding:25px!important;min-width:0!important;min-height:0!important;border:1px solid #dee5e5!important;border-top:3px solid var(--card-accent,#c59c40)!important;
 box-shadow:0 4px 18px #193b5708!important
}
body .home-paths .path-card:nth-child(1){--card-accent:var(--hero-brand-rose)}
body .home-paths .path-card:nth-child(2){--card-accent:var(--hero-brand-gold)}
body .home-paths .path-card:nth-child(3){--card-accent:var(--hero-brand-green)}
body .home-paths .path-card:nth-child(4){--card-accent:var(--hero-brand-purple)}
body .home-paths .path-card .path-card-top{display:flex!important;align-items:center!important;gap:12px!important;width:100%!important}
body .home-paths .path-card .path-icon{width:42px!important;height:42px!important;flex:0 0 42px!important}
body .home-paths .path-card .path-label{font-size:.8rem!important;white-space:normal!important;word-break:normal!important;width:auto!important;max-width:none!important;line-height:1.4!important}
body .home-paths .path-card :is(h3,p){margin:0!important;width:100%!important;max-width:100%!important;min-width:0!important}
body .home-paths .path-card h3{font-size:1.2rem!important;line-height:1.35!important}
body .home-paths .path-card .path-action{margin-top:auto!important;padding-top:6px!important;min-height:44px}
body .home-journey .journey-step{border:1px solid #dfe7e7!important;border-top:3px solid var(--step-accent,var(--hero-brand-orange))!important}
body .home-journey .journey-step:nth-child(2){--step-accent:var(--hero-brand-red)}
body .home-journey .journey-step:nth-child(3){--step-accent:var(--hero-brand-lime)}
body .home-journey .journey-step:nth-child(4){--step-accent:var(--hero-brand-teal)}
body .home-journey .journey-step:nth-child(5){--step-accent:var(--hero-brand-blue)}
body .home-journey .journey-step:nth-child(6){--step-accent:var(--hero-brand-indigo)}
body .footer{border-top:0!important;background:linear-gradient(110deg,#fbf7ed,#fffefa 65%,#f2f8f7)!important}
body .footer::before{display:block!important;content:""!important;position:relative!important;inset:auto!important;width:100%!important;height:3px!important;background:var(--hero-ten)!important;opacity:1!important}
body :is(a,button,summary,input,select,textarea):focus-visible{outline:3px solid #123f6e!important;outline-offset:4px!important;box-shadow:0 0 0 2px #fff!important}
@media(max-width:820px){
 body .hero-home .hero-grid-visual{grid-template-columns:minmax(0,1fr)!important;gap:18px}
 body .hero-home .hero-visual .hero-bear{width:min(100%,380px)!important;max-width:380px!important}
 body .home-paths .path-card-grid{grid-template-columns:minmax(0,1fr)!important}
 body .home-paths .path-card-grid>.path-card{padding:20px!important}
 body .hero-home h1{max-width:20ch}
 body .page-intro.hero-contest-intro>.container{grid-template-columns:minmax(0,1fr) 64px;gap:12px 16px;padding-top:30px;padding-bottom:30px}
 body .hero-contest-intro .hero-contest-person{width:57px!important;height:81px!important}
 body .hero-contest-intro .intro-copy,body .hero-contest-intro>.container>.lead{grid-column:1/-1;grid-row:2}
 body .hero-contest-intro .hero-contest-person{grid-row:1}
}
@media(max-width:400px){
 body .hero-home .hero-kicker{gap:12px;font-size:.8rem}
 body .hero-home .hero-kicker .hero-contest-person{width:42px;height:60px;flex-basis:42px}
 body .page-intro.hero-contest-intro>.container{grid-template-columns:minmax(0,1fr) 52px;gap:12px}
 body .hero-contest-intro .hero-contest-person{width:47px!important;height:67px!important}
}
@media(forced-colors:active){
 body .btn:not(.secondary),body .nav-cta{background:ButtonFace!important;color:ButtonText!important;border:1px solid ButtonText!important}
 body .hero-contest-intro::before,body .footer::before{display:none!important}
}
@media print{
 body .hero-contest-person,body .hero-contest-intro::before,body .footer::before{display:none!important}
 body .page-intro.hero-contest-intro>.container{display:block!important}
}

/* Match legacy specificity while retaining accessible navy text on gold. */
body #main a.btn:not(.secondary),body header.site-header .desktop-nav a.nav-cta{
 background:var(--hero-metal)!important;color:#08233b!important;border-color:#a47b2b!important
}
body #main a.btn:not(.secondary)::after,body header.site-header .desktop-nav a.nav-cta::after{color:#08233b!important}
body .home-paths .path-card-grid>.path-card>.path-card-top{
 flex-flow:row nowrap!important;justify-content:flex-start!important;align-items:center!important
}
@media(forced-colors:active){
 body #main a.btn:not(.secondary),body header.site-header .desktop-nav a.nav-cta{background:ButtonFace!important;color:ButtonText!important}
}
/* Keep decorative flowers inside the introduction on both How Hero Works pages. */
body.hero-how-cutout .page-intro.hero-contest-intro{overflow:hidden!important}


/* HERO | Editorial list markers and ten-color line — 2026-11-12 */
/* Reuse the existing exact ten-color brand line. No extra icons or colored body copy. */
body .page-intro .container::before {
  content: "";
  position: absolute;
  display: block;
  left: 0;
  top: clamp(10px, 1.4vw, 16px);
  width: clamp(88px, 11vw, 112px);
  height: 3px;
  margin: 0;
  border-radius: 999px;
  background: var(--hero-ten) !important;
  pointer-events: none;
}
body .hero-purpose-frame::before {
  background: var(--hero-ten);
}
/* Only real content lists receive markers: never navigation, value cards or the homepage journey. */
.prose-page :is(.content-section, .hero-handoff-card, .faq-body) :is(ul, ol):not([class]) > li:nth-child(10n + 1)::marker { color: var(--hero-brand-rose); }
.prose-page :is(.content-section, .hero-handoff-card, .faq-body) :is(ul, ol):not([class]) > li:nth-child(10n + 2)::marker { color: var(--hero-brand-red); }
.prose-page :is(.content-section, .hero-handoff-card, .faq-body) :is(ul, ol):not([class]) > li:nth-child(10n + 3)::marker { color: color-mix(in srgb, var(--hero-brand-orange) 75%, #092F62); }
.prose-page :is(.content-section, .hero-handoff-card, .faq-body) :is(ul, ol):not([class]) > li:nth-child(10n + 4)::marker { color: color-mix(in srgb, var(--hero-brand-gold) 60%, #092F62); }
.prose-page :is(.content-section, .hero-handoff-card, .faq-body) :is(ul, ol):not([class]) > li:nth-child(10n + 5)::marker { color: color-mix(in srgb, var(--hero-brand-lime) 60%, #092F62); }
.prose-page :is(.content-section, .hero-handoff-card, .faq-body) :is(ul, ol):not([class]) > li:nth-child(10n + 6)::marker { color: var(--hero-brand-green); }
.prose-page :is(.content-section, .hero-handoff-card, .faq-body) :is(ul, ol):not([class]) > li:nth-child(10n + 7)::marker { color: color-mix(in srgb, var(--hero-brand-teal) 92%, #092F62); }
.prose-page :is(.content-section, .hero-handoff-card, .faq-body) :is(ul, ol):not([class]) > li:nth-child(10n + 8)::marker { color: var(--hero-brand-blue); }
.prose-page :is(.content-section, .hero-handoff-card, .faq-body) :is(ul, ol):not([class]) > li:nth-child(10n + 9)::marker { color: var(--hero-brand-indigo); }
.prose-page :is(.content-section, .hero-handoff-card, .faq-body) :is(ul, ol):not([class]) > li:nth-child(10n + 10)::marker { color: var(--hero-brand-purple); }
/* Implementation accordion entries already contain clear strong-text labels; extra dots are redundant.
   HTML supplies role=list to preserve list semantics for assistive technology. */
.prose-page .hero-handoff-card details > ul.hero-labelled-list {
  list-style: none;
  padding-inline-start: 0;
  margin-inline-start: 0;
}
.prose-page .hero-handoff-card details > ul.hero-labelled-list > li {
  margin: 0;
  padding-block: 0.55rem;
}
.prose-page .hero-handoff-card details > ul.hero-labelled-list > li + li {
  border-top: 1px solid #E1E9EB;
}
@media (forced-colors: active) {
  body .page-intro .container::before,
  body .hero-purpose-frame::before { background: CanvasText !important; }
  .prose-page :is(.content-section, .hero-handoff-card, .faq-body) :is(ul,ol) > li::marker { color: CanvasText !important; }
}


/* HERO | Remove duplicate page-content logos — 2026-11-12 */
/* Preserve Hero's approved ten-color accents and real illustrative content. */
body .page-intro.hero-contest-intro.hero-no-logo > .container {
  grid-template-columns: minmax(0, 1fr) !important;
  column-gap: 0 !important;
}
body .page-intro.hero-contest-intro.hero-no-logo h1,
body .page-intro.hero-contest-intro.hero-no-logo .intro-copy,
body .page-intro.hero-contest-intro.hero-no-logo > .container > .lead {
  grid-column: 1 / -1 !important;
}
body .hero-purpose-top.hero-no-logo { grid-template-columns: minmax(0, 1fr) !important; }
body .hero-not-found.hero-no-logo { grid-template-columns: minmax(0, 1fr) !important; }
body .hero-not-found.hero-no-logo .hero-not-found-copy { max-width: 66ch; }
body .hero-how-cutout .hero-direction-statement {
  margin: clamp(18px, 3vw, 30px) 0;
  color: #174363;
}
@media (max-width: 820px) {
  body .page-intro.hero-contest-intro.hero-no-logo > .container {grid-template-columns: minmax(0, 1fr) !important;}
}


/* HERO | Remove redundant right-side gold intro line — 2026-11-12 */
/* Preserve the existing ten-color line on the left. */
body .page-intro > .container::after,
body .page-intro .container::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

/* HERO | Shared color unification — 2026-11-12
   Canonical palette is defined above. Color is decorative, never the sole cue. */
:root{
  --hero-wash-rose:#FFF1F6;
  --hero-wash-gold:#FFF8E2;
  --hero-wash-green:#EFF8EE;
  --hero-wash-purple:#F6F0FB;
  --hero-ui-ink:#123B61;
}
body :is(.hero-real-life-links,.hero-search-prompt-links)>li:nth-child(4n + 1),
body .hero-purpose-principles>article:nth-child(4n + 1),
body .hero-purpose-how .hero-purpose-card:nth-child(4n + 1),
body .hero-purpose-about .hero-purpose-mv>article:nth-child(4n + 1),
body .prose-page :is(.resource-card,.subsection):nth-of-type(4n + 1),
body .prose-page .qa-answer-topic:nth-of-type(4n + 1){
  --hero-ui-accent:var(--hero-brand-rose);
  --hero-ui-wash:var(--hero-wash-rose);
}
body :is(.hero-real-life-links,.hero-search-prompt-links)>li:nth-child(4n + 2),
body .hero-purpose-principles>article:nth-child(4n + 2),
body .hero-purpose-how .hero-purpose-card:nth-child(4n + 2),
body .hero-purpose-about .hero-purpose-mv>article:nth-child(4n + 2),
body .prose-page :is(.resource-card,.subsection):nth-of-type(4n + 2),
body .prose-page .qa-answer-topic:nth-of-type(4n + 2){
  --hero-ui-accent:var(--hero-brand-gold);
  --hero-ui-wash:var(--hero-wash-gold);
}
body :is(.hero-real-life-links,.hero-search-prompt-links)>li:nth-child(4n + 3),
body .hero-purpose-principles>article:nth-child(4n + 3),
body .hero-purpose-how .hero-purpose-card:nth-child(4n + 3),
body .hero-purpose-about .hero-purpose-mv>article:nth-child(4n + 3),
body .prose-page :is(.resource-card,.subsection):nth-of-type(4n + 3),
body .prose-page .qa-answer-topic:nth-of-type(4n + 3){
  --hero-ui-accent:var(--hero-brand-green);
  --hero-ui-wash:var(--hero-wash-green);
}
body :is(.hero-real-life-links,.hero-search-prompt-links)>li:nth-child(4n + 4),
body .hero-purpose-principles>article:nth-child(4n + 4),
body .hero-purpose-how .hero-purpose-card:nth-child(4n + 4),
body .hero-purpose-about .hero-purpose-mv>article:nth-child(4n + 4),
body .prose-page :is(.resource-card,.subsection):nth-of-type(4n + 4),
body .prose-page .qa-answer-topic:nth-of-type(4n + 4){
  --hero-ui-accent:var(--hero-brand-purple);
  --hero-ui-wash:var(--hero-wash-purple);
}
body :is(.hero-real-life-links,.hero-search-prompt-links)>li>a{
  background:linear-gradient(140deg,var(--hero-ui-wash,#FFFDF8),#FFFFFF 88%);
  border:1px solid #C9DDE3;
  border-top:3px solid var(--hero-ui-accent,var(--hero-brand-blue));
  border-radius:14px;
  color:var(--hero-ui-ink);
}
body :is(.hero-real-life-links,.hero-search-prompt-links)>li>a:hover{
  background:var(--hero-ui-wash,#EDF5F8);
  border-color:#7295A6;
  border-top-color:var(--hero-ui-accent,var(--hero-brand-blue));
}
body .prose-page .qa-answer-topic>h2{
  color:var(--hero-ui-ink);
  background:linear-gradient(100deg,var(--hero-ui-wash,#F5F9F8) 0%,#FFFFFF 88%);
  border-left:4px solid var(--hero-ui-accent,var(--hero-brand-blue));
  border-radius:0 12px 12px 0;
  padding:.7rem 1rem;
}
body .prose-page :is(.resource-card,.subsection){
  background-image:linear-gradient(140deg,var(--hero-ui-wash,#FFFFFF),#FFFFFF 80%);
}
body .hero-purpose-principles>article,
body .hero-purpose-how .hero-purpose-card,
body .hero-purpose-about .hero-purpose-mv>article{
  background:linear-gradient(145deg,var(--hero-ui-wash,#F9FBF9),#FFFFFF 90%);
  border-top:3px solid var(--hero-ui-accent,var(--hero-brand-green));
  color:#243746;
}
@media(max-width:640px){
  body .prose-page .qa-answer-topic>h2{padding:.65rem .8rem;}
}
@media(forced-colors:active){
  body :is(.hero-real-life-links,.hero-search-prompt-links)>li>a,
  body .prose-page .qa-answer-topic>h2,
  body .prose-page :is(.resource-card,.subsection),
  body .hero-purpose-principles>article,
  body .hero-purpose-how .hero-purpose-card,
  body .hero-purpose-about .hero-purpose-mv>article{
    background:Canvas!important;
    background-image:none!important;
    border-color:CanvasText!important;
    color:CanvasText!important;
  }
}
@media print{
  body :is(.hero-real-life-links,.hero-search-prompt-links)>li>a,
  body .prose-page .qa-answer-topic>h2,
  body .prose-page :is(.resource-card,.subsection){
    background:#FFFFFF!important;
    background-image:none!important;
  }
}


/* HERO | Ten-color page consistency | 2026-11-12 phase 2
   Preserve the approved 10-color brand palette. Readable first; color is
   a decorative cue and is never needed to understand content or actions.
   Content/layout of How Hero Works and homepage retain their own design. */
:root {
  --hero-page-ink: #123B61;
  --hero-page-soft-border: #DCE6E9;
}
body .page-intro.hero-contest-intro > .container::before {
  width: clamp(108px, 20vw, 190px);
  height: 4px;
  background: var(--hero-ten) !important;
}
/* Page sections inherit a consistent accent and a very light wash.
   Matching selectors work in English and Spanish without changing copy. */
body:not(.hero-how-cutout) .prose-page > section.content-section {
  --hero-page-accent: var(--hero-brand-rose);
  --hero-page-wash: color-mix(in srgb, var(--hero-brand-rose) 7%, #FFFFFF);
}
body:not(.hero-how-cutout) .prose-page > section.content-section:nth-of-type(10n + 2) {
  --hero-page-accent: var(--hero-brand-red);
  --hero-page-wash: color-mix(in srgb, var(--hero-brand-red) 7%, #FFFFFF);
}
body:not(.hero-how-cutout) .prose-page > section.content-section:nth-of-type(10n + 3) {
  --hero-page-accent: var(--hero-brand-orange);
  --hero-page-wash: color-mix(in srgb, var(--hero-brand-orange) 7%, #FFFFFF);
}
body:not(.hero-how-cutout) .prose-page > section.content-section:nth-of-type(10n + 4) {
  --hero-page-accent: var(--hero-brand-gold);
  --hero-page-wash: color-mix(in srgb, var(--hero-brand-gold) 9%, #FFFFFF);
}
body:not(.hero-how-cutout) .prose-page > section.content-section:nth-of-type(10n + 5) {
  --hero-page-accent: var(--hero-brand-lime);
  --hero-page-wash: color-mix(in srgb, var(--hero-brand-lime) 7%, #FFFFFF);
}
body:not(.hero-how-cutout) .prose-page > section.content-section:nth-of-type(10n + 6) {
  --hero-page-accent: var(--hero-brand-green);
  --hero-page-wash: color-mix(in srgb, var(--hero-brand-green) 7%, #FFFFFF);
}
body:not(.hero-how-cutout) .prose-page > section.content-section:nth-of-type(10n + 7) {
  --hero-page-accent: var(--hero-brand-teal);
  --hero-page-wash: color-mix(in srgb, var(--hero-brand-teal) 8%, #FFFFFF);
}
body:not(.hero-how-cutout) .prose-page > section.content-section:nth-of-type(10n + 8) {
  --hero-page-accent: var(--hero-brand-blue);
  --hero-page-wash: color-mix(in srgb, var(--hero-brand-blue) 7%, #FFFFFF);
}
body:not(.hero-how-cutout) .prose-page > section.content-section:nth-of-type(10n + 9) {
  --hero-page-accent: var(--hero-brand-indigo);
  --hero-page-wash: color-mix(in srgb, var(--hero-brand-indigo) 7%, #FFFFFF);
}
body:not(.hero-how-cutout) .prose-page > section.content-section:nth-of-type(10n) {
  --hero-page-accent: var(--hero-brand-purple);
  --hero-page-wash: color-mix(in srgb, var(--hero-brand-purple) 7%, #FFFFFF);
}
/* Information-heavy content: a quiet branded heading band; legal text,
   source references, and body paragraphs remain plain high-contrast text.
   QA topics, purpose callouts, and the special How Hero Works design are
   intentionally excluded because they already have clear color treatments. */
body:not(.hero-how-cutout) .prose-page > section.content-section:not(.qa-answer-topic):not(.hero-purpose-access):not(.hero-purpose-how):not(.hero-purpose-about) > h2 {
  background: linear-gradient(95deg, var(--hero-page-wash, #F7FAFA) 0%, #FFFFFF 88%);
  border-radius: 8px 12px 12px 8px;
  padding: .65rem .85rem;
  margin-inline: 0;
  color: var(--hero-page-ink);
}
body:not(.hero-how-cutout) .prose-page > section.content-section:not(.qa-answer-topic):not(.hero-purpose-access):not(.hero-purpose-how):not(.hero-purpose-about) > h2::before {
  background: var(--hero-page-accent, var(--hero-brand-blue)) !important;
  width: 19px;
  height: 4px;
}
/* Single-section pages (such as Privacy) may have many subheadings within
   one section. Give those headings an ordered 10-color rhythm, too. */
body:not(.hero-how-cutout) .prose-page > section.content-section:only-of-type > h2:nth-of-type(10n + 2) {
  --hero-page-accent: var(--hero-brand-red);
  --hero-page-wash: color-mix(in srgb, var(--hero-brand-red) 7%, #FFFFFF);
}
body:not(.hero-how-cutout) .prose-page > section.content-section:only-of-type > h2:nth-of-type(10n + 3) {
  --hero-page-accent: var(--hero-brand-orange);
  --hero-page-wash: color-mix(in srgb, var(--hero-brand-orange) 7%, #FFFFFF);
}
body:not(.hero-how-cutout) .prose-page > section.content-section:only-of-type > h2:nth-of-type(10n + 4) {
  --hero-page-accent: var(--hero-brand-gold);
  --hero-page-wash: color-mix(in srgb, var(--hero-brand-gold) 9%, #FFFFFF);
}
body:not(.hero-how-cutout) .prose-page > section.content-section:only-of-type > h2:nth-of-type(10n + 5) {
  --hero-page-accent: var(--hero-brand-lime);
  --hero-page-wash: color-mix(in srgb, var(--hero-brand-lime) 7%, #FFFFFF);
}
body:not(.hero-how-cutout) .prose-page > section.content-section:only-of-type > h2:nth-of-type(10n + 6) {
  --hero-page-accent: var(--hero-brand-green);
  --hero-page-wash: color-mix(in srgb, var(--hero-brand-green) 7%, #FFFFFF);
}
body:not(.hero-how-cutout) .prose-page > section.content-section:only-of-type > h2:nth-of-type(10n + 7) {
  --hero-page-accent: var(--hero-brand-teal);
  --hero-page-wash: color-mix(in srgb, var(--hero-brand-teal) 7%, #FFFFFF);
}
body:not(.hero-how-cutout) .prose-page > section.content-section:only-of-type > h2:nth-of-type(10n + 8) {
  --hero-page-accent: var(--hero-brand-blue);
  --hero-page-wash: color-mix(in srgb, var(--hero-brand-blue) 7%, #FFFFFF);
}
body:not(.hero-how-cutout) .prose-page > section.content-section:only-of-type > h2:nth-of-type(10n + 9) {
  --hero-page-accent: var(--hero-brand-indigo);
  --hero-page-wash: color-mix(in srgb, var(--hero-brand-indigo) 7%, #FFFFFF);
}
body:not(.hero-how-cutout) .prose-page > section.content-section:only-of-type > h2:nth-of-type(10n) {
  --hero-page-accent: var(--hero-brand-purple);
  --hero-page-wash: color-mix(in srgb, var(--hero-brand-purple) 7%, #FFFFFF);
}
/* Short-purpose pages without an intro (Thank You and 404) use the same
   approved ten-color bar, without adding extraneous imagery or words. */
body .hero-not-found {
  border-top: 4px solid transparent;
  border-image: var(--hero-ten) 1;
  padding-top: clamp(1.1rem, 3vw, 2rem);
}
body .hero-not-found h1 {
  color: var(--hero-page-ink);
}
/* Keep long headings flexible in narrow and zoomed layouts. */
@media (max-width: 640px) {
  body:not(.hero-how-cutout) .prose-page > section.content-section:not(.qa-answer-topic):not(.hero-purpose-access):not(.hero-purpose-how):not(.hero-purpose-about) > h2 {
    padding: .55rem .65rem;
    overflow-wrap: anywhere;
  }
  body .page-intro.hero-contest-intro > .container::before {
    width: 108px;
  }
}
@media (forced-colors: active) {
  body:not(.hero-how-cutout) .prose-page > section.content-section > h2 {
    background: Canvas !important;
    color: CanvasText !important;
  }
  body .hero-not-found {
    border-top-color: CanvasText;
    border-image: none;
  }
  body .page-intro.hero-contest-intro > .container::before {
    background: CanvasText !important;
  }
}
@media print {
  body:not(.hero-how-cutout) .prose-page > section.content-section > h2 {
    background: #FFFFFF !important;
  }
  body .hero-not-found {
    border-image: none;
    border-color: #123B61;
  }
}


/* Copyright belongs to Hero's authored site; external linked sources remain their publishers'. */
.footer > .hero-footer-copyright {
  box-sizing:border-box;
  max-width:1180px;
  margin:0 auto;
  padding:1.05rem 1.25rem 1.5rem;
  border-top:1px solid rgba(133,166,185,.26);
  text-align:center;
  color:#496173;
  font-size:.84rem;
  line-height:1.5;
}
@media(forced-colors:active){.footer > .hero-footer-copyright{color:CanvasText;border-top-color:CanvasText;}}
