/* TerraCode homepage taste audit — problem, promise and proof. */
body[data-public-page="home"] main.ag-home > section.ag-hero {
  padding-top: clamp(38px, 3.6vw, 54px) !important;
  padding-bottom: clamp(68px, 6vw, 92px) !important;
}

.ag-hero__grid {
  align-items: start;
}

.ag-hero__copy {
  padding-top: 8px;
}

.ag-hero h1 {
  max-width: 760px;
  font-size: clamp(58px, 5.9vw, 88px);
  line-height: .94 !important;
}

.ag-hero h1 .ag-hero__message {
  max-width: 760px;
  margin-top: 0;
  color: var(--ag-navy-900);
  font-size: 1em;
  font-weight: 800;
  line-height: .94;
  letter-spacing: -.06em;
}

.ag-hero h1 .ag-hero__promise {
  max-width: 720px;
  margin-top: 18px;
  font-size: .58em;
  line-height: 1.02;
}

.ag-hero__lead strong {
  color: var(--ag-navy-900);
  font-weight: 750;
}

.ag-hero__guardrail {
  max-width: 40rem;
  margin: 0 0 1.35rem;
  color: var(--ag-muted, #69727d);
  font-size: .95rem;
  line-height: 1.7;
}

.ag-hero__guardrail strong {
  color: var(--ag-navy-900, #0b1d33);
}

.ag-sequence {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ag-process-copy {
  max-width: 52rem;
  margin-top: 1.75rem;
}

.ag-process-copy p {
  max-width: 47rem;
  color: var(--ag-muted, #69727d);
  font-size: 1.08rem;
  line-height: 1.75;
}

.ag-process-copy .ag-actions {
  margin-top: 1.6rem;
}

.ag-thesis__grid {
  align-items: center;
}

.ag-thesis__statement p {
  margin: 0;
}

.ag-thesis__statement p:first-child {
  margin-bottom: 14px;
  color: var(--ag-navy-900);
  font-weight: 750;
}

@media (max-width: 1100px) {
  .ag-sequence {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body[data-public-page="home"] main.ag-home > section.ag-hero {
    padding-top: 28px !important;
    padding-bottom: 58px !important;
  }

  .ag-hero__copy {
    padding-top: 0;
  }

  .ag-hero h1 {
    font-size: clamp(45px, 12.6vw, 62px);
    line-height: .98 !important;
  }

  .ag-hero h1 .ag-hero__message {
    font-size: 1em;
    line-height: .98;
  }

  .ag-hero h1 .ag-hero__promise {
    margin-top: 16px;
    font-size: .62em;
    line-height: 1.06;
  }

  .ag-thesis__statement {
    padding-left: 20px;
  }

  .ag-sequence {
    grid-template-columns: 1fr;
  }
}
