:root {
  color-scheme: dark;
  --hae-bg: #111111;
  --hae-panel: #1c1c1e;
  --hae-panel-hover: #262628;
  --hae-text: #f5f5f5;
  --hae-muted: #c2c2c6;
  --hae-blue: #5386bd;
  --hae-link: #6ea8e6;
  --hae-gold: #c9a804;
  --hae-border: #3a3a3e;
  --hae-radius: 12px;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}
.hae-page, .hae-page * { box-sizing: border-box; }
.hae-page { margin: 0; background: var(--hae-bg); color: var(--hae-text); font-size: 17px; line-height: 1.65; }
.hae-page a { color: inherit; text-underline-offset: 5px; }
.hae-page a:focus-visible, .hae-page summary:focus-visible, .hae-page button:focus-visible { outline: 3px solid var(--hae-gold); outline-offset: 5px; }
.hae-page img { display: block; max-width: 100%; height: auto; }
.hae-page p { margin: 0 0 20px; }
.hae-page h1, .hae-page h2, .hae-page h3 { line-height: 1.15; letter-spacing: -.035em; margin: 0; font-weight: 600; text-wrap: balance; color: var(--hae-text); }
.hae-page h1 { font-size: clamp(34px, 4.2vw, 56px); }
.hae-page h2 { font-size: clamp(30px, 3vw, 42px); }
.hae-page h3 { font-size: clamp(26px, 2.5vw, 34px); }
.hae-wrap { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.hae-skip { position: absolute; top: -100px; left: 20px; padding: 12px 20px; background: var(--hae-gold); color: var(--hae-bg) !important; z-index: 10; }
.hae-skip:focus { top: 12px; }
.hae-header { border-bottom: 1px solid var(--hae-border); }
.hae-header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.hae-brand { display: block; padding-block: 12px; flex: 0 0 auto; }
.hae-brand img { width: 232px; }
.hae-nav { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.hae-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--hae-muted); font-size: 15px; }
.hae-nav a:hover { color: var(--hae-link); }
.hae-hero { text-align: center; padding: 64px 0 56px; }
.hae-hero-logo { width: min(370px, 82%); margin: 0 auto 36px; }
.hae-hero h1 { margin-bottom: 24px; }
.hae-hero p { max-width: 780px; margin: 0 auto; color: var(--hae-muted); font-size: 19px; line-height: 1.75; }
.hae-eyebrow { font-size: 12px; letter-spacing: .14em; font-weight: 600; text-transform: uppercase; color: var(--hae-link); }
.hae-section-label { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.hae-section-label::after { content: ""; height: 1px; background: var(--hae-border); flex: 1; }
.hae-doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.hae-door { display: flex; flex-direction: column; align-items: start; padding: 36px; border: 1px solid var(--hae-border); border-radius: var(--hae-radius); background: var(--hae-panel); }
.hae-door .hae-eyebrow { margin-bottom: 22px; }
.hae-door h3 { max-width: 480px; margin-bottom: 22px; }
.hae-concern { color: var(--hae-muted); }
.hae-response { color: var(--hae-text); }
.hae-door-actions { width: 100%; margin-top: auto; padding-top: 12px; display: flex; flex-direction: column; align-items: start; gap: 10px; }
.hae-cta { background: var(--hae-link); color: var(--hae-bg) !important; border: 1px solid var(--hae-link); border-radius: 6px; min-height: 48px; padding: 11px 17px; display: inline-flex; align-items: center; gap: 20px; justify-content: space-between; text-decoration: none; font-size: 15px; font-weight: 600; line-height: 1.45; }
.hae-cta:hover { background: #91bef0; border-color: #91bef0; }
.hae-text-link { color: var(--hae-link) !important; display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; line-height: 1.5; }
.hae-text-link:hover { color: var(--hae-text) !important; }
.hae-principles { display: grid; grid-template-columns: 1fr 1.7fr; gap: 72px; padding: 88px 0; scroll-margin-top: 24px; }
.hae-principles-intro .hae-eyebrow { margin-bottom: 20px; color: var(--hae-gold); }
.hae-principles-intro h2 { margin-bottom: 24px; }
.hae-principles-intro p { color: var(--hae-muted); }
.hae-principle { border-bottom: 1px solid var(--hae-border); }
.hae-principle:first-child { border-top: 1px solid var(--hae-border); }
.hae-principle summary { display: flex; align-items: start; gap: 16px; padding: 19px 0; cursor: pointer; list-style: none; line-height: 1.45; font-weight: 600; }
.hae-principle summary::-webkit-details-marker { display: none; }
.hae-principle summary::after { content: "+"; color: var(--hae-link); margin-left: auto; font-weight: 400; flex-shrink: 0; }
.hae-principle[open] summary::after { content: "−"; }
.hae-principle-number { color: var(--hae-link); font-size: 13px; padding-top: 3px; min-width: 22px; font-weight: 400; }
.hae-principle-copy { color: var(--hae-muted); padding: 0 32px 10px 38px; font-size: 16px; }
.hae-footer { border-top: 1px solid var(--hae-border); padding: 36px 0; }
.hae-footer-inner { display: flex; justify-content: space-between; align-items: start; gap: 32px; }
.hae-footer strong { font-size: 20px; font-weight: 500; }
.hae-footer p { font-size: 13px; color: var(--hae-muted); max-width: 440px; margin: 0; }
.hae-guide { padding-block: 64px; }
.hae-guide h1 { margin: 12px 0 24px; }
.hae-guide-lead { color: var(--hae-muted); max-width: 740px; font-size: 20px; }
.hae-guide-section { border-top: 1px solid var(--hae-border); margin-top: 56px; padding-top: 32px; }
.hae-guide-section > h2 { font-size: 28px; margin-bottom: 24px; }
.hae-guide-section > p { color: var(--hae-muted); max-width: 850px; }
.hae-logo-examples { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 24px; align-items: end; }
.hae-logo-example { padding: 24px; background: var(--hae-panel); border-radius: var(--hae-radius); }
.hae-logo-stage { height: 160px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.hae-logo-stage img { max-height: 145px; width: auto; }
.hae-logo-example p { margin: 0; color: var(--hae-muted); font-size: 14px; }
.hae-logo-example strong { display: block; color: var(--hae-text); font-size: 16px; margin-bottom: 6px; }
.hae-swatches { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.hae-swatch { padding: 16px; border: 1px solid var(--hae-border); border-radius: 8px; font-size: 14px; }
.hae-swatch-color { height: 68px; border-radius: 4px; margin-bottom: 14px; }
.hae-swatch span { display: block; color: var(--hae-muted); font-size: 13px; }
.hae-type-sample { padding: 20px 0; border-bottom: 1px solid var(--hae-border); }
.hae-type-sample small { display: block; color: var(--hae-link); margin-bottom: 12px; }
.hae-guide ul { padding-left: 20px; color: var(--hae-muted); }
.hae-guide li { margin-bottom: 12px; }
.hae-component-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
@media(max-width:760px) {
  .hae-wrap { width: calc(100% - 40px); }
  .hae-header-inner { min-height: 84px; gap: 16px; }
  .hae-brand img { width: 150px; }
  .hae-nav { gap: 0 16px; justify-content: flex-end; }
  .hae-nav a { font-size: 13px; }
  .hae-hero { padding: 44px 0; }
  .hae-hero-logo { width: min(300px,85%); margin-bottom: 28px; }
  .hae-hero p { font-size: 17px; }
  .hae-doors { grid-template-columns: 1fr; gap: 18px; }
  .hae-door { padding: 28px; }
  .hae-door h3 { font-size: 29px; }
  .hae-principles { grid-template-columns: 1fr; gap: 28px; padding: 56px 0; }
  .hae-footer-inner { flex-direction: column; gap: 14px; }
  .hae-logo-examples { grid-template-columns: 1fr; }
  .hae-swatches { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:380px) {
  .hae-nav { max-width: 212px; gap: 0 14px; }
  .hae-door { padding: 24px; }
  .hae-door h3 { font-size: 27px; }
}
@media(prefers-reduced-motion:no-preference) { .hae-page { scroll-behavior: smooth; } .hae-cta { transition: background .15s; } }
@media print { .hae-page { background: white; color: black; } .hae-header, .hae-door-actions { display: none; } .hae-door { background: none; break-inside: avoid; } .hae-doors, .hae-principles { display: block; } }

/* Explicit text colors also keep embedded previews independent of host headings. */
.hae-page h1, .hae-page h2, .hae-page h3, .hae-page h4,
.hae-page strong, .hae-page summary, .hae-page summary > span { color: var(--hae-text); }
.hae-page .hae-eyebrow { color: var(--hae-link); }
.hae-page .hae-section-label, .hae-page .hae-principles-intro .hae-eyebrow { color: var(--hae-gold); }
.hae-page .hae-nav a { color: var(--hae-text); }
.hae-page .hae-nav a:hover { color: var(--hae-link); }
.hae-page .hae-principle-number { color: var(--hae-link); }
.hae-page .hae-door { border-top: 3px solid var(--hae-blue); }
.hae-page .hae-door:nth-child(even) { border-top-color: var(--hae-link); }
.hae-page .hae-door .hae-eyebrow { border-left: 3px solid var(--hae-gold); padding-left: 12px; }
.hae-page .hae-section-label::after { background: linear-gradient(90deg,var(--hae-gold),var(--hae-border) 35%); }
.hae-page .hae-hero h1::after { content: ''; display: block; width: 64px; height: 3px; background: var(--hae-gold); margin: 26px auto 0; }
.hae-page .hae-principle summary:hover, .hae-page .hae-principle summary:hover > span { color: var(--hae-link); }
@media print { .hae-page h1, .hae-page h2, .hae-page h3, .hae-page h4, .hae-page strong, .hae-page summary, .hae-page summary > span { color: black; } }

/* Explicit body colors remain readable in native and embedded contexts. */
.hae-page .hae-principle-copy, .hae-page .hae-principle-copy p,
.hae-page .hae-principle-copy li, .hae-page .hae-principle-copy em { color: var(--hae-text); }
.hae-page .hae-nav a[aria-current="page"], .hae-page .hae-nav a[aria-current="page"]:hover { color: var(--hae-gold); box-shadow: inset 0 -2px var(--hae-gold); }

/* Pathway headings open the stakeholder landing; resource actions stay below. */
.hae-page .hae-section-label { margin:0 0 32px; }
.hae-page .hae-cta-outline { border-color:var(--hae-gold); background:transparent; color:var(--hae-gold) !important; }
.hae-page .hae-cta-outline:hover { background:var(--hae-gold); color:var(--hae-bg) !important; }
.hae-page .hae-door-actions { flex-direction:row; flex-wrap:wrap; gap:12px; }


.hae-page .hae-door-actions { flex-direction:row; flex-wrap:nowrap; gap:10px; }
.hae-page .hae-door-actions .hae-cta { padding:11px 13px; font-size:14px; white-space:nowrap; gap:0; }
@media(max-width:380px) { .hae-page .hae-door-actions { gap:8px; } .hae-page .hae-door-actions .hae-cta { padding:11px 10px; font-size:13px; } }
