:root {
  color-scheme: light;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  color: #1f2329;
  background: #f5f7fb;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid #3264ea; outline-offset: 4px; }

.page-width {
  width: min(900px, calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #fff;
  border-bottom: 1px solid #e9ebef;
}

.header-inner {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand { display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; }
.brand-latin { font: 750 1.125rem/1 system-ui, sans-serif; letter-spacing: .1em; }
.brand-chinese { font-size: .9375rem; font-weight: 700; }
.site-nav { display: flex; gap: clamp(.7rem, 3vw, 1.75rem); color: #424955; }
.site-nav a { display: flex; align-items: center; min-height: 44px; font-size: .9375rem; white-space: nowrap; }
.site-nav a:hover { color: #2354d8; }

.tutorial-document {
  padding-block: clamp(1rem, 4vw, 2.5rem) 4rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(185px, 32%);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  padding: clamp(1.25rem, 4.5vw, 3rem);
  border: 1px solid #dce5fa;
  border-radius: 22px;
  background: linear-gradient(125deg, #fcfdff, #e9efff);
}

.hero-content { padding-block: .5rem; }
.product { margin: 0 0 .6rem; color: #214dc5; font-weight: 700; letter-spacing: .08em; }

h1 {
  margin: 0;
  font-size: clamp(2rem, 5.4vw, 3.5rem);
  line-height: 1.15;
  text-wrap: balance;
}

.document-image { display: block; width: 100%; height: auto; }
.hero-image { border-radius: 12px; box-shadow: 0 10px 28px #222b581c; }
.hero-links { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.5rem; }
.hero-links a { display: inline-flex; align-items: center; min-height: 46px; padding: .65rem 1rem; border-radius: 9px; font-weight: 650; }
.primary-link { background: #214dc5; color: #fff; }
.primary-link:hover { background: #193da1; }
.secondary-link { border: 1px solid #d0dbf4; color: #214397; background: #fff; }
.secondary-link:hover { background: #edf2ff; }

.tutorial-sections { margin-top: 1.25rem; }
.tutorial-sections, .tutorial-section, .guide-section { scroll-margin-top: 5.25rem; }
.tutorial-section {
  border: 1px solid #e1e6f0;
  border-radius: 18px;
  background: #fff;
  padding: .65rem clamp(.7rem, 3vw, 1.65rem) 1.25rem;
}
.tutorial-section + .tutorial-section { margin-top: 1rem; }
.tutorial-section h2 { margin: 0; }

.tutorial-video {
  display: block;
  width: min(100%, 315px);
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  margin: .8rem auto 0;
  border-radius: 12px;
  background: #141821;
}

.guide-section { margin-top: 2.5rem; }
.guide-header { margin: 0 0 .9rem; }
.guide-header h2 { margin: 0; font-size: 1.65rem; }
.guide-header p { margin: .3rem 0 0; color: #4e596e; }

.guide-image-link {
  display: block;
  background: #fff;
  overflow: hidden;
  border: 1px solid #e1e6f0;
  border-radius: 15px;
  cursor: zoom-in;
}

.guide-image-link + .guide-image-link { margin-top: 1rem; }

@media (max-width: 520px) {
  .page-width { width: calc(100% - 2rem); }
  .header-inner { gap: .6rem; min-height: 56px; }
  .brand { gap: .35rem; }
  .brand-latin { font-size: .9375rem; }
  .brand-chinese, .site-nav a { font-size: .875rem; }
  .hero { grid-template-columns: 1fr; }
  .hero-image { justify-self: center; width: min(100%, 245px); }
}

@media (max-width: 350px) {
  .header-inner { flex-wrap: wrap; justify-content: flex-start; gap: .15rem; padding-block: .65rem .25rem; }
  .site-nav { width: 100%; justify-content: space-between; }
  .tutorial-sections, .tutorial-section, .guide-section { scroll-margin-top: 6.5rem; }
}
