:root {
  --background: #f7f7f4;
  --text: #20211f;
  --muted: #686b65;
  --line: #d9dad5;
  --accent: #2457d6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

header,
main {
  width: min(900px, calc(100% - 40px));
  margin-inline: auto;
}

header {
  padding: 96px 0 64px;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(2.8rem, 8vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
}

header p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

main {
  border-top: 1px solid var(--text);
}

section {
  display: grid;
  grid-template-columns: 150px 1fr;
  column-gap: 56px;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}

h2 {
  margin: 4px 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

article {
  grid-column: 2;
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

article:last-of-type {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.section-content {
  grid-column: 2;
  max-width: 620px;
}

.section-content p {
  margin: 0;
}

.section-content p + p {
  margin-top: 16px;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
}

article p {
  margin: 3px 0;
}

article > p:last-of-type {
  color: var(--muted);
  font-size: 0.9rem;
}

article ul {
  padding-left: 20px;
  margin: 18px 0 0;
}

article li + li {
  margin-top: 8px;
}

section > ul {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}

a {
  color: var(--accent);
  font-weight: 500;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:hover {
  text-decoration-thickness: 2px;
}

@media (max-width: 650px) {
  header {
    padding: 64px 0 44px;
  }

  section {
    display: block;
    padding: 40px 0;
  }

  h2 {
    margin-bottom: 32px;
  }

  article {
    padding-bottom: 26px;
    margin-bottom: 26px;
  }
}
