:root {
  --bg: #ffffff;
  --fg: #111111;
  --muted: #5c5c5c;
  --line: #e6e6e6;
  --soft: #f5f5f4;
  --accent: #0d0d0d;
  --accent-fg: #ffffff;
  --todo-bg: #fff3c4;
  --todo-fg: #5a4300;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0d0d;
    --fg: #ececec;
    --muted: #a3a3a3;
    --line: #262626;
    --soft: #171717;
    --accent: #ffffff;
    --accent-fg: #0d0d0d;
    --todo-bg: #4a3b00;
    --todo-fg: #ffe7a0;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: inherit; text-underline-offset: 3px; }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }

header.top { border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 18px; text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 0 0 1px var(--line); }
nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 15px; }
nav a:hover { color: var(--fg); }

.hero { padding: 72px 0 48px; }
.hero h1 { font-size: clamp(32px, 6vw, 46px); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 18px; }
.hero p.lead { font-size: 20px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.button {
  display: inline-block; background: var(--accent); color: var(--accent-fg);
  padding: 12px 20px; border-radius: 999px; text-decoration: none; font-weight: 600;
}
.note { color: var(--muted); font-size: 15px; margin-top: 14px; }
.intro { margin: 0 0 18px; color: var(--muted); }
.waitlist { display: grid; gap: 14px; max-width: 560px; }
.waitlist label { display: block; font-weight: 600; font-size: 15px; }
.waitlist label input { display: block; margin-top: 6px; }
.waitlist .opt { font-weight: 400; color: var(--muted); }
.waitlist input[type=email], .waitlist input[type=text] {
  font: inherit; color: var(--fg); background: var(--bg); width: 100%;
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px;
}
.waitlist input:focus { outline: 2px solid var(--fg); outline-offset: 1px; }
.waitlist .pair { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .waitlist .pair { grid-template-columns: 1fr; } }
.waitlist fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.waitlist legend { font-weight: 600; font-size: 15px; margin-bottom: 8px; padding: 0; }
.waitlist label.check { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; }
.waitlist input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--accent); }
.waitlist .button { border: 0; font: inherit; font-weight: 600; cursor: pointer; justify-self: start; }
.waitlist .note { margin: 0; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { background: var(--todo-bg); color: var(--todo-fg); border-radius: 10px; padding: 10px 14px; margin: 0 0 14px; }

section { padding: 36px 0; border-top: 1px solid var(--line); }
section h2 { font-size: 24px; letter-spacing: -0.01em; margin: 0 0 18px; }
.steps { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.step { background: var(--soft); border-radius: 14px; padding: 18px; }
.step b { display: block; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
@media (max-width: 480px) { nav a { margin-left: 12px; } .hero { padding: 48px 0 36px; } }

ul.plain { padding-left: 20px; margin: 0; }
ul.plain li { margin: 6px 0; }

.doc { padding-top: 48px; padding-bottom: 24px; }
.doc h1 { font-size: 34px; letter-spacing: -0.02em; margin: 0 0 6px; }
.doc .meta { color: var(--muted); margin: 0 0 28px; font-size: 15px; }
.doc h2 { font-size: 21px; margin: 36px 0 10px; }
.doc h3 { font-size: 17px; margin: 22px 0 6px; }
.doc p, .doc li { max-width: 40em; }
.summary { background: var(--soft); border-radius: 14px; padding: 18px 22px; margin: 0 0 12px; }
.summary ul { margin: 8px 0 0; padding-left: 20px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 10px 0; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); }
th { font-weight: 600; }
.todo { background: var(--todo-bg); color: var(--todo-fg); border-radius: 4px; padding: 0 4px; }

footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 24px 0 40px; color: var(--muted); font-size: 14px; }
footer a { margin-right: 16px; }
footer p { margin: 10px 0 0; }
