:root {
  color-scheme: light;
  --ink: #1f2522;
  --muted: #66736d;
  --paper: #fbf7ef;
  --surface: #ffffff;
  --line: #e5ded2;
  --accent: #3f7d66;
  --accent-dark: #2d5b49;
}

* {
  box-sizing: border-box;
}

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

a {
  color: var(--accent-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.page {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 56px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 28px;
}

.brand {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  font-size: 0.95rem;
}

.hero,
.document {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 5vw, 46px);
}

.hero h1,
.document h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.document h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.lede {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.1rem;
}

.actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.action {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fdfbf7;
  color: var(--ink);
  text-decoration: none;
}

.action strong {
  display: block;
  margin-bottom: 5px;
}

.action span {
  color: var(--muted);
  font-size: 0.95rem;
}

.meta {
  color: var(--muted);
  margin: 0 0 28px;
}

.document h2 {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 1.35rem;
}

.document h3 {
  margin-top: 24px;
  font-size: 1.08rem;
}

.document ul {
  padding-left: 1.25rem;
}

.notice {
  border-left: 4px solid var(--accent);
  background: #f4f0e8;
  padding: 14px 16px;
  margin: 24px 0;
}

.site-footer {
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.92rem;
}

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

  .nav {
    justify-content: flex-start;
  }

  .actions {
    grid-template-columns: 1fr;
  }
}
