:root {
  color-scheme: light;
  --ink: #141414;
  --muted: #626262;
  --line: #e7e2dc;
  --paper: #fffdf9;
  --soft: #f7f1eb;
  --accent: #b41fa9;
  --green: #2f8f67;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.58;
}

a {
  color: inherit;
  text-decoration-color: rgba(20, 20, 20, 0.35);
  text-underline-offset: 0.18em;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 2;
}

.nav {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 760;
  font-size: 20px;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
}

.hero,
.document {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  padding: 72px 0 52px;
}

.hero-kicker {
  color: var(--green);
  font-weight: 700;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
  margin: 0;
}

.hero p {
  color: var(--muted);
  font-size: 20px;
  max-width: 690px;
  margin: 24px 0 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  background: var(--ink);
  color: white;
}

.document {
  padding: 54px 0 80px;
}

.document-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
  margin-bottom: 34px;
}

.document-header h1 {
  font-size: clamp(38px, 6vw, 62px);
}

.updated {
  color: var(--muted);
  margin: 18px 0 0;
}

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

h2 {
  font-size: 24px;
  line-height: 1.18;
  margin: 0 0 12px;
  letter-spacing: 0;
}

p,
li {
  font-size: 17px;
}

p {
  margin: 0;
  color: #303030;
}

ul {
  margin: 10px 0 0;
  padding-left: 22px;
  color: #303030;
}

.notice {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  margin-top: 26px;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-inner {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
}

@media (max-width: 680px) {
  .nav {
    width: min(100% - 28px, 1040px);
    min-height: 68px;
  }

  .nav-links {
    gap: 12px;
    font-size: 14px;
  }

  .hero,
  .document,
  .footer-inner {
    width: min(100% - 28px, 920px);
  }

  .hero {
    padding-top: 52px;
  }
}
