/* Landing page only. Built on the user's template; base tokens and the nav live in style.css. */
#bg { position: fixed; inset: 0; width: 100%; height: 100%; height: 100lvh; z-index: 0; pointer-events: none; }
main, footer { position: relative; z-index: 1; }

/* side nav */
.side { position: fixed; z-index: 60; left: clamp(10px, 1.6vw, 26px); top: 50%; transform: translateY(-50%); padding: 10px 8px; border-radius: 10px;
  background: rgba(12,10,28,.55); border: 1px solid rgba(255,255,255,.06); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: opacity .5s, background .5s, border-color .5s; }
.side a { position: relative; display: block; padding: 6px 12px 6px 14px; font-size: 12.5px; color: #8a86a6; transition: color .3s; }
.side a::before { content: ""; position: absolute; left: 0; top: 50%; width: 2px; height: 0; border-radius: 2px; background: var(--violet-2); transform: translateY(-50%); transition: height .35s; }
.side a.on { color: #fff; }
.side a.on::before { height: 22px; }
.side.light { background: rgba(255,255,255,.25); border-color: rgba(255,255,255,.35); }
.side.light a { color: rgba(255,255,255,.6); }
.side.light a.on { color: #fff; }
.side.hide { opacity: 0; pointer-events: none; }

/* reveal */
.reveal { opacity: 0; translate: 0 22px; filter: blur(10px); transition: opacity 1s ease, translate 1s ease, filter 1s ease; transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; translate: 0 0; filter: none; }
.h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; }
.center-lead { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; max-width: 50ch; margin: 18px auto 0; }

/* hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; text-align: center; }
.hero-copy { position: relative; z-index: 2; padding-top: calc(128px + env(safe-area-inset-top, 0px)); }
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); line-height: 1.02; }
.hero .center-lead { max-width: 46ch; font-size: 15px; color: #d7d3ee; }
.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 28px; }
.hero-actions .install { width: min(420px, 100%); margin: 0; }
.hero .strip { margin-top: 18px; }
.arcs { position: absolute; inset: 0; z-index: 1; pointer-events: none; width: 100%; height: 100%; }
.arcs path { fill: none; stroke-linecap: round; stroke-width: 1.6; filter: url(#glow); }

/* engine + difficulty stages */
.dark-sec { position: relative; padding: 150px 0 120px; text-align: center; }
.copy p { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; max-width: 52ch; margin: 18px auto 0; }
.copy p code { font-size: .9em; }
.stage { position: relative; width: min(960px, 100% - 40px); height: min(580px, 70vw); min-height: 380px; margin: 70px auto 0; border-radius: 4px; overflow: hidden;
  background: radial-gradient(70% 60% at 50% 62%, rgba(80,45,190,.32), transparent 72%), rgba(16,12,38,.42);
  -webkit-mask: linear-gradient(transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(transparent, #000 10%, #000 90%, transparent); }
.stage .grain { position: absolute; inset: 0; opacity: .4; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 3px 3px; }
.iso { position: absolute; left: 50%; top: 54%; width: 0; height: 0; perspective: 1400px; }
.chip { position: absolute; width: 300px; height: 300px; left: -150px; top: -150px; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-36deg); transition: transform .2s linear; }
.slab { position: absolute; inset: 0; border-radius: 6px; transform-style: preserve-3d; }
.slab .layer { position: absolute; inset: 0; border-radius: 6px; background: #0a0720; box-shadow: inset 0 0 0 1px rgba(150,130,255,.08); }
.base { position: absolute; inset: -34px; border-radius: 10px; transform: translateZ(-26px); background: rgba(20,14,56,.55); box-shadow: inset 0 0 0 1px rgba(180,160,255,.25), 0 0 60px rgba(90,60,255,.25); }
.base::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 1.5px rgba(255,255,255,.85), 0 0 18px 4px rgba(200,190,255,.6); -webkit-mask: linear-gradient(225deg, transparent 55%, #000 62%); mask: linear-gradient(225deg, transparent 55%, #000 62%); }
.slab .top { position: absolute; inset: 0; border-radius: 6px; transform: translateZ(18px); overflow: hidden;
  background: linear-gradient(135deg, #1a1240, #0d0a26 60%); box-shadow: inset 0 0 0 1px rgba(160,140,255,.35), inset 0 0 40px rgba(90,60,255,.25); }
.slab .edge { position: absolute; inset: 0; border-radius: 6px; transform: translateZ(1px); box-shadow: 0 0 0 2px #fff, 0 0 24px 6px rgba(200,190,255,.75), 0 0 80px 20px rgba(110,80,255,.35);
  -webkit-mask: linear-gradient(225deg, transparent 52%, #000 58%); mask: linear-gradient(225deg, transparent 52%, #000 58%); }
.circuit { position: absolute; inset: 0; width: 100%; height: 100%; }
.circuit path { fill: none; stroke: rgba(170,150,255,.45); stroke-width: 1; }
.circuit circle { fill: #cdbfff; }
.circuit .flow { stroke: #e9e2ff; stroke-width: 1.4; stroke-dasharray: 6 60; animation: flow 3.5s linear infinite; filter: drop-shadow(0 0 3px #b9a6ff); }
@keyframes flow { to { stroke-dashoffset: -132; } }
.core { position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; border: 1.5px dashed rgba(220,210,255,.7); border-radius: 4px; display: grid; place-items: center;
  background: radial-gradient(circle, rgba(110,80,255,.35), transparent 70%); }
.core .mark { width: 46px; height: 46px; border-radius: 50%; background: #f1edff; display: grid; place-items: center; box-shadow: 0 0 30px rgba(200,180,255,.8); transition: box-shadow .3s, transform .3s; }
.core .mark.hit { box-shadow: 0 0 60px 10px rgba(220,200,255,1); transform: scale(1.12); }
.core .mark svg { width: 24px; height: 24px; }
.floater { position: absolute; width: 160px; height: 110px; left: -170px; top: -210px; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-36deg) translateZ(calc(110px + var(--bob, 0px))); }
.floater .face { position: absolute; inset: 0; border-radius: 6px; background: linear-gradient(135deg, rgba(60,40,150,.55), rgba(20,14,60,.4)); box-shadow: inset 0 0 0 1px rgba(200,190,255,.5), 0 0 30px rgba(120,90,255,.3);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; text-align: left; font-style: italic; font-size: 15px; color: #fff; backdrop-filter: blur(3px); }
.floater .face i { position: absolute; top: 12px; left: 14px; width: 16px; height: 16px; border: 1.5px solid #fff; border-radius: 50%; }
.floater .face small { font: normal 10px var(--mono); color: var(--lav); letter-spacing: .04em; margin-top: 2px; transition: opacity .35s; }
.floater .face span { transition: opacity .35s; }
.glowpad { position: absolute; left: 50%; top: 62%; width: 60%; height: 30%; transform: translate(-50%, -50%); background: radial-gradient(50% 50% at 50% 50%, rgba(110,70,255,.45), transparent 70%); filter: blur(20px); }

.disc { position: absolute; left: 50%; top: 36%; width: 220px; height: 220px; margin: -110px 0 0 -110px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.35), transparent 30%), radial-gradient(circle at 50% 55%, #6a58c8, #2b1f78 60%, #120c3a);
  box-shadow: inset -8px -10px 30px rgba(0,0,0,.6), inset 6px 6px 24px rgba(220,210,255,.4), 0 0 0 1px rgba(220,210,255,.5), 0 0 60px rgba(110,80,255,.45);
  transform: perspective(800px) rotateY(var(--ry, -24deg)) rotateX(var(--rx, 14deg)) rotateZ(-14deg) translateY(var(--ty, 0px)); overflow: hidden; will-change: transform; }
.disc::after { content: ""; position: absolute; inset: -30%; pointer-events: none; background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.26) 50%, transparent 58%); animation: sheen 5.5s ease-in-out infinite; }
@keyframes sheen { 0% { transform: translateX(-70%) } 55%, 100% { transform: translateX(70%) } }
.disc pre { position: absolute; left: 20%; top: 30%; margin: 0; font: 11px/1.45 var(--mono); color: rgba(255,255,255,.75); transform: rotate(-8deg); text-align: left; }
.disc pre .cur { display: inline-block; width: 6px; height: 11px; margin-left: 1px; background: rgba(255,255,255,.85); vertical-align: -1px; animation: blink 1s steps(2) infinite; }
.disc pre .chg { color: #d8ffef; text-shadow: 0 0 8px rgba(120,255,200,.6); }
@keyframes blink { 50% { opacity: 0 } }
.disc .slo { position: absolute; right: 16%; top: 16%; font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.4); animation: sloPulse 3s ease-in-out infinite; }
@keyframes sloPulse { 50% { box-shadow: 0 0 14px rgba(255,255,255,.55) } }
.ring { position: absolute; left: 50%; top: 36%; width: 280px; height: 280px; margin: -140px 0 0 -140px; border-radius: 50%; border: 1px solid rgba(220,210,255,.25); transform: perspective(800px) rotateY(-24deg) rotateX(14deg); animation: ringspin 18s linear infinite; }
.ring::after { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px #fff; }
@keyframes ringspin { to { rotate: 360deg } }
.meters { position: absolute; left: 50%; top: 76%; transform: translateX(-50%); display: flex; gap: 70px; }
.meter { position: relative; width: 220px; text-align: left; }
.meter .lab { display: flex; align-items: center; gap: 10px; font-style: italic; font-size: 15px; margin-bottom: 10px; }
.meter .tag { font-style: normal; font-size: 9px; letter-spacing: .06em; text-transform: uppercase; padding: 2px 7px; border-radius: 3px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: var(--ink-2); transition: background .3s, color .3s; }
.meter.busy .tag { background: rgba(140,110,255,.4); color: #fff; }
.meter .box { height: 56px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 20px; font-style: italic; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #151034, #0b0822); box-shadow: inset 0 0 0 1px rgba(200,190,255,.25), 0 12px 0 -4px #07051a, 0 12px 0 -3px rgba(200,190,255,.2);
  transform: perspective(600px) rotateX(38deg); cursor: pointer; user-select: none; }
.meter .box small { font-size: 12px; color: var(--ink-3); margin-left: 6px; font-style: normal; }

/* network (warp tunnel) */
.perf { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; text-align: center; }
.perf .inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.perf h2 { font-size: clamp(46px, 6.4vw, 82px); line-height: 1; }
.stats { display: flex; gap: clamp(24px, 6vw, 70px); margin-top: 70px; }
.stat { min-width: 170px; }
.stat .num2 { display: flex; align-items: baseline; justify-content: center; gap: 8px; font-weight: 200; font-size: clamp(38px, 4vw, 52px); padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.3); font-variant-numeric: tabular-nums; }
.stat .num2 sup { font-size: .36em; font-weight: 400; color: var(--lav); }
.stat .pill { width: 26px; height: 16px; border-radius: 999px; background: var(--violet); display: grid; place-items: center; align-self: center; }
.stat .pill svg { width: 10px; height: 10px; }
.stat p { margin: 10px 0 0; font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: #e2def5; line-height: 1.4; }

/* live board */
.board { position: relative; padding: 40px 0 150px; }
.board .head { text-align: center; margin-bottom: 50px; }
.board .two { align-items: start; }
.board .two + .sec-head { margin-top: 60px; }

/* how it works (tabs) */
.stack { position: relative; padding: 200px 0 160px; text-align: center; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(10,8,34,.55) 16%, rgba(26,20,90,.92) 42%, #2a2290 70%, #4b3fd6 100%); }
.stack::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 25% at 50% 30%, rgba(110,80,255,.35), transparent 70%); pointer-events: none; }
.tabs-card { position: relative; width: min(880px, 100%); margin: 50px auto 0; border-radius: 14px; padding: 10px; background: rgba(40,30,110,.35); border: 1px solid rgba(180,170,255,.18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.tabs { display: flex; justify-content: space-between; gap: 4px; padding: 8px 8px 14px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 6px 8px; font-size: 12px; color: rgba(220,215,255,.45); transition: color .3s; white-space: nowrap; }
.tab svg { width: 22px; height: 22px; opacity: .55; transition: opacity .3s, transform .3s; }
.tab:hover { color: rgba(240,238,255,.8); }
.tab[aria-selected="true"] { color: #fff; }
.tab[aria-selected="true"] svg { opacity: 1; transform: translateY(-2px); filter: drop-shadow(0 0 8px rgba(200,190,255,.8)); }
.panel { border-radius: 10px; padding: 22px; text-align: left; display: flex; gap: 20px; align-items: flex-start; background: linear-gradient(180deg, rgba(22,16,60,.92), rgba(30,22,84,.92)); border: 1px solid rgba(180,170,255,.18); }
.panel .ic { width: 58px; height: 58px; flex: none; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, #5c48e6, #2d2192); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 0 24px rgba(110,80,255,.4); }
.panel .ic svg { width: 30px; height: 30px; color: #fff; }
.panel h3 { margin: 4px 0 8px; font-weight: 400; font-size: 18px; }
.panel p { margin: 0; font-size: 13px; color: var(--ink-2); max-width: 72ch; }
.panel .cmd { display: inline-flex; margin-top: 14px; font: 12px var(--mono); color: #fff; background: rgba(8,6,24,.7); border: 1px solid var(--line-2); border-radius: 8px; padding: 6px 10px; }
.panel a.more { display: inline-flex; gap: 6px; align-items: center; margin-top: 14px; font-size: 12px; color: var(--violet-2); }
.subs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.sub { border-radius: 10px; padding: 20px; text-align: left; min-height: 200px; background: linear-gradient(180deg, rgba(22,16,60,.92), rgba(34,26,96,.85)); border: 1px solid rgba(180,170,255,.18); }
.sub .si { width: 32px; height: 32px; border-radius: 7px; display: grid; place-items: center; background: linear-gradient(135deg, #5c48e6, #2d2192); margin-bottom: 22px; }
.sub .si svg { width: 16px; height: 16px; color: #fff; }
.sub h4 { margin: 0 0 12px; font-weight: 400; font-size: 15px; }
.sub p { margin: 0; font-size: 12.5px; color: var(--ink-2); line-height: 1.55; }
.swap { animation: swap .45s ease; }
@keyframes swap { from { opacity: 0; transform: translateY(8px) } to { opacity: 1; transform: none } }

/* supply (light purple) */
.safety { position: relative; padding: 150px 0 170px; text-align: center; overflow: hidden; color: #fff;
  background: radial-gradient(60% 40% at 50% 100%, rgba(255,255,255,.35), transparent 70%), linear-gradient(180deg, #4b3fd6 0%, #7c6cf2 28%, #9a8cf6 58%, #d6cffd 84%, #fff 100%); }
.safety h2 { font-size: clamp(40px, 5.2vw, 68px); color: rgba(255,255,255,.9); line-height: 1.05; }
.safety .paren { font-size: clamp(17px, 1.8vw, 22px); font-weight: 300; margin-top: 10px; color: #fff; }
.safety .center-lead { color: rgba(255,255,255,.92); }
.safe-art { position: relative; width: min(560px, 100%); aspect-ratio: 1.25; margin: 30px auto 0; }
.safe-art svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.safe3d { position: absolute; inset: -10% -10%; width: 120%; height: 120%; }
.has3d .fallback { display: none; }
.safe-pill { position: absolute; right: 2%; top: 47%; font-size: 13px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.safe-facts { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 6px auto 22px; }
.safe-facts span { font-size: 12.5px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.3); color: var(--light-ink); border: 1px solid rgba(255,255,255,.5); }
.safe-facts b { font-weight: 600; }

/* ready + footer (light) */
.ready { position: relative; padding: 170px 0 190px; text-align: center; overflow: hidden; color: var(--light-ink);
  background: radial-gradient(50% 40% at 50% 0%, rgba(255,170,230,.55), transparent 70%), radial-gradient(70% 50% at 50% 100%, rgba(200,190,255,.5), transparent 70%), linear-gradient(180deg, #fff, #f2efff 40%, #faf9ff); }
.ready h2 { font-size: clamp(54px, 8vw, 108px); font-weight: 300; line-height: 1; background: linear-gradient(90deg, #5b3cf0 0%, #8a6bff 35%, #c8bbff 60%, #b7a9ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
.ready p { color: var(--light-muted); margin: 14px 0 30px; }
.ready .install { margin: 0 auto 8px; background: #fff; border-color: #e3defb; box-shadow: 0 10px 30px rgba(80,60,200,.08); backdrop-filter: none; }
.ready .install code { color: var(--light-ink); }
.ready .install .lbl { color: #8a85ad; }
.ready .install button { color: var(--light-muted); border-color: #e3defb; }
.ready .install button:hover { color: #fff; }
.ready .btn { margin-top: 26px; }
footer.big { background: #fff; color: var(--light-ink); overflow: hidden; padding-top: 70px; }
.f-top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.f-top p { margin: 0; font-size: 13px; color: var(--light-muted); max-width: 40ch; justify-self: end; }
.badges { display: flex; flex-wrap: wrap; gap: 30px 40px; margin: 60px 0 0; padding: 40px 0; border-top: 1px solid #eeebfa; border-bottom: 1px solid #eeebfa; }
.badge { display: flex; flex-direction: column; gap: 10px; font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: #4c4772; max-width: 130px; }
.badge i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #e9e5ff, #cfc6ff); color: #3a2fb0; }
.badge i svg { width: 16px; height: 16px; }
.cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 50px 0; }
.cols h5 { margin: 0 0 18px; font-size: 13px; font-weight: 600; }
.cols a { display: block; font-size: 12.5px; color: var(--light-muted); padding: 5px 0; }
.cols a:hover { color: var(--light-ink); }
.f-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; border-top: 1px solid #eeebfa; font-size: 12px; color: var(--light-muted); flex-wrap: wrap; }
.f-bar .soc { display: flex; gap: 16px; }
.f-bar .soc svg { width: 16px; height: 16px; color: #3a2fb0; }
.giant { position: relative; height: clamp(110px, 17vw, 250px); overflow: hidden; margin-top: 10px; }
.giant span { position: absolute; left: 50%; top: 0; transform: translateX(-50%); font-weight: 500; font-size: clamp(120px, 21vw, 330px); line-height: .8; letter-spacing: -.05em; white-space: nowrap;
  background: radial-gradient(40% 60% at 55% 40%, #a48fff, #7b5cff 45%, rgba(140,120,255,.25) 80%), linear-gradient(#b6a6ff, #7b5cff); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }

@media (max-width: 980px) { .side { display: none; } }
@media (max-width: 760px) {
  .meters { gap: 16px; }
  .meter { width: 42vw; }
  .meter .lab { font-size: 13px; }
  .stats { flex-direction: column; gap: 30px; margin-top: 40px; }
  .subs { grid-template-columns: 1fr; }
  .panel { flex-direction: column; }
  .f-top { grid-template-columns: 1fr; }
  .f-top p { justify-self: start; }
  .cols { grid-template-columns: repeat(2, 1fr); }
  .stage { height: 420px; }
  .chip { width: 220px; height: 220px; left: -110px; top: -110px; }
  .floater { width: 120px; height: 84px; left: -130px; top: -160px; }
  .disc { width: 170px; height: 170px; margin: -85px 0 0 -85px; }
  .disc pre { font-size: 9px; }
  .ring { width: 220px; height: 220px; margin: -110px 0 0 -110px; }
  .hero-copy { padding-top: 110px; }
  .strip span:nth-child(n+4) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; translate: none; filter: none; }
  .circuit .flow, .ring, .disc::after, .disc .slo { animation: none; }
}

/* CLI install section */
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.cli { position: relative; padding: 140px 0 110px; }
.cli::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(45% 50% at 72% 50%, rgba(109,76,255,.22), transparent 70%), linear-gradient(180deg, transparent, rgba(6,4,20,.55) 30%, rgba(6,4,20,.55) 70%, transparent); }
.cli-grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.npm-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; font: 12px var(--mono); color: var(--ink-2); background: rgba(12,9,34,.7); border: 1px solid var(--line-2); transition: border-color .2s; }
.npm-pill:hover { border-color: var(--violet-2); }
.npm-pill svg { width: 18px; height: 18px; }
.npm-pill b { color: #fff; font-weight: 500; }
.npm-pill span { color: var(--green); }
.npm-pill span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); margin: 0 6px 1px 2px; box-shadow: 0 0 8px var(--green); }
.cli-copy .h2 { margin-top: 22px; font-size: clamp(32px, 3.8vw, 50px); line-height: 1.06; }
.cli-lead { color: var(--ink-2); font-size: 15px; line-height: 1.6; max-width: 46ch; margin: 18px 0 26px; }
.os { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(12,9,34,.7); border: 1px solid var(--line); margin-bottom: 16px; }
.os button { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 14px; border-radius: 999px; font-size: 12.5px; color: var(--ink-3); transition: color .2s, background .2s; }
.os button svg { width: 14px; height: 14px; }
.os button:hover { color: #fff; }
.os button[aria-selected="true"] { background: #fff; color: var(--light-ink); }
.cli-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-width: 480px; }
.cli-steps li { display: flex; align-items: center; gap: 12px; }
.cli-steps .n { font: 600 11px var(--mono); color: var(--lav); width: 20px; flex: none; }
.cli-steps .install { flex: 1; margin: 0; max-width: none; }
.cli-steps .install .lbl { width: 62px; }
.cli-need { margin: 16px 0 0 32px; font-size: 12.5px; color: var(--ink-3); }
.cli-need b { color: var(--ink-2); font-weight: 500; }
.cli-need a { color: var(--lav); }

.cli-win { position: relative; border-radius: 14px; background: rgba(7,5,20,.92); border: 1px solid rgba(200,190,255,.28);
  box-shadow: 0 0 0 1px rgba(0,0,0,.4), 0 40px 120px -20px rgba(90,60,255,.55), 0 0 60px rgba(109,76,255,.18), inset 0 1px 0 rgba(255,255,255,.08);
  transform: perspective(1400px) rotateY(var(--ty, -7deg)) rotateX(var(--tx, 3deg)); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.cli-win:hover { --ty: -2deg; --tx: 1deg; }
.cli-bar { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px; border-bottom: 1px solid rgba(200,190,255,.14); font: 11.5px var(--mono); color: var(--ink-3); }
.cli-bar .dots, .cli-bar .ctl { display: flex; gap: 7px; }
.cli-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: #3a3456; }
.cli-bar .ctl { margin-left: auto; gap: 16px; }
.cli-bar .ctl i { width: 10px; height: 1.5px; background: var(--ink-3); position: relative; }
.cli-bar .ctl i:nth-child(2) { height: 9px; background: none; border: 1.5px solid var(--ink-3); width: 9px; margin-top: -4px; }
.cli-bar .ctl i:nth-child(3)::before, .cli-bar .ctl i:nth-child(3)::after { content: ""; position: absolute; inset: 0; background: var(--ink-3); transform: rotate(45deg); }
.cli-bar .ctl i:nth-child(3) { background: none; }
.cli-bar .ctl i:nth-child(3)::after { transform: rotate(-45deg); }
.cli-win[data-os="win"] .dots { display: none; }
.cli-win:not([data-os="win"]) .ctl { display: none; }
.cli-win:not([data-os="win"]) .cli-title { margin: 0 auto; transform: translateX(-26px); }
.cli-win[data-os="mac"] .dots i:nth-child(1) { background: #ff5f57; }
.cli-win[data-os="mac"] .dots i:nth-child(2) { background: #febc2e; }
.cli-win[data-os="mac"] .dots i:nth-child(3) { background: #28c840; }
#cliTerm { margin: 0; padding: 16px 18px 20px; height: 392px; overflow: hidden; font: 12.5px/1.6 "Cascadia Mono", Consolas, Menlo, "DejaVu Sans Mono", ui-monospace, monospace; color: #bdb7da; white-space: pre; }
#cliTerm .pr { color: var(--violet-2); }
#cliTerm .w { color: #fff; }
#cliTerm .b { color: #fff; font-weight: 600; }
#cliTerm .d { color: #6f6990; }
#cliTerm .v { color: #a78bff; }
#cliTerm .g { color: var(--green); }
#cliTerm .gf { color: var(--green); font-weight: 600; text-shadow: 0 0 12px rgba(125,255,196,.7); }
#cliTerm .inv { background: #f3f1ff; color: #120c3a; font-weight: 600; }
#cliTerm .bdg { background: #8f7bff; color: #0a0820; font-weight: 600; }
#cliTerm .cur { display: inline-block; width: 7.5px; height: 15px; vertical-align: -3px; background: #e9e4ff; animation: blink 1s steps(2) infinite; }
#cliTerm .ban { display: inline-block; vertical-align: top; width: 51ch; height: 4.6em; margin: 4px 0 2px; filter: drop-shadow(0 0 10px rgba(167,139,255,.45)); }
.cli-glow { position: absolute; left: 10%; right: 10%; bottom: -40px; height: 80px; background: radial-gradient(50% 50% at 50% 50%, rgba(140,100,255,.5), transparent 70%); filter: blur(20px); pointer-events: none; z-index: -1; }
.cli-feats { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 70px; }
.cli-feats span { font-size: 12.5px; color: var(--ink-2); padding: 8px 15px; border-radius: 999px; background: rgba(12,9,34,.6); border: 1px solid var(--line); }
.cli-feats b { color: #fff; font-weight: 500; }

@media (max-width: 980px) {
  .cli-grid { grid-template-columns: 1fr; gap: 40px; }
  .cli-win { transform: none; }
}
@media (max-width: 760px) {
  .cli { padding: 90px 0 80px; }
  #cliTerm { font-size: 9.6px; line-height: 1.55; height: 300px; padding: 12px; }
  #cliTerm .cur { width: 6px; height: 12px; }
  .os button { padding: 0 10px; font-size: 12px; }
  .cli-need { margin-left: 0; }
  .cli-steps .install .lbl { width: 50px; }
}
