/* Shared Quppei brand system. Load after the legacy styles on interior pages. */
@font-face {
  font-family: "Alimama ShuHeiTi";
  src: url("./assets/AlimamaShuHeiTi-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root,
body.page-polished {
  color-scheme: light;
  --q-ink: #191a23;
  --q-copy: #555760;
  --q-muted: #64666f;
  --q-blue: #315ff4;
  --q-line: #e5e8ef;
  --q-wash: #f5f7fc;
  --q-paper: #fff;
  --q-content-width: 1200px;
  --q-page-gutter: 40px;
  --q-body-font: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --q-display-font: "Alimama ShuHeiTi", "PingFang SC", "Microsoft YaHei", sans-serif;
  --ink: var(--q-ink);
  --copy: var(--q-copy);
  --text: var(--q-copy);
  --muted: var(--q-muted);
  --brand: var(--q-blue);
  --brand-dark: #254bd2;
  --line: var(--q-line);
  --wash: var(--q-wash);
  --paper: var(--q-paper);
  --display-font: var(--q-display-font);
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; overflow-x: clip; }
body.page-polished {
  overflow-x: clip;
  overflow-y: visible;
  margin: 0;
  min-width: 0;
  color: var(--q-ink);
  background: var(--q-paper);
  font-family: var(--q-body-font);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
[hidden] { display: none !important; }
:where(body.page-polished) :is(h1, h2, h3, p, figure) { margin: 0; }
body.page-polished :is(h1, h2, h3) {
  color: var(--q-ink);
  font-family: var(--q-display-font);
  font-weight: 700;
  letter-spacing: 0;
  text-wrap: balance;
}
:where(body.page-polished) p { color: var(--q-copy); line-height: 1.85; }
:where(body.page-polished) img { display: block; max-width: 100%; height: auto; }
:where(body.page-polished) a { color: inherit; text-decoration: none; }
body.page-polished :is(a, button, summary) {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
:where(body.page-polished) button { font: inherit; cursor: pointer; }
body.page-polished :is(a, button, summary, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--q-blue);
  outline-offset: 5px;
}
body.page-polished :is(.sr-only, .skip-link:not(:focus)) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
body.page-polished .skip-link:focus {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 16px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 12px 20px;
  color: var(--q-ink);
  background: var(--q-paper);
  clip-path: none;
}
body.page-polished .q-container {
  width: min(var(--q-content-width), calc(100% - var(--q-page-gutter) * 2));
  margin-inline: auto;
}

/* The equal outer columns keep the navigation on the page's center axis. */
body.page-polished .site-header-wrapper {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: var(--q-paper);
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}
body.page-polished .site-header,
body.page-polished.support-page > .site-header {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  width: min(var(--q-content-width), calc(100% - var(--q-page-gutter) * 2));
  max-width: none;
  min-height: 80px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--q-paper);
  box-shadow: none;
  backdrop-filter: none;
}
body.page-polished > .site-header,
body.page-polished.support-page > .site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 0 0 var(--q-page-gutter) var(--q-paper);
}
body.page-polished :is(.brand, .footer-brand) {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  width: fit-content;
  min-width: 0;
}
body.page-polished .site-header .brand {
  grid-column: auto;
  grid-row: auto;
}
body.page-polished :is(.brand-logo, .footer-brand-logo) {
  display: block;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: none;
}
body.page-polished :is(.brand-name, .footer-brand-name) {
  color: var(--q-ink);
  font-family: var(--q-display-font);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  white-space: nowrap;
}
body.page-polished .site-nav {
  display: flex;
  grid-column: auto;
  grid-row: auto;
  align-items: center;
  justify-content: center;
  gap: 26px;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
}
body.page-polished .site-nav a {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin: 0;
  padding: 4px 6px;
  border: 0;
  border-radius: 0;
  color: var(--q-ink);
  background: transparent;
  font-family: var(--q-display-font);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  white-space: nowrap;
  box-shadow: none;
  transform: none;
  transition: color .2s ease;
}
body.page-polished .site-nav a::after {
  content: "";
  position: absolute;
  display: block;
  bottom: 4px;
  left: 6px;
  right: 6px;
  width: auto;
  height: 2px;
  border: 0;
  border-radius: 0;
  background: var(--q-blue);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}
body.page-polished .site-nav a:is(.active, [aria-current="page"], :focus-visible) {
  color: var(--q-ink);
  background: transparent;
}
body.page-polished .site-nav a:is(.active, [aria-current="page"], :focus-visible)::after {
  display: block;
  transform: scaleX(1);
  transform-origin: left center;
}
body.page-polished .nav-word { display: inline-block; overflow: hidden; line-height: 1.45; }
body.page-polished .nav-letter {
  display: inline-block;
  text-shadow: 0 1.45em currentColor;
  transform: translateY(0);
  transition: transform .4s cubic-bezier(.25, .46, .45, .94);
  transition-delay: calc(var(--letter, 0) * .012s);
}
body.page-polished .site-nav a:focus-visible .nav-letter { transform: translateY(-1.45em); }

/* Page-specific button dimensions can be set with the --q-button-* properties. */
body.page-polished :is(.primary-btn, .secondary-btn, .header-cta) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  min-height: var(--q-button-height, 50px);
  padding: 0 var(--q-button-padding, 28px);
  border: 1px solid transparent;
  border-radius: var(--q-button-radius, 7px);
  font-family: var(--q-display-font);
  font-size: var(--q-button-size, 15px);
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  box-shadow: none;
  transform: none;
  transition: background-color .18s, border-color .18s, color .18s;
}
body.page-polished .primary-btn { color: #fff; background: var(--q-blue); border-color: var(--q-blue); }
body.page-polished .secondary-btn { color: var(--q-blue); background: #fff; border-color: #b6c5f7; }
body.page-polished .header-cta {
  --q-button-height: 42px;
  --q-button-padding: 22px;
  --q-button-radius: 24px;
  --q-button-size: 14px;
  grid-column: auto;
  grid-row: auto;
  justify-self: end;
  color: #fff;
  background: var(--q-ink);
  border-color: var(--q-ink);
  white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
  body.page-polished .site-nav a:hover { color: var(--q-blue); background: transparent; }
  body.page-polished .site-nav a:hover .nav-letter { transform: translateY(-1.45em); }
  body.page-polished .site-nav a:hover::after { transform: scaleX(1); transform-origin: left center; }
  body.page-polished .primary-btn:hover { color: #fff; background: #254bd2; border-color: #254bd2; box-shadow: none; transform: none; }
  body.page-polished .secondary-btn:hover { color: var(--q-blue); background: #f2f5ff; border-color: var(--q-blue); }
  body.page-polished .header-cta:hover { color: #fff; background: #3b3c45; border-color: #3b3c45; }
}

body.page-polished .site-footer {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 64px 0 26px;
  border: 0;
  border-radius: 0;
  color: var(--q-copy);
  background: var(--q-paper);
  font-size: 14px;
  box-shadow: none;
}
body.page-polished .site-footer::before,
body.page-polished .site-footer::after { display: none; }
body.page-polished :is(.footer-main, .footer-bottom) {
  width: min(var(--q-content-width), calc(100% - var(--q-page-gutter) * 2));
  max-width: none;
  margin: 0 auto;
}
body.page-polished .footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: start;
  gap: 50px;
  padding: 0 0 42px;
}
body.page-polished .footer-brand-section { display: flex; flex-direction: column; gap: 20px; min-width: 0; max-width: none; }
body.page-polished .footer-slogan { margin: 0; color: var(--q-copy); font-size: 13px; line-height: 1.95; }
body.page-polished .q-footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; }
body.page-polished .site-footer :is(.q-footer-links a, .q-text-link) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 0;
  color: var(--q-ink);
  background: transparent;
  border: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
}
body.page-polished .site-footer :is(.q-footer-links a, .q-text-link)::after { display: none; }
body.page-polished .footer-contact { display: flex; flex-direction: column; gap: 20px; width: 100%; min-width: 0; padding: 0; border: 0; background: transparent; }
body.page-polished .footer-contact-item { display: block; min-height: 0; padding: 0; background: transparent; }
body.page-polished .footer-contact-icon { display: none; }
body.page-polished .footer-contact-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
body.page-polished .footer-contact-text span { color: var(--q-copy); font-size: 12px; font-weight: 400; }
body.page-polished .footer-contact-text small { color: var(--q-ink); font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
body.page-polished .footer-qr-section { display: flex; grid-column: auto; justify-content: space-between; align-items: start; gap: 24px; }
body.page-polished .footer-qr-card { display: flex; flex: 1; flex-direction: column; align-items: start; gap: 0; width: auto; min-width: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
body.page-polished .footer-qr { display: block; width: 100px; height: 100px; max-width: 100%; padding: 5px; border: 1px solid var(--q-line); border-radius: 6px; background: #fff; box-shadow: none; }
body.page-polished .footer-qr img { display: block; width: 100%; height: 100%; object-fit: contain; }
body.page-polished .footer-qr-label { width: 100%; margin-top: 10px; color: var(--q-copy); text-align: left; }
body.page-polished .footer-qr-label span { color: var(--q-copy); font-size: 12px; font-weight: 400; line-height: 1.6; }
body.page-polished .footer-qr-label small { display: none; }
body.page-polished .footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 24px 0 0; border: 0; border-top: 1px solid var(--q-line); color: var(--q-copy); font-size: 12px; line-height: 1.8; text-align: left; }
body.page-polished .footer-bottom-left { min-width: 0; color: var(--q-copy); font-size: 12px; }
body.page-polished .footer-bottom-right { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 8px 20px; min-width: 0; }
body.page-polished .footer-bottom a { display: inline-flex; align-items: center; color: var(--q-copy); font-size: 12px; white-space: normal; overflow-wrap: anywhere; }
body.page-polished .police-beian { gap: 5px; }
body.page-polished .police-beian img { flex: 0 0 auto; width: 14px; height: 16px; }
body.page-polished .site-footer a:hover { color: var(--q-blue); }

/* A small nonmodal consultation card leaves the page available for browsing. */
body.page-polished .consultation-drawer {
  position: fixed;
  z-index: 100;
  inset: auto max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) auto;
  width: min(300px, calc(100% - 24px));
  max-width: 100%;
  height: fit-content;
  max-height: calc(100dvh - 32px);
  margin: 0;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--q-line);
  border-radius: 16px;
  color: var(--q-ink);
  background: #fff;
  box-shadow: 0 8px 36px rgb(20 37 64 / 14%);
}
body.page-polished .consultation-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 6px 0 16px; }
body.page-polished .consultation-header h2 { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.5; }
body.page-polished .consultation-close { display: grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 8px; color: var(--q-copy); background: transparent; font-size: 25px; line-height: 1; cursor: pointer; }
body.page-polished .consultation-close:hover { color: var(--q-ink); background: var(--q-wash); }
body.page-polished .consultation-body { display: grid; grid-template-columns: 116px minmax(0, 1fr); align-items: center; gap: 10px 14px; padding: 4px 16px 14px; }
body.page-polished .consultation-qr { margin: 0; text-align: center; }
body.page-polished .consultation-qr img { display: block; width: 116px; max-width: 100%; height: auto; margin: 0 auto 5px; padding: 5px; border: 1px solid var(--q-line); border-radius: 7px; }
body.page-polished .consultation-qr figcaption { color: var(--q-copy); font-size: 11px; line-height: 1.5; white-space: nowrap; }
body.page-polished .consultation-details p { margin: 0; color: var(--q-copy); font-size: 13px; line-height: 1.75; }
body.page-polished .consultation-body .primary-btn { --q-button-height: 40px; --q-button-size: 12px; --q-button-padding: 8px; display: flex; width: 100%; margin-top: 12px; white-space: nowrap; }
body.page-polished .consultation-phone { grid-column: 1 / -1; display: block; padding-top: 10px; border-top: 1px solid var(--q-line); color: var(--q-copy); font-size: 12px; line-height: 1.6; text-align: center; }
body.page-polished .consultation-phone:hover { color: var(--q-blue); }
body.page-polished .consultation-trigger { position: fixed; z-index: 100; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border: 1px solid var(--q-line); border-radius: 999px; background: #fff; color: var(--q-ink); box-shadow: 0 4px 20px rgb(20 37 64 / 10%); font: 500 13px/1.5 var(--q-body-font); cursor: pointer; }
body.page-polished .consultation-trigger:hover { color: var(--q-blue); border-color: var(--q-blue); }
@media (max-width: 640px) {
  body.page-polished .consultation-drawer { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); width: min(280px, calc(100% - 24px)); }
  body.page-polished .consultation-body { grid-template-columns: 108px minmax(0, 1fr); gap: 10px; padding-inline: 14px; }
  body.page-polished .consultation-qr img { width: 108px; }
  body.page-polished .consultation-qr figcaption { font-size: 10px; }
  body.page-polished .consultation-trigger { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); }
}

