:root {
  color-scheme: light;
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #202738;
  --muted: #657086;
  --line: #dce3ec;
  --accent: #2f6db5;
  --accent-soft: #e7f0fb;
  --link: #175fad;
  --shadow: 0 18px 50px rgba(32, 39, 56, 0.1);
}

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;
  overflow-x: hidden;
}

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

a:hover {
  text-decoration: underline;
}

p,
li {
  overflow-wrap: break-word;
}

.marketing {
  background: #f4f6f8;
}

.eyebrow {
  margin: 0 0 10px;
  color: #f2c15b;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.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(8, 16, 30, 0.88), rgba(8, 16, 30, 0.46) 47%, rgba(8, 16, 30, 0.12)),
    url("hero.png") top center / cover no-repeat;
}

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

h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 1.06;
  max-width: 740px;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.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;
  overflow-wrap: break-word;
}

.hero-actions,
.final-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-actions {
  margin-top: 34px;
}

.app-store-badge {
  display: block;
  width: 156px;
  height: 40px;
}

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

.text-action.dark {
  color: var(--link);
}

.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);
}

.privacy-band {
  background: #edf4fb;
}

.privacy-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.final-band {
  background: #ffffff;
}

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

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

.final-actions {
  margin-top: 16px;
}

.subpage-hero {
  min-height: 56vh;
  padding: 20px max(24px, calc((100vw - 1180px) / 2)) 86px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(8, 16, 30, 0.9), rgba(8, 16, 30, 0.58) 52%, rgba(8, 16, 30, 0.18)),
    url("hero.png") top center / cover no-repeat;
}

.subpage-hero-copy {
  width: min(760px, 100%);
  min-width: 0;
  margin-top: 92px;
}

.subpage-hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  max-width: 760px;
  text-wrap: balance;
}

.subpage-hero-links {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
}

.subpage-hero-links a {
  color: rgba(255, 255, 255, 0.8);
}

.subpage-hero-links a[aria-current="page"] {
  color: #ffffff;
}

.article-copy {
  max-width: 860px;
}

.article-copy .section:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

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

.section h2 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.2;
}

.section h3 {
  margin: 28px 0 8px;
  font-size: 20px;
  line-height: 1.25;
}

.section p {
  margin: 0 0 14px;
  color: var(--muted);
}

.updated,
.contact-note {
  color: var(--muted);
}

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

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

.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: 980px) {
  .privacy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: 92vh;
    padding: 72px 20px 76px;
    background:
      linear-gradient(180deg, rgba(8, 16, 30, 0.86), rgba(8, 16, 30, 0.62) 58%, rgba(8, 16, 30, 0.34)),
      url("hero.png") top center / cover no-repeat;
  }

  .hero h1 {
    font-size: 40px;
    max-width: 100%;
  }

  .hero-summary {
    font-size: 18px;
    max-width: 100%;
  }

  .hero-copy,
  .subpage-hero-copy {
    width: 100%;
  }

  .hero-copy {
    max-width: 330px;
  }

  .subpage-hero-copy {
    max-width: 340px;
  }

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

  .content-inner {
    width: min(calc(100% - 24px), 1180px);
    max-width: 340px;
    margin-left: 12px;
    margin-right: auto;
  }

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

  .split {
    gap: 18px;
  }

  .feature {
    min-height: auto;
  }

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

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

  .subpage-hero {
    min-height: 58vh;
    padding: 18px 20px 68px;
    background:
      linear-gradient(180deg, rgba(8, 16, 30, 0.86), rgba(8, 16, 30, 0.66) 58%, rgba(8, 16, 30, 0.38)),
      url("hero.png") top center / cover no-repeat;
  }

  .subpage-hero-copy {
    margin-top: 72px;
  }

  .subpage-hero h1 {
    font-size: 38px;
    max-width: 100%;
  }
}
