/* ShadeTerm Features v9 — hero copy alignment on product detail pages.
   Keep the description beneath and slightly lower than the title's centerline,
   with Try ShadeTerm on the right edge of the paragraph column. */
@media (min-width: 1021px) {
  body.sf-product .sf-hero .sf-hero-grid > div:last-child,
  body.sftp-page .sf-hero .sf-hero-grid > div:last-child {
    display: flex;
    flex-direction: column;
    align-self: center;
    justify-content: center;
    width: 100%;
    max-width: 480px;
    transform: translateY(24px);
    text-align: left;
  }
}
body.sf-product .sf-hero .sf-hero-grid > div:last-child > .sf-try-link,
body.sftp-page .sf-hero .sf-hero-grid > div:last-child > .sf-try-link {
  /* The link spans the paragraph column so its contents sit at the far right,
     not in the column's middle. */
  display: flex;
  width: 100%;
  justify-content: flex-end;
  align-self: stretch;
  text-align: right;
  margin: 0 0 18px;
  white-space: nowrap;
}
body.sf-product .sf-hero .sf-hero-grid > div:last-child > .sf-lede,
body.sftp-page .sf-hero .sf-hero-grid > div:last-child > .sf-lede {
  width: 100%;
  margin: 0;
  text-align: left;
}
@media (max-width: 1020px) {
  body.sf-product .sf-hero .sf-hero-grid > div:last-child,
  body.sftp-page .sf-hero .sf-hero-grid > div:last-child {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 560px;
    transform: none;
    align-self: stretch;
  }
}

/* v9 — match the landing CTA: same muted text color and typography.
   Keeps the CTA right-aligned without repositioning the explanatory copy. */
body.sf-product .sf-hero .sf-hero-grid > div:last-child > .sf-try-link,
body.sftp-page .sf-hero .sf-hero-grid > div:last-child > .sf-try-link {
  color: var(--text-2, #aeb4bd) !important;
  font-size: 15px;
  font-weight: 500;
}
body.sf-product .sf-hero .sf-hero-grid > div:last-child > .sf-try-link:hover,
body.sftp-page .sf-hero .sf-hero-grid > div:last-child > .sf-try-link:hover {
  color: #fff !important;
}
