:root {
  color-scheme: dark;
  --bg: #07080d;
  --surface: #10111a;
  --line: rgba(170, 151, 255, 0.16);
  --line-strong: rgba(170, 151, 255, 0.32);
  --text: #f4f6fb;
  --muted: #a3a8bb;
  --accent: #9d63ff;
  --signal: #2be7ca;
  --shell: 1120px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: geometricPrecision;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(rgba(255, 255, 255, 0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.016) 1px, transparent 1px),
    var(--bg);
  background-size: 32px 32px;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

.skip-link {
  position: absolute;
  z-index: 20;
  top: 12px;
  left: 12px;
  transform: translateY(-140%);
  padding: 8px 12px;
  border-radius: 8px;
  background: white;
  color: #111;
}
.skip-link:focus { transform: none; }

.shell { width: min(var(--shell), calc(100% - 40px)); margin-inline: auto; }
.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 8, 13, 0.88);
  backdrop-filter: blur(16px);
}
.header-inner { display: flex; align-items: center; min-height: 60px; gap: 28px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 750; letter-spacing: -0.02em; }
.wordmark img { border-radius: 7px; }
nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
nav a, .header-github { color: var(--muted); font-size: 13px; font-weight: 650; }
nav a:hover, .header-github:hover { color: var(--text); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 720;
}
.button-primary { color: white; background: linear-gradient(180deg, #b184ff, #7a45e0); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22); }
.button-primary:hover { filter: brightness(1.06); }
.button-secondary { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.03); }
.button-secondary:hover { background: rgba(255, 255, 255, 0.06); }

.hero { padding: 56px 0 8px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--signal);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.eyebrow span { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 10px var(--signal); }
h1, h2, h3 { letter-spacing: -0.04em; }
h1 { margin: 14px 0 0; font-size: clamp(42px, 5.4vw, 64px); line-height: 0.98; }
h2 { margin: 12px 0 0; font-size: clamp(32px, 4vw, 46px); line-height: 1.02; }
h3 { margin: 0; font-size: 18px; }
.lede { max-width: 620px; margin: 16px 0 0; color: var(--muted); font-size: 17px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 0; margin: 14px 0 0; color: #8d92a6; font-size: 12px; font-weight: 650; }
.hero-meta span + span::before { content: "·"; margin: 0 10px; color: #4d5163; }

.shot {
  margin: 32px 0 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: #05060a;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}
.shot img { width: 100%; height: auto; }

  #how, #setup, #faq, #download { scroll-margin-top: 76px; }
  .section { padding: 76px 0; }
  .steps a { color: #d7c6ff; text-decoration: underline; text-underline-offset: 3px; }
  .steps a:hover { color: white; }
.section-heading { max-width: 640px; }
.order {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 28px 0 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--line);
}
.order li { min-width: 0; padding: 20px 18px 22px; background: var(--surface); }
.order span { color: var(--signal); font-size: 11px; font-weight: 760; letter-spacing: 0.12em; }
.order strong { display: block; margin: 10px 0 6px; font-size: 16px; }
.order p, .facts p, .steps p, .faq-list p, .downloads p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.limit { max-width: 720px; margin: 16px 0 0; color: #8d92a6; font-size: 13px; line-height: 1.55; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.facts article, .downloads article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(16, 17, 26, 0.8);
}
.facts p, .downloads p { margin-top: 8px; }

.setup { border-block: 1px solid var(--line); background: rgba(8, 9, 15, 0.72); }
.setup-layout, .faq-layout { display: grid; grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: 0; padding-top: 0; }
.steps span { color: var(--accent); font-size: 12px; font-weight: 760; letter-spacing: 0.08em; }

  .faq-list { margin-top: 22px; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 16px 36px 16px 0; cursor: pointer; font-size: 15px; font-weight: 680; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { position: absolute; top: 14px; right: 2px; content: "+"; color: var(--accent); font-size: 20px; font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { max-width: 62ch; margin: -2px 36px 16px 0; }

.downloads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
  .downloads article { display: flex; flex-direction: column; }
  .downloads .button { width: 100%; margin-top: auto; }
  .downloads p { margin-bottom: 16px; }
.downloads [data-size] { margin-left: 6px; font-weight: 620; opacity: 0.82; }
.download-fallback { margin: 16px 0 0; font-size: 13px; }
.download-fallback a { color: #c8cbe0; font-weight: 700; }
.download-fallback a:hover { color: white; }

  footer { border-top: 1px solid var(--line); }
  .footer-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 20px; }
  .footer-inner p { margin: 0; color: #8d92a6; font-size: 12px; }
  .footer-inner a:hover { color: white; }

@media (max-width: 860px) {
  nav { display: none; }
  .order, .facts, .downloads, .setup-layout, .faq-layout { grid-template-columns: 1fr; }
  .setup-layout, .faq-layout { gap: 28px; }
  .section { padding: 56px 0; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 28px, var(--shell)); }
  .header-github { margin-left: auto; }
  .hero { padding-top: 36px; }
  h1 { font-size: 40px; }
  .lede { font-size: 15px; }
  .hero-actions, .hero-actions .button, .downloads .button { width: 100%; }
  .shot { border-radius: 12px; }
  .footer-inner { flex-direction: column; justify-content: center; padding: 22px 0; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
