:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  color: #182538;
  background: #f6f4ef;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 48px 20px;
  background: #f6f4ef;
}

main {
  width: min(760px, 100%);
  margin: 0 auto;
  border: 1px solid #d9d6cd;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.document-header {
  padding: 44px 48px 36px;
  border-bottom: 1px solid #dedbd3;
}

.product-name {
  margin: 0 0 10px;
  color: #5b6571;
  font-size: 14px;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(30px, 6vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.document-header p:not(.product-name) {
  margin: 10px 0 0;
  color: #4f5b68;
  font-size: 15px;
  line-height: 1.8;
}

.document-header .summary {
  margin-top: 22px;
  color: #182538;
  font-size: 18px;
  font-weight: 700;
}

.document-body {
  padding: 0 48px;
}

section {
  padding: 27px 0;
  border-bottom: 1px solid #e2dfd8;
}

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

h2 {
  margin: 0 0 9px;
  font-size: 18px;
  line-height: 1.5;
}

section p {
  margin: 0;
  color: #4f5b68;
  font-size: 15px;
  line-height: 1.8;
}

a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #17375e;
  font-weight: 700;
  overflow-wrap: anywhere;
  text-underline-offset: 4px;
}

section p.contact-email {
  min-height: 44px;
  display: flex;
  align-items: center;
  color: #17375e;
  font-weight: 700;
  overflow-wrap: anywhere;
}

section p.contact-note {
  margin-top: 2px;
  color: #68727d;
  font-size: 13px;
}

footer {
  padding: 20px 48px 24px;
  display: flex;
  gap: 16px;
  border-top: 1px solid #dedbd3;
  color: #68727d;
  font-size: 12px;
}

footer p {
  margin: 0;
}

@media (max-width: 620px) {
  body {
    padding: 16px 10px 28px;
  }

  main {
    border-radius: 10px;
  }

  .document-header {
    padding: 30px 24px 26px;
  }

  .document-body {
    padding: 0 24px;
  }

  footer {
    padding: 20px 24px 24px;
    flex-direction: column;
    gap: 4px;
  }
}
