:root {
  color-scheme: light;
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #1f2428;
  --muted: #66707a;
  --line: #d8dee4;
  --accent: #167a5b;
  --accent-soft: #e4f4ee;
  --link: #0a66c2;
  --shadow: 0 18px 50px rgba(31, 36, 40, 0.09);
}

html {
  scroll-behavior: smooth;
}

html[data-language="en"] [data-lang="zh"],
html[data-language="zh"] [data-lang="en"] {
  display: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.masthead {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0 28px;
}

.app-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(31, 36, 40, 0.16);
}

.brand {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.nav {
  margin-left: auto;
  display: flex;
  gap: 16px;
  font-size: 14px;
}

.document {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 42px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 38px;
  line-height: 1.15;
}

.summary {
  margin: 18px 0 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.updated {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.notice {
  margin: 28px 0;
  padding: 16px 18px;
  background: var(--accent-soft);
  border: 1px solid #b9dfd0;
  border-radius: 8px;
}

.notice p {
  margin: 0;
}

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

h2 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.25;
}

h3 {
  margin: 22px 0 8px;
  font-size: 17px;
}

p {
  margin: 0 0 14px;
}

ul,
ol {
  margin: 0 0 14px;
  padding-left: 22px;
}

li + li {
  margin-top: 6px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.fact {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.fact strong {
  display: block;
  margin-bottom: 4px;
}

.contact {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  background: var(--text);
  color: #ffffff;
  border-radius: 8px;
  font-weight: 700;
}

.contact:hover {
  color: #ffffff;
}

.footer {
  padding-top: 22px;
  color: var(--muted);
  font-size: 14px;
}

.marketing {
  background: #f4f6f8;
}

.hero {
  min-height: 94vh;
  display: flex;
  align-items: center;
  padding: 84px max(24px, calc((100vw - 1180px) / 2)) 92px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(4, 10, 16, 0.88), rgba(4, 10, 16, 0.46) 47%, rgba(4, 10, 16, 0.12)),
    url("hero.webp") top center / cover no-repeat;
}

.hero-copy {
  width: min(650px, 100%);
}

.hero .eyebrow {
  color: #f2c15b;
}

.hero h1 {
  font-size: clamp(44px, 7vw, 82px);
  max-width: 740px;
  text-wrap: balance;
}

.hero-summary {
  margin: 24px 0 0;
  max-width: 610px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(19px, 2.2vw, 27px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: #11161c;
  color: #ffffff;
  font-weight: 800;
}

.text-action {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.content-band {
  padding: 74px 0;
  background: #ffffff;
}

.content-band:nth-of-type(odd) {
  background: #f4f6f8;
}

.content-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.split h2,
.section-heading h2,
.final-copy h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  text-wrap: balance;
}

.split p {
  color: var(--muted);
  font-size: 20px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.feature h3 {
  margin-top: 0;
  font-size: 23px;
}

.feature p {
  color: var(--muted);
}

.screenshots-band {
  background: #171c21;
  color: #ffffff;
}

.screenshots-band .eyebrow {
  color: #f2c15b;
}

.section-heading {
  max-width: 960px;
  margin-bottom: 28px;
}

.nowrap-desktop {
  white-space: nowrap;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.screenshot-item {
  margin: 0;
}

.screenshot-item.primary {
  grid-column: 1 / -1;
}

.screenshot-item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.screenshot-item figcaption {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.final-band {
  background: #ffffff;
}

.final-copy {
  max-width: 820px;
}

.final-copy p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 20px;
}

.final-copy .store-badge {
  margin-top: 16px;
}

.marketing-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 42px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
}

.marketing-footer nav {
  margin-left: auto;
  display: flex;
  gap: 16px;
}

@media (max-width: 680px) {
  .page {
    width: min(100% - 24px, 920px);
    padding: 24px 0 36px;
  }

  .masthead {
    align-items: flex-start;
  }

  .nav {
    margin-left: 0;
    flex-direction: column;
    gap: 4px;
  }

  .document {
    padding: 26px 20px;
  }

  h1 {
    font-size: 30px;
  }

  .summary {
    font-size: 16px;
  }

  .facts {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 92vh;
    padding: 72px 20px 76px;
    background:
      linear-gradient(180deg, rgba(4, 10, 16, 0.84), rgba(4, 10, 16, 0.62) 58%, rgba(4, 10, 16, 0.36)),
      url("hero.webp") top center / cover no-repeat;
  }

  .hero h1 {
    font-size: 42px;
  }

  .content-band {
    padding: 52px 0;
  }

  .content-inner {
    width: min(100% - 24px, 1180px);
  }

  .split,
  .feature-grid,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .nowrap-desktop {
    white-space: normal;
  }

  .feature {
    min-height: auto;
  }

  .marketing-footer {
    width: min(100% - 24px, 1180px);
    align-items: flex-start;
    flex-direction: column;
  }

  .marketing-footer nav {
    margin-left: 0;
  }
}
