:root {
  --bg: #FAF7F2;
  --surface: #FFFFFF;
  --text: #1F2229;
  --text-muted: #5A5F6A;
  --border: #E8E2D7;
  --accent: #C0573D;
  --accent-text: #FFFFFF;
  --max-width: 720px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

header {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 600;
  font-size: 19px;
  text-decoration: none;
  color: var(--text);
  letter-spacing: -0.01em;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 24px;
  font-size: 15px;
}

nav a:hover { color: var(--text); }

main { padding: 56px 0 80px; }

.hero { text-align: center; padding: 32px 0 56px; }

.hero h1 {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  font-weight: 500;
}

.hero p.lede {
  font-size: 21px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.5;
}

.pill {
  display: inline-block;
  padding: 10px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
}

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 48px 0 0;
}

@media (min-width: 720px) {
  .features { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}

.feature h3 {
  font-size: 17px;
  margin: 0 0 8px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.feature p {
  color: var(--text-muted);
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

article h1 {
  font-size: 36px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  font-weight: 500;
}

article .meta {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 40px;
}

article h2 {
  font-size: 22px;
  margin-top: 48px;
  margin-bottom: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

article h3 {
  font-size: 18px;
  margin-top: 28px;
  margin-bottom: 10px;
  font-weight: 600;
}

article p, article li {
  font-size: 16px;
  line-height: 1.7;
}

article ul, article ol { padding-left: 24px; }
article li { margin-bottom: 6px; }
article a { color: var(--accent); }
article a:hover { text-decoration: underline; }
article strong { color: var(--text); font-weight: 600; }

article table {
  border-collapse: collapse;
  width: 100%;
  margin: 20px 0 28px;
  font-size: 14px;
  display: block;
  overflow-x: auto;
}

article th, article td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

article th {
  font-weight: 600;
  background: rgba(0, 0, 0, 0.02);
}

footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 48px;
  color: var(--text-muted);
  font-size: 14px;
}

footer .container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

footer .links a {
  color: var(--text-muted);
  margin-right: 20px;
  text-decoration: none;
}

footer .links a:hover { color: var(--text); }

.support-section + .support-section { margin-top: 40px; }
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 16px 0 0;
}
.contact-card p { margin: 0 0 6px; }
.contact-card .email {
  font-size: 18px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
}

@media (max-width: 600px) {
  .hero h1 { font-size: 40px; }
  .hero p.lede { font-size: 18px; }
  nav a { margin-left: 16px; font-size: 14px; }
  main { padding: 40px 0 64px; }
  article h1 { font-size: 28px; }
  article h2 { font-size: 20px; margin-top: 36px; }
}
