:root {
  --bg: #fbfaf6;
  --ink: #23211e;
  --muted: #66615a;
  --rule: #dcd6cb;
  --dash: #b9b1a3;
  --accent: #a33b1d;
  --accent-ink: #ffffff;
  --code: #f0ebe1;
  --bad: #a3201d;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1916;
    --ink: #ebe5da;
    --muted: #a69f94;
    --rule: #34302a;
    --dash: #5a5248;
    --accent: #ec8e66;
    --accent-ink: #1b1916;
    --code: #27241f;
    --bad: #ff9a85;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.62 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); }
code, .path { font-family: var(--mono); font-size: 0.88em; background: var(--code); padding: 1px 5px; border-radius: 3px; overflow-wrap: anywhere; }

.wrap { max-width: 47rem; margin: 0 auto; padding: 0 16px; }

header.site { padding: 18px 0 0; }
header.site a { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 16px; letter-spacing: 0.01em; }
header.site svg { width: 22px; height: 28px; }

main { padding: 18px 0 40px; }
h1 { font-size: 38px; line-height: 1.12; margin: 18px 0 16px; letter-spacing: -0.02em; font-weight: 800; max-width: 18ch; }
h2 { font-size: 23px; line-height: 1.25; margin: 42px 0 12px; font-weight: 750; }
h3 { font-size: 18px; margin: 24px 0 6px; }
p, ul, ol { margin: 0 0 14px; }
li { margin-bottom: 7px; }
.lede { font-size: 19.5px; line-height: 1.55; }
.muted, .fine { color: var(--muted); font-size: 15px; }

.tear { border: 0; border-top: 2px dashed var(--dash); margin: 34px 0; }

ol.steps { list-style: none; padding: 0; counter-reset: step; }
ol.steps > li { counter-increment: step; position: relative; padding-left: 52px; margin-bottom: 20px; }
ol.steps > li::before {
  content: counter(step);
  position: absolute; left: 0; top: -2px;
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid var(--accent); color: var(--accent);
  font-weight: 800; font-size: 17px; text-align: center; line-height: 32px;
}
ol.steps h3 { margin-top: 0; }

.files { width: 100%; border-collapse: collapse; font-size: 15px; margin: 0 0 16px; }
.files th, .files td { text-align: left; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.files th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); font-weight: 700; }
.table-scroll { overflow-x: auto; }

.slip {
  border: 1px solid var(--rule); border-top: 6px solid var(--accent);
  padding: 18px 20px 20px; margin: 40px 0 0; background: var(--bg);
}
.slip h2 { margin-top: 4px; }
.flag { font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: 0.03em; }

form.signup { margin-top: 20px; }
form.signup label[for="email"] { display: block; font-weight: 700; margin-bottom: 6px; }
form.signup .row { display: flex; gap: 8px; flex-wrap: wrap; }
form.signup input[type="email"] {
  flex: 1 1 16rem; min-width: 0; font: inherit; font-size: 16px; padding: 10px 12px; min-height: 48px;
  border: 2px solid var(--rule); background: var(--bg); color: var(--ink); border-radius: 6px;
}
form.signup button {
  flex: 0 0 auto; font: inherit; font-weight: 700; padding: 10px 20px; min-height: 48px; cursor: pointer;
  background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 6px;
}
form.signup button:disabled { opacity: 0.6; cursor: default; }
form.signup.done .row, form.signup.done label[for="email"] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { margin: 10px 0 0; font-weight: 700; min-height: 1.6em; }
.msg.bad { color: var(--bad); }
input:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

footer.site { padding: 24px 0 40px; border-top: 2px dashed var(--dash); color: var(--muted); font-size: 14.5px; }
footer.site p { margin-bottom: 8px; }

@media (max-width: 560px) {
  body { font-size: 16.5px; }
  h1 { font-size: 30px; }
  h2 { font-size: 21px; }
  ol.steps > li { padding-left: 46px; }
  form.signup button { width: 100%; }
}
