:root {
  --ks-blue: #2f6bff;
  --ks-blue-hover: #1f57ef;
  --ks-blue-soft: #eaf2ff;
  --ks-blue-line: #d7e6ff;
  --ks-ink: #1a2333;
  --ks-muted: #6b778c;
  --ks-line: #e8eef7;
  --ks-bg: #f5f8fc;
  --ks-white: #ffffff;
  --ks-wrap: 1180px;
  --ks-header: 64px;
  --ks-font: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --ks-shadow: 0 8px 24px rgba(31, 87, 239, 0.08);
  --ks-radius: 14px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ks-font);
  color: var(--ks-ink);
  background: var(--ks-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; }

.ks-wrap {
  width: min(100% - 48px, var(--ks-wrap));
  margin-inline: auto;
}

/* Buttons — pill style like design */
.ks-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.ks-btn--sm { height: 34px; padding: 0 16px; font-size: 13px; }
.ks-btn--lg { height: 44px; padding: 0 28px; font-size: 15px; }

.ks-btn--primary {
  background: var(--ks-blue);
  color: #fff;
  box-shadow: 0 8px 18px rgba(47, 107, 255, .28);
}
.ks-btn--primary:hover { background: var(--ks-blue-hover); }

.ks-btn--outline {
  background: #fff;
  border-color: #c9d7ef;
  color: var(--ks-blue);
}
.ks-btn--outline:hover {
  background: var(--ks-blue-soft);
  border-color: var(--ks-blue);
}

.ks-btn--white {
  background: #fff;
  color: var(--ks-blue);
  box-shadow: 0 8px 18px rgba(20, 40, 80, .12);
}
.ks-btn--white:hover {
  background: #f7faff;
  color: var(--ks-blue-hover);
}

/* Logo */
.ks-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.ks-logo__mark {
  display: inline-flex;
  width: 28px;
  height: 28px;
}
.ks-logo__mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ks-logo__text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--ks-ink);
}

/* Header */
.ks-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--ks-header);
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--ks-line);
  backdrop-filter: blur(10px);
}
.ks-header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 20px;
}
.ks-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.ks-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 6px 8px;
  border-radius: 8px;
  color: #3f4d66;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.ks-nav__link:hover,
.ks-nav__link.is-active {
  color: var(--ks-blue);
}
.ks-nav__caret {
  opacity: .65;
  margin-top: 1px;
}
.ks-header__right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.ks-icon-btn {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #607087;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.ks-icon-btn:hover { background: var(--ks-bg); color: var(--ks-blue); }
.ks-header__login {
  color: #4d5b73;
  font-size: 14px;
  font-weight: 500;
}
.ks-header__login:hover { color: var(--ks-blue); }
.ks-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  margin-right: -6px;
  border: 0;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  border-radius: 10px;
}
.ks-menu-btn:hover { background: var(--ks-bg); }
.ks-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ks-ink);
  transition: transform .2s ease, opacity .2s ease;
  transform-origin: center;
}
.ks-menu-btn.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.ks-menu-btn.is-open span:nth-child(2) {
  opacity: 0;
}
.ks-menu-btn.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.ks-nav__mobile-actions {
  display: none;
}

.ks-nav-mask {
  display: none;
}

/* Hero */
.ks-hero {
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-height: 480px;
  padding: 48px 0 64px;
  background:
    radial-gradient(circle at 78% 38%, rgba(47, 107, 255, .14), transparent 34%),
    linear-gradient(180deg, #f7faff 0%, #edf4ff 68%, #f8fbff 100%);
}

.ks-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .72) 0%, rgba(255, 255, 255, .38) 35%, transparent 58%),
    linear-gradient(rgba(90, 140, 220, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 140, 220, .035) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  pointer-events: none;
}

.ks-hero::after {
  display: none;
}

.ks-hero__grid {
  position: relative;
  z-index: 1;
  display: block;
  min-height: 350px;
}

.ks-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 520px;
  padding: 18px 0;
}

.ks-hero__visual {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: calc((100vw - 100%) / -2);
  bottom: auto;
  left: auto;
  width: min(43vw, 650px);
  height: auto;
  aspect-ratio: 3 / 2;
  margin: 0;
  transform: translateY(-50%);
  pointer-events: none;
}

.ks-hero__visual::after {
  display: none;
}

.ks-hero__visual img {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transform: none;
  -webkit-mask-image: none;
  mask-image: none;
  filter: none;
}

.ks-hero__title {
  margin: 0 0 18px;
  font-size: clamp(40px, 4.8vw, 56px);
  line-height: 1.2;
  font-weight: 700;
  color: #15233a;
  letter-spacing: .01em;
}
.ks-hero__title-accent { color: var(--ks-blue); }
.ks-hero__desc {
  margin: 0 0 28px;
  max-width: 460px;
  color: var(--ks-muted);
  font-size: 15px;
  line-height: 1.85;
}
.ks-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Intro: floating news + props */
.ks-intro {
  position: relative;
  z-index: 5;
  padding: 0 0 28px;
  margin-top: -30px;
  background: transparent;
}
.ks-news {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 52px;
  margin-bottom: 44px;
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 12px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 10px 28px rgba(31, 87, 239, .1),
    0 2px 8px rgba(20, 40, 80, .04);
}
.ks-news__main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}
.ks-news__icon {
  display: inline-flex;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--ks-blue-soft);
  color: var(--ks-blue);
}
.ks-news__label {
  flex-shrink: 0;
  color: var(--ks-blue);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.ks-news__text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #333a48;
  font-size: 14px;
  font-weight: 400;
}
.ks-news__cta {
  flex-shrink: 0;
  color: var(--ks-blue);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.ks-news__cta:hover { color: var(--ks-blue-hover); }
.ks-news__date {
  flex-shrink: 0;
  margin-left: auto;
  color: #999;
  font-size: 13px;
  white-space: nowrap;
}

.ks-props {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.ks-prop { text-align: center; padding: 8px 10px; }
.ks-prop__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  background: var(--ks-home-feature-icon) center / contain no-repeat;
  filter: drop-shadow(0 8px 10px rgba(47,107,255,.12));
}
.ks-prop__icon::after {
  content: none;
}
.ks-prop__icon--compute { --ks-home-feature-icon: url('/static/site/home-icons/compute.webp'); }
.ks-prop__icon--model { --ks-home-feature-icon: url('/static/site/home-icons/gateway.webp'); }
.ks-prop__icon--app { --ks-home-feature-icon: url('/static/site/home-icons/apps.webp'); }
.ks-prop__icon--secure { --ks-home-feature-icon: url('/static/site/home-icons/security.webp'); }
.ks-prop__title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: #1a2333;
}
.ks-prop__desc {
  margin: 0;
  color: var(--ks-muted);
  font-size: 13px;
  line-height: 1.7;
}

/* Section heads */
.ks-section-head {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 28px;
  min-height: 64px;
}
.ks-section-head--solo {
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: auto;
}
.ks-section-head__center { text-align: center; }
.ks-section-title {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.3;
  font-weight: 700;
  color: #15233a;
}
.ks-section-desc {
  margin: 0;
  color: var(--ks-muted);
  font-size: 14px;
}
.ks-section-more {
  position: absolute;
  right: 0;
  bottom: 4px;
  color: var(--ks-blue);
  font-size: 14px;
  font-weight: 500;
}
.ks-section-more:hover { color: var(--ks-blue-hover); }

/* Models */
.ks-models {
  padding: 56px 0 64px;
  background: #fff;
}
.ks-models__box { position: relative; }
.ks-models__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 4);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 4px 10px;
  scrollbar-width: none;
}
.ks-models__track::-webkit-scrollbar { display: none; }

.ks-models__empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px 16px;
  text-align: center;
  color: var(--ks-muted, #6b7280);
  font-size: 14px;
}

.ks-model {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 18px 16px;
  border: 1px solid var(--ks-line);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(234,242,255,.9) 0%, rgba(255,255,255,0) 42%),
    #fff;
  box-shadow: var(--ks-shadow);
  scroll-snap-align: start;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ks-model:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(31,87,239,.12);
}
.ks-model__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff1e6;
  color: #e67a2e;
  font-size: 12px;
  font-weight: 600;
}
.ks-model__top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 48px;
}
.ks-model__logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--ks-line);
  background: #fff;
  object-fit: contain;
  padding: 4px;
}
.ks-model__name {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}
.ks-model__code {
  margin: 2px 0 0;
  color: #98a4b8;
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.ks-model__vendor {
  margin: 0;
  color: var(--ks-muted);
  font-size: 12px;
}
.ks-model__desc {
  margin: 0;
  color: #5d6b82;
  font-size: 13px;
  line-height: 1.7;
}
.ks-model__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ks-model__tags span {
  padding: 3px 8px;
  border-radius: 999px;
  background: #f2f5fa;
  color: #6b778c;
  font-size: 12px;
}

.ks-models__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 1px solid var(--ks-blue-line);
  border-radius: 50%;
  background: #fff;
  color: var(--ks-blue);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 4px 12px rgba(31,87,239,.1);
}
.ks-models__arrow:hover { background: var(--ks-blue-soft); }
.ks-models__arrow--prev { left: -10px; }
.ks-models__arrow--next { right: -10px; }

/* Advantages */
.ks-adv {
  padding: 72px 0 64px;
  background: #fff;
}
.ks-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.ks-adv__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.ks-stat { text-align: center; padding: 8px 0 4px; }
.ks-stat__value {
  color: var(--ks-blue);
  font-size: clamp(30px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
}
.ks-stat__label {
  margin-top: 6px;
  color: var(--ks-muted);
  font-size: 14px;
}
.ks-adv-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 88px;
  padding: 16px 14px;
  border: 1px solid var(--ks-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(31,87,239,.06);
}
.ks-adv-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--ks-home-adv-icon) center / contain no-repeat;
  filter: drop-shadow(0 5px 7px rgba(47,107,255,.1));
}
.ks-adv-card__icon::after {
  content: none;
}
.ks-adv-card__icon--scale { --ks-home-adv-icon: url('/static/site/home-icons/scale.webp'); }
.ks-adv-card__icon--deploy { --ks-home-adv-icon: url('/static/site/home-icons/deploy.webp'); }
.ks-adv-card__icon--global { --ks-home-adv-icon: url('/static/site/home-icons/global.webp'); }
.ks-adv-card__icon--service { --ks-home-adv-icon: url('/static/site/home-icons/service.webp'); }
.ks-adv-card__title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
}
.ks-adv-card__desc {
  margin: 0;
  color: var(--ks-muted);
  font-size: 12px;
}

/* Clients — single logo row */
.ks-clients {
  padding: 80px 0 56px;
  background: #fff;
}
.ks-clients .ks-section-head {
  margin-bottom: 40px;
}
.ks-clients__row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.ks-clients__row::-webkit-scrollbar { display: none; }
.ks-clients__item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  height: 52px;
  padding: 8px 12px;
  border: 1px solid var(--ks-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.ks-clients__item:hover {
  border-color: var(--ks-blue-line);
  box-shadow: 0 4px 12px rgba(47, 107, 255, 0.08);
}
.ks-clients__logo {
  display: block;
  width: auto;
  height: 24px;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  filter: none;
  opacity: 1;
}
/* CTA */
.ks-cta { padding: 24px 0 72px; background: #fff; }
.ks-cta__panel {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 220px;
  padding: 40px 48px;
  overflow: hidden;
  border-radius: 20px;
  background-color: #e8f2ff;
  background-image: url('/cta-banner.webp?v=2');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 100%;
  border: 1px solid rgba(47,107,255,.1);
}
.ks-cta__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    90deg,
    rgba(232, 242, 255, 0.96) 0%,
    rgba(232, 242, 255, 0.85) 36%,
    rgba(232, 242, 255, 0.35) 58%,
    rgba(232, 242, 255, 0.08) 78%,
    transparent 100%
  );
  pointer-events: none;
}
.ks-cta__copy {
  position: relative;
  z-index: 1;
  max-width: 520px;
}
.ks-cta__title {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.35;
  font-weight: 700;
  color: #15233a;
}
.ks-cta__desc {
  margin: 0 0 22px;
  color: var(--ks-muted);
  font-size: 14px;
}

