/* Small language-specific lockup, chapter dots, transparent scroll capsule. */
.hdr {
  inset: 0 0 auto; display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; gap: 24px; min-height: 80px;
  padding: calc(16px + env(safe-area-inset-top, 0px)) 32px 16px;
  color: #173c32; background: transparent; border: 1px solid transparent;
  transition: inset .45s cubic-bezier(.22, 1, .36, 1), padding .45s ease,
    min-height .45s ease, border-radius .45s ease, background-color .3s ease, color .3s ease;
}
.hdr .hdr__mark { grid-column: 1; grid-row: 1; justify-self: start; color: inherit; }
.hdr .pear-brand-lockup { --brand-logo-height: 26px; transition: width .4s ease, height .4s ease; }
.hdr .hdr__nav {
  grid-column: 2; grid-row: 1; position: static; transform: none;
  justify-content: center; gap: clamp(12px, 1.1vw, 20px);
}
.hdr .hdr__link--current { display: inline-flex; }
.hdr .hdr__dots { display: inline-flex; gap: 4px; }
.hdr .hdr__dot { width: 28px; }
.hdr .hdr__dot i { width: 6px; height: 6px; }
.hdr .hdr__link--belief { display: none; }
.hdr .hdr__link { font-size: 14px; line-height: 20px; opacity: .86; }
.hdr .hdr__link:hover, .hdr .hdr__link--current { opacity: 1; }
.hdr .hdr__actions { grid-column: 3; grid-row: 1; justify-self: end; margin-left: 0; gap: 16px; }
.hdr .lang a { min-width: 30px; }
.hdr .hdr__login, .hdr[data-on] .hdr__login, .hdr.menu-open .hdr__login {
  min-height: 44px; padding: 0 2px; color: inherit; background: none;
  border-radius: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
}
.hdr .hdr__login:hover { text-decoration: underline; text-underline-offset: 5px; }
.hdr__member {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 10px 20px; border-radius: 999px;
  color: #f2f0e8; background: #173c32;
  font: 500 14px/20px var(--font-sans); text-decoration: none; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.hdr[data-on="dark"] { color: #f2f0e8; }
.hdr[data-on="dark"] .hdr__member { background: #f2f0e8; color: #173c32; }
.hdr.is-condensed {
  inset: 14px max(20px, calc((100vw - 1320px) / 2)) auto;
  min-height: 64px; padding: 8px 24px; border-radius: 48px;
  background: rgba(12, 34, 26, .14); color: #f2f0e8;
  border-color: rgba(226, 235, 232, .14); box-shadow: 0 6px 20px rgba(8, 27, 20, .04);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.hdr.is-condensed .pear-brand-lockup { --brand-logo-height: 24px; }
.hdr.is-condensed[data-on="light"] {
  background: rgba(242, 246, 240, .14); color: #173c32; border-color: rgba(23, 60, 50, .12);
}
.hdr[data-on="dark"] :focus-visible { outline-color: #e2ebe8; }
.hdr[data-on="light"] :focus-visible { outline-color: #173c32; }
.hdr__member:hover { background: #285046; color: #f2f0e8; }
.hdr[data-on="dark"] .hdr__member:hover { background: #fff; color: #173c32; }
@media (min-width: 1201px) and (max-width: 1400px) {
  .hdr { gap: 14px; padding-inline: 24px; }
  .hdr .hdr__nav { gap: 12px; }
  .hdr .hdr__dots { gap: 0; }
  .hdr .hdr__dot { width: 26px; }
  .hdr .hdr__actions { gap: 12px; }
  .hdr__member { padding-inline: 16px; }
}
@media (max-width: 1200px) {
  .hdr, .hdr.is-condensed { grid-template-columns: auto 1fr auto; gap: 12px; padding: 12px 24px; min-height: 72px; }
  .hdr.is-condensed { inset: 12px 20px auto; min-height: 64px; padding: 8px 16px; }
  .hdr .hdr__actions { grid-column: 2; }
  .hdr > .hdr__toggle { grid-column: 3; grid-row: 1; display: flex; justify-self: end; }
  .hdr .hdr__nav {
    position: fixed; inset: 0; transform: none; z-index: -1;
    flex-direction: column; justify-content: center; gap: 8px; padding: 88px 24px 156px;
    background: #10291f; -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .hdr .hdr__link { font-size: 22px; line-height: 30px; min-height: 44px; }
  .hdr .hdr__link--current { display: none; }
  .hdr .hdr__link--belief { display: inline-flex; }
  .hdr .hdr__dots { gap: 12px; }
  .hdr .hdr__dot { width: 32px; }
  .hdr .lang { display: none; }
  .hdr.menu-open, .hdr.is-condensed.menu-open[data-on] {
    inset: 0 0 auto; border-radius: 0; color: #f2f0e8;
    background: transparent; box-shadow: none; border-color: transparent;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .hdr.menu-open .hdr__mark { color: inherit; }
  .hdr.menu-open .lang {
    display: inline-flex; position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%);
    justify-content: center; color: #f2f0e8; gap: 12px;
  }
  .hdr.menu-open .hdr__member { color: #173c32; background: #f2f0e8; }
}
@media (max-width: 600px) {
  .hdr { padding-inline: 16px; gap: 12px; }
  .hdr.is-condensed { inset: 10px 12px auto; padding-inline: 12px; }
  .hdr .pear-brand-lockup, .hdr.is-condensed .pear-brand-lockup { --brand-logo-height: 24px; }
  .hdr .hdr__actions { gap: 0; }
  .hdr__member { display: none; }
  .hdr.menu-open .hdr__member {
    display: inline-flex; position: fixed; bottom: 96px; left: 50%; transform: translateX(-50%);
    min-width: 188px; min-height: 48px;
  }
}
@media (max-height: 600px) and (max-width: 1200px) {
  .hdr .hdr__nav { gap: 0; padding-top: 68px; padding-bottom: 120px; }
  .hdr .hdr__link { font-size: 18px; min-height: 36px; }
  .hdr.menu-open .lang { bottom: 12px; }
  .hdr.menu-open .hdr__member { bottom: 62px; }
}
@media (prefers-reduced-motion: reduce) {
  .hdr, .hdr .pear-brand-lockup { transition: none; }
}
/* One concise positioning line, then its concrete scope. */
.promise__support {
  max-width: 48ch; margin: 12px auto 0; padding-inline: 20px;
  color: var(--text-secondary); font: 400 14px/1.7 var(--font-sans);
  text-wrap: pretty;
}
.promise__inner .actions { margin-top: 32px; }
