:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #1d232b;
  --muted: #56606c;
  --line: #e4e1da;
  --accent: #e8590c;
  --accent-ink: #ffffff;
  --accent-soft: #fff1e8;
  --deep: #1f2a36;
  --deep-ink: #f4f1ea;
  --ok: #2b8a3e;
  --err: #c92a2a;
  --radius: 14px;
  --max: 1080px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14181d;
    --surface: #1c2229;
    --ink: #eef0f2;
    --muted: #a7b0ba;
    --line: #2c343d;
    --accent: #ff7a33;
    --accent-ink: #1a1007;
    --accent-soft: #2a1d14;
    --deep: #0f1317;
    --deep-ink: #eef0f2;
    --ok: #69db7c;
    --err: #ff8787;
    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.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: inherit; }
img, svg { max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; z-index: 10; }

header.top { border-bottom: 1px solid var(--line); background: var(--bg); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: -0.02em; text-decoration: none; }
.brand svg { width: 30px; height: 30px; }
.btn {
  display: inline-block; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--accent); color: var(--accent-ink);
  font: inherit; font-weight: 700; padding: 12px 22px; text-decoration: none;
}
.btn:hover { filter: brightness(1.06); }
.btn:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.btn.small { padding: 8px 16px; font-size: 15px; }

.hero { padding: 72px 0 56px; }
.hero h1 { font-size: clamp(34px, 6vw, 58px); line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 18px; max-width: 16ch; }
.hero p.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 40em; margin: 0 0 28px; }
.pill { display: inline-block; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 14px; padding: 4px 12px; border-radius: 999px; margin-bottom: 18px; }
.hero .note { color: var(--muted); font-size: 15px; margin-top: 14px; }

section { padding: 56px 0; }
section h2 { font-size: clamp(26px, 3.6vw, 36px); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 10px; }
section .sub { color: var(--muted); margin: 0 0 32px; max-width: 40em; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card .ico { width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 12px; }
.card .ico svg { width: 20px; height: 20px; }

.band { background: var(--deep); color: var(--deep-ink); }
.band .sub { color: color-mix(in srgb, var(--deep-ink) 75%, transparent); }
.steps { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: s; }
.steps div { counter-increment: s; }
.steps div::before { content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; margin-bottom: 10px; }
.steps h3 { margin: 0 0 4px; font-size: 18px; }
.steps p { margin: 0; color: color-mix(in srgb, var(--deep-ink) 75%, transparent); }

.trust { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.trust ul { margin: 0; padding-left: 20px; }
.trust li { margin-bottom: 8px; }

.price { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.price .big { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; }
.price .big small { white-space: nowrap;  font-size: 18px; font-weight: 600; color: var(--muted); }

form.join { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; max-width: 640px; }
.row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 14px; }
label .opt { color: var(--muted); font-weight: 400; }
input[type=text], input[type=email], select {
  display: block; width: 100%; margin-top: 6px; padding: 12px; font: inherit; font-weight: 400;
  color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
}
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); margin-top: 18px; padding-top: 14px; }
.notice p { margin: 0 0 8px; }
.msg { margin-top: 14px; font-weight: 600; }
.msg.ok { color: var(--ok); }
.msg.err { color: var(--err); }

details { max-width: 760px; border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; font-weight: 700; }
details p { color: var(--muted); margin: 8px 0 0; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer nav a { margin-right: 18px; }

.prose { max-width: 760px; padding: 40px 0 64px; }
.prose h1 { font-size: 36px; letter-spacing: -0.02em; margin-bottom: 4px; }
.prose h2 { font-size: 22px; margin-top: 32px; }
.prose .meta { color: var(--muted); }
