:root {
  --bg: #0b0910;
  --card: #15121d;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f1eef7;
  --muted: #a39db3;
  --accent: #b78cff;
  --accent-strong: #9147ff;
  --hot: #ff7a6e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 Inter, 'Segoe UI', system-ui, sans-serif;
}

a { color: var(--accent); }
code { padding: 1px 6px; border-radius: 5px; background: rgba(183, 140, 255, 0.15); color: #d8c4ff; font-size: 0.92em; }

.nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px max(20px, calc((100vw - 1100px) / 2));
  background: rgba(11, 9, 16, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav nav { display: flex; gap: 22px; }
.nav nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav nav a:hover { color: var(--text); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; text-decoration: none; letter-spacing: -0.01em; }

main { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

.hero { padding: 72px 0 40px; text-align: center; }
.eyebrow { margin: 0 0 14px; color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(38px, 6.4vw, 76px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; }
h1 span { color: var(--accent); }
.lead { max-width: 680px; margin: 22px auto 0; color: #cfcbd8; font-size: clamp(17px, 2vw, 20px); }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

.btn { display: inline-block; padding: 12px 22px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); font-weight: 600; text-decoration: none; }
.btn:hover { border-color: var(--accent); }
.btn.primary { background: var(--accent-strong); border-color: var(--accent-strong); }
.btn.primary:hover { background: #a366ff; }

.demo {
  position: relative;
  aspect-ratio: 16 / 9;
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(120, 70, 255, 0.25);
  background: #050308;
}
.demo iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }

.section { padding: 80px 0 0; }
h2 { margin: 0 0 28px; font-size: clamp(28px, 4vw, 42px); line-height: 1.1; letter-spacing: -0.025em; }
h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -0.01em; }
p { margin: 0 0 12px; }

.steps, .grid { display: grid; gap: 16px; }
.steps { grid-template-columns: repeat(3, 1fr); }
.grid { grid-template-columns: repeat(3, 1fr); }
.steps article, .grid article { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.steps p, .grid p { margin: 0; color: var(--muted); }
.num { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 14px; border-radius: 50%; background: rgba(183, 140, 255, 0.18); color: var(--accent); font-weight: 700; }
.hot { padding: 0 6px; border: 1px solid var(--hot); border-radius: 5px; background: rgba(255, 107, 94, 0.16); color: var(--hot); font-size: 0.85em; }

video { display: block; width: 100%; border: 1px solid var(--line); border-radius: 16px; background: #000; }

.setup { margin: 0; padding-left: 22px; display: grid; gap: 12px; max-width: 720px; }
.note { max-width: 720px; margin-top: 22px; padding: 14px 18px; border-left: 3px solid var(--accent); background: var(--card); color: var(--muted); border-radius: 0 10px 10px 0; }

details { max-width: 760px; border-top: 1px solid var(--line); padding: 14px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; color: var(--muted); }

footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1100px;
  margin: 90px auto 0;
  padding: 26px 20px 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

/* privacy page */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 20px 0; }
.doc h1 { font-size: clamp(32px, 5vw, 46px); margin-bottom: 8px; }
.doc h2 { margin: 36px 0 10px; font-size: 24px; }
.doc li { margin-bottom: 6px; }
.doc .muted { color: var(--muted); }

@media (max-width: 820px) {
  .steps, .grid { grid-template-columns: 1fr; }
  .nav nav { display: none; }
  .hero { padding-top: 48px; }
  .section { padding-top: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
