/* Shared brand lockup and app entry points. Page colours come from the existing theme. */
.site-header .wordmark,
.site-footer .wordmark {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 1;
}
.wordmark .brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: .75rem;
  flex: none;
}
.wordmark .brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -.075rem;
  white-space: nowrap;
}
.wordmark .brand-name em { font-weight: 400; }
.wordmark .brand-period { color: #c49a5c; margin-left: .0625rem; }
.site-header .nav-actions { gap: 1rem; flex-shrink: 0; }
.site-header .app-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  min-height: 2.75rem;
  padding: .625rem 1.125rem;
  border: .0625rem solid color-mix(in srgb, var(--jade) 30%, transparent);
  border-radius: .75rem;
  background: transparent;
  color: var(--jade);
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
}
.site-header .app-nav-link:hover {
  background: color-mix(in srgb, var(--jade) 7%, transparent);
  border-color: color-mix(in srgb, var(--jade) 55%, transparent);
}
.app-nav-link svg { width: 1.0625rem; height: 1.0625rem; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.app-nav-short { display: none; }
.app-download {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2.5rem;
  color: var(--ink);
  scroll-margin-top: calc(var(--site-header-offset) + 2rem);
}
.app-download-identity { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.app-download .app-download-icon {
  width: 4rem;
  height: 4rem;
  flex: none;
  border-radius: 1.125rem;
}
.app-download-identity strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.3;
}
.app-download .app-download-identity p { margin: .375rem 0 0; color: var(--muted); font-size: .875rem; line-height: 1.6; }
.app-store-links { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.store-pending { display: inline-flex; flex-direction: column; align-items: center; gap: .25rem; }
.store-pending-label { font-size: .75rem; line-height: 1.5; opacity: .8; }
.store-badge { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; flex: none; border-radius: .5rem; }
.app-download .store-badge img { display: block; max-width: none; }
.app-download .store-badge-appStore img { width: 7.5rem; height: 2.5rem; }
.app-download .store-badge-googlePlay img { width: 8.4375rem; height: 2.5rem; }
a.store-badge:hover { transform: translateY(-.125rem); }
.app-download-wrap { padding-block: 3rem; border-top: .0625rem solid var(--line); }
.hm-cta-band .app-download { margin-top: 2.25rem; padding-top: 1.75rem; border-top: .0625rem solid rgb(245 245 240 / .22); color: #f5f5f0; }
.hm-cta-band .app-download .app-download-identity p { color: rgb(245 245 240 / .8); }
.hm-cta-band .app-download-identity strong { color: #f5f5f0; }
.hm-cta-band .app-download .app-download-icon { width: 3.5rem; height: 3.5rem; border-radius: 1rem; }
@media (47.5em < width <= 70em) {
  .site-header .main-nav { gap: 1rem; }
  .site-header .main-nav>a,.site-header .nav-topics-toggle { font-size: .875rem; }
  .site-header .nav-actions { gap: .75rem; }
  .site-header .wordmark .brand-name { font-size: 1.625rem; }
  .site-header .wordmark .brand-mark { width: 2.25rem; height: 2.25rem; }
  .site-header .app-nav-link { padding-inline: .875rem; font-size: .875rem; }
}
@media (max-width:47.5em) {
  .site-header .header-inner { gap: .5rem; }
  .site-header .wordmark { gap: .5rem; }
  .site-header .wordmark .brand-name { font-size: 1.5rem; letter-spacing: -.0625rem; }
  .site-header .wordmark .brand-mark { width: 2rem; height: 2rem; border-radius: .625rem; }
  .site-header .nav-actions { gap: .625rem; }
  .site-header .app-nav-link { gap: .25rem; padding: .5rem .75rem; font-size: .875rem; }
  .app-nav-label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .app-nav-short { display: inline; }
  .app-download { gap: .75rem; }
  .app-download-wrap { padding-block: 2rem; }
}
@media (max-width:23em) {
  .site-header .nav-actions { gap: .375rem; }
  .site-header .wordmark { gap: .375rem; }
  .site-header .wordmark .brand-name { font-size: 1.25rem; }
  .site-header .app-nav-link { padding-inline: .625rem; }
  .site-header .app-nav-link svg { display: none; }
}
@media (prefers-reduced-motion:reduce) {
  a.store-badge:hover { transform: none; }
}
