:root {
  color-scheme: light;
  --paper: #f8f5ed;
  --ink: #192825;
  --muted: #455750;
  --line: #c9cec1;
  --green: #17493c;
  --lime: #d6ef8a;
  font-family: system-ui, sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid #28745e; outline-offset: 5px; }
.shell { width: min(72rem, calc(100% - 3rem)); margin-inline: auto; }
.site-header, nav { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.site-header { justify-content: space-between; padding-block: 1.35rem; border-bottom: 1px solid var(--line); }
nav { font-size: .92rem; }
.wordmark { font-weight: 800; text-decoration: none; }
.wordmark span { color: var(--green); }
.hero { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(3rem, 9vw, 8rem); }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: Georgia, serif; font-weight: 500; line-height: 1.05; letter-spacing: -.045em; }
h1 { font-size: clamp(2.9rem, 7vw, 6.5rem); max-width: 12ch; }
h2 { font-size: clamp(2.15rem, 4.5vw, 3.5rem); }
h3 { font-size: 1.2rem; line-height: 1.35; }
p { max-width: 68ch; color: var(--muted); }
h1 + p { margin-top: 1.35rem; font-size: 1.12rem; }
h2 + p, h3 + p, p + p, pre + p, p + pre { margin-top: .85rem; }
.button { display: inline-flex; gap: 1rem; align-items: center; margin: 1.6rem 1rem 0 0; padding: .65rem 1.05rem; background: var(--lime); font-weight: 700; text-decoration: none; border: 1px solid var(--green); border-radius: .35rem; }
.button:hover { background: #c5e374; }
.flow { list-style: none; margin: 0; padding: clamp(1.3rem, 4vw, 2.5rem); background: var(--green); color: #fff; border-radius: .8rem; }
.flow li { position: relative; padding: 1.05rem 1.2rem; border: 1px solid #8eab96; border-radius: .4rem; }
.flow li + li { margin-top: 1.4rem; }
.flow li + li::before { position: absolute; content: ""; height: 1.45rem; width: 1px; background: var(--lime); left: 1.25rem; bottom: 100%; }
.flow span { display: block; color: var(--lime); font-weight: 700; }
.flow small { font-size: .9rem; }
.section { padding-block: clamp(2.5rem, 5vw, 4.5rem); border-top: 1px solid var(--line); }
.steps { display: grid; gap: 1.8rem; padding-left: 1.6rem; margin: 2rem 0 0; max-width: 54rem; }
.steps li { padding-left: .35rem; }
.steps li::marker { color: var(--green); font-weight: 750; }
code { font-family: ui-monospace, monospace; font-size: .88em; }
pre { overflow: auto; margin: .85rem 0 0; padding: .9rem 1rem; background: #e8ece1; border-radius: .35rem; }
.callout { border-left: 3px solid var(--green); padding: .3rem 0 .3rem 1rem; }
footer { padding-block: 1.3rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }

@media (max-width: 48rem) {
  .hero { grid-template-columns: 1fr; }
  .flow { max-width: 32rem; }
}

@media (max-width: 24rem) {
  .shell { width: calc(100% - 2rem); }
}