/* Footer */
.ks-footer {
  padding: 40px 0 20px;
  background: #f3f6fb;
  border-top: 1px solid var(--ks-line);
  color: #5d6b82;
}
.ks-footer__main {
  display: grid;
  grid-template-columns: minmax(200px, 1.15fr) minmax(0, 2.4fr) auto;
  gap: 32px 40px;
  align-items: start;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--ks-line);
}
.ks-footer__brand {
  min-width: 0;
}
.ks-footer__desc {
  margin: 12px 0 0;
  max-width: 260px;
  color: var(--ks-muted);
  font-size: 13px;
  line-height: 1.7;
  word-break: keep-all;
}
.ks-footer__contact {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.ks-footer__contact li {
  display: grid;
  grid-template-columns: 2em 1fr;
  gap: 8px;
  align-items: baseline;
  font-size: 12px;
  line-height: 1.5;
}
.ks-footer__contact li > span:first-child {
  color: #8a97ad;
}
.ks-footer__contact li > span:last-child,
.ks-footer__contact a {
  color: #5a687c;
  word-break: keep-all;
}
.ks-footer__contact a:hover {
  color: var(--ks-blue);
}
.ks-footer__nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 28px;
  min-width: 0;
}
.ks-footer__col {
  min-width: 0;
}
.ks-footer__title {
  margin: 0 0 12px;
  color: #1a2333;
  font-size: 13px;
  font-weight: 700;
  list-style: none;
  cursor: default;
}
.ks-footer__title::-webkit-details-marker,
.ks-footer__title::marker {
  display: none;
  content: '';
}
.ks-footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ks-footer__links li + li {
  margin-top: 8px;
}
.ks-footer__links a {
  color: var(--ks-muted);
  font-size: 13px;
  line-height: 1.4;
}
.ks-footer__links a:hover {
  color: var(--ks-blue);
}
.ks-footer__follow {
  min-width: 148px;
}
.ks-footer__follow-title {
  margin: 0 0 12px;
  color: #1a2333;
  font-size: 13px;
  font-weight: 700;
}
.ks-footer__qrcodes {
  display: flex;
  gap: 12px;
}
.ks-footer__qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 0;
}
.ks-footer__qr-img {
  width: 64px;
  height: 64px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--ks-line);
  background: #fff;
  padding: 3px;
  box-sizing: border-box;
}
.ks-footer__qr-caption {
  color: #70809a;
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
}
.ks-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  padding-top: 16px;
}
.ks-footer__copy-line {
  margin: 0;
  color: #8a97ad;
  font-size: 12px;
  line-height: 1.5;
}
.ks-footer__meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.ks-footer__beian {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #8a97ad;
  font-size: 12px;
  line-height: 1.5;
}
.ks-footer__beian:hover,
.ks-footer__legal-link:hover {
  color: var(--ks-blue);
}
.ks-footer__beian-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.85;
}
.ks-footer__meta-sep {
  color: #c0c8d6;
  font-size: 12px;
  line-height: 1;
}
.ks-footer__legal-link {
  color: #8a97ad;
  font-size: 12px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* —— Tablet —— */
@media (max-width: 1100px) {
  .ks-wrap { width: min(100% - 36px, var(--ks-wrap)); }

  body.ks-nav-open {
    overflow: hidden;
  }

  .ks-nav {
    display: none;
    position: absolute;
    top: var(--ks-header);
    left: 0;
    right: 0;
    z-index: 120;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    max-height: min(72vh, calc(100dvh - var(--ks-header)));
    overflow-y: auto;
    padding: 12px 16px 20px;
    background: #fff;
    border-bottom: 1px solid var(--ks-line);
    box-shadow: 0 16px 36px rgba(20, 40, 80, .12);
  }
  .ks-nav.is-open { display: flex; }
  .ks-nav__link {
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 15px;
  }
  .ks-nav__link:hover,
  .ks-nav__link.is-active {
    background: var(--ks-blue-soft);
  }
  .ks-nav__mobile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--ks-line);
  }
  .ks-nav__mobile-actions .ks-btn {
    width: 100%;
    height: 40px;
  }

  .ks-nav-mask {
    display: block;
    position: fixed;
    inset: var(--ks-header) 0 0;
    z-index: 110;
    background: rgba(16, 24, 40, 0.36);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
  }
  .ks-nav-mask.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .ks-menu-btn { display: inline-flex; }
  .ks-header__inner { position: relative; }
  .ks-header__register { display: none; }
  .ks-header__login { display: none; }
  .ks-icon-btn { display: none; }
  .ks-header__right { gap: 0; }

  .ks-hero {
    min-height: 420px;
    padding: 48px 0 52px;
  }
  .ks-hero::before {
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.48), transparent 48%);
  }
  .ks-hero__grid {
    display: block;
    min-height: 320px;
  }
  .ks-hero__copy { max-width: 520px; }
  .ks-hero__visual {
    top: 50%;
    right: calc((100vw - 100%) / -2);
    bottom: auto;
    left: auto;
    width: min(48vw, 560px);
    height: auto;
    aspect-ratio: 3 / 2;
    margin: 0;
    transform: translateY(-50%);
  }
  .ks-hero__visual img {
    width: 100%;
    max-width: none;
    object-fit: contain;
    transform: none;
  }

  .ks-props { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
  .ks-stats,
  .ks-adv__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ks-models__track { grid-auto-columns: calc((100% - 16px) / 2); }
  .ks-clients__row { gap: 18px; }

  .ks-section-head {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .ks-section-more { position: static; margin-top: 4px; }

  .ks-cta__panel {
    min-height: 200px;
    padding: 32px 28px;
    background-position: 68% center;
  }

  .ks-footer__main {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px 32px;
  }
  .ks-footer__nav {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .ks-footer__follow {
    grid-column: 2;
    grid-row: 1;
  }
}

/* —— Mobile —— */
@media (max-width: 720px) {
  body { overflow-x: hidden; }

  .ks-wrap { width: min(100% - 32px, var(--ks-wrap)); }

  .ks-header { height: 56px; }
  :root { --ks-header: 56px; }

  .ks-logo { gap: 6px; }
  .ks-logo__text { font-size: 16px; }
  .ks-logo__mark,
  .ks-logo__mark img {
    width: 26px;
    height: 26px;
  }

  .ks-header__inner {
    gap: 12px;
    justify-content: space-between;
  }

  .ks-hero {
    min-height: 0;
    padding: 30px 0 14px;
    text-align: center;
  }
  .ks-hero::before {
    background:
      radial-gradient(ellipse 90% 70% at 50% 0%, rgba(47, 107, 255, 0.12), transparent 58%),
      linear-gradient(
        180deg,
        rgba(245, 249, 255, 0.88) 0%,
        rgba(234, 244, 255, 0.72) 42%,
        rgba(255, 255, 255, 0.94) 88%,
        #ffffff 100%
      );
  }
  .ks-hero::after {
    opacity: .24;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 42%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 42%, transparent 100%);
  }
  .ks-hero__grid {
    display: block;
    min-height: 0;
  }
  .ks-hero__copy {
    max-width: none;
    margin: 0 auto;
    padding: 4px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .ks-hero__visual {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: calc(100% + 32px);
    height: 232px;
    margin: 4px -16px -4px;
    transform: none;
  }
  .ks-hero__visual img {
    position: relative;
    inset: auto;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .ks-hero__title {
    font-size: 30px;
    line-height: 1.22;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
  }
  .ks-hero__desc {
    font-size: 13px;
    line-height: 1.65;
    margin: 0 0 20px;
    max-width: 22em;
    color: #5a687c;
  }
  .ks-hero__actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 10px;
    width: auto;
  }
  .ks-hero__actions .ks-btn {
    width: auto;
    min-width: 124px;
    height: 42px;
    padding: 0 20px;
    font-size: 14px;
    box-shadow: none;
  }
  .ks-hero__actions .ks-btn--primary {
    box-shadow: 0 8px 16px rgba(47, 107, 255, 0.22);
  }
  .ks-hero__visual {
    height: 232px;
    margin: 4px -16px -4px;
  }
  .ks-hero__visual::after {
    right: 18%;
    left: 18%;
    bottom: 4%;
  }
  .ks-hero__visual img {
    width: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 72% center;
    transform: none;
    -webkit-mask-image: none;
    mask-image: none;
    filter: drop-shadow(0 14px 24px rgba(30, 82, 180, 0.14));
  }

  .ks-intro {
    position: relative;
    z-index: 5;
    padding: 12px 0 20px;
    margin-top: 0;
  }

  .ks-news {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    min-height: 0;
    margin-bottom: 28px;
    padding: 12px 14px;
  }
  .ks-news__main {
    flex: 1 1 100%;
    flex-wrap: wrap;
    gap: 8px 10px;
  }
  .ks-news__text {
    flex: 1 1 100%;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
  }
  .ks-news__date {
    display: none;
  }

  .ks-props {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }
  .ks-prop { padding: 4px 2px; }
  .ks-prop__icon {
    width: 54px;
    height: 54px;
    margin-bottom: 10px;
  }
  .ks-prop__title { font-size: 15px; }
  .ks-prop__desc { font-size: 12px; line-height: 1.6; }

  .ks-models { padding: 36px 0 40px; }
  .ks-section-title { font-size: 24px; }
  .ks-section-desc { font-size: 13px; padding: 0 8px; }

  .ks-models__track {
    grid-auto-columns: min(86vw, 300px);
    gap: 12px;
    margin: 0 -16px;
    padding: 4px 16px 12px;
  }
  .ks-models__arrow { display: none; }
  .ks-model {
    padding: 16px 14px 14px;
  }

  .ks-adv { padding: 40px 0; }
  .ks-stats,
  .ks-adv__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .ks-stats { margin-bottom: 16px; }
  .ks-stat__value { font-size: 26px; }
  .ks-stat__label { font-size: 12px; }
  .ks-adv-card {
    min-height: 76px;
    padding: 12px 10px;
    gap: 10px;
  }
  .ks-adv-card__icon { width: 40px; height: 40px; }
  .ks-adv-card__title { font-size: 14px; }
  .ks-adv-card__desc { font-size: 11px; }

  .ks-clients { padding: 48px 0 32px; }
  .ks-clients .ks-section-head { margin-bottom: 28px; }
  .ks-clients__row {
    gap: 16px 20px;
    max-width: none;
    justify-content: flex-start;
    padding-bottom: 4px;
  }
  .ks-clients__item {
    flex: 0 0 auto;
    width: auto;
    min-width: 96px;
    height: 48px;
    padding: 6px 10px;
  }
  .ks-clients__logo {
    height: 22px;
  }
  .ks-cta { padding: 12px 0 48px; }
  .ks-cta__panel {
    min-height: 0;
    padding: 28px 20px;
    border-radius: 16px;
    background-position: right center;
    background-size: auto 100%;
  }
  .ks-cta__panel::before {
    background: linear-gradient(
      180deg,
      rgba(232, 242, 255, 0.94) 0%,
      rgba(232, 242, 255, 0.88) 60%,
      rgba(232, 242, 255, 0.78) 100%
    );
  }
  .ks-cta__copy { max-width: none; }
  .ks-cta__title {
    font-size: 22px;
    line-height: 1.4;
  }
  .ks-cta__desc {
    font-size: 13px;
    margin-bottom: 18px;
  }
  .ks-cta__copy .ks-btn {
    width: 100%;
  }

  .ks-footer {
    padding: 28px 0 18px;
    background: #f5f7fb;
  }
  .ks-footer__main {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    padding-bottom: 4px;
    border-bottom: 1px solid #e6ebf3;
  }
  /* 打散品牌块，便于重排：Logo → 简介 → 二维码 → 联系方式 → 导航 */
  .ks-footer__brand {
    display: contents;
  }
  .ks-footer__brand .ks-logo {
    order: 1;
    justify-content: flex-start;
  }
  .ks-footer__desc {
    order: 2;
    max-width: none;
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.65;
    color: #7a8699;
    word-break: break-word;
  }
  .ks-footer__follow {
    order: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 16px 12px;
    border: 1px solid #e6ebf3;
    border-radius: 14px;
    background: #fff;
  }
  .ks-footer__follow-title {
    display: block;
    margin: 0;
    font-size: 13px;
    font-weight: 650;
    color: #1a2333;
  }
  .ks-footer__qrcodes {
    justify-content: center;
    gap: 20px;
  }
  .ks-footer__qr-img {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    padding: 4px;
  }
  .ks-footer__qr-caption {
    font-size: 12px;
    color: #70809a;
  }
  .ks-footer__contact {
    order: 4;
    margin-top: 16px;
    gap: 10px;
  }
  .ks-footer__contact li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    line-height: 1.55;
  }
  .ks-footer__contact li > span:first-child {
    color: #9aa6b8;
    font-size: 12px;
  }
  .ks-footer__contact li > span:last-child,
  .ks-footer__contact a {
    color: #3d4a5c;
    font-weight: 500;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .ks-footer__contact a {
    font-size: 14px;
    letter-spacing: 0;
  }
  .ks-footer__nav {
    order: 5;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 8px;
  }
  .ks-footer__col {
    border-top: 1px solid #e6ebf3;
  }
  .ks-footer__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 12px 0;
    font-size: 14px;
    font-weight: 650;
    color: #1a2333;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }
  .ks-footer__title::after {
    content: '';
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    margin-right: 2px;
    border-right: 1.5px solid #9aa6b8;
    border-bottom: 1.5px solid #9aa6b8;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
  }
  .ks-footer__col[open] > .ks-footer__title::after {
    transform: rotate(-135deg);
    margin-top: 4px;
  }
  .ks-footer__links {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0 0 10px 2px;
  }
  .ks-footer__links li + li {
    margin-top: 0;
  }
  .ks-footer__links a {
    display: block;
    padding: 8px 0;
    font-size: 13px;
    line-height: 1.4;
    color: #66758c;
  }
  .ks-footer__links a:active,
  .ks-footer__links a:hover {
    color: var(--ks-blue);
  }
  .ks-footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding-top: 12px;
    text-align: center;
  }
  .ks-footer__copy-line {
    font-size: 11px;
    color: #8a97ad;
  }
  .ks-footer__meta-row {
    justify-content: center;
    gap: 4px 8px;
  }
  .ks-footer__beian,
  .ks-footer__legal-link {
    font-size: 11px;
  }
  .ks-footer__beian-icon {
    width: 12px;
    height: 12px;
    opacity: 0.7;
  }
  .ks-footer__meta-sep {
    font-size: 11px;
  }
}

/* —— Small phones —— */
@media (max-width: 480px) {
  .ks-wrap { width: min(100% - 28px, var(--ks-wrap)); }
  .ks-hero {
    padding: 24px 0 4px;
  }
  .ks-hero__visual {
    width: calc(100% + 28px);
    height: 210px;
    margin-right: -14px;
    margin-left: -14px;
  }
  .ks-hero__title { font-size: 28px; }
  .ks-hero__desc {
    font-size: 12.5px;
    max-width: 20em;
    margin-bottom: 18px;
  }
  .ks-hero__actions .ks-btn {
    min-width: 0;
    flex: 1 1 0;
    max-width: 148px;
    padding: 0 14px;
  }

  .ks-props { gap: 16px 10px; }
  .ks-prop__title { font-size: 14px; }

  .ks-adv__grid { grid-template-columns: 1fr; }
  .ks-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ks-stat { padding: 4px 0; }
}

@media (max-width: 360px) {
  .ks-props { grid-template-columns: 1fr; }
  .ks-stats { grid-template-columns: 1fr; }
}

/* —— Help docs —— */
.ks-page-help {
  background: var(--ks-white);
}

.ks-help-hero {
  --ks-help-hero-bg: #e8f1ff;
  position: relative;
  overflow: hidden;
  background: var(--ks-help-hero-bg);
}

.ks-help-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.ks-help-hero__media img {
  width: min(100%, 1600px);
  height: 100%;
  object-fit: contain;
  object-position: right center;
  display: block;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
}

.ks-help-hero__stage {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: clamp(380px, 36vw, 480px);
  padding: 56px 0 64px;
}

.ks-help-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 460px;
}

.ks-about-hero .ks-help-hero__copy {
  max-width: 520px;
}

.ks-about-hero .ks-help-hero__desc {
  max-width: 480px;
}

.ks-news-hero .ks-help-hero__copy {
  max-width: 520px;
}

.ks-news-hero .ks-help-hero__desc {
  max-width: 480px;
}

/* Marketing page heroes: CSS owns the background, artwork stays an isolated asset. */
.ks-marketing-hero {
  --ks-help-hero-bg: transparent;
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 42%, rgba(47, 107, 255, .13), transparent 34%),
    linear-gradient(180deg, #f7faff 0%, #edf4ff 100%);
}

.ks-marketing-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .78) 0%, rgba(255, 255, 255, .44) 34%, transparent 58%),
    linear-gradient(rgba(90, 140, 220, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 140, 220, .03) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  pointer-events: none;
}

.ks-marketing-hero::after {
  display: none;
}

.ks-marketing-hero .ks-help-hero__stage {
  display: block;
  min-height: 350px;
  padding: 38px 0 46px;
}

.ks-marketing-hero .ks-help-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 500px;
}

