:root {
  --paper: #f8f6f2;
  --ink: #181715;
  --muted: #62605b;
  --line: #d9d3ca;
  --panel: #fffdf9;
  --blue: #2d64d8;
  --green: #58d992;
  --mint: #bff6d2;
  --amber: #ffb852;
  --coral: #ff8066;
  --shadow: 0 24px 70px rgba(42, 38, 32, 0.08);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 24%, rgba(92, 217, 146, 0.12), transparent 28rem),
    radial-gradient(circle at 78% 64%, rgba(45, 100, 216, 0.11), transparent 31rem),
    var(--paper);
  color: var(--ink);
  font-family:
    "Inter",
    "PingFang SC",
    "Microsoft YaHei",
    Arial,
    sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0 14px;
  background: linear-gradient(180deg, rgba(248, 246, 242, 0.96), rgba(248, 246, 242, 0.72));
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 9px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  position: relative;
  width: 27px;
  height: 27px;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.brand-mark span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
}

.brand-mark span:nth-child(1) {
  top: 3px;
  left: 11px;
}

.brand-mark span:nth-child(2) {
  top: 11px;
  right: 3px;
}

.brand-mark span:nth-child(3) {
  bottom: 3px;
  left: 11px;
}

.brand-mark span:nth-child(4) {
  top: 11px;
  left: 3px;
}

.nav-links {
  gap: 28px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.nav-links a {
  color: #282623;
}

.nav-links a:hover {
  color: var(--blue);
}

.header-actions,
.hero-actions {
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 19px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-dark {
  border-color: #23211f;
  background: #23211f;
  color: white;
}

.btn-primary {
  border-color: var(--blue);
  background: var(--blue);
  color: white;
}

.btn-light {
  background: rgba(255, 255, 255, 0.32);
  color: var(--ink);
}

.hero {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 78px 0 64px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family:
    Georgia,
    "Times New Roman",
    "Songti SC",
    serif;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  margin: 0 auto;
  font-size: clamp(42px, 6vw, 84px);
  line-height: 0.98;
}

.hero-copy {
  max-width: 650px;
  margin: 28px auto 24px;
  color: #47443f;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  line-height: 1.8;
}

.hero .hero-actions {
  justify-content: center;
}

.data-map {
  position: relative;
  margin-top: 54px;
  height: 430px;
}

.source-list {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 15px;
}

.source-list.left {
  justify-items: end;
}

.source-list.right {
  justify-items: start;
}

.source-card {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 146px;
  min-height: 38px;
  padding: 0 17px;
  border: 1px solid #2b2925;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 10px 24px rgba(31, 28, 24, 0.04);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  text-align: left;
}

.flow-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.core-glow {
  fill: rgba(88, 217, 146, 0.18);
  filter: url("#softGlow");
}

.line-group path {
  fill: none;
  stroke: rgba(59, 55, 50, 0.14);
  stroke-linecap: round;
  stroke-width: 2.2;
}

.flow-token circle {
  filter: drop-shadow(0 0 8px rgba(88, 217, 146, 0.35));
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 3;
}

.token-cyan circle {
  fill: #00d6d6;
}

.token-red circle {
  fill: #ff3b30;
}

.token-pink circle {
  fill: #ff6b8a;
}

.token-dark circle {
  fill: #151515;
}

.token-amber circle {
  fill: var(--amber);
}

.token-green circle {
  fill: #19bf73;
}

.flow-card,
.data-chip {
  position: absolute;
  z-index: 4;
}

.flow-card {
  width: clamp(168px, 19vw, 220px);
  min-height: 48px;
  justify-content: center;
  background: rgba(255, 253, 249, 0.78);
}

.source-1,
.source-2,
.source-3,
.source-4,
.source-5 {
  left: 0;
}

.source-1 {
  top: 38px;
}

.source-2 {
  top: 110px;
}

.source-3 {
  top: 182px;
}

.source-4 {
  top: 254px;
}

.source-5 {
  top: 326px;
}

.output-1,
.output-2,
.output-3,
.output-4,
.output-5 {
  right: 0;
  background: rgba(242, 252, 244, 0.82);
}

.output-1 {
  top: 54px;
}

.output-2 {
  top: 118px;
}

.output-3 {
  top: 190px;
}

.output-4 {
  top: 267px;
}

.output-5 {
  top: 332px;
}

.data-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  min-width: 60px;
  padding: 0 12px;
  border: 1px solid rgba(35, 33, 31, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 10px;
  box-shadow: 0 8px 20px rgba(31, 28, 24, 0.04);
}

.chip-1 {
  left: 25%;
  top: 58px;
}

.chip-2 {
  left: 31%;
  top: 124px;
}

.chip-3 {
  left: 30%;
  top: 202px;
}

.chip-4 {
  right: 31%;
  top: 202px;
  color: #178a58;
}

.chip-5 {
  right: 25%;
  top: 280px;
  color: #178a58;
}

.platform-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.75);
}

