/* SPDX-FileCopyrightText: 2026 ZGMFX01A
 * SPDX-License-Identifier: LicenseRef-Wireless-Device-Battery-Monitor
 * See LICENSE in the repository root for the full terms. */
:root {
  color-scheme:dark;
  --bg:#090c0e;
  --surface:#101518;
  --raised:#171e22;
  --text:#e9edef;
  --muted:#a0abb0;
  --dim:#77848b;
  --line:#ffffff15;
  --accent:#79dfbd;
  --accent-ink:#07291e;
  --nav:#0e1316cf;
  --shadow:0 24px 80px #0005;
  --max:1160px;
  font-family:Inter,"Segoe UI","Microsoft YaHei",system-ui,sans-serif;
  font-synthesis:none;
}
:root[data-theme=light] {
  color-scheme:light;
  --bg:#f7faf9;
  --surface:#fff;
  --raised:#edf3f0;
  --text:#172823;
  --muted:#526860;
  --dim:#62766d;
  --line:#163b271a;
  --accent:#087653;
  --accent-ink:#fff;
  --nav:#f7faf9d9;
  --shadow:0 24px 80px #123d1d0c;
}
* {
  box-sizing:border-box;
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:110px;
}
body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-size:16px;
  line-height:1.65;
}
button,input,select {
  font:inherit;
}
button,a,input,select {
  -webkit-tap-highlight-color:transparent;
}
button,a {
  touch-action:manipulation;
}
button {
  cursor:pointer;
}
button {
  color:inherit;
}
button:disabled {
  cursor:default;
}
a {
  color:inherit;
  text-decoration:none;
}
button {
  border:0;
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible {
  outline:2px solid var(--accent);
  outline-offset:5px;
}
button:active,.btn:active {
  transform:translateY(1px) scale(.98);
}
button,.btn {
  transition:background .18s,transform .18s,border-color .18s;
}
p,h1,h2,h3,figure {
  margin:0;
}
ul {
  list-style:none;
  margin:0;
  padding:0;
}
img {
  max-width:100%;
  display:block;
}
svg {
  flex-shrink:0;
}
button svg {
  vertical-align:middle;
}
[hidden] {
  display:none!important;
}
.container {
  width:min(var(--max),calc(100% - 64px));
  margin-inline:auto;
}
.bg-grid {
  position:absolute;
  z-index:-1;
  inset:0 0 auto;
  height:1000px;
  background-image:radial-gradient(var(--line) 1px,transparent 1px);
  background-size:24px 24px;
  mask-image:linear-gradient(#0009,transparent);
}
.bg-glow {
  position:absolute;
  inset:30px 0 auto;
  height:820px;
  pointer-events:none;
  z-index:-1;
  background:radial-gradient(ellipse at 50% 30%,#28584924,transparent 58%);
}
.nav {
  position:fixed;
  top:20px;
  left:50%;
  transform:translateX(-50%);
  width:min(1200px,calc(100% - 40px));
  z-index:50;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--nav);
  backdrop-filter:blur(24px);
  box-shadow:0 8px 32px #0001;
}
.nav-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:64px;
  padding:8px 20px;
  gap:20px;
}
.brand,.nav-links,.nav-actions,.gh-btn {
  display:flex;
  align-items:center;
  gap:24px;
}
.brand {
  gap:10px;
  font-weight:650;
  font-size:15px;
  white-space:nowrap;
}
.nav-links {
  font-size:14px;
  color:var(--muted);
}
.nav-links a:hover,.foot-links a:hover {
  color:var(--accent);
}
.nav-actions {
  gap:6px;
}
.icon-btn,.gh-btn {
  background:transparent;
  border-radius:8px;
  min-height:38px;
  padding:8px 10px;
  font-size:14px;
  gap:8px;
}
.gh-btn {
  border:1px solid var(--line);
  margin-left:8px;
}
.icon-btn:hover,.gh-btn:hover {
  background:var(--raised);
}
.i-moon,[data-theme=light] .i-sun {
  display:none;
}
[data-theme=light] .i-moon {
  display:inline;
}
.lang {
  position:relative;
}
.lang-menu {
  position:absolute;
  top:48px;
  right:0;
  padding:6px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:12px;
  box-shadow:var(--shadow);
  width:168px;
}
.lang-menu button {
  display:block;
  width:100%;
  padding:9px 12px;
  text-align:left;
  border-radius:6px;
  background:transparent;
  font-size:14px;
}
.lang-menu button:hover,.lang-menu button[aria-current=true] {
  background:var(--raised);
  color:var(--accent);
}
.skip-link {
  position:fixed;
  top:-100px;
  left:20px;
  z-index:100;
  background:var(--accent);
  color:var(--accent-ink);
  padding:10px;
}
.skip-link:focus {
  top:20px;
}
.hero-copy {
  text-align:center;
  padding:157px 0 50px;
}
.pill {
  display:inline-flex;
  align-items:center;
  gap:10px;
  border:1px solid var(--line);
  border-radius:99px;
  padding:5px 12px;
  font-size:12px;
  color:var(--muted);
  background:var(--surface);
}
.pill-dot {
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--accent);
}
.pill-sep {
  height:12px;
  width:1px;
  background:var(--line);
}
.hero-title {
  font-size:clamp(44px,5.6vw,74px);
  font-weight:650;
  letter-spacing:-.055em;
  line-height:1.18;
  margin-top:25px;
}
.hero-title span {
  color:var(--accent);
}
.hero-sub {
  max-width:530px;
  margin:24px auto 0;
  color:var(--muted);
  font-size:17px;
  line-height:1.8;
  text-wrap:pretty;
}
.hero-cta {
  display:flex;
  justify-content:center;
  gap:12px;
  margin-top:28px;
}
.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:46px;
  padding:11px 21px;
  border:1px solid var(--line);
  border-radius:9px;
  font-weight:600;
  font-size:14px;
}
.btn-primary {
  background:var(--accent);
  border-color:var(--accent);
  color:var(--accent-ink);
  box-shadow:0 0 28px #60ca9a0e;
}
.btn-primary:hover {
  filter:brightness(1.1);
  box-shadow:0 0 30px #60ca9a20;
}
.btn-ghost {
  background:var(--surface);
}
.btn-ghost:hover {
  background:var(--raised);
}
.hero-meta {
  color:var(--dim);
  font-size:12px;
  margin-top:16px;
}
.dl-meta:not(:empty)::before {
  content:' · ';
}
.stage-wrap {
  position:relative;
}
.seg {
  display:inline-flex;
  gap:4px;
  padding:4px;
  background:var(--raised);
  border:1px solid var(--line);
  border-radius:10px;
  max-width:100%;
  flex-wrap:wrap;
}
.seg-item {
  background:transparent;
  padding:7px 15px;
  border-radius:6px;
  color:var(--muted);
  font-size:14px;
  line-height:1.45;
}
.seg-item.is-active {
  color:var(--text);
  background:var(--surface);
  box-shadow:0 1px 6px #0001;
}
.seg-item:hover {
  color:var(--text);
}
.stage-tabs {
  display:flex;
  width:max-content;
  margin:0 auto 22px;
}
.spot {
  position:relative;
  isolation:isolate;
}
.spot::after {
  content:'';
  position:absolute;
  z-index:-1;
  inset:-1px;
  border:1px solid transparent;
  border-radius:inherit;
  pointer-events:none;
  background:radial-gradient(360px circle at var(--mx,-999px) var(--my,-999px),#7ae3b922,transparent 65%);
}
.stage {
  border:1px solid var(--line);
  border-radius:20px;
  background:var(--surface);
  overflow:hidden;
  box-shadow:var(--shadow);
}
.stage-pane {
  display:none;
}
.stage-pane.is-active {
  display:block;
}
.demo {
  display:grid;
  grid-template-columns:minmax(0,1fr) 310px;
}
.desk {
  position:relative;
  min-height:565px;
  overflow:hidden;
  --dt:#ecf3f5;
  --dm:#aab7c1;
  --ds:25 33 40;
  --db:#ffffff18;
  color:var(--dt);
  background:#101e29;
}
.desk[data-dtheme=light] {
  --dt:#1c2e38;
  --dm:#536c7a;
  --ds:231 240 245;
  --db:#ffffff70;
  background:#c7dce5;
}
.wallpaper {
  position:absolute;
  inset:0;
  overflow:hidden;
  background:radial-gradient(ellipse at 20% 25%,#397a8c50,transparent 60%),radial-gradient(ellipse at 60% 90%,#0d776a70,transparent 70%);
}
.wallpaper i {
  position:absolute;
  display:block;
  width:90%;
  height:170%;
  border-radius:48%;
  border:1px solid #a6dfe71a;
  transform:rotate(-38deg);
  background:linear-gradient(120deg,#4eb0c00a,#194e5c30);
  box-shadow:inset 25px 0 90px #5ad2d816;
}
.wallpaper i:nth-child(1) {
  left:-38%;
  top:-72%;
}
.wallpaper i:nth-child(2) {
  left:-15%;
  top:-54%;
  width:72%;
}
.wallpaper i:nth-child(3) {
  left:0%;
  top:-40%;
  width:55%;
  background:linear-gradient(120deg,#70d9c20f,#123e4e70);
}
.desk-hint {
  position:absolute;
  left:25px;
  top:24px;
  right:25px;
  font-size:12px;
  color:var(--dm);
  max-width:240px;
}
.flyout {
  position:absolute;
  right:24px;
  bottom:72px;
  width:360px;
  max-width:calc(100% - 32px);
  border:1px solid var(--db);
  border-radius:13px;
  background:rgb(var(--ds) / var(--glass,.88));
  backdrop-filter:blur(30px);
  box-shadow:0 16px 45px #0004;
  opacity:0;
  transform:translateY(14px) scale(.98);
  pointer-events:none;
  visibility:hidden;
  transition:opacity .25s,transform .25s,visibility .25s;
  transform-origin:bottom right;
}
.flyout.is-open {
  opacity:1;
  transform:none;
  pointer-events:auto;
  visibility:visible;
}
.fly-head {
  display:flex;
  align-items:center;
  gap:8px;
  padding:12px 13px;
  border-bottom:1px solid var(--db);
  line-height:1.4;
}
.fly-dot {
  width:6px;
  height:6px;
  background:#10b981;
  border-radius:50%;
}
.fly-title {
  font-size:13px;
  font-weight:650;
}
.fly-ver {
  font-size:10px;
  color:var(--dm);
  border:1px solid var(--db);
  padding:0 4px;
  border-radius:4px;
}
.fly-tools {
  display:flex;
  gap:6px;
  margin-left:auto;
}
.fly-tool {
  width:24px;
  height:24px;
  padding:4px;
  background:transparent;
  border-radius:4px;
}
.fly-tool:hover,.fly-chip:hover {
  background:#8882;
}
.fly-actions {
  display:flex;
  padding:12px;
  gap:5px;
  flex-wrap:wrap;
}
.fly-chip {
  display:flex;
  align-items:center;
  gap:4px;
  background:#8796a422;
  border:1px solid var(--db);
  border-radius:16px;
  padding:5px 8px;
  font-size:10px;
  line-height:1.3;
}
.icon-sprite {
  position:absolute;
  width:0;
  height:0;
  overflow:hidden;
  pointer-events:none;
}
.ico {
  display:inline-block;
  vertical-align:middle;
  width:18px;
  height:18px;
  flex-shrink:0;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
}
.fly-chip .ico {
  width:12px;
  height:12px;
}
.fly-list {
  padding:0 12px 12px;
  display:grid;
  gap:10px;
}
.device-card {
  padding:12px 14px;
  border:1px solid var(--db);
  border-radius:15px;
  background:linear-gradient(135deg,#b9d2dd19,#b9d2dd0c);
  --signal:#5bc9a5;
}
.device-card[data-tone=warning] {
  --signal:#deb466;
}
.device-card[data-tone=critical] {
  --signal:#ed8892;
}
.device-card[data-tone=charging] {
  --signal:#66c9d9;
}
.device-card[data-tone=offline] {
  --signal:#8895a4;
}
.device-top {
  display:flex;
  align-items:center;
  gap:7px;
  color:var(--dm);
  font-size:10px;
  line-height:1.3;
}
.device-brand {
  padding:3px 6px;
  background:#679fdd16;
  border:1px solid #679fdd20;
  border-radius:5px;
  color:var(--dt);
}
.device-status::before {
  content:'';
  display:inline-block;
  width:4px;
  height:4px;
  border-radius:50%;
  background:var(--signal);
  vertical-align:middle;
  margin-right:4px;
}
.device-pin {
  margin-left:auto;
  background:transparent;
  color:var(--dm);
  padding:2px;
}
.device-pin.is-active {
  color:#56cda7;
}
.device-pin .ico {
  width:13px;
  height:13px;
}
.device-main {
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:8px;
  margin:8px 0;
}
.device-name {
  font-size:13px;
  font-weight:650;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.device-value {
  font-size:27px;
  line-height:1.2;
  color:var(--signal);
  font-weight:600;
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}
.desk[data-dtheme=light] .device-value {
  color:var(--dt);
}
.device-value small {
  font-size:11px;
  margin-left:3px;
  color:var(--dm);
}
.device-meter {
  height:5px;
  background:#90a6b425;
  border-radius:5px;
  overflow:hidden;
}
.device-meter span {
  display:block;
  height:100%;
  background:var(--signal);
  border-radius:5px;
  transition:width .18s,background .2s;
}
.device-card[data-tone=charging] .device-meter span {
  animation:breathe 2s ease-in-out infinite;
}
.device-foot {
  display:flex;
  justify-content:space-between;
  gap:10px;
  font-size:10px;
  color:var(--dm);
  margin-top:6px;
}
.console {
  padding:25px;
  border-left:1px solid var(--line);
  background:var(--surface);
  max-height:565px;
  overflow:auto;
  scrollbar-width:thin;
}
.console-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:24px;
  gap:8px;
}
.console-title {
  font-size:15px;
  font-weight:600;
}
.text-btn {
  background:transparent;
  color:var(--muted);
  font-size:12px;
  padding:4px;
}
.text-btn:hover {
  color:var(--accent);
}
.field {
  margin-bottom:21px;
}
.field-label {
  display:flex;
  justify-content:space-between;
  font-size:12px;
  color:var(--muted);
  margin-bottom:9px;
}
.field-label output {
  font-variant-numeric:tabular-nums;
  color:var(--accent);
  font-size:16px;
}
.seg-sm {
  width:100%;
  display:flex;
  border-radius:8px;
  gap:2px;
  padding:3px;
}
.seg-sm .seg-item {
  padding:6px 8px;
  font-size:12px;
  flex:1;
}
.range {
  width:100%;
  accent-color:var(--accent);
  height:22px;
  cursor:ew-resize;
}
.field-row {
  display:grid;
  gap:10px;
}
.toggle {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:13px;
  background:none;
  padding:3px 0;
  text-align:left;
}
.toggle-knob {
  width:28px;
  height:16px;
  background:var(--raised);
  border:1px solid var(--line);
  border-radius:20px;
  position:relative;
  flex-shrink:0;
}
.toggle-knob::after {
  content:'';
  position:absolute;
  left:3px;
  top:3px;
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--muted);
  transition:transform .18s;
}
.toggle[aria-pressed=true] .toggle-knob {
  background:var(--accent);
}
.toggle[aria-pressed=true] .toggle-knob::after {
  background:var(--accent-ink);
  transform:translateX(12px);
}
.demo-details {
  border-top:1px solid var(--line);
  padding-top:15px;
}
.demo-details summary {
  font-size:13px;
  color:var(--muted);
  cursor:pointer;
  margin-bottom:18px;
}
.console-note {
  font-size:11px;
  line-height:1.7;
  color:var(--dim);
  margin-top:20px;
}
.select {
  width:100%;
  background:var(--raised);
  border:1px solid var(--line);
  border-radius:6px;
  padding:6px 28px 6px 8px;
  font-size:12px;
  appearance:none;
  color:var(--text);
}
.select-wrap {
  position:relative;
}
.select-wrap::after {
  content:'⌄';
  position:absolute;
  right:10px;
  top:4px;
  pointer-events:none;
}
.taskbar {
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  height:51px;
  border-top:1px solid var(--db);
  background:rgb(var(--ds) / .77);
  backdrop-filter:blur(25px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 14px;
  gap:8px;
}
.tb-center,.tb-right {
  display:flex;
  align-items:center;
  gap:12px;
}
.tb-app {
  width:24px;
  height:24px;
}
.tb-start {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:2px;
  padding:3px;
}
.tb-start i {
  background:#70bcdf;
}
.tb-search {
  border:2px solid #a6bdca;
  border-radius:50%;
  width:15px;
  height:15px;
  position:relative;
  margin:0 6px;
}
.tb-search::after {
  content:'';
  position:absolute;
  width:7px;
  height:2px;
  transform:rotate(45deg);
  background:#a6bdca;
  right:-5px;
  bottom:-3px;
}
.tb-a1 {
  background:linear-gradient(20deg,#a87a33,#dec361);
  border-radius:4px;
  height:19px;
}
.tb-a2 {
  background:linear-gradient(140deg,#4a92b9,#3a988a);
  border-radius:50%;
}
.tb-a3 {
  background:#7777;
  border-radius:5px;
}
.tray-icon {
  background:none;
  color:var(--dt);
  width:34px;
  height:34px;
  border-radius:4px;
  padding:3px;
  display:grid;
  place-items:center;
}
.tray-icon:hover {
  background:#aaa2;
}
.tb-widget,.mb-widget {
  display:flex;
  gap:13px;
  align-items:center;
  font-variant-numeric:tabular-nums;
}
.pinned-device {
  display:flex;
  align-items:center;
  gap:4px;
  font-size:11px;
}
.pinned-device .ico {
  width:14px;
  height:14px;
}
.tb-widget[data-layout=stacked] .pinned-device,.mb-widget[data-layout=stacked] .pinned-device {
  flex-direction:column;
  gap:0;
  line-height:1.3;
}
.tb-widget[data-backdrop=true],.mb-widget[data-backdrop=true] {
  background:#8882;
  border-radius:5px;
  padding:3px 6px;
}
.tb-sys {
  display:flex;
  gap:8px;
}
.tb-clock {
  display:grid;
  font-size:10px;
  line-height:1.4;
  text-align:right;
  white-space:nowrap;
}
.tb-clock b {
  font-weight:400;
}
.tb-clock small {
  font-size:9px;
}
.tray-tip,.tray-menu,.toast {
  position:absolute;
  z-index:5;
  right:20px;
  bottom:64px;
  border:1px solid var(--db);
  border-radius:8px;
  background:rgb(var(--ds) / .97);
  color:var(--dt);
  box-shadow:0 10px 30px #0003;
  padding:13px;
  display:none;
}
.tray-tip.is-open,.tray-menu.is-open {
  display:block;
}
.tray-tip {
  min-width:230px;
  font-size:11px;
}
.tip-row {
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:4px 0;
}
.tip-row b {
  font-variant-numeric:tabular-nums;
}
.tray-menu button {
  display:block;
  width:100%;
  padding:7px 20px;
  background:none;
  text-align:left;
  font-size:12px;
}
.tray-menu button:hover {
  background:#8882;
}
.tray-menu hr {
  border:0;
  border-top:1px solid var(--db);
}
.toast {
  display:none;
  gap:10px;
  max-width:290px;
  bottom:70px;
}
.toast.is-open {
  display:flex;
  animation:arrive .3s ease-out;
}
.toast-app {
  font-size:10px;
  color:var(--dm);
}
.toast-title {
  font-size:13px;
  font-weight:600;
}
.toast-text {
  font-size:12px;
}
.battery-glyph {
  display:grid;
  place-items:center;
  width:29px;
  height:16px;
  border:1.5px solid currentColor;
  border-radius:5px;
  position:relative;
  font-size:10px;
  line-height:1;
  font-weight:700;
  font-variant-numeric:tabular-nums;
  background:linear-gradient(90deg,color-mix(in srgb,currentColor 18%,transparent) var(--level),transparent var(--level));
}
.battery-glyph::after {
  content:'';
  position:absolute;
  width:2px;
  height:6px;
  background:currentColor;
  right:-4px;
  border-radius:1px;
}
.battery-glyph.vertical {
  width:17px;
  height:28px;
  border-radius:3px;
  background:linear-gradient(0deg,color-mix(in srgb,currentColor 20%,transparent) var(--level),transparent var(--level));
  font-size:9px;
}
.battery-glyph.vertical::after {
  width:7px;
  height:2px;
  right:3px;
  top:-4px;
}
.battery-glyph.number {
  border:0;
  background:none;
  font-size:22px;
  width:34px;
}
.battery-glyph.circle {
  border:0;
  border-radius:50%;
  width:32px;
  height:32px;
  background:conic-gradient(currentColor var(--level),#8895a433 0);
}
.battery-glyph.circle b {
  display:grid;
  place-items:center;
  width:26px;
  height:26px;
  border-radius:50%;
  background:var(--surface);
  color:var(--text);
  font-size:11px;
}
.battery-glyph.number::after,.battery-glyph.circle::after {
  display:none;
}
.shots {
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:48px;
  padding:32px 100px;
  background:radial-gradient(ellipse at center,#326e5b13,transparent 70%);
}
.shot {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:15px;
}
.shot-frame {
  height:430px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.shot-frame img {
  max-height:100%;
  width:auto;
  object-fit:contain;
  border-radius:12px;
  box-shadow:0 20px 45px #0003;
}
.shot figcaption {
  font-size:12px;
  color:var(--muted);
  max-width:280px;
  text-align:center;
}
.section {
  padding:114px 0 0;
}
.sec-head {
  margin-bottom:36px;
  max-width:670px;
}
.kicker {
  display:none;
}
h2 {
  font-size:clamp(28px,3vw,38px);
  line-height:1.35;
  letter-spacing:-.04em;
  font-weight:600;
}
.sec-head p {
  color:var(--muted);
  margin-top:13px;
  font-size:16px;
}
.bento {
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:16px;
}
.card {
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--surface);
  padding:29px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.b-tray {
  grid-column:span 3;
}
.b-dev {
  grid-column:span 3;
  grid-row:span 2;
}
.b-task {
  grid-column:span 3;
}
.b-alert,.b-pers,.b-native {
  grid-column:span 2;
}
.card h3 {
  font-size:19px;
  line-height:1.45;
  letter-spacing:-.02em;
  font-weight:600;
}
.card p {
  font-size:14px;
  color:var(--muted);
  margin-top:12px;
  line-height:1.8;
}
.viz {
  margin-top:auto;
  padding-top:26px;
}
.tray-styles {
  display:flex;
  justify-content:space-around;
  gap:12px;
  padding-top:35px;
  padding-bottom:10px;
}
.ts {
  display:flex;
  flex-direction:column;
  gap:15px;
  align-items:center;
  font-size:12px;
  color:var(--muted);
  cursor:pointer;
  border-radius:8px;
  padding:10px;
}
.ts:hover,.ts.is-active {
  background:var(--raised);
  color:var(--accent);
}
.ts-icon {
  height:35px;
  display:grid;
  place-items:center;
  color:var(--accent);
}
.orbit {
  height:290px;
  position:relative;
  flex:1;
  min-height:290px;
  margin:10px 0;
  display:grid;
  place-items:center;
}
.orbit-ring {
  position:absolute;
  border:1px solid var(--line);
  border-radius:50%;
  width:180px;
  height:180px;
}
.orbit-ring.r2 {
  width:280px;
  height:280px;
}
.orbit-core {
  z-index:2;
  border-radius:18px;
  background:var(--raised);
  padding:14px;
  box-shadow:0 0 70px #56b99717;
  border:1px solid var(--line);
}
.orbit-track {
  position:absolute;
  inset:50% auto auto 50%;
  width:0;
  height:0;
}
.orb {
  position:absolute;
  left:0;
  top:0;
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  background:var(--raised);
  border:1px solid var(--line);
  border-radius:13px;
  transform:translate(-50%,-50%) rotate(var(--a)) translateX(90px) rotate(calc(-1 * var(--a)));
  color:var(--accent);
  box-shadow:0 4px 20px #0001;
}
.orb .ico {
  width:25px;
  height:25px;
}
.orb-sm {
  width:38px;
  height:38px;
  transform:translate(-50%,-50%) rotate(var(--a)) translateX(140px) rotate(calc(-1 * var(--a)));
  color:var(--muted);
}
.orb-sm .ico {
  width:20px;
  height:20px;
}
.orbit-core img {
  animation:breathe 5s ease-in-out infinite;
}
.tag-row {
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  justify-content:center;
}
.tag-row li {
  font-size:11px;
  padding:3px 8px;
  border:1px solid var(--line);
  border-radius:5px;
  color:var(--muted);
}
.mini-bar {
  padding-top:30px;
}
.mb-bar {
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--raised);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  padding:12px;
  position:relative;
}
.mb-sep {
  width:1px;
  height:24px;
  background:var(--line);
}
.mb-tray {
  color:var(--accent);
  cursor:help;
}
.mb-clock {
  font-size:11px;
  color:var(--muted);
}
.mb-tip {
  display:none;
  position:absolute;
  bottom:100%;
  right:0;
  background:var(--surface);
  padding:12px 18px;
  border:1px solid var(--line);
  border-radius:8px;
  box-shadow:var(--shadow);
  font-size:12px;
  min-width:240px;
  z-index:5;
}
.mb-tray:hover~.mb-tip,.mb-tray:focus~.mb-tip {
  display:block;
}
.mb-ctrl {
  display:flex;
  gap:6px;
  margin-top:15px;
  flex-wrap:wrap;
}
.chip {
  background:none;
  color:var(--muted);
  border:1px solid var(--line);
  border-radius:6px;
  padding:6px 9px;
  font-size:11px;
}
.chip:hover,.chip.is-active,.chip[aria-pressed=true] {
  background:var(--raised);
  color:var(--text);
}
.alert-viz {
  position:relative;
  min-height:175px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.av-num {
  font-variant-numeric:tabular-nums;
  color:#ed8892;
}
.av-num b {
  font-size:52px;
  line-height:1.2;
  font-weight:500;
}
.av-num small {
  font-size:16px;
  margin-left:3px;
}
.av-rail {
  height:6px;
  background:var(--raised);
  border-radius:6px;
  position:relative;
  margin-top:13px;
}
.av-fill {
  width:19%;
  height:100%;
  background:#ed8892;
  border-radius:6px;
}
.av-mark {
  position:absolute;
  left:20%;
  top:-3px;
  height:12px;
  width:1px;
  background:var(--muted);
}
.av-toast {
  display:flex;
  align-items:center;
  gap:9px;
  margin-top:18px;
  color:var(--muted);
  font-size:12px;
}
.av-toast .ico {
  color:#ed8892;
}
.pv-card {
  display:flex;
  align-items:center;
  gap:12px;
  border:1px solid var(--line);
  background:var(--raised);
  border-radius:12px;
  padding:15px;
  margin:8px 0 14px;
}
.pv-icon {
  color:#10b981;
}
.pv-icon .ico {
  width:24px;
  height:24px;
}
.pv-name {
  min-width:0;
  width:100%;
  padding:0;
  background:none;
  border:0;
  color:var(--text);
  font-size:14px;
}
.pv-edit {
  width:13px;
  height:13px;
  color:var(--muted);
}
.pv-row {
  display:flex;
  gap:6px;
  align-items:center;
  flex-wrap:wrap;
  margin-top:12px;
}
.pv-pick {
  background:transparent;
  color:var(--muted);
  width:29px;
  height:29px;
  border-radius:5px;
  display:grid;
  place-items:center;
}
.pv-pick:hover,.pv-pick.is-active {
  background:var(--raised);
  color:var(--accent);
}
.pv-swatch {
  width:16px;
  height:16px;
  border-radius:50%;
  background:var(--c);
  border:3px solid var(--surface);
  outline:1px solid transparent;
}
.pv-swatch.is-active {
  outline-color:var(--muted);
}
.pv-hex {
  margin-left:auto;
  font-size:10px;
  color:var(--muted);
}
.stats {
  display:flex;
  gap:12px;
  justify-content:space-between;
  margin-bottom:25px;
}
.stat {
  flex:1;
}
.stat b {
  font-size:35px;
  line-height:1;
  font-weight:500;
  font-variant-numeric:tabular-nums;
}
.stat span {
  display:block;
  font-size:10px;
  line-height:1.6;
  color:var(--muted);
  margin-top:9px;
}
.pipe {
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:4px;
}
.pipe li {
  font-family:ui-monospace,monospace;
  border:1px solid var(--line);
  border-radius:4px;
  padding:4px 6px;
  color:var(--accent);
  font-size:10px;
}
.card .pipe-cap {
  font-size:11px;
}
.preview {
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--surface);
  padding:28px;
}
.pv-tabs {
  display:flex;
  width:max-content;
  margin:0 auto 28px;
}
.pv-stage {
  border-radius:12px;
  display:flex;
  justify-content:center;
  background:radial-gradient(ellipse at center,#48876f15,transparent 75%);
  padding:28px;
  overflow:hidden;
}
.ba {
  position:relative;
  width:380px;
  max-width:100%;
  --split:50%;
  filter:drop-shadow(0 18px 28px #0003);
}
.ba[data-kind=settings] {
  width:540px;
}
.ba-img {
  width:100%;
  height:auto;
  border-radius:12px;
}
.ba-dark {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:fill;
  clip-path:inset(0 0 0 var(--split));
}
.ba:not(.comparing) .ba-dark {
  clip-path:none;
}
[data-theme=light] .ba:not(.comparing) .ba-dark {
  visibility:hidden;
}
.ba:not(.comparing) .ba-handle,.ba:not(.comparing) .ba-knob,.ba:not(.comparing) .ba-tag {
  display:none;
}
.ba-handle {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  margin:0;
  appearance:none;
  cursor:ew-resize;
  background:transparent;
  z-index:2;
  opacity:0;
  touch-action:pan-y;
}
.ba-knob {
  position:absolute;
  left:var(--split);
  top:50%;
  transform:translate(-50%,-50%);
  border:1px solid #ffffff80;
  border-radius:50%;
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  background:#172d26;
  color:#d9f9ed;
  pointer-events:none;
  box-shadow:0 0 0 1px #0001;
}
.ba.comparing::after {
  content:'';
  position:absolute;
  left:var(--split);
  top:0;
  bottom:0;
  width:1px;
  background:#d9f9edb0;
  pointer-events:none;
}
.ba:focus-within {
  outline:2px solid var(--accent);
  outline-offset:6px;
  border-radius:12px;
}
.ba-tag {
  position:absolute;
  bottom:14px;
  font-size:10px;
  background:#15241ecf;
  color:#fff;
  border-radius:5px;
  padding:3px 7px;
}
.ba-tag-l {
  left:12px;
}
.ba-tag-r {
  right:12px;
}
.pv-notes {
  display:flex;
  justify-content:center;
  gap:24px;
  margin:26px auto 0;
  max-width:900px;
  color:var(--dim);
  font-size:12px;
}
.pv-notes li {
  flex:1;
}
.dv-tools {
  display:flex;
  gap:20px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}
.search {
  display:flex;
  align-items:center;
  gap:10px;
  border:1px solid var(--line);
  background:var(--surface);
  border-radius:9px;
  padding:10px 14px;
  flex:1;
  min-width:260px;
  max-width:420px;
  color:var(--dim);
}
.search input {
  border:0;
  outline:none;
  background:none;
  min-width:0;
  width:100%;
  color:var(--text);
  font-size:14px;
}
.search:focus-within {
  border-color:var(--accent);
}
kbd {
  font:11px ui-monospace,monospace;
  border:1px solid var(--line);
  padding:0 5px;
  border-radius:4px;
}
.chips {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
.chips .chip {
  font-size:12px;
  padding:7px 12px;
}
.dv-count {
  font-size:12px;
  color:var(--dim);
  margin:18px 0;
}
.dv-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  border-top:1px solid var(--line);
  border-left:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
}
.device-entry {
  padding:24px;
  border-bottom:1px solid var(--line);
  border-right:1px solid var(--line);
  background:var(--surface);
  display:flex;
  flex-direction:column;
  gap:10px;
}
.entry-head {
  display:flex;
  align-items:center;
  gap:10px;
}
.entry-head .ico {
  color:var(--accent);
  width:20px;
  height:20px;
}
.entry-head h3 {
  font-size:15px;
  font-weight:600;
}
.entry-models {
  color:var(--muted);
  font-size:13px;
  line-height:1.7;
}
.entry-protocol {
  font-family:ui-monospace,monospace;
  color:var(--dim);
  font-size:11px;
  margin-top:auto;
  padding-top:5px;
}
.entry-note {
  font-size:11px;
  color:var(--dim);
}
.entry-note.pending {
  color:color-mix(in srgb,#deaf6d 75%,var(--text));
}
.dv-empty {
  padding:50px;
  text-align:center;
  border:1px solid var(--line);
  border-radius:12px;
  color:var(--muted);
}
.modes {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:30px;
  margin-top:35px;
}
.mode-tag {
  font-size:12px;
  color:var(--text);
}
.mode p {
  color:var(--dim);
  font-size:12px;
  margin-top:8px;
}
.mode-exp {
  color:var(--muted);
}
.cta-card {
  margin-top:48px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:32px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:35px;
}
.cta-card h3 {
  font-size:20px;
  font-weight:600;
}
.cta-card p {
  color:var(--muted);
  font-size:13px;
  max-width:490px;
  margin-top:10px;
}
.cta-actions {
  display:flex;
  flex-direction:column;
  gap:6px;
  flex-shrink:0;
}
.cta-actions .btn-ghost {
  border-color:transparent;
  background:none;
  font-size:12px;
}
.footer {
  padding:60px 0 28px;
  font-size:12px;
  color:var(--dim);
}
.footer-inner,.foot-brand,.foot-links {
  display:flex;
  align-items:center;
  gap:16px;
}
.footer-inner {
  justify-content:space-between;
}
.foot-brand {
  gap:8px;
}
.foot-dim {
  margin-left:10px;
}
.foot-links {
  gap:22px;
}
.foot-note {
  font-size:11px;
  margin-top:22px;
}
.reveal {
  opacity:1;
}
.motion-ready .reveal:not(.is-visible) {
  opacity:0;
  transform:translateY(16px);
}
.motion-ready .reveal {
  transition:opacity .65s,transform .65s;
}
.noscript {
  margin:32px;
  color:var(--muted);
  text-align:center;
}
.theme-shot {
  animation:arrive .25s ease-out;
}
@keyframes arrive {
  from {
    opacity:0;
    transform:translateY(6px);
  }
  to {
    opacity:1;
    transform:none;
  }
}
@keyframes breathe {
  50% {
    opacity:.65;
  }
}
@media(min-width:1500px) {
  .hero-copy {
    padding-top:175px;
  }
  .hero-title {
    font-size:80px;
  }
  .hero-sub {
    margin-top:28px;
  }
}
@media(max-width:1000px) {
  .nav-links {
    gap:16px;
  }
  .demo {
    grid-template-columns:minmax(0,1fr) 280px;
  }
  .console {
    padding:22px;
  }
  .desk-hint {
    max-width:200px;
    font-size:11px;
  }
  .flyout {
    right:16px;
  }
  .tb-a3,.tb-a2 {
    display:none;
  }
  .tb-center {
    gap:8px;
  }
  .tb-right {
    gap:8px;
  }
  .b-alert,.b-pers {
    grid-column:span 3;
  }
  .b-native {
    grid-column:span 6;
  }
  .b-native .native-viz {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:0 35px;
  }
  .stats {
    grid-row:span 2;
    margin:0;
  }
  .shots {
    padding:32px 45px;
    gap:30px;
  }
  .dv-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .card {
    padding:24px;
  }
  .foot-brand .foot-dim {
    display:none;
  }
}
@media(max-width:760px) {
  .container {
    width:calc(100% - 36px);
  }
  .nav {
    top:12px;
    width:calc(100% - 24px);
    border-radius:12px;
  }
  .nav-inner {
    padding:6px 12px;
    gap:5px;
    min-height:56px;
  }
  .brand {
    font-size:13px;
    gap:7px;
  }
  .brand img {
    width:24px;
    height:24px;
  }
  .nav-links {
    display:none;
  }
  .nav-actions {
    gap:0;
  }
  .icon-btn {
    padding:8px;
    min-width:34px;
  }
  .gh-btn {
    margin-left:3px;
    padding:8px;
  }
  .gh-btn>span {
    display:none;
  }
  .lang-btn {
    font-size:12px;
    gap:5px;
  }
  .hero-copy {
    padding:124px 0 38px;
  }
  .hero-title {
    font-size:clamp(42px,8.7vw,64px);
  }
  .hero-sub {
    font-size:15px;
    max-width:460px;
    margin-top:20px;
  }
  .hero-cta {
    margin-top:25px;
    gap:8px;
  }
  .btn {
    padding:10px 15px;
    font-size:13px;
  }
  .hero-meta {
    font-size:10px;
  }
  .demo {
    display:flex;
    flex-direction:column;
  }
  .desk {
    min-height:540px;
  }
  .desk-hint {
    font-size:11px;
    max-width:none;
    left:18px;
    top:18px;
  }
  .flyout {
    right:18px;
    bottom:68px;
  }
  .console {
    border-left:0;
    border-top:1px solid var(--line);
    max-height:none;
    padding:20px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:0 25px;
  }
  .console-head {
    grid-column:1/-1;
    margin-bottom:18px;
  }
  .field {
    margin-bottom:16px;
  }
  .field-row {
    grid-column:2;
    grid-row:2/4;
    gap:8px;
    align-content:center;
  }
  .demo-details {
    grid-column:1/-1;
  }
  .demo-details[open] {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:0 20px;
  }
  .demo-details summary {
    grid-column:1/-1;
  }
  .console-note {
    grid-column:1/-1;
    margin:0;
  }
  .tb-a2 {
    display:block;
  }
  .shots {
    gap:25px;
    padding:25px;
    grid-template-columns:1fr;
  }
  .shot-frame {
    height:400px;
  }
  .section {
    padding-top:75px;
  }
  .sec-head {
    margin-bottom:25px;
  }
  .bento {
    gap:12px;
  }
  .b-tray,.b-dev,.b-task,.b-alert,.b-pers,.b-native {
    grid-column:span 6;
    grid-row:auto;
  }
  .card {
    padding:25px;
  }
  .b-dev .orbit {
    min-height:280px;
    max-height:300px;
  }
  .b-native .native-viz {
    display:block;
  }
  .stats {
    margin-bottom:25px;
  }
  .stat b {
    font-size:40px;
  }
  .stat span {
    font-size:12px;
  }
  .pipe li {
    font-size:11px;
  }
  .card .pipe-cap {
    font-size:12px;
  }
  .card p {
    font-size:14px;
  }
  .card h3 {
    font-size:20px;
  }
  .pv-stage {
    padding:10px 0;
  }
  .preview {
    padding:18px;
  }
  .pv-tabs {
    gap:0;
    width:100%;
    flex-wrap:nowrap;
  }
  .pv-tabs .seg-item {
    padding:7px 10px;
    flex:1;
    font-size:12px;
  }
  .pv-notes {
    display:block;
    margin-top:22px;
    font-size:12px;
  }
  .pv-notes li+li {
    margin-top:8px;
  }
  .dv-tools {
    gap:14px;
  }
  .search {
    max-width:none;
    width:100%;
  }
  .dv-grid {
    grid-template-columns:1fr;
  }
  .device-entry {
    padding:22px;
  }
  .entry-models {
    font-size:14px;
  }
  .modes {
    grid-template-columns:1fr;
    gap:20px;
  }
  .mode p {
    font-size:13px;
  }
  .cta-card {
    display:block;
    margin-top:30px;
    padding:28px 0;
  }
  .cta-card h3 {
    font-size:20px;
  }
  .cta-actions {
    align-items:flex-start;
    margin-top:22px;
  }
  .cta-actions .btn-ghost {
    padding-left:0;
  }
  .footer {
    padding-top:35px;
  }
  .footer-inner {
    align-items:flex-start;
    gap:24px;
    flex-direction:column;
  }
  .foot-links {
    gap:20px;
    flex-wrap:wrap;
  }
  .foot-note {
    line-height:1.8;
  }
  .tb-right {
    gap:8px;
  }
  .taskbar {
    padding:0 12px;
  }
  .tb-center {
    gap:10px;
  }
  .tb-sys {
    display:none;
  }
}
@media(max-width:380px) {
  .brand-name {
    max-width:90px;
    overflow:hidden;
  }
  .tb-a1,.tb-a2 {
    display:none;
  }
  .console {
    gap:0 15px;
    padding:16px;
  }
  .seg-sm .seg-item {
    padding:6px 5px;
  }
  .hero-title {
    font-size:41px;
  }
  .hero-cta .btn {
    padding:10px 12px;
  }
  .fly-title {
    font-size:12px;
  }
  .fly-ver {
    display:none;
  }
  .flyout {
    max-width:calc(100% - 24px);
    right:12px;
  }
  .demo-details[open] {
    display:block;
  }
  .pv-tabs .seg-item {
    padding:7px 5px;
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  *,*::before,*::after {
    animation:none!important;
    transition:none!important;
  }
  .motion-ready .reveal:not(.is-visible) {
    opacity:1;
    transform:none;
  }
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
/* Keep the full flyout inside the desktop even when translated labels wrap. */
.desk {
  min-height:610px;
}
.console {
  max-height:610px;
}
.hero-copy {
  padding-top:134px;
  padding-bottom:40px;
}
.hero-title {
  font-size:clamp(44px,5.2vw,70px);
}
#dev-seg .seg-item {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  min-height:36px;
}
.dv-more {
  display:flex;
  margin:22px auto 0;
}
@media(max-width:760px) {
  .hero-copy {
    padding-top:119px;
    padding-bottom:35px;
  }
  .desk {
    min-height:605px;
  }
  .console {
    max-height:none;
  }
  .hero-title {
    font-size:clamp(42px,8.7vw,64px);
  }
}
.mb-tip.is-open {
  display:block;
}
@media(prefers-reduced-motion:reduce) {
  .spot::after {
    background:none;
  }
}
