:root { --bg: #f4f1ea; --ink: #1d232b; --mute: #5d6672; --card: #ffffff; --line: #d9d3c6; --acc: #1f6feb; --acc-ink: #ffffff; --pc: #2b6cb0; --mac: #4a5568; --hot: #e8590c; --ok: #2f855a; --bad: #c53030; --glass-pc: #dbe7f6; --glass-mac: #e6e3ef; --dev: #2d3748; --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; } @media (prefers-color-scheme: dark) { :root { --bg: #14171c; --ink: #e8ebef; --mute: #9aa4b1; --card: #1d2229; --line: #2e3540; --acc: #5b9bff; --acc-ink: #0b1220; --pc: #6aa7e8; --mac: #a0aec0; --hot: #ff8a3d; --ok: #68d391; --bad: #fc8181; --glass-pc: #1c2a3b; --glass-mac: #272335; --dev: #cbd5e0; } } * { box-sizing: border-box; } html { -webkit-text-size-adjust: 100%; } body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; } .wrap { max-width: 1080px; margin: 0 auto; padding: 18px clamp(12px, 4vw, 28px) 40px; } h1 { font-size: clamp(2rem, 6vw, 3rem); line-height: 1.05; margin: .1em 0 .2em; letter-spacing: -.01em; } h2 { font-size: 1.2rem; margin: 0 0 .6em; } h3 { font-size: 1.02rem; margin: .2em 0 .4em; } p, li { overflow-wrap: anywhere; } code { font-family: var(--mono); font-size: .88em; background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 0 .3em; } .mute { color: var(--mute); font-weight: 400; font-size: .85em; } .kick { color: var(--mute); margin: 0; font-size: .9rem; } .lede { max-width: 62ch; margin: 0; } .mast { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: flex-end; justify-content: space-between; margin-bottom: 18px; } .mastbtns { display: flex; gap: 8px; flex-wrap: wrap; } .btn { font: inherit; font-size: .92rem; line-height: 1.25; display: inline-block; text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 9px; padding: .55em .9em; cursor: pointer; } .btn:hover { border-color: var(--acc); } .btn:focus-visible, .tog input:focus-visible { outline: 3px solid var(--acc); outline-offset: 2px; } .btn.pri { background: var(--acc); color: var(--acc-ink); border-color: var(--acc); font-weight: 600; } .btn:disabled { opacity: .45; cursor: default; border-color: var(--line); } /* ---------- demo ---------- */ .demo { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: clamp(10px, 2.5vw, 20px); } .desk { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(8px, 3vw, 28px); padding-bottom: clamp(70px, 14vw, 96px); } .screen { border: 2px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--bg); min-width: 0; } .screen .bar { display: flex; align-items: center; gap: 5px; padding: 5px 8px; font-size: .78rem; border-bottom: 1px solid var(--line); white-space: nowrap; overflow: hidden; } .screen .bar b { margin-left: 4px; overflow: hidden; text-overflow: ellipsis; } .screen .ch { margin-left: auto; color: var(--mute); } .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); flex: none; } .glass { position: relative; height: clamp(120px, 26vw, 230px); } .pc .glass { background: var(--glass-pc); } .mac .glass { background: var(--glass-mac); } .screen.lit { border-color: var(--acc); } .edge { position: absolute; left: 0; top: 10%; bottom: 10%; width: 5px; border-radius: 0 4px 4px 0; background: transparent; transition: background .2s, box-shadow .2s; } .edge.hot { background: var(--hot); box-shadow: 0 0 14px var(--hot); } .cursor { position: absolute; width: 18px; height: 25px; left: 62%; top: 42%; fill: var(--ink); stroke: var(--bg); stroke-width: 1.4; transition: left .55s ease-in, top .55s, opacity .25s; } .cursor.atedge { left: 0; } .cursor.off { opacity: 0; } .cursor.pcc { left: 82%; opacity: 0; } .cursor.pcc.on { left: 55%; opacity: 1; } .clip { position: absolute; left: 8%; right: 8%; bottom: 8%; background: var(--card); border: 1px solid var(--line); border-radius: 7px; padding: 4px 8px; font-size: .78rem; display: flex; flex-direction: column; min-height: 2.8em; transition: border-color .3s, box-shadow .3s; } .cliplbl { color: var(--mute); font-size: .7rem; } .cliptxt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .clip.new { border-color: var(--ok); box-shadow: 0 0 0 2px var(--ok); } .clip.bad { border-color: var(--bad); box-shadow: 0 0 0 2px var(--bad); } .packet { position: absolute; top: 34%; left: 75%; transform: translateX(-50%); background: var(--ink); color: var(--bg); font: 600 .72rem/1.2 var(--mono); padding: 5px 8px; border-radius: 6px; opacity: 0; pointer-events: none; white-space: nowrap; transition: left .9s cubic-bezier(.5,0,.3,1), opacity .2s; z-index: 2; } .packet.show { opacity: 1; } .packet.at-pc { left: 25%; } .packet.at-mac { left: 75%; } .packet.hid { top: auto; bottom: clamp(56px, 11vw, 78px); } .devs { position: absolute; left: 0; right: 0; bottom: 0; height: clamp(60px, 12vw, 84px); } .dev { position: absolute; bottom: 0; display: flex; flex-direction: column; align-items: center; transition: left .7s cubic-bezier(.5,0,.3,1); text-align: center; } .dev svg { fill: none; stroke: var(--dev); stroke-width: 2.2; } .dev .keys rect { stroke-width: 1.4; } .kb svg { width: clamp(70px, 14vw, 120px); height: auto; } .ms svg { width: clamp(22px, 4.2vw, 36px); height: auto; } .devname { font-size: .72rem; font-weight: 600; } .devhost { font-size: .68rem; color: var(--mute); white-space: nowrap; } .kb[data-host="mac"] { left: calc(75% - clamp(60px, 11vw, 100px)); } .ms[data-host="mac"] { left: calc(75% + clamp(16px, 4vw, 40px)); } .kb[data-host="pc"] { left: calc(25% - clamp(60px, 11vw, 100px)); } .ms[data-host="pc"] { left: calc(25% + clamp(16px, 4vw, 40px)); } .dev.moving svg { stroke: var(--hot); } .dev[data-host="pc"] .devhost { color: var(--pc); } .controls { margin-top: 14px; display: grid; gap: 8px; } .row { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; } .rowlbl { font-size: .78rem; font-weight: 700; color: var(--mute); min-width: 5.5em; } .tog { font-size: .85rem; display: inline-flex; align-items: center; gap: 5px; padding: .3em .2em; cursor: pointer; } .tog input { width: 1.05em; height: 1.05em; accent-color: var(--acc); } .row.lit, .pane.lit, .card.lit { outline: 3px solid var(--acc); outline-offset: 4px; border-radius: 8px; } .panes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; } .pane { min-width: 0; border-top: 1px solid var(--line); padding-top: 10px; } .pane h2 { font-size: .95rem; } .bytes { font: .8rem/1.5 var(--mono); } .bytes .hint { font: .85rem/1.5 system-ui, sans-serif; color: var(--mute); margin: 0; } .bytes .cap { font: 600 .82rem/1.4 system-ui, sans-serif; margin: 0 0 6px; } .bytes .grid { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px; } .bytes .b { display: inline-flex; flex-direction: column; align-items: center; border: 1px solid var(--line); border-radius: 5px; padding: 2px 5px; min-width: 2.4em; } .bytes .b i { font-style: normal; font-size: .62rem; color: var(--mute); font-family: system-ui, sans-serif; white-space: nowrap; } .bytes .b.k { border-color: var(--hot); } .bytes .wire { font: .8rem/1.5 system-ui, sans-serif; color: var(--mute); margin: 0; } .log { list-style: none; margin: 0; padding: 0; font: .76rem/1.45 var(--mono); max-height: 15em; overflow-y: auto; overflow-x: hidden; } .log li { padding: 1px 0; overflow-wrap: anywhere; } .log li.err { color: var(--bad); } .log li.ok { color: var(--ok); } .log .t { color: var(--mute); margin-right: .5em; } /* ---------- text sections ---------- */ section.how, section.get { margin-top: 34px; } .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; } .card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; } .card p { margin: 0; font-size: .93rem; } .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 6px 22px; } .cols ul, .cols ol, .notes { padding-left: 1.2em; margin: .2em 0 .8em; } .cols li, .notes li { margin-bottom: .35em; font-size: .94rem; } .foot { margin-top: 36px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--mute); font-size: .82rem; } /* ---------- tour ---------- */ .tour { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); width: min(440px, calc(100vw - 20px)); background: var(--card); border: 2px solid var(--acc); border-radius: 12px; padding: 12px 16px; box-shadow: 0 10px 34px rgba(0,0,0,.28); z-index: 10; } .tour[hidden] { display: none; } .tour h2 { font-size: 1.05rem; margin: 0 0 .3em; } .tour p { margin: 0 0 .6em; font-size: .92rem; } .tstep { color: var(--mute); font-size: .78rem !important; margin: 0 !important; } .tbtns { display: flex; gap: 6px; flex-wrap: wrap; } .tbtns #tourClose { margin-left: auto; } @media (max-width: 640px) { .panes { grid-template-columns: 1fr; } .screen .bar { gap: 4px; padding: 5px 6px; font-size: .72rem; } .screen .bar .dot { display: none; } .screen .bar b { margin-left: 0; } .rowlbl { min-width: 100%; } .row .btn { flex: 1 1 calc(50% - 8px); } .tour { bottom: 8px; } } @media (max-width: 400px) { .wide { display: none; } } @media (max-height: 420px) { .glass { height: 110px; } .tour { padding: 8px 12px; } .tour p { margin-bottom: .3em; } } @media (prefers-reduced-motion: reduce) { .cursor, .dev, .packet, .edge, .clip { transition-duration: .01s !important; } }