:root {
  color-scheme: light;
  --bg: #f7f4ee;
  --surface: #fffaf2;
  --text: #222733;
  --muted: #68707f;
  --line: #ded6c8;
  --accent: #2f5f56;
  --accent-strong: #173f39;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

a {
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page {
  width: min(880px, 100%);
  margin: 0 auto;
  padding: 64px 24px 80px;
}

.hero,
.doc-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
  margin-bottom: 28px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 7vw, 56px);
  line-height: 1.1;
  letter-spacing: 0;
}

h2 {
  margin: 36px 0 10px;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: 0;
}

p,
ul {
  margin: 10px 0;
}

ul {
  padding-left: 22px;
}

li + li {
  margin-top: 6px;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

.meta {
  color: var(--muted);
  font-size: 14px;
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;
}

.language-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
}

.language-switch span,
.language-switch a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  text-decoration: none;
}

.language-switch span {
  color: var(--text);
  font-weight: 700;
}

.link-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.link-list a {
  display: block;
  min-height: 56px;
  padding: 15px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
}

.document section {
  padding-bottom: 2px;
}

@media (max-width: 560px) {
  .page {
    padding: 40px 18px 56px;
  }

  .lead {
    font-size: 16px;
  }
}