.ks-marketing-hero .ks-help-hero__media {
  position: absolute;
  top: 50%;
  right: calc((100vw - 100%) / -2);
  bottom: auto;
  left: auto;
  z-index: 1;
  width: min(78vw, 1120px);
  height: auto;
  aspect-ratio: 96 / 25;
  margin: 0;
  transform: translateY(-50%);
}

.ks-marketing-hero .ks-help-hero__media::after {
  display: none;
}

.ks-marketing-hero .ks-help-hero__media img {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .28) 9%, #000 22%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .28) 9%, #000 22%, #000 100%);
  filter: none;
}

.ks-price-hero.ks-marketing-hero .ks-help-hero__stage {
  min-height: 310px;
}

.ks-price-hero.ks-marketing-hero .ks-help-hero__media {
  height: auto;
}

.ks-price-hero.ks-marketing-hero {
  background: #f4f7fc;
}

.ks-help-article-hero {
  position: relative;
  padding: 48px 0 36px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 70% at 82% 18%, rgba(47, 107, 255, 0.14), transparent 60%),
    radial-gradient(ellipse 40% 50% at 8% 90%, rgba(91, 140, 255, 0.08), transparent 55%),
    linear-gradient(180deg, #eef4ff 0%, #f7faff 48%, #ffffff 100%);
}

.ks-help-hero__eyebrow,
.ks-help-article-hero .ks-help-hero__eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ks-blue);
}

.ks-help-hero__title {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.28;
  color: #1a2333;
}

.ks-help-hero__desc {
  margin: 14px 0 0;
  max-width: 400px;
  font-size: 15px;
  line-height: 1.75;
  color: #5b6b82;
}

.ks-help-search {
  margin-top: 28px;
  max-width: 440px;
}

.ks-help-search__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.ks-help-search__box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 20px;
  background: #fff;
  border: 1px solid rgba(47, 107, 255, 0.12);
  border-radius: 999px;
  box-shadow:
    0 12px 30px rgba(31, 87, 239, 0.12),
    0 2px 8px rgba(26, 35, 51, 0.04);
  color: var(--ks-muted);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.ks-help-search__box:focus-within {
  border-color: rgba(47, 107, 255, 0.42);
  box-shadow:
    0 14px 32px rgba(31, 87, 239, 0.14),
    0 2px 8px rgba(26, 35, 51, 0.04);
}

.ks-help-search__input {
  flex: 1;
  min-width: 0;
  height: 46px;
  border: 0;
  outline: none;
  background: transparent;
  font: inherit;
  font-size: 15px;
  color: var(--ks-ink);
}

.ks-help-search__input::placeholder {
  color: #9aa6b8;
}

.ks-help-search__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--ks-blue);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(47, 107, 255, 0.28);
  transition: background-color .2s ease, transform .2s ease;
}

.ks-help-search__btn:hover {
  background: var(--ks-blue-hover);
  transform: translateY(-1px);
}

.ks-help-topics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin-top: 16px;
}

.ks-help-topics__label {
  font-size: 13px;
  color: #6b778c;
}

.ks-help-topics__chip {
  font-size: 13px;
  color: #4b5a73;
  transition: color .2s ease;
}

.ks-help-topics__chip:hover {
  color: var(--ks-blue);
}

.ks-help-section {
  padding: 64px 0;
}

.ks-help-section--muted {
  background: linear-gradient(180deg, #f7f9fc 0%, #f5f8fc 100%);
}

.ks-help-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 28px;
}

.ks-help-section__head--compact {
  align-items: center;
  margin-bottom: 18px;
}

.ks-help-section__title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ks-ink);
}

.ks-help-section__desc {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--ks-muted);
}

.ks-help-section__more {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ks-blue);
  white-space: nowrap;
}

.ks-help-section__more:hover {
  color: var(--ks-blue-hover);
}

.ks-help-quick {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ks-help-quick__card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 188px;
  padding: 20px 18px 18px;
  background: #fff;
  border: 1px solid var(--ks-line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(26, 35, 51, 0.04);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.ks-help-quick__card:hover {
  border-color: var(--ks-blue-line);
  box-shadow: 0 14px 30px rgba(47, 107, 255, 0.1);
  transform: translateY(-2px);
}

.ks-help-quick__icon {
  width: 48px;
  height: 48px;
}

.ks-help-quick__icon svg {
  width: 48px;
  height: 48px;
  display: block;
}

.ks-help-quick__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.ks-help-quick__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ks-ink);
}

.ks-help-quick__desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ks-muted);
}

.ks-help-quick__arrow {
  font-size: 16px;
  color: var(--ks-blue);
  transition: transform .2s ease;
}

.ks-help-quick__card:hover .ks-help-quick__arrow {
  transform: translateX(3px);
}

.ks-help-cats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ks-help-cat-card {
  position: relative;
  display: flex;
  min-height: 188px;
  padding: 22px 18px 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ks-line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(26, 35, 51, 0.04);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.ks-help-cat-card:hover {
  border-color: var(--ks-blue-line);
  box-shadow: 0 14px 30px rgba(47, 107, 255, 0.1);
  transform: translateY(-2px);
}

.ks-help-cat-card__main {
  position: relative;
  z-index: 1;
  min-width: 0;
  flex: 1;
  padding-right: 48px;
}

.ks-help-cat-card__title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.ks-help-cat-card__title a:hover {
  color: var(--ks-blue);
}

.ks-help-cat-card__desc {
  margin: 8px 0 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ks-muted);
}

.ks-help-cat-card__links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.ks-help-cat-card__links a {
  position: relative;
  display: inline-block;
  padding-left: 12px;
  font-size: 13px;
  color: #4b5a73;
}

.ks-help-cat-card__links a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #b7c4d8;
}

.ks-help-cat-card__links a:hover {
  color: var(--ks-blue);
}

.ks-help-cat-card__icon {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 72px;
  height: 72px;
  opacity: 0.92;
  pointer-events: none;
}

.ks-help-cat-card__icon svg {
  width: 72px;
  height: 72px;
  display: block;
}

.ks-help-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}

.ks-help-featured__list {
  display: grid;
  gap: 14px;
}

.ks-help-featured__item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--ks-line);
  border-radius: 14px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.ks-help-featured__item:hover {
  border-color: var(--ks-blue-line);
  box-shadow: 0 10px 24px rgba(47, 107, 255, 0.08);
}

.ks-help-featured__thumb {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,0.75), transparent 45%),
    linear-gradient(145deg, #6f9bff, #2f6bff);
}

.ks-help-featured__thumb--1 {
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,0.75), transparent 45%),
    linear-gradient(145deg, #8b78ff, #5b4dff);
}

.ks-help-featured__thumb--2 {
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,0.75), transparent 45%),
    linear-gradient(145deg, #55c2a0, #2f9e78);
}

.ks-help-featured__title {
  display: block;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
  color: var(--ks-ink);
}

.ks-help-featured__item:hover .ks-help-featured__title {
  color: var(--ks-blue);
}

.ks-help-featured__meta {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--ks-muted);
}

.ks-help-news__list {
  margin: 0;
  padding: 4px 0 0;
  list-style: none;
  display: grid;
  gap: 2px;
}

.ks-help-news__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--ks-line);
}

.ks-help-news__list li:last-child .ks-help-news__item {
  border-bottom: 0;
}

.ks-help-news__title {
  min-width: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--ks-ink);
  transition: color .2s ease;
}

.ks-help-news__item:hover .ks-help-news__title {
  color: var(--ks-blue);
}

.ks-help-news__date {
  flex-shrink: 0;
  font-size: 13px;
  color: #98a4b8;
}

.ks-help-faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
}

.ks-help-faq__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--ks-line);
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(26, 35, 51, 0.03);
  transition: border-color .2s ease, box-shadow .2s ease, color .2s ease;
}

.ks-help-faq__item span {
  font-size: 14px;
  font-weight: 500;
  color: var(--ks-ink);
}

.ks-help-faq__item em {
  font-style: normal;
  color: #b3bdcc;
  font-size: 20px;
  line-height: 1;
  transition: color .2s ease, transform .2s ease;
}

.ks-help-faq__item:hover {
  border-color: var(--ks-blue-line);
  box-shadow: 0 10px 22px rgba(47, 107, 255, 0.08);
}

.ks-help-faq__item:hover span {
  color: var(--ks-blue);
}

.ks-help-faq__item:hover em {
  color: var(--ks-blue);
  transform: translateX(2px);
}

.ks-help-support {
  padding: 8px 0 72px;
}

.ks-help-support__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ks-help-support__card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 22px 22px 18px;
  background: linear-gradient(135deg, #eef4ff 0%, #f7faff 100%);
  border: 1px solid var(--ks-blue-line);
  border-radius: 16px;
}

.ks-help-support__card--alt {
  background: linear-gradient(135deg, #f5f8fc 0%, #eef3fa 100%);
  border-color: var(--ks-line);
}

.ks-help-support__icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.ks-help-support__icon svg {
  width: 56px;
  height: 56px;
  display: block;
}

.ks-help-support__copy {
  flex: 1;
  min-width: 0;
}

.ks-help-support__copy h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
}

.ks-help-support__copy p {
  margin: 0;
  font-size: 13px;
  color: var(--ks-muted);
}

.ks-help-body {
  padding: 24px 0 72px;
  background: linear-gradient(180deg, #f5f8fc 0%, #f7f9fc 100%);
}

.ks-help-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 16px;
  margin-bottom: 18px;
}

.ks-help-toolbar__title {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ks-ink);
}

.ks-help-toolbar__count {
  margin: 0;
  font-size: 13px;
  color: var(--ks-muted);
}

.ks-help-toolbar__reset {
  font-size: 13px;
  font-weight: 600;
  color: var(--ks-blue);
}

.ks-help-toolbar__reset:hover {
  color: var(--ks-blue-hover);
}

.ks-help-group + .ks-help-group {
  margin-top: 28px;
}

.ks-help-group__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.ks-help-group__title {
  margin: 0;
  font-size: 16px;
  font-weight: 650;
  color: var(--ks-ink);
}

.ks-help-group__meta {
  font-size: 12px;
  color: #8a96a8;
}

.ks-help-list {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ks-line);
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(26, 35, 51, 0.03);
}

.ks-help-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 20px;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--ks-line);
  transition: background-color .2s ease;
}

.ks-help-item:last-child {
  border-bottom: 0;
}

.ks-help-item:hover {
  background: #f8fbff;
}

.ks-help-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--ks-blue-soft);
  color: var(--ks-blue);
}

.ks-help-item__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ks-help-item__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.ks-help-item__title {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.35;
  color: var(--ks-ink);
}

.ks-help-item:hover .ks-help-item__title {
  color: var(--ks-blue);
}

.ks-help-item__badge {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--ks-blue-soft);
  color: var(--ks-blue);
  font-size: 11px;
  font-weight: 600;
}

.ks-help-item__summary {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ks-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ks-help-item__arrow {
  color: #b3bdcc;
  transition: color .2s ease, transform .2s ease;
}

.ks-help-item:hover .ks-help-item__arrow {
  color: var(--ks-blue);
  transform: translateX(2px);
}

.ks-help-empty,
.ks-help-empty-page {
  text-align: center;
  padding: 56px 24px;
  background: #fff;
  border: 1px solid var(--ks-line);
  border-radius: 16px;
}

.ks-help-empty__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 14px;
  border-radius: 18px;
  background: var(--ks-blue-soft);
  color: var(--ks-blue);
}

.ks-help-empty h2,
.ks-help-empty-page h1 {
  margin: 0 0 10px;
  font-size: 22px;
}

.ks-help-empty p,
.ks-help-empty-page p {
  margin: 0 0 20px;
  color: var(--ks-muted);
}

.ks-help-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--ks-muted);
}

.ks-help-breadcrumb a:hover {
  color: var(--ks-blue);
}

.ks-help-article__title {
  margin: 0;
  max-width: 760px;
  font-size: clamp(28px, 3.6vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ks-ink);
}

.ks-help-article__summary {
  margin: 14px 0 0;
  max-width: 640px;
  font-size: 16px;
  color: var(--ks-muted);
}

.ks-help-article__meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 16px;
  font-size: 13px;
  color: #8a96a8;
}

.ks-help-article__meta-row a {
  font-weight: 600;
  color: var(--ks-blue);
}

.ks-help-article-body {
  padding: 8px 0 72px;
  background: var(--ks-bg);
}

.ks-help-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
  align-items: start;
}

.ks-help-prose {
  padding: 32px 36px;
  background: #fff;
  border: 1px solid var(--ks-line);
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(26, 35, 51, 0.03);
  font-size: 15px;
  line-height: 1.8;
  color: var(--ks-ink);
}

.ks-help-prose > *:first-child {
  margin-top: 0;
}

.ks-help-prose > *:last-child {
  margin-bottom: 0;
}

.ks-help-prose h2,
.ks-help-prose h3,
.ks-help-prose h4 {
  margin: 1.6em 0 0.6em;
  line-height: 1.35;
  font-weight: 650;
}

.ks-help-prose h2 { font-size: 22px; }
.ks-help-prose h3 { font-size: 18px; }
.ks-help-prose p,
.ks-help-prose ul,
.ks-help-prose ol {
  margin: 0 0 1em;
}

.ks-help-prose ul,
.ks-help-prose ol {
  padding-left: 1.35em;
}

.ks-help-prose a {
  color: var(--ks-blue);
}

.ks-help-prose code {
  padding: 0.12em 0.4em;
  border-radius: 6px;
  background: var(--ks-blue-soft);
  font-size: 0.92em;
}

.ks-help-prose pre {
  overflow: auto;
  padding: 14px 16px;
  border-radius: 10px;
  background: #0f172a;
  color: #e2e8f0;
}

.ks-help-prose pre code {
  padding: 0;
  background: transparent;
  color: inherit;
}

.ks-help-prose img {
  border-radius: 10px;
}

.ks-help-aside-card {
  position: sticky;
  top: calc(var(--ks-header) + 20px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--ks-line);
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(26, 35, 51, 0.03);
}

.ks-help-aside-card__title {
  margin: 0;
  font-size: 16px;
  font-weight: 650;
}

