@media (max-width: 767px) {
  html,
  body {
    overflow-x: hidden;
  }

  header > div {
    height: auto !important;
    min-height: 64px;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  header img {
    height: 42px !important;
    max-width: 190px;
  }

  header nav {
    order: 3;
    display: flex !important;
    width: 100%;
    justify-content: flex-start;
    gap: 6px !important;
    overflow-x: auto;
    padding: 6px 2px 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  header nav::-webkit-scrollbar {
    display: none;
  }

  header nav a {
    flex: 0 0 auto;
    padding: 8px 10px !important;
    font-size: 13px !important;
    line-height: 1.2;
    border-radius: 999px !important;
    background: #eff5fb;
  }

  header nav a[aria-current="page"],
  header nav a.active {
    background: #e7f1fb;
  }

  header nav a span {
    display: none;
  }

  header .hidden.md\:flex.items-center.gap-3 {
    display: none !important;
  }

  main section {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  main section:first-child {
    min-height: 620px;
    padding-top: 86px !important;
    padding-bottom: 96px !important;
  }

  .max-w-7xl,
  .max-w-6xl,
  .max-w-5xl,
  .max-w-4xl,
  .max-w-3xl,
  .max-w-2xl {
    max-width: 100% !important;
  }

  h1,
  .text-5xl,
  .text-6xl {
    font-size: 2.25rem !important;
    line-height: 1.16 !important;
  }

  h2,
  .text-4xl {
    font-size: 1.75rem !important;
    line-height: 1.22 !important;
  }

  .text-3xl {
    font-size: 1.5rem !important;
    line-height: 1.28 !important;
  }

  .text-2xl {
    font-size: 1.35rem !important;
    line-height: 1.35 !important;
  }

  .text-xl,
  .text-lg {
    font-size: 1rem !important;
    line-height: 1.7 !important;
  }

  .tracking-tight {
    letter-spacing: -0.01em !important;
  }

  .mb-16 {
    margin-bottom: 2rem !important;
  }

  .mb-10 {
    margin-bottom: 1.5rem !important;
  }

  .p-8,
  .md\:p-8 {
    padding: 1.25rem !important;
  }

  .rounded-2xl {
    border-radius: 1rem !important;
  }

  .grid {
    gap: 1rem !important;
  }

  .grid article,
  .grid > div {
    min-width: 0;
  }

  img {
    max-width: 100%;
  }

  .aspect-\[4\/3\],
  .aspect-video {
    min-height: 220px;
  }

  footer .grid {
    gap: 2rem !important;
  }
}
