.app-download-banner {
  display: none;
}

@media (max-width: 900px) {
  .site-header {
    position: sticky !important;
    inset: auto !important;
    top: 0 !important;
    z-index: 80 !important;
    color: #fff !important;
    background: #082f2b !important;
    border-bottom: 1px solid rgba(255, 255, 255, .12) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }

  .site-header .nav,
  .site-header .legal-nav {
    min-height: 72px !important;
  }

  .site-header .brand {
    display: inline-flex !important;
    align-items: center;
    gap: 10px !important;
    color: #fff !important;
    font-family: "Manrope", Arial, sans-serif !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    white-space: nowrap;
  }

  .site-header .brand-mark,
  .site-header .brand img {
    width: 40px !important;
    height: 40px !important;
  }

  .app-download-banner {
    display: block;
    position: sticky;
    top: 72px;
    z-index: 70;
    margin-top: 0;
    padding: 10px 16px;
    color: #142421;
    background: #e7f4f2;
    border-bottom: 1px solid #c9dfdb;
    font-family: "DM Sans", Arial, sans-serif;
  }

  .app-download-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
    width: min(100%, 1180px);
    margin: 0 auto;
  }

  .app-download-copy {
    min-width: 0;
  }

  .app-download-copy strong,
  .app-download-copy span {
    display: block;
    letter-spacing: 0;
  }

  .app-download-copy strong {
    font-size: 14px;
    line-height: 1.25;
  }

  .app-download-copy span {
    margin-top: 2px;
    color: #536762;
    font-size: 12px;
    line-height: 1.35;
  }

  .app-download-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
  }

  .app-download-store,
  .app-download-web {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
  }

  .app-download-store {
    color: #fff;
    background: #0e756d;
    border: 1px solid #0e756d;
  }

  .app-download-web {
    color: #0e625c;
    background: transparent;
    border: 1px solid #8fb9b4;
  }

  .app-download-close {
    display: inline-grid;
    width: 40px;
    height: 40px;
    padding: 0;
    place-items: center;
    color: #38514d;
    background: transparent;
    border: 0;
    border-radius: 50%;
    font: 26px/1 Arial, sans-serif;
    cursor: pointer;
  }

  .app-download-store:focus-visible,
  .app-download-web:focus-visible,
  .app-download-close:focus-visible {
    outline: 3px solid rgba(14, 117, 109, .28);
    outline-offset: 2px;
  }

  html.has-app-download-banner .site-header .nav-links.open {
    top: 139px;
  }

  html.has-app-download-banner [id] {
    scroll-margin-top: 154px;
  }
}

@media (max-width: 620px) {
  .site-header .nav,
  .site-header .legal-nav {
    min-height: 64px !important;
  }

  .site-header .brand {
    gap: 9px !important;
    font-size: 19px !important;
  }

  .site-header .brand-mark,
  .site-header .brand img {
    width: 36px !important;
    height: 36px !important;
  }

  .app-download-banner {
    top: 64px;
    margin-top: 0;
    padding: 7px 12px 9px;
  }

  .app-download-inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
  }

  .app-download-actions {
    grid-column: auto;
    display: block;
    width: auto;
  }

  .app-download-copy strong {
    font-size: 12px;
  }

  .app-download-copy span {
    display: none;
  }

  .app-download-store,
  .app-download-web {
    width: auto;
    min-width: 0;
    min-height: 34px;
    padding-block: 6px;
    padding-inline: 11px;
    font-size: 12px;
    white-space: nowrap;
    text-align: center;
  }

  .app-download-web {
    display: none;
  }

  .app-download-close {
    grid-column: 3;
    grid-row: 1;
    width: 32px;
    height: 32px;
    justify-self: end;
    font-size: 22px;
  }

  html.has-app-download-banner .site-header .nav-links.open {
    top: 113px;
  }

  html.has-app-download-banner [id] {
    scroll-margin-top: 128px;
  }

  body > .site-header:has(.legal-nav) + main {
    padding-top: 26px;
  }
}
