:root {
  --bg: #fbfaf8;
  --surface: #ffffff;
  --text: #17181a;
  --muted: #5d6168;
  --border: #e4e2dd;
  --tint: #c2410c;
  --tint-text: #ffffff;
  --tint-soft: #fff1e8;
  --ok: #15803d;
  --radius: 16px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #111214;
    --surface: #1a1c1f;
    --text: #f2f2f3;
    --muted: #a6aab1;
    --border: #2d3035;
    --tint: #fb923c;
    --tint-text: #111111;
    --tint-soft: #2a1a10;
    --ok: #4ade80;
  }
}
:root[data-theme='dark'] {
  --bg: #111214;
  --surface: #1a1c1f;
  --text: #f2f2f3;
  --muted: #a6aab1;
  --border: #2d3035;
  --tint: #fb923c;
  --tint-text: #111111;
  --tint-soft: #2a1a10;
  --ok: #4ade80;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
}
a { color: var(--tint); }
.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 16px; }
header.top { border-bottom: 1px solid var(--border); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); text-decoration: none; }
.brand svg { width: 28px; height: 28px; }
nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 15px; }
nav a:hover { color: var(--text); }

.hero { padding-top: 64px; padding-bottom: 40px; display: grid; gap: 40px; grid-template-columns: 1.15fr 0.85fr; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; color: var(--tint); background: var(--tint-soft); padding: 4px 10px; border-radius: 999px; }
h1 { font-size: clamp(32px, 5vw, 50px); line-height: 1.1; margin: 16px 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(24px, 3.4vw, 34px); line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.01em; }
h3 { font-size: 19px; margin: 0 0 6px; }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

form.waitlist { display: flex; flex-wrap: wrap; gap: 10px; }
form.waitlist input[type='email'], form.waitlist select {
  flex: 1 1 220px; min-height: 52px; padding: 0 14px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: 17px;
}
form.waitlist select { flex: 0 1 180px; }
.btn {
  min-height: 52px; padding: 0 22px; border: 0; border-radius: 12px; cursor: pointer;
  background: var(--tint); color: var(--tint-text); font-weight: 700; font-size: 17px;
}
.btn:disabled { opacity: 0.5; cursor: default; }
.form-msg { width: 100%; margin: 4px 0 0; font-size: 15px; min-height: 22px; }
.form-msg.ok { color: var(--ok); }
.hp { position: absolute; left: -10000px; }

.phone {
  justify-self: center; width: 280px; border-radius: 40px; padding: 14px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.phone .screen { border-radius: 28px; background: var(--bg); padding: 18px 14px; min-height: 480px; }
.phone .addr { font-weight: 700; font-size: 17px; }
.dots { display: flex; gap: 4px; margin: 10px 0 14px; }
.dots i { flex: 1; height: 6px; border-radius: 3px; background: var(--border); }
.dots i.on { background: var(--tint); }
.step { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 8px; background: var(--surface); font-size: 15px; }
.step b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--border); }
.step.done b { background: var(--ok); color: #fff; }
.step.cur { border-color: var(--tint); }
.step.cur b { background: var(--tint); color: var(--tint-text); }

section { padding: 48px 0; }
.grid3 { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.card p { margin: 0; color: var(--muted); }
.steps { padding: 0; margin: 0; counter-reset: s; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.steps li { list-style: none; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 18px 18px 58px; position: relative; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 18px; top: 18px; width: 28px; height: 28px; border-radius: 50%; background: var(--tint); color: var(--tint-text); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.steps li span { display: block; color: var(--muted); font-size: 15px; }
ul.plain { padding: 0; margin: 0; }

.pricing { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); max-width: 720px; }
.price { font-size: 36px; font-weight: 800; margin: 8px 0; }
.price small { font-size: 16px; font-weight: 500; color: var(--muted); }
.card ul { margin: 12px 0 0; padding-left: 20px; color: var(--muted); }
.card.featured { border: 2px solid var(--tint); }

details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 10px 0 0; }

footer { border-top: 1px solid var(--border); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
footer a { color: var(--muted); }

.doc { max-width: 760px; padding: 40px 16px 60px; margin: 0 auto; }
.doc h1 { font-size: 34px; }
.doc h2 { font-size: 22px; margin-top: 32px; }
.doc .todo { background: var(--tint-soft); border-left: 4px solid var(--tint); padding: 10px 14px; border-radius: 8px; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  form.waitlist select, form.waitlist .btn { flex: 1 1 100%; }
  .grid3, .steps, .pricing { grid-template-columns: 1fr; }
  nav a:not(.cta) { display: none; }
}