.tk {
  background: #00d6d6;
}

.yt {
  background: #ff3b30;
}

.xhs {
  background: #ff6b8a;
}

.dy {
  background: #151515;
}

.live {
  background: var(--amber);
}

.api {
  background: var(--blue);
}

.pipeline-stage {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 250px;
  height: 250px;
  transform: translate(-50%, -50%);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(35, 33, 31, 0.1);
  border-radius: 999px;
}

.orbit-one {
  width: 212px;
  height: 142px;
  transform: rotate(34deg);
}

.orbit-two {
  width: 270px;
  height: 176px;
  transform: rotate(-28deg);
}

.spider-core {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 110px;
  height: 110px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(35, 33, 31, 0.22);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(191, 246, 210, 0.72)),
    var(--panel);
  box-shadow:
    0 0 70px rgba(88, 217, 146, 0.52),
    var(--shadow);
  animation: pulseCore 4s ease-in-out infinite;
}

.spider-core strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 500;
}

.node {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #23211f;
}

.core-lobe {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  background: rgba(199, 239, 199, 0.72);
  color: #2d3a31;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  font-weight: 700;
}

.core-ingest {
  left: 0;
  top: 87px;
}

.core-clean {
  left: 87px;
  top: 0;
}

.core-score {
  left: 87px;
  bottom: 0;
  background: rgba(233, 235, 173, 0.66);
}

.core-route {
  right: 0;
  top: 87px;
}

.n1 {
  top: 20px;
  left: 51px;
}

.n2 {
  top: 30px;
  right: 30px;
}

.n3 {
  top: 51px;
  right: 20px;
}

.n4 {
  right: 30px;
  bottom: 30px;
}

.n5 {
  bottom: 20px;
  left: 51px;
}

.n6 {
  left: 30px;
  bottom: 30px;
}

.n7 {
  top: 51px;
  left: 20px;
}

.n8 {
  top: 30px;
  left: 30px;
}

.stage-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 27px;
  padding: 0 12px;
  border: 1px solid rgba(35, 33, 31, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
}

.ingest {
  left: 46px;
  top: 126px;
}

.clean {
  top: 58px;
}

.score {
  bottom: 58px;
}

.route {
  right: 42px;
  top: 126px;
}

.logo-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(1140px, calc(100% - 48px));
  margin: 0 auto 92px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #37342f;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.logo-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.logo-strip span {
  font-size: clamp(15px, 1.8vw, 24px);
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
}

.section {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 96px;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2,
.integration-band h2,
.cta h2 {
  max-width: 780px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
}

.workflow-grid {
  display: grid;
  grid-template-columns: 0.98fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(230px, auto));
  gap: 12px;
}

.feature {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.62);
}

.feature h3,
.value-grid h3 {
  margin: 12px 0 12px;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: 23px;
  font-weight: 500;
}

.feature p,
.value-grid p,
.integration-band p,
.cta p {
  color: #403d38;
  line-height: 1.65;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 28px;
  border: 1px solid rgba(35, 33, 31, 0.2);
  border-radius: 999px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
}

.feature-tall {
  grid-row: 1 / span 2;
  min-height: 472px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), transparent 28%),
    radial-gradient(circle at 50% 72%, rgba(45, 100, 216, 0.22), transparent 26%),
    radial-gradient(circle at 36% 52%, rgba(255, 128, 102, 0.22), transparent 30%),
    rgba(255, 253, 249, 0.72);
}

.feature-glow-green {
  grid-column: 2 / 4;
  background:
    radial-gradient(circle at 76% 48%, rgba(88, 217, 146, 0.38), transparent 34%),
    rgba(255, 253, 249, 0.72);
}

.feature-glow-blue {
  background:
    radial-gradient(circle at 82% 78%, rgba(45, 100, 216, 0.18), transparent 42%),
    rgba(255, 253, 249, 0.72);
}

.feature-glow-amber {
  background:
    radial-gradient(circle at 82% 76%, rgba(255, 184, 82, 0.38), transparent 42%),
    rgba(255, 253, 249, 0.72);
}

.stack-flow {
  display: grid;
  justify-items: center;
  margin: 38px auto 0;
}

.mini-card {
  display: grid;
  width: min(210px, 100%);
  min-height: 56px;
  align-content: center;
  gap: 4px;
  padding: 0 20px;
  border: 1px solid rgba(35, 33, 31, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 28px rgba(31, 28, 24, 0.08);
  font-size: 14px;
}

.mini-card small {
  color: var(--muted);
}

.connector {
  width: 4px;
  height: 34px;
  background: #4d565e;
  opacity: 0.5;
}

.split {
  width: 190px;
  height: 44px;
  border: 1px solid rgba(35, 33, 31, 0.18);
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
}

.mini-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: min(260px, 100%);
}

