:root {
  --text: #1d1d1f;
  --secondary: #60646c;
  --line: #e5e7eb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  display: flex;
  align-items: center;
  height: 72px;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.page-heading {
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--line);
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(36px, 7vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.intro {
  max-width: 640px;
  margin: 0 0 16px;
  color: var(--secondary);
  font-size: 18px;
}

.updated {
  margin: 0;
  color: var(--secondary);
  font-size: 14px;
}

.policy {
  padding: 12px 0 64px;
}

.policy section {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

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

h2 {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.policy p {
  margin: 0 0 16px;
  color: #3f4248;
}

.policy p:last-child {
  margin-bottom: 0;
}

footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--secondary);
  font-size: 14px;
}

footer p {
  margin: 0;
}

@media (max-width: 600px) {
  .site-header,
  main,
  footer {
    width: min(100% - 32px, 720px);
  }

  .site-header {
    height: 64px;
  }

  .page-heading {
    padding: 48px 0 36px;
  }

  h1 {
    font-size: 38px;
  }

  .intro {
    font-size: 17px;
  }

  .policy section {
    padding: 32px 0;
  }

  h2 {
    font-size: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
