/* Keep text readable and product screenshots intact in the shared site theme. */
.ed-product__media img {
  display: block;
  object-fit: contain;
  object-position: center;
}

.ed-product:hover .ed-product__media img {
  transform: none;
}

.lp-browser > img {
  display: block;
  width: 100%;
  height: auto;
}

.gpc-article {
  max-width: 74ch;
  font-size: clamp(1rem, .96rem + .22vw, 1.125rem);
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.gpc-article h2 {
  margin: 2em 0 .55em;
  font-size: clamp(1.4rem, 1.15rem + .65vw, 1.8rem);
  font-weight: 750;
}

.gpc-article h3 {
  margin: 1.4em 0 .35em;
  font-size: clamp(1.08rem, 1rem + .35vw, 1.3rem);
  font-weight: 700;
}

.gpc-article blockquote {
  padding: 1rem 1.25rem;
  border-inline-start: 4px solid #075cd5;
  background: #f2f7fd;
  border-radius: .4rem;
}

.gpc-article blockquote > * + * {
  margin-top: .65em;
}

.gpc-article img {
  height: auto;
  border-radius: .65rem;
}

/* Product explorers stay usable on touch screens without hidden tab labels. */
@media (max-width: 960px) {
  .lp-explore,
  .lp-row,
  .lp-row.is-rev {
    grid-template-columns: minmax(0, 1fr);
  }

  .lp-explore {
    gap: 1rem;
  }

  .lp-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    display: grid;
    overflow: visible;
    padding-bottom: 0;
  }

  .lp .lp-tab {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: .65rem .8rem;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 767px) {
  html {
    scroll-padding-top: 5.5rem;
  }

  .gpc .gpc-container {
    padding-inline: 16px;
  }

  .ed-pcar {
    margin-inline: 0;
    padding-inline: 0;
    scroll-padding-inline: 0;
  }

  .ed-pcar .ed-product {
    flex-basis: min(21.5rem, calc(100% - 1.75rem));
  }

  .ed-product__body {
    padding: 1rem 1.125rem;
  }

  .ed-pcar__btn {
    width: 44px;
    height: 44px;
  }

  .ed-map {
    width: 100%;
    min-height: 0;
    height: clamp(14rem, 58vw, 19rem);
    aspect-ratio: auto;
  }

  .ed-contact,
  .ed-fees {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .ed-contact__form,
  .ed-fees__form,
  .ed-cta {
    padding: 1.125rem;
  }

  .ed-table {
    max-width: 100%;
  }

  .ed-table th,
  .ed-table td {
    padding: .75rem .875rem;
  }

  .gpc main .gpc-input,
  .gpc main .gpc-ob__form :is(input[type=text], input[type=tel], input[type=email], input[type=date], select, textarea) {
    min-width: 0;
    max-width: 100%;
    min-height: 44px !important;
    font-size: 16px !important;
  }

  .lp .lp-hero {
    padding: 2rem 0 1.25rem;
  }

  .lp .lp-hero h1 {
    margin-bottom: .85rem;
    font-size: clamp(1.8rem, 1.3rem + 2.4vw, 2.5rem);
    line-height: 1.12;
    text-wrap: balance;
  }

  .lp-section {
    padding-block: 2.5rem;
  }

  .lp-stage {
    margin-top: 1.5rem;
  }

  .lp-stage .lp-browser {
    transform: none;
    mask-image: none;
    -webkit-mask-image: none;
    border-radius: 12px;
  }

  .lp-bar {
    padding: .5rem .625rem;
  }

  .lp-bar i {
    flex: 0 0 8px;
    height: 8px;
  }

  .lp-bar em {
    min-width: 0;
    margin-inline-start: .25rem;
    padding: .25rem .5rem;
    overflow-wrap: anywhere;
  }

  .lp :is(.lp-card, .lp-pane, .lp-plan, .lp-steps li) {
    padding: 1rem;
    border-radius: 16px;
  }

  .lp-card.is-dark img {
    height: auto;
    object-fit: contain;
  }

  .lp-pane > p {
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .gpc-ob__brand {
    flex-direction: column;
    align-items: flex-start;
    gap: .75rem;
  }

  .gpc-ob__stepper {
    gap: .4rem;
  }

  .gpc-ob__stepper .gpc-ob__step {
    min-height: 44px;
    padding-inline: .55rem;
  }

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

  .lp :is(.lp-hero, .lp-cta) .lp-actions {
    width: 100%;
    max-width: 28rem;
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: .625rem;
  }

  .lp .lp-actions .gpc-btn {
    min-width: 0;
    min-height: 46px;
    padding-inline: .875rem;
    white-space: normal;
    text-align: center;
  }
}
