:root {
  color-scheme: light;
  --carbon: #09090b;
  --paper: #fff;
  --sky: #dceeff;
  --concrete: #d5d5d5;
  --mist: #ededed;
  --blue: #4da2ff;
  --mint: #55db9c;
  --lavender: #e9ccff;
  --ember: #fb4903;
  --yellow: #ffd731;
  --violet: #5c4ade;
  --radius-card: 28px;
  --radius-small: 18px;
  --radius-pill: 999px;
  --page: 1440px;
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", "PingFang SC", sans-serif;
  --body: "Avenir Next", Avenir, "PingFang SC", "Microsoft YaHei", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { margin: 0; background: var(--paper); color: var(--carbon); font-family: var(--body); font-size: 16px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
p { line-height: 1.6; text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
::selection { background: var(--yellow); color: var(--carbon); }
:focus-visible { outline: 4px solid var(--ember); outline-offset: 4px; }

.skip-link { position: fixed; left: 16px; top: 10px; z-index: 20; transform: translateY(-160%); padding: 10px 16px; border: 1px solid var(--carbon); border-radius: var(--radius-pill); background: var(--paper); font-weight: 800; }
.skip-link:focus { transform: translateY(0); }

.marquee { overflow: hidden; border-bottom: 1px solid var(--carbon); background: var(--carbon); color: var(--paper); }
.marquee__track { display: flex; width: max-content; padding: 10px 0; animation: marquee 24s linear infinite; }
.marquee__track span { white-space: nowrap; padding: 0 34px; font-size: 12px; font-weight: 700; letter-spacing: .05em; }
.marquee__track span::after { content: "✦"; margin-left: 68px; color: var(--yellow); }
@keyframes marquee { to { transform: translateX(-50%); } }

.site-header { position: absolute; top: 39px; left: 0; right: 0; z-index: 5; padding: 18px 24px; }
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; max-width: var(--page); margin: 0 auto; }
.brand { display: inline-flex; width: fit-content; }
.brand__logo { width: 48px; height: 48px; }
.nav__links { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--carbon); border-radius: var(--radius-pill); background: rgba(255,255,255,.92); }
.nav__links a { padding: 10px 16px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 700; letter-spacing: .03em; }
.nav__links a:hover { background: var(--mist); }
.nav__actions { display: flex; align-items: center; justify-self: end; gap: 8px; }
.nav__cta { justify-self: end; }

.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 10px 18px; border: 1px solid var(--carbon); border-radius: var(--radius-pill); font-size: 14px; font-weight: 700; letter-spacing: .03em; white-space: nowrap; transition: transform 160ms ease, background 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(1px); }
.button--dark { background: var(--carbon); color: var(--paper); }
.button--dark:hover { background: #27272a; }
.button--light { background: var(--paper); color: var(--carbon); }
.button--light:hover { background: var(--mist); }

.hero { min-height: 100dvh; display: grid; grid-template-columns: minmax(0, .92fr) minmax(520px, 1.08fr); align-items: center; gap: 0; overflow: hidden; padding: 118px max(24px, calc((100vw - var(--page)) / 2)) 44px; background: var(--sky); }
.hero__copy { position: relative; z-index: 2; max-width: 720px; padding-left: 24px; }
.eyebrow { width: fit-content; margin: 0 0 22px; padding: 9px 14px; border: 1px solid var(--carbon); border-radius: var(--radius-pill); background: var(--paper); font-size: 12px; font-weight: 700; letter-spacing: .06em; }
h1 { margin: 0; font-family: var(--display); font-size: clamp(78px, 10vw, 168px); font-weight: 400; letter-spacing: -.03em; line-height: .8; }
h1 span { display: block; font-size: 1.08em; letter-spacing: -.025em; }
html[lang="zh-CN"] h1 { font-weight: 800; letter-spacing: -.02em; line-height: .95; }
html[lang="zh-CN"] h1 span { font-size: 1em; }
.hero__lead { max-width: 30em; margin: 30px 0 0; font-size: clamp(17px, 1.6vw, 24px); font-weight: 500; line-height: 1.5; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero__visual { position: relative; min-width: 680px; margin-left: -96px; transform: rotate(1deg); }
.hero__visual img { width: min(860px, 64vw); filter: drop-shadow(0 22px 32px rgba(32, 106, 179, .18)); }
.sticker { position: absolute; display: grid; min-width: 112px; min-height: 58px; place-items: center; padding: 12px 18px; border: 1px solid var(--carbon); border-radius: var(--radius-small); font-size: 13px; font-weight: 900; }
.sticker--violet { right: 9%; bottom: 13%; background: var(--violet); color: var(--paper); transform: rotate(-7deg); }
.sticker--yellow { top: 12%; left: 21%; min-width: 76px; background: var(--yellow); transform: rotate(9deg); }

.announcement { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding: 44px max(24px, calc((100vw - var(--page)) / 2)); background: var(--lavender); }
.announcement__copy { flex: 1 1 440px; }
.announcement .eyebrow { margin-bottom: 14px; }
.announcement h2 { font-family: var(--body); font-size: clamp(24px, 3vw, 36px); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.announcement__copy > p:not(.eyebrow) { max-width: 60em; margin: 14px 0 0; }

.statement { display: flex; min-height: 48vh; align-items: center; justify-content: center; padding: 80px 24px; background: var(--blue); overflow: hidden; }
.statement p { margin: 0; max-width: 1200px; text-align: center; font-family: var(--display); font-size: clamp(64px, 10vw, 154px); font-weight: 400; letter-spacing: -.025em; line-height: .9; text-wrap: balance; }
html[lang="zh-CN"] .statement p { font-weight: 800; letter-spacing: -.02em; }
.statement p, .hero__visual, .feature--visual img, .privacy-stamp { transform-origin: 50% 50%; }

.features { padding: 120px max(24px, calc((100vw - var(--page)) / 2)); background: var(--paper); }
.section-heading { max-width: 860px; }
h2 { margin: 0; font-family: var(--display); font-size: clamp(44px, 6.4vw, 92px); font-weight: 400; letter-spacing: -.03em; line-height: .98; }
html[lang="zh-CN"] h2 { font-weight: 800; letter-spacing: -.02em; }
.section-heading > p, .download__heading > p { max-width: 36em; margin: 22px 0 0; font-size: 18px; font-weight: 500; line-height: 1.6; }
.feature-grid { display: grid; grid-template-columns: 1.25fr .75fr; grid-template-rows: 1fr 1fr 1fr; gap: 18px; margin-top: 68px; }
.feature { position: relative; min-height: 224px; overflow: hidden; padding: 32px; border: 1px solid var(--carbon); border-radius: var(--radius-card); }
.feature h3 { margin: 0; font-size: clamp(26px, 3vw, 42px); letter-spacing: -.025em; line-height: 1.08; }
.feature p { max-width: 30em; margin: 12px 0 0; font-size: 16px; font-weight: 500; }
.feature--visual { grid-row: 1 / 4; min-height: 720px; display: grid; place-items: center; padding: 26px; background: var(--sky); }
.feature--visual img { width: min(92%, 610px); filter: drop-shadow(0 18px 24px rgba(32, 106, 179, .14)); }
.feature--blue { background: var(--blue); }
.feature--mint { background: var(--mint); }
.feature--lavender { background: var(--lavender); }
.feature__number { position: absolute; right: 24px; bottom: -26px; font-family: var(--display); font-size: 176px; line-height: 1; opacity: .24; }

.how { padding: 120px max(24px, calc((100vw - var(--page)) / 2)); background: var(--concrete); }
.how h2 { max-width: 780px; }
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 60px; margin: 68px 0 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 86px 1fr; gap: 22px; align-items: start; padding: 30px 0; border-top: 1px solid var(--carbon); }
.steps li:nth-child(3), .steps li:nth-child(4) { border-bottom: 1px solid var(--carbon); }
.steps li > span { display: grid; width: 70px; height: 70px; place-items: center; border: 1px solid var(--carbon); border-radius: 50%; background: var(--yellow); font-size: 26px; font-weight: 700; }
.steps li:nth-child(2) > span { background: var(--mint); }
.steps li:nth-child(3) > span { background: var(--lavender); }
.steps li:nth-child(4) > span { background: var(--blue); }
.steps h3 { margin: 4px 0 0; font-size: 25px; line-height: 1.1; }
.steps p { margin: 7px 0 0; font-weight: 500; }

.privacy-band { display: grid; grid-template-columns: 1fr 340px; align-items: center; gap: 80px; padding: 100px max(24px, calc((100vw - var(--page)) / 2)); background: var(--mint); }
.privacy-band__copy { max-width: 900px; }
.privacy-band__copy p { max-width: 36em; margin: 24px 0; font-size: 18px; font-weight: 500; }
.text-link { display: inline-block; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-skip-ink: auto; text-underline-position: from-font; }
.privacy-stamp { display: grid; width: 290px; height: 290px; place-items: center; align-content: center; justify-self: end; border: 1px solid var(--carbon); border-radius: 50%; background: var(--paper); transform: rotate(7deg); }
.privacy-stamp strong { font-family: var(--display); font-size: 92px; line-height: 1; }
.privacy-stamp span { font-size: 17px; font-weight: 700; }

.download { padding: 120px max(24px, calc((100vw - var(--page)) / 2)); background: var(--sky); }
.download__heading { max-width: 920px; }
.store-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 64px; }
.store-card { display: grid; grid-template-columns: 1fr 172px; gap: 30px; min-height: 300px; align-items: center; padding: 38px; border: 1px solid var(--carbon); border-radius: var(--radius-card); }
.store-card--blue { background: var(--blue); }
.store-card--violet { background: var(--violet); color: var(--paper); }
.store-card--wechat { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) 288px; background: var(--paper); scroll-margin-top: 24px; }
.store-card__platform { margin: 0 0 8px; font-size: 14px; font-weight: 700; }
.store-card h3 { margin: 0; font-size: clamp(38px, 4.2vw, 66px); letter-spacing: -.045em; line-height: .95; }
.store-card__instructions { max-width: 32em; margin: 20px 0 0; font-weight: 500; }
.mini-program-code { width: 288px; justify-self: center; border: 1px solid var(--carbon); border-radius: var(--radius-small); }
.status-pill { display: inline-flex; margin-top: 26px; padding: 10px 14px; border: 1px solid currentColor; border-radius: var(--radius-pill); font-size: 13px; font-weight: 700; white-space: nowrap; }
.qr-placeholder { display: grid; aspect-ratio: 1; place-items: center; align-content: center; border: 1px solid var(--carbon); border-radius: var(--radius-small); background: var(--paper); color: var(--carbon); }
.qr-placeholder span { font-family: var(--display); font-size: 52px; }
.qr-placeholder small { margin-top: 4px; font-weight: 700; }

