/* Neural Lab website: one stylesheet, local fonts only, no frameworks. */
@font-face { font-family: Inter; font-weight: 300; font-style: normal; font-display: swap; src: url(../fonts/inter-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 500; font-style: normal; font-display: swap; src: url(../fonts/inter-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/inter-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/jetbrains-mono-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url(../fonts/jetbrains-mono-latin-500-normal.woff2) format("woff2"); }

@property --spin { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

:root {
  --bg: #03040a; --bg2: #060816; --bg3: #0a0d20;
  --ink: #eef3ff; --text: #c3cde3; --muted: #8f9bbd; --line: rgba(150, 170, 255, .14); --line2: rgba(150, 170, 255, .26);
  --blue: #3b82f6; --electric: #4f7cff; --cyan: #22d3ee; --violet: #8b5cf6; --magenta: #d946ef; --pink: #f472b6; --mint: #5eead4; --ice: #a5d8ff;
  --aurora: linear-gradient(100deg, #22d3ee 0%, #4f7cff 32%, #8b5cf6 62%, #d946ef 100%);
  --aurora-soft: linear-gradient(100deg, rgba(34, 211, 238, .18), rgba(79, 124, 255, .18), rgba(139, 92, 246, .18), rgba(217, 70, 239, .18));
  --glass: rgba(14, 18, 40, .55); --glass2: rgba(18, 23, 52, .7);
  --radius: 18px; --radius-s: 12px;
  --sans: Inter, "Segoe UI", system-ui, sans-serif; --mono: "JetBrains Mono", Consolas, ui-monospace, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
html.static { scroll-behavior: auto; }
html.static .hero { min-height: 900px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16.5px/1.65 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: #9cc4ff; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
code, kbd, pre { font-family: var(--mono); font-size: .86em; }
code { color: #dfe8ff; background: rgba(79, 124, 255, .12); border: 1px solid rgba(79, 124, 255, .25); padding: .05em .38em; border-radius: 6px; }
pre { background: rgba(5, 8, 20, .8); border: 1px solid var(--line); padding: 12px 14px; border-radius: 10px; overflow-x: auto; }
pre code { background: none; border: 0; padding: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 600; letter-spacing: -.035em; }
h3 { font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
::selection { background: rgba(139, 92, 246, .45); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: min(1220px, 100% - 44px); margin-inline: auto; }
.narrow { width: min(860px, 100% - 44px); }
.grad { background: var(--aurora); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradShift 9s ease-in-out infinite alternate; }
@keyframes gradShift { to { background-position: 100% 0; } }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--mono); letter-spacing: .26em; text-transform: uppercase; color: var(--cyan); margin-bottom: 20px; }
.kicker::before { content: ""; width: 26px; height: 1px; background: var(--aurora); }
.kicker.small { font-size: 11px; margin-bottom: 10px; }
.kicker.small::before { width: 14px; }
.muted { color: var(--muted); }
.badge { font: 600 10px/1 var(--mono); letter-spacing: .16em; color: #fff; padding: 4px 7px; border-radius: 6px; background: linear-gradient(100deg, rgba(34, 211, 238, .35), rgba(217, 70, 239, .35)); border: 1px solid rgba(255, 255, 255, .18); }
.glass { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 26px; }

/* ---------------------------------------------------------------- buttons */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px;
  border-radius: 999px; font: 600 14px/1 var(--sans); letter-spacing: .01em; text-decoration: none; color: var(--ink); cursor: pointer; border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .3s var(--ease), background .3s, border-color .3s, color .2s; }
.btn .ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 15.5px; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 13px; }
.btn-primary { color: #fff; background: var(--aurora); background-size: 160% 100%; box-shadow: 0 10px 40px -8px rgba(79, 124, 255, .7), 0 0 0 1px rgba(255, 255, 255, .12) inset; }
.btn-primary:hover { color: #fff; transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 18px 60px -10px rgba(139, 92, 246, .9), 0 0 0 1px rgba(255, 255, 255, .25) inset; }
.btn-primary::after, .btn-glow::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn-primary:hover::after, .btn-glow:hover::after { transform: translateX(120%); }
.btn-ghost { background: rgba(255, 255, 255, .04); border-color: var(--line2); backdrop-filter: blur(10px); }
.btn-ghost:hover { color: #fff; border-color: rgba(34, 211, 238, .55); background: rgba(34, 211, 238, .08); box-shadow: 0 0 30px -8px rgba(34, 211, 238, .6); transform: translateY(-2px); }
.btn-glow { color: #fff; background: linear-gradient(100deg, rgba(34, 211, 238, .22), rgba(139, 92, 246, .3)); border-color: rgba(255, 255, 255, .2); }
.btn-glow:hover { color: #fff; box-shadow: 0 0 28px -6px rgba(139, 92, 246, .8); }
.btn[aria-pressed="true"] { border-color: rgba(34, 211, 238, .6); color: #fff; background: rgba(34, 211, 238, .12); }

/* ---------------------------------------------------------------- nav + scroll progress */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--aurora); box-shadow: 0 0 12px rgba(139, 92, 246, .8); }
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .35s, border-color .35s, backdrop-filter .35s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(3, 4, 10, .72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--line); }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 72px; transition: height .35s var(--ease); }
.nav.scrolled .nav-row { height: 62px; }
.brand { display: flex; align-items: center; gap: 11px; color: #fff; text-decoration: none; }
.brand img { filter: drop-shadow(0 0 10px rgba(79, 124, 255, .6)); }
.brand-word { font: 600 14px/1 var(--mono); letter-spacing: .24em; }
.nav ul { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) { position: relative; color: var(--text); text-decoration: none; font-size: 14px; padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.nav a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, .05); }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--aurora); transform: scaleX(0); transition: transform .35s var(--ease); }
.nav a.active { color: #fff; }
.nav a.active::after { transform: scaleX(1); }
.nav li:last-child { margin-left: 8px; }
.menu-btn { display: none; background: rgba(255, 255, 255, .04); border: 1px solid var(--line2); color: #fff; border-radius: 12px; width: 44px; height: 42px; cursor: pointer; }
.burger { display: grid; gap: 6px; justify-items: center; }
.burger i { display: block; width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease); }
.menu-btn[aria-expanded="true"] .burger i:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .burger i:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; background: radial-gradient(1400px 900px at 70% 40%, #0d1440 0%, transparent 60%), var(--bg); }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.aurora { position: absolute; inset: -20%; z-index: -3; filter: blur(70px); opacity: .85; pointer-events: none; transform: translate3d(0, var(--auroraY, 0), 0); }
.au { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: drift 22s ease-in-out infinite alternate; }
.au1 { width: 55vw; height: 55vw; left: 40%; top: 0%; background: radial-gradient(circle, rgba(79, 124, 255, .55), transparent 65%); }
.au2 { width: 45vw; height: 45vw; left: 60%; top: 30%; background: radial-gradient(circle, rgba(217, 70, 239, .42), transparent 65%); animation-duration: 28s; animation-delay: -6s; }
.au3 { width: 50vw; height: 50vw; left: 10%; top: 35%; background: radial-gradient(circle, rgba(34, 211, 238, .30), transparent 65%); animation-duration: 32s; animation-delay: -12s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-6vw, 4vh) scale(1.12); } 100% { transform: translate(5vw, -3vh) scale(.95); } }
.hero-vignette { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(3, 4, 10, .92) 0%, rgba(3, 4, 10, .7) 40%, rgba(3, 4, 10, .3) 58%, rgba(3, 4, 10, 0) 72%), linear-gradient(0deg, var(--bg) 0%, transparent 26%), linear-gradient(180deg, rgba(3, 4, 10, .55) 0%, transparent 18%); }
.hero-inner { padding: 120px 0 110px; max-width: 1220px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; border-radius: 999px; text-decoration: none; color: var(--ink); font-size: 13.5px;
  background: rgba(12, 16, 38, .6); border: 1px solid var(--line2); backdrop-filter: blur(10px); margin-bottom: 30px; transition: border-color .3s, box-shadow .3s; }
.pill:hover { color: #fff; border-color: rgba(34, 211, 238, .5); box-shadow: 0 0 30px -8px rgba(34, 211, 238, .7); }
.pill-arrow { transition: transform .3s var(--ease); }
.pill:hover .pill-arrow { transform: translateX(4px); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(94, 234, 212, .7); animation: pulse 2.2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(94, 234, 212, .7); } 70% { box-shadow: 0 0 0 10px rgba(94, 234, 212, 0); } 100% { box-shadow: 0 0 0 0 rgba(94, 234, 212, 0); } }
.hero h1 { margin: 0 0 26px; }
.wordmark { display: block; font: 500 clamp(.85rem, 1.4vw, 1rem)/1 var(--mono); letter-spacing: .5em; color: var(--ice); margin-bottom: 22px; text-shadow: 0 0 24px rgba(79, 124, 255, .8); }
.headline { display: block; max-width: 11em; font-size: clamp(2.8rem, 6.4vw, 5.7rem); font-weight: 600; line-height: .98; letter-spacing: -.045em; color: #fff; text-shadow: 0 10px 60px rgba(0, 0, 0, .5); }
.headline .grad { display: inline; filter: drop-shadow(0 0 30px rgba(139, 92, 246, .35)); }
.lead { max-width: 600px; font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: #cfd8ee; margin-bottom: 38px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.hero-meta li { font: 500 12.5px/1 var(--mono); color: var(--text); padding: 9px 13px; border-radius: 999px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line); }
.scroll-cue { position: absolute; left: 50%; bottom: 84px; transform: translateX(-50%); width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .35); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------------------------------------------------------------- showcase */
.showcase { position: relative; margin-top: -60px; padding-bottom: 40px; z-index: 2; }
.window { position: relative; margin: 0; perspective: 1600px; }
.window-glow { position: absolute; inset: 8% 6% -4%; z-index: -1; border-radius: 40px; background: var(--aurora); filter: blur(70px); opacity: .45; }
.window-frame { position: relative; border-radius: 16px; padding: 1px; background: linear-gradient(140deg, rgba(34, 211, 238, .7), rgba(79, 124, 255, .3) 30%, rgba(139, 92, 246, .3) 70%, rgba(217, 70, 239, .7));
  box-shadow: 0 50px 120px -20px rgba(0, 0, 0, .8); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .6s var(--ease); }
.window-frame > * { border-radius: 0; }
.window-bar { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 0 0 14px; background: #0b0f1e; border-radius: 15px 15px 0 0; font-size: 12px; color: var(--muted); }
.window-bar span { flex: 1; }
.wc { font-style: normal; width: 46px; text-align: center; color: var(--muted); font-size: 12px; }
.window-frame .shot { border-radius: 0 0 15px 15px; border: 0; }
.callouts { list-style: none; margin: 0; padding: 0; }
.co { position: absolute; z-index: 3; font-size: 13px; color: var(--ink); padding: 10px 14px; border-radius: 12px; background: rgba(10, 14, 34, .78); border: 1px solid var(--line2); backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .8); animation: bob 6s ease-in-out infinite; white-space: nowrap; }
.co b { color: #fff; }
.co::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 9px; vertical-align: 1px; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.co1 { left: -36px; top: 22%; }
.co2 { right: -30px; top: 40%; animation-delay: -2s; }
.co2::before { background: var(--magenta); box-shadow: 0 0 10px var(--magenta); }
.co3 { left: 8%; bottom: 14%; animation-delay: -4s; }
.co3::before { background: var(--mint); box-shadow: 0 0 10px var(--mint); }
@keyframes bob { 50% { transform: translateY(-8px); } }
.window figcaption, .tp-media + figcaption { margin-top: 18px; text-align: center; font-size: 13px; color: var(--muted); }

/* ---------------------------------------------------------------- screenshots (shared) */
.shot { display: block; width: 100%; padding: 0; border: 1px solid var(--line2); border-radius: var(--radius-s); overflow: hidden; background: #000; cursor: zoom-in; }
.shot img { width: 100%; aspect-ratio: 1424 / 861; object-fit: cover; transition: transform 1.2s var(--ease); }
.shot:hover img { transform: scale(1.025); }

/* ---------------------------------------------------------------- stats */
.stats { padding: 70px 0 20px; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 30px 26px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat dd { margin: 0; font-size: clamp(2.4rem, 4.6vw, 3.6rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; background: var(--aurora); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat dt { font-size: 14px; color: var(--muted); max-width: 22ch; }
.fine { margin-top: 16px; font-size: 12.5px; color: var(--muted); }

/* ---------------------------------------------------------------- sections */
.section { position: relative; padding: clamp(72px, 8.5vw, 116px) 0; }
.section-head { text-align: center; max-width: 820px; margin: 0 auto 60px; }
.section-head.left { text-align: left; margin: 0 0 34px; }
.section-lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--text); }
.section-head .kicker { justify-content: center; }
.section-head.left .kicker { justify-content: flex-start; }

/* ---------------------------------------------------------------- how it works */
.how-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.steps-line { list-style: none; margin: 0; padding: 0 0 0 30px; position: relative; }
.steps-line::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.steps-line::after { content: ""; position: absolute; left: 7px; top: 10px; width: 2px; height: calc((100% - 20px) * var(--fill, 0)); background: var(--aurora); box-shadow: 0 0 12px rgba(34, 211, 238, .7); transition: height .8s var(--ease); }
.step { position: relative; display: flex; gap: 18px; padding: 18px 22px; margin-bottom: 14px; border-radius: var(--radius); border: 1px solid transparent; transition: background .4s, border-color .4s; }
.step::before { content: ""; position: absolute; left: -29px; top: 26px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line2); transition: border-color .4s, box-shadow .4s, background .4s; }
.step.active { background: var(--glass); border-color: var(--line2); }
.step.active::before { background: var(--cyan); border-color: #fff; box-shadow: 0 0 16px var(--cyan); }
.step-n { font: 500 13px/1.9 var(--mono); color: var(--muted); }
.step.active .step-n { color: var(--cyan); }
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.explainer { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: 320px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line2);
  background: radial-gradient(500px 300px at 80% 50%, rgba(139, 92, 246, .22), transparent 70%), radial-gradient(400px 300px at 10% 80%, rgba(34, 211, 238, .14), transparent 70%), #070a18;
  box-shadow: 0 40px 100px -30px rgba(79, 124, 255, .5); }
.illus-tag { position: absolute; right: 14px; top: 12px; z-index: 2; margin: 0; font: 500 10.5px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding: 5px 8px; border-radius: 6px; border: 1px solid var(--line); background: rgba(3, 4, 10, .6); }
.ex-editor { border-right: 1px solid var(--line); background: rgba(5, 8, 20, .7); }
.ex-tabs { display: flex; gap: 2px; height: 38px; align-items: flex-end; padding: 0 10px; border-bottom: 1px solid var(--line); font-size: 12px; }
.ex-tabs span { padding: 8px 12px; color: var(--muted); }
.ex-tabs .on { color: #fff; box-shadow: inset 0 2px 0 var(--cyan); background: rgba(255, 255, 255, .03); }
.ex-code { margin: 0; border: 0; background: none; padding: 22px 20px; font-size: 14px; line-height: 1.75; color: #cbd5f0; white-space: pre-wrap; min-height: 230px; }
.md-h { color: #fff; font-weight: 500; }
.ex-code .wl { color: var(--cyan); background: rgba(34, 211, 238, .12); border-radius: 4px; padding: 0 2px; }
.caret { display: inline-block; width: 2px; height: 1.15em; vertical-align: -3px; background: var(--cyan); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ex-graph { width: 100%; height: 100%; }
.ex-graph text { fill: #e6edff; font: 500 13px var(--sans); text-anchor: middle; }
.ex-dust circle { fill: #a5d8ff; opacity: .6; }
.ex-node { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.4); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.ex-link { stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 140; stroke-dashoffset: 140; transition: stroke-dashoffset 1.1s var(--ease); filter: drop-shadow(0 0 6px rgba(139, 92, 246, .9)); }
.ex-pulse { opacity: 0; }
#explainer.s1 .n1, #explainer.s3 .n2 { opacity: 1; transform: scale(1); }
#explainer.s3 .ex-link { stroke-dashoffset: 0; }
#explainer.s3 .ex-pulse { opacity: 1; offset-path: path("M96 140 L226 92"); animation: travel 2.2s linear infinite; }
@keyframes travel { from { offset-distance: 0%; } to { offset-distance: 100%; } }

/* ---------------------------------------------------------------- bento features */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(190px, auto); gap: 16px; }
.tile { position: relative; overflow: hidden; isolation: isolate; border-radius: 22px; padding: 28px; background: linear-gradient(180deg, rgba(16, 20, 44, .75), rgba(8, 10, 24, .85)); border: 1px solid var(--line);
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s; grid-column: span 2; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(79, 124, 255, .22), transparent 60%); opacity: 0; transition: opacity .4s; }
.tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: -1; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), rgba(34, 211, 238, .9), rgba(217, 70, 239, .5) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 30px 70px -30px rgba(79, 124, 255, .6); }
.tile:hover::before, .tile:hover::after { opacity: 1; }
.tile h3 { font-size: 1.22rem; margin: 18px 0 8px; }
.tile p { color: var(--muted); font-size: 15px; margin: 0; }
.tile-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--aurora-soft); border: 1px solid var(--line2); }
.tile-ico svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.t-graph { grid-column: span 4; grid-row: span 2; display: flex; flex-direction: column; }
.t-editor { grid-row: span 2; display: flex; flex-direction: column; }
.t-search { grid-row: span 1; }
.tile-copy { position: relative; z-index: 1; }
.tile-shot { position: relative; margin: 24px -28px -28px; flex: 1; min-height: 160px; overflow: hidden; border-top: 1px solid var(--line); -webkit-mask: linear-gradient(180deg, #000 70%, transparent); mask: linear-gradient(180deg, #000 70%, transparent); }
.tile-shot img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transition: transform 1.4s var(--ease); }
.tile:hover .tile-shot img { transform: scale(1.06); }
.tile-shot.crop-right img { object-position: 100% 20%; }
.tile-shot.short { min-height: 110px; height: 110px; margin-top: 18px; }
.tile-shot.short img { object-position: 50% 14%; }
.t-search { grid-row: span 1; }
.mini-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.mini-links span { font: 500 12px var(--mono); color: var(--cyan); padding: 5px 9px; border-radius: 8px; background: rgba(34, 211, 238, .08); border: 1px solid rgba(34, 211, 238, .25); }
.mini-links i { width: 18px; height: 1px; background: var(--aurora); }
.file-stack { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.file-stack span { font: 500 12px var(--mono); color: #e6edff; padding: 8px 12px; border-radius: 10px; background: rgba(20, 26, 56, .95); border: 1px solid var(--line2); transition: transform .5s var(--ease), border-color .5s var(--ease); }
.file-stack span:nth-child(2) { border-color: rgba(217, 70, 239, .4); }
.file-stack span:nth-child(3) { border-color: rgba(94, 234, 212, .4); }
.t-files:hover .file-stack span:nth-child(1) { transform: translateY(-4px) rotate(-2deg); }
.t-files:hover .file-stack span:nth-child(2) { transform: translateY(-7px); }
.t-files:hover .file-stack span:nth-child(3) { transform: translateY(-4px) rotate(2deg); }

/* ---------------------------------------------------------------- tour + gallery */
.screens { background: radial-gradient(900px 500px at 15% 30%, rgba(34, 211, 238, .08), transparent 70%), radial-gradient(900px 600px at 90% 70%, rgba(217, 70, 239, .08), transparent 70%); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 34px; }
.tabs [role="tab"] { position: relative; overflow: hidden; display: inline-flex; gap: 8px; align-items: center; font: 500 14px/1 var(--sans); color: var(--muted); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); border-radius: 999px; padding: 13px 20px; cursor: pointer; transition: color .3s, border-color .3s, background .3s; }
.tabs [role="tab"] b { font: 500 12px var(--mono); color: var(--muted); }
.tabs [role="tab"]:hover { color: #fff; border-color: var(--line2); }
.tabs [role="tab"][aria-selected="true"] { color: #fff; border-color: rgba(34, 211, 238, .5); background: linear-gradient(100deg, rgba(34, 211, 238, .14), rgba(139, 92, 246, .18)); box-shadow: 0 0 30px -10px rgba(79, 124, 255, .8); }
.tabs [role="tab"][aria-selected="true"] b { color: var(--cyan); }
.tabs .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--aurora); transform-origin: 0 50%; transform: scaleX(0); }
.tour.playing [aria-selected="true"] .bar { animation: fillbar var(--dur, 6s) linear forwards; }
@keyframes fillbar { to { transform: scaleX(1); } }
.tour-play { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line2); background: rgba(255, 255, 255, .04); color: #fff; cursor: pointer; font-size: 13px; }
.tour-play[aria-pressed="true"] { border-color: rgba(34, 211, 238, .6); }
.tab-panel { display: grid; grid-template-columns: 1fr 2fr; gap: 44px; align-items: center; animation: panelIn .7s var(--ease); }
.tab-panel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.tp-text h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 600; letter-spacing: -.03em; }
.tp-text p { color: var(--text); font-size: 16.5px; }
.tp-media { position: relative; border-radius: 16px; padding: 1px; background: linear-gradient(140deg, rgba(34, 211, 238, .6), rgba(79, 124, 255, .2) 40%, rgba(217, 70, 239, .6)); box-shadow: 0 40px 100px -30px rgba(79, 124, 255, .55); }
.tp-media .shot { border: 0; border-radius: 15px; }
.tab-panel:not([hidden]) .tp-media img { animation: kenburns 14s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.06) translate(-1%, -1%); } }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 60px; }
.g-item { margin: 0; }
.g-item .shot { border-radius: 14px; transition: transform .5s var(--ease), box-shadow .5s, border-color .4s; }
.g-item .shot:hover { transform: translateY(-5px); border-color: rgba(34, 211, 238, .5); box-shadow: 0 24px 50px -20px rgba(79, 124, 255, .7); }
.g-item figcaption { margin-top: 10px; font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-align: center; }

/* ---------------------------------------------------------------- live demo */
.demo { background: radial-gradient(1000px 600px at 50% 60%, rgba(79, 124, 255, .12), transparent 70%); }
.demo-shell { --demo-h: clamp(460px, 68vh, 660px); display: grid; grid-template-columns: 1fr 330px; gap: 16px; align-items: start; }
.demo-stage { position: relative; height: var(--demo-h); border-radius: 22px; overflow: hidden; border: 1px solid var(--line2);
  background: radial-gradient(600px 400px at 50% 50%, rgba(79, 124, 255, .2), transparent 70%), radial-gradient(400px 300px at 80% 20%, rgba(217, 70, 239, .14), transparent 70%), #04050d;
  box-shadow: 0 40px 100px -40px rgba(79, 124, 255, .6); }
.demo-canvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.demo-canvas.dragging { cursor: grabbing; }
.demo-label { position: absolute; top: 16px; left: 18px; z-index: 2; font: 500 11px/1 var(--mono); letter-spacing: .18em; color: var(--ice); display: flex; align-items: center; gap: 10px; pointer-events: none; }
.demo-controls { position: absolute; bottom: 16px; left: 16px; display: flex; gap: 8px; z-index: 2; }
.demo-tip { position: absolute; z-index: 3; pointer-events: none; padding: 7px 11px; border-radius: 10px; background: rgba(7, 10, 24, .92); border: 1px solid var(--line2); font-size: 13px; color: #fff; transform: translate(12px, 12px); white-space: nowrap; }
.demo-fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: 30px; text-align: center; color: var(--muted); }
.demo-panel { border-radius: 22px; border: 1px solid var(--line2); background: var(--glass); backdrop-filter: blur(14px); padding: 22px; display: flex; flex-direction: column; gap: 14px; max-height: var(--demo-h); overflow: auto; }
.demo-panel h3 { font-size: 1.35rem; margin-bottom: 6px; }
.demo-panel .group { font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; }
.demo-panel .links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pill-b, .pill { font-family: var(--sans); }
.demo-list summary { cursor: pointer; font: 500 11.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding: 6px 0; }
.demo-list-items, .demo-panel .links { display: flex; flex-wrap: wrap; gap: 6px; }
.demo-list-items { margin-top: 10px; }
.chipb { font-size: 13px; color: var(--ink); background: rgba(255, 255, 255, .04); border: 1px solid var(--line2); border-radius: 999px; padding: 5px 12px; cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; }
.chipb:hover, .chipb[aria-pressed="true"] { border-color: rgba(34, 211, 238, .7); background: rgba(34, 211, 238, .1); color: #fff; box-shadow: 0 0 16px -4px rgba(34, 211, 238, .6); }
@media (pointer: coarse) { .chipb { padding: 9px 14px; } .demo summary { padding-block: 8px; } }

/* ---------------------------------------------------------------- local-first */
.local { overflow-x: clip; }
.local-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.orbit { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; margin: 0 auto; }
.orbit-core { position: absolute; inset: 37%; border-radius: 50%; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; font: 500 11.5px/1.3 var(--mono); color: #fff;
  background: radial-gradient(circle, rgba(79, 124, 255, .55), rgba(139, 92, 246, .25) 60%, transparent 72%); box-shadow: 0 0 80px rgba(79, 124, 255, .55); }
.orbit-core svg { width: 34px; height: 34px; fill: rgba(255, 255, 255, .12); stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; }
.ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(150, 170, 255, .22); animation: spin 40s linear infinite; }
.r1 { inset: 24%; }
.r2 { inset: 11%; animation-duration: 60s; animation-direction: reverse; }
.r3 { inset: 0; animation-duration: 85s; }
@keyframes spin { to { transform: rotate(360deg); } }
.chip-f { position: absolute; font: 500 11.5px/1 var(--mono); color: #e6edff; padding: 7px 10px; border-radius: 9px; background: rgba(12, 16, 38, .92); border: 1px solid var(--line2); white-space: nowrap;
  animation: spin 40s linear infinite reverse; box-shadow: 0 0 20px -6px rgba(34, 211, 238, .6); }
.r2 .chip-f { animation-duration: 60s; animation-direction: normal; }
.r3 .chip-f { animation-duration: 85s; }
.ring .chip-f:nth-child(1) { top: -12px; left: 50%; margin-left: -40px; }
.ring .chip-f.c2 { bottom: -12px; right: 12%; border-color: rgba(217, 70, 239, .45); }
.ring .chip-f.c3 { top: 46%; left: -26px; border-color: rgba(94, 234, 212, .45); }
.r2 .chip-f:nth-child(1) { top: calc(14.6% - 14px); left: calc(85.4% - 56px); margin-left: 0; }
.r2 .chip-f.c2 { bottom: auto; right: auto; top: calc(85.4% - 14px); left: calc(14.6% - 46px); }
.r3 .chip-f:nth-child(1) { top: calc(14.6% - 14px); left: calc(14.6% - 64px); margin-left: 0; }
.r3 .chip-f.c2 { bottom: auto; top: calc(50% - 14px); right: -22px; }
.promises { list-style: none; padding: 0; margin: 0 0 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.promises li { position: relative; padding-left: 32px; color: var(--muted); font-size: 15px; }
.promises li b { color: #fff; display: block; font-weight: 600; }
.promises li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--aurora); -webkit-mask: radial-gradient(circle, #000 55%, transparent 56%); mask: radial-gradient(circle, #000 55%, transparent 56%); }
.promises li::after { content: ""; position: absolute; left: 6px; top: 9px; width: 8px; height: 4px; border-left: 2px solid #03040a; border-bottom: 2px solid #03040a; transform: rotate(-45deg); }
.note { font-size: 14px; color: var(--muted); border-left: 2px solid; border-image: var(--aurora) 1; padding-left: 16px; }

/* ---------------------------------------------------------------- download */
.download { background: radial-gradient(1100px 600px at 50% 100%, rgba(79, 124, 255, .18), transparent 70%), radial-gradient(700px 400px at 85% 20%, rgba(217, 70, 239, .1), transparent 70%); }
.release { position: relative; border-radius: 28px; padding: 2px; background: conic-gradient(from var(--spin), #22d3ee, #4f7cff, #8b5cf6, #d946ef, #22d3ee); animation: rotateBorder 8s linear infinite; box-shadow: 0 50px 140px -40px rgba(79, 124, 255, .7); }
@keyframes rotateBorder { to { --spin: 360deg; } }
.release-inner { border-radius: 26px; background: linear-gradient(180deg, #0a0e24, #05071a); padding: clamp(22px, 4vw, 44px); }
.release-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 18px; margin-bottom: 30px; }
.release-tag { font: 500 12px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); margin-bottom: 12px; display: flex; gap: 10px; align-items: center; }
.release-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 600; letter-spacing: -.035em; margin: 0; }
.release-sub { color: var(--muted); margin: 8px 0 0; font-size: 14px; }
.release-links { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.release-links a { font-size: 13px; text-decoration: none; color: var(--text); padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .03); transition: border-color .2s, color .2s; }
.release-links a:hover { color: #fff; border-color: rgba(34, 211, 238, .5); }
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.dl-card { position: relative; border-radius: 20px; padding: 26px; background: rgba(255, 255, 255, .025); border: 1px solid var(--line2); display: flex; flex-direction: column; gap: 14px; transition: border-color .4s, box-shadow .4s; }
.dl-card:hover { border-color: rgba(34, 211, 238, .4); box-shadow: 0 30px 70px -30px rgba(79, 124, 255, .55); }
.dl-kind { font: 500 11.5px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.dl-card h3 { font-size: 1.35rem; margin: 0; }
.dl-card .btn { align-self: flex-start; }
.dl-badge { align-self: flex-start; font: 600 11px/1 var(--mono); letter-spacing: .08em; color: #03221d; background: var(--mint); padding: 6px 9px; border-radius: 7px; }
.dl-meta { display: grid; grid-template-columns: max-content 1fr; gap: 7px 16px; margin: 6px 0 0; font-size: 13.5px; }
.dl-meta dt { color: var(--muted); }
.dl-meta dd { margin: 0; color: var(--ink); min-width: 0; }
.hash { display: flex; gap: 8px; align-items: center; min-width: 0; }
.hash code { font-size: 11px; overflow-wrap: anywhere; word-break: break-all; background: rgba(0, 0, 0, .3); }
.copy { position: relative; flex: none; font: 600 11px/1 var(--mono); letter-spacing: .1em; color: #fff; background: rgba(255, 255, 255, .05); border: 1px solid var(--line2); border-radius: 8px; padding: 8px 10px; cursor: pointer; transition: background .25s, border-color .25s, transform .2s; }
.copy:hover { border-color: rgba(34, 211, 238, .6); background: rgba(34, 211, 238, .1); }
.copy.copied { color: #03221d; background: var(--mint); border-color: var(--mint); animation: pop .4s var(--ease); }
@keyframes pop { 40% { transform: scale(1.12); } }
.dl-foot { margin: 22px 0 0; font-size: 13.5px; color: var(--muted); }
.dl-unavailable { border: 1px dashed var(--line2); border-radius: 20px; padding: 24px; color: var(--muted); }
.after { margin-top: 40px; padding: 30px; border-radius: 22px; background: var(--glass); border: 1px solid var(--line); }
.after h3 { margin-bottom: 18px; }
.after ol { list-style: none; counter-reset: a; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.after li { counter-increment: a; color: var(--muted); font-size: 15px; position: relative; padding-top: 44px; }
.after li::before { content: counter(a); position: absolute; top: 0; left: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 600 13px var(--mono); color: #fff; background: var(--aurora); box-shadow: 0 0 20px -4px rgba(139, 92, 246, .8); }
.after li b { color: #fff; display: block; margin-bottom: 2px; }

/* ---------------------------------------------------------------- install, limits, faq */
.install-steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.install-steps li { counter-increment: s; padding: 24px; border-radius: 20px; background: rgba(255, 255, 255, .025); border: 1px solid var(--line); }
.install-steps li::before { content: "0" counter(s); display: block; font: 500 12px/1 var(--mono); letter-spacing: .2em; color: var(--cyan); margin-bottom: 14px; }
.install-steps p { color: var(--muted); font-size: 15px; margin: 0; }
.install-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.install-notes > * { min-width: 0; }
.install-notes pre { max-width: 100%; overflow-x: auto; white-space: pre-wrap; overflow-wrap: anywhere; }
.install-notes ul { padding-left: 18px; margin: 0; color: var(--text); font-size: 15px; }
.install-notes p { font-size: 15px; color: var(--text); }
.limits { columns: 2; column-gap: 44px; padding: 0; margin: 0; list-style: none; }
.limits li { break-inside: avoid; position: relative; padding-left: 22px; margin-bottom: 14px; color: var(--text); font-size: 15px; }
.limits li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--aurora); }
.limits li strong { color: #fff; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; color: #fff; font-weight: 500; font-size: 1.05rem; position: relative; transition: color .2s; }
.faq summary:hover { color: var(--cyan); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details[open] p { animation: panelIn .5s var(--ease); }
.faq details p { color: var(--text); padding-right: 40px; }

/* ---------------------------------------------------------------- footer */
.footer { position: relative; overflow: hidden; padding: 90px 0 50px; border-top: 1px solid var(--line); background: var(--bg2); }
.foot-glow { position: absolute; left: 50%; top: -260px; width: 900px; height: 400px; margin-left: -450px; border-radius: 50%; background: var(--aurora); filter: blur(120px); opacity: .25; }
.foot-word { position: relative; margin: 0 0 40px; font-size: clamp(3.4rem, 13vw, 11rem); font-weight: 600; letter-spacing: -.05em; line-height: .85; text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .02)); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.foot-row { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 22px 40px; align-items: center; }
.foot-brand { display: flex; gap: 12px; align-items: center; }
.foot-brand strong { display: block; color: #fff; font: 600 13px/1.3 var(--mono); letter-spacing: .22em; }
.foot-brand span { font-size: 13px; color: var(--muted); }
.footer ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 24px; padding: 0; margin: 0; }
.footer a { color: var(--text); text-decoration: none; font-size: 14px; }
.footer a:hover { color: #fff; }
.foot-note { position: relative; margin: 30px 0 0; font-size: 13px; color: var(--muted); }

/* ---------------------------------------------------------------- lightbox */
.lightbox { border: 1px solid var(--line2); border-radius: 18px; padding: 0; background: #03040a; color: var(--text); max-width: min(1500px, 96vw); width: 96vw; overflow: hidden; }
.lightbox[open] { animation: lbIn .45s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: scale(.96); } }
.lightbox::backdrop { background: rgba(2, 3, 8, .85); backdrop-filter: blur(6px); }
.lightbox img { width: 100%; height: auto; }
.lightbox p { margin: 0; padding: 12px 18px; font-size: 14px; color: var(--muted); }
.lb-close { position: absolute; top: 10px; right: 12px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line2); background: rgba(3, 4, 10, .8); color: #fff; font-size: 24px; cursor: pointer; }

/* ---------------------------------------------------------------- entrance motion (JS adds .js; reduced motion skips it) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal-rise { opacity: 0; transform: translateY(70px) scale(.96); transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); }
.js .reveal.in, .js .reveal-rise.in { opacity: 1; transform: none; }
.js .hero .reveal { transform: translateY(18px); filter: blur(6px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .hero .reveal.in { filter: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal, .js .reveal-rise, .js .hero .reveal { opacity: 1; transform: none; filter: none; }
  .window-frame { transform: none !important; }
  .release { animation: none; }
}
.reduce-motion *, .reduce-motion *::before, .reduce-motion *::after { animation: none !important; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .co1 { left: 10px; } .co2 { right: 10px; }
  .bento { grid-template-columns: repeat(4, 1fr); }
  .t-graph { grid-column: span 4; }
  .t-editor { grid-column: span 4; grid-row: span 1; }
  .tile-shot.crop-right { min-height: 200px; }
}
@media (max-width: 980px) {
  .nav ul { gap: 0; }
  .nav a:not(.btn) { padding: 8px 9px; font-size: 13.5px; }
  .how-grid, .local-grid { grid-template-columns: 1fr; }
  .orbit { max-width: 420px; }
  .demo-shell { grid-template-columns: 1fr; }
  .demo-panel { max-height: none; }
  .tab-panel { grid-template-columns: 1fr; gap: 22px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .dl-grid { grid-template-columns: 1fr; }
  .install-steps { grid-template-columns: repeat(2, 1fr); }
  .install-notes { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 820px) {
  .menu-btn { display: inline-block; }
  .nav ul { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 22px 22px; background: #05060f; border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0, 0, 0, .6); }
  .nav ul.open { display: flex; }
  .nav ul li a:not(.btn) { display: block; padding: 14px 4px; font-size: 16px; }
  .nav ul a:not(.btn)::after { display: none; }
  .nav li:last-child { margin: 10px 0 0; }
  .nav ul .btn { width: 100%; }
  .hero-inner { padding: 110px 0 90px; }
  .hero-vignette { background: linear-gradient(180deg, rgba(3, 4, 10, .4), rgba(3, 4, 10, .82) 60%, var(--bg)); }
  .callouts { display: none; }
  .showcase { margin-top: -30px; }
  .explainer { grid-template-columns: 1fr; }
  .ex-editor { border-right: 0; border-bottom: 1px solid var(--line); }
  .ex-code { min-height: 150px; }
  .ex-graph { height: 220px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile { grid-column: span 1; grid-row: auto; }
  .t-graph, .t-editor { grid-column: span 2; grid-row: auto; }
  .promises { grid-template-columns: 1fr; }
  .after ol { grid-template-columns: 1fr; }
  .limits { columns: 1; }
  .foot-row { grid-template-columns: 1fr; }
  .footer ul { justify-content: flex-start; }
  .cta .btn { flex: 1 1 100%; }
  .demo-shell { --demo-h: 420px; }
  .dl-meta { grid-template-columns: 1fr; gap: 2px; }
  .dl-meta dd { margin-bottom: 8px; }
}
@media (max-width: 520px) {
  .stat-row { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: 0; }
  .install-steps { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .tile, .t-graph, .t-editor { grid-column: span 1; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tabs [role="tab"] { padding: 11px 14px; font-size: 13px; }
}

/* public build: downloads are not offered yet */
.btn-soon { cursor: default; opacity: .78; pointer-events: none; }
.btn-soon .ico { stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
