:root {
  --bg: #070b14;
  --bg-2: #101827;
  --card: rgba(255, 255, 255, 0.06);
  --card-strong: rgba(255, 255, 255, 0.09);
  --text: #f4f7fb;
  --muted: #9aa8bd;
  --orange: #ff6b1a;
  --orange-2: #ff8d42;
  --green: #3dd68c;
  --line: rgba(255, 255, 255, 0.1);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --sticky-h: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC",
    "Microsoft YaHei", "Segoe UI", sans-serif;
  background:
    radial-gradient(1200px 480px at 80% -10%, rgba(255, 107, 26, 0.28), transparent 55%),
    radial-gradient(900px 420px at -10% 20%, rgba(56, 123, 255, 0.22), transparent 50%),
    linear-gradient(180deg, #0b1220 0%, var(--bg) 42%, #05070d 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  width: min(440px, 100%);
  margin: 0 auto;
  padding: 18px 16px calc(var(--sticky-h) + 20px + env(safe-area-inset-bottom, 0px));
}

.topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.brand-name {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-sub {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.free-chip {
  margin-left: auto;
  border: 1px solid rgba(61, 214, 140, 0.35);
  background: rgba(61, 214, 140, 0.12);
  color: var(--green);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
}

.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(32px, 9vw, 40px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.hero h1 span {
  color: var(--orange-2);
}

.lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.ios-banner,
.env-note {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 196, 72, 0.12);
  border: 1px solid rgba(255, 196, 72, 0.28);
  color: #ffe3a3;
  font-size: 14px;
  line-height: 1.5;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--orange-2), var(--orange));
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(255, 107, 26, 0.38);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.cta svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.cta:active {
  transform: translateY(1px);
}

a.cta {
  cursor: pointer;
}

.cta-sub {
  margin: 10px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

.meta-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.meta-pill {
  padding: 10px 8px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  text-align: center;
}

.meta-pill span,
.site-row span,
.step p,
.card p,
.faq p,
.footer p {
  margin: 0;
}

.meta-pill span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.meta-pill strong {
  display: block;
  margin-top: 4px;
  font-size: 13px;
}

.sites {
  margin-top: 22px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}

.sites h2,
.section h2 {
  margin: 0 0 10px;
  font-size: 15px;
}

.site-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--card-strong);
  font-size: 13px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(61, 214, 140, 0.16);
}

.benefits {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.card {
  padding: 14px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}

.card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.card p,
.step p,
.faq p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.section {
  margin-top: 26px;
}

.steps {
  display: grid;
  gap: 10px;
}

.step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}

.num {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 107, 26, 0.16);
  color: var(--orange-2);
  font-weight: 800;
}

.step strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.safety {
  margin-top: 18px;
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(255, 107, 26, 0.08);
  border: 1px solid rgba(255, 107, 26, 0.2);
}

.safety a {
  color: var(--orange-2);
  text-decoration: underline;
}

.safety code {
  font-size: 12px;
  color: #ffe1c7;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq article {
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line);
}

.faq h3 {
  margin: 0 0 6px;
  font-size: 14px;
}

.footer {
  margin-top: 28px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.footer a {
  color: #c9d4e4;
}

.sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(7, 11, 20, 0), rgba(7, 11, 20, 0.92) 28%, #070b14);
}

.sticky-inner {
  width: min(440px, 100%);
  margin: 0 auto;
}

.sticky .cta {
  min-height: 52px;
  font-size: 16px;
}

.page.is-ios .sticky {
  display: none;
}

.wechat-mask {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  padding: 18px 18px 32px;
}

.wechat-mask[hidden] {
  display: none;
}

.wechat-arrow {
  margin-left: auto;
  width: 72px;
  height: 72px;
  border-top: 8px solid #fff;
  border-right: 8px solid #fff;
  border-radius: 0 18px 0 0;
  transform: translate(-8px, 8px);
}

.wechat-copy {
  margin: 84px auto 0;
  width: min(360px, 100%);
  text-align: center;
}

.wechat-copy h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.wechat-copy p {
  margin: 0 0 18px;
  color: #d7deea;
  line-height: 1.6;
}

.ghost {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

@media (min-width: 880px) {
  .page {
    width: min(760px, calc(100% - 48px));
    padding-top: 28px;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: start;
  }

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

@media (prefers-reduced-motion: reduce) {
  .cta:active {
    transform: none;
  }
}
