:root {
  color-scheme: light;
  --cream: #fff8ec;
  --paper: #fffdf8;
  --mint: #dcebd5;
  --mint-deep: #54734f;
  --sky: #d9eef3;
  --coral: #e99373;
  --coral-soft: #fae2d5;
  --ink: #4f4038;
  --muted: #78685e;
  --line: #e7dbc9;
  --focus: #2768b2;
  --content: 1120px;
  --reading: 780px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--cream);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--mint-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:hover {
  color: #315c35;
}

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

.skip-link {
  position: absolute;
  top: -80px;
  left: 20px;
  z-index: 20;
  background: var(--paper);
  color: var(--ink);
  padding: 10px 14px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: relative;
  z-index: 10;
  background: rgba(255, 253, 248, 0.96);
  border-bottom: 1px solid rgba(79, 64, 56, 0.13);
}

.site-header--overlay {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  background: rgba(255, 253, 248, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 48px, var(--content));
  min-height: 72px;
  margin: 0 auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  color: var(--ink);
  font-size: 21px;
  font-weight: 850;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 15px;
  font-weight: 720;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--coral);
  color: var(--ink);
}

.language-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(40px, auto));
  padding: 3px;
  border: 1px solid rgba(79, 64, 56, 0.16);
  border-radius: 7px;
  background: rgba(255, 253, 248, 0.82);
}

.language-switch button {
  min-height: 34px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 760;
  padding: 5px 10px;
}

.language-switch button[aria-pressed="true"] {
  background: var(--mint);
  color: var(--ink);
}

.language-switch button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

html[data-lang="zh"] [data-copy]:not([data-copy="zh"]),
html[data-lang="zht"] [data-copy]:not([data-copy="zht"]),
html[data-lang="en"] [data-copy]:not([data-copy="en"]) {
  display: none !important;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--mint-deep);
  font-size: 14px;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  line-height: 1.25;
}

h1 {
  font-size: 64px;
  font-weight: 880;
}

h2 {
  font-size: 38px;
  font-weight: 850;
}

h3 {
  font-size: 22px;
  font-weight: 820;
}

p {
  margin: 0 0 18px;
}

.home-hero {
  position: relative;
  display: flex;
  height: min(860px, 86svh);
  min-height: 680px;
  align-items: flex-end;
  overflow: hidden;
  background: var(--sky);
}

.home-hero__media,
.home-hero__media picture,
.home-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero__media img {
  object-fit: cover;
  object-position: center 48%;
}

