@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&display=swap');

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #202020;
  background: #ffffff;
}

a {
  color: #202020;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

header {
  width: min(1100px, 92%);
  margin: 0 auto;
  padding: 28px 0 22px;
  border-bottom: 1px solid #e6e6e6;
}

header h1 {
  margin: 0 0 16px;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 900;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
}

nav a {
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

nav a:hover {
  text-decoration: underline;
}

main {
  width: min(1100px, 92%);
  margin: 0 auto;
}

section {
  padding: 48px 0;
  border-bottom: 1px solid #eeeeee;
}

section h2 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: 34px;
  line-height: 1.2;
  font-weight: 900;
}

section p {
  max-width: 760px;
  margin: 0 0 20px;
}

footer {
  width: min(1100px, 92%);
  margin: 0 auto;
  padding: 36px 0 50px;
  font-size: 14px;
  line-height: 1.5;
  color: #666666;
}

footer p {
  margin: 0 0 8px;
}

@media (max-width: 700px) {
  body {
    font-size: 17px;
  }

  header {
    padding-top: 22px;
  }

  header h1 {
    font-size: 26px;
  }

  nav {
    gap: 10px 16px;
  }

  section {
    padding: 36px 0;
  }

  section h2 {
    font-size: 28px;
  }
}