:root {
  --bg: #0c0720;
  --violet: #8b5cff;
  --pink: #f062c4;
  --lilac: #c8b4ff;
  --soft: #e2dcff;
  --text: #f1edff;
  --muted: #b3a8d9;
  --card: rgba(20, 11, 48, 0.72);
  --line: rgba(200, 180, 255, 0.16);
  --radius: 18px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: var(--lilac); }
code { font: 0.92em Consolas, ui-monospace, monospace; color: var(--soft); background: rgba(255,255,255,.07); padding: .1em .4em; border-radius: 6px; }

/* sky: nebula picture + twinkling canvas, fixed behind everything */
.sky { position: fixed; inset: 0; z-index: -1; background: #0c0720 url(/nebula.webp) center / cover no-repeat; }
.sky::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(12, 7, 32, .55)); }
#stars { width: 100%; height: 100%; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px max(16px, calc(50% - 560px));
  background: rgba(12, 7, 32, .55);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 18px; }
.nav nav { display: flex; align-items: center; gap: 22px; }
.nav nav a:not(.pill) { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav nav a:not(.pill):hover { color: var(--text); }

/* glowing violet-to-pink pill, like the installer's Install button */
.pill {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  color: #fff; text-decoration: none; font-weight: 600;
  background: linear-gradient(90deg, var(--violet), var(--pink));
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.22) inset, 0 8px 30px rgba(170, 90, 255, .45), 0 0 60px rgba(240, 98, 196, .25);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.pill::before { /* glossy top half */
  content: ""; position: absolute; inset: 1px 1px 50% 1px; border-radius: 999px 999px 0 0 / 999px 999px 0 0;
  background: linear-gradient(rgba(255,255,255,.24), rgba(255,255,255,0)); pointer-events: none;
}
.pill:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 0 0 1px rgba(255,255,255,.3) inset, 0 10px 38px rgba(170, 90, 255, .6), 0 0 80px rgba(240, 98, 196, .35); }
.pill:active { transform: translateY(1px); }
.pill:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.pill-sm { padding: 7px 18px; font-size: 14px; }
.pill-lg { padding: 17px 34px; font-size: 18px; }
.pill svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.size { font-weight: 400; opacity: .8; font-size: .85em; }

/* hero */
main { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.hero { min-height: calc(100svh - 58px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 48px 0 64px; }
.logo { filter: drop-shadow(0 0 34px rgba(139, 92, 255, .55)); animation: float 6s ease-in-out infinite; }
h1 {
  margin: 14px 0 4px; font-size: clamp(56px, 11vw, 96px); line-height: 1.05; font-weight: 600; letter-spacing: -.02em;
  background: linear-gradient(#fff, #e2d6ff); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 18px rgba(8, 4, 24, .6));
}
.tag { margin: 0 0 34px; font-size: clamp(17px, 2.6vw, 21px); color: var(--soft); text-shadow: 0 2px 12px rgba(6, 3, 20, .8); }
.fine { margin: 14px 0 0; font-size: 14px; color: var(--muted); }

@keyframes float { 50% { transform: translateY(-8px); } }

/* cards */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.section-title { text-align: center; font-size: clamp(28px, 4.5vw, 38px); font-weight: 600; margin: 0 0 28px; grid-column: 1 / -1; }
section { scroll-margin-top: 80px; }

/* product family */
.family { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 96px; }
.product { padding: 20px 22px; }
.product h2 { margin: 10px 0 4px; font-size: 19px; font-weight: 600; }
.product p { margin: 0; color: var(--muted); font-size: 15px; }
.badge { display: inline-block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--lilac); }
.live { border-color: rgba(240, 98, 196, .45); box-shadow: 0 0 40px rgba(139, 92, 255, .18); }
.live .badge { background: linear-gradient(90deg, var(--violet), var(--pink)); color: #fff; border-color: transparent; }
.soon { background: rgba(22, 12, 52, .35); border-style: dashed; }
.soon h2 { color: var(--soft); }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 96px; }
.feature { padding: 24px; }
.feature.wide { grid-column: 1 / -1; }
.feature h3 { margin: 14px 0 6px; font-size: 20px; font-weight: 600; }
.feature p { margin: 0; color: var(--muted); }
.ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(139, 92, 255, .35), rgba(240, 98, 196, .3));
  border: 1px solid rgba(255, 255, 255, .14);
}
.ico svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chips { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(200, 180, 255, .1); border: 1px solid var(--line); color: var(--soft); }
.hey { background: linear-gradient(140deg, rgba(139, 92, 255, .3), rgba(240, 98, 196, .18)), var(--card); border-color: rgba(240, 98, 196, .35); }
.mascot { filter: drop-shadow(0 0 14px rgba(139, 92, 255, .7)); }

/* install */
.install { margin-bottom: 96px; }
.steps { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { padding: 24px; }
.steps h3 { margin: 12px 0 4px; font-size: 19px; font-weight: 600; }
.steps p { margin: 0; color: var(--muted); }
.n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-weight: 600; background: linear-gradient(135deg, var(--violet), var(--pink)); box-shadow: 0 0 18px rgba(170, 90, 255, .5); }
.note { padding: 20px 24px; border-color: rgba(255, 200, 120, .3); }
.note h3 { margin: 0 0 4px; font-size: 17px; font-weight: 600; }
.note p { margin: 0; color: var(--muted); }
.note b, .steps b { color: var(--text); }

/* faq */
.faq { max-width: 760px; margin: 0 auto 80px; display: grid; gap: 12px; }
.faq details { padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--lilac); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -4px 0 18px; color: var(--muted); }

.cta { text-align: center; margin-bottom: 80px; }

footer { border-top: 1px solid var(--line); padding: 28px 16px 36px; text-align: center; color: var(--muted); font-size: 13px; background: rgba(12, 7, 32, .6); }
footer p { max-width: 720px; margin: 0 auto 6px; }
footer code { word-break: break-all; font-size: 12px; }

/* phones */
@media (max-width: 760px) {
  .nav nav a:not(.pill) { display: none; }
  .family, .features, .steps { grid-template-columns: 1fr; }
  .family, .features, .install { margin-bottom: 64px; }
  .pill-lg { padding: 16px 26px; font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .logo { animation: none; }
  .pill { transition: none; }
}
