:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #1c1b19;
  --muted: #5f5c55;
  --line: #e6e2d9;
  --accent: #b4532a;
  --accent-soft: #f6e7dd;
  --code-bg: #f1eee7;
  --radius: 14px;
  --max: 1040px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141311;
    --surface: #1c1b18;
    --text: #efece6;
    --muted: #a6a197;
    --line: #2e2c28;
    --accent: #e8875a;
    --accent-soft: #2f2019;
    --code-bg: #24221e;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code {
  font: 0.9em ui-monospace, "SF Mono", Menlo, monospace;
  background: var(--code-bg);
  padding: 0.1em 0.35em;
  border-radius: 5px;
}

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

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: 64px;
}
.brand { font-weight: 700; font-size: 20px; color: var(--text); letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand span { color: var(--accent); }
.site-nav { display: flex; gap: 20px; font-size: 15px; }
.site-nav a { color: var(--muted); }
.site-nav a[aria-current="page"] { color: var(--text); font-weight: 600; }

/* Hero */
.hero { padding: 88px 0 64px; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent); background: var(--accent-soft);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 60px); line-height: 1.08; letter-spacing: -0.025em;
  margin: 0 auto 20px; max-width: 14em;
}
.hero p.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 38em; margin: 0 auto 32px; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 16px;
  border: 1px solid var(--line); color: var(--text); background: var(--surface);
}
.btn:hover { text-decoration: none; border-color: var(--muted); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { filter: brightness(1.06); }
.note { font-size: 14px; color: var(--muted); margin-top: 16px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 80px; }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.step .num { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 0.05em; }
.step h3 { margin: 6px 0 8px; font-size: 20px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

/* Feature sections */
.features { display: grid; gap: 56px; margin-bottom: 80px; }
.feature { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
.feature h2 { font-size: 28px; line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 8px; }
.feature .kicker { color: var(--muted); margin: 0; }
.feature ul { margin: 0; padding-left: 1.1em; }
.feature li { margin-bottom: 8px; }
.feature li::marker { color: var(--accent); }

.band {
  background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 56px 0; margin-bottom: 80px;
}
.band h2 { font-size: 28px; margin: 0 0 24px; letter-spacing: -0.015em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 15px; background: var(--bg); }

.closing { text-align: center; padding-bottom: 88px; }
.closing h2 { font-size: 32px; letter-spacing: -0.02em; margin: 0 0 12px; }
.closing p { color: var(--muted); margin: 0 0 28px; }

/* Document pages */
.doc { max-width: 720px; margin: 0 auto; padding: 56px 20px 88px; }
.doc h1 { font-size: 40px; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 8px; }
.doc .updated { color: var(--muted); font-size: 15px; margin: 0 0 40px; }
.doc h2 { font-size: 24px; margin: 48px 0 12px; letter-spacing: -0.01em; }
.doc h3 { font-size: 18px; margin: 28px 0 6px; }
.doc p, .doc li { color: var(--text); }
.doc ul, .doc ol { padding-left: 1.2em; }
.doc li { margin-bottom: 6px; }

.contact-card {
  background: var(--accent-soft); border-radius: var(--radius); padding: 24px 28px; margin: 0 0 16px;
}
.contact-card h2 { margin: 0 0 6px; font-size: 20px; }
.contact-card p { margin: 0; }
.contact-card .email { font-size: 20px; font-weight: 600; }

details {
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
  padding: 14px 18px; margin-bottom: 10px;
}
summary { cursor: pointer; font-weight: 600; }
details[open] summary { margin-bottom: 8px; }
details p:last-child, details ul:last-child, details ol:last-child { margin-bottom: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer a { color: var(--muted); }

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; gap: 12px; }
  .hero { padding: 56px 0 44px; }
  .site-nav { gap: 14px; }
  .doc h1 { font-size: 32px; }
}
