:root {
  color-scheme: light;
  --blue: #1769e0;
  --blue-2: #2f7cf6;
  --green: #20b486;
  --gold: #f59f00;
  --red: #e25757;
  --ink: #111827;
  --text: #253047;
  --muted: #647085;
  --line: rgba(28, 39, 65, 0.12);
  --panel: rgba(255, 255, 255, 0.76);
  --panel-strong: rgba(255, 255, 255, 0.92);
  --soft: #f6f8fb;
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.12);
  --docs-sidebar-width: 248px;
  --docs-outline-width: 210px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 18%, rgba(47, 124, 246, 0.18), transparent 30%),
    radial-gradient(circle at 82% 14%, rgba(32, 180, 134, 0.2), transparent 30%),
    radial-gradient(circle at 58% 86%, rgba(245, 159, 0, 0.16), transparent 34%),
    linear-gradient(180deg, #fbfdff 0%, #f7fafc 46%, #ffffff 100%);
  font-family:
    "Segoe UI", "PingFang SC", "Microsoft YaHei", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, sans-serif;
}

body::before,
body::after {
  position: fixed;
  z-index: -2;
  content: "";
  pointer-events: none;
}

body::before {
  inset: -20%;
  opacity: 0.72;
  background:
    radial-gradient(circle at 22% 26%, rgba(47, 124, 246, 0.28), transparent 18%),
    radial-gradient(circle at 68% 20%, rgba(32, 180, 134, 0.24), transparent 18%),
    radial-gradient(circle at 76% 72%, rgba(245, 159, 0, 0.18), transparent 20%);
  filter: blur(38px);
  animation: aurora 16s ease-in-out infinite alternate;
}

body::after {
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(23, 105, 224, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 105, 224, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.68), transparent 76%);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  min-height: 52px;
  padding: 0 18px;
  border-bottom: 1px solid #e5e7eb;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 0 rgba(16, 24, 40, 0.02);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  color: #111827;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand-mark {
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  overflow: hidden;
  color: transparent;
  background: url("/landing-assets/logo.png") center / contain no-repeat;
  font-size: 0;
}

.topnav {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  overflow-x: auto;
  color: #111827;
  font-size: 15px;
  font-weight: 760;
  scrollbar-width: none;
  white-space: nowrap;
}

.topnav::-webkit-scrollbar {
  display: none;
}

.topnav a {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  color: inherit;
  text-decoration: none;
}

.topnav a:hover,
.topnav a.active {
  color: #1769e0;
}

code,
pre {
  font-family:
    ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.cursor-light {
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  opacity: 0.38;
  background: radial-gradient(circle, rgba(47, 124, 246, 0.24), transparent 64%);
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 0.2s;
}

.page {
  width: calc(100% - 40px);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(20px, 4vh, 40px) 0 clamp(12px, 2vh, 20px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.8fr);
  align-items: center;
  gap: 38px;
}

.hero-copy {
  min-width: 0;
  transform: translateY(10px);
  animation: rise 0.8s ease-out forwards;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  border: 1px solid rgba(23, 105, 224, 0.18);
  border-radius: 999px;
  padding: 8px 12px;
  color: #125ec9;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 28px rgba(47, 124, 246, 0.09);
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(16px);
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(32, 180, 134, 0.14);
  content: "";
}

h1 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 5.6vw, 74px);
  line-height: 1;
  letter-spacing: 0;
}

