:root {
  color-scheme: light;
  --background: #f7f2ea;
  --card: #fffcf6;
  --card-alt: #f2eadf;
  --primary: #536b57;
  --primary-soft: #e5ede2;
  --text: #2b2925;
  --muted: #746f66;
  --soft: #9a9388;
  --border: #e3d8c8;
  --shadow: 0 18px 44px rgba(43, 41, 37, 0.08);
}

* {
  box-sizing: border-box;
}

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

a {
  color: var(--primary);
  font-weight: 800;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.page {
  margin: 0 auto;
  max-width: 920px;
  padding: 28px 20px 56px;
}

.site-header {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 28px;
}

.brand {
  color: var(--primary);
  display: inline-flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 8vw, 56px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  padding-top: 10px;
}

.nav a,
.pill-link {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--primary);
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  padding: 10px 14px;
  text-decoration: none;
}

.hero,
.document {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero {
  padding: clamp(28px, 7vw, 56px);
}

.eyebrow {
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1 {
  color: var(--text);
  font-size: clamp(34px, 8vw, 58px);
  letter-spacing: 0;
  line-height: 1.04;
  margin: 0 0 16px;
}

.intro {
  color: var(--muted);
  font-size: clamp(17px, 3vw, 21px);
  line-height: 1.45;
  margin: 0;
  max-width: 680px;
}

.link-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.link-card {
  background: var(--card-alt);
  border: 1px solid var(--border);
  border-radius: 18px;
  color: var(--text);
  display: block;
  padding: 18px;
  text-decoration: none;
}

.link-card strong {
  color: var(--text);
  display: block;
  font-size: 18px;
  margin-bottom: 6px;
}

.link-card span {
  color: var(--muted);
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.document {
  padding: clamp(24px, 6vw, 52px);
}

.document-meta {
  background: var(--primary-soft);
  border: 1px solid #cedbc9;
  border-radius: 18px;
  color: var(--primary);
  display: grid;
  gap: 4px;
  font-size: 14px;
  font-weight: 800;
  margin: 18px 0 28px;
  padding: 14px 16px;
}

.document h1 {
  font-size: clamp(32px, 7vw, 52px);
  margin-bottom: 8px;
}

.document h2 {
  color: var(--text);
  font-size: clamp(21px, 4vw, 28px);
  line-height: 1.2;
  margin: 34px 0 10px;
}

.document h3 {
  color: var(--primary);
  font-size: 17px;
  line-height: 1.3;
  margin: 22px 0 8px;
}

.document p,
.document li {
  color: var(--muted);
  font-size: 16px;
}

.document p {
  margin: 0 0 14px;
}

.document ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.contact-line {
  color: var(--primary);
  font-weight: 800;
}

.site-footer {
  color: var(--soft);
  font-size: 13px;
  font-weight: 700;
  margin-top: 28px;
  text-align: center;
}

@media (max-width: 640px) {
  .site-header {
    display: block;
  }

  .nav {
    justify-content: flex-start;
    margin-top: 14px;
  }

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

