@media (min-width: 1440px) {
  :root {
    --brand-font-size: clamp(8rem, 14vw, 16rem);
  }

  .about-inner,
  .newsletter-inner {
    width: min(100%, 1180px);
  }
}

@media (max-width: 900px) {
  :root {
    --brand-font-size: clamp(3.5rem, 15vw, 9rem);
  }

  .loader-brand {
    width: min(100%, 92vw);
  }

  .about,
  .newsletter {
    align-items: center;
    min-height: 100vh;
    min-height: 100svh;
    padding: 120px 24px;
  }

  .about h2 {
    font-size: clamp(3rem, 15vw, 7rem);
  }

  .newsletter h2 {
    max-width: 760px;
    font-size: clamp(2.75rem, 13vw, 6.5rem);
  }

  .newsletter-form {
    width: 100%;
  }
}

@media (max-width: 640px) {
  :root {
    --brand-font-size: clamp(3rem, 14vw, 5.5rem);
  }

  .top-bar,
  .top-logo {
    width: 36px;
    height: 36px;
  }

  .top-bar {
    top: 14px;
  }

  .top-logo {
    font-size: 1.3rem;
  }

  .landing {
    padding: 18px;
  }

  .scroll-button {
    bottom: 24px;
  }

  .about,
  .newsletter {
    min-height: 100vh;
    min-height: 100svh;
    padding: 88px 20px;
  }

  .about h2,
  .newsletter h2 {
    margin-bottom: 32px;
  }

  .newsletter h2 {
    max-width: 100%;
    font-size: clamp(2.45rem, 10.5vw, 4.2rem);
    line-height: 0.94;
  }

  .about p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .newsletter-field {
    flex-direction: column;
  }

  .newsletter-field input,
  .newsletter-field button {
    width: 100%;
    min-height: 64px;
  }

  .newsletter-field input {
    padding: 0 18px;
  }

  .site-footer {
    align-items: center;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 18px 20px;
  }
}

@media (max-width: 420px) {
  :root {
    --brand-font-size: clamp(2.6rem, 13vw, 4.4rem);
  }

  .loader-brand {
    width: min(100%, 94vw);
  }

  .about,
  .newsletter {
    min-height: 100vh;
    min-height: 100svh;
    padding: 82px 18px;
  }

  .about h2 {
    font-size: clamp(2.7rem, 18vw, 4.8rem);
  }

  .newsletter h2 {
    font-size: clamp(2.3rem, 12.5vw, 3.35rem);
    line-height: 0.96;
  }

  .newsletter-field input {
    font-size: 0.95rem;
    padding: 0 16px;
  }

  .newsletter-field input,
  .newsletter-field button {
    min-height: 66px;
  }

  .site-footer p {
    font-size: 0.8rem;
  }

  .social-links a {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 340px) {
  :root {
    --brand-font-size: 2.25rem;
  }

  .about h2,
  .newsletter h2 {
    font-size: 2.25rem;
  }
}
