/* Shared header for the portfolio and standalone tools. */
.homeIntroHeader {
  --home-ink: #102742;
  margin: 0; width: 100%; box-sizing: border-box;
  font-family: var(--font-sans, system-ui), sans-serif;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(.75rem, 1.85vw, 1.8rem);
  padding: .65rem max(1.4rem, calc((100% - 75rem) / 2));
  min-height: 4.65rem;
  background: #fcfaf6;
  color: var(--home-ink);
}
.homeIntroHeader a { text-decoration: none; }
.homeIntroHeader .homeIntroBrand {
  display: inline-flex; align-items: center; justify-self: start; gap: .6rem;
  color: var(--home-ink); font-size: .92rem; font-weight: 730; line-height: 1.25; min-height: 44px;
}
.homeIntroBrand img { display: block; width: 2.65rem; height: auto; flex: none; }
.homeIntroTabs { display: flex; justify-content: center; align-items: stretch; gap: clamp(.65rem, 2vw, 1.75rem); }
.homeIntroHeader .homeIntroTabs a {
  color: #334860; display: flex; align-items: center; justify-content: center; min-height: 44px;
  font-size: .88rem; font-weight: 640; text-align: center; line-height: 1.25;
}
.homeIntroHeader .homeIntroTabs a:hover, .homeIntroHeader .homeIntroTabs a[aria-current=page] { text-decoration: underline; text-underline-offset: .28em; }
.homeIntroHeader .homeIntroConnect {
  width: max-content; max-width: 100%; display: inline-flex; align-items: center; justify-content: center;
  gap: .55rem; min-height: 44px; border-radius: .25rem; text-align: center;
  font-size: .9rem; font-weight: 730; line-height: 1.25;
}
.homeIntroHeader .homeIntroConnect {
  justify-self: end; color: #fffaf0; background: #112740; border: 1px solid #112740;
  padding: .56rem clamp(.7rem, 1.5vw, 1.32rem);
}
.homeIntroHeader .homeIntroConnect:hover { background: #2b435e; }
.homeIntroHeader a:focus-visible { outline: 2px solid #855d23; outline-offset: 4px; }
@media (max-width: 960px) {
  .homeIntroHeader { grid-template-columns: minmax(0, .75fr) auto minmax(0, 1fr); }
  .homeIntroHeader .homeIntroBrand span { display: none; }
}
@media (max-width: 680px) {
  .homeIntroHeader { grid-template-columns: minmax(0, 1fr) auto; padding: .35rem 1rem .45rem; gap: .25rem .55rem; }
  .homeIntroHeader .homeIntroBrand { grid-area: 1 / 1; }
  .homeIntroHeader .homeIntroConnect { grid-area: 1 / 2; font-size: .875rem; }
  .homeIntroHeader .homeIntroTabs { grid-area: 2 / 1 / 3 / 3; display: grid; grid-template-columns: 1fr 1.3fr; gap: .5rem; border-top: 1px solid #ded6c9; }
  .homeIntroHeader .homeIntroTabs a { justify-content: flex-start; text-align: left; min-height: 44px; }
}
.standaloneSite:not(.embeddedSite) body { margin: 0; padding-inline: 0; padding-top: 0; }
.standaloneSite:not(.embeddedSite) body > #quiz.card { width: calc(100% - 2rem); margin-top: 1.5rem; }
.standaloneSite:not(.embeddedSite) #root .prHeader,
.standaloneSite:not(.embeddedSite) #root .sp-header { display: none; }
.standaloneSiteFooter { box-sizing: border-box; background: #0e223b; color: #fffaf0; margin: 0; padding: 1rem max(1rem, calc((100% - 75rem) / 2)); font: .875rem/1.4 system-ui, sans-serif; }
.standaloneSiteFooter a { color: #f0c988; display: inline-flex; min-height: 44px; align-items: center; text-decoration: underline; text-underline-offset: .2em; }
.embeddedSite body > .homeIntroHeader, .embeddedSite body > .standaloneSiteFooter { display: none; }
