:root {
  --bg: #f6f1e7;
  --ink: #1a2942;
  --accent-sand: #d4a574;
  --accent-sage: #7d9472;
  --surface: #ffffff;
  --border: #e4dcc9;
  --font-display: 'Fraunces', Georgia, serif;
  --font-ui: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Geist Mono', 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --r-pill: 999px;
  --r-card: 12px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 400;
}

a { color: var(--ink); text-underline-offset: 2px; }
a:hover { color: var(--accent-sage); }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 24px 20px;
}

.site-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.4px;
  color: var(--ink);
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 20px;
  font-size: 14px;
  font-weight: 500;
}

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

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  opacity: 1;
  color: var(--accent-sage);
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 12px 24px 80px;
}

.hero {
  padding: 56px 0 40px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 32px;
  letter-spacing: -0.7px;
  margin: 0 0 18px;
}

.hero p {
  font-size: 17px;
  line-height: 1.6;
  max-width: 56ch;
  margin: 0 0 14px;
}

.pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-sage);
  margin-bottom: 20px;
}

.section-divider {
  padding-top: 8px;
  margin-top: 16px;
}

.section-divider hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 0 28px;
}

.section-divider h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin: 0 0 10px;
}

.section-divider p {
  font-size: 15px;
  line-height: 1.6;
}

.legal h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.6px;
  margin: 40px 0 4px;
}

.legal .meta {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-sage);
  margin-bottom: 32px;
}

.legal h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin: 36px 0 10px;
}

.legal h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 24px 0 8px;
}

.legal p, .legal li { font-size: 14.5px; line-height: 1.6; }

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 20px;
  font-size: 13.5px;
}

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

.legal th {
  font-weight: 600;
  color: var(--accent-sage);
}

.legal code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--bg);
  padding: 1px 5px;
  border-radius: 4px;
}

.legal strong { font-weight: 600; }

.legal hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

.site-footer {
  max-width: 760px;
  margin: 40px auto 0;
  padding: 24px 24px 40px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.6;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 560px) {
  .site-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero h1 { font-size: 26px; }
}