.title-gradient {
  display: block;
  margin-top: 10px;
  color: transparent;
  background: linear-gradient(120deg, #2f7cf6 0%, #20b486 52%, #f59f00 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.title-gradient span {
  display: block;
}

.lead {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.base-card {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin-top: 22px;
  border: 1px solid rgba(23, 105, 224, 0.16);
  border-radius: 18px;
  padding: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 22px 60px rgba(23, 105, 224, 0.12);
  backdrop-filter: blur(20px);
}

.base-card::before {
  position: absolute;
  inset: 0;
  opacity: 0.64;
  background:
    linear-gradient(90deg, transparent, rgba(47, 124, 246, 0.14), transparent),
    linear-gradient(135deg, rgba(32, 180, 134, 0.12), transparent 42%);
  content: "";
  transform: translateX(-70%);
  animation: scan 4.8s linear infinite;
}

.base-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px 16px;
  border: 1px solid rgba(28, 39, 65, 0.08);
  border-radius: 12px;
  padding: 8px 8px 8px 14px;
  background: rgba(255, 255, 255, 0.88);
}

.base-label {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.base-url {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.base-url-suffix {
  min-width: 150px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 850;
  text-align: right;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.base-url-suffix.is-changing {
  opacity: 0.35;
}

.copy-button,
.button,
.doc-copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  padding: 0 18px;
  color: #fff;
  background: var(--blue);
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.copy-button {
  min-width: 74px;
  min-height: 36px;
  padding: 0 14px;
}

.doc-copy-button {
  min-height: 30px;
  padding: 0 12px;
  font-size: 12px;
}

.copy-button:hover,
.button:hover,
.doc-copy-button:hover {
  background: #145bc4;
  box-shadow: 0 12px 28px rgba(23, 105, 224, 0.18);
  transform: translateY(-1px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button.secondary {
  border: 1px solid rgba(28, 39, 65, 0.12);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
}

.button.secondary:hover {
  border-color: rgba(23, 105, 224, 0.3);
  color: var(--blue);
  background: rgba(255, 255, 255, 0.95);
}

.button.green {
  color: #087454;
  background: rgba(32, 180, 134, 0.13);
}

.button.green:hover {
  background: rgba(32, 180, 134, 0.2);
  box-shadow: 0 12px 28px rgba(32, 180, 134, 0.16);
}

.button.image {
  color: #174c8f;
  background: rgba(47, 124, 246, 0.12);
}

.button.image:hover {
  background: rgba(47, 124, 246, 0.19);
  box-shadow: 0 12px 28px rgba(47, 124, 246, 0.14);
}

.button.contact {
  color: #6c4a05;
  background: rgba(245, 159, 0, 0.16);
}

.button.contact:hover {
  background: rgba(245, 159, 0, 0.24);
  box-shadow: 0 12px 28px rgba(245, 159, 0, 0.15);
}

.metric-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.metric {
  min-width: 132px;
  border: 1px solid rgba(28, 39, 65, 0.1);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(14px);
}

.metric strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.metric span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.visual {
  position: relative;
  min-width: 0;
  --stage-size: min(92vw, 390px);
  --stage-left: 54%;
  --stage-top: 46%;
  height: min(52vh, 500px);
  min-height: 380px;
}

.contact-page {
  min-height: 100vh;
}

.contact-hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.82fr);
}

.contact-panel {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(28, 39, 65, 0.12);
  border-radius: 24px;
  padding: clamp(18px, 2.4vw, 28px);
  background:
    radial-gradient(circle at 20% 10%, rgba(47, 124, 246, 0.12), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(239, 252, 249, 0.74));
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.14);
  backdrop-filter: blur(20px);
}

.contact-panel-heading {
  display: grid;
  gap: 6px;
  padding-bottom: 4px;
}

.contact-panel-heading span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-panel-heading strong {
  color: var(--ink);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.15;
}

.contact-method {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(28, 39, 65, 0.1);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 38px rgba(17, 24, 39, 0.08);
}

.contact-method-main {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.contact-kicker {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.contact-method strong {
  color: var(--ink);
  font-family: "Space Grotesk", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(22px, 2.6vw, 34px);
  letter-spacing: -0.02em;
  word-break: break-all;
}

.contact-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  color: #ffffff;
  background: linear-gradient(135deg, #1769e0, #2f7cf6);
  box-shadow: 0 14px 30px rgba(23, 105, 224, 0.2);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    filter 160ms ease;
}

.contact-copy:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(23, 105, 224, 0.26);
  filter: saturate(1.04);
}

.qq-method {
  background:
    radial-gradient(circle at 90% 0%, rgba(239, 196, 105, 0.2), transparent 36%),
    rgba(255, 255, 255, 0.76);
}

.qq-link {
  color: #2f2515;
  background: linear-gradient(135deg, #f2d58f, #f7c85f);
  box-shadow: 0 14px 30px rgba(217, 164, 52, 0.2);
}

.contact-note {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.contact-form {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(28, 39, 65, 0.12);
  border-radius: 18px;
  padding: clamp(18px, 2.4vw, 28px);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 60px rgba(17, 24, 39, 0.12);
  backdrop-filter: blur(20px);
}

.contact-form label {
  display: grid;
  gap: 7px;
}

.contact-form span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(28, 39, 65, 0.14);
  border-radius: 10px;
  padding: 12px 13px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-size: 14px;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(23, 105, 224, 0.5);
  box-shadow: 0 0 0 4px rgba(23, 105, 224, 0.1);
}

.gateway {
  position: absolute;
  top: var(--stage-top);
  left: var(--stage-left);
  display: grid;
  place-items: center;
  width: var(--stage-size);
  height: var(--stage-size);
  transform: translate(-50%, -50%);
}

.orbit {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(47, 124, 246, 0.18);
  border-radius: 999px;
  animation: spin 28s linear infinite;
}

.orbit::before,
.orbit::after {
  position: absolute;
  border: 1px solid rgba(32, 180, 134, 0.18);
  border-radius: inherit;
  content: "";
}

.orbit::before {
  inset: 44px;
  animation: spin 18s linear infinite reverse;
}

.orbit::after {
  inset: 94px;
  border-color: rgba(245, 159, 0, 0.24);
}

.core {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 178px;
  height: 178px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72)),
    radial-gradient(circle at 32% 28%, rgba(47, 124, 246, 0.24), transparent 44%);
  box-shadow:
    0 24px 70px rgba(23, 105, 224, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  animation: floatCore 5.4s ease-in-out infinite;
}

.core::before {
  position: absolute;
  inset: -18px;
  z-index: -1;
  border-radius: 44px;
  opacity: 0.72;
  background: linear-gradient(135deg, rgba(47, 124, 246, 0.36), rgba(32, 180, 134, 0.24));
  filter: blur(26px);
  content: "";
}

.core img {
  width: 112px;
  height: 112px;
}

.node {
  position: absolute;
  z-index: 3;
  display: grid;
  grid-template-columns: 10px auto;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(28, 39, 65, 0.1);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.1);
  font-size: 13px;
  font-weight: 850;
  backdrop-filter: blur(14px);
  animation: floatNode 5s ease-in-out infinite;
}

.node::before {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue-2);
  box-shadow: 0 0 0 6px rgba(47, 124, 246, 0.12);
  content: "";
}

.node.green::before {
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(32, 180, 134, 0.12);
}

.node.gold::before {
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(245, 159, 0, 0.14);
}

.node.red::before {
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(226, 87, 87, 0.12);
}

.node.one {
  top: 34px;
  left: 18px;
}

.node.two {
  top: 86px;
  right: 0;
  animation-delay: -1.2s;
}

.node.three {
  right: 18px;
  bottom: 140px;
  animation-delay: -2.4s;
}

.node.four {
  bottom: 134px;
  left: 0;
  animation-delay: -3.2s;
}

.pulse-line {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.pulse-line span {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--blue-2);
  box-shadow: 0 0 18px rgba(47, 124, 246, 0.8);
  animation: particle 4.5s linear infinite;
}

.pulse-line span:nth-child(1) {
  top: 36%;
  left: 8%;
}

.pulse-line span:nth-child(2) {
  top: 18%;
  right: 18%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(32, 180, 134, 0.82);
  animation-delay: -1.2s;
}

.pulse-line span:nth-child(3) {
  right: 15%;
  bottom: 28%;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(245, 159, 0, 0.78);
  animation-delay: -2.4s;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(12px, 2vh, 20px);
}

.feature {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  min-height: 124px;
  gap: 10px 12px;
  border: 1px solid rgba(28, 39, 65, 0.1);
  border-radius: 16px;
  padding: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 16px 44px rgba(17, 24, 39, 0.06);
  backdrop-filter: blur(16px);
  transform: translateY(18px);
  opacity: 0;
  transition:
    opacity 0.6s ease,
    transform 0.6s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.feature.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.feature::before {
  position: absolute;
  top: -54px;
  right: -54px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  opacity: 0.16;
  background: var(--blue-2);
  content: "";
}

.feature:nth-child(2)::before {
  background: var(--green);
}

.feature:nth-child(3)::before {
  background: var(--gold);
}

.feature:nth-child(4)::before {
  background: var(--red);
}

.feature:hover {
  border-color: rgba(23, 105, 224, 0.26);
  box-shadow: 0 20px 55px rgba(17, 24, 39, 0.1);
  transform: translateY(-3px);
}

.feature-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #fff;
  background: var(--blue-2);
  font-size: 13px;
  font-weight: 900;
}

.feature:nth-child(2) .feature-mark {
  background: var(--green);
}

.feature:nth-child(3) .feature-mark {
  background: var(--gold);
}

.feature:nth-child(4) .feature-mark {
  background: var(--red);
}

.feature h2 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.35;
}

.feature p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.62;
}

