:root {
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --surface: #ffffff;
  --text: #111827;
  --muted: #5b6577;
  --line: #e5e9f0;
  --brand: #2f6bff;
  --brand-dark: #2456d8;
  --radius: 18px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
html[data-theme="dark"] {
  --bg: #0c1016;
  --bg-soft: #11161f;
  --surface: #141a23;
  --text: #eef2f8;
  --muted: #97a3b5;
  --line: #222b37;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

.top {
  max-width: 1120px; margin: 0 auto; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.01em; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 10px;
  background: radial-gradient(120% 120% at 22% 16%, #8ab4ff, #2f6bff 68%);
  box-shadow: 0 6px 16px rgba(47, 107, 255, .28);
}
.top-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--surface); cursor: pointer; display: grid; place-items: center;
}
.theme-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: linear-gradient(120deg, #111827 50%, #f4f6fa 50%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15);
}
html[data-theme="dark"] .theme-dot { background: linear-gradient(120deg, #f4f6fa 50%, #111827 50%); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 18px; border-radius: 11px; border: 1px solid transparent;
  background: var(--brand); color: #fff; font-weight: 600; font-size: 14px;
  transition: transform .12s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.07); }
.btn:active { transform: translateY(1px); }
.btn-small { padding: 8px 13px; font-size: 13px; border-radius: 9px; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-soft); }

main { max-width: 1120px; margin: 0 auto; padding: 24px 24px 80px; }

.hero { padding: 40px 0 12px; max-width: 720px; }
.eyebrow {
  display: inline-block; margin: 0 0 16px; padding: 4px 11px; border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 10%, transparent); color: var(--brand);
  font-size: 12px; font-weight: 700; letter-spacing: .02em;
}
.hero h1 { margin: 0 0 16px; font-size: clamp(30px, 4.6vw, 46px); line-height: 1.12; letter-spacing: -.025em; }
.lead { margin: 0 0 24px; font-size: 16px; color: var(--muted); max-width: 640px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.fine { margin: 16px 0 0; font-size: 12.5px; color: var(--muted); }

.showcase {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px;
  align-items: center; margin: 64px 0; padding: 34px; border: 1px solid var(--line);
  border-radius: 24px; background: var(--bg-soft);
}
.showcase h2 { margin: 0 0 10px; font-size: 24px; letter-spacing: -.02em; }
.showcase p { margin: 0 0 16px; color: var(--muted); font-size: 15px; }
.checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; }
.checks li { padding-left: 24px; position: relative; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 14px; height: 14px; border-radius: 50%;
  background: color-mix(in srgb, var(--brand) 16%, transparent);
}
.checks li::after {
  content: ""; position: absolute; left: 4px; top: 9px; width: 6px; height: 3px;
  border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg);
}
.stage-card {
  border-radius: 16px; overflow: hidden; background: var(--surface);
  border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(17, 24, 39, .09);
}
.stage-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #232b38; }
.stage-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.stage-bar i:nth-child(2) { background: #febc2e; }
.stage-bar i:nth-child(3) { background: #28c840; }
.stage-bar span {
  margin-left: 8px; flex: 1; height: 20px; border-radius: 6px; background: rgba(255, 255, 255, .13);
  color: rgba(255, 255, 255, .6); font-size: 11px; display: flex; align-items: center; padding: 0 8px;
}

.stage-frame { display: block; width: 100%; height: 320px; border: 0; background: #f4f6fb; }
.preview-note { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }

.steps { margin: 64px 0; }
.steps h2 { margin: 0 0 18px; font-size: 24px; letter-spacing: -.02em; }
.steps ol { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 12px; counter-reset: s; }
.steps li {
  counter-increment: s; position: relative; padding: 16px 18px 16px 54px;
  border: 1px solid var(--line); border-radius: var(--radius); font-size: 14.5px;
}
.steps li::before {
  content: counter(s); position: absolute; left: 16px; top: 15px;
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand);
  font-size: 13px; font-weight: 700;
}
.steps li b { color: var(--text); }
pre.code {
  margin: 0; padding: 14px 16px; border-radius: 14px; overflow-x: auto;
  background: #0f1420; color: #dbe4f3;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px;
}

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.facts div { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.facts b { display: block; margin-bottom: 6px; font-size: 14.5px; }
.facts span { color: var(--muted); font-size: 13px; }

.foot {
  max-width: 1120px; margin: 0 auto; padding: 22px 24px 40px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  color: var(--muted); font-size: 12.5px; border-top: 1px solid var(--line);
}
.foot a { color: var(--text); font-weight: 600; }

@media (max-width: 860px) {
  .showcase { grid-template-columns: 1fr; gap: 24px; padding: 22px; }
  main { padding: 12px 18px 60px; }
  .top { padding: 16px 18px; }
}

