.docs-page .hero-panel {
  min-height: 0;
}

.docs-page .hero {
  display: block;
  max-width: 980px;
  min-height: 0;
}

.docs-page .hero-sub {
  white-space: normal;
}

.docs-page .hero-copy {
  max-width: min(760px, 100%);
}

.docs-page .docs-list {
  padding-top: 18px;
}

.docs-page .doc-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.docs-page .doc-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  text-align: left;
}

.docs-page .doc-card .app-icon {
  margin: 0 0 18px;
}

.docs-page .doc-card h3 {
  margin-top: 8px;
  color: #11194f;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.25;
}

.docs-page .doc-card p {
  margin-top: 12px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.75;
}

.docs-page .doc-card .btn {
  width: 100%;
  margin-top: 22px;
}

.docs-page .docs-note {
  margin: 36px 0 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

.docs-page .docs-note a {
  color: var(--blue-800);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1080px) {
  .docs-page .doc-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .docs-page .hero-wrap,
  .docs-page .hero-panel,
  .docs-page .hero,
  .docs-page .hero > div {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .docs-page .hero {
    overflow: visible;
    padding-inline: 0;
  }

  .docs-page .hero h1,
  .docs-page .hero-sub,
  .docs-page .hero-copy {
    max-width: 100%;
    overflow-wrap: break-word;
    white-space: normal;
  }

  .docs-page .hero h1 {
    font-size: clamp(36px, 10vw, 52px);
  }

  .docs-page .menu-toggle {
    display: inline-grid !important;
    position: fixed;
    top: 19px;
    right: 16px;
    z-index: 60;
    background: #4748f7;
    color: #fff;
  }
}

@media (max-width: 720px) {
  .docs-page .doc-cards {
    grid-template-columns: 1fr;
  }
}