.home-hero__copy {
  position: relative;
  width: 100%;
  background: rgba(255, 250, 240, 0.88);
  border-top: 1px solid rgba(79, 64, 56, 0.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.home-hero__inner {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  width: min(100% - 48px, var(--content));
  margin: 0 auto;
  padding: 34px 0 38px;
}

.hero-app-icon {
  width: 112px;
  height: 112px;
  border: 1px solid rgba(79, 64, 56, 0.12);
  border-radius: 25px;
  box-shadow: 0 14px 34px rgba(79, 64, 56, 0.16);
}

.home-hero h1 {
  margin-bottom: 8px;
}

.home-hero__tagline {
  max-width: 680px;
  margin-bottom: 6px;
  color: #66554a;
  font-size: 22px;
  font-weight: 620;
}

.home-hero__platforms {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 680;
}

.section-inner {
  width: min(100% - 48px, var(--content));
  margin: 0 auto;
}

.intro-band {
  background: var(--paper);
  padding: 92px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 80px;
  align-items: start;
}

.intro-grid h2 {
  max-width: 640px;
  margin-bottom: 24px;
}

.intro-copy {
  max-width: 650px;
  color: #66564b;
  font-size: 20px;
}

.promise-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.promise-list div {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.promise-list dt {
  margin-bottom: 5px;
  font-size: 18px;
  font-weight: 820;
}

.promise-list dd {
  margin: 0;
  color: var(--muted);
}

.journey-band {
  background: var(--mint);
  padding: 92px 0;
}

.journey-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 72px;
  align-items: center;
}

.journey-media {
  margin: 0;
}

.journey-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  border: 1px solid rgba(79, 64, 56, 0.13);
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 22px 48px rgba(70, 87, 63, 0.16);
}

.journey-copy h2 {
  margin-bottom: 22px;
}

.journey-copy p {
  color: #5e564c;
  font-size: 19px;
}

.stats-band {
  background: var(--cream);
  padding: 84px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-grid div {
  min-width: 0;
  padding: 30px 26px;
  border-right: 1px solid var(--line);
}

.stats-grid div:last-child {
  border-right: 0;
}

.stats-grid dt {
  margin-bottom: 3px;
  color: var(--coral);
  font-size: 34px;
  font-weight: 880;
  line-height: 1.2;
}

.stats-grid dd {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

.closing-band {
  background: var(--sky);
  padding: 88px 0 94px;
  text-align: center;
}

.closing-band h2 {
  max-width: 760px;
  margin: 0 auto 18px;
}

.closing-band p {
  max-width: 650px;
  margin: 0 auto;
  color: #5e6570;
  font-size: 19px;
}

.page-hero {
  background: var(--mint);
  border-bottom: 1px solid rgba(79, 64, 56, 0.12);
}

.page-hero__inner {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  width: min(100% - 48px, var(--reading));
  margin: 0 auto;
  padding: 70px 0 64px;
}

.page-icon {
  width: 96px;
  height: 96px;
  border: 1px solid rgba(79, 64, 56, 0.13);
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(70, 87, 63, 0.14);
}

.page-hero h1 {
  margin-bottom: 8px;
  font-size: 48px;
}

.page-hero p {
  margin: 0;
  color: #5f5d51;
  font-size: 19px;
}

.support-main {
  width: min(100% - 48px, var(--reading));
  margin: 0 auto;
  padding: 66px 0 90px;
}

.support-summary {
  margin-bottom: 52px;
  border-left: 5px solid var(--coral);
  background: var(--paper);
  padding: 24px 26px;
}

.support-summary h2 {
  margin-bottom: 9px;
  font-size: 25px;
}

.support-summary p:last-child {
  margin-bottom: 0;
}

.support-section {
  border-top: 1px solid var(--line);
  padding: 38px 0 28px;
}

.support-section h2 {
  margin-bottom: 15px;
  font-size: 27px;
}

.support-section p,
.support-section li {
  color: #66564b;
}

.support-section strong {
  color: var(--ink);
}

.support-section ol,
.support-section ul {
  margin: 8px 0 18px;
  padding-left: 1.4em;
}

.support-section li {
  margin-bottom: 9px;
  padding-left: 4px;
}

.contact-band {
  margin-top: 28px;
  border-top: 1px solid #e9c0ad;
  border-bottom: 1px solid #e9c0ad;
  background: var(--coral-soft);
  padding: 30px 0;
}

.contact-band h2 {
  margin-bottom: 12px;
  font-size: 28px;
}

.contact-band address {
  font-style: normal;
}

.contact-link {
  display: inline-block;
  margin-top: 4px;
  color: #75422f;
  font-size: 18px;
  font-weight: 800;
}

.site-footer {
  background: var(--mint);
  border-top: 1px solid rgba(79, 64, 56, 0.12);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 48px, var(--content));
  margin: 0 auto;
  padding: 30px 0 calc(30px + env(safe-area-inset-bottom));
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  color: var(--muted);
}

@media (max-width: 820px) {
  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 34px;
  }

  .intro-grid,
  .journey-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .journey-copy {
    order: -1;
  }

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

  .stats-grid div:nth-child(2) {
    border-right: 0;
  }

  .stats-grid div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .site-header__inner,
  .section-inner,
  .site-footer__inner,
  .page-hero__inner,
  .support-main {
    width: min(100% - 32px, var(--content));
  }

  .site-header__inner {
    min-height: 64px;
    gap: 12px;
  }

  .brand {
    font-size: 19px;
  }

  .site-nav {
    gap: 13px;
  }

  .site-nav a {
    font-size: 13px;
  }

  .header-actions {
    gap: 12px;
  }

  .language-switch {
    grid-template-columns: repeat(2, 36px);
  }

  .language-switch button {
    min-height: 32px;
    padding: 4px 6px;
  }

  .home-hero {
    height: 84svh;
    min-height: 620px;
  }

  .home-hero__media img {
    object-position: center 46%;
  }

  .home-hero__inner {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 18px;
    width: min(100% - 32px, var(--content));
    padding: 24px 0 26px;
  }

  .hero-app-icon {
    width: 82px;
    height: 82px;
    border-radius: 19px;
  }

  .home-hero h1 {
    font-size: 43px;
  }

  .home-hero__tagline {
    font-size: 17px;
    line-height: 1.55;
  }

  .intro-band,
  .journey-band {
    padding: 68px 0;
  }

  h2 {
    font-size: 31px;
  }

  .intro-copy,
  .journey-copy p {
    font-size: 17px;
  }

  .stats-band {
    padding: 62px 0;
  }

  .stats-grid div {
    padding: 24px 16px;
  }

  .stats-grid dt {
    font-size: 29px;
  }

  .closing-band {
    padding: 70px 0 76px;
  }

  .page-hero__inner {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 18px;
    padding: 48px 0 44px;
  }

  .page-icon {
    width: 76px;
    height: 76px;
    border-radius: 18px;
  }

  .page-hero h1 {
    font-size: 36px;
  }

  .page-hero p {
    font-size: 16px;
  }

  .support-main {
    padding: 48px 0 70px;
  }

  .support-summary {
    padding: 21px 18px;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 360px) {
  .site-header__inner {
    justify-content: flex-end;
  }

  .site-header .brand {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  html,
  body,
  .site-header,
  .site-footer,
  .page-hero,
  .support-summary,
  .contact-band {
    background: #fff;
  }

  .site-nav,
  .site-footer {
    display: none;
  }

  .support-main {
    width: 100%;
  }
}
