.qz-light-shell {
  color-scheme: light;
}

:root {
  --background: 195 42% 97%;
  --foreground: 222 47% 13%;
  --card: 0 0% 100%;
  --card-foreground: 222 47% 13%;
  --popover: 0 0% 100%;
  --popover-foreground: 222 47% 13%;
  --primary: 190 92% 36%;
  --primary-foreground: 0 0% 100%;
  --secondary: 162 64% 45%;
  --secondary-foreground: 0 0% 100%;
  --accent: 204 88% 54%;
  --accent-foreground: 0 0% 100%;
  --muted: 195 28% 92%;
  --muted-foreground: 216 20% 40%;
  --border: 198 28% 85%;
  --input: 198 28% 85%;
  --ring: 190 92% 36%;
  --glass-bg: 0 0% 100% / .76;
  --glass-bg-solid: 0 0% 100%;
  --glass-border: 198 48% 76% / .55;
  --glass-border-hover: 190 82% 42% / .35;
  --glass-shine: 0 0% 100% / .9;
  --glass-inner-shadow: 198 38% 80% / .18;
  --gradient-primary: linear-gradient(135deg, #0891b2, #0ea5e9);
  --gradient-accent: linear-gradient(135deg, #0e9fbd, #5b7cfa);
  --gradient-full: linear-gradient(135deg, #0f9bbb 0%, #5d7df5 58%, #b7a86b 100%);
  --gradient-text: linear-gradient(135deg, #0a8fab 0%, #6278f0 62%, #b9a569 100%);
}

html,
body,
#root {
  background: #f7fbfd !important;
}

body {
  color: hsl(var(--foreground)) !important;
}

.qz-cn body {
  font-family: "Source Sans 3", "Noto Sans SC", "Microsoft YaHei", "PingFang SC", "Segoe UI", system-ui, sans-serif;
  text-rendering: optimizeLegibility;
}

.qz-cn h1,
.qz-cn h2,
.qz-cn h3,
.qz-cn h4,
.qz-cn p,
.qz-cn a,
.qz-cn button,
.qz-cn span {
  letter-spacing: 0 !important;
}

.qz-cn main h1 {
  font-size: clamp(3.1rem, 5.8vw, 5.4rem) !important;
  line-height: 1.12 !important;
  text-wrap: balance;
}

.qz-cn main h1 .gradient-text {
  margin-right: 0.16em !important;
}

.qz-cn main h2 {
  line-height: 1.18 !important;
  text-wrap: balance;
}

.qz-cn main p,
.qz-cn .card-body,
.qz-cn .card-body-sm {
  line-height: 1.78 !important;
}

.qz-cn .card-overline,
.qz-cn .card-label,
.qz-cn [class*="uppercase"] {
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.qz-cn nav a,
.qz-cn nav button,
.qz-cn footer a,
.qz-cn footer button {
  white-space: nowrap;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgba(15, 117, 148, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 117, 148, .055) 1px, transparent 1px),
    radial-gradient(circle at 12% 16%, rgba(14, 165, 233, .13), transparent 32%),
    radial-gradient(circle at 90% 28%, rgba(180, 167, 105, .12), transparent 30%),
    linear-gradient(180deg, #f8fcfd 0%, #eef8f9 48%, #fbfaf6 100%);
  background-size: 64px 64px, 64px 64px, auto, auto, auto;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .64), rgba(255, 255, 255, .86));
}

.min-h-screen.bg-background {
  background: transparent !important;
}

.fixed.inset-0.z-0 {
  background:
    linear-gradient(rgba(15, 117, 148, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 117, 148, .045) 1px, transparent 1px),
    radial-gradient(circle at 72% 22%, rgba(18, 164, 190, .12), transparent 34%),
    linear-gradient(180deg, #f8fcfd 0%, #eff8f9 100%) !important;
  background-size: 64px 64px, 64px 64px, auto, auto !important;
}

.fixed.inset-0.z-0 > .absolute.inset-0.bg-cover {
  opacity: 0 !important;
}

.fixed.inset-0.z-0 > .absolute.inset-0.bg-background,
.fixed.inset-0.z-0 > .absolute.inset-0.bg-background\/70,
.fixed.inset-0.z-0 > .absolute.inset-0.bg-gradient-to-t {
  background: transparent !important;
}

.glass-card,
[class*="bg-card"],
[class*="bg-muted"] {
  background-color: rgba(255, 255, 255, .78) !important;
  color: hsl(var(--foreground)) !important;
  border-color: rgba(124, 170, 185, .34) !important;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .08), inset 0 1px rgba(255, 255, 255, .85) !important;
}

.glass-card {
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
}

.glass-card::before {
  background: linear-gradient(135deg, rgba(8, 145, 178, .055), transparent 42%, rgba(183, 166, 103, .05)) !important;
}

nav .backdrop-blur-xl,
nav [class*="bg-foreground"],
nav [class*="border-foreground"] {
  background: rgba(255, 255, 255, .84) !important;
  border-color: rgba(115, 161, 176, .36) !important;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .08) !important;
}

nav a,
nav button,
footer a,
footer button {
  color: #172033 !important;
}

nav a:hover,
footer a:hover {
  color: #087f9d !important;
}

.text-foreground,
.card-title,
.card-subtitle,
h1,
h2,
h3,
h4 {
  color: #172033 !important;
}

.text-muted-foreground,
.card-body,
.card-body-sm,
p {
  color: #526173 !important;
}

.text-primary,
.card-overline,
.card-label {
  color: #098dac !important;
}

.gradient-text {
  background-image: var(--gradient-text) !important;
  color: #0b91ad !important;
  filter: none !important;
  text-shadow: none !important;
}

.qz-brand-qian {
  color: #142033;
}

.qz-brand-mind {
  background: linear-gradient(90deg, #0d90ad 0%, #059fc2 46%, #9d9055 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.qz-brand-tagline {
  color: #078aa7;
}

pre,
code,
[class*="font-mono"] {
  color: #133044 !important;
}

section[id="cta"] .glass-card,
footer .glass-card {
  background: rgba(255, 255, 255, .84) !important;
}

footer {
  color: #172033 !important;
}

.qz-brand-lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.12rem;
  line-height: 1;
  min-width: 0;
}

.qz-brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.55rem, 2.1vw, 2.08rem);
  font-weight: 300;
  letter-spacing: 0;
  white-space: nowrap;
}

