:root {
  --ink: #1a1a1a;
  --muted: #5a5a5a;
  --line: #e5e5e5;
  --bg: #ffffff;
  --accent: #2d6a4f;
  --max-width: 720px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
    Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

header.site {
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
  padding-bottom: 24px;
}

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

.brand .lower {
  font-weight: 700;
}

nav.site {
  margin-top: 16px;
  display: flex;
  gap: 24px;
  font-size: 15px;
}

nav.site a {
  color: var(--muted);
  text-decoration: none;
}

nav.site a:hover {
  color: var(--accent);
  text-decoration: underline;
}

h1 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  line-height: 1.2;
}

.lede {
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 40px;
}

h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 48px 0 12px;
  line-height: 1.3;
}

h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 28px 0 8px;
}

p, ul, ol {
  margin: 0 0 16px;
}

ul, ol {
  padding-left: 22px;
}

li {
  margin-bottom: 6px;
}

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

a:hover {
  text-decoration: underline;
}

table {
  border-collapse: collapse;
  width: 100%;
  margin: 16px 0 24px;
  font-size: 15px;
}

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

th {
  font-weight: 600;
  background: #fafafa;
}

code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: #f4f4f4;
  padding: 1px 6px;
  border-radius: 4px;
}

footer.site {
  margin-top: 80px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.hero {
  padding: 24px 0 8px;
}

.hero h1 {
  font-size: 40px;
  margin-bottom: 16px;
}

.hero p {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
}

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.card {
  display: block;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.card:hover {
  border-color: var(--accent);
  text-decoration: none;
}

.card h3 {
  margin: 0 0 6px;
  font-size: 17px;
  color: var(--accent);
}

.card p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

@media (max-width: 560px) {
  .wrap {
    padding: 40px 20px 64px;
  }
  h1 {
    font-size: 28px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  footer.site {
    flex-direction: column;
  }
}
