:root {
  color-scheme: light;
  --cream: #fff9f0;
  --cream-deep: #f4ecdf;
  --paper: #ffffff;
  --ink: #0c2742;
  --ink-soft: #496175;
  --ocean: #0b365f;
  --ocean-deep: #07233e;
  --blue: #2f86e8;
  --blue-soft: #d8eeff;
  --gold: #e9a63a;
  --gold-soft: #fff0c9;
  --seafoam: #72cdb7;
  --coral: #f28b67;
  --line: rgba(12, 39, 66, 0.14);
  --shadow: 0 28px 80px rgba(24, 58, 86, 0.15);
  --font: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--font);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 7%, rgba(216, 238, 255, 0.72), transparent 25rem),
    var(--cream);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: "";
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

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

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

button,
select {
  font: inherit;
}

h1,
h2,
h3,
p,
figure,
ul,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p,
li,
dd {
  text-wrap: pretty;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: white;
  background: var(--ocean-deep);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.section-shell,
.header-inner {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

/* ── Header ─────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 15;
  border-bottom: 1px solid rgba(12, 39, 66, 0.08);
  background: rgba(255, 249, 240, 0.88);
  backdrop-filter: blur(18px) saturate(130%);
}

.header-inner {
  min-height: 80px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}

.brand {
  width: max-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 1.1;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(12, 39, 66, 0.14);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand small {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a,
.site-footer a {
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 600;
  transition: color 180ms ease;
}

.main-nav a:hover,
.site-footer a:hover {
  color: var(--blue);
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-picker {
  position: relative;
}

.language-picker select {
  min-height: 44px;
  padding: 0 34px 0 13px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.64);
  cursor: pointer;
}

/* ── Buttons ────────────────────────────────── */

.button {
  min-height: 54px;
  width: max-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 24px;
  color: white;
  border: 1px solid var(--blue);
  border-radius: 14px;
  background: var(--blue);
  box-shadow: 0 14px 34px rgba(47, 134, 232, 0.22);
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  background: #2879d4;
  box-shadow: 0 18px 40px rgba(47, 134, 232, 0.28);
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(1px) scale(0.99);
}

.button-small {
  min-height: 44px;
  padding-inline: 18px;
  border-radius: 12px;
  font-size: 0.88rem;
}

.button-light {
  color: var(--ocean-deep);
  border-color: var(--paper);
  background: var(--paper);
  box-shadow: none;
}

.button-light:hover {
  background: var(--gold-soft);
}

.text-link {
  width: max-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  border-bottom: 1px solid currentColor;
  font-weight: 700;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* ── Product page: Hero ──────────────────────── */

.hero {
  min-height: calc(100dvh - 80px);
  display: grid;
  grid-template-columns: minmax(330px, 0.82fr) minmax(520px, 1.18fr);
  align-items: center;
  gap: clamp(42px, 6vw, 92px);
  padding-block: 64px 92px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin-bottom: 28px;
  font-size: clamp(3.4rem, 6vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
  font-weight: 700;
}

.hero h1 em {
  color: var(--gold);
  font-style: normal;
}

.hero-lead {
  max-width: 38rem;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.85;
}

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

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 34px 0 0;
  padding: 0;
  color: var(--ink-soft);
  list-style: none;
  font-size: 0.78rem;
  font-weight: 600;
}

.trust-chips li::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  vertical-align: 1px;
  content: "";
  background: var(--seafoam);
  border-radius: 50%;
}

.hero-visual {
  position: relative;
  margin: 0;
  padding: 12px;
  background: var(--paper);
  border-radius: 34px;
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.hero-visual::before {
  position: absolute;
  inset: -24px -28px auto auto;
  z-index: -1;
  width: 58%;
  aspect-ratio: 1;
  content: "";
  border-radius: 50%;
  background: var(--gold-soft);
}

.hero-visual img {
  width: 100%;
  height: auto;
  border-radius: 25px;
}

.hero-visual figcaption {
  position: absolute;
  right: -20px;
  bottom: 34px;
  width: min(330px, 58%);
  padding: 18px 20px;
  color: white;
  border-radius: 18px 4px 18px 18px;
  background: var(--ocean-deep);
  box-shadow: 0 18px 50px rgba(7, 35, 62, 0.24);
}

.hero-visual figcaption span,
.hero-visual figcaption strong {
  display: block;
}

.hero-visual figcaption span {
  margin-bottom: 4px;
  color: var(--gold-soft);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-visual figcaption strong {
  font-size: 0.9rem;
  line-height: 1.45;
}

/* ── Product page: Sections ──────────────────── */

.intro-statement {
  display: grid;
  grid-template-columns: 70px minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  padding-block: 126px 150px;
  border-top: 1px solid var(--line);
}

.section-number {
  align-self: start;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.intro-statement h2,
.chapter-copy h2,
.trust-heading h2,
.final-cta h2 {
  margin-bottom: 0;
  font-size: clamp(2.3rem, 4.4vw, 4.65rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
  font-weight: 700;
}

.intro-statement > p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.85;
}

.feature-chapter {
  display: grid;
  align-items: center;
  gap: clamp(48px, 8vw, 112px);
  padding-block: 80px 150px;
}

.feature-chapter-wide {
  grid-template-columns: minmax(300px, 0.72fr) minmax(560px, 1.28fr);
}

.feature-chapter-reverse {
  grid-template-columns: minmax(300px, 0.72fr) minmax(560px, 1.28fr);
}

.feature-chapter-reverse .chapter-copy {
  order: 2;
}

.feature-chapter-reverse .screen-frame {
  order: 1;
}

.feature-chapter-phone {
  grid-template-columns: minmax(360px, 0.88fr) minmax(420px, 1.12fr);
}

.chapter-copy > p:not(.eyebrow) {
  max-width: 36rem;
  margin: 28px 0 0;
  color: var(--ink-soft);
  line-height: 1.85;
}

.chapter-copy > .text-link {
  margin-top: 28px;
}

.chapter-list,
.fact-list,
.trust-points {
  margin: 42px 0 0;
  padding: 0;
}

.chapter-list {
  list-style: none;
  border-top: 1px solid var(--line);
}

.chapter-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 3px 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.chapter-list span {
  grid-row: 1 / 3;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
}

.chapter-list strong,
.chapter-list small {
  display: block;
}

.chapter-list strong {
  font-size: 1rem;
}

.chapter-list small {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.screen-frame {
  position: relative;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #061a2d;
  box-shadow: 0 34px 90px rgba(7, 35, 62, 0.18);
}

.screen-frame::before {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 50px;
  height: 4px;
  content: "";
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  transform: translateX(-50%);
}

.screen-frame-landscape {
  border-radius: 30px;
}

.screen-frame-landscape img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 20px;
}

.phone-stage {
  position: relative;
  min-height: 690px;
  margin: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 34px;
  background: var(--blue-soft);
}

.phone-stage::after {
  position: absolute;
  left: -70px;
  bottom: -90px;
  width: 250px;
  aspect-ratio: 1;
  content: "";
  border: 42px solid rgba(47, 134, 232, 0.12);
  border-radius: 50%;
}

.phone-frame {
  width: min(315px, 62%);
  margin-top: 42px;
  padding: 10px;
  border-radius: 38px 38px 0 0;
  background: var(--ocean-deep);
  box-shadow: 0 30px 70px rgba(7, 35, 62, 0.22);
  transform: translateY(90px) rotate(-2deg);
}

.phone-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 29px 29px 0 0;
}

.phone-stage > p {
  position: absolute;
  top: 36px;
  right: 30px;
  z-index: 2;
  width: 180px;
  padding: 16px 18px;
  color: white;
  border-radius: 16px;
  background: var(--ocean);
  box-shadow: 0 16px 34px rgba(7, 35, 62, 0.2);
}

.phone-stage > p strong,
.phone-stage > p span {
  display: block;
}

.phone-stage > p strong {
  margin-bottom: 3px;
  font-size: 0.9rem;
}

.phone-stage > p span {
  color: #d6e8f6;
  font-size: 0.72rem;
}

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

.fact-list div {
  display: grid;
  grid-template-columns: minmax(110px, 0.35fr) 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.fact-list dt {
  font-weight: 700;
}

.fact-list dd {
  margin: 0;
  color: var(--ink-soft);
}

.trust-section {
  margin-top: 38px;
  padding-block: 128px 140px;
  color: white;
  background: var(--ocean-deep);
}

.trust-section .eyebrow {
  color: #8bc8ff;
}

.trust-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(64px, 10vw, 150px);
}

.trust-points {
  display: grid;
  gap: 0;
}

.trust-points article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 4px 22px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.trust-points article:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.trust-points span {
  grid-row: 1 / 3;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
}

.trust-points h3 {
  margin-bottom: 4px;
  font-size: 1.1rem;
}

.trust-points p {
  max-width: 34rem;
  margin-bottom: 0;
  color: #b9cad8;
  font-size: 0.9rem;
}

.final-cta {
  margin-block: 120px;
  min-height: 420px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 44px;
  padding: clamp(42px, 6vw, 78px);
  color: white;
  border-radius: 36px;
  background:
    radial-gradient(circle at 84% 12%, rgba(114, 205, 183, 0.25), transparent 20rem),
    var(--ocean);
  box-shadow: var(--shadow);
}

.final-cta .eyebrow {
  color: var(--gold-soft);
}

/* ── Footer ─────────────────────────────────── */

.site-footer {
  padding-top: 56px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.34);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  padding-bottom: 46px;
}

.footer-inner strong {
  font-size: 1.05rem;
}

.footer-inner p {
  max-width: 35rem;
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-content: start;
  gap: 18px 28px;
}

.footer-inner nav a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-bottom {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
}

/* ══════════════════════════════════════════════
   Download page
   ══════════════════════════════════════════════ */

.download-page {
  background:
    radial-gradient(circle at 50% -10%, rgba(216, 238, 255, 0.94), transparent 34rem),
    var(--cream);
}

.download-page .site-header {
  position: relative;
}

/* WeChat browser guide */

.wechat-browser-guide {
  position: relative;
  z-index: 30;
  width: min(430px, calc(100% - 24px));
  min-height: 104px;
  display: flex;
  align-items: flex-end;
  margin: max(12px, env(safe-area-inset-top)) 12px 10px auto;
  padding: 52px 102px 18px 20px;
  overflow: visible;
  color: white;
  border: 1px solid rgba(114, 205, 183, 0.52);
  border-radius: 24px;
  background: linear-gradient(145deg, #07233e, #0b365f 72%);
  box-shadow: 0 18px 42px rgba(7, 35, 62, 0.24);
}

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

.wechat-browser-guide img {
  position: absolute;
  top: -8px;
  right: 4px;
  width: 118px;
  height: 108px;
  object-fit: contain;
  pointer-events: none;
}

.wechat-browser-guide strong {
  max-width: 17rem;
  font-size: 0.92rem;
  line-height: 1.42;
}

.wechat-browser-guide button {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 34px;
  height: 34px;
  padding: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

/* Download main wrapper */

.download-main {
  min-height: calc(100dvh - 80px);
  padding-block: 0 120px;
}

/* Download hero */

.download-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(36px, 6vw, 80px);
  padding-block: clamp(44px, 6vw, 80px) clamp(36px, 5vw, 64px);
}

.download-hero-copy {
  max-width: 620px;
}

.download-hero-copy h1 {
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.06em;
  font-weight: 700;
}

.download-hero-copy > p:not(.eyebrow) {
  max-width: 42rem;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.8;
  margin-bottom: 0;
}

.download-hero-visual {
  flex-shrink: 0;
}

.download-hero-illustration {
  position: relative;
  width: clamp(160px, 20vw, 220px);
  aspect-ratio: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  padding: 14px;
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 0 24px 64px rgba(24, 58, 86, 0.12);
  transform: rotate(3deg);
}

.dh-card {
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  background: var(--cream);
  box-shadow: 0 2px 8px rgba(12, 39, 66, 0.06);
}

.dh-card-1 { color: #c0392b; }
.dh-card-2 { color: #c0392b; }
.dh-card-3 { color: #c0392b; }
.dh-card-4 { color: #c0392b; }

.dh-formula {
  position: absolute;
  right: -28px;
  bottom: -14px;
  padding: 8px 14px;
  color: white;
  border-radius: 12px 4px 12px 12px;
  background: var(--ocean-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 24px rgba(7, 35, 62, 0.2);
}

/* Layout: device panel + store list */

.download-layout {
  display: grid;
  grid-template-columns: minmax(290px, 0.72fr) minmax(500px, 1.28fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: start;
}

/* Device panel */

.device-panel {
  position: sticky;
  top: 24px;
  min-height: 340px;
  padding: 0;
  border-radius: 28px;
  background: var(--ocean-deep);
  box-shadow: 0 28px 72px rgba(7, 35, 62, 0.22);
  overflow: hidden;
}

.device-panel::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--seafoam), var(--blue), var(--gold));
}

.device-panel-inner {
  padding: 28px 32px 32px;
  color: white;
}

.device-panel-label {
  display: inline-block;
  margin-bottom: 16px;
  padding: 5px 12px;
  color: #8bc8ff;
  border: 1px solid rgba(139, 200, 255, 0.25);
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.device-panel h2 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  line-height: 1.14;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.device-panel > .device-panel-inner > p {
  color: #bdcedb;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.redirect-status {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.redirect-status[hidden] {
  display: none;
}

.redirect-status strong,
.redirect-status span {
  display: block;
}

.redirect-status strong {
  margin-bottom: 5px;
  color: var(--gold-soft);
  font-size: 0.9rem;
}

.redirect-status span {
  color: #bdcedb;
  font-size: 0.8rem;
}

.cancel-redirect {
  min-height: 42px;
  margin-top: 16px;
  padding: 0 15px;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  background: transparent;
  font-size: 0.84rem;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}

.cancel-redirect:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

.browser-note {
  margin-top: 26px;
  padding: 16px;
  color: var(--ink);
  border-radius: 14px;
  background: var(--gold-soft);
  font-size: 0.82rem;
  line-height: 1.5;
}

.browser-note[hidden] {
  display: none;
}

/* Store area */

.store-area h2 {
  margin-bottom: 10px;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.store-area > p {
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.6;
}

.store-list {
  display: grid;
  gap: 12px;
}

/* Store option cards */

.store-option {
  min-height: 94px;
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  text-align: left;
  font: inherit;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

a.store-option {
  cursor: pointer;
}

a.store-option:hover {
  border-color: rgba(47, 134, 232, 0.45);
  background: white;
  box-shadow: 0 8px 28px rgba(24, 58, 86, 0.09);
  transform: translateY(-2px);
}

button.store-option {
  width: 100%;
  cursor: pointer;
}

button.store-option:hover {
  border-color: rgba(47, 134, 232, 0.35);
  background: white;
  box-shadow: 0 8px 28px rgba(24, 58, 86, 0.09);
  transform: translateY(-2px);
}

.store-option.recommended {
  border-color: var(--blue);
  background: linear-gradient(135deg, rgba(216, 238, 255, 0.35), rgba(255, 255, 255, 0.9));
  box-shadow: 0 0 0 4px rgba(47, 134, 232, 0.08);
}

.store-option.recommended:hover {
  box-shadow: 0 0 0 4px rgba(47, 134, 232, 0.12), 0 12px 32px rgba(24, 58, 86, 0.1);
}

.store-option[aria-disabled="true"] {
  color: #64798a;
  background: rgba(255, 255, 255, 0.42);
  cursor: default;
}

.store-option[aria-disabled="true"]:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--line);
}

/* Store mark badges */

.store-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 16px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 6px 16px rgba(12, 39, 66, 0.12);
}

.store-option[data-store="ios"] .store-mark {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.store-option[data-store="wechat"] .store-mark {
  background: linear-gradient(135deg, #1b7a4a, #2b8f68);
}

.store-option[data-store="googlePlay"] .store-mark {
  background: linear-gradient(135deg, #2d4a6b, #3a5f8a);
}

.store-option[data-store="huawei"] .store-mark {
  background: linear-gradient(135deg, #8b2e2e, #a83a3a);
}

.store-option[data-store="apk"] .store-mark {
  background: linear-gradient(135deg, #4a5568, #5f6c77);
}

.store-copy strong,
.store-copy small {
  display: block;
}

.store-copy strong {
  margin-bottom: 4px;
  font-size: 1rem;
  font-weight: 700;
}

.store-copy small {
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.4;
}

/* Store status badges */

.store-state {
  min-width: 72px;
  padding: 7px 12px;
  text-align: center;
  color: var(--ink-soft);
  border-radius: 10px;
  background: var(--cream-deep);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

a.store-option .store-state {
  color: #0a5947;
  background: #dff5ed;
}

.store-option.recommended .store-state {
  color: #1a5f8a;
  background: #d8eeff;
}

/* WeChat detail panel */

.wechat-detail {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 22px;
  align-items: center;
  margin-top: 14px;
  padding: 22px;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 4px 16px rgba(24, 58, 86, 0.05);
}

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

.wechat-detail img {
  width: 132px;
  height: 132px;
  padding: 6px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.wechat-detail strong,
.wechat-detail span {
  display: block;
}

.wechat-detail strong {
  font-size: 1rem;
  font-weight: 700;
}

.wechat-detail span {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 1.5;
}

/* Footnote */

.download-footnote {
  margin-top: 32px;
  padding-top: 24px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
  line-height: 1.6;
}

/* Loading skeleton */

.loading-state {
  min-height: 220px;
  display: grid;
  gap: 12px;
}

.loading-state span {
  display: block;
  height: 80px;
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(12, 39, 66, 0.04), rgba(12, 39, 66, 0.09), rgba(12, 39, 66, 0.04));
  background-size: 200% 100%;
  animation: loading 1.2s linear infinite;
}

.loading-state span:nth-child(2) { animation-delay: 0.08s; }
.loading-state span:nth-child(3) { animation-delay: 0.16s; }
.loading-state span:nth-child(4) { animation-delay: 0.24s; }
.loading-state span:nth-child(5) { animation-delay: 0.32s; }

.download-error {
  padding: 24px;
  color: #873b2d;
  border: 1px solid rgba(242, 139, 103, 0.4);
  border-radius: 18px;
  background: #fff1eb;
  font-size: 0.9rem;
  line-height: 1.6;
}

@keyframes loading {
  to { background-position: -200% 0; }
}

/* ── Responsive ────────────────────────────── */

@media (max-width: 1050px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 74px;
  }

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

  .hero-visual {
    width: min(900px, 100%);
    margin-inline: auto;
    transform: none;
  }

  .feature-chapter-wide,
  .feature-chapter-reverse,
  .feature-chapter-phone,
  .trust-inner,
  .download-layout {
    grid-template-columns: 1fr;
  }

  .feature-chapter-reverse .chapter-copy,
  .feature-chapter-reverse .screen-frame {
    order: initial;
  }

  .feature-chapter-reverse .screen-frame {
    order: 2;
  }

  .chapter-copy {
    max-width: 760px;
  }

  .phone-stage {
    width: min(700px, 100%);
    margin-inline: auto;
  }

  .download-hero {
    grid-template-columns: 1fr;
  }

  .download-hero-visual {
    display: none;
  }

  .device-panel {
    position: relative;
    top: auto;
    min-height: 0;
  }

  .device-panel-inner {
    padding: 24px 24px 28px;
  }
}

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

  .section-shell,
  .header-inner {
    width: min(100% - 36px, 1240px);
  }

  .site-header {
    position: relative;
  }

  .header-inner {
    min-height: 70px;
  }

  .brand img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .brand strong {
    font-size: 0.82rem;
  }

  .brand small {
    font-size: 0.66rem;
  }

  .language-picker select {
    width: 46px;
    padding-inline: 8px;
    color: transparent;
    background-color: transparent;
  }

  .language-picker::after {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--ink);
    content: "文";
    pointer-events: none;
    font-size: 0.82rem;
    font-weight: 700;
  }

  .button-small {
    min-height: 44px;
    padding-inline: 14px;
  }

  .hero {
    gap: 50px;
    padding-block: 60px 84px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-visual {
    padding: 8px;
    border-radius: 24px;
  }

  .hero-visual img {
    border-radius: 18px;
  }

  .hero-visual figcaption {
    right: 12px;
    bottom: -30px;
    width: min(260px, 76%);
    padding: 14px 16px;
  }

  .intro-statement {
    grid-template-columns: 1fr;
    align-items: start;
    padding-block: 110px 96px;
  }

  .section-number {
    display: none;
  }

  .intro-statement h2,
  .chapter-copy h2,
  .trust-heading h2,
  .final-cta h2 {
    font-size: clamp(2.2rem, 10vw, 3.55rem);
  }

  .feature-chapter {
    gap: 44px;
    padding-block: 62px 96px;
  }

  .screen-frame {
    padding: 8px;
    border-radius: 20px;
  }

  .screen-frame-landscape img {
    border-radius: 14px;
  }

  .phone-stage {
    min-height: 570px;
  }

  .phone-frame {
    width: min(270px, 66%);
    transform: translateY(72px) rotate(-2deg);
  }

  .phone-stage > p {
    top: 24px;
    right: 18px;
    width: 164px;
  }

  .fact-list div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .trust-section {
    padding-block: 96px 110px;
  }

  .trust-inner {
    gap: 46px;
  }

  .final-cta {
    min-height: 450px;
    grid-template-columns: 1fr;
    align-items: end;
    margin-block: 80px;
    padding: 34px 28px;
    border-radius: 26px;
  }

  .download-main {
    padding-block: 0 90px;
  }

  .download-hero {
    padding-block: 40px 32px;
  }

  .download-hero-copy h1 {
    font-size: clamp(2.4rem, 12vw, 3.6rem);
  }

  .download-hero-illustration {
    display: none;
  }

  .device-panel-inner {
    padding: 22px 20px 24px;
  }

  .device-panel h2 {
    font-size: clamp(1.5rem, 7vw, 1.9rem);
  }

  .store-option {
    grid-template-columns: 48px 1fr;
    gap: 12px;
    padding: 16px;
  }

  .store-mark {
    width: 48px;
    height: 48px;
    grid-row: 1 / 3;
    border-radius: 14px;
    font-size: 0.7rem;
  }

  .store-state {
    grid-column: 2;
    width: max-content;
  }

  .wechat-detail {
    grid-template-columns: 104px 1fr;
  }

  .wechat-detail img {
    width: 104px;
    height: 104px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner nav {
    justify-content: flex-start;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 18px;
  }
}

@media (max-width: 440px) {
  .brand small {
    display: none;
  }

  .header-actions {
    gap: 6px;
  }

  .trust-chips {
    display: grid;
  }

  .phone-stage {
    min-height: 520px;
  }

  .phone-stage > p {
    width: 146px;
  }

  .wechat-detail {
    grid-template-columns: 1fr;
  }

  .wechat-browser-guide {
    min-height: 96px;
    padding: 48px 84px 15px 16px;
    border-radius: 20px;
  }

  .wechat-browser-guide img {
    width: 102px;
    height: 94px;
  }

  .wechat-browser-guide strong {
    font-size: 0.84rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}