@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("assets/fonts/noto-sans-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ku-navy: #0a1524;
  --ku-hero: #0c2035;
  --ku-surface: #132337;
  --ku-text: #e9f3fa;
  --ku-muted: #abc1d1;
  --ku-blue: #91baff;
  --ku-mint: #80ebc4;
  --ku-pale: #e6f0fb;
  --ku-light-text: #142633;
  --ku-font-latin: "Noto Sans";
  --ku-font-cjk: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", "Noto Sans CJK SC";
  --ku-font-sans: var(--ku-font-latin), var(--ku-font-cjk), system-ui, sans-serif;
}

/* The localized hero is visible before scripts run. Mask the untranslated sections only. */
html:not(.ku-ready) main > section ~ section,
html:not(.ku-ready) footer {
  visibility: hidden;
}

html:not(.ku-ready) nav .self-center img {
  display: none;
}

html:not(.ku-ready) nav .self-center:not(:has(.custom-brand))::before {
  content: "酷加科技";
  color: var(--ku-text);
  font-size: 20px;
  font-weight: 650;
}

html:not(.ku-ready) nav .cta-link[href="/careers"] {
  font-size: 0;
}

html:not(.ku-ready) nav .cta-link[href="/careers"]::after {
  content: "联系我们";
  font-size: .875rem;
}

html.ku-error:not(.ku-ready) .kuadd-video-wall::after {
  content: "部分内容未能加载，请刷新重试。";
  margin-top: 12px;
  color: var(--ku-muted);
  text-align: center;
}

.kuadd-video-wall .card:not([style*="transform"]) {
  visibility: hidden;
}

.kuadd-video-wall .card:is(:first-child, :nth-child(2), :last-child):not([style*="transform"]) {
  visibility: visible;
}

.kuadd-video-wall .card:first-child:not([style*="transform"]) {
  z-index: 1;
}

.kuadd-video-wall .card:nth-child(2):not([style*="transform"]) {
  transform: translateX(91%) scale(.87);
}

.kuadd-video-wall .card:last-child:not([style*="transform"]) {
  transform: translateX(-91%) scale(.87);
}

.ku-hero-card-copy {
  --ku-caption-fade: clamp(22px, 4vw, 50px);
  position: absolute;
  inset: auto 0 0;
  padding: var(--ku-caption-fade) clamp(12px, 1.6vw, 24px) clamp(12px, 1.6vw, 24px);
  border-radius: 0 0 16px 16px;
  background: linear-gradient(to top, rgb(5 13 25 / 96%), rgb(5 13 25 / 89%) calc(100% - var(--ku-caption-fade)), transparent);
  backface-visibility: hidden;
}

.ku-hero-card-title {
  display: block;
  color: #fff;
  font-size: clamp(19px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.2;
}

.ku-hero-card-description {
  display: block;
  margin-top: 5px;
  color: #e7eef8;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.45;
}

@media (max-width: 1050px) {
  .ku-hero-card-description {
    min-height: 2lh;
  }
}

/* The static cover remains in the original media slot under this layer. */
.ku-hero-motion {
  position: absolute;
  inset: 0;
  visibility: hidden;
  overflow: hidden;
  pointer-events: none;
  border-radius: 16px;
  backface-visibility: hidden;
}

.ku-hero-motion.ku-hero-motion--show { visibility: visible; }

/* The moving scene paints its copy of the caption in the same Safari 3D layer. */
.ku-hero-motion--show + .ku-hero-card-copy { opacity: 0; }

@media (min-width: 768px) {
  .ku-hero-motion { border-radius: 32px; }
  .ku-hero-card-copy {
    border-radius: 0 0 32px 32px;
  }
}

video[data-kuadd-poster] {
  aspect-ratio: auto 1920 / 1330;
}

html,
body {
  overflow-x: clip;
}

:root body {
  /* The mirrored layout uses these variables for its type utilities and global text styles. */
  --font-instrument-sans: var(--ku-font-sans);
  --font-instrument-serif: var(--ku-font-sans);
  background: var(--ku-navy);
  font-family: var(--ku-font-sans);
}

.bg-black,
.bg-off-black--light {
  background-color: var(--ku-navy) !important;
}

main > section:nth-of-type(1) {
  background-color: var(--ku-hero) !important;
}

.bg-white {
  background-color: var(--ku-pale) !important;
  color: var(--ku-light-text);
}

.bg-accent {
  background-color: var(--ku-mint) !important;
}

.text-accent {
  color: var(--ku-mint) !important;
}

.text-white {
  color: var(--ku-text) !important;
}

#onetrust-consent-sdk,
.onetrust-pc-dark-filter {
  display: none !important;
}

.custom-brand {
  color: var(--ku-text);
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.custom-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  margin-right: 28px;
  color: var(--ku-muted);
  font-size: 13px;
  font-weight: 500;
}

.custom-nav a {
  transition: color 180ms ease;
}

.custom-nav a:hover {
  color: var(--ku-mint);
}

nav[data-theme="light"] .custom-brand,
nav[data-theme="light"] .custom-nav {
  color: var(--ku-light-text);
}

main :is(h1, h2) {
  font-weight: 750;
}

.home-title {
  max-width: 1120px;
  font-size: clamp(52px, 7.8vw, 106px) !important;
  line-height: 1.16 !important;
  letter-spacing: -0.065em;
}

.home-title.home-title-long {
  font-size: clamp(44px, 5.6vw, 80px) !important;
  line-height: 1.2 !important;
}

.hero-brand {
  letter-spacing: -0.045em;
}

.home-title em {
  font-style: normal;
  font-weight: inherit;
}

.home-title .hero-ai {
  letter-spacing: -0.04em;
}

.custom-stats-section {
  padding-top: clamp(52px, 5vw, 64px) !important;
  padding-bottom: 24px !important;
}

.custom-stats-section [data-stats-block] {
  max-width: 880px;
  margin-block: 0 !important;
  padding-block: 20px !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

.custom-stat {
  font-size: clamp(34px, 4vw, 54px) !important;
  font-weight: 650;
  line-height: 1.2 !important;
  letter-spacing: -0.045em;
}

.custom-stats-section [data-stats-block] > span:last-child {
  margin-top: 10px !important;
  font-size: clamp(15px, 1.6vw, 20px) !important;
  font-weight: 450;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

#about {
  padding-top: 40px !important;
  padding-bottom: clamp(68px, 7vw, 88px) !important;
}

#about .custom-intro {
  margin-block: 0 !important;
}

#about .custom-intro + .custom-intro {
  margin-top: 38px !important;
}

