:root {
  --bg: #111418;
  --bg-2: #0d1013;
  --surface: #171b21;
  --surface-2: #1d222a;
  --line: #262c35;
  --text: #ece6da;
  --muted: #8d949e;
  --faint: #5f6670;
  --ember: #e5813d;
  --ember-hi: #f2924f;
  --radius: 12px;
  --wrap: 1120px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ember-hi); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: var(--mono); font-size: 0.9em; color: var(--text); }
strong { color: var(--text); font-weight: 600; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(17, 20, 24, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.top-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 8px; }
nav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
nav a { color: var(--muted); }
nav a:hover { color: var(--text); text-decoration: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  border-radius: 10px; font-weight: 650; text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { text-decoration: none; }
.btn-small {
  height: 32px; padding: 0 14px; font-size: 13px;
  color: var(--text) !important; background: var(--surface-2); border: 1px solid #333a45;
}
.btn-small:hover { background: #252b34; }
.btn-play {
  height: 52px; padding: 0 26px; font-size: 17px; color: #1a1006;
  background: linear-gradient(180deg, var(--ember-hi), var(--ember));
  border: 1px solid #f39a5a;
  box-shadow: 0 10px 30px -10px rgba(229, 129, 61, .65);
}
.btn-play:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -10px rgba(229, 129, 61, .8); }
.btn-play:active { transform: translateY(0); }

/* ---------- hero ---------- */
.hero {
  padding: 72px 0 40px;
  background:
    radial-gradient(900px 520px at 8% -10%, rgba(229, 129, 61, .16), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.eyebrow {
  margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ember-hi);
}
h1 {
  margin: 0; font: 700 clamp(36px, 4.6vw, 54px)/1.06 var(--display);
  letter-spacing: -0.025em; text-wrap: balance;
}
.lede { margin: 20px 0 0; font-size: 18px; color: var(--muted); max-width: 34em; }
.cta { margin-top: 32px; }
.meta { margin: 12px 0 0; font-size: 13px; color: var(--faint); }
.meta a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.support { margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.support a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ember-hi); }
.support svg { position: relative; top: -1px; }

.shot img {
  border-radius: 14px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .06);
}
.shot { margin: 0; }
.shot-hero { margin-right: -120px; }

/* ---------- features ---------- */
.features { padding: 88px 0 72px; border-top: 1px solid var(--line); background: var(--bg-2); }
h2 {
  margin: 0 0 36px; font: 700 clamp(26px, 3vw, 34px)/1.15 var(--display);
  letter-spacing: -0.02em; text-wrap: balance;
}
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid article {
  padding: 22px 22px 20px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.grid h3 { margin: 0 0 8px; font-size: 16px; letter-spacing: -0.01em; }
.grid h3::before {
  content: ""; display: block; width: 18px; height: 3px; margin-bottom: 14px;
  border-radius: 2px; background: var(--ember);
}
.grid p { margin: 0; font-size: 14.5px; color: var(--muted); }
.shot-wide { margin-top: 56px; max-width: 900px; margin-left: auto; margin-right: auto; }

/* ---------- install ---------- */
.install { padding: 88px 0; border-top: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { position: relative; padding: 0 0 26px 56px; counter-increment: step; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700; font-size: 15px; color: var(--ember-hi);
  background: rgba(229, 129, 61, .14); border: 1px solid rgba(229, 129, 61, .35);
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 16.5px; top: 40px; bottom: 6px; width: 1px; background: var(--line);
}
.steps h3 { margin: 4px 0 6px; font-size: 17px; }
.steps p { margin: 0; color: var(--muted); }
.note {
  margin-top: 12px; padding: 18px 20px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.note p { margin: 0 0 12px; color: var(--muted); font-size: 15px; }
.code {
  display: flex; align-items: center; gap: 12px; justify-content: space-between;
  padding: 10px 10px 10px 14px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line);
  overflow-x: auto;
}
.code code { white-space: nowrap; font-size: 13.5px; }
.code button {
  flex: none; height: 28px; padding: 0 12px; border-radius: 7px; cursor: pointer;
  font: 600 12px var(--sans); color: var(--text); background: var(--surface-2); border: 1px solid #333a45;
}
.code button:hover { background: #252b34; }

/* ---------- faq ---------- */
.faq { padding: 88px 0; border-top: 1px solid var(--line); background: var(--bg-2); }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative;
  font-weight: 600; font-size: 16.5px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 400; color: var(--faint); transition: transform .15s ease;
}
details[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--ember-hi); }
details p { margin: -4px 0 20px; color: var(--muted); }

/* ---------- footer ---------- */
.foot { padding: 40px 0 56px; border-top: 1px solid var(--line); }
.foot p { margin: 0 0 10px; font-size: 13px; color: var(--faint); max-width: 760px; }
.foot .small { font-size: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero { padding-top: 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .shot-hero { margin-right: 0; }
  .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  nav a:not(.btn) { display: none; }
  .grid { grid-template-columns: 1fr; }
  .btn-play { width: 100%; justify-content: center; }
  .features, .install, .faq { padding: 64px 0; }
}
