/* Section navigation: one site, five focused views. */
html body.srm-marketing-page main > [data-site-view][hidden] {
  display: none !important;
}

html body.srm-marketing-page.site-sections-ready main > [data-site-view]:not([hidden]) {
  animation: site-view-enter 180ms ease-out both;
}

html body.srm-marketing-page .site-header__controls,
html body.srm-marketing-page .site-header__actions {
  display: flex;
  min-width: 0;
  align-items: center;
}

html body.srm-marketing-page .site-header__controls {
  gap: 10px;
}

html body.srm-marketing-page .site-header__actions {
  gap: 6px;
}

html body.srm-marketing-page .nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

html body.srm-marketing-page .nav a svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  stroke-width: 1.8;
}

html body.srm-marketing-page .nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, .085);
  box-shadow: inset 0 0 0 1px rgba(222, 229, 238, .08);
}

html body.srm-marketing-page main > [data-site-view] {
  scroll-margin-top: 86px;
}

html body.srm-marketing-page #downloads,
html body.srm-marketing-page #payment-info,
html body.srm-marketing-page #faq {
  scroll-margin-top: 88px;
}

@media (max-width: 1120px) and (min-width: 768px) {
  html body.srm-marketing-page .site-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px 18px;
    padding-block: 9px;
  }

  html body.srm-marketing-page .site-header__controls {
    display: contents;
  }

  html body.srm-marketing-page .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2px;
  }

  html body.srm-marketing-page .site-header__actions {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  html body.srm-marketing-page .nav a {
    min-height: 38px;
    padding-inline: 9px;
    font-size: 12px;
  }

  html body.srm-marketing-page .nav a svg {
    width: 15px;
    height: 15px;
  }
}

@media (max-width: 767px) {
  html body.srm-marketing-page {
    padding-top: 0;
    padding-bottom: 0;
  }

  html body.srm-marketing-page .site-header {
    position: sticky;
    top: 0;
    right: auto;
    bottom: auto;
    left: auto;
    display: grid;
    min-height: 0;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 6px 10px;
    padding: calc(6px + env(safe-area-inset-top)) 8px 6px;
    border-top: 0;
    border-bottom: 1px solid rgba(222, 229, 238, .11);
  }

  html body.srm-marketing-page .site-header__controls {
    display: contents;
  }

  html body.srm-marketing-page .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    width: min(100%, 560px);
    margin: 0 auto;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2px;
    padding: 3px;
    overflow: hidden;
  }

  html body.srm-marketing-page .nav a,
  html body.srm-marketing-page .entry-link {
    min-width: 0;
  }

  html body.srm-marketing-page .nav a {
    min-height: 50px;
    padding: 5px 2px;
    flex-direction: column;
    gap: 3px;
    font-size: 9.5px;
    line-height: 1;
    overflow: hidden;
    white-space: nowrap;
  }

  html body.srm-marketing-page .nav a svg {
    width: 18px;
    height: 18px;
  }

  html body.srm-marketing-page .brand {
    position: static;
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    display: flex;
    min-height: 40px;
    padding: 4px 9px 4px 5px;
    border: 1px solid rgba(222, 229, 238, .11);
    border-radius: 14px;
    background: rgba(5, 6, 8, .92);
    box-shadow: none;
    backdrop-filter: none;
  }

  html body.srm-marketing-page .brand img {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }

  html body.srm-marketing-page .brand span {
    font-size: 13px;
  }

  html body.srm-marketing-page .site-header__actions {
    position: static;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    min-height: 40px;
    gap: 3px;
    padding: 3px;
    border: 1px solid rgba(222, 229, 238, .11);
    border-radius: 14px;
    background: rgba(5, 6, 8, .92);
    box-shadow: none;
    backdrop-filter: none;
  }

  html body.srm-marketing-page .site-header__actions .language-switch {
    gap: 1px;
    padding: 2px;
    border: 0;
  }

  html body.srm-marketing-page .site-header__actions .language-switch a {
    min-width: 31px;
    min-height: 32px;
    padding: 8px 5px;
    font-size: 10px;
  }

  html body.srm-marketing-page .site-header__actions .entry-link {
    min-height: 32px;
    padding: 7px 8px;
    font-size: 10px;
  }

  html body.srm-marketing-page main > [data-site-view],
  html body.srm-marketing-page #downloads,
  html body.srm-marketing-page #payment-info,
  html body.srm-marketing-page #faq {
    scroll-margin-top: calc(114px + env(safe-area-inset-top));
  }
}

@media (max-width: 390px) {
  html body.srm-marketing-page .brand {
    padding-right: 5px;
  }

  html body.srm-marketing-page .brand span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  html body.srm-marketing-page .nav a {
    font-size: 8.75px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.srm-marketing-page.site-sections-ready main > [data-site-view]:not([hidden]) {
    animation: none;
  }
}

@keyframes site-view-enter {
  from { opacity: .72; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
