:root {
  color-scheme: dark;
  --bg: #0d0d0d;
  --surface: #1c1c1e;
  --text: #f5f5f7;
  --muted: #a1a1a6;
  --line: #2c2c2e;
  --green: #29c934;
  --green-dim: #15451b;
  --todo-bg: #ffd84d;
  --todo-text: #1c1c1e;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.site-header,
.site-footer,
.doc {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.site-header { padding-top: 24px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.brand img { border-radius: 8px; }

.doc { padding-top: 48px; padding-bottom: 64px; }

.doc h1 {
  margin: 0;
  font-size: clamp(34px, 7vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.doc h2 {
  margin: 44px 0 8px;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.doc h3 { margin: 28px 0 4px; font-size: 18px; }

.doc p { margin: 0 0 14px; }

.doc ul { margin: 0 0 14px; padding-left: 22px; }

.doc li { margin-bottom: 6px; }

.meta { margin-top: 8px !important; color: var(--muted); }

.lede { margin-top: 24px !important; font-size: 19px; line-height: 1.5; }

.doc table {
  width: 100%;
  margin: 8px 0 14px;
  border-collapse: collapse;
  font-size: 16px;
}

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

.doc th { color: var(--muted); font-weight: 600; }

.summary {
  margin-top: 32px;
  padding: 20px 22px 8px;
  background: var(--surface);
  border-left: 4px solid var(--green);
  border-radius: 14px;
}

.summary h2 { margin-top: 0; font-size: 20px; }

mark {
  padding: 1px 4px;
  background: var(--todo-bg);
  color: var(--todo-text);
  border-radius: 4px;
}

.site-footer {
  padding-top: 24px;
  padding-bottom: 40px;
  border-top: 1px solid var(--line);
}

.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }

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

.site-footer a:hover,
.site-footer a[aria-current] { color: var(--text); }

/* Landing page */
.site-header.wide,
.site-footer.wide,
.wide {
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

.glow { background: radial-gradient(900px 620px at 50% -120px, #0f4a1f 0%, transparent 72%); }

.shot {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 0 auto;
  border-radius: 28px;
}

.hero {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 72px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.lead {
  max-width: 30em;
  margin: 20px 0 28px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.45;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--green);
  color: #06210a;
  font-weight: 650;
  border-radius: 14px;
  text-decoration: none;
}

.cta:hover { background: #3bdc46; }

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

.steps { padding-top: 40px; padding-bottom: 56px; }

.steps h2,
.feature h2,
.closing h2 {
  margin: 0;
  font-size: clamp(30px, 4.5vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.steps ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li,
.more > div {
  padding: 22px;
  background: var(--surface);
  border-radius: 16px;
}

.steps li { counter-increment: step; }

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  background: var(--green-dim);
  color: var(--green);
  font-weight: 700;
  border-radius: 8px;
}

.steps h3,
.more h3 { margin: 0 0 4px; font-size: 19px; }

.steps p,
.more p { margin: 0; color: var(--muted); }

.feature {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  align-items: center;
  gap: 56px;
  padding-top: 48px;
  padding-bottom: 48px;
}

.feature p { max-width: 30em; margin: 14px 0 0; color: var(--muted); font-size: 19px; line-height: 1.5; }

.feature.flip .shot { order: 2; }

.more {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 48px;
  padding-bottom: 48px;
}

.closing { padding-top: 56px; padding-bottom: 88px; text-align: center; }

.closing .cta { margin-top: 24px; }

@media (max-width: 760px) {
  .hero,
  .feature { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding-top: 40px; padding-bottom: 48px; }
  .feature .shot,
  .feature.flip .shot { order: 2; }
  .steps ol { grid-template-columns: 1fr; }
  .more { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .more { grid-template-columns: 1fr; }
}