.qz-brand-qian {
  color: #142033;
}

.qz-brand-mind {
  color: #0d90ad;
  background: linear-gradient(90deg, #0d90ad 0%, #059fc2 46%, #9d9055 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.qz-brand-tagline {
  color: #078aa7;
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(0.58rem, 0.76vw, 0.76rem);
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
}

nav .qz-brand-lockup {
  gap: 0.04rem;
  transform: translateY(2px);
}

nav .qz-brand-wordmark {
  font-size: clamp(1.18rem, 1.45vw, 1.42rem);
  line-height: 1.06;
}

nav .qz-brand-tagline {
  font-size: clamp(0.46rem, 0.58vw, 0.58rem);
  line-height: 1.15;
}

footer .qz-brand-wordmark {
  font-size: clamp(1.35rem, 1.8vw, 1.85rem);
}

footer .qz-brand-tagline {
  font-size: clamp(0.55rem, 0.72vw, 0.72rem);
}

@media (min-width: 768px) {
  .qz-cn section[id="what"] .glass-card [class*="bg-muted/20"][class*="rounded-xl"][class*="border"] {
    margin-top: 14px !important;
  }
}

@media (max-width: 640px) {
  html,
  body,
  #root {
    max-width: 100%;
    overflow-x: hidden;
  }

  .qz-brand-wordmark {
    font-size: 1.36rem;
  }

  .qz-brand-tagline {
    font-size: 0.52rem;
  }

  nav .qz-brand-wordmark {
    font-size: 1.12rem;
  }

  nav .qz-brand-tagline {
    font-size: 0.44rem;
  }

  main,
  main section {
    max-width: 100vw;
    overflow-x: hidden;
  }

  main p,
  main h1,
  main h2 {
    overflow-wrap: anywhere !important;
    word-break: break-word;
  }

  main p {
    max-width: calc(100vw - 48px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  main .glass-card {
    max-width: calc(100vw - 32px) !important;
  }

  main .flex.flex-wrap.items-center.justify-center {
    max-width: calc(100vw - 40px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media (max-width: 640px) {
  .qz-cn *,
  .qz-cn *::before,
  .qz-cn *::after {
    box-sizing: border-box;
  }

  .qz-cn nav > div {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .qz-cn nav .grid {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  .qz-cn main > section {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .qz-cn main section:first-of-type h1 {
    font-size: clamp(3.05rem, 14.2vw, 3.75rem) !important;
    line-height: 1.08 !important;
  }

  .qz-cn main section:first-of-type p {
    max-width: calc(100vw - 40px) !important;
  }

  .qz-cn main section:first-of-type .flex.flex-wrap.items-center.justify-center {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem !important;
    width: calc(100vw - 48px) !important;
    max-width: calc(100vw - 48px) !important;
  }

  .qz-cn main section:first-of-type .flex.flex-wrap.items-center.justify-center > * {
    min-width: 0 !important;
    justify-content: center !important;
  }

  .qz-cn main section:first-of-type [class*="max-w-md"],
  .qz-cn main section:first-of-type [class*="max-w-lg"] {
    width: 100% !important;
    max-width: calc(100vw - 32px) !important;
  }

  .qz-cn main section:first-of-type .glass-card {
    width: 100% !important;
  }

  .qz-cn main section:first-of-type [class*="font-mono"] {
    overflow-wrap: anywhere !important;
  }
}
