:root {
  color-scheme: light;
  --ink: #17211b;
  --muted: #66736b;
  --line: rgba(23, 33, 27, 0.12);
  --paper: #f7f3ea;
  --card: rgba(255, 255, 255, 0.68);
  --green: #173c2b;
  --sage: #dfe9df;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 10%, rgba(191, 214, 193, 0.55), transparent 36rem),
    linear-gradient(135deg, #fbf7ef 0%, var(--paper) 50%, #eef4ed 100%);
}

a {
  color: var(--green);
}

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

.narrow {
  width: min(760px, calc(100% - 40px));
}

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

.eyebrow,
.grid span,
.muted {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 880px;
  margin: 0;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 8vw, 104px);
  line-height: 0.94;
  font-weight: 500;
  letter-spacing: 0;
}

.narrow h1 {
  font-size: clamp(44px, 7vw, 74px);
}

h2 {
  margin: 10px 0 8px;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 0;
}

p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.lead {
  max-width: 690px;
  font-size: 22px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
  text-decoration: none;
  font-weight: 750;
}

.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

article,
.panel {
  min-height: 210px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 24px 80px rgba(23, 33, 27, 0.08);
}

.back {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mail {
  display: inline-block;
  margin: 16px 0 30px;
  font-size: 24px;
  font-weight: 800;
}

.panel {
  min-height: auto;
  margin-top: 16px;
}

.links {
  margin-top: 28px;
}

.prose h2 {
  margin-top: 34px;
}

.prose p {
  margin-top: 10px;
}

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

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

  .hero {
    min-height: auto;
  }
}
