.cn-body {
  --cn-paper: #f6f3ff;
  --cn-muted: #bcb5cb;
  --cn-accent: #c7a5ff;
  margin: 0;
  background: #08070c;
  color: var(--cn-paper);
  font-family: var(--font, "Inter", Arial, sans-serif);
}
.cn-main {
  max-width: 1232px;
  padding: 0 48px 72px;
  margin: 0 auto;
}
.cn-main *,
.cn-main *::before,
.cn-main *::after {
  box-sizing: border-box;
}
.cn-symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}
.cn-main svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cn-intro {
  isolation: isolate;
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.65fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
  padding: clamp(33px, 5vw, 72px) clamp(24px, 4vw, 60px);
  margin-top: 22px;
  border-radius: 28px;
  background: #100d15;
  border: 1px solid #28212e;
}
.cn-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      85deg,
      rgba(5, 4, 8, 0.54) 16%,
      rgba(7, 5, 11, 0.16) 60%,
      rgba(10, 6, 16, 0.33)
    ),
    url("/art/orbit.webp") 62% center/cover;
}
.cn-eyebrow {
  margin: 0;
  color: var(--cn-accent);
  font-size: 0.73rem;
  font-weight: 710;
  letter-spacing: 0.085em;
  line-height: 1.45;
  text-transform: uppercase;
}
.cn-copy .cn-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cn-copy .cn-eyebrow span {
  width: 31px;
  height: 2px;
  background: var(--cn-accent);
}
.cn-intro h1 {
  margin: 22px 0 17px;
  font-size: clamp(3rem, 5.4vw, 5.4rem);
  font-weight: 720;
  letter-spacing: -0.069em;
  line-height: 0.99;
}
.cn-intro h1 em {
  font-style: normal;
  color: #d2b7ff;
}
.cn-lead {
  color: #e0d9e8;
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  max-width: 42ch;
  line-height: 1.58;
  margin: 0;
}
.cn-pair {
  padding: clamp(20px, 2.2vw, 32px);
  border-radius: 22px;
  background-color: #20192d;
  background-image: linear-gradient(128deg, #d9caff0d 0 13%, transparent 47%);
  border: 1px solid #e1cfff63;
  box-shadow:
    inset 0 1px 1px #ffffff24,
    inset 0 -1px 1px #ceb9fc17,
    0 18px 42px #03010740;
}
@supports (
  (backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))
) {
  .cn-pair {
    background-color: rgba(19, 13, 30, 0.61);
    -webkit-backdrop-filter: blur(15px) saturate(1.15);
    backdrop-filter: blur(15px) saturate(1.15);
  }
}
.cn-link-symbol {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 11px;
  background: #e6cfff15;
  color: #e2d3ff;
  border: 1px solid #ffffff27;
}
.cn-link-symbol svg {
  width: 21px;
  height: 21px;
}
.cn-pair h2 {
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  letter-spacing: -0.055em;
  line-height: 1.12;
  margin: 13px 0 8px;
}
.cn-pair p {
  color: #ddd7e9;
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
}
.cn-pair label {
  display: block;
  margin-top: 19px;
  margin-bottom: 6px;
  font-weight: 650;
  font-size: 0.78rem;
}
.cn-code-row {
  display: flex;
  gap: 8px;
}
.cn-code-row input {
  flex: 1;
  min-width: 0;
  color: #fff;
  border: 1px solid #ffffff44;
  background: #08070ecf;
  font:
    620 1rem/1 ui-monospace,
    "Consolas",
    monospace;
  letter-spacing: 0.12em;
  padding: 12px 14px;
  border-radius: 10px;
}
.cn-code-row input::placeholder {
  color: #a59bae;
  opacity: 1;
}
.cn-code-row button,
.cn-download {
  border: 1px solid #e0ceff;
  background: linear-gradient(130deg, #e3cdff, #c099ff);
  color: #23112e;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  transition:
    transform 0.17s ease,
    filter 0.17s ease;
}
.cn-code-row button {
  width: 47px;
  min-height: 46px;
}
.cn-code-row button svg,
.cn-download svg {
  width: 21px;
  height: 21px;
}
.cn-code-row button:active,
.cn-download:active,
.cn-platform:active {
  transform: scale(0.97);
}
.cn-code-row button:hover,
.cn-download:hover {
  filter: brightness(1.06);
}
.cn-pair .cn-error {
  margin-top: 7px;
  color: #ffcbd8;
  font-size: 0.85rem;
}
.cn-install {
  margin-top: clamp(30px, 4vw, 64px);
}
.cn-install-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
}
.cn-install-head h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3.6vw, 3.2rem);
  letter-spacing: -0.065em;
  line-height: 1.05;
}
.cn-platforms {
  padding: 4px;
  display: flex;
  border: 1px solid #38303f;
  border-radius: 999px;
  background: #110e16;
}
.cn-platform {
  color: #bdb4cc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 660;
  min-height: 42px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition:
    background-color 0.18s ease,
    transform 0.18s ease;
}
.cn-platform.is-current {
  color: #f8f3ff;
  background: linear-gradient(160deg, #533c73, #342440);
  border-color: #775990;
  box-shadow: inset 0 1px #ffffff17;
}
.cn-platform:not(.is-current):hover {
  background: #251f2e;
  color: #fff;
}
.cn-platform svg {
  width: 23px;
  height: 18px;
}
.cn-guide {
  display: grid;
  grid-template-columns: minmax(250px, 0.53fr) minmax(0, 1fr);
  gap: clamp(25px, 5vw, 74px);
  padding: clamp(20px, 3vw, 42px) 0;
  border-top: 1px solid #342a3b;
  border-bottom: 1px solid #342a3b;
  scroll-margin-top: 20px;
}
.cn-guide[hidden],
.cn-error[hidden] {
  display: none;
}
.cn-spec {
  border: 1px solid #3a3042;
  background: linear-gradient(145deg, #22192d, #141019 63%);
  border-radius: 20px;
  padding: clamp(20px, 2.45vw, 32px);
  align-self: start;
}
.cn-spec-icon {
  width: 51px;
  height: 39px;
  color: #cba9fa;
  margin: 0 0 25px;
}
.cn-spec .cn-eyebrow {
  color: #bca6d2;
  font-size: 0.66rem;
}
.cn-spec h3 {
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  margin: 7px 0 8px;
  letter-spacing: -0.045em;
  line-height: 1.1;
}
.cn-spec > p:not(.cn-eyebrow),
.cn-steps p {
  color: var(--cn-muted);
  line-height: 1.57;
  font-size: 0.96rem;
  margin: 0;
}
.cn-spec dl {
  display: grid;
  gap: 9px;
  margin: 17px 0;
  padding: 15px 0;
  border-block: 1px solid #ffffff17;
  font-size: 0.79rem;
  line-height: 1.4;
}
.cn-spec dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.cn-spec dt {
  color: var(--cn-muted);
}
.cn-spec dd {
  margin: 0;
  text-align: right;
  font:
    500 0.79rem/1.5 ui-monospace,
    "Consolas",
    monospace;
}
.cn-spec .cn-package-state {
  color: #d2bddf;
  margin: 0;
  font-size: 0.87rem;
}
.cn-edition-label {
  display: block;
  color: var(--cn-muted);
  margin: 17px 0 6px;
  font-size: 0.83rem;
}
#cn-edition {
  display: block;
  width: 100%;
  min-height: 43px;
  margin: 0 0 13px;
  padding: 8px 11px;
  font: inherit;
  font-size: 0.91rem;
  color: var(--cn-paper);
  background: #1b1621;
  border: 1px solid #574766;
  border-radius: 8px;
}
.cn-download {
  display: flex;
  gap: 9px;
  padding: 12px 16px;
  text-decoration: none;
  font-size: 0.94rem;
}
.cn-spec .cn-release-note {
  color: var(--cn-muted);
  margin: 10px 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
}
.cn-steps {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1px;
  counter-reset: connect-step;
}
.cn-steps li {
  counter-increment: connect-step;
  position: relative;
  padding: 2px 0 22px 42px;
}
.cn-steps li + li {
  padding-top: 20px;
  border-top: 1px solid #322839;
}
.cn-steps li:last-child {
  padding-bottom: 0;
}
.cn-steps li::before {
  content: counter(connect-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  color: #bd9adf;
  font:
    500 0.82rem/1.5 ui-monospace,
    "Consolas",
    monospace;
  margin-top: 2px;
}
.cn-steps h4 {
  margin: 0 0 6px;
  font-size: clamp(1.09rem, 1.7vw, 1.35rem);
  letter-spacing: -0.037em;
  line-height: 1.25;
}
.cn-steps code {
  color: #e7d7ff;
  font-size: 0.85em;
  overflow-wrap: anywhere;
}
.cn-steps a {
  color: var(--cn-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  display: inline-block;
  margin-top: 5px;
  padding: 3px 0;
  font-size: 0.85rem;
}
.cn-main :focus-visible {
  outline: 2px solid #dab7ff;
  outline-offset: 3px;
}
.cn-main .cn-guide:focus-visible {
  outline: 0;
  border-top-color: #dab7ff;
}
.cn-platform.lb-glass:not(.is-current):not(:hover):not(:focus-visible)::before,
.cn-platform.lb-glass:not(.is-current):not(:hover):not(:focus-visible)::after {
  opacity: 0;
}
@media (max-width: 840px) {
  .cn-main {
    padding-inline: 26px;
  }
  .cn-intro {
    gap: 22px;
    grid-template-columns: minmax(0, 1fr) minmax(265px, 0.76fr);
  }
}
@media (max-width: 655px) {
  .cn-main {
    padding: 0 17px 45px;
  }
  .cn-intro {
    margin-top: 12px;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 27px 17px 17px;
    border-radius: 22px;
  }
  .cn-intro::before {
    background-position: 62% top;
  }
  .cn-copy {
    padding: 0 4px;
  }
  .cn-intro h1 {
    margin: 14px 0;
  }
  .cn-lead {
    font-size: 0.96rem;
  }
  .cn-pair {
    border-radius: 16px;
  }
  .cn-install-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
    padding-bottom: 17px;
  }
  .cn-platforms {
    width: 100%;
  }
  .cn-platform {
    flex: 1;
  }
  .cn-guide {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }
  .cn-spec-icon {
    float: right;
    width: 39px;
    height: 31px;
    margin: 0 0 8px 10px;
  }
  .cn-steps li {
    padding-left: 36px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cn-main *,
  .cn-main *::before {
    transition: none !important;
  }
}
.cn-upgrade {
  margin-top: 18px;
  color: var(--cn-muted);
  font-size: .86rem;
  line-height: 1.5;
}
.cn-upgrade summary {
  width: fit-content;
  padding: 5px 0;
  color: var(--cn-accent);
  cursor: pointer;
}
.cn-upgrade p {
  margin: 5px 0 0;
}
