
@media (prefers-reduced-motion: no-preference) {
  .home-command-mode,
  .home-priority-lanes .feature-lane,
  .section-featured .featured-tool-card,
  .section-collections .collection-card,
  .collection-archive-grid .collection-card {
    transition:
      transform 220ms ease,
      border-color 220ms ease,
      background-color 220ms ease;
  }

  .home-command-mode:hover,
  .home-priority-lanes .feature-lane:hover,
  .section-featured .featured-tool-card:hover,
  .section-collections .collection-card:hover,
  .collection-archive-grid .collection-card:hover {
    transform: translateY(-2px);
  }

  .hero-proofwall-card,
  .tool-proof-card .tool-proof-image {
    transition:
      transform 520ms ease,
      filter 520ms ease,
      opacity 240ms ease;
  }

  .hero-proofwall-card:hover,
  .hero-proofwall-card:focus-visible {
    transform: translateY(-3px);
  }
}

@media (min-width: 981px) {
  .tool-hero-dossier {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 420px) !important;
  }

  .tool-hero-meta {
    width: 100%;
    max-width: 420px;
  }
}

@media (min-width: 1181px) and (min-height: 940px) {
  .hero-home {
    min-height: 760px !important;
  }
}

@media (max-width: 1160px) {
  .hero-home {
    min-height: auto !important;
  }

  .hero-proofwall {
    max-height: none !important;
  }
}

@media (max-width: 760px) {
  .hero-home {
    min-height: auto !important;
    padding-top: 40px !important;
    padding-bottom: 34px !important;
  }

  .quick-search {
    width: 100% !important;
    max-width: 100% !important;
  }

  .home-shell > .section {
    padding-block: 30px;
  }

  .home-priority-lanes,
  .section-featured .home-feature-grid,
  .section-collections .home-collection-grid,
  .method-grid {
    grid-template-columns: 1fr !important;
  }

  .section-featured .home-section-shell,
  .section-discovery .home-section-shell,
  .section-collections .home-section-shell,
  .section-trust-contribute .card {
    padding: 16px;
  }

  .section-collections .home-section-shell {
    padding: 0;
  }

  .collection-spotlight.card {
    grid-template-columns: 1fr;
  }

  .collection-spotlight-meta {
    padding-top: 16px;
    padding-left: 0;
    border-top: 1px solid rgba(238, 240, 242, 0.1);
    border-left: 0;
  }

  .tool-hero-dossier h1 {
    max-width: 12ch;
  }

  .tool-proof-card--hero .tool-proof-surface {
    min-height: 235px;
    aspect-ratio: 16 / 11;
  }

  .tool-hero-meta .tool-proof-fallback-identity {
    width: min(72%, 230px);
    padding: 16px;
  }

  .directory-tool-card .tool-proof-card--archive-preview .tool-proof-fallback-identity,
  .section-featured .tool-proof-card--home-feature .tool-proof-fallback-identity {
    width: min(78%, 230px);
    min-width: 132px;
  }
}
