:root {
  color-scheme: light;
  --canvas: #f3f6fb;
  --ink: #101d39;
  --muted: #455675;
  --navy: #08152d;
  --blue: #2149c4;
  --gold: #f6d28c;
  --rule: #d7e0ef;
  --radius: 6px;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
}

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

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 16px/1.7 var(--sans);
}

h1, h2, h3, p, dl, dd { margin: 0; }
a { color: inherit; }
img { display: block; }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

.frame {
  width: min(1080px, calc(100% - 64px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 2;
  inset: 12px auto auto 12px;
  padding: 8px 16px;
  background: var(--navy);
  color: #fff;
  transform: translateY(calc(-100% - 20px));
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--rule);
}

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

.brand, .site-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  text-decoration: none;
}

.brand-name { font-size: 17px; font-weight: 700; letter-spacing: .035em; }

.site-nav { gap: clamp(4px, 1.4vw, 18px); flex-wrap: wrap; }

.site-nav a {
  padding: 9px 13px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover { background: #edf2fc; color: var(--blue); }
.footer-inner a:hover { color: var(--gold); }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: 390px;
  overflow: hidden;
  margin-top: 28px;
  padding: 52px clamp(28px, 5vw, 64px);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse at 96% 100%, #2358cd 0%, transparent 58%),
    linear-gradient(110deg, #0b1939 26%, #122d66 65%, #1b43a7 100%);
  color: #fff;
  box-shadow: 0 20px 46px -30px #0c2b75a6;
}

.hero-copy { position: relative; z-index: 1; }

.hero h1 {
  margin-bottom: 20px;
  font: 750 clamp(38px, 5.2vw, 66px)/1.13 var(--sans);
}

.hero h1 span {
  display: block;
  margin-top: 9px;
  color: #b9d2ff;
  font-size: .63em;
  letter-spacing: .025em;
}

.hero-summary {
  max-width: 27em;
  color: #e0e9ff;
  font-size: 15px;
  line-height: 1.9;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  margin-top: 28px;
}

.hero-link, .hero-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.hero-link {
  gap: 14px;
  padding: 10px 17px;
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 8px 24px -12px #f6d28cb0;
}

.hero-link:hover { background: #ffe3a7; }
.hero-secondary { color: #e0e9ff; }
.hero-secondary:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.hero-link:focus-visible { outline-color: var(--gold); }

.link-icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-art {
  position: absolute;
  inset: 0 0 0 auto;
  width: 55%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  pointer-events: none;
}

.section { padding-block: 62px; scroll-margin-top: 24px; }

.section h2 {
  font: 750 clamp(26px, 3.2vw, 36px)/1.2 var(--sans);
  letter-spacing: -.025em;
}

.business, .company, .downloads, .contact {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) minmax(0, 2.65fr);
  gap: clamp(28px, 5vw, 70px);
}

.business-list > div {
  display: grid;
  grid-template-columns: 9em minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
}

.business-list > div:last-child { border-bottom: 1px solid var(--rule); }
.business-list dt, .company-name dt { font-weight: 700; }
.business-list dd, .scope p, .scope ul { color: var(--muted); font-size: 14px; }

.products { padding-bottom: 0; }

.product-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 6px 22px #10254b0c;
}

.product-sports { --accent: #2149a5; --visual-start: #173779; --visual-end: #326be0; }
.product-model { --accent: #106354; --visual-start: #104a47; --visual-end: #208f73; }
.product-assistant { --accent: #5842a0; --visual-start: #302263; --visual-end: #7457c2; }
.product-writing { --accent: #86501c; --visual-start: #694226; --visual-end: #a9713f; }

.product-visual {
  display: grid;
  place-items: center;
  height: 135px;
  overflow: hidden;
  background:
    repeating-linear-gradient(90deg, transparent 0 31px, #fff1 31px 32px),
    repeating-linear-gradient(0deg, transparent 0 31px, #fff1 31px 32px),
    linear-gradient(115deg, var(--visual-start), var(--visual-end));
  color: #fff;
}

.product-visual svg { width: 176px; max-width: 85%; height: 100px; }

.product-content {
  padding: 20px 24px 24px;
}

.product-category {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

.product-card h3 {
  margin-block: 4px 8px;
  font: 700 24px/1.3 var(--sans);
}

.product-description { color: var(--muted); font-size: 14px; }

.company-name {
  display: grid;
  grid-template-columns: 9em minmax(0, 1fr);
  gap: 16px;
  padding-block: 15px;
  border-top: 1px solid var(--rule);
}

.company-name dd { color: var(--muted); }

.scope { border-block: 1px solid var(--rule); }

.scope summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
  padding-block: 15px;
  font-weight: 650;
  cursor: pointer;
}

.scope summary::-webkit-details-marker { display: none; }
.scope summary svg { color: var(--blue); }
.scope[open] summary svg { transform: rotate(180deg); }
.scope ul { margin: 7px 0 12px; padding-inline-start: 24px; }
.scope p:last-child { padding-bottom: 16px; }

.downloads, .contact { border-top: 1px solid var(--rule); }
.download-list, .contact-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.download-list { margin: 0; padding: 0; list-style: none; }
.download-list > li, .contact-list > div { min-width: 0; padding: 20px 22px; border: 1px solid var(--rule); border-radius: var(--radius); background: #fff; }
.download-list h3 { font-size: 18px; }
.app-download-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 14px; padding: 8px 20px; border-radius: var(--radius); background: var(--blue); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; }
.app-download-link:hover { background: #18399f; }
.contact-list dt { margin-bottom: 9px; font-size: 18px; font-weight: 700; }
.contact-list dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.contact-label { color: var(--muted); font-size: 13px; }
.wechat-id { color: var(--blue); font-size: 16px; font-weight: 600; overflow-wrap: anywhere; user-select: all; -webkit-user-select: all; }

.site-footer {
  background: var(--navy);
}

.footer-inner {
  display: grid;
  justify-items: center;
  gap: 5px;
  padding-block: 28px;
  color: #d5e1fc;
  font-size: 13px;
  text-align: center;
}

.footer-inner a { text-underline-offset: 3px; }

@media (max-width: 900px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: 8px; padding-block: 14px 5px; }
  .site-nav { justify-content: space-between; width: 100%; }
}

@media (max-width: 780px) {
  .frame { width: calc(100% - 40px); }
  .hero { min-height: 402px; }
  .hero-art { width: 58%; opacity: .58; }
  .business, .company, .downloads, .contact { grid-template-columns: 1fr; }
  .section { padding-top: 48px; }
  .section:not(.products) { padding-bottom: 48px; }
}

@media (max-width: 560px) {
  .brand img { width: 36px; height: 36px; }
  .brand-name { font-size: 15px; }
  .site-nav a { padding: 10px 0; }
  .hero { min-height: auto; margin-top: 16px; padding: 32px 22px; }
  .hero h1 { font-size: clamp(32px, 10.5vw, 50px); }
  .hero-art { width: 80%; opacity: .32; }
  .hero-summary { font-size: 14px; }
  .hero-actions { gap: 6px 14px; }
  .hero-link { gap: 8px; padding-inline: 11px; }
  .business-list > div, .company-name { grid-template-columns: 1fr; gap: 3px; }
  .product-list { grid-template-columns: 1fr; gap: 16px; margin-top: 18px; }
  .product-content { padding-inline: 18px; }
  .download-list, .contact-list { grid-template-columns: 1fr; gap: 12px; }
}
