@import url("/assets/css/reflection.css");
@import url("/assets/css/neural-network.css");

/* Prevent the home hero from overflowing narrow viewports. */
@media (max-width: 980px) {
  .hero-grid {
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy,
  .hero-visual {
    min-width: 0;
    max-width: 100%;
  }

  .hero-visual {
    width: 100%;
  }

  .hero .system-window {
    width: min(100%, 600px);
  }
}

@media (max-width: 640px) {
  .hero,
  .hero-grid,
  .hero-copy,
  .hero-actions,
  .trust-line {
    width: 100%;
    min-width: 0;
  }

  .hero {
    min-height: 0;
  }

  .hero-grid {
    gap: 30px;
    padding-top: 108px;
    padding-bottom: 48px;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 10.7vw, 2.75rem);
    overflow-wrap: normal;
  }

  .hero-copy > p,
  .trust-line span {
    overflow-wrap: anywhere;
  }

  .hero-actions .button {
    width: 100%;
    max-width: 100%;
    padding-inline: 14px;
    text-align: center;
  }

  .hero .system-window {
    max-width: 100%;
  }
}

@media (max-width: 360px) {
  .hero-grid {
    padding-top: 96px;
  }

  .hero-visual {
    height: 350px;
  }

  .hero .system-window {
    height: 340px;
  }

  .data-chip {
    min-width: 108px;
  }
}
