/* ---------- demo v2: a full Windows desktop next to the Mac */
.demo2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.demo2 figure { margin: 0; }
.demo2 figcaption { margin-top: 14px; text-align: center; font-size: 15px; color: rgba(255,255,255,.92); }
.demo2 figcaption b { color: #fff; }
.wdesk { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: radial-gradient(120% 120% at 70% 110%, #3aa0ff 0%, #0b47c9 45%, #062a7a 100%); box-shadow: 0 0 0 8px #1a2230, 0 34px 60px -28px rgba(5,25,90,.65); user-select: none; -webkit-user-select: none; }
.wdesk::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 62% 70%, rgba(140,200,255,.55), transparent 70%); }
.wdesk .wwin { cursor: pointer; transition: transform 200ms var(--ease-out), box-shadow 200ms ease, outline-color 200ms ease; outline: 2px solid transparent; outline-offset: 2px; }
.wdesk .wwin-bar, .mdesk .wwin-bar { height: 22px; font-size: 10.5px; gap: 6px; padding: 0 7px; }
.wdesk .wwin-bar .ctrl { margin-left: auto; color: #94a0b4; font-size: 10px; letter-spacing: 3px; }
.wdesk .wwin-body, .mdesk .wwin-body { padding: 8px; gap: 5px; }
.wdesk .wwin-body .row, .mdesk .wwin-body .row { height: 6px; }
.wdesk .grid-cells span, .mdesk .grid-cells span { height: 9px; }
.wdesk .bars, .mdesk .bars { height: 46px; }
.wdesk .wwin.sent { outline-color: #ffd84d; }
.wdesk .wwin .badge { display: none; position: absolute; right: 6px; bottom: 6px; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: #0d1b33; color: #fff; font-size: 9.5px; font-weight: 600; }
.wdesk .wwin.sent .badge { display: inline-flex; }
@media (hover: hover) and (pointer: fine) { .wdesk .wwin:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px rgba(255,255,255,.9), 0 24px 50px -18px rgba(8,30,90,.6); } }
.wdesk .wwin:focus-visible { outline-color: #ffd84d; }
.wtaskbar { position: absolute; left: 0; right: 0; bottom: 0; height: 9%; min-height: 26px; display: flex; align-items: center; justify-content: center; gap: 7px; background: rgba(20, 28, 48, .72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); z-index: 20; }
.wtaskbar .start { width: 20px; height: 20px; display: grid; place-items: center; color: #7cc0ff; }
.wtaskbar .start svg { width: 15px; height: 15px; }
.wtaskbar button { width: 22px; height: 22px; border-radius: 6px; border: 0; padding: 0; background: var(--c); cursor: pointer; position: relative; transition: transform 160ms var(--ease-out); }
.wtaskbar button:active { transform: scale(.92); }
.wtaskbar button::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 8px; height: 2px; margin-left: -4px; border-radius: 2px; background: rgba(255,255,255,.6); }
.wtaskbar button.sent::after { background: #ffd84d; width: 12px; margin-left: -6px; }
.wtaskbar .clock { position: absolute; right: 10px; color: #fff; font-size: 10px; font-weight: 500; }
.hint { position: absolute; z-index: 30; padding: 7px 11px; border-radius: 10px; background: #fff; color: var(--ink); font-size: 12.5px; font-weight: 600; box-shadow: 0 10px 24px -8px rgba(5,25,90,.5); pointer-events: none; animation: hintBob 1.6s var(--ease-move) infinite; transition: opacity 200ms ease; white-space: nowrap; }
.hint::after { content: ""; position: absolute; left: 18px; bottom: -5px; width: 10px; height: 10px; background: #fff; transform: rotate(45deg); }
@keyframes hintBob { 50% { transform: translateY(-4px); } }
.mdesk { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: linear-gradient(160deg, #e9f2ff 0%, #c1d8fb 55%, #9fc0f3 100%); box-shadow: 0 0 0 8px #111823, 0 34px 60px -28px rgba(5,25,90,.65); color: var(--ink); }
.mdesk .mac-bar { height: 20px; font-size: 10.5px; position: relative; z-index: 25; }
.mdesk .dock { bottom: 6px; padding: 5px; gap: 5px; border-radius: 13px; z-index: 25; }
.mdesk .dock i { width: clamp(20px, 2.4vw, 30px); cursor: pointer; }
.mdesk .wwin { transition: transform 380ms var(--ease-out), opacity 260ms ease; }
.mdesk .wwin.enter { opacity: 0; transform: translateY(18px) scale(.92); }
.mdesk .wwin.leave { opacity: 0; transform: scale(.9); transition-duration: 200ms; }
.mdesk .wwin.dragging { transition: none; }
.mdesk .wwin-bar { cursor: grab; touch-action: none; }
.mdesk .wwin-bar .dots b:first-child { cursor: pointer; }
.mdesk .empty { position: absolute; inset: 20px 0 44px; display: grid; place-items: center; text-align: center; padding: 16px; font-size: 14px; color: var(--ink-soft); transition: opacity 200ms ease; }
.demo-tools { display: flex; justify-content: center; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
@media (max-width: 900px) { .demo2 { grid-template-columns: 1fr; } }

/* ---------- three-panel explainer */
.explain { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 16px; align-items: stretch; }
.explain .card { padding: 22px; border-radius: var(--radius-lg); background: #fff; box-shadow: 0 1px 2px rgba(13,27,51,.04), 0 0 0 1px rgba(13,27,51,.05); }
.explain .card h3 { font-size: 19px; margin: 16px 0 6px; }
.explain .card p { font-size: 15.5px; color: var(--ink-soft); }
.explain .arrow { color: #9db3d6; display: grid; place-items: center; }
.explain .arrow svg { width: 28px; height: 28px; }
.mini { aspect-ratio: 16 / 9; border-radius: 12px; position: relative; overflow: hidden; }
.mini-pc { background: linear-gradient(150deg, #0f3fbf, #0a2a8a); }
.mini-mac { background: linear-gradient(160deg, #e9f2ff, #b0cdf8); }
.mini-link { background: linear-gradient(160deg, #eef4fd, #dce8fa); display: grid; place-items: center; }
.mini .w { position: absolute; border-radius: 5px; background: rgba(255,255,255,.94); box-shadow: 0 6px 14px -6px rgba(0,0,0,.35); }
.mini .w::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 18%; border-radius: 5px 5px 0 0; background: rgba(13,27,51,.08); }
.mini .w.pick { box-shadow: 0 0 0 2px #ffd84d, 0 6px 14px -6px rgba(0,0,0,.35); }
.mini .dk { position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%); display: flex; gap: 4px; padding: 4px; border-radius: 7px; background: rgba(255,255,255,.6); }
.mini .dk i { width: 12px; height: 12px; border-radius: 3px; background: var(--c, #c9d6ea); }
.pulse { display: flex; gap: 6px; }
.pulse i { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); opacity: .25; animation: pulse 1.4s ease-in-out infinite; }
.pulse i:nth-child(2) { animation-delay: .2s; }
.pulse i:nth-child(3) { animation-delay: .4s; }
@keyframes pulse { 50% { opacity: 1; transform: translateX(3px); } }
@media (max-width: 860px) { .explain { grid-template-columns: 1fr; } .explain .arrow { transform: rotate(90deg); } }

/* ---------- feature catalogue: each feature with its own picture */
.fnav { position: sticky; top: 86px; z-index: 10; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin: 0 auto 40px; padding: 6px; width: fit-content; max-width: 100%; border-radius: 999px; background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 0 0 1px rgba(13,27,51,.06), 0 10px 24px -16px rgba(10,40,120,.35); }
.fnav a { padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: 14.5px; font-weight: 550; color: var(--ink-soft); }
@media (hover: hover) and (pointer: fine) { .fnav a:hover { background: var(--mist); color: var(--ink); } }
.fgroup { margin-top: clamp(70px, 9vw, 110px); scroll-margin-top: 150px; }
.fgroup:first-of-type { margin-top: 0; }
.fgroup > h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 10px; }
.fgroup > .lead { margin-bottom: 30px; }
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fcard { display: flex; flex-direction: column; border-radius: var(--radius-lg); background: #fff; box-shadow: 0 1px 2px rgba(13,27,51,.04), 0 0 0 1px rgba(13,27,51,.05); overflow: hidden; }
.fcard.wide { grid-column: span 2; }
.fcard .vis { position: relative; height: 220px; background: linear-gradient(170deg, #eef4fd, #dce8fa); overflow: hidden; display: grid; place-items: center; }
.fcard .vis.sky { background: linear-gradient(170deg, #2f74f7, #8fc2ff); }
.fcard .vis.ink { background: linear-gradient(170deg, #142340, #0b1528); }
.fcard .vis.win { background: radial-gradient(120% 120% at 70% 110%, #3aa0ff 0%, #0b47c9 45%, #062a7a 100%); }
.fcard .txt { padding: 22px 24px 26px; }
.fcard h3 { font-size: 20px; margin-bottom: 6px; }
.fcard p { font-size: 15.5px; color: var(--ink-soft); }
@media (max-width: 980px) { .fgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .fgrid { grid-template-columns: 1fr; } .fcard.wide { grid-column: auto; } }
.ftag { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: #e8efff; color: var(--blue); font-size: 12px; font-weight: 650; letter-spacing: 0; vertical-align: 3px; }
/* parts used inside the pictures */
.pane { background: #fff; border-radius: 12px; box-shadow: 0 14px 30px -14px rgba(10,40,120,.4), 0 0 0 1px rgba(13,27,51,.05); }
.finder { width: 80%; display: grid; grid-template-columns: 36% 1fr; overflow: hidden; }
.finder .side { background: #f2f5fa; padding: 10px; display: grid; gap: 6px; font-size: 11px; color: var(--ink-soft); align-content: start; }
.finder .side b { font-size: 10px; color: #98a3b5; font-weight: 600; }
.finder .side span { display: flex; gap: 6px; align-items: center; white-space: nowrap; }
.finder .side span.on { color: var(--ink); font-weight: 600; }
.finder .side span::before { content: ""; flex: none; width: 10px; height: 8px; border-radius: 2px; background: #9fb6db; }
.finder .main { padding: 10px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; align-content: start; }
.finder .main span { aspect-ratio: 1; border-radius: 6px; background: linear-gradient(160deg, #ffd66b, #f2a93b); }
.finder .main span:nth-child(3n) { background: linear-gradient(160deg, #8fc3ff, #2f74f7); }
.clip { display: flex; gap: 12px; align-items: center; }
.clip .pane { width: 118px; padding: 10px; }
.clip .pane small { display: block; font-size: 10.5px; color: var(--ink-soft); margin-bottom: 8px; font-weight: 600; }
.clip .pane .t { height: 7px; border-radius: 3px; background: #e9eff8; margin-top: 5px; }
.clip .pane .sel { background: #b9d1ff; }
.clip .mid { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--blue); box-shadow: 0 8px 20px -8px rgba(10,40,120,.4); font-weight: 700; font-size: 12px; }
.uac { width: 76%; padding: 14px; background: #fff; border-radius: 10px; border-top: 4px solid #f2b31d; font-size: 11.5px; color: var(--ink-soft); box-shadow: 0 20px 40px -18px rgba(0,0,0,.6); }
.uac b { display: block; font-size: 13px; margin-bottom: 4px; color: var(--ink); }
.uac .btns { display: flex; gap: 6px; margin-top: 12px; justify-content: flex-end; }
.uac .btns span { padding: 5px 14px; border-radius: 6px; background: #eef2f8; font-weight: 600; color: var(--ink); }
.uac .btns span:first-child { background: var(--blue); color: #fff; }
.tray { position: absolute; top: 30px; right: 14px; width: 56%; padding: 6px; border-radius: 10px; background: rgba(255,255,255,.97); font-size: 11.5px; box-shadow: 0 20px 40px -18px rgba(5,25,90,.6); }
.tray div { padding: 6px 8px; border-radius: 6px; }
.tray div.hot { background: var(--blue); color: #fff; }
.tray hr { border: 0; height: 1px; background: #edf1f7; margin: 3px 4px; }
.menubar { position: absolute; top: 0; left: 0; right: 0; height: 22px; display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 0 10px; background: rgba(255,255,255,.55); font-size: 10.5px; font-weight: 600; color: var(--ink); }
.menubar .ic { width: 14px; height: 14px; border-radius: 4px; background: url(/assets/logo.svg) center/cover; box-shadow: 0 0 0 2px rgba(31,85,230,.35); }
.keys { display: flex; gap: 8px; align-items: center; }
.key { display: grid; place-items: center; min-width: 48px; height: 48px; padding: 0 12px; border-radius: 10px; background: #fff; box-shadow: inset 0 -3px 0 #d7dfeb, 0 6px 14px -8px rgba(10,40,120,.4); font-weight: 650; font-size: 15px; color: var(--ink); }
.key small { display: block; font-size: 9px; color: var(--ink-soft); }
.led { width: 6px; height: 6px; border-radius: 50%; background: var(--go); box-shadow: 0 0 8px var(--go); margin: 0 auto 3px; }
.meters { width: 78%; display: grid; gap: 11px; }
.meter { display: grid; grid-template-columns: 56px 1fr 34px; gap: 8px; align-items: center; font-size: 11px; font-weight: 600; color: var(--ink-soft); }
.meter i { height: 8px; border-radius: 4px; background: #e6edf8; overflow: hidden; position: relative; }
.meter i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); border-radius: 4px; background: linear-gradient(90deg, #5b8cff, #1f55e6); }
.ctx { width: 60%; padding: 6px; font-size: 11.5px; }
.ctx div { padding: 6px 8px; border-radius: 6px; }
.ctx div.hot { background: var(--blue); color: #fff; }
.ctx div.bad { color: #d23b2f; }
.ctx hr { border: 0; height: 1px; background: #edf1f7; margin: 3px 4px; }
.notif { position: absolute; top: 30px; right: 14px; width: 70%; display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.94); font-size: 11px; color: var(--ink-soft); box-shadow: 0 16px 30px -14px rgba(5,25,90,.5); }
.notif i { flex: none; width: 28px; height: 28px; border-radius: 7px; background: var(--c); }
.notif b { display: block; font-size: 12px; color: var(--ink); }
.term { width: 82%; padding: 12px 14px; border-radius: 10px; background: #0d1626; color: #cfe1ff; font: 500 11.5px/1.7 ui-monospace, "SF Mono", Consolas, monospace; text-align: left; box-shadow: 0 18px 36px -16px rgba(0,0,0,.6); }
.term .p { color: #6fe0a5; }
.power { display: flex; gap: 10px; }
.power span { display: grid; place-items: center; align-content: center; gap: 6px; width: 76px; height: 76px; border-radius: 16px; background: #fff; font-size: 11px; font-weight: 600; color: var(--ink); box-shadow: 0 10px 24px -12px rgba(10,40,120,.45); }
.power svg { width: 22px; height: 22px; color: var(--blue); }
.check { display: grid; gap: 7px; width: 76%; }
.check div { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 9px; background: #fff; font-size: 11.5px; font-weight: 500; box-shadow: 0 6px 14px -10px rgba(10,40,120,.4); }
.check div::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--go); }
.check div.fix::before { background: #f2b31d; }
.fps { font-size: 66px; font-weight: 700; letter-spacing: -.05em; color: #fff; line-height: 1; text-align: center; }
.fps small { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0; opacity: .85; margin-top: 8px; }
.lockbox { display: grid; place-items: center; gap: 10px; color: #fff; text-align: center; font-size: 12px; font-weight: 600; }
.lockbox span { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 20px; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.lockbox svg { width: 30px; height: 30px; }
.seats { display: flex; gap: 10px; }
.seats span { width: 60px; height: 60px; border-radius: 14px; background: #fff; display: grid; place-items: center; box-shadow: 0 8px 18px -10px rgba(10,40,120,.45); }
.seats span.free { background: transparent; box-shadow: inset 0 0 0 2px #c3d3ec; color: #9fb4d6; font-weight: 700; font-size: 22px; }
.seats svg { width: 26px; height: 26px; color: var(--blue); }
.stackv { position: relative; width: 130px; height: 130px; }
.stackv span { position: absolute; left: 50%; bottom: 18px; width: 54px; height: 54px; margin-left: -27px; border-radius: 12px; background: var(--c); box-shadow: 0 8px 16px -8px rgba(0,0,0,.35); transform-origin: 50% 170%; }
.stackv span:nth-child(1) { transform: rotate(-18deg); }
.stackv span:nth-child(2) { transform: translateY(-6px); }
.stackv span:nth-child(3) { transform: rotate(18deg); }
.stackv em { position: absolute; left: 0; right: 0; bottom: -4px; text-align: center; font-style: normal; font-size: 11px; font-weight: 600; color: var(--ink); }
.exefile { display: grid; justify-items: center; gap: 8px; font-size: 11.5px; font-weight: 600; color: var(--ink); }
.exefile .doc { width: 62px; height: 76px; border-radius: 8px; background: #fff; position: relative; box-shadow: 0 10px 20px -10px rgba(10,40,120,.45); display: grid; place-items: center; color: #1f55e6; }
.exefile .doc svg { width: 26px; height: 26px; }
.exefile .doc::after { content: "EXE"; position: absolute; bottom: 7px; font-size: 9px; font-weight: 700; color: var(--ink-soft); }
.rowflex { display: flex; align-items: center; gap: 14px; }
.plans.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .plans.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .plans.four { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .hint, .pulse i { animation: none; } }
