@font-face {
  font-family: "GF Serif";
  src: url("../fonts/notoserif-sc-display.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --surface: #f7f9fb;
  --surface-2: #eef8f8;
  --surface-3: #f2f5f8;
  --ink: #111827;
  --ink-soft: #4b5563;
  --muted: #7b8492;
  --line: #e4e8ee;
  --line-strong: #cfd7e2;
  --accent: #0d8f8f;
  --accent-d: #087878;
  --accent-soft: #e8f7f6;
  --accent-wash: #f3fbfa;
  --seal: #b5472d;
  --white: #fff;
  --sans: "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "GF Serif", "Source Han Serif SC", "Noto Serif CJK SC", "SimSun", serif;
  --tw-serif: "PMingLiU", "新細明體", "MingLiU", "Songti TC", "Noto Serif TC", serif;
  --mono: "Cascadia Code", Consolas, ui-monospace, monospace;
  --wrap: clamp(1240px, 72vw, 1480px);
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-soft: 0 22px 70px rgba(13, 31, 51, .10);
  --shadow-button: 0 1px 2px rgba(17, 24, 39, .08), inset 0 1px 0 rgba(255, 255, 255, .45);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

#product-showcase,
#recognition-scenes,
#shipin,
#shequn,
#faq {
  scroll-margin-top: 92px;
}

body {
  min-width: 320px;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.72;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent-d);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 760;
  line-height: 1.12;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

svg {
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wrap {
  width: min(100%, var(--wrap));
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

:focus-visible {
  outline: 3px solid rgba(13, 143, 143, .25);
  outline-offset: 3px;
}

::selection {
  color: var(--white);
  background: var(--accent);
}

.masthead {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid rgba(228, 232, 238, .86);
  backdrop-filter: blur(18px);
}

.masthead-in {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 30px);
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.brand-logo {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 17px;
  font-weight: 760;
  letter-spacing: .01em;
}

.brand-cn {
  color: #1f2937;
  font-family: var(--tw-serif);
  font-size: .95em;
  font-weight: 400;
  letter-spacing: 0;
}

.masthead-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  margin-left: auto;
}

.masthead-nav a {
  color: #374151;
  font-family: var(--tw-serif);
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  transition: color .18s var(--ease);
}

.masthead-nav a:hover {
  color: var(--accent-d);
}

.btn {
  --btn-bg: var(--white);
  --btn-fg: var(--ink);
  --btn-border: var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid var(--btn-border);
  border-radius: var(--radius);
  color: var(--btn-fg);
  background: var(--btn-bg);
  box-shadow: var(--shadow-button);
  font-size: 14px;
  font-weight: 720;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}

.btn svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.nav-download {
  gap: 8px;
  padding-inline: 15px 17px;
  border-color: #3867ff;
  color: #fff;
  background: #3867ff;
  box-shadow: 0 10px 24px rgba(56, 103, 255, .18), inset 0 1px 0 rgba(255, 255, 255, .20);
  font-family: var(--tw-serif);
  font-size: 15px;
  font-weight: 400;
}

.nav-download svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.7;
  transform: translateY(1px);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(17, 24, 39, .10), inset 0 1px 0 rgba(255, 255, 255, .55);
}

.btn:active {
  transform: translateY(1px);
  box-shadow: inset 0 2px 5px rgba(17, 24, 39, .12);
}

.btn-primary {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-border: var(--ink);
}

.btn-primary:hover {
  --btn-bg: #0b1220;
  --btn-border: #0b1220;
}

.btn-ghost:hover {
  --btn-bg: var(--surface);
  --btn-border: var(--line-strong);
}

.btn-lg {
  min-height: 52px;
  padding-inline: 22px;
  font-size: 15px;
}

.btn-arrow {
  transition: transform .22s var(--ease);
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

.nav-download:hover,
.nav-download:focus-visible {
  border-color: #2856e8;
  color: #fff;
  background: #2856e8;
  box-shadow: 0 14px 30px rgba(56, 103, 255, .24), inset 0 1px 0 rgba(255, 255, 255, .22);
}

.nav-download:active {
  color: #fff;
  background: #244fd8;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, .20);
}

.section-label {
  margin-bottom: 12px;
  color: rgba(56, 103, 255, .78);
  font-size: 13px;
  font-weight: 620;
  letter-spacing: 0;
}

.centered-head {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.centered-head h2,
.split-heading h2 {
  font-size: clamp(30px, 3.5vw, 46px);
  letter-spacing: 0;
}

.centered-head > p:last-child,
.split-heading > p {
  color: var(--ink-soft);
  font-size: clamp(16px, 1.4vw, 18px);
}

.split-heading {
  max-width: 820px;
}

.split-heading > p {
  margin-top: 18px;
  max-width: 62ch;
}

.colophon {
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.colophon-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 30px;
  color: var(--ink-soft);
  font-size: 14px;
}

.brand-footer .wordmark {
  font-size: 15px;
}

.footer-brand-block {
  display: grid;
  gap: 6px;
}

.footer-year {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
}

.brand-footer .brand-logo {
  width: 28px;
  height: 28px;
}

.developer-line {
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  text-align: right;
  white-space: nowrap;
}

.credit-names {
  font-family: "SimSun", "宋体", "Source Han Serif SC", "Noto Serif SC", "Noto Serif CJK SC", serif;
  font-size: clamp(16px, 1.4vw, 18px);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: .03em;
  color: var(--ink);
  background: linear-gradient(180deg, transparent 62%, rgba(56, 103, 255, .20) 0);
}

@media (max-width: 560px) {
  .colophon-in {
    flex-direction: column;
    align-items: flex-start;
  }

  .developer-line {
    text-align: left;
    white-space: normal;
  }
}

@media (max-width: 900px) {
  .masthead-in {
    min-height: 64px;
  }

  .masthead-nav {
    display: none;
  }

  .nav-download {
    margin-left: auto;
  }

  .split-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15.5px;
  }

  .wordmark {
    font-size: 16px;
  }

  .nav-download span {
    display: none;
  }

  .btn-lg {
    width: 100%;
  }

  .hide-narrow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
