/* Mobile-friendly navigation for small screens */
@media (max-width: 880px) {
  main.container {
    margin-top: 0 !important;
  }

  .hero {
    padding-top: 1rem;
    padding-bottom: 0.75rem;
  }

  .hero .eyebrow {
    float: none !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 0.45rem;
    text-align: left;
    white-space: normal !important;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 8vw, 2.35rem);
    line-height: 1.03;
    letter-spacing: -0.04em;
    max-width: 14ch;
  }

  .hero h3 {
    font-size: 1rem;
    line-height: 1.35;
  }

  nav.container-fluid {
    padding: 0.65rem 0.75rem;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.25rem;
    overflow-x: hidden;
  }

  nav.container-fluid > ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 0.2rem;
    width: 100%;
    min-width: 0;
  }

  nav.container-fluid > ul:first-child {
    margin-bottom: 0.15rem;
  }

  nav.container-fluid li {
    padding: 0.2rem 0.25rem;
  }

  nav.container-fluid a,
  nav.container-fluid [role="button"] {
    white-space: normal;
    text-align: left;
    line-height: 1.15;
  }
}

@media (max-width: 640px) {
  main.container {
    margin-top: 0 !important;
  }

  .hero {
    padding-top: 0.85rem;
    padding-bottom: 0.5rem;
  }

  .hero .eyebrow {
    margin-bottom: 0.35rem;
    font-size: 0.92rem;
  }

  .hero h1 {
    max-width: 13ch;
  }

  nav.container-fluid {
    padding: 0.55rem 0.6rem;
  }

  nav.container-fluid li {
    padding: 0.15rem 0.2rem;
  }
}