.custom-intro {
  display: block !important;
  max-width: 100%;
  opacity: 1 !important;
  transform: translateY(12px) !important;
  font-size: clamp(28px, 2.7vw, 38px) !important;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.005em;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  line-break: strict;
  text-wrap: pretty;
  transition: transform 480ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.custom-intro.ku-copy-visible {
  transform: translateY(0) !important;
}

.ku-char {
  display: inline;
  opacity: 0;
  transition: opacity 380ms ease-out;
  transition-delay: var(--copy-delay, 0ms);
}

.ku-latin {
  white-space: nowrap;
}

.custom-intro .ku-latin {
  font-weight: 600;
  letter-spacing: -0.025em;
}

.custom-intro.ku-copy-visible .ku-char {
  opacity: 1;
}

.custom-product-title {
  display: block !important;
  margin: 4px 0 20px;
  color: var(--ku-light-text);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.045em;
}

.ku-product-light-copy > li {
  color: #fdfdff;
  filter: none;
}

.custom-product-title--long {
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.3;
  letter-spacing: -0.035em;
}

.custom-link {
  cursor: pointer;
}

.custom-more-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.custom-more-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 14px 18px;
  border: 1px solid rgba(20, 38, 51, 0.16);
  border-radius: 999px;
  color: var(--ku-light-text);
  font-size: 14px;
  font-weight: 550;
  transition: border-color 180ms ease, background 180ms ease;
}

.custom-more-grid a:hover {
  border-color: #365d9c;
  background: rgba(145, 186, 255, 0.18);
}

.custom-more-grid a span {
  color: #365d9c;
}

#capabilities > div {
  padding-bottom: clamp(32px, 4.5vw, 72px);
}

#showcase {
  padding-top: clamp(40px, 5.5vw, 88px);
}

#capabilities h3,
#showcase .custom-showcase-card h5 {
  font-weight: 700;
}

#capabilities [data-nosnippet="true"] > div {
  aspect-ratio: auto !important;
}

#capabilities [data-nosnippet="true"] > div > div:first-child {
  min-height: 154px;
}

#capabilities [data-nosnippet="true"] > div > div.inset-0 {
  position: relative !important;
  inset: auto !important;
  display: block;
  aspect-ratio: 16 / 9;
  height: auto !important;
  margin-top: auto;
  overflow: hidden;
  background: #06101c;
}

#capabilities [data-nosnippet="true"] > div > div.inset-0 img {
  width: 100%;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

.custom-showcase-card::after {
  content: none;
}

.custom-showcase-poster {
  position: relative;
  isolation: isolate;
  aspect-ratio: var(--showcase-cover-ratio, 16 / 9);
  overflow: hidden;
  border-radius: 20px;
}

.custom-showcase-poster::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / 13%), transparent 42%, rgb(0 0 0 / 58%));
  content: "";
  pointer-events: none;
}

