:root {
  --bg: #0b0f17;
  --bg-2: #0f1520;
  --surface: #131a26;
  --surface-2: #19212f;
  --line: #222b3a;
  --text: #e6e9f0;
  --text-2: #a3aabb;
  --text-3: #6f7789;
  --mint: #4fd6a0;
  --mint-2: #8af0c6;
  --violet: #9b8cff;
  --amber: #f5b74f;
  --pink: #ff7eb6;
  --display: "Bricolage Grotesque", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --body: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", Consolas, monospace;
  --radius: 16px;
  --max: 1160px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(79, 214, 160, .13), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(155, 140, 255, .08), transparent 60%),
    var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mint); text-decoration: none; }
a:hover { color: var(--mint-2); }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0; letter-spacing: -.02em; }
main > section { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px max(24px, calc((100vw - var(--max)) / 2 + 24px));
  background: rgba(11, 15, 23, .72);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font: 700 20px var(--display); letter-spacing: -.02em; }
.brand img { border-radius: 7px; }
.nav nav { display: flex; align-items: center; gap: 4px; }
.nav nav a { color: var(--text-2); padding: 7px 12px; border-radius: 999px; font-size: 14.5px; }
.nav nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav nav a.nav-cta { color: #06251a; background: var(--mint); font-weight: 600; margin-left: 6px; }
.nav nav a.nav-cta:hover { background: var(--mint-2); }

/* hero */
.hero { display: grid; grid-template-columns: 1fr; gap: 64px; justify-items: center; text-align: center; padding-top: 72px !important; padding-bottom: 96px !important; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px; padding: 6px 13px 6px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--text-2); font-size: 13.5px; background: rgba(255, 255, 255, .02); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(79, 214, 160, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(79, 214, 160, 0); } 100% { box-shadow: 0 0 0 0 rgba(79, 214, 160, 0); } }
h1 { font-size: clamp(46px, 6.4vw, 84px); font-weight: 800; }
h1 em { font-style: normal; background: linear-gradient(95deg, var(--mint) 10%, var(--mint-2) 60%, #ffffff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 18.5px; color: var(--text-2); max-width: 560px; margin: 24px auto 34px; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.version-pill { font: 13px var(--mono); color: var(--text-3); }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 12px; font-weight: 600; font-size: 15.5px; transition: transform .15s, box-shadow .15s, background .15s; }
.btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn.primary { color: #06251a; background: linear-gradient(180deg, var(--mint-2), var(--mint)); box-shadow: 0 10px 30px -8px rgba(79, 214, 160, .55), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn.primary:hover { color: #06251a; transform: translateY(-1px); box-shadow: 0 14px 36px -8px rgba(79, 214, 160, .7), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn.big { padding: 15px 26px; font-size: 16.5px; }

.hero-shot { margin: 0; position: relative; width: 100%; max-width: 1040px; }
.hero-shot::before { content: ""; position: absolute; inset: 6% 4% -4% 4%; background: radial-gradient(closest-side, rgba(79, 214, 160, .28), transparent); filter: blur(30px); z-index: -1; }
.window { border-radius: 14px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .09); background: #111318; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .7); }
.window-bar { display: flex; gap: 7px; padding: 10px 13px; background: #0d0f14; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a303c; }
.hero-shot figcaption { margin-top: 18px; color: var(--text-3); font-size: 13.5px; text-align: center; }

/* sections */
.section-head { margin-bottom: 38px; }
.kicker { margin: 0 0 12px; font: 500 12.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mint); }
h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 700; max-width: 720px; }
.about, .features, .releases { padding-top: 40px !important; padding-bottom: 88px !important; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; color: var(--text-2); font-size: 17px; }
.about-grid p { margin: 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 48px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); }
.stats div { background: var(--bg-2); padding: 24px 22px; display: flex; flex-direction: column; gap: 4px; }
.stats b { font: 700 30px var(--display); letter-spacing: -.02em; }
.stats span { color: var(--text-3); font-size: 14px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: border-color .2s, transform .2s; }
.card:hover { border-color: #33405a; transform: translateY(-2px); }
.card.wide { grid-column: span 2; background: linear-gradient(135deg, rgba(79, 214, 160, .10), transparent 55%), linear-gradient(180deg, var(--surface), var(--bg-2)); }
.card h3 { font-size: 21px; font-weight: 700; margin: 18px 0 8px; }
.card p { margin: 0; color: var(--text-2); font-size: 15px; }
.icon { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: rgba(79, 214, 160, .12); color: var(--mint); }
.icon.amber { background: rgba(245, 183, 79, .12); color: var(--amber); }
.icon.violet { background: rgba(155, 140, 255, .14); color: var(--violet); }
.icon.pink { background: rgba(255, 126, 182, .12); color: var(--pink); }
.icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* user cards */
.usercards { display: grid; grid-template-columns: 1fr; gap: 48px; padding-top: 24px !important; padding-bottom: 104px !important; }
.uc-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 56px; align-items: start; }
.uc-copy .uc-points { grid-column: 2; grid-row: 1 / span 3; margin-top: 30px; }
.uc-lede { color: var(--text-2); font-size: 17px; margin: 20px 0 0; max-width: 480px; }
.uc-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.uc-points li { position: relative; padding-left: 26px; color: var(--text-2); font-size: 15.5px; }
.uc-points li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 3px; background: var(--mint); box-shadow: 0 0 12px rgba(79, 214, 160, .6); }
.uc-points b { color: var(--text); font-weight: 600; }
.uc-shots { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 424px)); justify-content: center; gap: 32px; align-items: start; }
.uc-shots::before { content: ""; position: absolute; inset: 10% 5%; background: radial-gradient(closest-side, rgba(155, 140, 255, .22), transparent); filter: blur(34px); z-index: -1; }
.uc-shots figure { margin: 0; }
.uc-shots figure:nth-child(2) { margin-top: 56px; }
.uc-shots img { border-radius: 12px; border: 1px solid rgba(255, 255, 255, .09); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .75); }
.uc-shots figcaption { margin-top: 12px; text-align: center; font: 12.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }

