:root {
  color-scheme: light;
  --ink: #17211e;
  --muted: #5f6c67;
  --paper: #f7f6ef;
  --surface: #fffef9;
  --line: #d9ddd5;
  --green: #176b50;
}

* { box-sizing: border-box; }

body {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

header,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

nav { display: flex; gap: 20px; }

nav a,
.actions a {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

nav a:hover,
.actions a:hover { text-decoration: underline; }

main { padding-bottom: 72px; }

section {
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}

.hero { padding: 96px 0; }

.label {
  color: var(--green);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

h1,
h2,
h3 { line-height: 1.15; }

h1 {
  max-width: 800px;
  margin: 18px 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 6.2rem);
  font-weight: 500;
  letter-spacing: -.05em;
}

h2 {
  margin: 0 0 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -.035em;
}

h3 { margin: 0 0 8px; font-size: 1.05rem; }

p { max-width: 760px; margin: 0; color: var(--muted); }

.lead { font-size: 1.15rem; }

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

.actions a {
  padding: 10px 17px;
  border: 1px solid var(--green);
  border-radius: 999px;
}

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

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

article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

pre {
  overflow-x: auto;
  margin: 0 0 20px;
  padding: 22px;
  color: #ddf6e7;
  background: #13201b;
  border-radius: 12px;
  font: .88rem/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
p code { padding: .1rem .3rem; color: #104b39; background: #dcebe2; border-radius: .25rem; }

footer {
  color: var(--muted);
  border-top: 0;
  border-bottom: 0;
  font-size: .8rem;
}

@media (max-width: 640px) {
  body { padding: 0 18px; }
  header { align-items: flex-start; }
  nav { flex-direction: column; gap: 4px; text-align: right; }
  section { padding: 48px 0; }
  .hero { padding: 72px 0; }
  .grid { grid-template-columns: 1fr; }
}
