* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fbfaf8;
  color: #171717;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: #1f4f8f;
}

.page {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 42px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 54px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #111111;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: block;
}

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

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

.hero {
  padding: 20px 0 42px;
}

h1 {
  max-width: 650px;
  margin: 0 0 18px;
  font-size: clamp(38px, 6vw, 58px);
  font-weight: 720;
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.2;
}

h3 {
  margin: 26px 0 8px;
  font-size: 18px;
}

p,
li {
  max-width: 680px;
  color: #333333;
  font-size: 17px;
}

ul {
  padding-left: 22px;
}

.lead {
  max-width: 620px;
  color: #3e3a36;
  font-size: 20px;
}

.details {
  margin: 26px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  border-top: 1px solid #e3ded7;
  padding: 26px 0;
}

.detail {
  min-width: 0;
}

.step {
  margin-bottom: 34px;
  color: #8a8178;
  font-size: 13px;
  font-weight: 700;
}

.detail p {
  margin: 10px 0 0;
  font-size: 16px;
}

.faq {
  margin-top: 44px;
  border-top: 1px solid #e3ded7;
  padding-top: 26px;
}

.faq h2 {
  margin: 0 0 12px;
}

details {
  border-bottom: 1px solid #e3ded7;
}

details:last-child {
  border-bottom: 0;
}

summary {
  position: relative;
  display: block;
  cursor: pointer;
  padding: 18px 28px 18px 0;
  color: #171717;
  font-size: 17px;
  font-weight: 700;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #8a8178;
  border-bottom: 2px solid #8a8178;
  transform: translateY(-65%) rotate(45deg);
  transition: transform 160ms ease;
}

details[open] summary::after {
  transform: translateY(-35%) rotate(225deg);
}

details p {
  margin: 0 0 20px;
  color: #57534e;
  font-size: 16px;
}

footer {
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid #e3ded7;
  color: #57534e;
  font-size: 14px;
}

.site-footer p {
  max-width: 720px;
  margin: 0 0 22px;
  color: #6d655d;
  font-size: 14px;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-row span:last-child {
  display: flex;
  gap: 14px;
}

.footer-row a {
  color: #57534e;
  text-decoration: none;
}

@media (max-width: 720px) {
  header {
    align-items: flex-start;
    flex-direction: column;
  }

  .details {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }

  .detail {
    padding: 22px 0;
    border-bottom: 1px solid #e3ded7;
  }

  .detail:last-child {
    border-bottom: 0;
  }

  .step {
    margin-bottom: 12px;
  }

  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }
}
