@media (max-width: 980px) {
  :root {
    --section-space: 76px;
  }

  .container {
    width: min(100% - 36px, var(--container-width));
  }

  .navbar__toggle {
    display: block;
  }

  .navbar__menu {
    background: var(--color-background);
    border-bottom: 1px solid var(--color-border);
    display: none;
    gap: 18px;
    left: 0;
    padding: 18px;
    position: absolute;
    right: 0;
    top: 78px;
  }

  .navbar__menu.is-open {
    display: grid;
  }

  .button--small {
    justify-self: start;
  }

  .hero h1 {
    font-size: 52px;
  }

  .two-columns,
  .two-columns--wide,
  .card-grid--two,
  .card-grid--three {
    grid-template-columns: 1fr;
  }

  .how-preview {
    justify-self: center;
    max-width: 720px;
    width: 100%;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-card,
  .team-card:nth-child(4),
  .team-card:nth-child(5) {
    grid-column: auto;
  }

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

  .footer__copy {
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 700px) {
  .section-title h2 {
    font-size: 32px;
  }

  .section-title p {
    font-size: 17px;
  }

  .hero {
    padding-top: 36px;
  }

  .hero__tag {
    line-height: 1.35;
    margin-bottom: 32px;
  }

  .hero h1 {
    font-size: 40px;
    line-height: 1.15;
  }

  .hero__description {
    font-size: 17px;
  }

  .hero__placeholder {
    aspect-ratio: 4 / 3;
  }

  .problem__intro p {
    font-size: 16px;
  }

  .goal {
    padding: 76px 0;
  }

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

  .faq-question {
    align-items: flex-start;
    font-size: 17px;
  }

  .footer {
    padding: 64px 0 46px;
  }
}

@media (max-width: 480px) {
  :root {
    --section-space: 60px;
  }

  .container {
    width: min(100% - 28px, var(--container-width));
  }

  .navbar__content {
    min-height: 68px;
  }

  .navbar__logo-icon,
  .footer__logo-icon {
    height: 36px;
  }

  .navbar__logo-text,
  .footer__logo-text {
    height: 24px;
  }

  .navbar__menu {
    top: 68px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .button {
    width: 100%;
  }

  .card {
    padding: 20px;
  }

  .placeholder {
    font-size: 14px;
  }

  .how-step__button {
    gap: 14px;
    grid-template-columns: 4px 30px 1fr;
  }

  .how-step__number {
    font-size: 26px;
  }

  .faq-answer {
    padding-right: 0;
  }

  .footer__links a,
  .footer__copy {
    font-size: 16px;
  }
}