.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 48px max(24px, calc((100vw - var(--page)) / 2)); border-top: 1px solid var(--carbon); background: var(--paper); }
.footer__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 24px; font-size: 14px; font-weight: 700; }
.footer__links a { border-bottom: 1px solid transparent; }
.footer__links a:hover { border-bottom-color: var(--carbon); }
.site-footer > p { grid-column: 1 / -1; margin: 0; color: #52525b; font-size: 13px; }

.legal-page { min-height: 100dvh; background: var(--sky); }
.legal-page .site-header { position: static; padding-top: 18px; }
.legal-main { max-width: 960px; margin: 28px auto 100px; padding: 0 24px; }
.legal-hero { padding: 68px 0 54px; }
.legal-hero h1 { max-width: 900px; font-size: clamp(62px, 10vw, 132px); line-height: .9; }
.legal-hero p { max-width: 38em; margin: 26px 0 0; font-size: 17px; font-weight: 500; }
.legal-placeholder-note { margin-bottom: 22px; padding: 18px 22px; border: 1px solid var(--carbon); border-radius: var(--radius-small); background: var(--yellow); font-weight: 800; line-height: 1.55; }
.legal-document { padding: 42px clamp(22px, 5vw, 58px); border: 1px solid var(--carbon); border-radius: var(--radius-card); background: var(--paper); }
.legal-document h2 { margin-top: 52px; font-family: var(--body); font-size: clamp(28px, 4vw, 42px); font-weight: 700; letter-spacing: -.025em; line-height: 1.1; }
.legal-document h2:first-child { margin-top: 0; }
.legal-document h3 { margin: 30px 0 8px; font-size: 20px; line-height: 1.2; }
.legal-document p, .legal-document li { color: #27272a; font-family: var(--body); font-size: 16px; line-height: 1.6; overflow-wrap: break-word; }
.legal-document > p:not(.legal-meta), .legal-document > ul, .legal-document > ol { max-width: 72ch; }
.legal-document ul, .legal-document ol { padding-left: 1.4em; }
.legal-document a { color: #1b58a6; text-decoration: underline; text-decoration-thickness: from-font; text-underline-offset: 3px; text-decoration-skip-ink: auto; text-underline-position: from-font; }
.legal-placeholder { padding: 1px 5px; background: var(--yellow); font-weight: 800; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0 0 26px; color: #52525b; font-size: 14px; }
.legal-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

@media (max-width: 960px) {
  .site-header { padding-inline: 16px; }
  .nav { grid-template-columns: 1fr auto; }
  .nav__links { display: none; }
  .hero { grid-template-columns: 1fr; align-content: center; min-height: 100dvh; padding: 124px 20px 36px; }
  .hero__copy { padding-left: 4px; }
  .hero__visual { min-width: 0; width: 120%; margin: -10px -10% -70px; }
  .hero__visual img { width: 100%; }
  .sticker--yellow { left: 14%; }
  .feature-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .feature--visual { grid-row: auto; min-height: 520px; }
  .privacy-band { grid-template-columns: 1fr 230px; gap: 36px; }
  .privacy-stamp { width: 220px; height: 220px; }
  .privacy-stamp strong { font-size: 70px; }
  .store-card { grid-template-columns: 1fr; }
  .store-card--wechat { grid-template-columns: minmax(0, 1fr) 240px; }
  .qr-placeholder { width: 148px; }
}

@media (max-width: 700px) {
  html { scroll-behavior: auto; }
  .nav__cta { padding-inline: 14px; }
  .hero { padding-top: 112px; }
  h1 { font-size: clamp(68px, 22vw, 102px); }
  html[lang="en"] h1 { font-size: clamp(56px, 17vw, 80px); }
  .hero__lead { margin-top: 22px; font-size: 17px; }
  .hero__visual { width: 140%; margin: -4px -20% -48px; }
  .sticker { min-width: 90px; min-height: 48px; padding: 8px 12px; font-size: 11px; }
  .sticker--violet { right: 18%; bottom: 18%; }
  .statement { min-height: 36vh; padding-block: 64px; }
  .features, .how, .download { padding-block: 80px; }
  .feature-grid { margin-top: 44px; }
  .feature--visual { min-height: 430px; }
  .steps { grid-template-columns: 1fr; margin-top: 46px; }
  .steps li:nth-child(3) { border-bottom: 0; }
  .privacy-band { grid-template-columns: 1fr; padding-block: 78px; }
  .privacy-stamp { justify-self: start; width: 190px; height: 190px; }
  .privacy-stamp strong { font-size: 62px; }
  .store-grid { grid-template-columns: 1fr; margin-top: 44px; }
  .store-card { min-height: 0; padding: 28px; }
  .store-card--wechat { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
  .footer__links { justify-content: flex-start; }
  .site-footer > p { grid-column: auto; }
  .legal-page .nav__cta { display: none; }
  .legal-main { margin-top: 0; }
  .legal-hero { padding-top: 48px; }
  .legal-hero h1 { font-size: clamp(58px, 18vw, 90px); }
  html[lang="en"] .legal-hero h1 { font-size: clamp(40px, 10.5vw, 52px); line-height: 1.05; }
  .legal-document { padding: 30px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee__track { width: 100%; flex-wrap: wrap; justify-content: center; }
  .marquee__track span[aria-hidden="true"] { display: none; }
}
