/* V52 — first-viewport hierarchy and evidence-first trust pass. */

.page-home,
.page-indicator {
  overflow-x: clip;
}

.case-media-grid-3 .case-image {
  width: 100%;
  min-height: 0;
}

.page-home .hero {
  min-height: 660px;
  padding: calc(var(--nav-height) + 30px) 0 42px;
}

.page-home .hero-grid {
  grid-template-columns: minmax(430px, .82fr) minmax(560px, 1.18fr);
  gap: clamp(48px, 5vw, 76px);
}

.page-home .hero-copy h1 {
  max-width: 620px;
  margin: 18px 0 20px;
  font-size: clamp(44px, 3.45vw, 56px);
  font-weight: 690;
  line-height: 1.12;
  letter-spacing: -.048em;
}

.page-home .hero-copy h1 .hero-title-line:last-child {
  white-space: nowrap;
}

.page-home .hero-actions {
  margin-top: 28px;
}

.hero-assurances {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
  border-top: 1px solid var(--border);
}

.hero-assurances li {
  min-width: 0;
  padding: 17px 18px 0 0;
}

.hero-assurances li + li {
  padding-left: 18px;
  border-left: 1px solid var(--border);
}

.hero-assurances b,
.hero-assurances span {
  display: block;
}

.hero-assurances b {
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 680;
}

.hero-assurances span {
  margin-top: 6px;
  color: var(--faint);
  font-size: 11px;
  line-height: 1.55;
}

.home-evidence {
  position: relative;
  overflow: hidden;
  padding: 62px 0 68px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #0a0d12, #090c10);
}

.home-evidence-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.home-evidence-head h2 {
  margin-top: 9px;
  color: var(--text);
  font-size: clamp(27px, 2.55vw, 38px);
  font-weight: 660;
  letter-spacing: -.042em;
}

.home-evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
  border-top: 1px solid var(--border-strong);
  border-left: 1px solid var(--border);
}

.home-evidence-grid article {
  min-height: 178px;
  padding: 25px 26px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(13, 17, 23, .7);
}

.home-evidence-grid span,
.proof-transition-grid span {
  color: var(--blue);
  font: 700 10px/1.4 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .08em;
}

.home-evidence-grid b,
.proof-transition-grid b {
  display: block;
  margin-top: 23px;
  color: var(--text);
  font-size: 15px;
}

.home-evidence-grid p,
.proof-transition-grid p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.page-indicator .product-hero {
  min-height: 690px;
  padding-top: calc(var(--nav-height) + 34px);
  padding-bottom: 48px;
}

.page-indicator .product-hero .hero-grid {
  grid-template-columns: minmax(420px, .86fr) minmax(560px, 1.14fr);
  gap: clamp(48px, 5vw, 72px);
}

.page-indicator .product-hero .hero-copy h1 {
  max-width: 610px;
  margin: 18px 0 20px;
  font-size: clamp(43px, 3.4vw, 55px);
  line-height: 1.12;
  letter-spacing: -.047em;
}

.proof-transition {
  padding: 54px 0 58px;
  border-block: 1px solid var(--border);
  background: linear-gradient(120deg, rgba(91, 132, 255, .055), rgba(8, 10, 13, .98) 42%);
}

.proof-transition-inner {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(680px, 1.28fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.proof-transition-copy h2 {
  max-width: 420px;
  margin-top: 10px;
  color: var(--text);
  font-size: clamp(26px, 2.5vw, 38px);
  line-height: 1.28;
  letter-spacing: -.045em;
}

.proof-transition-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--border-strong);
  border-left: 1px solid var(--border);
}

.proof-transition-grid article {
  min-height: 156px;
  padding: 20px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.proof-transition-grid b {
  margin-top: 18px;
  font-size: 14px;
}

.proof-transition-grid p {
  font-size: 11px;
}

@media (max-width: 1120px) {
  .page-home .hero-grid,
  .page-indicator .product-hero .hero-grid {
    grid-template-columns: 1fr;
  }

  .page-home .hero-copy h1 .hero-title-line:last-child {
    white-space: normal;
  }

  .proof-transition-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .hero-assurances,
  .home-evidence-grid {
    grid-template-columns: 1fr;
  }

  .hero-assurances li {
    padding: 14px 0;
  }

  .hero-assurances li + li {
    padding-left: 0;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .home-evidence-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-evidence-grid article {
    min-height: 0;
  }

  .proof-transition-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .page-home .hero-copy h1,
  .page-indicator .product-hero .hero-copy h1 {
    font-size: clamp(36px, 10.6vw, 46px);
    line-height: 1.14;
  }

  .proof-transition-grid {
    grid-template-columns: 1fr;
  }

  .proof-transition-grid article {
    min-height: 0;
  }
}
