:root {
  --bg: #f4f5f2;
  --card: #ffffff;
  --ink: #111214;
  --muted: #5b6066;
  --line: #e9eae6;
  --blue: #2563c9;
  --green: #1a8f4c;
  --accent: #e8590c;
  --red: #c9372c;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 18px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 680px; }

header.top { padding: 18px 0; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }

.btn {
  display: inline-block; background: var(--ink); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 18px; padding: 15px 24px; border-radius: 14px; border: 0; cursor: pointer;
  font-family: inherit;
}
.btn.small { font-size: 15px; padding: 10px 16px; border-radius: 12px; }
.btn:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.hero { padding: 28px 0 8px; }
.hero h1 { font-size: clamp(34px, 7vw, 60px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 16px; max-width: 16ch; }
.hero p.lead { font-size: clamp(19px, 2.6vw, 23px); color: var(--muted); margin: 0 0 24px; max-width: 34em; }
.hero .note { font-size: 15px; color: var(--muted); margin: 12px 0 0; }
.shot {
  margin: 32px 0 0; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 10px;
  box-shadow: 0 10px 40px rgba(17, 18, 20, 0.08);
}
.shot img { border-radius: 12px; width: 100%; }
figure { margin: 0; }
figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; text-align: center; }

section { padding: 56px 0 0; }
h2 { font-size: clamp(27px, 4.4vw, 38px); line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 14px; }
section > .wrap > p { color: var(--muted); max-width: 36em; margin: 0 0 14px; }
section > .wrap > p.ink { color: var(--ink); }

.cols { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 22px; }
@media (min-width: 760px) { .cols.three { grid-template-columns: repeat(3, 1fr); } .cols.two { grid-template-columns: 1fr 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); font-size: 17px; }
.tag { display: inline-block; font-weight: 800; font-size: 15px; margin-bottom: 8px; }
.tag.todo { color: var(--ink); } .tag.onit { color: var(--blue); } .tag.done { color: var(--green); }

.phones { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; margin-top: 22px; max-width: 640px; }
.phones .shot { margin: 0; padding: 6px; border-radius: 18px; }
.phones.three { grid-template-columns: repeat(3, 1fr); max-width: 900px; }
@media (max-width: 640px) { .phones.three { grid-template-columns: 1fr 1fr; } }
section .note { font-size: 15px; color: var(--muted); margin: 12px 0 0; }

ol.steps { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; counter-reset: s; max-width: 680px; }
ol.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 18px 18px 64px; position: relative; }
ol.steps li::before {
  content: counter(s); position: absolute; left: 16px; top: 16px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 16px;
}
ol.steps b { display: block; }
ol.steps span { color: var(--muted); font-size: 17px; }

.offer { background: var(--ink); color: #fff; border-radius: 24px; padding: 28px 22px; margin-top: 8px; }
.offer h2 { color: #fff; }
.offer ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.offer li { padding-left: 30px; position: relative; color: #e7e8e4; }
.offer li::before { content: "✓"; position: absolute; left: 0; color: #6fd79b; font-weight: 800; }

form.pilot { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; margin-top: 22px; display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 16px; }
label small { font-weight: 400; color: var(--muted); }
input, textarea {
  font: inherit; font-size: 17px; padding: 13px 14px; border-radius: 12px; border: 1px solid #c9cbc5; background: #fbfbfa; color: var(--ink); width: 100%;
}
textarea { min-height: 84px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formnote { font-size: 14px; color: var(--muted); margin: 0; }
.msg { font-weight: 600; margin: 0; }
.msg.ok { color: var(--green); } .msg.err { color: var(--red); }
form.pilot .btn { width: 100%; }

dl.faq { margin: 22px 0 0; display: grid; gap: 12px; max-width: 680px; }
dl.faq div { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
dl.faq dt { font-weight: 700; margin-bottom: 4px; }
dl.faq dd { margin: 0; color: var(--muted); font-size: 17px; }

footer { padding: 56px 0 40px; color: var(--muted); font-size: 15px; }
footer a { color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* legal pages */
.legal { padding: 12px 0 0; }
.legal h1 { font-size: 34px; line-height: 1.1; margin: 8px 0 6px; }
.legal h2 { font-size: 22px; margin: 30px 0 8px; }
.legal p, .legal li { color: #2c2f33; font-size: 17px; }
.draft { background: #fff4e5; border: 1px solid #f0c98a; color: #6b4100; border-radius: 14px; padding: 14px 16px; font-size: 16px; margin: 14px 0 6px; }
.fill { background: #fff1a8; padding: 0 3px; border-radius: 3px; }

/* The top of the page: one headline, one picture, one question. The first
   step is the hardest one to get somebody to take, so it is the smallest. */
.hero { text-align: center; }
.hero h1 { max-width: 20ch; margin-left: auto; margin-right: auto; }
.hero .shot { max-width: 760px; margin: 18px auto 0; }
form.start {
  max-width: 560px; margin: 26px auto 0; background: var(--card); border: 2px solid var(--ink); border-radius: 26px;
  padding: 28px 22px 20px; display: grid; gap: 14px; text-align: center;
}
form.start h2 { font-size: clamp(26px, 5.4vw, 34px); line-height: 1.1; margin: 0 0 4px; }
form.start .step { display: grid; gap: 12px; }
form.start .step[hidden] { display: none; }
form.start input {
  font-size: 19px; font-weight: 600; padding: 18px 16px; border-radius: 14px; border: 2px solid #c9cbc5; background: #f6f7f4;
}
form.start input::placeholder { color: #8b9096; font-weight: 600; letter-spacing: 0.04em; }
form.start .go {
  width: 100%; border: 0; cursor: pointer; font-family: inherit; background: var(--accent); color: #fff;
  font-size: 21px; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase; padding: 20px 18px; border-radius: 999px;
}
form.start .go:active { filter: brightness(0.94); }
form.start .go:disabled { opacity: 0.6; }
form.start .tiny { margin: 2px 0 0; font-size: 17px; }
form.start.sent .tiny, form.start.sent .formnote { display: none; }
.msg.big { font-size: 22px; padding: 18px 0; }
.msg:empty { display: none; }
.center { text-align: center; }
