@import url("/responsive.css?v=20261109-typography");

@font-face {
  font-family: "Alibaba PuHuiTi 3.0";
  src: url("/AlibabaPuHuiTi-3-65-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

/* Use the diagnosis page's type stack; reserve the bundled Medium face for logos. */
body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
}

body :is(h2, h3, h4, h5, h6),
body .case-card h2 {
  font-weight: 600;
}

body :is(.hero h1, .case-hero h1) {
  font-weight: 700;
}

body :is(b, strong, .btn, .capability-strip a, .source-panel a, .case-action, .dash-menu.selected) {
  font-weight: 600;
}

.site-header .nav-links {
  font-size: 13px;
  font-weight: 500;
}

body .platform small {
  font-weight: 500;
}

.site-header .brand > span:last-child {
  font-family: "Alibaba PuHuiTi 3.0", sans-serif;
  font-weight: 500;
  letter-spacing: 0;
}

.dash-logo {
  font-family: "Alibaba PuHuiTi 3.0", sans-serif;
  font-weight: 500;
  letter-spacing: 0;
}

.dash-logo > span {
  display: inline-block;
  width: 24px;
  height: 21px;
  margin-right: 5px;
  padding: 0;
  vertical-align: middle;
  border-radius: 0;
  background: url("/teddy-logo-blue.png") center / contain no-repeat;
  font-size: 0;
}

.site-header .nav-actions .btn-small {
  flex: 0 0 auto;
  width: max-content;
  height: 44px;
  padding-inline: 14px;
  white-space: nowrap;
}

.hero-actions .btn-light {
  border-color: #78a9fc;
}

.hero-actions .btn-primary::after,
.cta-copy .btn-primary::after {
  content: "\2192";
  margin-left: 10px;
}

main {
  background: linear-gradient(to bottom, #fff 80%, #f7fbff 94%, #fff 100%);
}

main > .analysis,
main > .monitoring,
main > .growth,
main > .knowledge-section {
  position: relative;
  isolation: isolate;
}

main > .analysis::before,
main > .monitoring::before,
main > .growth::before,
main > .knowledge-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
}

main > .analysis::before {
  background: linear-gradient(to bottom, #fff, #f7fbff);
}

main > .monitoring::before {
  background: linear-gradient(to bottom, #f7fbff, #f1f7ff);
}

main > .growth::before {
  background: linear-gradient(to bottom, #f1f7ff, #fff);
}

main > .knowledge-section::before {
  background: linear-gradient(to bottom, #fff, #f9fcff);
}

main > .knowledge-section + .knowledge-section::before {
  background: linear-gradient(to bottom, #f9fcff, #f7fbff);
}

@media (min-width: 901px) {
  .site-header .nav-shell {
    grid-template-columns: max-content minmax(0, 1fr) max-content;
    column-gap: 20px;
  }

  .site-header .nav-links {
    gap: clamp(14px, 2vw, 32px);
  }
}

@media (min-width: 991px) and (max-width: 1200px) {
  .site-header .nav-links {
    gap: 8px;
    font-size: 14px;
  }

  .site-header .nav-links a {
    flex-shrink: 0;
    white-space: nowrap;
  }
}

@media (max-width: 990px) {
  .site-header .nav-shell {
    grid-template-columns: 1fr auto;
  }

  .site-header .nav-links {
    display: none;
  }

  .site-header .nav-actions .teddy-docs-mobile {
    display: inline-flex;
    align-items: center;
    color: #174dbf;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
  }
}

@media (max-width: 420px) {
  .site-header .nav-actions .btn-primary {
    padding-inline: 8px;
    font-size: 11px;
  }
}

@media (max-width: 360px) {
  .site-header .brand {
    gap: 6px;
    font-size: 16px;
    white-space: nowrap;
  }

  .site-header .nav-actions {
    gap: 8px;
  }
}
