/* SIENDA PHASE 9.6 FONT SCALE 1.22: body and non-H1 typography increased by 22%; H1 rules intentionally preserved. */
/* SIENDA PHASE 9.4 — global heading emphasis and Insights navigation refinements.
   Loaded after page styles so shared component refinements remain consistent. */

/* Global display-emphasis treatment used by hero and section headings.
   Keep the existing accent colour; unify only typeface, weight and slant. */
body h1 em,
body h2 em,
body h3 em {
  font-family: var(--font-sans, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif) !important;
  font-style: normal !important;
  font-weight: 760 !important;
  letter-spacing: -0.035em !important;
  text-decoration: none !important;
}

/* Align the Insights summary/caret with the text baseline on desktop. */
.site-header .nav-dropdown--insights > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.48em;
  margin: 0;
  padding: 0;
  line-height: inherit;
  list-style: none;
  cursor: pointer;
  vertical-align: middle;
}

.site-header .nav-dropdown--insights > summary::-webkit-details-marker {
  display: none;
}

.site-header .nav-dropdown--insights > summary::marker {
  content: "";
}

/* Draw a small CSS chevron rather than relying on the font's glyph baseline. */
.site-header .nav-dropdown--insights .nav-dropdown-caret {
  display: inline-block;
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  margin: -3px 0 0 1px;
  padding: 0;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  font-size: 0;
  line-height: 1;
  transform: rotate(45deg);
  transform-origin: 60% 60%;
  transition: transform 160ms ease;
}

.site-header .nav-dropdown--insights[open] .nav-dropdown-caret {
  margin-top: 1px;
  transform: rotate(225deg);
}

/* Mobile nav: make Insights occupy the same row and left inset as other links. */
@media (max-width: 720px) {
  .site-header .primary-nav > .nav-dropdown--insights {
    display: block;
    align-self: stretch;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
  }

  .site-header .primary-nav > .nav-dropdown--insights > summary {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 13px 7px;
    border-bottom: 1px solid #e1e4ec;
    line-height: inherit;
    text-align: left;
  }

  .site-header .primary-nav > .nav-dropdown--insights .nav-dropdown-caret {
    flex-basis: 7px;
    margin-right: 1px;
  }

  .site-header .primary-nav > .nav-dropdown--insights[open] > summary {
    color: #244b91;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header .nav-dropdown--insights .nav-dropdown-caret {
    transition: none;
  }
}
