:root {
  color-scheme: dark;
  --bg:#0b0b13; --surface:#11111d; --border:#29283b; --text:#f5f3ff;
  --muted:#b9b8cd; --accent:#c1a9ff; --blue:#95b1ff;
  font-family:"Avenir Next",Avenir,system-ui,sans-serif;
  font-size:100%; scroll-behavior:smooth;
}
*,*::before,*::after {box-sizing:border-box}
body {margin:0;background:var(--bg);color:var(--text);line-height:1.6}
a {color:inherit;text-underline-offset:.25em}
a:hover {color:var(--accent)}
button {font:inherit}
img,video {display:block;max-width:100%}
figure,p,h1,h2,h3 {margin:0}
p+p {margin-top:1rem}
h1,h2,h3 {line-height:1.12}
h1,h2 {letter-spacing:-.055em}
h2 {font-size:clamp(2.05rem,4vw,3.45rem);text-wrap:balance}
h3 {font-size:1.12rem;letter-spacing:-.015em}
section[id] {scroll-margin-top:1rem}
:focus-visible {outline:3px solid #a5c3ff;outline-offset:4px}
.shell {width:min(100% - 3.5rem,1216px);margin-inline:auto}
.skip {position:absolute;top:.5rem;left:1rem;z-index:2;padding:.75rem 1rem;background:#20203a;transform:translateY(-160%)}
.skip:focus {transform:none}
.header {border-bottom:1px solid var(--border);background:#0b0b13}
.top {min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:1.4rem}
.brand {display:inline-flex;align-items:center;gap:.3rem;font-weight:800;white-space:nowrap;text-decoration:none;letter-spacing:-.035em}
.brand img {margin-right:.35rem;border-radius:8px}
.brand span {color:var(--muted);font-weight:500}
nav {display:flex;gap:clamp(.75rem,2.75vw,2.3rem);align-items:center}
nav a,.footer a {text-decoration:none}
nav a {font-size:.9rem;color:var(--muted);font-weight:650;padding-block:.55rem}
.button {display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:.58rem 1rem;border:1px solid #575077;border-radius:.58rem;color:var(--text);background:#1c1930;text-decoration:none;font-weight:700;font-size:.92rem}
.button:hover {background:#292345;color:#fff}
.button.primary {background:linear-gradient(115deg,#bda4ff,#93abff);color:#151127;border-color:transparent}
.button.primary:hover {background:#d1c3ff;color:#151127}
.button.secondary {background:transparent;border-color:#4a465e}
.button.small {min-height:41px}
.button:disabled {color:#aaa8bc;background:#181825;border-color:#38354a;cursor:default}
main {overflow-x:clip}
.hero {position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);gap:clamp(2rem,4.4vw,4.9rem);align-items:center;padding-block:clamp(4rem,8.2vw,8rem)}
.hero::before {content:"";position:absolute;z-index:-1;inset:0 min(0px,(1216px - 100vw)/2);background:radial-gradient(ellipse at 71% 38%,#21163d 0%,transparent 56%),radial-gradient(ellipse at 93% 58%,#14223a 0%,transparent 42%);pointer-events:none}
.eyebrow {display:flex;align-items:center;gap:.45em;color:var(--accent);font-size:.875rem;font-weight:750;letter-spacing:.115em;text-transform:uppercase;margin-bottom:.85rem}
.status-dot {width:.48rem;height:.48rem;background:#b696ff;border-radius:100%;margin-right:.2rem}
.hero h1 {font-size:clamp(3.1rem,5.45vw,5.25rem);line-height:.99;max-width:11ch}
.hero h1 em {color:#c2adff;font-style:normal}
.intro {color:var(--muted);max-width:35ch;margin-top:1.35rem;font-size:clamp(1rem,1.55vw,1.16rem)}
.actions {display:flex;flex-wrap:wrap;gap:.65rem;margin-top:1.5rem}
.preview,.gallery figure,.editor {min-width:0;border:1px solid #363249;border-radius:1rem;overflow:hidden;background:var(--surface)}
.preview {box-shadow:0 30px 80px #0008,0 0 60px #6343c21c}
.preview-top,figcaption {padding:.72rem 1rem;color:var(--muted);font-size:.875rem}
.preview-top {display:flex;justify-content:space-between;gap:1rem;background:#181626}
.preview-top span:first-child,figcaption strong {color:var(--text);font-weight:720}
video {width:100%;aspect-ratio:16/9;background:#151121;object-fit:contain}
.preview figcaption {display:flex;justify-content:space-between;flex-wrap:wrap;gap:.2rem 1rem}
.section {padding-block:clamp(3rem,6vw,6rem);border-top:1px solid var(--border)}
.section-head {margin-bottom:1.75rem}
.section-head p:not(.eyebrow) {margin-top:.65rem;color:var(--muted);max-width:58ch}
.features {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--border);border-radius:.85rem;gap:1px;background:var(--border);overflow:hidden}
.features article {padding:1.35rem;background:var(--surface)}
.features article:first-child {grid-column:span 2;background:linear-gradient(140deg,#1b1831,#11111d 75%)}
.features article p,.download-card p {color:var(--muted);margin-top:.5rem}
.gallery,.download-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.gallery figcaption {display:grid;gap:.16rem}
.quick-grid,.split {display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);gap:clamp(1.5rem,4.5vw,5rem);align-items:start}
.steps {margin:0;padding-left:1.7rem;display:grid;gap:1rem}
.steps li {padding-left:.4rem;color:var(--muted)}
.steps li::marker {color:var(--accent);font-weight:750}
.steps strong {color:var(--text)}
code {overflow-wrap:anywhere;color:#dfd3ff}
.editor img {width:100%;height:auto}
details {border-bottom:1px solid var(--border)}
details:first-child {border-top:1px solid var(--border)}
summary {padding:.9rem .25rem;font-weight:700;cursor:pointer}
summary::marker {color:var(--accent)}
details div {padding:0 .25rem .95rem;color:var(--muted)}
.download-card {display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:1.3rem;border:1px solid var(--border);border-radius:.8rem;background:var(--surface)}
.download-card .button {margin-top:auto}
.package-platform {color:var(--accent);margin-bottom:.42rem;font-size:.875rem;font-weight:700}
.download-card .checksum {margin-bottom:1rem;font-size:.9rem;overflow-wrap:anywhere}
.package-file {overflow-wrap:anywhere;font-size:.9rem}
.release {margin-top:1.3rem;padding:1.4rem;border:1px solid var(--border);border-radius:.8rem;background:#131220;color:var(--muted)}
.release h3,.release strong {color:var(--text)}
.release ul {padding-left:1.2rem}
.privacy-copy {display:grid;gap:1.3rem;color:var(--muted)}
.privacy-copy h3 {color:var(--text);margin-bottom:.35rem}
.footer {border-top:1px solid var(--border);color:var(--muted)}
.footer-inner {display:flex;flex-wrap:wrap;gap:.8rem 1.5rem;align-items:center;justify-content:space-between;padding-block:1.2rem;font-size:.9rem}
@media (max-width:950px) {
  .features {grid-template-columns:repeat(3,minmax(0,1fr))}
  .features article:first-child {grid-column:auto}
}
@media (max-width:760px) {
  .shell {width:calc(100% - 2rem)}
  .top {flex-wrap:wrap;gap:.4rem .8rem;padding-block:.65rem}
  .top nav {order:3;flex-basis:100%;justify-content:space-between;gap:.35rem;border-top:1px solid var(--border)}
  .hero,.quick-grid,.split {grid-template-columns:minmax(0,1fr)}
  .hero {gap:1.8rem;padding-block:3.05rem}
  .hero::before {inset-inline:-1rem}
  .hero h1 {max-width:12ch}
  .features,.gallery,.download-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .split {gap:0}
}
@media (max-width:500px) {
  .features,.gallery,.download-grid {grid-template-columns:minmax(0,1fr)}
  .header .button {padding-inline:.65rem}
}
@media (prefers-reduced-motion:reduce) { :root {scroll-behavior:auto} }
