:root {
  color-scheme: light;
  --page-background: #d9f4ff;
  --brand-dark: #1a3c6b;
  --brand-accent: #2186ad;
  --brand-accent-text: #197399;
  --muted: #6f879f;
  --soft-border: rgba(26, 60, 107, 0.14);
  --focus: #0a69a0;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-height: 100%;
  background: var(--page-background);
}

body {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--brand-dark);
  background: var(--page-background);
  font-family: "PingFang SC", "PingFang HK", "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
  font-weight: 300;
}

a {
  color: var(--brand-accent-text);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--brand-dark);
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  border-radius: 4px;
}

.language-control summary:focus-visible {
  outline-width: 2px;
  outline-offset: 2px;
  border-radius: 50%;
}

.language-control {
  position: absolute;
  z-index: 30;
  top: 28px;
  right: 34px;
  color: var(--brand-dark);
  font-size: 0.9rem;
}

.language-control summary {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  list-style: none;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.language-control summary::-webkit-details-marker {
  display: none;
}

.language-control[open] summary,
.language-control summary:hover {
  background: rgba(255, 255, 255, 0.56);
}

.language-icon {
  display: block;
  width: 20px;
  height: 20px;
  opacity: 0.78;
  transition: opacity 0.2s ease;
}

.language-control[open] .language-icon,
.language-control summary:hover .language-icon {
  opacity: 1;
}

.language-control nav {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: max-content;
  max-width: calc(100vw - 28px);
  overflow: hidden;
  border: 1px solid var(--soft-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 32px rgba(26, 60, 107, 0.12);
}

.language-control nav a {
  display: block;
  min-height: 44px;
  padding: 12px;
  color: var(--brand-dark);
  text-decoration: none;
  white-space: nowrap;
}

.language-control nav a:hover,
.language-control nav a[aria-current="page"] {
  background: rgba(33, 134, 173, 0.1);
}

.home-container {
  display: flex;
  width: 100%;
  flex: 1 0 auto;
  justify-content: center;
  align-items: center;
  min-height: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 150px 18px;
  gap: 0;
}

.home-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.title-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.inline-logo {
  width: 40px;
  height: 40px;
  margin-right: 0.7em;
  align-self: center;
  border-radius: 50%;
}

.title {
  overflow: hidden;
  margin: 0.67em 0;
  color: var(--brand-dark);
  font-family: "Montserrat", "PingFang SC", "PingFang HK", "Helvetica Neue", Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 200;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.subtitle {
  width: 450px;
  margin: 0;
  color: var(--brand-accent-text);
  font-family: "Montserrat", "PingFang SC", "PingFang HK", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.6rem;
  font-weight: 200;
  line-height: 1.5;
}

.hero-detail {
  width: 450px;
  margin: 0.7em 0 0;
  color: var(--brand-accent-text);
  font-size: 1.04rem;
  line-height: 1.6;
}

.app-store-area {
  margin-top: 1.45rem;
}

.app-store-coming-soon {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 10px;
  background: #101010;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: default;
  user-select: none;
}

.qrcode-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1.95rem;
  padding: 0 0.8em 1.2em;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.qrcode-tip {
  margin-bottom: 0.8em;
  color: var(--brand-dark);
  font-size: 1rem;
  font-weight: 200;
  letter-spacing: 0.05em;
}

.qrcode-img {
  width: 120px;
  height: 120px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(.22, 1, .36, 1), box-shadow 0.22s cubic-bezier(.22, 1, .36, 1);
}

.qrcode-img:hover {
  z-index: 10;
  transform: scale(1.7) translateY(-8px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.home-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.device-showcase {
  position: relative;
  display: flex;
  width: 600px;
  height: 450px;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.home-container--without-wechat .device-showcase {
  height: 303px;
}

@media (min-width: 1201px) {
  .home-container--without-wechat {
    gap: 64px;
    padding-top: 50px;
    padding-right: 18px;
    padding-bottom: 18px;
    padding-left: 18px;
  }

  .home-container--without-wechat .home-copy {
    transform: translateY(-12px);
  }

  .home-container--without-wechat .title-row {
    margin-bottom: 27px;
  }

  .home-container--without-wechat .title {
    margin: 0;
  }

  .home-container--without-wechat .device-showcase {
    width: 650px;
  }

  .home-container--without-wechat .macbook-img {
    left: 150px;
  }

  .home-container--without-wechat .ipad-img {
    left: 30px;
  }

  .home-container--without-wechat .iphone-img {
    left: 0;
  }
}

.device-img {
  position: absolute;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.3s ease;
}

.macbook-img {
  z-index: 1;
  bottom: 0;
  left: 25%;
  width: 500px;
  height: auto;
}

.ipad-img {
  z-index: 2;
  bottom: 0;
  left: 5%;
  width: 300px;
  height: auto;
}

.iphone-img {
  z-index: 3;
  bottom: 0;
  left: 0;
  width: 80px;
  height: auto;
}

.sousou-img {
  align-self: center;
  height: 38px;
  margin-left: 16px;
}

.sousou-img-mobile {
  display: none;
}

.qrcode-tip-pc {
  display: inline;
}

.qrcode-tip-mobile {
  display: none;
}

.site-footer {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  padding: 6px 20px 34px;
  text-align: center;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--brand-dark);
  font-size: 0.94rem;
}

.footer-legal a {
  color: var(--brand-dark);
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--brand-accent-text);
  text-decoration: underline;
}

.footer-beian {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  color: #536b84;
  font-size: 0.85rem;
  font-weight: 200;
  letter-spacing: 0.04em;
}

.beian-link,
.gongan-link {
  color: #536b84;
  text-decoration: none;
}

.gongan-link {
  display: inline-flex;
  align-items: center;
}

.beian-link:hover,
.gongan-link:hover {
  color: var(--brand-accent-text);
  text-decoration: underline;
}

.gongan-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 2px;
  vertical-align: middle;
}

.beian-sep {
  margin: 0 6px;
  color: #a5b4c2;
}

.document-shell {
  width: min(100% - 40px, 920px);
  flex: 1 0 auto;
  margin: 0 auto;
  padding: 82px 0 28px;
}

.document-brand {
  display: inline-flex;
  align-items: center;
  margin: 0 0 24px 10px;
  color: var(--brand-dark);
  font-size: 1.5rem;
  font-weight: 300;
  text-decoration: none;
}

.document-brand .inline-logo {
  width: 34px;
  height: 34px;
}

.document-card {
  padding: 48px 54px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 40px rgba(26, 60, 107, 0.06);
  color: #263f5b;
  font-size: 1rem;
  line-height: 1.78;
}

.document-card h1 {
  margin: 0 0 26px;
  color: var(--brand-dark);
  font-size: clamp(2rem, 5vw, 2.65rem);
  font-weight: 300;
  line-height: 1.18;
}

.document-card h2 {
  margin: 2.2em 0 0.65em;
  color: var(--brand-dark);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.35;
}

.document-card h3 {
  margin: 1.7em 0 0.5em;
  color: var(--brand-dark);
  font-size: 1.12rem;
  font-weight: 500;
}

.document-card p {
  margin: 0.85em 0;
}

.document-card ul,
.document-card ol {
  margin: 0.75em 0 1.1em;
  padding-left: 1.45em;
}

.document-card li + li {
  margin-top: 0.42em;
}

.document-card strong {
  color: var(--brand-dark);
  font-weight: 600;
}

.not-found {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}

.not-found-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
}

.not-found-code {
  margin: 24px 0 4px;
  color: var(--brand-accent-text);
  font-size: 1rem;
  letter-spacing: 0.14em;
}

.not-found h1 {
  margin: 0;
  font-size: clamp(2rem, 8vw, 3.6rem);
  font-weight: 300;
}

.not-found > a {
  margin-top: 16px;
}

.not-found-languages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  margin-top: 36px;
  font-size: 0.9rem;
}

@media (max-width: 1200px) {
  .language-control {
    top: 18px;
    right: 22px;
  }

  .sousou-img-pc {
    display: none;
  }

  .sousou-img-mobile {
    position: static;
    display: block;
    max-width: 96vw;
    height: 32px;
    margin: 0 auto 18px;
    text-align: center;
  }

  .home-container {
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 78px 0 36px;
  }

  .home-copy,
  .home-visual {
    max-width: 100%;
    align-items: center;
    padding: 0;
  }

  .subtitle,
  .hero-detail {
    width: min(450px, 82%);
    text-align: center;
  }

  .subtitle {
    font-size: 1.1rem;
  }

  .hero-detail {
    font-size: 0.98rem;
  }

  .device-showcase {
    width: 546px;
    height: 324px;
  }

  .home-container--without-wechat .device-showcase {
    height: 248px;
  }

  .home-container--without-wechat .home-visual {
    margin-top: 72px;
  }

  .macbook-img {
    left: 25%;
    width: 410px;
  }

  .ipad-img {
    left: 5%;
    width: 258px;
  }

  .iphone-img {
    left: 0;
    width: 69px;
  }

  .qrcode-tip-pc {
    display: none;
  }

  .qrcode-tip-mobile {
    display: inline;
  }

  .qrcode-img:hover {
    z-index: auto;
    transform: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  }

  .site-footer {
    padding-bottom: 28px;
  }

  .footer-beian {
    flex-direction: column;
    gap: 3px;
    font-size: 0.9rem;
  }

  .beian-sep {
    display: none;
  }
}

@media (min-width: 701px) and (max-width: 1200px) {
  .home-container--without-wechat .home-copy {
    transform: translateY(-24px);
  }
}

@media (max-width: 700px) {
  .home-container--without-wechat .home-copy {
    transform: translateY(-40px);
  }

  .device-showcase {
    width: 406px;
    height: 259px;
  }

  .home-container--without-wechat .device-showcase {
    height: 184px;
  }

  .macbook-img {
    left: 25%;
    width: auto;
    height: 184px;
  }

  .ipad-img {
    left: 5%;
    width: auto;
    height: 148px;
  }

  .iphone-img {
    left: 0;
    width: auto;
    height: 106px;
  }

  .document-shell {
    width: min(100% - 28px, 920px);
    padding-top: 76px;
  }

  .document-brand {
    margin-left: 4px;
  }

  .document-card {
    padding: 30px 24px;
    border-radius: 18px;
    font-size: 0.98rem;
  }

  .document-card h2 {
    font-size: 1.3rem;
  }
}

@media (max-width: 500px) {
  .home-container--without-wechat .home-copy {
    transform: translateY(-48px);
  }

  .language-control {
    right: 14px;
  }

  .language-control nav a {
    min-height: 44px;
    padding: 12px 10px;
  }

  .title {
    font-size: 2.05rem;
  }

  .inline-logo {
    width: 36px;
    height: 36px;
  }

  .subtitle,
  .hero-detail {
    width: min(420px, 82%);
  }

  .device-showcase {
    width: min(306px, 100%);
    height: auto;
    aspect-ratio: 306 / 214;
  }

  .home-container--without-wechat .device-showcase {
    height: auto;
    aspect-ratio: 306 / 139;
  }

  .macbook-img {
    left: 25%;
    width: 75%;
    height: auto;
  }

  .ipad-img {
    left: 5%;
    width: 47%;
    height: auto;
  }

  .iphone-img {
    left: 0;
    width: 12.4%;
    height: auto;
  }

  .app-store-coming-soon {
    max-width: calc(100vw - 28px);
    padding-right: 14px;
    padding-left: 14px;
    text-align: center;
  }

  .footer-legal {
    flex-wrap: wrap;
    gap: 7px 9px;
    font-size: 0.9rem;
  }

  .document-card {
    padding: 26px 20px;
  }
}

@media (max-width: 220px) {
  .title {
    font-size: 1.75rem;
  }

  .inline-logo {
    width: 32px;
    height: 32px;
    margin-right: 0.55em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