.ks-help-aside-card__desc {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--ks-muted);
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .ks-help-quick,
  .ks-help-cats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .ks-help-split,
  .ks-help-article-layout,
  .ks-help-support__grid,
  .ks-help-faq {
    grid-template-columns: 1fr;
  }

  .ks-help-hero__stage {
    min-height: 340px;
    padding: 40px 0 48px;
  }

  .ks-help-hero__media img {
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent 0%,
      #000 6%,
      #000 94%,
      transparent 100%
    );
    mask-image: linear-gradient(
      90deg,
      transparent 0%,
      #000 6%,
      #000 94%,
      transparent 100%
    );
  }

  .ks-help-hero__copy {
    max-width: 380px;
  }

  .ks-about-hero .ks-help-hero__copy,
  .ks-news-hero .ks-help-hero__copy {
    max-width: 420px;
  }

  .ks-marketing-hero .ks-help-hero__stage {
    display: block;
    min-height: 310px;
    padding: 32px 0 36px;
  }

  .ks-marketing-hero .ks-help-hero__media {
    top: 50%;
    right: calc((100vw - 100%) / -2);
    bottom: auto;
    left: auto;
    width: min(84vw, 920px);
    height: auto;
    aspect-ratio: 96 / 25;
    margin: 0;
    transform: translateY(-50%);
  }

  .ks-marketing-hero .ks-help-hero__media img {
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    transform: none;
  }

  .ks-price-hero.ks-marketing-hero .ks-help-hero__stage {
    min-height: 300px;
  }

  .ks-price-hero.ks-marketing-hero .ks-help-hero__media {
    height: auto;
  }

  .ks-help-aside-card {
    position: static;
  }
}

@media (max-width: 720px) {
  .ks-help-hero__stage {
    display: block;
    min-height: 0;
    padding: 8px 0 28px;
  }

  .ks-help-hero__media {
    position: relative;
    inset: auto;
    height: 168px;
  }

  .ks-help-hero__media img {
    width: 100%;
    -webkit-mask-image: none;
    mask-image: none;
    object-position: right center;
  }

  .ks-help-hero__copy {
    max-width: none;
    padding-top: 12px;
  }

  .ks-marketing-hero .ks-help-hero__stage {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: 0;
    padding: 28px 0 30px;
  }

  .ks-marketing-hero::after {
    opacity: .2;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 46%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 46%, transparent 100%);
  }

  .ks-marketing-hero .ks-help-hero__copy {
    max-width: 560px;
    padding-top: 0;
  }

  .ks-marketing-hero .ks-help-hero__media,
  .ks-price-hero.ks-marketing-hero .ks-help-hero__media {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: calc(100% + 32px);
    height: 220px;
    margin: 0 -16px;
    transform: none;
  }

  .ks-marketing-hero .ks-help-hero__media img {
    width: 100%;
    max-width: none;
    height: 220px;
    object-fit: cover;
    object-position: 72% center;
    transform: none;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .ks-help-hero__title {
    font-size: 26px;
    line-height: 1.3;
  }

  .ks-help-hero__desc {
    margin-top: 10px;
    font-size: 14px;
  }

  .ks-help-search {
    margin-top: 18px;
    max-width: none;
  }

  .ks-help-search__box {
    padding: 5px 5px 5px 14px;
  }

  .ks-help-search__input {
    height: 42px;
    font-size: 14px;
  }

  .ks-help-search__btn {
    width: 42px;
    height: 42px;
  }

  .ks-help-topics {
    gap: 6px 10px;
    margin-top: 12px;
  }

  .ks-help-article-hero {
    padding: 28px 0 22px;
  }

  .ks-help-section {
    padding: 40px 0;
  }

  .ks-help-section__title {
    font-size: 22px;
  }

  .ks-help-section__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 18px;
  }

  .ks-help-quick,
  .ks-help-cats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ks-help-quick__card {
    min-height: 0;
    padding: 16px;
  }

  .ks-help-cat-card {
    min-height: 0;
    padding: 18px 16px;
  }

  .ks-help-cat-card__main {
    padding-right: 40px;
  }

  .ks-help-cat-card__icon {
    width: 56px;
    height: 56px;
  }

  .ks-help-cat-card__icon svg {
    width: 56px;
    height: 56px;
  }

  .ks-help-featured__item {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
    padding: 10px;
  }

  .ks-help-featured__thumb {
    width: 56px;
    height: 56px;
  }

  .ks-help-support {
    padding: 0 0 48px;
  }

  .ks-help-support__card {
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px;
  }

  .ks-help-support__icon {
    width: 48px;
    height: 48px;
  }

  .ks-help-support__icon svg {
    width: 48px;
    height: 48px;
  }

  .ks-help-item {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .ks-help-item__arrow {
    display: none;
  }

  .ks-help-item__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .ks-help-prose {
    padding: 20px 16px;
  }

  .ks-help-article__title {
    font-size: 26px;
  }
}


/* —— About / News shared page hero —— */
.ks-page-about,
.ks-page-news {
  background: var(--ks-white);
}

.ks-page-hero {
  --ks-page-hero-bg: #e8f1ff;
  position: relative;
  overflow: hidden;
  background: var(--ks-page-hero-bg);
}

.ks-page-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(240px, 0.9fr);
  gap: 24px 40px;
  align-items: center;
  min-height: 360px;
  padding: 48px 0 56px;
}

.ks-page-hero__copy {
  max-width: 520px;
}

.ks-page-hero__title {
  margin: 0;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ks-ink);
}

.ks-page-hero__desc {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ks-muted);
}

.ks-page-hero__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.ks-page-hero__media img {
  width: min(100%, 420px);
  height: auto;
  max-height: 340px;
  object-fit: contain;
  display: block;
}

/* —— About —— */
.ks-about-section {
  padding: 72px 0;
}

.ks-about-section--muted {
  background: #f7f9fc;
}

.ks-about-section__title {
  margin: 0 0 28px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ks-ink);
}

.ks-about-missions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ks-about-mission {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--ks-line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(26, 35, 51, 0.04);
}

.ks-about-mission__icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
}

.ks-about-mission__icon svg {
  width: 40px;
  height: 40px;
}

.ks-about-mission__title {
  margin: 16px 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ks-ink);
}

.ks-about-mission__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ks-muted);
}

.ks-about-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ks-about-stat {
  text-align: center;
  padding: 12px 8px;
}

.ks-about-stat__icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
}

.ks-about-stat__icon svg {
  width: 28px;
  height: 28px;
}

.ks-about-stat__value {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ks-ink);
}

.ks-about-stat__label {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ks-muted);
}

.ks-about-timeline {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  position: relative;
}

.ks-about-timeline::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 42px;
  height: 2px;
  background: #d7e6ff;
}

.ks-about-timeline__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding-top: 4px;
}

.ks-about-timeline__year {
  font-size: 16px;
  font-weight: 700;
  color: var(--ks-blue);
}

.ks-about-timeline__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--ks-blue);
  box-shadow: 0 0 0 4px #eaf2ff;
  z-index: 1;
}

.ks-about-timeline__desc {
  max-width: 160px;
  font-size: 13px;
  line-height: 1.6;
  color: #4b5a73;
}

.ks-about-team {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
  min-height: 220px;
  padding: 36px 40px;
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 80% at 88% 50%, rgba(91, 140, 255, 0.35), transparent 60%),
    linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 55%, #172554 100%);
  color: #fff;
}

.ks-about-team__title {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 700;
}

.ks-about-team__desc {
  margin: 0 0 20px;
  max-width: 460px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
}

.ks-about-team__art {
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.ks-about-team__art img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 210px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(5, 22, 71, 0.22));
}

.ks-about-partners {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  align-items: center;
}

.ks-about-partners__item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  padding: 12px 16px;
  border: 1px solid var(--ks-line);
  border-radius: 12px;
  background: #fff;
}

.ks-about-partners__item img {
  max-width: 100%;
  max-height: 36px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* —— News list —— */
.ks-news-body {
  padding: 28px 0 80px;
}

.ks-news-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.ks-news-tabs__item {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: #4b5a73;
  transition: background-color .2s ease, color .2s ease;
}

.ks-news-tabs__item:hover {
  color: var(--ks-blue);
  background: var(--ks-blue-soft);
}

.ks-news-tabs__item.is-active {
  background: var(--ks-blue);
  color: #fff;
}

.ks-news-list {
  display: flex;
  flex-direction: column;
}

.ks-news-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
  padding: 22px 0;
  border-bottom: 1px solid var(--ks-line);
}

.ks-news-card--featured {
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 28px;
  padding-bottom: 28px;
  margin-bottom: 8px;
}

.ks-news-card__cover {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  background: #e8eef7;
  min-height: 112px;
}

.ks-news-card--featured .ks-news-card__cover {
  min-height: 220px;
}

.ks-news-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s ease;
}

.ks-news-card__cover-placeholder {
  display: block;
  width: 100%;
  min-height: inherit;
  height: 100%;
  background:
    linear-gradient(135deg, #e8eef7 0%, #d7e3f4 48%, #c9d8ec 100%);
}

.ks-news-card--featured .ks-news-card__cover-placeholder {
  min-height: 220px;
}

.ks-news-card:hover .ks-news-card__cover img {
  transform: scale(1.03);
}

.ks-news-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ks-news-card__tag {
  display: inline-flex;
  align-self: flex-start;
  height: 24px;
  align-items: center;
  padding: 0 10px;
  border-radius: 6px;
  background: var(--ks-blue-soft);
  color: var(--ks-blue);
  font-size: 12px;
  font-weight: 600;
}

.ks-news-card__title {
  margin: 10px 0 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ks-ink);
}

.ks-news-card--featured .ks-news-card__title {
  font-size: 24px;
}

.ks-news-card__title a:hover {
  color: var(--ks-blue);
}

.ks-news-card__summary {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ks-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ks-news-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 16px;
  font-size: 13px;
  color: #98a4b8;
}

.ks-news-card__more {
  font-weight: 600;
  color: var(--ks-blue);
  white-space: nowrap;
}

.ks-news-card__more:hover {
  color: var(--ks-blue-hover);
}

.ks-news-empty {
  text-align: center;
  padding: 64px 24px;
  border: 1px solid var(--ks-line);
  border-radius: 16px;
  background: #fff;
}

.ks-news-empty h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.ks-news-empty p {
  margin: 0 0 20px;
  color: var(--ks-muted);
}

.ks-news-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}

.ks-news-pager__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--ks-line);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: #4b5a73;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.ks-news-pager__item:hover {
  border-color: var(--ks-blue-line);
  color: var(--ks-blue);
}

.ks-news-pager__item.is-active {
  background: var(--ks-blue);
  border-color: var(--ks-blue);
  color: #fff;
}

.ks-news-pager__ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  color: #98a4b8;
}

.ks-news-pager__next {
  font-size: 18px;
}

@media (max-width: 960px) {
  .ks-page-hero__inner,
  .ks-about-missions,
  .ks-about-team {
    grid-template-columns: 1fr 1fr;
  }

  .ks-about-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
  }

  .ks-about-timeline {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 8px;
  }

  .ks-about-timeline::before {
    left: 21px;
    right: auto;
    top: 8px;
    bottom: 8px;
    width: 2px;
    height: auto;
  }

  .ks-about-timeline__item {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 4px;
    align-items: start;
    text-align: left;
    padding: 14px 0;
  }

  .ks-about-timeline__year {
    grid-column: 2;
    grid-row: 1;
  }

  .ks-about-timeline__dot {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: start;
    margin-top: 4px;
  }

  .ks-about-timeline__desc {
    grid-column: 2;
    grid-row: 2;
    max-width: none;
  }

  .ks-about-partners {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ks-about-section__title {
    font-size: 24px;
    margin-bottom: 22px;
  }

  .ks-news-body {
    padding: 20px 0 64px;
  }

  .ks-news-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    margin: 0 -18px 22px;
    padding: 0 18px 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .ks-news-tabs::-webkit-scrollbar {
    display: none;
  }

  .ks-news-tabs__item {
    flex: 0 0 auto;
  }

  .ks-news-card,
  .ks-news-card--featured {
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 14px;
    padding: 18px 0;
  }

  .ks-news-card__cover {
    min-height: 96px;
  }

  .ks-news-card--featured .ks-news-card__cover {
    min-height: 112px;
  }

  .ks-news-card__title {
    font-size: 16px;
  }

  .ks-news-card--featured .ks-news-card__title {
    font-size: 17px;
  }

  .ks-news-card__summary {
    font-size: 13px;
    -webkit-line-clamp: 2;
  }
}

@media (max-width: 720px) {
  .ks-page-hero__inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 24px 0 32px;
    gap: 8px;
  }

  .ks-page-hero__media {
    order: -1;
  }

  .ks-page-hero__media img {
    max-height: 200px;
  }

  .ks-about-section {
    padding: 40px 0;
  }

  .ks-about-section__title {
    font-size: 22px;
    margin-bottom: 18px;
  }

  .ks-about-missions,
  .ks-about-team {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ks-about-mission {
    padding: 20px 18px;
  }

  .ks-about-mission__title {
    margin-top: 12px;
    font-size: 16px;
  }

  .ks-about-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .ks-about-stat {
    padding: 14px 10px;
    border: 1px solid var(--ks-line);
    border-radius: 12px;
    background: #fff;
  }

  .ks-about-stat__value {
    font-size: 24px;
  }

  .ks-about-stat__label {
    font-size: 13px;
  }

  .ks-about-team {
    padding: 24px 18px;
    min-height: 0;
  }

  .ks-about-team__title {
    font-size: 22px;
  }

  .ks-about-team__art {
    min-height: 150px;
  }

  .ks-about-team__art img {
    max-height: 160px;
  }

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

  .ks-about-partners__item {
    height: 60px;
    padding: 10px 12px;
  }

  .ks-about-partners__item img {
    max-height: 28px;
  }

  .ks-news-body {
    padding: 12px 0 56px;
  }

  .ks-news-tabs {
    margin: 0 -16px 18px;
    padding: 0 16px 4px;
  }

  .ks-news-tabs__item {
    height: 34px;
    padding: 0 14px;
    font-size: 13px;
  }

  .ks-news-card,
  .ks-news-card--featured {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px 0;
  }

  .ks-news-card__cover,
  .ks-news-card--featured .ks-news-card__cover {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .ks-news-card__title,
  .ks-news-card--featured .ks-news-card__title {
    font-size: 17px;
  }

  .ks-news-card__meta {
    flex-wrap: wrap;
    gap: 8px 12px;
    padding-top: 12px;
  }

  .ks-news-pager {
    margin-top: 24px;
    gap: 6px;
  }

  .ks-news-pager__item {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .ks-help-hero__media {
    height: 140px;
  }

  .ks-help-hero__title {
    font-size: 24px;
  }

  .ks-marketing-hero .ks-help-hero__stage {
    padding: 24px 0 26px;
  }

  .ks-marketing-hero .ks-help-hero__media,
  .ks-price-hero.ks-marketing-hero .ks-help-hero__media {
    width: calc(100% + 28px);
    height: 188px;
    margin-right: -14px;
    margin-left: -14px;
  }

  .ks-marketing-hero .ks-help-hero__media img {
    height: 188px;
  }

  .ks-about-stats {
    grid-template-columns: 1fr 1fr;
  }

  .ks-about-stat__value {
    font-size: 22px;
  }

  .ks-news-card__summary {
    -webkit-line-clamp: 3;
  }
}


/* ========== Help docs hub — match design ========== */
.ks-page-help {
  background: #fff;
}

.ks-docs {
  border-top: 1px solid var(--ks-line);
  min-height: calc(100vh - var(--ks-header));
}

.ks-docs__frame {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  width: min(100%, 1280px);
  margin: 0 auto;
  min-height: calc(100vh - var(--ks-header));
}

.ks-docs-side {
  position: sticky;
  top: var(--ks-header);
  align-self: start;
  height: calc(100vh - var(--ks-header));
  overflow: auto;
  padding: 20px 16px 32px;
  border-right: 1px solid var(--ks-line);
  background: #fff;
}

.ks-docs-side__all,
.ks-docs-side__link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  color: #4b5568;
  font-size: 14px;
  transition: background-color .15s ease, color .15s ease;
}

.ks-docs-side__all {
  margin-bottom: 8px;
  font-weight: 600;
}

.ks-docs-side__all:hover,
.ks-docs-side__link:hover {
  background: #f5f8fc;
  color: var(--ks-ink);
}

.ks-docs-side__all.is-active,
.ks-docs-side__link.is-active {
  background: var(--ks-blue-soft);
  color: var(--ks-blue);
  font-weight: 600;
}

.ks-docs-side__ico {
  width: 18px;
  height: 18px;
  display: inline-flex;
  color: inherit;
  flex: none;
}

.ks-docs-side__ico svg {
  width: 18px;
  height: 18px;
}

.ks-docs-side__label {
  flex: 1;
  min-width: 0;
}

.ks-docs-side__chev {
  color: #b0bac8;
  display: inline-flex;
}

.ks-docs-side__group {
  margin-top: 18px;
}

.ks-docs-side__group-title {
  font-size: 12px;
  font-weight: 600;
  color: #8a96a8;
  padding: 0 12px 8px;
}

.ks-docs-side__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.ks-docs-tree {
  display: grid;
  gap: 4px;
}

.ks-docs-tree__group {
  border-radius: 10px;
}

.ks-docs-tree__summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 10px 0 12px;
  border-radius: 10px;
  color: #4b5568;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background-color .15s ease, color .15s ease;
}

