.cta {
  padding-top: 0;
}

.cta__wrap {
  max-width: 1160px;
  width: 100%;
  min-width: 0;
}

.cta__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 56px 24px;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(420px 320px at 100% 0%, rgba(0, 135, 68, 0.32), transparent 70%),
    radial-gradient(420px 320px at 0% 100%, rgba(0, 135, 68, 0.28), transparent 70%),
    linear-gradient(135deg, #eceeee, #f6f7f7 50%, #eceeee);
  text-align: center;
}

.cta__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.cta__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.cta__title {
  max-width: 820px;
  margin: 0;
}

.cta__text {
  max-width: 720px;
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
  color: #646464;
}

.cta__tagline {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--opt-ink);
}

@media (max-width: 1099.98px) {
  .cta__box {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

@media (max-width: 799.98px) {
  .cta__box {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

/* Phones: the closing banner is a heading, one line of text, a button and a tagline, and at
   desktop sizes all four are large, which on a 360px card made everything shout at once (title 34px
   in three lines with "fast," alone on the second, text 20px, tagline stuck under the button).
   The forced line break after "Make WordPress fast," is dropped here and the title (28px) is
   balanced instead: two lines at 390px, three even lines at 320px. Text 17px, tighter padding
   and radius, one spacing rhythm (title 14 text 24 button 16 tagline) and the tagline 13px. */
@media (max-width: 575.98px) {
  .cta__box {
    gap: 16px;
    padding: 32px 20px;
    border-radius: 24px;
  }

  .cta__main {
    gap: 24px;
  }

  .cta__head {
    gap: 14px;
  }

  .cta__break {
    display: none;
  }

  .cta__title {
    font-size: 32px;
    text-wrap: balance;
  }

  .cta__text {
    font-size: 17px;
    line-height: 1.5;
  }

  .cta__tagline {
    font-size: 13px;
    text-wrap: balance;
  }
}

/* The title steps down with the width instead of jumping from 36px at 576px to 28px at 575px: 32px
   down to 480px, 30px down to 400px, 28px below that, each the largest size that still keeps
   "and keep it that way." on one line at the narrowest width of its step. The button keeps its
   desktop size on phones: the shared button shrinks to a 14px label and 12px side padding below
   576px (site.css), which made it 213px wide against 262px on desktop with a label that is small
   next to a 28-32px title; the two variables are restated for this button only (same as the Submit
   button of Contact). */
@media (max-width: 479.98px) {
  .cta__title {
    font-size: 30px;
  }
}

@media (max-width: 399.98px) {
  .cta__title {
    font-size: 28px;
  }
}

@media (max-width: 575.98px) {
  .cta__main {
    --fs-hf-btn: 18px;
    --hf-btn-pad-x: 24px;
  }
}

/* At 320px the box has 250px of room inside its padding and the 18px button is 262px wide, so below
   360px the label is 16px and the side padding 18px (about 236px). */
@media (max-width: 359.98px) {
  .cta__main {
    --fs-hf-btn: 16px;
    --hf-btn-pad-x: 18px;
  }
}