@media (max-width: 900px) {
  :root, body.page-polished { --q-page-gutter: 24px; }
  body.page-polished .site-header,
  body.page-polished.support-page > .site-header { gap: 14px; }
  body.page-polished .site-nav { gap: 15px; }
  body.page-polished .footer-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px 48px; }
  body.page-polished .footer-qr-section { grid-column: 1 / -1; justify-content: start; }
  body.page-polished .footer-qr-card { flex: 0 0 130px; }
}
@media (max-width: 640px) {
  :root, body.page-polished { --q-page-gutter: 16px; }
  html { scroll-padding-top: 128px; }
  body.page-polished .site-header,
  body.page-polished.support-page > .site-header { grid-template-columns: minmax(0, 1fr) auto; min-height: 0; gap: 2px 12px; padding: 10px 0 0; }
  body.page-polished .brand { gap: 9px; }
  body.page-polished .brand-logo { width: 32px; height: 32px; }
  body.page-polished .brand-name { font-size: 21px; }
  body.page-polished .header-cta { --q-button-height: 40px; --q-button-padding: 18px; --q-button-size: 13px; display: inline-flex; grid-column: 2; grid-row: 1; }
  body.page-polished .site-nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 0; width: 100%; margin: 0; padding: 0; overflow: visible; }
  body.page-polished .site-nav a { min-height: 46px; padding: 4px 8px; font-size: 14px; }
  body.page-polished .site-nav a::after { bottom: 3px; left: 8px; right: 8px; }
  body.page-polished .site-footer { padding: 40px 0 24px; }
  body.page-polished .footer-main { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-bottom: 28px; }
  body.page-polished .footer-brand-section { gap: 16px; }
  body.page-polished .footer-contact { gap: 16px; }
  body.page-polished .footer-qr-section { grid-column: auto; gap: 24px; }
  body.page-polished .footer-qr-card { flex: 0 1 130px; }
  body.page-polished .footer-bottom { gap: 14px; padding-top: 20px; }
  body.page-polished .footer-bottom-right { gap: 8px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body.page-polished :is(.nav-letter, .primary-btn, .secondary-btn, .header-cta),
  body.page-polished .site-nav a,
  body.page-polished .site-nav a::after { transition: none; }
  body.page-polished .site-nav a:is(:hover, :focus-visible) .nav-letter { transform: none; }
}
@media (forced-colors: active) {
  body.page-polished :is(.primary-btn, .secondary-btn, .header-cta, .consultation-close) { border: 1px solid ButtonText; }
  body.page-polished .site-nav a::after { background: LinkText; }
  body.page-polished .site-nav a:is(:hover, :focus-visible) .nav-letter { transform: none; }
  body.page-polished .nav-letter { text-shadow: none; }
  body.page-polished :is(.consultation-drawer, .consultation-trigger) { border: 1px solid CanvasText; }
}
