html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  overscroll-behavior-x: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  position: relative;
  min-width: 0;
  touch-action: pan-y pinch-zoom;
}

body > * {
  max-width: 100%;
}

main,
section,
article,
header,
footer,
nav,
div {
  min-width: 0;
}

img,
video,
svg,
canvas,
iframe {
  max-width: 100%;
}

.article,
.article p,
.article li,
.post-card,
.contact {
  overflow-wrap: anywhere;
}

.menu-toggle {
  display: none;
}

@media (max-width: 900px) {
  body.menu-open {
    overflow: hidden;
  }

  header {
    isolation: isolate;
  }

  header .menu-toggle {
    appearance: none;
    display: inline-flex;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 0;
    margin-left: 10px;
    border: 1px solid #42e8ff66;
    border-radius: 9px;
    background: #0a0f1b;
    box-shadow: none;
    color: #f5f7ff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    letter-spacing: 0;
    grid-column: auto;
    position: relative;
    z-index: 12;
  }

  header .menu-toggle span {
    display: block;
    width: 21px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
  }

  header.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  header.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  header.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  header .menu-toggle:focus-visible,
  header nav a:focus-visible {
    outline: 2px solid #42e8ff;
    outline-offset: 3px;
  }

  header > nav,
  header nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 14px;
    right: 14px;
    z-index: 11;
    padding: 10px;
    gap: 2px;
    flex-direction: column;
    border: 1px solid #26324b;
    border-radius: 12px;
    background: rgba(8, 13, 24, .98);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
    backdrop-filter: blur(14px);
  }

  header.menu-open > nav,
  header.menu-open nav {
    display: flex;
  }

  header nav a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
  }

  header nav a:hover,
  header nav a:active {
    color: #42e8ff;
    background: #42e8ff0d;
  }

  .hero,
  .shell,
  .page,
  footer {
    width: 100%;
    max-width: 100%;
  }

  .hero {
    overflow: hidden;
  }

  .hero > *,
  .contact > *,
  .plans > *,
  .post-grid > * {
    min-width: 0;
  }

  .network {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  header {
    gap: 8px;
  }

  header .logo {
    min-width: 0;
  }

  header .logo span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  header .top-cta {
    display: none;
  }

  .hero h1,
  .article h1,
  .blog-head h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero h1 {
    font-size: clamp(43px, 15vw, 58px);
  }

  .network .r3 {
    width: min(360px, 105%);
    height: min(360px, 105vw);
  }

  .contact {
    width: auto;
    max-width: calc(100% - 24px);
  }

  .rt-head,
  .rt-row {
    min-width: 0;
  }

  .rt-head > *,
  .rt-row > * {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}