.custom-showcase-poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-showcase-poster img:not([src]) {
  visibility: hidden;
}

.custom-showcase-play {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  display: grid;
  width: clamp(56px, 5vw, 64px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 61%);
  border-radius: 50%;
  background: rgb(22 28 25 / 24%);
  color: white;
  transform: translate(-50%, -50%);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.custom-showcase-play span {
  width: 16px;
  height: 18px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: translateX(2px);
}

.custom-showcase-play:is(:hover, :focus-visible) {
  background: rgb(255 255 255 / 90%);
  color: #122032;
}

.custom-showcase-play:focus-visible {
  outline: 2px solid var(--ku-blue);
  outline-offset: 4px;
}

@media (min-width: 768px) {
  .custom-showcase-poster { aspect-ratio: 16 / 9; border-radius: 40px; }
}

#partners {
  scroll-margin-top: 24px;
}

.ku-partner-wall {
  width: 100%;
  color: var(--ku-light-text);
}

.ku-partner-title {
  margin: 0 0 clamp(24px, 4vw, 48px);
  text-align: center;
  font-size: clamp(32px, 4.5vw, 64px);
  line-height: 1.15;
  letter-spacing: -.025em;
}

.ku-partner-groups {
  display: grid;
  gap: clamp(14px, 2vw, 28px);
}

.ku-partner-group {
  display: grid;
  min-width: 0;
}