.ks-docs-tree__summary::-webkit-details-marker {
  display: none;
}

.ks-docs-tree__summary::marker {
  content: '';
}

.ks-docs-tree__summary:hover {
  background: #f5f8fc;
  color: var(--ks-ink);
}

.ks-docs-tree__group[open] > .ks-docs-tree__summary {
  color: var(--ks-ink);
  background: #f7f9fc;
}

.ks-docs-tree__label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ks-docs-tree__count {
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: #eef2f8;
  color: #8a96a8;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
}

.ks-docs-tree__chev {
  display: inline-flex;
  color: #b0bac8;
  transition: transform .18s ease;
}

.ks-docs-tree__group[open] > .ks-docs-tree__summary .ks-docs-tree__chev {
  transform: rotate(180deg);
  color: var(--ks-blue);
}

.ks-docs-tree__list {
  list-style: none;
  margin: 2px 0 8px;
  padding: 0 0 0 18px;
  display: grid;
  gap: 2px;
  border-left: 1px solid #e8eef7;
  margin-left: 21px;
}

.ks-docs-tree__link {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: #5b6577;
  font-size: 13px;
  line-height: 1.45;
  transition: background-color .15s ease, color .15s ease;
}

.ks-docs-tree__link:hover {
  background: #f5f8fc;
  color: var(--ks-ink);
}

.ks-docs-tree__link.is-active {
  background: var(--ks-blue-soft);
  color: var(--ks-blue);
  font-weight: 600;
}

.ks-docs-side__extras {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid #eef2f8;
}

.ks-docs-main {
  padding: 36px 48px 64px;
  min-width: 0;
  background: #fff;
}

.ks-docs-hero__title {
  margin: 0;
  font-size: 34px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--ks-ink);
  letter-spacing: -.02em;
}

.ks-docs-hero__desc {
  margin: 12px 0 0;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ks-muted);
}

.ks-docs-search {
  margin-top: 24px;
  max-width: 720px;
}

.ks-docs-search--compact {
  margin: 0 0 24px;
  max-width: none;
}

.ks-docs-search__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.ks-docs-search__box {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 10px 0 18px;
  border: 1px solid #d5deec;
  border-radius: 12px;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.ks-docs-search__box:focus-within {
  border-color: var(--ks-blue);
  box-shadow: 0 0 0 4px rgba(47, 107, 255, .12);
}

.ks-docs-search__input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 15px;
  color: var(--ks-ink);
}

.ks-docs-search__input::placeholder {
  color: #9aa6b8;
}

.ks-docs-search__btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #6b778c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.ks-docs-search__btn:hover {
  background: var(--ks-blue-soft);
  color: var(--ks-blue);
}

.ks-docs-block {
  margin-top: 40px;
}

.ks-docs-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.ks-docs-block__title {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ks-ink);
}

.ks-docs-block__head .ks-docs-block__title {
  margin-bottom: 0;
}

.ks-docs-block__more {
  font-size: 13px;
  color: var(--ks-blue);
  font-weight: 500;
}

.ks-docs-block__more:hover {
  color: var(--ks-blue-hover);
}

.ks-docs-popular {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ks-docs-popular__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 156px;
  padding: 20px 18px 16px;
  border: 1px solid #e8eef7;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(20, 40, 80, .02);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.ks-docs-popular__card:hover {
  border-color: #cfe0ff;
  box-shadow: 0 10px 28px rgba(47, 107, 255, .08);
  transform: translateY(-2px);
}

.ks-docs-popular__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ks-ink);
}

.ks-docs-popular__desc {
  font-size: 13px;
  color: var(--ks-muted);
  line-height: 1.55;
  flex: 1;
}

.ks-docs-popular__arrow {
  align-self: flex-end;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #f3f6fb;
  color: var(--ks-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ks-docs-popular__card:hover .ks-docs-popular__arrow {
  background: var(--ks-blue-soft);
}

.ks-docs-cats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ks-docs-cats__card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 18px 18px;
  border: 1px solid #e8eef7;
  border-radius: 14px;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.ks-docs-cats__card:hover {
  border-color: #cfe0ff;
  box-shadow: 0 8px 22px rgba(47, 107, 255, .07);
}

.ks-docs-cats__title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ks-ink);
}

.ks-docs-cats__desc {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--ks-muted);
  line-height: 1.5;
}

.ks-docs-cats__chev {
  color: #9aa6b8;
  display: inline-flex;
}

.ks-docs-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.ks-docs-ico svg {
  width: 22px;
  height: 22px;
}

.ks-docs-ico--blue { background: #e8f1ff; color: #2f6bff; }
.ks-docs-ico--orange { background: #fff3e8; color: #f5a524; }
.ks-docs-ico--green { background: #e9f8ef; color: #22a06b; }
.ks-docs-ico--indigo { background: #ecebff; color: #5b5bd6; }
.ks-docs-ico--pink { background: #ffe8f1; color: #e31c79; }
.ks-docs-ico--amber { background: #fff4d6; color: #f5a524; }
.ks-docs-ico--cyan { background: #e6f7fb; color: #0f8aaa; }

.ks-docs-recent {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #e8eef7;
  border-radius: 14px;
  overflow: hidden;
}

.ks-docs-recent__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 0 18px;
  border-bottom: 1px solid #eef2f8;
  transition: background-color .15s ease;
}

.ks-docs-recent li:last-child .ks-docs-recent__item {
  border-bottom: 0;
}

.ks-docs-recent__item:hover {
  background: #f8fbff;
}

.ks-docs-recent__ico {
  color: #8a96a8;
  display: inline-flex;
}

.ks-docs-recent__title {
  font-size: 14px;
  font-weight: 500;
  color: var(--ks-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ks-docs-recent__item:hover .ks-docs-recent__title {
  color: var(--ks-blue);
}

.ks-docs-recent__tag {
  font-size: 12px;
  color: #6b778c;
  background: #f1f4f9;
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}

.ks-docs-recent__date {
  font-size: 13px;
  color: #8a96a8;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  min-width: 88px;
  text-align: right;
}

.ks-docs-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.ks-docs-toolbar__title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
}

.ks-docs-toolbar__meta {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--ks-muted);
}

.ks-docs-toolbar__back {
  font-size: 13px;
  color: var(--ks-blue);
  font-weight: 500;
  white-space: nowrap;
}

.ks-docs-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  font-size: 13px;
  color: #8a96a8;
  line-height: 1.4;
}

.ks-docs-breadcrumb a {
  color: #6b778c;
}

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

.ks-docs-breadcrumb__sep {
  color: #c5cedb;
}

.ks-docs-breadcrumb__current {
  color: var(--ks-ink);
  font-weight: 500;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ks-docs-article {
  max-width: 820px;
}

.ks-docs-article__head {
  padding-bottom: 24px;
  border-bottom: 1px solid #eef2f8;
}

.ks-docs-article__eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ks-blue);
}

.ks-docs-article__title {
  margin: 0;
  font-size: 32px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ks-ink);
}

.ks-docs-article__summary {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ks-muted);
}

.ks-docs-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 16px;
  font-size: 13px;
  color: #8a96a8;
}

.ks-docs-article__meta a {
  color: var(--ks-blue);
  font-weight: 500;
}

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

.ks-docs-article__body.ks-help-prose {
  margin-top: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  max-width: none;
}

.ks-docs-article__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  padding: 22px 24px;
  border: 1px solid #e8eef7;
  border-radius: 14px;
  background: #f8fbff;
}

.ks-docs-article__foot-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--ks-ink);
}

.ks-docs-article__foot-desc {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ks-muted);
}

.ks-docs-article__foot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: none;
}

.ks-docs-side__panel-head,
.ks-docs-mbar {
  display: none;
}

.ks-docs-side-mask {
  display: none;
}

@media (max-width: 1100px) {
  .ks-docs-main {
    padding: 28px 28px 48px;
  }

  .ks-docs-popular {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .ks-docs {
    overflow-x: clip;
  }

  .ks-docs__frame {
    display: block;
    width: 100%;
    max-width: none;
  }

  .ks-docs-mbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 18px;
  }

  .ks-docs-mbar__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 14px;
    border: 1px solid #d5deec;
    border-radius: 999px;
    background: #fff;
    color: var(--ks-ink);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
  }

  .ks-docs-mbar__btn:hover {
    border-color: var(--ks-blue);
    color: var(--ks-blue);
    background: var(--ks-blue-soft);
  }

  .ks-docs-mbar__all {
    font-size: 13px;
    color: var(--ks-blue);
    font-weight: 500;
  }

  .ks-docs-side-mask {
    display: block;
    position: fixed;
    inset: var(--ks-header) 0 0;
    z-index: 80;
    background: rgba(16, 24, 40, .36);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
  }

  .ks-docs-side-mask.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .ks-docs-side {
    position: fixed;
    top: var(--ks-header);
    left: 0;
    bottom: 0;
    z-index: 81;
    width: min(86vw, 304px);
    height: auto;
    max-height: none;
    padding: 12px 12px calc(28px + env(safe-area-inset-bottom, 0px));
    border-right: 0;
    border-bottom: 0;
    box-shadow: 12px 0 32px rgba(20, 40, 80, .14);
    transform: translate3d(-105%, 0, 0);
    transition: transform .24s ease;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    visibility: hidden;
    pointer-events: none;
  }

  .ks-docs-side.is-open {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
  }

  .ks-docs-side__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 10px 14px;
    font-size: 15px;
    font-weight: 700;
  }

  .ks-docs-side__close {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    background: #f3f6fb;
    color: #4b5568;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: none;
  }

  .ks-docs-side__list {
    grid-template-columns: 1fr;
  }

  .ks-docs-main {
    width: 100%;
    max-width: none;
    padding: 20px 20px 48px;
  }

  .ks-docs-hero__title {
    font-size: 28px;
  }

  .ks-docs-search {
    max-width: none;
  }

  .ks-docs-block {
    margin-top: 28px;
  }

  .ks-docs-popular,
  .ks-docs-cats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ks-docs-popular__card {
    min-height: 0;
  }

  .ks-docs-recent__item {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px 12px;
    padding: 12px 14px;
    min-height: 0;
  }

  .ks-docs-recent__tag,
  .ks-docs-recent__date {
    grid-column: 2;
    justify-self: start;
    text-align: left;
    min-width: 0;
  }

  .ks-docs-recent__title {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .ks-docs-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .ks-docs-article__title {
    font-size: 26px;
  }

  .ks-docs-article__foot {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
  }

  body.ks-docs-side-open {
    overflow: hidden;
  }
}

@media (max-width: 640px) {
  .ks-docs-main {
    padding: 16px max(16px, env(safe-area-inset-right)) 40px max(16px, env(safe-area-inset-left));
  }

  .ks-docs-hero__title {
    font-size: 24px;
  }

  .ks-docs-hero__desc {
    font-size: 14px;
  }

  .ks-docs-popular__card {
    padding: 16px;
  }

  .ks-docs-cats__card {
    padding: 14px;
    gap: 12px;
  }

  .ks-docs-search__box {
    height: 46px;
    padding-left: 14px;
  }

  .ks-docs-toolbar__title {
    font-size: 22px;
  }

  .ks-docs-article__title {
    font-size: 22px;
  }

  .ks-docs-article__summary {
    font-size: 14px;
  }

  .ks-docs-breadcrumb__current {
    white-space: normal;
  }
}

.ks-news-article-cover {
  margin: 0 0 24px;
}

.ks-news-article-cover img {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 12px;
}

.ks-news-related {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ks-news-related a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  background: #f7f8fa;
  transition: background 0.15s ease;
}

.ks-news-related a:hover {
  background: #eef2f7;
}

.ks-news-related__title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ks-text, #1a2333);
}

.ks-news-related__date {
  font-size: 12px;
  color: var(--ks-muted, #6b7280);
}


/* ========== 大模型网关 ========== */
.ks-page-gateway {
  --gw-ink: var(--ks-ink);
  --gw-muted: var(--ks-muted);
  --gw-accent: var(--ks-blue);
  --gw-accent-soft: var(--ks-blue-soft);
  background: var(--ks-bg);
}

.ks-gw-main {
  min-height: calc(100vh - var(--ks-header));
}

.ks-gw-board {
  position: relative;
  overflow: hidden;
  padding: 28px 0 48px;
}

.ks-gw-board__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 42%, rgba(47, 107, 255, 0.22) 0%, rgba(61, 214, 198, 0.1) 36%, rgba(245, 248, 252, 0.35) 68%, #f5f8fc 100%),
    linear-gradient(180deg, #eaf2ff 0%, #f5f8fc 48%, #ffffff 100%);
  pointer-events: none;
}

.ks-gw-board__bg::after {
  content: "";
  position: absolute;
  inset: 8% 12% auto;
  height: 52%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.7), transparent 70%);
  filter: blur(8px);
}

