/* Channels icon grid — prod + static ads LP (no Tailwind runtime required) */

.marketing-channels-section {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  scroll-margin-top: 6rem;
  padding: 3rem 1.25rem;
}

@media (min-width: 640px) {
  .marketing-channels-section {
    padding-inline: 2rem;
  }
}

.marketing-channels-grid {
  display: grid;
  grid-template-columns: repeat(7, 2.625rem);
  gap: 0.375rem;
  justify-content: center;
  margin: 1.5rem auto 0;
  width: fit-content;
  max-width: 100%;
}

@media (min-width: 640px) {
  .marketing-channels-grid {
    grid-template-columns: repeat(9, 2.75rem);
    gap: 0.5rem;
    margin-top: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .marketing-channels-grid {
    grid-template-columns: repeat(11, 3rem);
    gap: 0.5rem;
  }
}

.marketing-channel-tile-link {
  display: block;
  border-radius: 0.625rem;
  line-height: 0;
}

.marketing-channel-tile-link:focus-visible {
  outline: 2px solid #fc69ff;
  outline-offset: 2px;
}

.marketing-channel-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.625rem;
  height: 2.625rem;
  border-radius: 0.625rem;
  border: 1px solid rgba(180, 145, 255, 0.25);
  background: #190b30;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease;
}

@media (min-width: 640px) {
  .marketing-channel-tile {
    width: 2.75rem;
    height: 2.75rem;
  }
}

@media (min-width: 1024px) {
  .marketing-channel-tile {
    width: 3rem;
    height: 3rem;
  }
}

.marketing-channel-tile-link:hover .marketing-channel-tile {
  border-color: rgba(180, 145, 255, 0.5);
  background: #221040;
}

.marketing-channel-tile img {
  width: 1.25rem;
  height: 1.25rem;
  object-fit: contain;
}

@media (min-width: 640px) {
  .marketing-channel-tile img {
    width: 1.375rem;
    height: 1.375rem;
  }
}

@media (min-width: 1024px) {
  .marketing-channel-tile img {
    width: 1.5rem;
    height: 1.5rem;
  }
}

.marketing-channels-footnote {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Homepage channels heading — squiggle sits below title, never over subtitle */
.marketing-channels-heading-wrap {
  position: relative;
  display: block;
  width: 100%;
  max-width: 42rem;
  margin-inline: auto;
  padding-bottom: 2.75rem;
}

@media (min-width: 768px) {
  .marketing-channels-heading-wrap {
    padding-bottom: 3.25rem;
  }
}

.marketing-channels-heading-wrap h2 {
  position: relative;
  z-index: 1;
}

.marketing-channels-squiggle {
  position: absolute;
  left: 50%;
  bottom: 0.35rem;
  width: 7.5rem;
  height: auto;
  transform: translateX(-20%);
  pointer-events: none;
  user-select: none;
}

@media (min-width: 768px) {
  .marketing-channels-squiggle {
    left: auto;
    right: 1.5rem;
    bottom: 0.5rem;
    width: 14.875rem;
    transform: none;
  }
}

.marketing-channels-section .text-center > p {
  margin-top: 0.25rem;
}