.footnote {
  margin: 8px 0 0;
  color: #7a8498;
  font-size: 13px;
  text-align: center;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 10;
  border: 1px solid rgba(32, 180, 134, 0.22);
  border-radius: 12px;
  padding: 12px 14px;
  color: #087454;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 50px rgba(17, 24, 39, 0.12);
  font-size: 14px;
  font-weight: 850;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 0.24s ease,
    transform 0.24s ease;
  backdrop-filter: blur(16px);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.docs-page {
  overflow: auto;
}

.docs-shell {
  min-height: 100vh;
}

.docs-topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(28, 39, 65, 0.08);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(16px);
}

.docs-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.docs-brand-link img {
  width: 32px;
  height: 32px;
}

.docs-main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.docs-main-nav a:hover,
.docs-main-nav a.is-active {
  color: var(--blue);
}

.docs-body {
  display: grid;
  grid-template-columns: var(--docs-sidebar-width) minmax(0, 1fr);
  gap: 24px;
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 36px;
}

.docs-sidebar {
  position: sticky;
  top: 88px;
  align-self: start;
  max-height: calc(100vh - 110px);
  overflow: auto;
  padding-right: 8px;
}

.docs-sidebar-group {
  margin-bottom: 18px;
  border: 1px solid rgba(28, 39, 65, 0.08);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.05);
  backdrop-filter: blur(14px);
}

