:root {
  --bg: #101215;
  --surface: #16181c;
  --surface-2: #1d1f23;
  --surface-3: #222429;
  --line: rgba(193, 190, 209, .12);
  --line-faint: rgba(193, 190, 209, .07);
  --text: #e7e9ee;
  --muted: #96a2b0;
  --faint: #6d7783;
  --moss: #1bd96a;
  --moss-deep: #0f8642;
  --clay: #ff496e;
  --sans: "Segoe UI Variable Text", "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  --disp: "Segoe UI Variable Display", "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  --mono: "Cascadia Mono", "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1080px;
}

* { box-sizing: border-box }

html { scroll-behavior: smooth; scroll-padding-top: 84px }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block }
a { color: var(--moss) }
code {
  font: 400 .88em/1.5 var(--mono);
  background: rgba(193, 190, 209, .08);
  border: 1px solid var(--line-faint);
  border-radius: 4px;
  padding: .08em .38em;
  color: #d6dbe3;
}

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 99;
  background: var(--moss); color: #07120b; padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip:focus { left: 16px; top: 12px }

:focus-visible { outline: 2px solid var(--moss); outline-offset: 3px; border-radius: 4px }

/* ---------- topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(16, 18, 21, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar__in { display: flex; align-items: center; gap: 28px; height: 62px }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text) }
.brand__name { font: 700 18px/1 var(--disp); letter-spacing: .02em }
.brand__sub { font: 500 11px/1 var(--mono); letter-spacing: .16em; color: var(--faint); padding-top: 5px }
.nav { display: flex; gap: 22px; margin-left: auto }
.nav a {
  color: var(--muted); text-decoration: none; font-size: 14.5px; padding: 6px 0;
  border-bottom: 2px solid transparent; transition: color .16s var(--ease), border-color .16s var(--ease);
}
.nav a:hover { color: var(--text); border-bottom-color: var(--moss) }
.topbar__gh { flex-shrink: 0 }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 9px;
  border: 1px solid var(--line-strong, rgba(193,190,209,.2));
  background: var(--surface-2); color: var(--text);
  font: 600 14.5px/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: transform .16s var(--ease), background .16s var(--ease), border-color .16s var(--ease);
}
.btn:hover { background: var(--surface-3); border-color: rgba(193,190,209,.3) }
.btn:active { transform: translateY(1px) }
.btn--primary {
  background: var(--moss); border-color: var(--moss); color: #06180d;
  box-shadow: 0 6px 22px -10px rgba(27, 217, 106, .8);
}
.btn--primary:hover { background: #33e37d; border-color: #33e37d; color: #06180d }
.btn--ghost { background: transparent }
.btn--text { background: none; border-color: transparent; color: var(--muted); padding-left: 4px }
.btn--text:hover { color: var(--text); background: none; border-color: transparent }
.stars {
  font: 600 12px/1 var(--mono); color: var(--moss);
  background: rgba(27,217,106,.12); border-radius: 20px; padding: 4px 8px;
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 84px 0 76px;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; inset: -1px 0 auto; height: 420px; pointer-events: none;
  background:
    repeating-linear-gradient(to right, var(--line-faint) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(to bottom, var(--line-faint) 0 1px, transparent 1px 44px);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.75), transparent 78%);
}
.hero .wrap { position: relative }
.eyebrow {
  margin: 0 0 18px; font: 500 12.5px/1 var(--mono); letter-spacing: .06em;
  color: var(--moss);
}
h1 {
  margin: 0; font: 700 clamp(40px, 6.4vw, 68px)/1.06 var(--disp); letter-spacing: -.02em;
}
h1 span { color: var(--faint); font-weight: 500; letter-spacing: .01em }
.lede {
  margin: 22px 0 0; max-width: 680px;
  font-size: 17.5px; line-height: 1.78; color: #c3cad4;
}
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px }
.meta {
  display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 44px;
  font: 500 12.5px/1 var(--mono); color: var(--faint);
}
.meta span { display: inline-flex; align-items: center; gap: 18px }
.meta span + span::before { content: ""; width: 3px; height: 3px; background: var(--faint); border-radius: 2px }

/* ---------- screenshots ---------- */
.shot {
  margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: var(--surface);
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0,0,0,.4);
}
.shot img { width: 100%; height: auto }
.shot figcaption {
  padding: 11px 16px; border-top: 1px solid var(--line);
  font: 500 12.5px/1.4 var(--mono); color: var(--faint); background: var(--surface-2);
}

/* ---------- loader strip ---------- */
.strip { border-bottom: 1px solid var(--line); background: var(--surface) }
.strip__in { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 26px; padding-top: 22px; padding-bottom: 22px }
.strip__logos { display: flex; gap: 8px }
.strip p { margin: 0; color: var(--muted); font-size: 14.5px }
.ltile {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px;
  background: var(--surface-3); border: 1px solid var(--line);
  font: 700 14px/1 var(--mono); color: var(--a, var(--muted));
}
.ltile img { width: 22px; height: 22px; object-fit: contain; border-radius: 3px }

/* ---------- sections ---------- */
section { padding: 78px 0 }
section.strip { padding: 0 }
h2 {
  margin: 0 0 10px; font: 700 clamp(26px, 3.4vw, 34px)/1.2 var(--disp); letter-spacing: -.01em;
}
.section-lede { margin: 0 0 40px; color: var(--muted); max-width: 620px }

