:root {
  --bg: #0c0b1a;
  --panel: #15142a;
  --panel-hi: #1d1b38;
  --border: #2b2850;
  --text: #ecebfa;
  --muted: #9a97bd;
  --accent: #7c6cff;
  --accent-2: #5fd9f0;
  --boost: #ff8c2e;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 20px; }
.brand img { width: 34px; height: 34px; }
.brand:hover { text-decoration: none; }
nav .links { display: flex; gap: 26px; font-size: 15px; }
nav .links a { color: var(--muted); }
nav .links a:hover { color: var(--text); text-decoration: none; }

.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px;
  font-weight: 650; font-size: 16px; color: var(--text); background: var(--panel); border: 1px solid var(--border);
  transition: transform .12s ease, filter .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn.primary { background: linear-gradient(135deg, var(--accent), #5a8bff); color: #fff; border: 0; box-shadow: 0 10px 30px rgba(124,108,255,.35); }
.btn.primary:hover { filter: brightness(1.08); }
.btn svg { width: 18px; height: 18px; }

.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 48px 0 40px; }
.hero h1 { font-size: clamp(38px, 5vw, 58px); line-height: 1.06; letter-spacing: -0.025em; margin: 0 0 18px; }
.hero h1 em { font-style: normal; background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: var(--muted); font-size: 19px; margin: 0 0 28px; max-width: 34ch; }
.hero small { display: block; color: var(--muted); margin-top: 14px; font-size: 13px; max-width: 46ch; }
.hero .shot { justify-self: center; position: relative; }
.hero .shot::before {
  content: ""; position: absolute; inset: -12%; z-index: -1;
  background: radial-gradient(closest-side, rgba(124,108,255,.35), rgba(95,217,240,.12) 60%, transparent);
}
.shot img { display: block; width: 100%; max-width: 440px; height: auto; border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }

section { padding: 72px 0; }
section h2 { font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -0.015em; margin: 0 0 12px; }
section p.sub { color: var(--muted); margin: 0 0 36px; max-width: 60ch; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 10px 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-size: 19px; background: rgba(124,108,255,.15); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split .shot { justify-self: center; }
.split ul { padding-left: 0; list-style: none; margin: 18px 0 0; }
.split li { padding: 6px 0 6px 28px; position: relative; color: var(--muted); }
.split li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-2); font-weight: 700; }
.split li b { color: var(--text); font-weight: 600; }
.boost { color: var(--boost); font-weight: 700; }

pre.flow {
  background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px; overflow-x: auto;
  color: #c9c6ef; font: 14px/1.6 ui-monospace, "SF Mono", Menlo, monospace; margin: 0;
}

.band {
  background: linear-gradient(180deg, rgba(124,108,255,.10), transparent);
  border: 1px solid var(--border); border-radius: 22px; padding: 40px; text-align: center;
}
.band p { color: var(--muted); max-width: 62ch; margin: 0 auto; }

details { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; margin-bottom: 10px; }
details summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 10px 0 2px; }
code { font: 0.92em ui-monospace, "SF Mono", Menlo, monospace; background: rgba(255,255,255,.06); padding: 1px 6px; border-radius: 6px; }

.final { text-align: center; }
.final p { color: var(--muted); }

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

.legal { max-width: 760px; margin: 0 auto; padding: 30px 24px 80px; }
.legal h1 { font-size: 34px; margin-bottom: 4px; }
.legal h2 { font-size: 20px; margin-top: 34px; }
.legal p, .legal li { color: #d2d0ea; }
.legal .muted { color: var(--muted); }
.legal hr { border: 0; border-top: 1px solid var(--border); margin: 48px 0; }

@media (max-width: 860px) {
  .hero, .grid, .split { grid-template-columns: 1fr; }
  .hero { text-align: center; } .hero p.lead, .hero small { margin-left: auto; margin-right: auto; }
  nav .links { display: none; }
}
