:root {
  color-scheme: light;
  --ink: #17221d;
  --muted: #617068;
  --paper: #f7f5ef;
  --panel: #fffdf8;
  --line: #dcd8cc;
  --accent: #276749;
  --accent-soft: #dceade;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 17px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.shell {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 32px;
}

.brand, .brand a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  color: white;
  background: var(--accent);
  font-family: Georgia, serif;
  font-size: 23px;
}

.hero { padding: 112px 0 72px; }
.eyebrow { color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.12; }
h1 { max-width: 760px; margin: 12px 0 24px; font-size: clamp(45px, 8vw, 76px); letter-spacing: -.035em; }
h2 { margin-top: 42px; font-size: 29px; }
.lede { max-width: 720px; color: var(--muted); font-size: 21px; }

.panel, article {
  padding: clamp(28px, 6vw, 60px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: 0 20px 60px rgba(32, 50, 40, .06);
}

.panel h2, article h2:first-of-type { margin-top: 0; }
.document article { margin-top: 64px; }
.document h1 { font-size: clamp(42px, 7vw, 62px); }
p { max-width: 760px; }
a { color: var(--accent); }

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px 28px;
  margin-top: 44px;
  color: var(--muted);
  font-size: 15px;
}

footer nav, .document footer { display: flex; gap: 24px; }

@media (max-width: 600px) {
  .shell { width: min(100% - 28px, 900px); padding-top: 24px; }
  .hero { padding: 72px 0 48px; }
  .panel, article { border-radius: 14px; }
}