/* download */
.download { padding-bottom: 88px !important; }
.dl-card {
  display: grid; grid-template-columns: auto 1fr 1.25fr; gap: 36px; align-items: start;
  padding: 40px; border-radius: 22px; border: 1px solid rgba(79, 214, 160, .28);
  background: radial-gradient(600px 300px at 0% 0%, rgba(79, 214, 160, .16), transparent 70%), var(--surface);
}
.dl-card > img { border-radius: 18px; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .6); }
.dl-main h2 { font-size: 40px; }
.dl-meta { color: var(--text-3); font: 13.5px var(--mono); margin: 10px 0 22px; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding: 14px 16px 14px 54px; background: rgba(0, 0, 0, .22); border: 1px solid var(--line); border-radius: 12px; color: var(--text-2); font-size: 14.5px; }
.steps li::before { content: counter(s); position: absolute; left: 15px; top: 13px; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(79, 214, 160, .14); color: var(--mint); font: 600 13px var(--mono); }
.steps b { color: var(--text); }
.steps i { font-style: normal; color: var(--text); }

/* releases */
.release-list { display: grid; gap: 14px; }
.release { display: grid; grid-template-columns: 180px 1fr; gap: 28px; padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.release.latest { border-color: rgba(79, 214, 160, .35); background: linear-gradient(90deg, rgba(79, 214, 160, .07), transparent 40%), var(--bg-2); }
.release-side { display: flex; flex-direction: column; gap: 6px; }
.release-ver { font: 700 24px var(--display); letter-spacing: -.02em; color: var(--text); }
.release-date { font: 13px var(--mono); color: var(--text-3); }
.tag-latest { align-self: flex-start; font: 600 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #06251a; background: var(--mint); padding: 3px 8px; border-radius: 6px; }
.release-body { color: var(--text-2); font-size: 15.5px; }
.release-body > :first-child { margin-top: 0; }
.release-body > :last-child { margin-bottom: 0; }
.release-body ul { padding-left: 20px; margin: 0; }
.release-body li { margin: 5px 0; }
.release-body li::marker { color: var(--mint); }
.release-body strong { color: var(--text); }
.release-body code { font: 13.5px var(--mono); background: var(--surface-2); padding: 1px 6px; border-radius: 5px; }
.muted { color: var(--text-3); }
.more { justify-self: center; margin-top: 4px; color: var(--text-2); background: transparent; border: 1px solid var(--line); border-radius: 10px; padding: 9px 18px; font: inherit; font-size: 14.5px; cursor: pointer; }
.more:hover { color: var(--text); border-color: #33405a; }
.all-releases { display: inline-block; margin-top: 22px; font-size: 14.5px; }

.foot { max-width: var(--max); margin: 0 auto; padding: 28px 24px 40px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--text-3); font-size: 13.5px; border-top: 1px solid var(--line); }
.foot span:first-child { display: flex; align-items: center; gap: 8px; color: var(--text-2); font-weight: 600; }
.foot img { border-radius: 4px; }

/* responsive */
@media (max-width: 960px) {
  .hero { gap: 48px; padding-top: 48px !important; }
  .usercards { gap: 40px; }
  .uc-copy { grid-template-columns: 1fr; }
  .uc-copy .uc-points { grid-column: auto; grid-row: auto; margin-top: 24px; }
  .uc-shots { gap: 20px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .dl-card { grid-template-columns: auto 1fr; }
  .steps { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  main > section { padding: 0 16px; }
  .nav { padding: 12px 16px; }
  .nav nav a:not(.nav-cta) { display: none; }
  .about-grid, .feature-grid { grid-template-columns: 1fr; }
  .card.wide { grid-column: auto; }
  .uc-shots { grid-template-columns: minmax(0, 380px); gap: 28px; }
  .uc-shots figure:nth-child(2) { margin-top: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .dl-card { grid-template-columns: 1fr; padding: 26px; }
  .dl-card > img { width: 56px; height: 56px; }
  .release { grid-template-columns: 1fr; gap: 12px; padding: 20px; }
  .release-side { flex-direction: row; align-items: center; gap: 12px; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse { animation: none; }
  .window, .card, .btn { transition: none; }
}

.btn.ghost-link { color: var(--text); border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.btn.ghost-link:hover { color: var(--text); border-color: #33405a; background: rgba(255, 255, 255, .05); }
.steps a { color: var(--mint); }
.foot a { color: var(--text-2); }
.foot a:hover { color: var(--mint); }

/* faq */
.faq { padding-bottom: 88px !important; }
.faq-list { display: grid; gap: 10px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: #33405a; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font: 600 17px var(--body); color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 24px var(--mono); color: var(--mint); line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--text-2); font-size: 15.5px; }
.faq details i { font-style: normal; color: var(--text); }