.mini-row span,
.delivery-row span,
.metric-cluster span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px solid rgba(35, 33, 31, 0.12);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.74);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
}

.metric-cluster {
  position: absolute;
  right: 34px;
  bottom: 34px;
  display: grid;
  grid-template-columns: repeat(2, 110px);
  gap: 9px;
}

.rules-card {
  margin-top: 26px;
  width: min(280px, 100%);
  padding: 16px;
  border: 1px solid rgba(45, 100, 216, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 20px 48px rgba(45, 100, 216, 0.08);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
}

.rules-card div + div {
  margin-top: 9px;
}

.delivery-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(82px, 1fr));
  gap: 9px;
  max-width: 300px;
  margin-top: 30px;
}

.integration-band {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 44px;
  align-items: center;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto 96px;
  padding: 60px 56px;
  overflow: hidden;
  border: 1px solid #cbd5ea;
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(223, 232, 255, 0.94), rgba(248, 220, 228, 0.76)),
    var(--panel);
}

.integration-band p {
  max-width: 500px;
  margin: 22px 0;
}

.platform-stream {
  position: relative;
  display: grid;
  gap: 18px;
  justify-content: end;
}

.platform-stream::before {
  content: "";
  position: absolute;
  inset: -60px 20% -60px auto;
  width: 260px;
  border-left: 1px solid rgba(45, 100, 216, 0.14);
  border-right: 1px solid rgba(45, 100, 216, 0.12);
  transform: skewX(-28deg);
}

.stream-item {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  width: min(360px, 100%);
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  color: rgba(24, 23, 21, 0.72);
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: clamp(20px, 2.5vw, 31px);
  box-shadow: 0 14px 34px rgba(31, 28, 24, 0.06);
}

.stream-item:nth-child(2),
.stream-item:nth-child(5) {
  transform: translateX(-34px);
}

.stream-item:nth-child(3) {
  transform: translateX(-68px);
}

.compact {
  padding-bottom: 72px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.value-grid article {
  min-height: 196px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.66);
}

.cta {
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto 82px;
  padding: 70px 46px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(circle at 72% 26%, rgba(88, 217, 146, 0.28), transparent 28%),
    radial-gradient(circle at 30% 86%, rgba(255, 184, 82, 0.2), transparent 28%),
    rgba(255, 253, 249, 0.72);
  text-align: center;
}

.cta h2,
.cta p {
  margin-left: auto;
  margin-right: auto;
}

.cta p {
  max-width: 520px;
}

.cta .hero-actions {
  justify-content: center;
  margin-top: 26px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
}

.docs-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 34px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0 90px;
}

.docs-sidebar {
  position: sticky;
  top: 94px;
  align-self: start;
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.72);
}

.docs-sidebar a {
  padding: 9px 0;
  border-bottom: 1px solid rgba(35, 33, 31, 0.08);
  color: #35322f;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
}

.docs-sidebar a:hover {
  color: var(--blue);
}

.docs-content {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.docs-hero {
  padding: 46px 0 24px;
}

.docs-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(42px, 5vw, 76px);
}

.docs-hero p {
  max-width: 700px;
  color: #45413c;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  line-height: 1.8;
}

.docs-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 26px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 20%, rgba(88, 217, 146, 0.14), transparent 26%),
    rgba(255, 253, 249, 0.72);
}

.docs-card > * {
  min-width: 0;
}

.docs-card h2 {
  font-size: clamp(28px, 3vw, 42px);
}

.docs-card p {
  color: #45413c;
  line-height: 1.65;
}

.docs-card pre {
  overflow-x: auto;
  margin: 0;
  padding: 20px;
  border: 1px solid rgba(35, 33, 31, 0.12);
  border-radius: 8px;
  background: #201f1d;
  color: #f8f6f2;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.7;
}

.endpoint-list {
  display: grid;
  gap: 10px;
}

