:root {
  color-scheme: light;
  --bg: #ffffff;
  --text: #1f2328;
  --muted: #59636e;
  --line: #d9dde3;
  --line-strong: #c5ccd4;
  --accent: #2f5a4b;
  --accent-soft: #eef3ef;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
}

[data-lang][hidden] {
  display: none !important;
}

.page-shell {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.page-shell-home {
  width: min(1440px, calc(100% - 80px));
}

.page-shell-home .site-footer {
  width: min(920px, calc(100% - 120px));
  margin-left: auto;
  margin-right: auto;
}

.page-shell-home .hero-app,
.page-shell-home .section-block {
  width: min(1240px, calc(100% - 120px));
  margin-left: auto;
  margin-right: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.page-shell-home .site-header {
  width: min(920px, calc(100% - 120px));
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  border-bottom: 0;
  padding-bottom: 18px;
}

.page-shell-home .site-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--line);
}

.site-brand,
.footer-brand,
h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-weight: 600;
  line-height: 1.25;
}

.site-brand,
.footer-brand {
  color: var(--text);
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lang-button {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 6px 12px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.lang-button:hover,
.lang-button:focus-visible {
  border-color: var(--line-strong);
  color: var(--text);
}

.lang-button.is-active {
  border-color: var(--line-strong);
  background: var(--accent-soft);
  color: var(--accent);
}

.page-content {
  display: grid;
  gap: 30px;
}

.hero-block,
.section-block,
.faq-list {
  display: grid;
  gap: 0;
}

.hero-app {
  display: grid;
  grid-template-columns: 164px minmax(0, 1fr);
  column-gap: 0;
  align-items: start;
}

.hero-app-body {
  grid-column: 2;
  min-width: 0;
  max-width: 920px;
}

.hero-header-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px;
  column-gap: 40px;
  align-items: start;
}

.hero-copy {
  min-width: 0;
}

.hero-heading {
  display: block;
}

.hero-inline-icon {
  display: block;
  width: 120px;
  height: 120px;
  border-radius: 28px;
  border: 1px solid var(--line);
}

.hero-side-icon {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 2.7rem);
  line-height: 1.04;
}

.hero-tagline {
  margin: 2px 0 0;
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.35;
}

.hero-subtitle,
.hero-support,
.section-body,
.section-list,
.faq-answer,
.contact-copy,
.footer-note,
.footer-meta {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.hero-support {
  margin-top: 10px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px 14px;
  margin-top: 14px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  flex: 1 1 auto;
}

.hero-facts span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.download-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 44px;
  margin-top: 0;
  padding: 0 18px;
  flex: 0 0 auto;
  margin-left: auto;
  border: 1px solid #27303a;
  border-radius: 999px;
  background: #27303a;
  color: #f5f7fa;
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.download-card span {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.download-card:hover,
.download-card:focus-visible {
  border-color: #1f2328;
  background: #1f2328;
  color: #ffffff;
  transform: translateY(-1px);
}

.meta-pill {
  color: var(--muted);
  background: #fafbfc;
}

.section-block {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.page-shell-home .section-block {
  position: relative;
  padding-top: 30px;
  border-top: 0;
}

.page-shell-home .section-block::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(920px, calc(100% - 120px));
  height: 1px;
  background: var(--line);
  transform: translateX(-50%);
}

.page-shell-home .section-block {
  grid-template-columns: 164px minmax(0, 1fr);
  column-gap: 0;
}

.page-shell-home .section-block > * {
  grid-column: 2;
}

.page-shell-home .section-block > .section-title,
.page-shell-home .section-block > .section-body,
.page-shell-home .section-block > .section-list,
.page-shell-home .section-block > .showcase-strip {
  max-width: 920px;
}

.showcase-strip {
  display: flex;
  width: 100%;
  gap: 16px;
  margin: 20px 0 0;
  padding: 4px 0 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: #d3d8de transparent;
}

.showcase-strip::-webkit-scrollbar {
  height: 8px;
}

.showcase-strip::-webkit-scrollbar-thumb {
  background: #d3d8de;
  border-radius: 999px;
}

.shot-card {
  margin: 0;
  flex: 0 0 206px;
  scroll-snap-align: start;
}

.shot-frame {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #f7f9f8;
}

.shot-frame img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center 72%;
  border-radius: 16px;
}

.shot-caption {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  justify-items: center;
  text-align: center;
}

.shot-title {
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.4;
}

.shot-note {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.section-title,
.faq-question {
  font-size: 1.22rem;
}

.section-list {
  margin-top: 14px;
  padding-left: 20px;
}

.section-list li + li {
  margin-top: 8px;
}

.contact-block {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.contact-label {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.text-link {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.text-link:hover,
.text-link:focus-visible {
  color: #23483d;
}

.faq-item {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.faq-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.faq-answer {
  margin-top: 10px;
}

.site-footer {
  display: grid;
  gap: 0;
  margin-top: 34px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.footer-copy,
.footer-meta-wrap {
  display: grid;
  gap: 6px;
}

.footer-meta-wrap {
  justify-items: end;
  align-content: start;
}

.footer-brand,
.footer-note,
.footer-meta {
  margin: 0;
}

.footer-note,
.footer-meta {
  font-size: 0.94rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: flex-end;
  margin-top: 2px;
}

.footer-link {
  display: inline-block;
  padding: 0;
  border: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--text);
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 24px, 760px);
    padding-top: 20px;
  }

  .page-shell-home {
    width: min(100% - 24px, 1440px);
  }

  .page-shell-home .site-header,
  .page-shell-home .hero-app,
  .page-shell-home .section-block,
  .page-shell-home .site-footer {
    width: auto;
  }

  .hero-app {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-app-body {
    grid-column: auto;
    max-width: none;
  }

  .hero-header-row {
    grid-template-columns: 1fr;
    row-gap: 12px;
  }

  .hero-heading {
    display: block;
  }

  .hero-side-icon {
    justify-content: flex-start;
  }

  .hero-inline-icon {
    width: 84px;
    height: 84px;
    margin-top: 0;
  }

  .download-card {
    min-height: 42px;
    padding: 0 16px;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .download-card {
    margin-left: 0;
  }

  .page-shell-home .section-block {
    grid-template-columns: 1fr;
  }

  .page-shell-home .section-block > * {
    grid-column: auto;
  }

  .page-shell-home .site-header::after,
  .page-shell-home .section-block::before {
    left: 16px;
    width: calc(100% - 32px);
    transform: none;
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-meta-wrap {
    justify-items: start;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .hero-title {
    font-size: clamp(1.85rem, 8vw, 2.25rem);
  }
}

@media (max-width: 460px) {
  .shot-card {
    flex-basis: 176px;
  }

  .shot-frame img {
    height: 320px;
  }
}