.ku-partner-card {
  /* Deep shades of the cyan, indigo, and orange business-card colors. */
  --partner-surface: color-mix(in srgb, #72e5ff 27%, var(--ku-navy));
  min-width: 0;
  padding: clamp(16px, 2vw, 28px);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: clamp(22px, 3.3vw, 46px);
  background: var(--partner-surface);
  color: #fff;
}

.ku-partner-group:nth-child(2) > .ku-partner-card {
  --partner-surface: color-mix(in srgb, #5867ed 46%, var(--ku-navy));
}

.ku-partner-group:nth-child(3) > .ku-partner-card {
  --partner-surface: color-mix(in srgb, #ffa575 34%, var(--ku-navy));
}

.ku-partner-card h3 {
  margin: 0 0 14px;
  text-align: center;
  font-size: 20px;
  font-weight: 650;
  line-height: 1.3;
}

.ku-partner-logos {
  --logo-gap: clamp(10px, 1.15vw, 16px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px var(--logo-gap);
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  /* Keep the white logos' blend backdrop with the grid as it lifts. */
  background: var(--partner-surface);
  isolation: isolate;
}

.ku-partner-logos li {
  display: grid;
  flex: 0 0 calc((100% - 2 * var(--logo-gap)) / 3);
  place-items: center;
  min-width: 0;
  min-height: 48px;
}

.ku-partner-logos img {
  display: block;
  max-width: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* Screen blending preserves the marks' cutouts and drops opaque backgrounds. */
.ku-partner-logos img:is(
  [src$="/jd.svg"],
  [src$="/yinhua.png"],
  [src$="/yangshipin.jpg"]
) {
  mix-blend-mode: screen;
}

.ku-partner-logos img[src$="/jd.svg"] {
  filter: grayscale(1) contrast(2) brightness(12);
}

.ku-partner-logos img[src$="/yinhua.png"] {
  filter: grayscale(1) invert(1) contrast(2.4);
}

.ku-partner-logos img[src$="/yangshipin.jpg"] {
  filter: grayscale(1) contrast(3);
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .ku-partner-group {
    position: relative;
    perspective: 960px;
  }

  .ku-partner-card {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 240ms ease-out, box-shadow 240ms ease-out;
  }

  .ku-partner-card > :is(h3, .ku-partner-logos) {
    transition: transform 240ms ease-out;
  }

  .ku-partner-group[data-tilt] {
    z-index: 1;
  }

  .ku-partner-group[data-tilt] > .ku-partner-card {
    transform: translateY(-8px) rotateX(var(--partner-tilt-x, 0deg))
      rotateY(var(--partner-tilt-y, 0deg)) scale(1.05);
    box-shadow: 0 24px 42px -16px rgb(8 32 28 / 64%);
    transition-duration: 140ms;
  }

  .ku-partner-group[data-tilt] h3 {
    transform: translateZ(18px);
  }

  .ku-partner-logos {
    position: relative;
  }

  .ku-partner-logos img {
    transition: transform 220ms ease-out;
  }

  .ku-partner-group[data-tilt] .ku-partner-logos {
    transform: translateZ(24px);
  }

  .ku-partner-group[data-tilt] .ku-partner-logos img {
    transform: translate(var(--partner-logo-offset, 0px, 0px)) scale(1.12);
    transition-duration: 160ms;
  }
}

@media (min-width: 960px) {
  .ku-partner-groups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.footer-title {
  letter-spacing: 0.04em;
}

@media (max-width: 767px) {
  .custom-nav {
    order: 3;
    justify-content: space-between;
    width: 100%;
    margin: 8px 0 0;
    padding-top: 4px;
    font-size: 12px;
  }

  nav > div {
    flex-wrap: wrap;
    height: auto !important;
    min-height: 74px;
    padding-block: 14px 10px;
  }

  .custom-brand {
    font-size: 18px;
  }

  .home-title {
    font-size: 48px !important;
    line-height: 1.2 !important;
  }

  .home-title.home-title-long {
    font-size: 36px !important;
    line-height: 1.25 !important;
  }

  #about {
    padding-top: 42px !important;
    padding-bottom: 58px !important;
  }

  #about .custom-intro {
    font-size: 24px !important;
    line-height: 1.55;
  }

  #about .custom-intro + .custom-intro {
    margin-top: 30px !important;
  }

  .custom-stats-section {
    padding-top: 40px !important;
    padding-bottom: 16px !important;
  }

  .custom-stats-section [data-stats-block] {
    padding-block: 16px !important;
  }

  .custom-stat {
    font-size: 34px !important;
  }

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

  .custom-more-grid a {
    padding: 12px 14px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .custom-nav a,
  .custom-intro,
  .ku-char {
    transition: none;
  }

  .custom-intro {
    transform: none !important;
  }

  .ku-char {
    opacity: 1;
  }
}

/* Keep the GPU media slot at the original video aspect ratio. */
.ku-gpu-collage {
  position: relative;
  aspect-ratio: 768 / 532;
  overflow: hidden;
  background: #182834;
  container-type: inline-size;
}
.ku-gpu-collage > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ku-gpu-collage__scene {
  position: absolute;
  inset: 0;
  isolation: isolate;
  overflow: hidden;
  background: #182834;
}
.ku-gpu-collage__scene[hidden] { display: none; }
.ku-gpu-collage__scene .ambient, .ku-gpu-collage__scene .veil { position:absolute; inset:0; pointer-events:none; }
.ku-gpu-collage__scene .ambient { background:url('/assets/gpu-collage/park.webp') center / cover no-repeat; transform:scale(1.11); filter:saturate(.66) brightness(.48); }
.ku-gpu-collage__scene .veil { background:linear-gradient(145deg,#11293547,#21374237 45%,#132333b7); }
.ku-gpu-collage__scene .tile { position:absolute; margin:0; overflow:hidden; border:1px solid #c9e3ef8c; border-radius:clamp(7px,1.43cqw,15px); box-shadow:0 10px 26px #02071382; transform-origin:center; }
.ku-gpu-collage__scene .tile img { width:100%; height:100%; display:block; object-fit:cover; }
.ku-gpu-collage__scene .room { left:5.6%; top:9.4%; width:64.2%; height:66%; z-index:1; }
.ku-gpu-collage__scene .room img { object-position:50% 51%; }
.ku-gpu-collage__scene .park { left:5%; top:69%; width:39%; height:23%; z-index:2; }
.ku-gpu-collage__scene .park img { object-position:46% 64%; }
.ku-gpu-collage__scene .board { left:17%; top:15.5%; width:72%; height:68%; z-index:3; opacity:0; }
.ku-gpu-collage__scene .board img { object-position:46%; }
.ku-gpu-collage__scene .cooling { left:62%; top:53%; width:33.5%; height:38%; z-index:4; opacity:0; }
.ku-gpu-collage__scene .cooling img { object-position:28% 55%; }
.ku-gpu-collage__scene .service { left:6%; top:15%; width:68%; height:68%; z-index:5; opacity:0; }
.ku-gpu-collage__scene .service img { object-position:62%; }
.ku-gpu-collage__scene .chip { left:61%; top:10.5%; width:31.7%; height:72%; z-index:6; }
.ku-gpu-collage__scene .chip img { object-position:48% 56%; }

/* Reserved footprint and static alternative for the three business scenes. */
.ku-business-motion {
  position: relative;
  aspect-ratio: 768 / 532;
  overflow: hidden;
  background: #dfc2b6;
}
.ku-business-motion[data-business-scene="agent"] { background: #263777; }
.ku-business-motion[data-business-scene="media"] { background: #df9058; }
.ku-business-motion > img,
.ku-business-stage {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.ku-business-motion > img { object-fit: cover; }
.ku-business-motion > img:not([src]) { visibility: hidden; }
.ku-business-stage { visibility: hidden; }
.ku-business-motion[data-ready="true"] > .ku-business-stage { visibility: visible; }
