@media (max-width: 1020px) {
  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  .nav {
    flex-flow: row wrap;
  }

  .menu-toggle {
    display: grid;
    margin-left: auto;
  }

  .nav-links {
    order: 4;
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 0.65rem 0 0.85rem;
  }

  .nav-links a {
    padding: 0.85rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 0;
  }

  .nav.nav-open .nav-links {
    display: flex;
  }

  .hero-grid,
  .section-head,
  .image-story-grid,
  .split-callout,
  .profile-row,
  .profile-row.reverse {
    grid-template-columns: 1fr;
  }

  .trust-grid,
  .value-list {
    grid-template-columns: 1fr 1fr;
  }

  .profile-row.reverse .profile-image {
    order: 0;
  }

  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, var(--content-width));
  }

  .brand img {
    height: 46px;
  }

  h1 {
    max-width: 100%;
    font-size: 2.65rem;
  }

  h2 {
    font-size: 2rem;
  }

  .section,
  .hero {
    padding-block: 3.6rem;
  }

  .grid-2,
  .grid-3,
  .trust-grid,
  .value-list {
    grid-template-columns: 1fr;
  }

  .actions,
  .footer-links {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .profile-row {
    padding: 0.8rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
