
/*
 * Production visual audit pass: tighten the first viewport, reduce repeated
 * card pressure, and harden proof surfaces that were still showing overflow.
 */
.hero-home {
  min-height: min(780px, calc(100svh - 64px)) !important;
  padding-top: clamp(34px, 4vh, 44px) !important;
  padding-bottom: clamp(26px, 3.5vh, 38px) !important;
}

.hero-home .hero-grid {
  align-items: center !important;
}

.hero-home .hero-copy-column h1 {
  line-height: 0.97 !important;
}

.home-command-copy h2 {
  line-height: 1.02;
}

.section-head h2,
.collection-spotlight h2,
.archive-header h1,
.tool-hero-dossier h1 {
  line-height: 1.04 !important;
}

.hero-proofwall {
  max-height: min(505px, calc(100svh - 150px)) !important;
}

.hero-proofwall-card:first-child {
  min-height: clamp(164px, 16vw, 205px) !important;
}

.home-command-section {
  margin-top: 0;
}

.home-shell > .section {
  padding-block: clamp(30px, 3.4vw, 48px);
}

.home-command-shell,
.section-discovery .home-section-shell,
.section-featured .home-section-shell,
.section-collections .home-section-shell,
.section-trust-contribute .card {
  max-width: 100%;
  overflow: hidden;
}

.home-priority-lanes,
.section-featured .home-feature-grid,
.section-collections .home-collection-grid,
.method-grid {
  align-items: stretch;
}

.home-command-mode,
.home-priority-lanes .feature-lane,
.section-featured .featured-tool-card,
.section-collections .collection-card,
.method-grid > div {
  min-height: 0 !important;
  box-sizing: border-box;
}

.home-priority-lanes .feature-lane,
.section-featured .featured-tool-card,
.section-collections .collection-card,
.method-grid > div {
  display: flex;
  flex-direction: column;
}

.home-priority-lanes .feature-lane {
  gap: 12px;
  padding: clamp(18px, 1.8vw, 24px);
}

.home-priority-lanes .feature-lane .article-card-note {
  display: none;
}

.home-priority-lanes .feature-lane .tool-card-footer,
.section-featured .featured-tool-card .tool-card-footer,
.section-collections .collection-card .tool-card-footer {
  margin-top: auto;
}

.section-featured .featured-tool-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.004) 52%),
    #101217;
}

.section-featured .featured-tool-card .tool-card-summary {
  display: block;
  min-height: 0 !important;
}

.section-featured .featured-tool-card .badges .badge {
  max-width: 100%;
}

.section-collections .home-collection-grid {
  gap: 0;
}

.section-collections .collection-card,
.section-collections .collection-card.is-emphasis {
  padding: clamp(20px, 2vw, 26px) !important;
}

.section-collections .collection-card > p:not(.card-meta) {
  max-width: 32rem;
}

.section-collections .collection-card .article-card-note {
  display: none;
}

.section-methodology .section-head,
.contribute-card-home > div {
  max-width: 58rem;
}

.method-grid > div {
  gap: 10px;
}

.method-grid p,
.contribute-points li {
  max-width: 34rem;
}
