:root {
  color-scheme: dark;
}

html {
  scroll-padding-top: 88px;
}

body {
  min-width: 320px;
  overflow-x: hidden;
}

::selection {
  background: rgba(56, 198, 217, 0.3);
  color: #ffffff;
}

a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #38c6d9;
  outline-offset: 4px;
  border-radius: 0.5rem;
}

img {
  display: block;
  max-width: 100%;
}

details > summary {
  list-style: none;
}

details > summary::-webkit-details-marker {
  display: none;
}

details > summary::after {
  content: "+";
  float: right;
  color: #38c6d9;
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 180ms ease;
}

details[open] > summary::after {
  transform: rotate(45deg);
}

header {
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

header.is-scrolled {
  background: rgba(7, 19, 29, 0.97);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.24);
}

#product img[alt*="Zero Trust"] {
  background: #040b16;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1023px) {
  header nav > a img {
    height: 42px;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 76px;
  }

  header nav {
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
  }

  header nav > a {
    gap: 0.65rem;
  }

  header nav > a img {
    height: 38px;
  }

  header nav > a > div > div:first-child {
    font-size: 0.9rem;
  }

  header nav > a > div > div:last-child {
    font-size: 0.67rem;
  }

  #product {
    text-align: center;
  }

  #product h1 {
    line-height: 1.05;
  }

  #product img[alt*="Zero Trust"] {
    border-radius: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
