/* Shared header and footer. Keep page-specific styles scoped to page content. */
.site-header .container, .site-footer .container {
  width: min(1200px, calc(100% - 96px));
}
.site-header { position: sticky; top: 0; z-index: 5; background: #fff; }
.header-inner { display: flex; align-items: center; flex-wrap: nowrap; gap: 16px 24px; min-height: 88px; }
.brand { display: inline-flex; flex: none; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; letter-spacing: -.03em; font-size: 1.65rem; }
.brand span { font-family: var(--font); font-weight: 650; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav { display: flex; gap: 30px; margin-left: auto; font-size: .9375rem; }
.nav a { color: var(--ink-soft); font-weight: 600; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: #214edb; }
.header-download { display: inline-flex; flex: none; justify-content: center; align-items: center; min-height: 44px; margin-left: 16px; padding: 10px 24px; border-radius: 100px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; }
.header-download:hover { background: #2549a3; color: #fff; }
.site-footer { background: var(--ink); color: #d5def0; padding: 42px 0 28px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 30px 40px; }
.site-footer .brand { color: #fff; }
.footer-links { display: flex; flex: 1; flex-wrap: wrap; gap: 12px 24px; font-size: .875rem; }
.footer-links a, .footer-links .support-text-button { color: #cfdaed; font-weight: 400; text-decoration: none; text-align: left; }
.footer-links a:hover, .footer-links .support-text-button:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 3px; }
.site-footer .store-row { width: 100%; }
.legal-line { border-top: 1px solid #ffffff1f; margin-top: 22px; padding-top: 16px; font-size: .875rem; }
.legal-line p { margin: 0 0 6px; }
@media (max-width: 1050px) {
  .site-header .container, .site-footer .container { width: calc(100% - 64px); }
}
@media (max-width: 760px) {
  .site-header .container, .site-footer .container { width: calc(100% - 40px); }
  .header-inner { min-height: 74px; gap: 14px; }
  .brand { font-size: 1.4rem; gap: 8px; }
  .brand img { width: 32px; height: 32px; }
  .nav { gap: 18px; font-size: .875rem; }
  .nav-how { display: none; }
  .header-download { margin-left: 0; padding: 9px 18px; font-size: .875rem; }
  .footer-top { gap: 28px; }
  .footer-links { flex-basis: 100%; }
}
@media (max-width: 390px) {
  .nav { display: none; }
  .header-download { margin-left: auto; }
}
