/* Mobile refinements — Atacton static site */

.hero-eyebrow {
  max-width: 100%;
  line-height: 1.55;
}

@media (max-width: 639px) {
  .hero-eyebrow {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  /* Body copy uses full content column on phones (avoids large right margin) */
  #main-content .max-w-2xl,
  #main-content .max-w-xl,
  #main-content .max-w-3xl,
  #main-content .max-w-lg,
  main .max-w-2xl,
  main .max-w-xl,
  main .max-w-3xl,
  main .max-w-lg {
    max-width: 100%;
  }

  #main-content p,
  #main-content ul,
  #main-content .section-lead {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  #site-nav > div {
    gap: 0.75rem !important;
  }

  /* Spread nav items across full width (avoids left cluster + right gap) */
  #site-nav .site-nav-links {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
    column-gap: 0.2rem;
    row-gap: 0;
    align-items: center;
  }

  #site-nav .site-nav-links .nav-link {
    font-size: 11px;
    letter-spacing: 0.04em;
    text-align: center;
    justify-content: center;
    padding-left: 0.15rem;
    padding-right: 0.15rem;
    line-height: 1.35;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .correspondence-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .correspondence-actions button,
  .correspondence-actions a {
    width: 100%;
    justify-content: center;
    text-align: center;
    min-height: 44px;
  }

  .correspondence-actions a {
    display: inline-flex;
    align-items: center;
    border: 1px solid #333;
    border-radius: 2px;
    padding-left: 1rem;
    padding-right: 1rem;
    text-decoration: none;
  }

  .correspondence-actions a:hover {
    border-color: #555;
  }

  .product-deep-links {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    align-items: flex-start;
  }

  .product-deep-links .link-sep {
    display: none;
  }
}