.endpoint-list div {
  display: grid;
  grid-template-columns: 62px 1fr minmax(140px, 0.8fr);
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid rgba(35, 33, 31, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
}

.endpoint-list span {
  display: inline-flex;
  justify-content: center;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(45, 100, 216, 0.12);
  color: var(--blue);
}

.endpoint-list em {
  color: var(--muted);
  font-style: normal;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.status-grid span {
  padding: 14px;
  border: 1px solid rgba(35, 33, 31, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

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

@keyframes pulseCore {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.035);
  }
}

@media (prefers-reduced-motion: reduce) {
  .spider-core {
    animation: none;
  }

  .flow-token {
    display: none;
  }
}

@media (max-width: 920px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .data-map {
    height: 390px;
  }

  .data-chip {
    display: none;
  }

  .pipeline-stage {
    width: 220px;
    height: 220px;
  }

  .spider-core {
    width: 96px;
    height: 96px;
    border-radius: 26px;
  }

  .core-lobe {
    width: 74px;
    height: 74px;
    font-size: 11px;
  }

  .core-ingest {
    left: 22px;
    top: 73px;
  }

  .core-clean {
    left: 73px;
    top: 22px;
  }

  .core-score {
    left: 73px;
    bottom: 22px;
  }

  .core-route {
    right: 22px;
    top: 73px;
  }

  .logo-strip {
    flex-wrap: wrap;
  }

  .logo-strip p {
    width: 100%;
  }

  .workflow-grid,
  .value-grid,
  .integration-band,
  .docs-shell,
  .docs-card {
    grid-template-columns: 1fr;
  }

  .docs-sidebar {
    position: relative;
    top: auto;
  }

  .endpoint-list div {
    grid-template-columns: 1fr;
  }

  .feature-tall,
  .feature-glow-green {
    grid-column: auto;
    grid-row: auto;
  }

  .integration-band {
    padding: 44px 28px;
  }

  .platform-stream {
    justify-content: stretch;
  }

  .stream-item,
  .stream-item:nth-child(2),
  .stream-item:nth-child(3),
  .stream-item:nth-child(5) {
    transform: none;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .logo-strip,
  .section,
  .integration-band,
  .cta,
  .docs-shell,
  .site-footer {
    width: min(100% - 28px, 1120px);
  }

  .docs-shell {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
    padding-top: 36px;
    overflow: hidden;
  }

  .docs-content,
  .docs-sidebar,
  .docs-hero,
  .docs-card {
    width: 100%;
    max-width: calc(100vw - 28px);
  }

  .docs-hero h1 {
    max-width: 330px;
    font-size: clamp(34px, 10vw, 42px);
    line-height: 1.08;
    word-break: break-all;
  }

  .docs-hero p {
    max-width: 330px;
    font-size: 13px;
  }

  .docs-card {
    padding: 22px;
    max-width: 100%;
    overflow: hidden;
  }

  .docs-card p,
  .docs-card code,
  .endpoint-list strong,
  .endpoint-list em,
  .status-grid span {
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  .docs-card pre {
    max-width: 100%;
    font-size: 11px;
    white-space: pre-wrap;
  }

  .status-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    gap: 16px;
    padding-top: 16px;
  }

  .header-actions {
    width: 100%;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
  }

  .header-actions .btn {
    min-width: 0;
    flex: 1;
  }

  .nav-links {
    gap: 14px;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
  }

  .hero {
    padding-top: 54px;
  }

  h1 {
    max-width: 292px;
    font-size: clamp(30px, 8.2vw, 34px);
    line-height: 1.06;
    word-break: break-all;
  }

  .hero-copy {
    max-width: 300px;
    font-size: 12.5px;
    line-height: 1.75;
    word-break: break-all;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .data-map {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    height: auto;
    margin-top: 42px;
  }

  .flow-lines,
  .data-chip {
    display: none;
  }

  .flow-card,
  .pipeline-stage {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none;
  }

  .flow-card {
    width: 100%;
    min-height: 42px;
  }

  .source-list.right .source-card:last-child {
    grid-column: auto;
  }

  .stage-pill {
    transform: scale(0.9);
  }

  .ingest {
    left: 10px;
  }

  .route {
    right: 10px;
  }

  .metric-cluster {
    position: relative;
    right: auto;
    bottom: auto;
    grid-template-columns: 1fr 1fr;
    margin-top: 24px;
  }

  .feature {
    padding: 24px 20px;
  }

  .integration-band,
  .cta {
    border-radius: 16px;
  }

  .site-footer {
    flex-direction: column;
  }
}

.api-docs-page {
  --docs-bg: #080a0f;
  --docs-panel: #0d1017;
  --docs-panel-2: #10141d;
  --docs-border: #252a36;
  --docs-text: #e7eaf0;
  --docs-muted: #a0a5b1;
  --docs-dim: #707785;
  --docs-blue: #3a86ff;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--docs-bg);
  color: var(--docs-text);
  font-family:
    Inter,
    "PingFang SC",
    "Microsoft YaHei",
    Arial,
    sans-serif;
}

.api-docs-page .brand-mark {
  border-color: var(--docs-text);
}

.api-docs-page .brand-mark span {
  background: var(--docs-text);
}

.api-docs-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 300px minmax(260px, 560px) auto;
  align-items: center;
  gap: 24px;
  min-height: 78px;
  padding: 0 44px;
  border-bottom: 1px solid var(--docs-border);
  background: rgba(8, 10, 15, 0.94);
  backdrop-filter: blur(18px);
}

.api-docs-brand,
.api-top-actions {
  display: flex;
  align-items: center;
}

.api-docs-brand {
  gap: 12px;
  color: var(--docs-text);
}

.api-docs-brand strong {
  font-size: 28px;
  letter-spacing: 0;
}

.api-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--docs-border);
  border-radius: 16px;
  background: #090b11;
  color: var(--docs-dim);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.01);
}

