/* Live desktop demo and feature illustrations (sizes use container units so they scale with their box). */
/* ---------- live demo ---------- */
.demo-wrap { max-width: 1120px; margin: clamp(36px, 6vw, 64px) auto 0; }
.try { display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap; margin-bottom: 18px; font-family: var(--round); font-weight: 800; }
.try span { color: var(--yellow); margin-right: 4px; }
.try button { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .22); padding: 8px 16px; border-radius: 999px; font-weight: 800; font-size: 14px; transition: background .15s, transform .15s; }
.try button:hover { background: rgba(255, 255, 255, .22); transform: translateY(-1px); }
.demo-note { font-size: 13px; color: rgba(255, 255, 255, .5); padding: 14px 0 26px; }

.desk { container-type: inline-size; position: relative; aspect-ratio: 16 / 9.6; border-radius: 1.6cqw 1.6cqw 0 0; overflow: hidden; text-align: left; user-select: none;
  background: radial-gradient(90% 80% at 80% 10%, #ffd27a, transparent 60%), radial-gradient(80% 90% at 10% 90%, #7a1f5c, transparent 60%), linear-gradient(160deg, #ff8a4c, #d6336c 55%, #3b1f6b);
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .14); }
.menubar { position: absolute; inset: 0 0 auto 0; height: 2.6cqw; display: flex; gap: 1.6cqw; align-items: center; padding: 0 1.4cqw; font-size: 1.15cqw; color: #fff; background: rgba(0, 0, 0, .18); backdrop-filter: blur(8px); }
.menubar span { opacity: .85; }

.win { position: absolute; background: #fff; border-radius: .9cqw; box-shadow: 0 2cqw 4cqw -1cqw rgba(0, 0, 0, .55); overflow: hidden; display: flex; flex-direction: column; transition: left .45s cubic-bezier(.2, .9, .25, 1.05), top .45s cubic-bezier(.2, .9, .25, 1.05), width .45s cubic-bezier(.2, .9, .25, 1.05), height .45s cubic-bezier(.2, .9, .25, 1.05), transform .35s ease, opacity .35s ease; }
.w1 { left: 7%; top: 12%; width: 44%; height: 58%; z-index: 3; }
.w2 { left: 40%; top: 20%; width: 50%; height: 60%; z-index: 2; }
.w3 { left: 20%; top: 30%; width: 38%; height: 48%; z-index: 1; }
.win.front { z-index: 6; }
.win.gone { transform: translateY(40cqw) scale(.5); opacity: 0; }
.tb { height: 2.8cqw; background: #eef0f3; display: flex; align-items: center; gap: .55cqw; padding: 0 1cqw; flex: none; }
.tb i { width: .95cqw; height: .95cqw; border-radius: 50%; background: #ff5f57; } .tb i:nth-child(2) { background: #febc2e; } .tb i:nth-child(3) { background: #28c840; }
.tb em { font-style: normal; font-size: 1.05cqw; color: #55606a; margin-left: .8cqw; font-weight: 600; }
.body { flex: 1; padding: 1.6cqw; display: flex; flex-direction: column; gap: 1cqw; }
.body .h { font-family: var(--display); font-weight: 800; font-size: 1.7cqw; color: #1c2a33; }
.body p { height: .9cqw; border-radius: 1cqw; background: #e3e7eb; } .body p.s { width: 70%; } .body p.t { width: 40%; background: #ffd9a6; }
.body.notes { background: #fffdf5; }
.url { height: 2cqw; border-radius: 1cqw; background: #eef0f3; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1cqw; flex: 1; } .cards span { border-radius: .8cqw; background: linear-gradient(160deg, #cfe6ff, #9cc8ff); } .cards span:nth-child(2) { background: linear-gradient(160deg, #ffe0c2, #ffb37a); } .cards span:nth-child(3) { background: linear-gradient(160deg, #d8f5d0, #9bdc8c); }
.body.files { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2cqw; align-content: start; } .body.files span { aspect-ratio: 1.25; border-radius: .7cqw; background: linear-gradient(#ffd66b, #ffb92e); position: relative; } .body.files span::before { content: ""; position: absolute; left: 0; top: -.5cqw; width: 45%; height: 1cqw; border-radius: .5cqw .5cqw 0 0; background: #ffb92e; }

.snap-ghost { position: absolute; border: .25cqw solid rgba(255, 255, 255, .9); background: rgba(255, 255, 255, .22); border-radius: 1cqw; opacity: 0; transition: opacity .2s; z-index: 5; pointer-events: none; }

/* bar */
.bar { position: absolute; inset: auto 0 0 0; height: 4.6cqw; background: #050505; display: flex; align-items: center; padding: 0 0 0 1cqw; z-index: 20; color: #fff; }
.startbtn { display: flex; align-items: center; gap: .5cqw; background: none; border: 0; color: #fff; font-size: 1.75cqw; padding: .3cqw .8cqw .3cqw .2cqw; border-radius: .8cqw; transition: background .15s; }
.startbtn:hover, .startbtn.open { background: rgba(255, 255, 255, .14); }
.startbtn img { width: 3.4cqw; height: 3.4cqw; }
.icons { display: flex; gap: .5cqw; margin-left: 1.4cqw; }
.tbi { position: relative; width: 4cqw; height: 4cqw; border: 0; background: none; border-radius: .8cqw; display: grid; place-items: center; transition: background .15s; }
.tbi:hover { background: rgba(255, 255, 255, .12); }
.tbi.on { background: rgba(255, 255, 255, .2); }
.tbi u { position: absolute; bottom: .15cqw; left: 50%; width: .7cqw; height: .3cqw; border-radius: 1cqw; background: rgba(255, 255, 255, .6); transform: translateX(-50%); transition: width .2s, background .2s; }
.tbi.on u { width: 1.7cqw; background: #3b9bff; }
.badge { position: absolute; top: .1cqw; right: .1cqw; min-width: 1.4cqw; height: 1.4cqw; border-radius: 1cqw; background: #ff3b30; color: #fff; font: 700 .9cqw/1.4cqw var(--body); text-align: center; padding: 0 .3cqw; }
.badge.blue { background: #3b9bff; right: auto; left: .1cqw; }
.tray { margin-left: auto; display: flex; align-items: center; gap: 1.3cqw; font-size: 1cqw; line-height: 1.25; height: 100%; }
.meter { font-variant-numeric: tabular-nums; opacity: .85; font-size: .9cqw; }
.wx { font-size: 1.15cqw; }
.clock { text-align: right; font-variant-numeric: tabular-nums; }
.deskstrip { width: 1cqw; height: 100%; border: 0; border-left: 1px solid rgba(255, 255, 255, .25); background: none; margin-left: .2cqw; }
.deskstrip:hover { background: rgba(255, 255, 255, .18); }

/* generic app icons */
.ic { display: block; width: 2.9cqw; height: 2.9cqw; border-radius: 24%; position: relative; background: #888; box-shadow: inset 0 -.3cqw .5cqw rgba(0, 0, 0, .18); }
.ic.xs { width: 1.6cqw; height: 1.6cqw; display: inline-block; vertical-align: middle; margin-right: .7cqw; }
.ic::after { content: ""; position: absolute; inset: 24%; background: #fff; opacity: .95; }
.i-files { background: linear-gradient(#ffd66b, #ffab1f); } .i-files::after { border-radius: 12% 12% 18% 18%; inset: 34% 20% 24%; }
.i-web { background: linear-gradient(#5ac8fa, #1f7bff); } .i-web::after { border-radius: 50%; background: none; box-shadow: inset 0 0 0 .32em #fff; inset: 20%; font-size: .6cqw; }
.i-mail { background: linear-gradient(#6fb1ff, #2d5bff); } .i-mail::after { inset: 30% 20%; border-radius: 10%; }
.i-notes { background: linear-gradient(#fff3a6, #ffcf2e); } .i-notes::after { inset: 28% 24% auto; height: 12%; border-radius: 1cqw; box-shadow: 0 .6em 0 #fff, 0 1.2em 0 #fff; font-size: .7cqw; background: #fff; }
.i-chat { background: linear-gradient(#7af59a, #1fbf5b); } .i-chat::after { inset: 26% 22% 32%; border-radius: 40%; }
.i-music { background: linear-gradient(#ff7ab3, #ff2d6f); } .i-music::after { inset: 30%; border-radius: 50%; }

/* Start panel */
.startpanel { position: absolute; left: 1cqw; bottom: 5.4cqw; width: 30cqw; background: rgba(22, 24, 30, .93); backdrop-filter: blur(20px); border-radius: 1.2cqw; padding: 1.4cqw; color: #fff; z-index: 25; box-shadow: 0 2cqw 5cqw rgba(0, 0, 0, .5); transform: translateY(2cqw) scale(.96); opacity: 0; pointer-events: none; transition: transform .28s cubic-bezier(.2, .9, .3, 1.2), opacity .2s; transform-origin: 10% 100%; }
.startpanel.open { transform: none; opacity: 1; pointer-events: auto; }
.search { display: flex; align-items: center; gap: .7cqw; background: rgba(255, 255, 255, .12); border-radius: .8cqw; padding: .7cqw 1cqw; font-size: 1.2cqw; min-height: 2.9cqw; }
.search svg { width: 1.4cqw; height: 1.4cqw; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; opacity: .7; flex: none; }
.caret { width: .12cqw; height: 1.4cqw; background: #fff; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.startpanel small, .sp small { display: block; margin: 1.2cqw 0 .6cqw; font-size: .85cqw; letter-spacing: .08em; text-transform: uppercase; opacity: .55; font-weight: 600; }
.pins { display: grid; grid-template-columns: repeat(6, 1fr); gap: .8cqw; justify-items: center; }
.startpanel ul, .sp ul { list-style: none; margin: 0; padding: 0; font-size: 1.1cqw; }
.startpanel li, .sp li { padding: .5cqw .6cqw; border-radius: .6cqw; }
.startpanel li:hover { background: rgba(255, 255, 255, .1); }

/* hover preview + switcher */
.peek { position: absolute; bottom: 5.4cqw; width: 14cqw; padding: .8cqw; background: rgba(22, 24, 30, .93); border-radius: 1cqw; color: #fff; z-index: 24; opacity: 0; transform: translateY(1cqw); transition: opacity .18s, transform .18s; pointer-events: none; }
.peek.show { opacity: 1; transform: none; }
.peek em { font-style: normal; font-size: .95cqw; display: block; margin-bottom: .5cqw; opacity: .85; }
.thumb { aspect-ratio: 16 / 10; border-radius: .5cqw; background: #fff; position: relative; overflow: hidden; }
.thumb::before { content: ""; position: absolute; inset: 0 0 auto; height: 16%; background: #e6e9ed; }
.thumb.notes { background: linear-gradient(#fffdf5, #fff3cf); }
.thumb.web { background: linear-gradient(135deg, #cfe6ff 30%, #ffe0c2 30% 64%, #d8f5d0 64%); }
.thumb.web.alt { background: linear-gradient(135deg, #e8d9ff 40%, #cfe6ff 40%); }
.thumb.files { background: repeating-linear-gradient(90deg, #ffd66b 0 22%, #fff 22% 33%); }
.thumb.mail, .thumb.chat { background: linear-gradient(#eef4ff, #dfe9ff); }
.switcher { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%) scale(.92); display: flex; gap: 1.2cqw; padding: 1.6cqw; background: rgba(22, 24, 30, .9); backdrop-filter: blur(20px); border-radius: 1.6cqw; z-index: 30; opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s cubic-bezier(.2, .9, .3, 1.2); }
.switcher.open { opacity: 1; transform: translate(-50%, -50%); }
.tile { width: 17cqw; padding: .8cqw; border-radius: 1cqw; color: #fff; border: .28cqw solid transparent; transition: border-color .12s, background .12s; }
.tile em { font-style: normal; font-size: 1cqw; display: block; margin-bottom: .5cqw; }
.tile.sel { border-color: #3b9bff; background: rgba(255, 255, 255, .12); }


/* ---------- feature illustrations ---------- */
.art { container-type: inline-size; border-radius: 28px; aspect-ratio: 4 / 3; position: relative; overflow: hidden; display: grid; place-items: center; box-shadow: 0 30px 60px -30px rgba(16, 34, 43, .5); transition: transform .4s ease; }
.art:hover { transform: rotate(-1deg) scale(1.015); }
.art .ic { width: 9cqw; height: 9cqw; } .art .ic.xs { width: 5cqw; height: 5cqw; margin-right: 2.4cqw; }
.art .badge { min-width: 4.4cqw; height: 4.4cqw; font: 700 2.8cqw/4.4cqw var(--body); border-radius: 3cqw; top: -1.4cqw; right: -1.4cqw; } .art .badge.blue { left: -1.4cqw; right: auto; }
.art-bar { background: linear-gradient(150deg, #ff8a4c, #d6336c); }
.mini-bar { position: absolute; left: 6%; right: 6%; bottom: 12%; background: #060606; border-radius: 4cqw; padding: 3.4cqw 5cqw; display: flex; gap: 5cqw; justify-content: center; }
.mini-bar .ic.lit { outline: 1.6cqw solid rgba(255, 255, 255, .22); outline-offset: .8cqw; }
.mini-bar .flash { animation: flash 1.2s ease-in-out infinite; }
@keyframes flash { 50% { box-shadow: 0 0 0 2.4cqw rgba(255, 149, 0, .75); } }
.mini-peek { position: absolute; left: 22%; bottom: 40%; display: flex; gap: 2.4cqw; background: rgba(22, 24, 30, .92); padding: 2.6cqw; border-radius: 3cqw; animation: float 4s ease-in-out infinite; }
.mini-peek .thumb { width: 26cqw; border-radius: 1.6cqw; }
@keyframes float { 50% { transform: translateY(-2.5cqw); } }
.art-start { background: linear-gradient(150deg, #0b3446, #06202d); }
.sp { width: 72%; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 4cqw; padding: 5cqw; color: #fff; }
.sp .search { font-size: 4.4cqw; padding: 2.6cqw 3.4cqw; border-radius: 2.6cqw; gap: 2.4cqw; min-height: 0; } .sp .search svg { width: 4.6cqw; height: 4.6cqw; }
.calc { font-family: var(--round); font-weight: 900; font-size: 12cqw; margin-top: 3cqw; background: var(--fire); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sp small { font-size: 2.6cqw; margin: 3cqw 0 1.6cqw; } .sp ul { font-size: 3.8cqw; } .sp li { padding: 1.4cqw 0; }
.art-snap { background: linear-gradient(150deg, #7cc142, #1f9d8b); color: #fff; font-family: var(--round); font-weight: 800; }
.art-snap p { position: absolute; bottom: 9%; opacity: .85; }
.layouts { display: grid; grid-template-columns: 1fr 1fr; gap: 5cqw; width: 70%; }
.lay { aspect-ratio: 16 / 10; display: grid; gap: 1.4cqw; padding: 2cqw; background: rgba(6, 32, 45, .55); border-radius: 3cqw; }
.lay i { background: rgba(255, 255, 255, .35); border-radius: 1.4cqw; transition: background .15s, transform .15s; }
.lay i:hover { background: #fff; transform: scale(1.04); }
.l2 { grid-template-columns: 1fr 1fr; } .l21 { grid-template-columns: 2fr 1fr; } .l3 { grid-template-columns: repeat(3, 1fr); } .l4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.art-tab { background: linear-gradient(150deg, #3b1f6b, #d6336c); align-content: center; gap: 7cqw; }
.tabrow { display: flex; gap: 3cqw; background: rgba(22, 24, 30, .88); padding: 4cqw; border-radius: 4cqw; }
.tabrow .thumb { width: 22cqw; border-radius: 1.6cqw; outline: 1cqw solid transparent; outline-offset: 1cqw; animation: pick 3.6s steps(1) infinite; }
.tabrow .thumb:nth-child(2) { animation-delay: 1.2s; } .tabrow .thumb:nth-child(3) { animation-delay: 2.4s; }
@keyframes pick { 0%, 33% { outline-color: #3b9bff; } 34%, 100% { outline-color: transparent; } }
.keys { display: flex; gap: 2.4cqw; align-items: center; color: #fff; font-size: 5cqw; font-weight: 800; }
kbd { font-family: var(--round); font-weight: 800; background: #fff; color: var(--ink); border-radius: 9px; padding: 5px 11px; box-shadow: 0 3px 0 #c9d2d8; font-size: 15px; display: inline-block; }
.keys kbd { font-size: 5cqw; padding: 2cqw 4cqw; border-radius: 2.4cqw; box-shadow: 0 1.2cqw 0 rgba(0, 0, 0, .3); }
.keys .tap { animation: tap 1.2s ease-in-out infinite; }
@keyframes tap { 50% { transform: translateY(1cqw); box-shadow: 0 .2cqw 0 rgba(0, 0, 0, .3); } }

