:root {
  --background: #f7f8f4;
  --foreground: #182018;
  --muted: #5b6658;
  --line: #d9dfd2;
  --panel: #ffffff;
  --accent: #2f6f4e;
  --accent-strong: #184d35;
  --accent-soft: #e2eee5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(47, 111, 78, 0.14), transparent 30rem),
    var(--background);
  color: var(--foreground);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

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

.page.narrow {
  width: min(820px, calc(100% - 32px));
}

.hero {
  min-height: 62vh;
  display: grid;
  align-content: center;
  gap: 24px;
}

.eyebrow {
  margin: 0;
  color: var(--accent-strong);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.5rem, 7vw, 5.8rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.lede {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.55;
}

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

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

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

.button.secondary {
  background: transparent;
  color: var(--accent-strong);
}

.panel,
.document {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 60px rgba(24, 32, 24, 0.08);
}

.panel {
  padding: 28px;
}

.principles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.principles article {
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--accent-soft);
}

.principles span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-weight: 800;
}

.principles p {
  margin: 0;
  color: var(--accent-strong);
  font-weight: 700;
  line-height: 1.35;
}

.toplink {
  margin-bottom: 24px;
}

.toplink a {
  color: var(--accent-strong);
  font-weight: 800;
  text-decoration: none;
}

.document {
  padding: clamp(24px, 5vw, 48px);
}

.document h1 {
  margin: 8px 0 18px;
  font-size: clamp(2.3rem, 6vw, 4.5rem);
}

.document h2 {
  margin-top: 36px;
  font-size: 1.35rem;
}

.document p,
.document li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

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

.effective,
.footnote {
  font-size: 0.95rem;
}

.footnote {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

@media (max-width: 820px) {
  .page {
    padding: 36px 0;
  }

  .hero {
    min-height: auto;
    padding: 32px 0;
  }

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