:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  color: #20262e;
  background: #f4f6f7;
  line-height: 1.55;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
}

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

.site-header,
footer {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header {
  min-height: 76px;
  border-bottom: 1px solid #d8dee2;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #20262e;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  background: #176b55;
  color: #fff;
  font-size: 12px;
  border-radius: 4px;
}

nav {
  display: flex;
  gap: 22px;
}

nav a {
  color: #4a535d;
  font-size: 14px;
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  color: #176b55;
  text-decoration: underline;
}

main {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  flex: 1;
}

.intro {
  max-width: 820px;
  padding: 88px 0 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #176b55;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2 {
  margin-top: 0;
  letter-spacing: 0;
  line-height: 1.18;
}

h1 {
  margin-bottom: 22px;
  color: #17212b;
  font-size: clamp(36px, 5vw, 58px);
}

h2 {
  margin-bottom: 12px;
  color: #29323b;
  font-size: 21px;
}

p {
  margin: 0 0 16px;
}

.lead {
  max-width: 760px;
  color: #4a535d;
  font-size: 20px;
}

.details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  padding: 42px 0 76px;
  border-top: 1px solid #d8dee2;
}

.document {
  max-width: 840px;
  padding: 72px 0 80px;
}

.document h1 {
  font-size: 42px;
}

.document section {
  padding-top: 28px;
  border-top: 1px solid #d8dee2;
  margin-top: 28px;
}

footer {
  min-height: 78px;
  padding: 20px 0;
  border-top: 1px solid #d8dee2;
  color: #66717c;
  font-size: 13px;
}

@media (max-width: 680px) {
  .site-header,
  footer {
    width: min(100% - 28px, 1080px);
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
  }

  nav {
    gap: 16px;
    flex-wrap: wrap;
  }

  main {
    width: min(100% - 28px, 1080px);
  }

  .intro,
  .document {
    padding: 52px 0 56px;
  }

  h1,
  .document h1 {
    font-size: 34px;
  }

  .lead {
    font-size: 18px;
  }

  .details {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