.api-search span {
  font-size: 15px;
}

.api-search kbd {
  border: 0;
  color: var(--docs-muted);
  font: 700 12px "SFMono-Regular", Consolas, monospace;
}

.api-top-actions {
  justify-content: end;
  gap: 12px;
}

.api-top-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid var(--docs-border);
  border-radius: 999px;
  color: var(--docs-text);
  font-size: 13px;
}

.api-top-actions a:last-child {
  border-color: var(--docs-blue);
  background: var(--docs-blue);
  color: white;
}

.api-docs-tabs {
  position: sticky;
  top: 78px;
  z-index: 35;
  display: flex;
  gap: 30px;
  min-height: 60px;
  padding: 0 44px;
  border-bottom: 1px solid var(--docs-border);
  background: rgba(8, 10, 15, 0.94);
}

.api-docs-tabs a {
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  color: var(--docs-muted);
  font-weight: 700;
}

.api-docs-tabs a.is-active,
.api-docs-tabs a:hover {
  border-color: var(--docs-blue);
  color: var(--docs-text);
}

.api-docs-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr) 190px;
  min-height: calc(100vh - 138px);
}

.api-type-sidebar {
  position: sticky;
  top: 138px;
  height: calc(100vh - 138px);
  overflow-y: auto;
  padding: 34px 24px 70px 44px;
  border-right: 1px solid var(--docs-border);
  background: #090b11;
  scrollbar-color: #5b606a transparent;
}

.api-sidebar-section {
  display: grid;
  gap: 8px;
  margin-bottom: 28px;
}

.api-sidebar-section h2 {
  margin: 0 0 8px;
  color: var(--docs-text);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 15px;
  font-weight: 800;
}

.api-sidebar-section a {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
  min-height: 34px;
  color: var(--docs-muted);
  font-size: 14px;
  line-height: 1.5;
}

.api-sidebar-section a:hover {
  color: var(--docs-text);
}

.method {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  min-height: 20px;
  border-radius: 7px;
  font: 800 10px "SFMono-Regular", Consolas, monospace;
}

.method.get {
  background: rgba(58, 134, 255, 0.18);
  color: #69a2ff;
}

.method.post {
  background: rgba(34, 197, 94, 0.16);
  color: #55d787;
}

.api-manual {
  min-width: 0;
  padding: 58px 64px 120px;
}

.api-doc-section {
  scroll-margin-top: 164px;
  margin-bottom: 54px;
}

.api-doc-hero {
  margin-bottom: 62px;
}

.api-doc-section .eyebrow {
  color: var(--docs-muted);
}

.api-doc-section h1,
.api-doc-section h2,
.api-doc-section h3 {
  margin: 0;
  color: var(--docs-text);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}

.api-doc-section h1 {
  max-width: 860px;
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.08;
  font-weight: 850;
}

.api-doc-section h2 {
  font-size: clamp(26px, 2.5vw, 36px);
  line-height: 1.18;
  font-weight: 850;
}

.api-doc-section h3 {
  font-size: 17px;
  line-height: 1.4;
  font-weight: 800;
}

.api-doc-section p {
  max-width: 850px;
  color: var(--docs-muted);
  font-size: 17px;
  line-height: 1.75;
}

.base-url,
.api-callout,
.api-method-card,
.response-panel,
.param-table,
.error-list {
  border: 1px solid var(--docs-border);
  border-radius: 16px;
  background: var(--docs-panel);
}

.base-url {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding: 14px 16px;
  color: var(--docs-muted);
}

.base-url code,
.endpoint-heading code {
  color: var(--docs-text);
  font: 700 14px "SFMono-Regular", Consolas, monospace;
}

.api-callout {
  padding: 26px 30px;
}

.api-callout strong {
  color: var(--docs-text);
  font-size: 18px;
}

.api-callout p {
  margin: 8px 0 0;
}

.endpoint-heading {
  display: flex;
  align-items: start;
  gap: 16px;
  margin-bottom: 14px;
}

.endpoint-heading .method {
  margin-top: 8px;
}

.api-method-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  gap: 24px;
  margin-top: 20px;
  padding: 26px 30px;
}

.api-method-card p {
  font-size: 15px;
}

.api-docs-page pre {
  max-width: 100%;
  overflow-x: auto;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--docs-border);
  border-radius: 14px;
  background: #05070b;
  color: #f3f6fb;
  font: 13px/1.75 "SFMono-Regular", Consolas, monospace;
}

.param-table,
.error-list {
  display: grid;
  overflow: hidden;
  margin-top: 20px;
}

.param-table div {
  display: grid;
  grid-template-columns: 180px 110px 1fr;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--docs-border);
}

.param-table div:last-child {
  border-bottom: 0;
}

.param-table strong,
.param-table span {
  color: var(--docs-text);
}

