@font-face {
  font-family: Inter;
  src: url('/lib/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #221f31;
  --muted: #625e70;
  --accent: #6745c8;
  --line: #dedce7;
  --lav: #eeebfa;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: #f6f5f8;
  font:
    15px/1.5 Inter,
    Arial,
    sans-serif;
}
[hidden] {
  display: none !important;
}
header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.topbar,
main {
  max-width: 1184px;
  margin: auto;
  padding-inline: clamp(20px, 5vw, 68px);
}
.topbar {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-weight: 720;
  font-size: 23px;
  letter-spacing: -1.3px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}
.mark {
  display: flex;
  gap: 2px;
  align-items: center;
  transform: skewY(-7deg);
  height: 30px;
}
.mark i {
  width: 7px;
  height: 20px;
  display: block;
  background: var(--accent);
  border-radius: 1.5px;
}
.mark i:nth-child(2) {
  height: 27px;
  background: #8061dc;
}
.mark i:last-child {
  height: 15px;
  background: #a58ae9;
}
#status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 550;
  color: var(--muted);
}
#status:before {
  content: '';
  background: #9893a5;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
#status.good:before {
  background: #398469;
}
#status.busy:before {
  background: #9e7a36;
}
main {
  padding-top: 36px;
  padding-bottom: 38px;
}
h1,
h2,
p {
  margin: 0;
}
h1 {
  font-size: clamp(32px, 4.2vw, 52px);
  letter-spacing: -0.06em;
  line-height: 1.13;
  font-weight: 620;
}
.intro {
  margin: 9px 0 23px;
  color: var(--muted);
  font-size: 16px;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
  transition:
    background 0.15s,
    box-shadow 0.15s;
}
button:disabled {
  opacity: 0.55;
  cursor: default;
}
button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 3px solid #b499ff;
  outline-offset: 3px;
}
nav {
  display: inline-flex;
  background: #eae8ef;
  border: 1px solid #e1dee9;
  border-radius: 12px;
  padding: 4px;
  gap: 3px;
  margin-bottom: 20px;
}
nav button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 620;
  padding: 9px 14px;
}
nav button[aria-pressed='true'] {
  color: #4b3489;
  background: white;
  box-shadow: 0 1px 5px #34204d20;
}
.ico {
  display: inline-block;
  width: 17px;
  height: 11px;
  border: 1.6px solid currentColor;
  position: relative;
}
.laptop {
  border-radius: 2px;
}
.laptop:after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: -3px;
  right: -3px;
  border-bottom: 1.6px solid currentColor;
}
.headset {
  border-radius: 5px 5px 4px 4px;
}
.headset:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 5px;
  width: 4px;
  height: 3px;
  border: 1.4px solid currentColor;
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
  background: #eeeaf4;
}
.dashboard {
  display: grid;
  grid-template-columns: minmax(245px, 0.8fr) minmax(0, 1.5fr);
  gap: 16px;
  align-items: stretch;
}
.card,
.slot {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.connection {
  padding: 24px;
  min-height: 294px;
}
.section-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--lav);
  color: var(--accent);
  border-radius: 11px;
  font-size: 33px;
  font-family: Arial;
  line-height: 1;
  margin-bottom: 17px;
}
h2 {
  font-size: 20px;
  letter-spacing: -0.045em;
  font-weight: 660;
}
.connection p {
  color: var(--muted);
  margin: 7px 0 17px;
  font-size: 14px;
}
.primary,
.secondary,
.small {
  border-radius: 9px;
  font-weight: 610;
  border: 1px solid transparent;
  font-size: 14px;
  min-height: 40px;
  padding: 8px 14px;
}
.primary {
  background: var(--accent);
  color: white;
}
.primary:hover:enabled {
  background: #5536b1;
}
.secondary,
.small {
  background: #fff;
  color: var(--ink);
  border-color: #d8d5e1;
}
.secondary:hover:enabled,
.small:hover:enabled {
  background: #f3f1f8;
}
.connection button {
  margin: 2px 6px 6px 0;
}
#end {
  font-size: 13px;
}
#pairform label,
.fieldlabel {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.digits {
  display: block;
  font:
    600 28px/1.6 ui-monospace,
    monospace;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
#pin {
  width: 100%;
  margin: 7px 0 10px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 21px;
  letter-spacing: 0.12em;
}
#notice {
  background: #fff5df;
  color: #654924;
  padding: 10px 15px;
  border-radius: 9px;
  margin-bottom: 14px;
}
.stage {
  background: radial-gradient(
    ellipse at 48% 65%,
    #4a376e 0,
    #2c2342 45%,
    #221e2e 79%
  );
  border-radius: 16px;
  position: relative;
  min-height: 294px;
  overflow: hidden;
  color: #f8f6ff;
  isolation: isolate;
}
.stagehead {
  position: absolute;
  inset: 17px 19px auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  gap: 10px;
}
.stagehead h2 {
  font-size: 14px;
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#stagebadge {
  font:
    11px ui-monospace,
    monospace;
  color: #e3daf6;
  white-space: nowrap;
}
#art {
  position: absolute;
  inset: 50px 0 4px;
  container-type: inline-size;
  overflow: hidden;
}
.ground {
  position: absolute;
  inset: -10% -40% -55%;
  transform: perspective(220px) rotateX(66deg);
  background-image:
    linear-gradient(#b99fea24 1px, transparent 1px),
    linear-gradient(90deg, #b99fea24 1px, transparent 1px);
  background-size: 35px 32px;
  mask-image: linear-gradient(transparent 8%, #000 85%);
}
.mock {
  position: absolute;
  top: 44%;
  border: 1px solid #d5c6f4a8;
  color: #e6dcfc;
  background: linear-gradient(125deg, #4c4269, #30273f);
  box-shadow:
    0 12px 19px #18101d55,
    inset 0 0 0 3px #ffffff08;
  border-radius: 6px;
  overflow: hidden;
  user-select: none;
  line-height: 1.5;
}
.mock.center {
  left: 50%;
  width: 35%;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.mock.left {
  left: 4%;
  width: 25%;
  transform: translateY(-46%) perspective(800px) rotateY(22deg) skewY(4deg);
  transform-origin: center;
}
.mock.right {
  right: 4%;
  width: 25%;
  transform: translateY(-46%) perspective(800px) rotateY(-22deg) skewY(-4deg);
  transform-origin: center;
}
.mockbar {
  background: #b49bd52e;
  border-bottom: 1px solid #d6befc41;
  padding: 4px 7px;
  font:
    500 clamp(8px, 2cqw, 12px) Inter,
    Arial;
  display: flex;
  gap: 5px;
  align-items: center;
}
.mockbar i {
  width: 5px;
  height: 5px;
  border: 1px solid #d4c3ed;
  border-radius: 50%;
}
.editorbody {
  display: flex;
  padding: 7% 4%;
  font:
    clamp(7px, 1.65cqw, 12px)/1.7 ui-monospace,
    monospace;
}
.gutter {
  opacity: 0.46;
  padding-right: 6%;
}
.snippet {
  white-space: nowrap;
}
.snippet em {
  color: #ddb4ff;
  font-style: normal;
}
.snippet u {
  color: #9fe0d3;
  text-decoration: none;
}
.terminal-lines {
  padding: 10% 7%;
  font:
    clamp(7px, 1.7cqw, 12px)/1.8 ui-monospace,
    monospace;
}
.terminal-lines b {
  color: #9cddc6;
}
.doclines {
  padding: 10%;
}
.doclines i,
.doclines b {
  display: block;
  height: 3px;
  margin: 6% 0;
  background: #b8aacc80;
  border-radius: 2px;
}
.doclines b {
  width: 55%;
  height: 4px;
  background: #e2d7ee;
}
.doclines i:nth-child(3) {
  width: 78%;
}
#videos {
  position: absolute;
  inset: 48px 10px 11px;
  background: #16141c;
  border-radius: 7px;
  overflow: hidden;
}
#videos video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.stagebutton {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: #26202edb;
  color: #fff;
  border: 1px solid #81748e;
  border-radius: 7px;
  padding: 5px 10px;
}
.sources {
  margin-top: 24px;
}
.srchead {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 11px;
}
.srchead span {
  font:
    12px ui-monospace,
    monospace;
  color: var(--muted);
}
#slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.slot {
  padding: 15px 16px;
}
.slot-top {
  display: flex;
  gap: 11px;
  align-items: center;
}
.number {
  font:
    600 12px ui-monospace,
    monospace;
  color: #674da8;
  background: #f0edf7;
  padding: 8px;
  border-radius: 7px;
}
.slot h3 {
  margin: 0;
  font-size: 14px;
  letter-spacing: -0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.slot .meta {
  font-size: 12px;
  color: var(--muted);
}
.slot-top > div {
  min-width: 0;
}
.slot-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 13px;
}
.small {
  font-size: 12px;
  min-height: 33px;
  padding: 6px 9px;
}
.small.picked {
  color: #6043a7;
  border-color: #b9a2df;
  background: #f6f2ff;
}
.slot.active {
  border-color: #bda9e4;
}
footer {
  margin-top: 22px;
  color: var(--muted);
  font-size: 12px;
}
kbd {
  font:
    11px Inter,
    sans-serif;
  background: white;
  border: 1px solid var(--line);
  padding: 1px 4px;
  border-radius: 4px;
}
@media (min-width: 1450px) {
  main {
    padding-top: 52px;
  }
  .stage,
  .connection {
    min-height: 320px;
  }
}
@media (max-width: 720px) {
  .topbar {
    height: 56px;
  }
  main {
    padding-top: 24px;
  }
  .dashboard {
    grid-template-columns: 1fr;
  }
  .connection {
    min-height: 0;
    padding: 18px;
  }
  .section-icon {
    display: none;
  }
  .stage {
    min-height: 230px;
  }
  #slots {
    grid-template-columns: 1fr;
  }
  .slot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  .slot-actions {
    margin-top: 0;
    justify-content: flex-end;
  }
  .slot-top {
    min-width: 0;
  }
  .intro {
    font-size: 14px;
  }
  .brand {
    font-size: 21px;
  }
  nav button {
    padding: 8px 10px;
  }
  .stagehead {
    inset-inline: 14px;
  }
}
