.features-main {
  --feature-spacing: clamp(42px, 7vw, 96px);
}

.feature-block {
  padding-block: var(--feature-spacing);
}

.feature-block + .feature-block,
.features-main .support {
  border-top: 1px solid var(--line);
}

.feature-intro,
.feature-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 7vw, 100px);
}

.feature-intro {
  align-items: start;
  margin-bottom: clamp(28px, 5vw, 64px);
}

.feature-pair {
  align-items: center;
}

.feature-block h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.feature-copy p,
.feature-example p {
  max-width: 40ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(14px, 1.45vw, 17px);
  line-height: 1.65;
}

.feature-copy h2 + p {
  margin-top: 20px;
}

.feature-copy p + p {
  margin-top: 10px;
}

.feature-copy .text-link {
  margin-top: 12px;
}

.feature-examples {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 4.25vw, 58px);
}

.feature-example {
  min-width: 0;
  margin: 0;
}

.feature-example figcaption {
  margin-top: 15px;
}

.feature-example h3 {
  margin: 0 0 5px;
  font-weight: 400;
  font-size: clamp(18px, 2.1vw, 25px);
}

.feature-screenshot {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  background: #151515;
}

.feature-pair > .feature-screenshot {
  width: min(100%, 330px);
  justify-self: center;
}

@media (max-width: 720px) {
  .feature-intro,
  .feature-pair {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .feature-examples {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .feature-example {
    display: grid;
    grid-template-columns: minmax(0, 148px) minmax(0, 1fr);
    gap: 18px;
    align-items: center;
  }

  .feature-example figcaption {
    margin: 0;
  }

  .feature-pair > .feature-screenshot {
    width: min(100%, 280px);
    margin-top: 6px;
  }
}

@media (max-width: 360px) {
  .feature-example {
    grid-template-columns: minmax(0, 104px) minmax(0, 1fr);
    gap: 14px;
  }
}