.param-table em {
  color: var(--docs-muted);
  font-style: normal;
}

.response-panel {
  margin-top: 20px;
  padding: 26px 30px;
}

.response-panel h3 {
  margin-bottom: 14px;
}

.error-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.error-list span {
  padding: 18px;
  border-right: 1px solid var(--docs-border);
  border-bottom: 1px solid var(--docs-border);
  color: var(--docs-muted);
  font: 13px "SFMono-Regular", Consolas, monospace;
}

.api-page-anchor {
  position: sticky;
  top: 164px;
  height: calc(100vh - 164px);
  padding: 58px 24px 60px 8px;
  overflow-y: auto;
}

.api-page-anchor strong {
  display: block;
  margin-bottom: 16px;
  color: var(--docs-text);
  font-size: 14px;
}

.api-page-anchor a {
  display: block;
  padding: 8px 0;
  color: var(--docs-muted);
  font-size: 13px;
}

.api-page-anchor a:hover {
  color: var(--docs-blue);
}

@media (max-width: 1180px) {
  .api-docs-topbar {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 24px;
  }

  .api-docs-tabs {
    top: 142px;
    overflow-x: auto;
    padding: 0 24px;
  }

  .api-docs-layout {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .api-type-sidebar {
    top: 202px;
    height: calc(100vh - 202px);
    padding-left: 24px;
  }

  .api-page-anchor {
    display: none;
  }

  .api-manual {
    padding: 42px 34px 90px;
  }
}

@media (max-width: 760px) {
  .api-docs-topbar {
    position: relative;
    top: auto;
  }

  .api-docs-brand strong {
    font-size: 22px;
  }

  .api-search {
    min-height: 42px;
  }

  .api-top-actions {
    justify-content: start;
    flex-wrap: wrap;
  }

  .api-docs-tabs {
    position: relative;
    top: auto;
  }

  .api-docs-layout {
    display: block;
  }

  .api-type-sidebar {
    position: relative;
    top: auto;
    height: auto;
    max-height: none;
    border-right: 0;
    border-bottom: 1px solid var(--docs-border);
    padding: 24px 20px;
  }

  .api-sidebar-section {
    margin-bottom: 22px;
  }

  .api-manual {
    padding: 34px 20px 70px;
  }

  .api-doc-section {
    scroll-margin-top: 24px;
  }

  .api-doc-section h1 {
    font-size: clamp(32px, 10vw, 42px);
  }

  .api-doc-section p {
    font-size: 15px;
  }

  .base-url {
    display: grid;
    width: 100%;
  }

  .base-url code,
  .endpoint-heading code,
  .api-docs-page code {
    word-break: break-all;
  }

  .api-method-card {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .param-table div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .error-list {
    grid-template-columns: 1fr;
  }

  .api-docs-page pre {
    white-space: pre-wrap;
    font-size: 12px;
  }
}

.workspace-page {
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background: #eef0f4;
  color: #111722;
  font-family:
    Inter,
    "PingFang SC",
    "Microsoft YaHei",
    Arial,
    sans-serif;
}

.workspace-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  width: 292px;
  padding: 26px 20px 20px;
  border-right: 1px solid #d8dde6;
  background: #eef0f4;
}

.workspace-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
  color: #111722;
}

.workspace-logo strong {
  font-size: 20px;
}

.workspace-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  margin-bottom: 22px;
  padding: 0 12px 0 16px;
  border: 1px solid #d8dde6;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  color: #737b8a;
  box-shadow: 0 4px 14px rgba(20, 24, 32, 0.04);
}

.workspace-search kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 28px;
  border: 1px solid #d8dde6;
  border-radius: 7px;
  background: #f8f9fb;
  color: #5e6674;
  font: 700 12px "SFMono-Regular", Consolas, monospace;
}

.workspace-nav {
  display: grid;
  gap: 8px;
  overflow-y: auto;
  padding-right: 2px;
}

.workspace-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  color: #667083;
  font-weight: 650;
}

.workspace-nav a span {
  width: 22px;
  color: #4f5968;
  text-align: center;
}

.workspace-nav a.is-active,
.workspace-nav a:hover {
  background: rgba(255, 255, 255, 0.94);
  color: #111722;
  box-shadow: 0 4px 14px rgba(20, 24, 32, 0.06);
}

.workspace-subnav {
  display: grid;
  gap: 2px;
  margin: 0 0 8px 18px;
  padding-left: 24px;
  border-left: 1px solid #d4d9e2;
}

.workspace-subnav a {
  min-height: 32px;
  padding: 0 10px;
  box-shadow: none;
  font-size: 14px;
  font-weight: 600;
}

.workspace-sidebar-footer {
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #d8dde6;
}

.workspace-sidebar-footer a {
  color: #667083;
  font-weight: 650;
}

.workspace-main {
  min-height: 100vh;
  padding: 8px 8px 8px 300px;
}