.feats { margin: 0 }
.feat {
  display: grid; grid-template-columns: 236px 1fr; gap: 26px;
  padding: 26px 0; border-top: 1px solid var(--line);
}
.feat:last-child { border-bottom: 1px solid var(--line) }
.feat dt { margin: 0; font: 600 17.5px/1.5 var(--disp); display: flex; align-items: baseline; gap: 12px }
.feat dt i { font: 500 12px/1 var(--mono); color: var(--moss); font-style: normal; letter-spacing: .04em }
.feat dd { margin: 0; color: #b8c1cc }
.feat dd p { margin: 0 }
.feat__note { margin-top: 8px !important; color: var(--faint); font-size: 14px }

/* ---------- gallery ---------- */
.gallery { background: var(--surface); border-block: 1px solid var(--line) }
.tabs { display: flex; gap: 6px; margin-bottom: 22px }
.tabs button {
  padding: 8px 16px; border-radius: 8px; cursor: pointer;
  background: transparent; border: 1px solid transparent; color: var(--muted);
  font: 600 14px/1 var(--sans);
  transition: color .16s var(--ease), background .16s var(--ease);
}
.tabs button:hover { color: var(--text) }
.tabs button[aria-selected="true"] { background: var(--surface-3); border-color: var(--line); color: var(--text) }
.shot--sm { max-width: 940px }

/* ---------- download ---------- */
.dl { display: grid; grid-template-columns: 1.55fr 1fr; gap: 34px; align-items: start }
.dl h3 { margin: 0 0 10px; font: 600 21px/1.4 var(--disp) }
.dl p { margin: 0 0 20px; color: #b8c1cc }
.dl__btns { display: flex; flex-wrap: wrap; gap: 12px }
.dl__side {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px;
}
.dl__side h4 { margin: 0 0 12px; font: 600 13px/1 var(--mono); letter-spacing: .06em; color: var(--faint); text-transform: uppercase }
.ticks { margin: 0; padding: 0; list-style: none }
.ticks li { position: relative; padding-left: 22px; margin: 9px 0; color: #b8c1cc; font-size: 15px }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px;
  background: var(--moss); border-radius: 2px;
}
.ticks b { color: var(--text); font-weight: 600 }
.build-h { margin: 62px 0 8px; font: 600 20px/1.4 var(--disp) }
.build-p { margin: 0 0 18px; color: var(--muted) }
pre {
  margin: 0; padding: 20px 22px; overflow-x: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  font: 400 13.5px/1.85 var(--mono); color: #d6dbe3;
}
pre code { background: none; border: 0; padding: 0; font: inherit }
pre .c { color: var(--faint) }

/* ---------- privacy ---------- */
.privacy { background: var(--surface); border-block: 1px solid var(--line) }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 44px }
.privacy .ticks li { margin: 14px 0; font-size: 15.5px; line-height: 1.72 }
.paths {
  margin: 34px 0 0; padding: 16px 18px; border: 1px dashed var(--line); border-radius: 10px;
  color: var(--muted); font-size: 14.5px;
}

/* ---------- faq ---------- */
details { border-top: 1px solid var(--line) }
details:last-of-type { border-bottom: 1px solid var(--line) }
summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
  font: 600 16.5px/1.5 var(--disp);
}
summary::-webkit-details-marker { display: none }
summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--moss); border-bottom: 2px solid var(--moss);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s var(--ease);
}
details[open] summary::after { transform: translateY(-30%) rotate(-135deg) }
details p { margin: 0 0 22px; color: #b8c1cc; max-width: 760px }
details p code { font-size: .86em }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); background: #0c0e10; padding: 46px 0 40px }
.foot { display: grid; grid-template-columns: auto 1fr; gap: 18px 30px; align-items: start }
.foot__brand { display: flex; gap: 12px; align-items: center }
.foot__brand b { display: block; font: 600 16px/1.4 var(--disp) }
.foot__brand span { display: block; color: var(--faint); font-size: 13px }
.foot__links { display: flex; flex-wrap: wrap; gap: 20px; justify-content: flex-end }
.foot__links a { color: var(--muted); text-decoration: none; font-size: 14.5px }
.foot__links a:hover { color: var(--moss) }
.foot__disc { grid-column: 1 / -1; margin: 12px 0 0; color: var(--faint); font-size: 13px; line-height: 1.8; max-width: 860px }
.foot__disc a { color: var(--muted) }
.foot__host { grid-column: 1 / -1; margin: 6px 0 0; font: 500 12px/1 var(--mono); color: #4c5560 }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease) }
.rv.on { opacity: 1; transform: none }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  .rv { opacity: 1; transform: none; transition: none }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav { display: none }
  .topbar__in { gap: 14px; justify-content: space-between }
  .feat { grid-template-columns: 1fr; gap: 8px }
  .feat dt { font-size: 16.5px }
  .dl, .grid2 { grid-template-columns: 1fr }
  .foot, .foot__links { grid-template-columns: 1fr }
  .foot__links { justify-content: flex-start }
  section { padding: 58px 0 }
  .hero { padding: 58px 0 52px }
}
@media (max-width: 520px) {
  .cta .btn { flex: 1 1 auto; justify-content: center }
  .btn--text { flex: 0 0 auto }
  .shot figcaption { font-size: 11.5px }
}