.ks-gw-board__inner {
  position: relative;
  z-index: 1;
}

.ks-gw-protocol {
  position: relative;
  z-index: 40;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  margin: 4px auto 12px;
  width: fit-content;
  max-width: min(920px, 100%);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--ks-line);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(31, 87, 239, 0.08);
  backdrop-filter: blur(12px);
}

.ks-gw-protocol__picker {
  position: relative;
  flex: 0 0 auto;
  z-index: 2;
}

.ks-gw-protocol .ks-gw-protocol__select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--gw-ink, #1a2333);
  font: inherit;
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  appearance: none;
  -webkit-appearance: none;
}

.ks-gw-protocol .ks-gw-protocol__select[aria-expanded="true"] {
  color: var(--ks-blue);
}

.ks-gw-protocol .ks-gw-protocol__select[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.ks-gw-protocol .ks-gw-protocol__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: max(100%, 168px);
  margin: 0;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--ks-line, #e8eef7);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(31, 87, 239, 0.12);
  pointer-events: auto;
}

.ks-gw-protocol .ks-gw-protocol__menu[hidden] {
  display: none !important;
}

.ks-gw-protocol .ks-gw-protocol__option {
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--gw-ink, #1a2333);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
  appearance: none;
  -webkit-appearance: none;
}

.ks-gw-protocol .ks-gw-protocol__option:hover,
.ks-gw-protocol .ks-gw-protocol__option.is-active {
  background: var(--ks-blue-soft, #eaf2ff);
  color: var(--ks-blue, #2f6bff);
}

.ks-gw-protocol__endpoint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  padding: 0 12px 0 14px;
  border-left: 1px solid var(--ks-line, #e8eef7);
  border-radius: 0 14px 14px 0;
  background: rgba(234, 242, 255, 0.45);
}

.ks-gw-protocol__endpoint code {
  flex: 1 1 auto;
  min-width: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.35;
  color: #4a5568;
  white-space: nowrap;
  overflow: visible;
}

.ks-gw-protocol .ks-gw-protocol__copy {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #7b8494;
  font: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.ks-gw-protocol .ks-gw-protocol__copy:hover {
  background: var(--ks-blue-soft, #eaf2ff);
  color: var(--ks-blue, #2f6bff);
}

.ks-gw-protocol .ks-gw-protocol__copy.is-copied {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

.ks-gw-protocol .ks-gw-protocol__copy.is-failed {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

.ks-gw-protocol__copy-icons {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
}

.ks-gw-protocol__copy-icons svg {
  position: absolute;
  inset: 0;
  display: block;
}

.ks-gw-protocol__copy-icon {
  opacity: 1;
}

.ks-gw-protocol__copy-check {
  opacity: 0;
}

.ks-gw-protocol .ks-gw-protocol__copy.is-copied .ks-gw-protocol__copy-icon {
  opacity: 0;
}

.ks-gw-protocol .ks-gw-protocol__copy.is-copied .ks-gw-protocol__copy-check {
  opacity: 1;
}

.ks-gw-protocol__copy-tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  padding: 4px 8px;
  border-radius: 6px;
  background: #1f2937;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease;
}

.ks-gw-protocol__copy-tip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -4px;
  border: 4px solid transparent;
  border-top-color: #1f2937;
}

.ks-gw-protocol .ks-gw-protocol__copy.is-copied .ks-gw-protocol__copy-tip,
.ks-gw-protocol .ks-gw-protocol__copy.is-failed .ks-gw-protocol__copy-tip {
  opacity: 1;
  visibility: visible;
}

.ks-gw-stage {
  position: relative;
  z-index: 1;
  display: block;
  min-height: 420px;
  height: clamp(400px, 44vw, 480px);
  margin-bottom: 10px;
}

.ks-gw-stage__canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.ks-gw-flows {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ks-gw-flows__rail-soft {
  stroke-width: 9;
  opacity: 0.22;
  filter: blur(4px);
  vector-effect: non-scaling-stroke;
}

.ks-gw-flows__rail {
  stroke-width: 1.35;
  opacity: 0.72;
  vector-effect: non-scaling-stroke;
}

.ks-gw-flows__beam-glow,
.ks-gw-flows__beam,
.ks-gw-flows__beam-core {
  --gw-dash: 1400;
  --gw-head: 40;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: ks-gw-beam-run var(--gw-loop, 4.8s) linear infinite;
  animation-play-state: paused;
}

.ks-gw-board.is-visible .ks-gw-flows__beam-glow,
.ks-gw-board.is-visible .ks-gw-flows__beam,
.ks-gw-board.is-visible .ks-gw-flows__beam-core {
  animation-play-state: running;
}

.ks-gw-flows__beam-glow {
  stroke-width: 7;
  stroke-dasharray: var(--gw-head) var(--gw-dash);
  opacity: 0.42;
  filter: url(#gwFlowGlow);
}

.ks-gw-flows__beam {
  stroke-width: 2.35;
  stroke-dasharray: 0 14 26 var(--gw-dash);
  opacity: 0.95;
}

.ks-gw-flows__beam-core {
  stroke-width: 1.05;
  stroke-dasharray: 0 28 12 var(--gw-dash);
  opacity: 1;
}

@keyframes ks-gw-beam-run {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: var(--gw-shift, -1440); }
}

.ks-gw-stage__label {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--ks-muted);
  white-space: nowrap;
  pointer-events: none;
}

.ks-gw-stage__label--left,
.ks-gw-stage__label--right {
  left: 0;
  top: 0;
}

.ks-gw-stage__label span {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--ks-blue);
  opacity: 0.45;
  flex-shrink: 0;
}

.ks-gw-stage__foot {
  position: absolute;
  z-index: 4;
  margin: 0;
  font-size: 12px;
  color: rgba(26, 35, 51, 0.45);
  white-space: nowrap;
  pointer-events: none;
}

.ks-gw-stage__foot--left,
.ks-gw-stage__foot--right {
  left: 0;
  top: 0;
  text-align: center;
}

.ks-gw-cards {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ks-gw-cards--agents,
.ks-gw-cards--models {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.ks-gw-cards--agents .ks-gw-card,
.ks-gw-cards--models .ks-gw-card {
  position: absolute;
  left: 0;
  top: 0;
  width: min(176px, 24%);
  min-width: 140px;
  min-height: 64px;
  pointer-events: auto;
  /* opacity-only entrance so JS ellipse transform is not overwritten */
  animation-name: ks-gw-fade-in;
}

@keyframes ks-gw-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.ks-gw-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(215, 230, 255, 0.95);
  box-shadow: 0 10px 28px rgba(31, 87, 239, 0.08);
  backdrop-filter: blur(14px);
  animation: ks-gw-rise 0.65s ease both;
  animation-delay: calc(var(--i, 0) * 70ms);
  transition:
    border-color 0.45s ease,
    box-shadow 0.45s ease,
    background 0.45s ease;
}

.ks-gw-card--model {
  overflow: hidden;
  isolation: isolate;
}

.ks-gw-card:not(.ks-gw-card--model) {
  overflow: hidden;
  isolation: isolate;
}

.ks-gw-card > * {
  position: relative;
  z-index: 1;
}

/* 流光到达：边框游走光带 */
.ks-gw-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(
    115deg,
    transparent 18%,
    rgba(47, 107, 255, 0.15) 32%,
    rgba(120, 186, 255, 1) 48%,
    rgba(47, 107, 255, 0.95) 58%,
    transparent 72%
  );
  background-size: 260% 260%;
  background-position: 0% 50%;
  opacity: 0;
  pointer-events: none;
  z-index: 3;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* 流光到达：斜向扫光 */
.ks-gw-card::after {
  content: '';
  position: absolute;
  inset: -20% -40%;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 255, 255, 0.08) 44%,
    rgba(255, 255, 255, 0.72) 50%,
    rgba(120, 186, 255, 0.28) 54%,
    transparent 62%
  );
  transform: translateX(-75%) skewX(-16deg);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: soft-light;
}

.ks-gw-card.is-lit {
  border-color: rgba(47, 107, 255, 0.42);
  background:
    linear-gradient(135deg, rgba(236, 243, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 55%, rgba(244, 249, 255, 0.96) 100%);
  box-shadow:
    0 0 0 1px rgba(47, 107, 255, 0.18),
    0 14px 36px rgba(31, 87, 239, 0.16),
    0 0 42px rgba(47, 107, 255, 0.28);
}

.ks-gw-card.is-lit::before {
  animation: ks-gw-border-beam 1.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ks-gw-card.is-lit::after {
  animation: ks-gw-card-sheen 1.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ks-gw-card.is-lit .ks-gw-card__logo,
.ks-gw-card.is-lit .ks-gw-card__ico {
  border-color: rgba(47, 107, 255, 0.35);
  background: rgba(47, 107, 255, 0.08);
  box-shadow:
    0 0 0 3px rgba(47, 107, 255, 0.1),
    0 0 18px rgba(47, 107, 255, 0.28);
  animation: ks-gw-logo-pop 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ks-gw-card.is-lit .ks-gw-card__name {
  color: #1a3f9c;
}

@keyframes ks-gw-border-beam {
  0% {
    opacity: 0;
    background-position: 0% 50%;
  }
  12% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0.35;
    background-position: 100% 50%;
  }
}

@keyframes ks-gw-card-sheen {
  0% {
    opacity: 0;
    transform: translateX(-75%) skewX(-16deg);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(75%) skewX(-16deg);
  }
}

@keyframes ks-gw-logo-pop {
  0% {
    transform: scale(0.92);
    filter: brightness(1);
  }
  45% {
    transform: scale(1.08);
    filter: brightness(1.08);
  }
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
}

/* hub pulse driven by --hub-e continuously; legacy one-shot unused */

.ks-gw-card__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: var(--ks-blue);
  flex-shrink: 0;
  transition:
    box-shadow 0.4s ease,
    background 0.4s ease,
    border-color 0.4s ease,
    transform 0.4s ease;
}

.ks-gw-card__ico svg {
  width: 100%;
  height: 100%;
}

.ks-gw-card__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(215, 230, 255, 0.9);
  transition:
    box-shadow 0.4s ease,
    background 0.4s ease,
    border-color 0.4s ease,
    transform 0.4s ease;
}

.ks-gw-card__logo img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.ks-gw-card__name {
  font-size: 14px;
  font-weight: 650;
  color: var(--gw-ink);
  transition: color 0.4s ease;
}

.ks-gw-card__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ks-gw-card__sub {
  font-size: 11px;
  color: var(--gw-muted);
}

.ks-gw-stage__hub {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

@property --hub-e {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

.ks-gw-hub-orb {
  position: relative;
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  --hub-e: 0;
  transition: --hub-e 0.55s ease;
}

.ks-gw-hub-orb__glow {
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(47, 107, 255, 0.22) 48%, transparent 72%);
  filter: blur(2px);
  opacity: calc(0.5 + var(--hub-e) * 0.45);
  transform: scale(calc(1 + var(--hub-e) * 0.1));
}

.ks-gw-hub-orb__disk {
  position: relative;
  z-index: 1;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(215, 230, 255, 0.98);
  transform: scale(calc(1 + var(--hub-e) * 0.028));
  box-shadow:
    0 12px 36px rgba(31, 87, 239, calc(0.16 + var(--hub-e) * 0.12)),
    0 0 0 calc(10px + var(--hub-e) * 4px) rgba(234, 242, 255, calc(0.65 + var(--hub-e) * 0.1)),
    0 0 calc(18px + var(--hub-e) * 16px) rgba(47, 107, 255, calc(var(--hub-e) * 0.28));
}

.ks-gw-hub-orb__disk img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
}

.ks-gw-hub-orb__title {
  display: block;
  margin: 0;
  max-width: min(240px, 72vw);
  padding: 0 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: var(--gw-ink);
  white-space: nowrap;
  text-align: center;
  opacity: calc(1 - var(--hub-e) * 0.06);
}

@keyframes ks-gw-breathe {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes ks-gw-pulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 107, 255, 0.45); }
  70% { box-shadow: 0 0 0 10px rgba(47, 107, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 107, 255, 0); }
}

@keyframes ks-gw-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.ks-gw-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 16px;
}

.ks-gw-intro__eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  color: var(--ks-muted);
}

.ks-gw-intro__title {
  margin: 0 0 10px;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--gw-ink);
  line-height: 1.2;
}

.ks-gw-intro__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(26, 35, 51, 0.68);
}

.ks-gw-features {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 18px;
}

.ks-gw-feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: 0;
  min-width: 0;
  padding: 12px 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--ks-line);
  backdrop-filter: blur(10px);
  color: #4a5568;
  box-shadow: 0 4px 14px rgba(31, 87, 239, 0.04);
  text-align: left;
}

.ks-gw-feature__ico {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--ks-blue);
}

.ks-gw-feature__ico svg {
  width: 100%;
  height: 100%;
}

.ks-gw-feature__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  width: 100%;
}

.ks-gw-feature__title {
  font-size: 13px;
  font-weight: 650;
  line-height: 1.3;
  color: var(--gw-ink);
}

.ks-gw-feature__desc {
  font-size: 11px;
  line-height: 1.45;
  color: rgba(26, 35, 51, 0.55);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ks-gw-board__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.ks-gw-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  font-size: 13px;
  color: rgba(26, 35, 51, 0.62);
}

.ks-gw-proof__dots {
  display: inline-flex;
}