.workspace-panel {
  min-height: calc(100vh - 16px);
  padding: 52px 44px 70px;
  border: 1px solid #d8dde6;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(20, 24, 32, 0.06);
}

.workspace-header,
.workspace-title-row,
.workspace-actions,
.section-row-title {
  display: flex;
  align-items: center;
}

.workspace-header {
  justify-content: space-between;
  gap: 26px;
}

.workspace-title-row {
  flex-wrap: wrap;
  gap: 14px;
}

.workspace-title-row h1 {
  margin: 0;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 760;
  line-height: 1.08;
}

.workspace-header p,
.section-row-title p {
  margin: 12px 0 0;
  color: #737b8a;
  font-size: 16px;
}

.workspace-badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  background: #d8fae9;
  color: #17bf73;
  font-weight: 750;
}

.workspace-actions {
  gap: 10px;
}

.workspace-actions .btn {
  min-height: 48px;
  padding: 0 20px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 14px;
  font-weight: 750;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid #d8dde6;
  border-radius: 999px;
  background: #f3f5f8;
  color: #111722;
  font-size: 24px;
}

.workspace-tabs {
  display: flex;
  gap: 18px;
  margin: 52px 0 34px;
}

.workspace-tabs button {
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #9aa2af;
  font: 750 16px Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

.workspace-tabs button.is-active {
  background: #f0f2f5;
  color: #111722;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.metric-card {
  display: grid;
  gap: 14px;
  min-height: 150px;
  align-content: center;
  padding: 26px 28px;
  border-radius: 18px;
  background: #f0f2f5;
}

.metric-card span,
.metric-card em {
  color: #737b8a;
  font-style: normal;
}

.metric-card strong {
  color: #111722;
  font-size: 34px;
  line-height: 1;
  font-weight: 650;
}

.workspace-section {
  margin-bottom: 58px;
}

.section-row-title {
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.section-row-title h2 {
  margin: 0;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 26px;
  font-weight: 720;
}

.pill-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: #050505;
  color: white;
  font-weight: 750;
  white-space: nowrap;
}

.source-status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.source-status-grid article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  min-height: 138px;
  padding: 22px;
  border: 1px solid #e0e4ea;
  border-radius: 18px;
  background: #fbfcfd;
}

.source-status-grid strong {
  display: block;
  margin-bottom: 8px;
}

.source-status-grid p {
  margin: 0;
  color: #737b8a;
  line-height: 1.5;
}

.source-status-grid em {
  grid-column: 1 / -1;
  align-self: end;
  color: #17a764;
  font-style: normal;
  font-weight: 750;
}

.workspace-grid-two {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 24px;
}

.workspace-table {
  overflow: hidden;
  border: 1px solid #e0e4ea;
  border-radius: 18px;
  background: #fff;
}

.workspace-table > div {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 0.7fr;
  gap: 16px;
  align-items: center;
  min-height: 62px;
  padding: 0 22px;
  border-bottom: 1px solid #e8ebf0;
}

.workspace-table > div:last-child {
  border-bottom: 0;
}

.workspace-table .table-head {
  min-height: 56px;
  background: #f8f9fb;
  color: #111722;
  font-weight: 800;
}

.workspace-table span {
  color: #303746;
}

.workspace-table strong {
  color: #17a764;
}

.alert-list {
  display: grid;
  gap: 12px;
}

.alert-list article {
  padding: 18px 20px;
  border: 1px solid #e0e4ea;
  border-radius: 16px;
  background: #fbfcfd;
}

.alert-list strong {
  display: block;
  margin-bottom: 8px;
}

.alert-list p {
  margin: 0 0 12px;
  color: #667083;
  line-height: 1.55;
}

.alert-list span {
  color: #9aa2af;
  font-size: 13px;
}

.creator-table > div {
  grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr 0.6fr;
}

@media (max-width: 1200px) {
  .workspace-sidebar {
    width: 250px;
  }

  .workspace-main {
    padding-left: 258px;
  }

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

  .workspace-grid-two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .workspace-sidebar {
    position: relative;
    width: 100%;
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid #d8dde6;
  }

  .workspace-main {
    padding: 8px;
  }

  .workspace-panel {
    padding: 28px 18px 44px;
    border-radius: 18px;
  }

  .workspace-header,
  .section-row-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .workspace-actions {
    flex-wrap: wrap;
  }

  .workspace-tabs {
    overflow-x: auto;
    margin-top: 34px;
  }

  .metric-row,
  .source-status-grid {
    grid-template-columns: 1fr;
  }

  .workspace-table {
    overflow-x: auto;
  }

  .workspace-table > div {
    min-width: 720px;
  }
}