.docs-sidebar-group h2,
.doc-outline-box h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 14px;
}

.docs-sidebar-group a,
.doc-outline-box a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  font-size: 14px;
}

.docs-sidebar-group a:hover,
.docs-sidebar-group a.is-active,
.doc-outline-box a:hover {
  color: var(--blue);
}

.docs-content {
  min-width: 0;
}

.doc-card {
  border: 1px solid rgba(28, 39, 65, 0.08);
  border-radius: 26px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 60px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(14px);
}

.doc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--docs-outline-width);
  gap: 28px;
}

.doc-main {
  min-width: 0;
}

.doc-main h1 {
  margin-bottom: 18px;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.1;
}

.doc-main h2 {
  margin: 34px 0 14px;
  color: var(--ink);
  font-size: 25px;
}

.doc-main p,
.doc-main li {
  color: var(--text);
  font-size: 16px;
  line-height: 1.85;
}

.doc-main ol,
.doc-main ul {
  margin: 0;
  padding-left: 22px;
}

.doc-main a {
  color: var(--blue);
}

.doc-inline-list code {
  font-size: 14px;
  font-weight: 700;
}

.code-block {
  margin-top: 18px;
  border: 1px solid rgba(28, 39, 65, 0.1);
  border-radius: 18px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  font-weight: 800;
}

.code-block pre {
  margin: 0;
  padding: 16px;
  overflow: auto;
  color: #e2e8f0;
  font-size: 14px;
  line-height: 1.7;
}

.doc-outline {
  position: sticky;
  top: 96px;
  align-self: start;
}

.doc-outline-box {
  border: 1px solid rgba(28, 39, 65, 0.08);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.05);
  backdrop-filter: blur(14px);
}

.doc-footer-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(28, 39, 65, 0.08);
}

.doc-footer-nav a {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  color: var(--blue);
}

.doc-footer-nav small {
  color: var(--muted);
  font-size: 12px;
}

.doc-footer-nav strong {
  font-size: 16px;
}