.ks-gw-proof__dots i {
  width: 22px;
  height: 22px;
  margin-left: -8px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: linear-gradient(135deg, #9bb8ff, #2f6bff);
}

.ks-gw-proof__dots i:nth-child(2) { background: linear-gradient(135deg, #8eb6ff, #1f57ef); }
.ks-gw-proof__dots i:nth-child(3) { background: linear-gradient(135deg, #7de2d1, #3dd6c6); }
.ks-gw-proof__dots i:nth-child(4) { background: linear-gradient(135deg, #b8c9ff, #5a7fff); }
.ks-gw-proof__dots i:first-child { margin-left: 0; }

.ks-gw-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.ks-gw-section {
  padding: 56px 0;
}

.ks-gw-section--muted {
  background: linear-gradient(180deg, #f5f8fc 0%, #eef4ff 100%);
}

.ks-gw-section--stats {
  padding: 0;
  margin-top: -8px;
}

.ks-gw-section--cta {
  padding: 48px 0 72px;
}

.ks-gw-section__head {
  max-width: 640px;
  margin: 0 auto 28px;
  text-align: center;
}

.ks-gw-section__title {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 720;
  color: var(--gw-ink);
  letter-spacing: -0.015em;
}

.ks-gw-section__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(26, 35, 51, 0.62);
}

.ks-gw-stats {
  list-style: none;
  margin: 0;
  padding: 22px 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--ks-line);
  box-shadow: 0 12px 32px rgba(31, 87, 239, 0.06);
}

.ks-gw-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  padding: 8px 6px;
}

.ks-gw-stat__value {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 750;
  color: var(--ks-blue);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.ks-gw-stat__label {
  font-size: 13px;
  color: var(--ks-muted);
}

.ks-gw-scenes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ks-gw-scene {
  padding: 22px 22px 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--ks-line);
  box-shadow: 0 8px 24px rgba(31, 87, 239, 0.04);
}

.ks-gw-scene__title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 650;
  color: var(--gw-ink);
}

.ks-gw-scene__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(26, 35, 51, 0.62);
}

.ks-gw-sdk {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ks-gw-sdk__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ks-gw-sdk__langs,
.ks-gw-sdk__protocols {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ks-gw-sdk__tab,
.ks-gw-sdk__chip {
  border: 1px solid var(--ks-line);
  background: #fff;
  color: var(--ks-muted);
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ks-gw-sdk__tab {
  border-radius: 10px;
  padding: 7px 12px;
  font-size: 13px;
}

.ks-gw-sdk__chip {
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
}

.ks-gw-sdk__tab:hover,
.ks-gw-sdk__chip:hover {
  border-color: var(--ks-blue-line);
  color: var(--ks-blue);
}

.ks-gw-sdk__tab.is-active,
.ks-gw-sdk__chip.is-active {
  background: var(--ks-blue-soft, #eaf2ff);
  border-color: var(--ks-blue-line);
  color: var(--ks-blue);
}

.ks-gw-code {
  border-radius: 16px;
  border: 1px solid var(--ks-line);
  background: #0f1724;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(15, 23, 36, 0.18);
}

.ks-gw-code__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.ks-gw-code__copy {
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.ks-gw-code__copy:hover,
.ks-gw-code__copy.is-copied {
  background: rgba(47, 107, 255, 0.55);
}

.ks-gw-code__pre {
  margin: 0;
  padding: 16px 18px 18px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.6;
  color: #d7e3ff;
  white-space: pre;
}

.ks-gw-code__pre code {
  font: inherit;
  color: inherit;
}

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

.ks-gw-trust__item {
  padding: 18px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--ks-line);
}

.ks-gw-trust__title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 650;
  color: var(--gw-ink);
}

.ks-gw-trust__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(26, 35, 51, 0.62);
}

.ks-gw-final {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 36px 24px;
  border-radius: 20px;
  background:
    radial-gradient(ellipse 80% 80% at 50% 0%, rgba(47, 107, 255, 0.14), transparent 60%),
    #fff;
  border: 1px solid var(--ks-line);
  box-shadow: 0 16px 40px rgba(31, 87, 239, 0.07);
}

.ks-gw-final__title {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 720;
  color: var(--gw-ink);
}

.ks-gw-final__desc {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(26, 35, 51, 0.62);
}

@media (max-width: 1100px) {
  .ks-gw-hub-orb__title {
    font-size: 13px;
    white-space: normal;
    max-width: min(200px, 56vw);
  }
}

@media (max-width: 980px) {
  .ks-gw-stage {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 0;
    height: auto;
  }

  .ks-gw-stage__canvas {
    display: none;
  }

  .ks-gw-stage__label,
  .ks-gw-stage__foot {
    position: static;
    width: auto !important;
    transform: none !important;
    text-align: left !important;
    white-space: normal;
    pointer-events: auto;
  }

  .ks-gw-stage__label {
    justify-content: flex-start;
  }

  .ks-gw-stage__hub {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    order: 0;
    width: 100%;
    max-width: 100%;
    padding: 8px 12px;
    box-sizing: border-box;
  }

  .ks-gw-hub-orb {
    width: 96px;
    height: 96px;
  }

  .ks-gw-hub-orb__disk {
    width: 76px;
    height: 76px;
    box-shadow:
      0 10px 28px rgba(31, 87, 239, 0.14),
      0 0 0 8px rgba(234, 242, 255, 0.65);
  }

  .ks-gw-hub-orb__disk img {
    width: 46px;
    height: 46px;
  }

  .ks-gw-hub-orb__title {
    max-width: 100%;
    white-space: normal;
    font-size: 13px;
    letter-spacing: 0.01em;
  }

  .ks-gw-cards--agents,
  .ks-gw-cards--models {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: auto;
  }

  .ks-gw-stage__hub { order: 0; }
  .ks-gw-stage__label--left { order: 1; }
  .ks-gw-cards--agents { order: 2; }
  .ks-gw-stage__foot--left { order: 3; }
  .ks-gw-stage__label--right { order: 4; }
  .ks-gw-cards--models { order: 5; }
  .ks-gw-stage__foot--right { order: 6; }

  .ks-gw-cards--agents .ks-gw-card,
  .ks-gw-cards--models .ks-gw-card {
    position: static;
    left: auto;
    top: auto;
    width: auto;
    min-width: 0;
    transform: none !important;
  }

  .ks-gw-features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .ks-gw-feature {
    flex-direction: row;
    gap: 10px;
    padding: 14px;
  }

  .ks-gw-feature__desc {
    -webkit-line-clamp: 2;
  }

  .ks-gw-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ks-gw-scenes {
    grid-template-columns: 1fr 1fr;
  }

  .ks-gw-sdk__toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .ks-gw-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ks-gw-section {
    padding: 44px 0;
  }
}

@media (max-width: 640px) {
  .ks-gw-hub-orb {
    width: 84px;
    height: 84px;
  }

  .ks-gw-hub-orb__disk {
    width: 66px;
    height: 66px;
  }

  .ks-gw-hub-orb__disk img {
    width: 40px;
    height: 40px;
  }

  .ks-gw-hub-orb__title {
    font-size: 12px;
    max-width: 100%;
  }

  .ks-gw-protocol {
    width: 100%;
    flex-direction: column;
  }

  .ks-gw-protocol__endpoint {
    min-width: 0;
    width: 100%;
    border-left: 0;
    border-top: 1px solid var(--ks-line);
    border-radius: 0 0 14px 14px;
  }

  .ks-gw-protocol__endpoint code {
    max-width: none;
  }

  .ks-gw-protocol__menu {
    left: 8px;
    right: 8px;
    min-width: 0;
  }

  .ks-gw-intro__desc {
    font-size: 14px;
  }

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

  .ks-gw-feature {
    flex-direction: column;
    padding: 12px;
  }

  .ks-gw-feature__desc {
    -webkit-line-clamp: 3;
  }

  .ks-gw-stats {
    grid-template-columns: 1fr 1fr;
    padding: 16px 12px;
  }

  .ks-gw-scenes,
  .ks-gw-trust {
    grid-template-columns: 1fr;
  }

  .ks-gw-proof {
    flex-direction: column;
    text-align: center;
  }

  .ks-gw-actions {
    width: 100%;
  }

  .ks-gw-actions .ks-btn {
    flex: 1 1 100%;
  }

  .ks-gw-final {
    padding: 28px 16px;
  }

  .ks-gw-section {
    padding: 36px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ks-gw-hub-orb__glow,
  .ks-gw-hub-orb__disk,
  .ks-gw-flows__beam-glow,
  .ks-gw-flows__beam,
  .ks-gw-flows__beam-core,
  .ks-gw-card,
  .ks-gw-card.is-lit::before,
  .ks-gw-card.is-lit::after,
  .ks-gw-card.is-lit .ks-gw-card__logo,
  .ks-gw-card.is-lit .ks-gw-card__ico {
    animation: none !important;
    transition: none !important;
  }

  .ks-gw-flows__beam-glow,
  .ks-gw-flows__beam,
  .ks-gw-flows__beam-core {
    animation: none !important;
    stroke-dasharray: none;
    opacity: 0.28;
  }
}

/* 产品服务下拉 */
.ks-nav__item {
  position: relative;
  display: flex;
  align-items: center;
}

.ks-nav__menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 168px;
  padding: 8px;
  margin: 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--ks-line);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(26, 35, 51, 0.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  /* 移出时稍晚收起，方便斜向移入二级菜单 */
  transition-delay: 0.18s;
  z-index: 40;
}

/* 填充触发项与菜单之间的空隙，避免 hover 中断 */
.ks-nav__menu::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;
  height: 16px;
}

.ks-nav__item:hover .ks-nav__menu,
.ks-nav__item:focus-within .ks-nav__menu,
.ks-nav__item.is-open .ks-nav__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}

.ks-nav__menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--ks-ink);
}

.ks-nav__menu a:hover {
  background: var(--ks-blue-soft);
  color: var(--ks-blue);
}

@media (max-width: 1100px) {
  .ks-nav__item {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .ks-nav__menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0 0 0 12px;
    min-width: 0;
  }

  .ks-nav__item:hover .ks-nav__menu,
  .ks-nav__item:focus-within .ks-nav__menu {
    transform: none;
  }
}

/* —— 实时定价 —— */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ks-page-pricing {
  background: var(--ks-white);
}

.ks-price-hero .ks-help-hero__stage {
  min-height: clamp(240px, 28vw, 320px);
  padding: 40px 0 48px;
}

.ks-price-notes {
  padding: 8px 0 8px;
  background: var(--ks-bg);
}

.ks-price-notes__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 28px 0;
}

.ks-price-note {
  background: #fff;
  border: 1px solid var(--ks-line);
  border-radius: var(--ks-radius);
  padding: 20px 22px;
}

.ks-price-note h2 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
}

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

.ks-price-body {
  padding: 32px 0 80px;
}

.ks-price-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.ks-price-tabs {
  display: flex;
  flex-wrap: wrap;
  flex: 0 1 auto;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 6px;
  padding: 4px;
  background: #f2f5fa;
  border-radius: 12px;
}

.ks-price-tabs__item {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  height: 36px;
  padding: 0 12px 0 8px;
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  color: #5c6b82;
  cursor: pointer;
  line-height: 1;
  pointer-events: auto;
  position: relative;
  z-index: 1;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.ks-price-tabs__logo {
  width: 18px;
  height: 18px;
  max-width: 18px;
  border-radius: 4px;
  object-fit: contain;
  background: #fff;
  flex-shrink: 0;
  pointer-events: none;
}

.ks-price-tabs__logo--all {
  background: transparent;
}

.ks-price-tabs__item:hover {
  color: var(--ks-blue);
  background: rgba(255, 255, 255, .72);
}

.ks-price-tabs__item.is-active {
  background: #fff;
  color: var(--ks-blue);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(22, 40, 80, .08);
}

.ks-price-tabs__item:focus-visible {
  outline: 2px solid rgba(47, 107, 255, .35);
  outline-offset: 1px;
}

.ks-price-search {
  flex: 0 0 auto;
  min-width: min(260px, 100%);
  margin-left: auto;
}

.ks-price-search input {
  width: 100%;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--ks-line);
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  color: var(--ks-ink);
  background: #fff;
  outline: none;
}

.ks-price-search input:focus {
  border-color: var(--ks-blue);
  box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.12);
}

.ks-price-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--ks-line);
  border-radius: 16px;
  background: #fff;
}

.ks-price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1180px;
}

.ks-price-table th,
.ks-price-table td {
  padding: 14px 16px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--ks-line);
  vertical-align: middle;
}

.ks-price-table th {
  font-size: 13px;
  font-weight: 600;
  color: var(--ks-muted);
  background: #f8fbff;
}

.ks-price-table thead th {
  border-bottom: 1px solid var(--ks-line);
}

.ks-price-table thead tr:first-child th {
  padding-top: 14px;
  padding-bottom: 10px;
}

.ks-price-table thead tr:last-child th {
  padding-top: 8px;
  padding-bottom: 10px;
}

.ks-price-h-vendor,
.ks-price-h-model,
.ks-price-h-ctx {
  vertical-align: middle;
}

.ks-price-table th.ks-price-h-official {
  text-align: center;
  color: #7a8494;
  background: #f3f5f8;
  font-weight: 600;
}

.ks-price-table th.ks-price-h-kousuo {
  position: relative;
  overflow: hidden;
  text-align: center;
  color: var(--ks-blue);
  background: var(--ks-blue-soft);
}

.ks-price-h-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.ks-price-h-unit {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  opacity: 0.72;
}

.ks-price-h-sub {
  font-size: 12px;
  font-weight: 600;
}

.ks-price-h-tip {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  height: 22px;
  padding: 0 12px 0 14px;
  border-radius: 0 16px 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 22px;
  color: #fff;
  background: #e5484d;
  box-shadow: -2px 2px 8px rgba(229, 72, 77, .22);
}

.ks-price-split {
  border-left: 1px solid var(--ks-blue-line);
}

.ks-price-table tbody tr:last-child td,
.ks-price-table tbody tr[data-vendor-last] td {
  border-bottom: 1px solid #d5dce8;
}

.ks-price-table tbody tr:last-child td {
  border-bottom: 0;
}

.ks-price-vendor-cell {
  width: 120px;
  max-width: 148px;
  padding: 16px 12px;
  text-align: center;
  background: #f7f9fc;
  border-right: 1px solid var(--ks-line);
  vertical-align: middle;
}

.ks-price-vendor-cell.is-spanned {
  display: none;
}

.ks-price-h-vendor {
  width: 120px;
  text-align: center;
}

.ks-price-ctx {
  white-space: nowrap;
  color: #4b5568;
  font-variant-numeric: tabular-nums;
}

.ks-price-num {
  white-space: nowrap;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.ks-price-num--official {
  color: #8a94a3;
  background: #fafbfc;
}

.ks-price-num--official.is-struck .ks-price-num__val {
  text-decoration: line-through;
  text-decoration-color: #c9d0db;
}

.ks-price-num--kousuo {
  color: var(--ks-blue);
  font-weight: 700;
  background: #f7faff;
}

.ks-price-num__val {
  display: block;
  font-size: 15px;
  letter-spacing: 0.01em;
}

.ks-price-save {
  display: inline-block;
  margin-top: 3px;
  padding: 0 6px;
  height: 18px;
  line-height: 18px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ks-blue);
  background: var(--ks-blue-soft);
}

.ks-price-legend {
  margin: 12px 0 0;
  padding: 0;
  font-size: 12px;
  color: var(--ks-muted);
}

.ks-price-cards {
  display: none;
}