.api-docs-page {
  --docs-bg: #f8f6f2;
  --docs-panel: rgba(255, 253, 249, 0.74);
  --docs-panel-2: rgba(255, 255, 255, 0.54);
  --docs-border: #d9d3ca;
  --docs-text: #181715;
  --docs-muted: #62605b;
  --docs-dim: #8a857d;
  --docs-blue: #2d64d8;
  background:
    radial-gradient(circle at 18% 20%, rgba(88, 217, 146, 0.12), transparent 30rem),
    radial-gradient(circle at 86% 68%, rgba(45, 100, 216, 0.09), transparent 32rem),
    var(--paper);
  color: var(--docs-text);
}

.api-docs-page .brand-mark {
  border-color: var(--ink);
}

.api-docs-page .brand-mark span {
  background: var(--ink);
}

.api-docs-topbar {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 18px 0 14px;
  border-bottom: 0;
  background: linear-gradient(180deg, rgba(248, 246, 242, 0.96), rgba(248, 246, 242, 0.76));
}

.api-docs-brand {
  color: var(--ink);
}

.api-docs-brand strong {
  font-size: 20px;
}

.api-search {
  min-height: 42px;
  border-color: var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  color: var(--docs-dim);
  box-shadow: none;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.api-search kbd {
  color: var(--docs-muted);
}

.api-top-actions a {
  min-height: 36px;
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.32);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
}

.api-top-actions a:last-child {
  border-color: var(--blue);
  background: var(--blue);
}

.api-docs-tabs {
  top: 74px;
  width: min(1180px, calc(100% - 48px));
  min-height: 54px;
  margin: 0 auto;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(248, 246, 242, 0.92);
}

.api-docs-tabs a {
  color: var(--docs-muted);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.api-docs-tabs a.is-active,
.api-docs-tabs a:hover {
  color: var(--ink);
  border-color: var(--blue);
}

.api-docs-layout {
  grid-template-columns: 300px minmax(0, 1fr) 170px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  min-height: auto;
}

.api-type-sidebar {
  top: 130px;
  height: calc(100vh - 130px);
  padding: 34px 24px 70px 0;
  border-right: 1px solid var(--line);
  background: transparent;
  scrollbar-color: #b8b0a5 transparent;
}

.api-sidebar-section h2,
.api-page-anchor strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: 18px;
  font-weight: 500;
}

.api-sidebar-section a,
.api-page-anchor a {
  color: #45413c;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
}

.api-sidebar-section a:hover,
.api-page-anchor a:hover {
  color: var(--blue);
}

.method {
  border-radius: 999px;
}

.method.get {
  background: rgba(45, 100, 216, 0.12);
  color: var(--blue);
}

.method.post {
  background: rgba(25, 191, 115, 0.12);
  color: #178a58;
}

.api-manual {
  padding: 64px 52px 120px;
}

.api-doc-section .eyebrow {
  color: var(--docs-muted);
}

.api-doc-section h1,
.api-doc-section h2 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-weight: 500;
}

.api-doc-section h3 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-weight: 500;
}

.api-doc-section p {
  color: #45413c;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 14px;
}

.base-url,
.api-callout,
.api-method-card,
.response-panel,
.param-table,
.error-list {
  border-color: var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 18%, rgba(88, 217, 146, 0.1), transparent 26%),
    rgba(255, 253, 249, 0.72);
}

.base-url code,
.endpoint-heading code {
  color: var(--ink);
}

.api-callout strong,
.param-table strong,
.param-table span {
  color: var(--ink);
}

.api-docs-page pre {
  border-color: rgba(35, 33, 31, 0.16);
  border-radius: 8px;
  background: #201f1d;
  color: #f8f6f2;
}

.param-table div,
.error-list span {
  border-color: var(--line);
}

.param-table em,
.error-list span {
  color: var(--docs-muted);
}

.api-page-anchor {
  top: 156px;
  height: calc(100vh - 156px);
  padding-top: 64px;
}

@media (max-width: 1180px) {
  .api-docs-topbar,
  .api-docs-tabs,
  .api-docs-layout {
    width: min(100% - 48px, 1180px);
  }

  .api-docs-tabs {
    top: auto;
  }

  .api-type-sidebar {
    top: 202px;
    height: calc(100vh - 202px);
    padding-left: 0;
  }
}

@media (max-width: 760px) {
  .api-docs-topbar,
  .api-docs-tabs,
  .api-docs-layout {
    display: block;
    width: min(100% - 28px, 1180px);
  }

  .api-docs-topbar {
    padding-top: 16px;
  }

  .api-docs-tabs {
    gap: 20px;
  }

  .api-type-sidebar {
    width: 100%;
    padding: 18px 0 24px;
  }

  .api-manual {
    width: 100%;
    padding: 38px 0 70px;
  }

  .api-doc-section {
    width: 100%;
  }

  .endpoint-heading {
    align-items: flex-start;
  }

  .api-doc-section h1 {
    max-width: 330px;
    font-size: clamp(34px, 10vw, 42px);
  }
}
