:root {
  --ink: #1a1f1c;
  --muted: #4a534c;
  --paper: #f3efe6;
  --paper-deep: #e6e0d2;
  --accent: #0f5c4c;
  --accent-soft: #d7ebe4;
  --line: rgba(26, 31, 28, 0.12);
  --max: 42rem;
  --font-display: Georgia, "Times New Roman", "Palatino Linotype", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, #dff0ea 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #efe6d4 0%, transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%);
}

a {
  color: var(--accent);
  text-underline-offset: 0.15em;
}

a:hover {
  text-decoration-thickness: 2px;
}

.wrap {
  width: min(100% - 2rem, 56rem);
  margin: 0 auto;
}

.site-header {
  padding: 1.25rem 0 0.5rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  font-size: 0.95rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a[aria-current="page"],
.nav a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.hero {
  padding: 3.5rem 0 2.5rem;
  max-width: var(--max);
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero .lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 36rem;
}

.cta-row {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  border-radius: 0.35rem;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #f7fbf9;
  text-decoration: none;
  font-weight: 600;
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
}

main.page {
  padding: 2.25rem 0 3.5rem;
}

.prose {
  max-width: var(--max);
}

.prose h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.prose .meta {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.prose h2 {
  margin: 2rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.015em;
}

.prose p,
.prose li {
  color: var(--ink);
}

.prose ul {
  padding-left: 1.2rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  margin-bottom: 0.75rem;
}

.features {
  display: grid;
  gap: 1.25rem;
  padding: 0 0 3rem;
  max-width: 48rem;
}

.features article {
  padding: 0;
}

.features h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.features p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 560px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
