* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
  color: #000;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.42;
}

main {
  width: min(100% - 32px, 760px);
  margin: 0 auto;
  padding: 28px 0;
}

header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 96px;
  font-size: 14px;
}

.logo {
  font-weight: 600;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

a {
  color: #000;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.hero {
  margin-bottom: 88px;
  border-top: 0;
  padding-top: 0;
}

h1 {
  max-width: 720px;
  margin: 0 0 28px;
  font-size: clamp(42px, 8vw, 86px);
  line-height: .92;
  letter-spacing: -0.065em;
  font-weight: 500;
}

h2 {
  margin: 0 0 18px;
  font-size: 17px;
  font-weight: 600;
}

p {
  max-width: 650px;
  margin: 0 0 16px;
  font-size: 20px;
}

section {
  padding: 34px 0;
  border-top: 1px solid #ddd;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

li {
  padding: 10px 0;
  font-size: 17px;
  border-top: 1px solid #eee;
}

li:first-child {
  border-top: 0;
}

footer {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 52px;
  padding-top: 18px;
  border-top: 1px solid #ddd;
  font-size: 14px;
  color: #555;
}

footer a {
  color: #555;
}

@media (max-width: 640px) {
  header {
    display: block;
    margin-bottom: 72px;
  }

  nav {
    margin-top: 14px;
    justify-content: flex-start;
  }

  p {
    font-size: 18px;
  }
}