.ks-price-vendor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 13px;
  color: var(--ks-ink);
  line-height: 1.35;
  text-align: center;
}

.ks-price-vendor__logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--ks-line);
  flex-shrink: 0;
}

.ks-price-table tbody tr:hover td {
  background: #f7faff;
}

.ks-price-table tbody tr:hover td.ks-price-vendor-cell {
  background: #f7f9fc;
}

.ks-price-table tbody tr:hover td.ks-price-num--official {
  background: #f4f6f9;
}

.ks-price-table tbody tr:hover td.ks-price-num--kousuo {
  background: #eef4ff;
}

.ks-price-table tbody tr[hidden] {
  display: none;
}

.ks-price-model {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ks-price-model__logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: contain;
  background: #f4f7fb;
  border: 1px solid var(--ks-line);
}

.ks-price-model__name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ks-ink);
}

.ks-price-model__meta {
  margin-top: 2px;
  font-size: 12px;
  color: var(--ks-muted);
}

.ks-price-tag {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  color: var(--ks-blue);
  background: var(--ks-blue-soft);
}

.ks-price-empty {
  margin: 12px 0 0;
  padding: 36px 18px;
  text-align: center;
  color: var(--ks-muted);
  font-size: 14px;
}

.ks-price-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: 16px;
  background: #f4f8ff;
  border: 1px solid var(--ks-blue-line);
}

.ks-price-cta p {
  margin: 0;
  color: #3d4d68;
  font-size: 14px;
}

@media (max-width: 900px) {
  .ks-price-hero .ks-help-hero__stage {
    min-height: 0;
    padding: 28px 0 32px;
  }

  .ks-price-notes__grid {
    grid-template-columns: 1fr;
    padding: 16px 0;
  }

  .ks-price-note {
    padding: 16px 18px;
  }

  .ks-price-body {
    padding: 20px 0 56px;
  }

  .ks-price-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .ks-price-tabs {
    width: 100%;
    max-width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }

  .ks-price-tabs::-webkit-scrollbar {
    display: none;
  }

  .ks-price-tabs__item {
    flex: 0 0 auto;
  }

  .ks-price-search {
    width: 100%;
    min-width: 0;
    margin-left: 0;
  }

  .ks-price-table-wrap {
    display: none;
  }

  .ks-price-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .ks-price-card {
    background: #fff;
    border: 1px solid var(--ks-line);
    border-radius: 16px;
    overflow: hidden;
  }

  .ks-price-card[hidden] {
    display: none;
  }

  .ks-price-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px 12px;
  }

  .ks-price-card__logo {
    width: 36px;
    height: 36px;
    max-width: 36px;
    border-radius: 10px;
    object-fit: contain;
    background: #f4f7fb;
    border: 1px solid var(--ks-line);
    flex-shrink: 0;
  }

  .ks-price-card__name {
    font-size: 15px;
    font-weight: 700;
    color: var(--ks-ink);
    line-height: 1.35;
    word-break: break-word;
  }

  .ks-price-card__meta {
    margin-top: 3px;
    font-size: 12px;
    color: var(--ks-muted);
  }

  .ks-price-card__prices {
    width: 100%;
    border-collapse: collapse;
  }

  .ks-price-card__prices th,
  .ks-price-card__prices td {
    padding: 10px 12px;
    font-size: 13px;
    text-align: center;
    border-top: 1px solid var(--ks-line);
    vertical-align: middle;
  }

  .ks-price-card__prices tbody th {
    text-align: left;
    font-weight: 600;
    color: #5c6573;
    width: 52px;
    padding-left: 16px;
  }

  .ks-price-card__h-official {
    color: #7a8494;
    background: #f3f5f8;
    font-weight: 600;
  }

  .ks-price-card__h-kousuo {
    position: relative;
    overflow: hidden;
    color: var(--ks-blue);
    background: var(--ks-blue-soft);
    font-weight: 700;
  }

  .ks-price-card__prices .ks-price-num {
    white-space: normal;
  }

  .ks-price-card__prices .ks-price-num--official {
    background: #fafbfc;
  }

  .ks-price-card__prices .ks-price-num--kousuo {
    background: #f7faff;
  }

  .ks-price-card__prices .ks-price-num__val {
    font-size: 14px;
  }

  .ks-price-legend {
    margin-top: 14px;
    line-height: 1.6;
  }

  .ks-price-cta {
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
  }

  .ks-price-cta .ks-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ========== Integrated borderless marketing banners v8 ========== */
.ks-banner {
  --ks-banner-min-height: 388px;
  --ks-banner-stage-padding: 20px 0 26px;
  --ks-banner-art-max: 520px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 0;
  padding: 0;
  background:
    radial-gradient(circle at 76% 48%, rgba(47, 107, 255, .14), transparent 29%),
    radial-gradient(circle at 92% 16%, rgba(53, 211, 224, .08), transparent 22%),
    linear-gradient(112deg, #fbfdff 0%, #f5f9ff 50%, #edf4ff 100%);
}

.ks-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 42% 68% at 76% 50%, rgba(255, 255, 255, .55), transparent 72%),
    radial-gradient(circle at 92% 8%, rgba(89, 211, 255, .09), transparent 24%);
}

.ks-banner::after {
  display: none;
}

.ks-banner .ks-banner__stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(380px, 1.14fr);
  align-items: center;
  gap: clamp(24px, 4.5vw, 60px);
  min-height: var(--ks-banner-min-height);
  padding: var(--ks-banner-stage-padding);
}

.ks-banner .ks-banner__copy {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  padding: 0;
}

.ks-banner .ks-banner__visual {
  position: relative;
  inset: auto;
  z-index: 1;
  justify-self: end;
  width: 100%;
  max-width: var(--ks-banner-art-max);
  height: auto;
  aspect-ratio: 3 / 2;
  margin: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  pointer-events: none;
}

.ks-banner .ks-banner__visual::before {
  display: none;
}

.ks-banner .ks-banner__visual::after {
  display: none;
}

.ks-banner .ks-banner__stage .ks-banner__visual img {
  position: relative;
  inset: auto;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  padding: 0;
  object-fit: contain;
  object-position: center;
  transform: none;
  -webkit-mask-image: none;
  mask-image: none;
  filter: saturate(.96) contrast(1.01);
}

.ks-banner--home {
  --ks-banner-art-max: 740px;
  background:
    radial-gradient(ellipse 46% 82% at 78% 48%, rgba(85, 151, 255, .14), transparent 70%),
    radial-gradient(ellipse 28% 58% at 98% 24%, rgba(55, 214, 227, .09), transparent 72%),
    linear-gradient(106deg, #fbfdff 0%, #f7faff 42%, #eef5ff 100%);
}

.ks-banner--home .ks-banner__stage {
  display: flex;
  align-items: center;
  min-height: var(--ks-banner-min-height);
}

.ks-banner--home > .ks-banner__visual {
  position: absolute;
  inset: 0 0 0 clamp(560px, 42vw, 700px);
  width: calc(100% - clamp(560px, 42vw, 700px));
  max-width: none;
  height: 100%;
  aspect-ratio: auto;
  margin: 0;
  overflow: hidden;
}

.ks-banner--home > .ks-banner__visual img {
  position: absolute;
  top: 0;
  left: clamp(0px, calc((100vw - 1440px) * .35), 180px);
  width: 1000px;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  transform: none;
  transform-origin: center;
  filter: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .28) 9%, #000 22%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .28) 9%, #000 22%, #000 100%);
}

.ks-banner--pricing,
.ks-banner--news,
.ks-banner--about {
  --ks-banner-min-height: 280px;
  --ks-banner-stage-padding: 18px 0 22px;
  --ks-banner-art-max: 360px;
}

.ks-banner--pricing {
  background:
    radial-gradient(circle at 76% 50%, rgba(23, 178, 219, .12), transparent 28%),
    linear-gradient(112deg, #fbfdff 0%, #f5f9ff 52%, #eef6ff 100%);
}

.ks-banner--news {
  background:
    radial-gradient(circle at 77% 48%, rgba(82, 112, 255, .12), transparent 29%),
    linear-gradient(112deg, #fbfdff 0%, #f6f9ff 52%, #f0f4ff 100%);
}

.ks-banner--about {
  background:
    radial-gradient(circle at 77% 48%, rgba(23, 190, 202, .1), transparent 29%),
    linear-gradient(112deg, #fbfdff 0%, #f5faff 52%, #eef8ff 100%);
}

.ks-banner--pricing .ks-banner__stage .ks-banner__visual img,
.ks-banner--news .ks-banner__stage .ks-banner__visual img,
.ks-banner--about .ks-banner__stage .ks-banner__visual img {
  padding: 0;
}

@media (max-width: 1100px) {
  .ks-banner {
    --ks-banner-min-height: 360px;
    --ks-banner-stage-padding: 18px 0 22px;
    --ks-banner-art-max: 450px;
  }

  .ks-banner .ks-banner__stage {
    grid-template-columns: minmax(0, .95fr) minmax(340px, 1.05fr);
    gap: 24px;
  }

  .ks-banner--home {
    --ks-banner-art-max: 670px;
  }

  .ks-banner--home .ks-banner__stage {
    display: flex;
    min-height: var(--ks-banner-min-height);
  }

  .ks-banner--home > .ks-banner__visual {
    inset: 0 0 0 42%;
    width: 58%;
    height: 100%;
    margin: 0;
  }

  .ks-banner--pricing,
  .ks-banner--news,
  .ks-banner--about {
    --ks-banner-min-height: 260px;
    --ks-banner-stage-padding: 14px 0 18px;
    --ks-banner-art-max: 330px;
  }
}

@media (max-width: 860px) {
  .ks-banner {
    --ks-banner-min-height: 0;
    --ks-banner-stage-padding: 28px 0 22px;
    --ks-banner-art-max: 380px;
  }

  .ks-banner--pricing,
  .ks-banner--news,
  .ks-banner--about {
    --ks-banner-min-height: 0;
    --ks-banner-stage-padding: 22px 0 18px;
    --ks-banner-art-max: 300px;
  }

  .ks-banner .ks-banner__stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
    padding: var(--ks-banner-stage-padding);
  }

  .ks-banner--pricing .ks-banner__stage,
  .ks-banner--news .ks-banner__stage,
  .ks-banner--about .ks-banner__stage {
    gap: 10px;
  }

  .ks-banner .ks-banner__copy {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
  }

  .ks-banner .ks-banner__visual,
  .ks-banner--pricing .ks-banner__visual,
  .ks-banner--news .ks-banner__visual,
  .ks-banner--about .ks-banner__visual {
    position: relative;
    inset: auto;
    justify-self: center;
    width: min(100%, var(--ks-banner-art-max));
    height: auto;
    margin: 0 auto;
    transform: none;
  }

  .ks-banner--home {
    padding-bottom: 178px;
  }

  .ks-banner--home > .ks-banner__visual {
    position: absolute;
    inset: auto 0 0;
    width: 100%;
    max-width: none;
    height: 205px;
    margin: 0;
  }

  .ks-banner--home > .ks-banner__visual img {
    top: 0;
    left: -5%;
    width: 110%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 53%;
    transform: none;
  }

  .ks-banner .ks-hero__actions {
    justify-content: center;
  }

}

@media (max-width: 600px) {
  .ks-banner {
    --ks-banner-stage-padding: 22px 0 14px;
    --ks-banner-art-max: 280px;
  }

  .ks-banner--pricing,
  .ks-banner--news,
  .ks-banner--about {
    --ks-banner-stage-padding: 18px 0 12px;
    --ks-banner-art-max: 250px;
  }

  .ks-banner .ks-banner__stage {
    gap: 8px;
  }

  .ks-banner .ks-banner__visual,
  .ks-banner--pricing .ks-banner__visual,
  .ks-banner--news .ks-banner__visual,
  .ks-banner--about .ks-banner__visual {
    width: min(100%, var(--ks-banner-art-max));
    aspect-ratio: 3 / 2;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .ks-banner .ks-banner__stage .ks-banner__visual img,
  .ks-banner--pricing .ks-banner__stage .ks-banner__visual img,
  .ks-banner--news .ks-banner__stage .ks-banner__visual img,
  .ks-banner--about .ks-banner__stage .ks-banner__visual img {
    height: 100%;
    padding: 0;
    object-fit: contain;
    object-position: center;
  }

  .ks-banner .ks-hero__title {
    font-size: clamp(27px, 8.4vw, 32px);
  }

  .ks-banner .ks-help-hero__title {
    font-size: 25px;
  }

  .ks-banner--home {
    padding-bottom: 160px;
  }

  .ks-banner--home > .ks-banner__visual {
    position: absolute;
    inset: auto 0 0;
    width: 100%;
    max-width: none;
    height: 188px;
    aspect-ratio: auto;
    margin: 0;
  }

  .ks-banner--home > .ks-banner__visual img {
    position: absolute;
    top: 0;
    left: -6%;
    width: 112%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 53%;
  }
}

/* ========== Homepage unified hero backdrop v11 ========== */
/*
 * The hero art is intentionally a full-scene background, not a right-hand
 * illustration card.  Its left edge is softly composited into the same
 * near-white base as the copy area, removing the visible "pasted image" seam.
 */
.ks-banner--home {
  background: #f8fbff;
}

.ks-banner--home::before {
  display: none;
}

.ks-banner--home > .ks-banner__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #f8fbff;
}

.ks-banner--home > .ks-banner__visual img {
  position: absolute;
  top: 50%;
  right: 0;
  left: auto;
  display: block;
  width: min(1000px, 72vw);
  height: 132%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform: translateY(-50%);
  filter: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .22) 17%, rgba(0, 0, 0, .78) 37%, #000 54%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .22) 17%, rgba(0, 0, 0, .78) 37%, #000 54%);
}

.ks-banner--home .ks-banner__stage {
  z-index: 1;
}

@media (max-width: 1100px) {
  .ks-banner--home > .ks-banner__visual {
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .ks-banner--home > .ks-banner__visual img {
    width: min(900px, 82vw);
    height: 128%;
  }
}

@media (max-width: 860px) {
  .ks-banner--home {
    padding-bottom: 178px;
  }

  .ks-banner--home > .ks-banner__visual {
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .ks-banner--home > .ks-banner__visual img {
    top: auto;
    right: 50%;
    bottom: -18px;
    width: min(720px, 150vw);
    height: 250px;
    object-position: 66% center;
    transform: translateX(50%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .68) 32%, #000 58%);
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .68) 32%, #000 58%);
  }
}

@media (max-width: 600px) {
  .ks-banner--home {
    padding-bottom: 160px;
  }

  .ks-banner--home > .ks-banner__visual img {
    bottom: -13px;
    width: 160vw;
    height: 212px;
    object-position: 65% center;
  }
}