.docs-footer {
  margin-top: 18px;
  padding: 20px 8px 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

@keyframes aurora {
  0% {
    transform: translate3d(-2%, -1%, 0) rotate(0deg) scale(1);
  }

  100% {
    transform: translate3d(2%, 1%, 0) rotate(8deg) scale(1.06);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scan {
  to {
    transform: translateX(80%);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes floatCore {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes floatNode {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes particle {
  0%,
  100% {
    opacity: 0.25;
    transform: scale(0.8);
  }

  50% {
    opacity: 1;
    transform: scale(1.35);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media (min-width: 981px) {
  .home-page {
    overflow: hidden;
  }

  .home-page .page {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto auto;
    gap: 0;
    height: 100vh;
  }
}

@media (max-height: 820px) and (min-width: 981px) {
  .home-page .page {
    padding-top: 18px;
    padding-bottom: 10px;
  }

  .home-page h1 {
    font-size: clamp(40px, 5vw, 64px);
  }

  .home-page .lead {
    margin-top: 14px;
    font-size: 16px;
  }

  .home-page .base-card {
    margin-top: 16px;
  }

  .home-page .actions {
    margin-top: 14px;
  }

  .home-page .metric-row {
    display: none;
  }

  .home-page .visual {
    --stage-size: min(84vw, 350px);
    --stage-left: 55%;
    --stage-top: 47%;
    height: min(50vh, 430px);
    min-height: 340px;
  }

  .home-page .core {
    width: 152px;
    height: 152px;
  }

  .home-page .core img {
    width: 96px;
    height: 96px;
  }

  .home-page .features {
    margin-top: 10px;
  }

  .home-page .feature {
    min-height: 104px;
    padding: 12px;
  }

  .home-page .feature p {
    line-height: 1.5;
  }
}

@media (max-width: 1180px) {
  .docs-body {
    grid-template-columns: 1fr;
  }

  .docs-sidebar,
  .doc-outline {
    position: static;
    max-height: none;
  }

  .doc-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px 10px;
  }

  .topnav {
    justify-content: flex-start;
    width: 100%;
    gap: 18px;
  }

  .topnav a {
    min-height: 34px;
  }

  .page {
    padding-top: 42px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .visual {
    --stage-size: min(92vw, 390px);
    --stage-left: 50%;
    --stage-top: 50%;
    min-height: 380px;
    overflow: hidden;
    border-radius: 28px;
  }

  .gateway {
    top: var(--stage-top);
    left: var(--stage-left);
    width: var(--stage-size);
    height: var(--stage-size);
  }

  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 38px;
  }

  .docs-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .docs-main-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  body::after {
    background-size: 34px 34px;
  }

  .page {
    width: calc(100% - 28px);
    padding-top: 28px;
  }

  h1 {
    font-size: 42px;
    line-height: 1.04;
  }

  .lead {
    font-size: 17px;
  }

  .base-inner {
    grid-template-columns: 1fr;
    justify-items: stretch;
    padding: 12px;
  }

  .base-url {
    white-space: normal;
    word-break: break-all;
  }

  .base-url-suffix {
    min-width: 0;
    text-align: left;
  }

  .copy-button,
  .button,
  .doc-copy-button,
  .contact-copy {
    width: 100%;
  }

  .actions {
    display: grid;
  }

  .contact-method {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    border-radius: 20px;
    padding: 16px;
  }

  .metric-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visual {
    --stage-size: min(106vw, 390px);
    --stage-top: 50%;
    min-height: 320px;
    margin-top: 8px;
  }

  .gateway {
    transform: translate(-50%, -50%) scale(0.78);
    transform-origin: center;
  }

  .node {
    padding: 9px 12px;
    font-size: 12px;
  }

  .node.one {
    top: 44px;
    left: 18px;
  }

  .node.two {
    top: 84px;
    right: 18px;
  }

  .node.three {
    right: 22px;
    bottom: 126px;
  }

  .node.four {
    bottom: 120px;
    left: 12px;
  }

  .features {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .toast {
    right: 14px;
    bottom: 14px;
    left: 14px;
    text-align: center;
  }

  .docs-body {
    width: calc(100% - 20px);
    padding-top: 14px;
  }

  .doc-card {
    padding: 18px;
  }

  .doc-main h2 {
    font-size: 21px;
  }
}
