/* =========================================================
   PersistRun — landing page
   ========================================================= */

:root {
  --bg: #f5f8f4;
  --ink: #0d2138;
  --ink-2: #46586e;
  --ink-3: #5f7189;
  --brand: #2b62e6;
  --brand-bright: #5b8dff;
  --gold: #f2821e;
  --line: rgba(14, 36, 72, .1);
  --line-soft: rgba(14, 36, 72, .06);

  --sh-xs: 0 1px 2px rgba(10, 26, 64, .06);
  --sh-sm: 0 1px 2px rgba(10, 26, 64, .05), 0 14px 28px -20px rgba(10, 26, 64, .45);
  --sh-lg: 0 40px 80px -40px rgba(10, 32, 87, .55);

  --ease: cubic-bezier(.22, .8, .26, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: #cfe0ff;
  color: #06342a;
}

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

button,
select { font: inherit; color: inherit; }

button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

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

.shell {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 36px);
}

/* ---------- Ambient background ---------- */

.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .8;
  animation: drift 28s ease-in-out infinite alternate;
}

.blob--1 {
  width: 620px;
  height: 620px;
  top: -260px;
  right: -180px;
  background: radial-gradient(circle, #bfd9ff 0%, transparent 68%);
}

.blob--2 {
  width: 520px;
  height: 520px;
  top: 180px;
  left: -220px;
  background: radial-gradient(circle, #ffd8ae 0%, transparent 68%);
  animation-delay: -9s;
}

.blob--3 {
  width: 680px;
  height: 680px;
  bottom: -360px;
  right: 8%;
  background: radial-gradient(circle, #c9dcff 0%, transparent 70%);
  animation-delay: -18s;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 249, 245, .7);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(248, 251, 247, .88);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 18px 40px -34px rgba(10, 26, 64, .65);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0e2a56;
  font-size: 19.5px;
  font-weight: 800;
  letter-spacing: -.025em;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 36px;
}

.brand span { white-space: nowrap; }

.brand b { color: #d9600e; }

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

.header-cta {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 12px 19px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, #2f68ee, #1b3f9e);
  box-shadow: 0 16px 28px -18px rgba(43, 98, 230, .95);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.lang {
  appearance: none;
  -webkit-appearance: none;
  min-height: 42px;
  padding: 9px 36px 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background-color: rgba(255, 255, 255, .85);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%230b2a21' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  box-shadow: var(--sh-xs);
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  transition: box-shadow .25s var(--ease), background-color .25s var(--ease);
}

/* ---------- Hero ---------- */

main { position: relative; z-index: 1; }

.hero { padding: clamp(26px, 4.4vw, 64px) 0 clamp(30px, 3.4vw, 46px); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px 8px 13px;
  border: 1px solid rgba(43, 98, 230, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .75);
  box-shadow: var(--sh-xs);
  color: var(--brand);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .16em;
}

.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--brand-bright), var(--gold));
  box-shadow: 0 0 0 4px rgba(91, 141, 255, .16);
}

h1 {
  margin: 22px 0 0;
  font-size: clamp(42px, 5.9vw, 70px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -.048em;
}

h1 span { display: block; }

h1 em {
  display: block;
  width: fit-content;
  font-style: normal;
  background: linear-gradient(96deg, #1f5ae0 0%, #2f6df0 66%, #ee7a12 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* Devanagari needs looser leading than Latin display type */
html[lang="hi"] h1 {
  line-height: 1.26;
  letter-spacing: -.015em;
}

html[lang="hi"] .badge { letter-spacing: .06em; }

.lead {
  max-width: 40ch;
  margin: 22px 0 0;
  color: var(--ink-2);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.72;
  text-wrap: pretty;
}

/* ---------- Reward panel ---------- */

.reward {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-top: 26px;
  padding: 15px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, #fff, #f2f8f5);
  box-shadow: var(--sh-sm);
}

.reward-caption {
  display: block;
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.reward .number {
  display: block;
  margin-top: 4px;
  font-size: clamp(34px, 4.2vw, 44px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}

.reward-value {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.rupee {
  color: var(--brand);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 800;
  letter-spacing: -.02em;
}

/* ---------- Buttons ---------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.download {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 62px;
  padding: 11px 24px;
  border: 1px solid transparent;
  border-radius: 17px;
  text-align: left;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}

.download svg {
  width: 23px;
  height: 23px;
  flex: none;
}

.download strong {
  display: block;
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: -.01em;
}

.download small {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  font-weight: 550;
  opacity: .82;
}

.download:active { transform: scale(.99); }

.download--primary {
  background: linear-gradient(135deg, #2f68ee, #1b3f9e);
  box-shadow: 0 18px 34px -18px rgba(43, 98, 230, .9), inset 0 1px 0 rgba(255, 255, 255, .2);
  color: #fff;
}

.download--ghost {
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--sh-xs);
  color: var(--ink);
}

.download--ghost[aria-disabled="true"] { cursor: default; }

.fine {
  max-width: 38ch;
  margin: 14px 0 0;
  color: var(--ink-3);
  font-size: 12px;
  line-height: 1.65;
  text-wrap: pretty;
}

/* ---------- Product stage ---------- */

.hero-visual {
  display: flex;
  justify-content: center;
}

.stage {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 540px;
  padding: 18px 0;
}

.stage-glow {
  position: absolute;
  width: min(110%, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 48% 46%, rgba(59, 116, 242, .28), transparent 62%),
    radial-gradient(circle at 70% 68%, rgba(255, 206, 132, .45), transparent 58%);
  filter: blur(30px);
}

.phone-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
}

.phone {
  position: relative;
  z-index: 1;
  width: 312px;
  padding: 26px 21px 20px;
  border: 1px solid rgba(14, 36, 72, .07);
  border-radius: 48px;
  background: #fff;
  box-shadow: 0 46px 80px -38px rgba(10, 26, 64, .62), 0 2px 8px rgba(10, 26, 64, .06);
  transform: rotate(-6deg);
  animation: float 7.5s ease-in-out infinite;
}

.phone::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 72px;
  height: 8px;
  border-radius: 999px;
  background: #eef3f0;
  transform: translateX(-50%);
}

.phone-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
}

.phone-head img {
  width: auto;
  height: 17px;
}

.phone-brand {
  color: #0e2a56;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.015em;
}

.phone-brand b { color: #f2821e; }

.phone-tag {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eff5ff;
  color: var(--brand);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
}

.phone-title {
  margin: 17px 2px 19px;
  font-size: 22px;
  font-weight: 750;
  line-height: 1.24;
  letter-spacing: -.03em;
}

.step-card {
  padding: 21px;
  border-radius: 24px;
  background: linear-gradient(150deg, #2a5bda, #0d2a6b);
  box-shadow: 0 18px 30px -22px rgba(13, 42, 107, .95);
  color: #fff;
}

.step-label {
  display: block;
  color: #cfe0f8;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
}

.step-value {
  display: block;
  margin: 6px 0 13px;
  font-size: 46px;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.032em;
  font-variant-numeric: tabular-nums;
}

.bar {
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .24);
  overflow: hidden;
}

.bar i {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffe6b6, #f3c274);
  animation: fill 1.5s .35s var(--ease) both;
}

.step-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 11px;
  color: #d3e3fb;
  font-size: 11px;
}

.award {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 15px;
  border: 1px solid rgba(43, 98, 230, .12);
  border-radius: 20px;
  background: #f3f7ff;
}

.award-ico {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 12px -8px rgba(10, 26, 64, .6);
  color: var(--gold);
}

.award-ico svg { width: 21px; height: 21px; }

.award small {
  display: block;
  color: var(--ink-3);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
}

.award b {
  display: block;
  color: var(--brand);
  font-size: 16px;
  letter-spacing: -.01em;
}

/* ---------- Stats bar ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(26px, 3.6vw, 46px);
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--sh-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 18px;
  transition: background-color .28s var(--ease);
}

.stat + .stat { box-shadow: inset 1px 0 0 var(--line-soft); }

.stat-ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border: 1px solid rgba(43, 98, 230, .1);
  border-radius: 15px;
  background: linear-gradient(155deg, #eef4ff, #dbe7fb);
  color: var(--brand);
}

.stat-ico svg { width: 21px; height: 21px; }

.stat b {
  display: block;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.stat small {
  display: block;
  margin-top: 2px;
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.4;
}

/* ---------- Cards ---------- */

.panels {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  padding-bottom: clamp(44px, 6vw, 80px);
}

.card {
  min-width: 0;
  padding: clamp(22px, 2.8vw, 34px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--sh-sm);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.card > h2,
.cta-text > h2 {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 750;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.card > h2 { margin-bottom: 26px; }

.card > h2::before,
.cta-text > h2::before {
  content: "";
  width: 24px;
  height: 3px;
  flex: none;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--gold));
}

/* ---------- 7-day timeline ---------- */

.seven {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.day {
  position: relative;
  padding: 36px 6px 4px;
  text-align: center;
}

.day::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  right: -50%;
  height: 2px;
  background: #d7e3f8;
}

.day:last-child::after { display: none; }

.seven > .day:nth-last-child(2)::after {
  background: linear-gradient(90deg, #dbe5f8, #9dbcf5);
}

.day::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border: 2px solid #85a9ea;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px #fff;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}

.day small {
  display: block;
  color: var(--ink-3);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.day b {
  display: block;
  margin-top: 6px;
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.day .coins {
  display: block;
  margin-top: 4px;
  color: var(--ink-3);
  font-size: 10.5px;
  white-space: nowrap;
}

.day--last::before {
  border-color: #1b3f9e;
  background: linear-gradient(145deg, #5b8dff, #1b3f9e);
  box-shadow: 0 0 0 4px #fff, 0 0 0 9px rgba(91, 141, 255, .16);
}

.day--last b { color: var(--brand); }
.day--last small { color: var(--brand); }

.micro {
  margin: 24px 0 0;
  color: var(--ink-2);
  font-size: 12.5px;
  line-height: 1.72;
  text-wrap: pretty;
}

/* ---------- CTA card ---------- */

.card--cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(24px, 3.4vw, 40px);
  align-items: center;
  position: relative;
  overflow: hidden;
  border-color: transparent;
  background: linear-gradient(130deg, #2456c9, #12327e 62%, #0a2057);
  box-shadow: var(--sh-lg);
  color: #fff;
}

.card--cta::before {
  content: "";
  position: absolute;
  top: -190px;
  right: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 214, 152, .22), transparent 68%);
}

.card--cta::after {
  content: "";
  position: absolute;
  bottom: -130px;
  left: -90px;
  width: 230px;
  height: 230px;
  border: 1px dashed rgba(255, 255, 255, .16);
  border-radius: 50%;
}

.cta-text { position: relative; z-index: 1; }

.cta-text > h2 { color: #fff; }

.cta-text > h2::before { background: linear-gradient(90deg, #ffd89b, #fff); }

.card--cta .micro {
  margin-top: 12px;
  max-width: 46ch;
  color: #cfe0f5;
  font-size: 13px;
}

.cta-box {
  position: relative;
  z-index: 1;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 20px;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.cta-box b {
  display: block;
  font-size: 16px;
  letter-spacing: -.015em;
  line-height: 1.35;
}

.cta-box span {
  display: block;
  margin-top: 5px;
  color: #dbe9ff;
  font-size: 12px;
}

.cta-box button {
  width: 100%;
  margin-top: 16px;
  padding: 14px 22px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffe3b0, #e7b878);
  box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .55);
  color: #0a3f33;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  z-index: 1;
  padding: 26px 0 34px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .55);
}

.footer-inner {
  color: var(--ink-3);
  font-size: 12px;
  text-align: center;
}

/* ---------- Sticky bar & toast ---------- */

.sticky { display: none; }

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(26px + env(safe-area-inset-bottom));
  z-index: 60;
  max-width: min(90vw, 420px);
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(14, 36, 72, .94);
  box-shadow: 0 24px 44px -20px rgba(10, 26, 64, .85);
  color: #fff;
  font-size: 13px;
  font-weight: 550;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, 10px) scale(.98);
  transition: opacity .26s var(--ease), transform .26s var(--ease);
  pointer-events: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

/* ---------- Entrance motion ---------- */

.rise { animation: rise .8s var(--ease) both; }
.delay1 { animation-delay: .09s; }
.delay2 { animation-delay: .18s; }

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Keyframes ---------- */

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  50% { transform: rotate(-6deg) translateY(-12px); }
}

@keyframes fill {
  from { width: 0; }
  to { width: 68%; }
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-36px, 42px, 0) scale(1.07); }
}

/* ---------- Responsive ---------- */

@media (min-width: 720px) {
  .header-cta { display: inline-flex; }
}

@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
  }

  .stage {
    max-width: 340px;
    padding: 10px 0;
  }

  .phone { width: 248px; }

  .phone-title { font-size: 19px; }
  .step-value { font-size: 38px; }

  .lead { max-width: 38ch; }

  .actions {
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr);
    gap: 10px;
  }

  .download {
    justify-content: flex-start;
    gap: 9px;
    min-height: 58px;
    padding: 10px 13px;
    border-radius: 14px;
  }

  .download svg {
    width: 19px;
    height: 19px;
  }

  .download strong { font-size: 13px; }
  .download small { font-size: 10.5px; }

  .card--cta {
    grid-template-columns: minmax(0, 1fr) 290px;
  }
}

@media (max-width: 720px) {
  .header-inner { height: 66px; }

  /* 移动端关闭大面积 blur 图层的位移动画，避免持续重绘 */
  .blob {
    animation: none;
    filter: blur(58px);
  }

  .toast { bottom: calc(94px + env(safe-area-inset-bottom)); }

  .sticky {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 45;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 12px 10px 18px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 20px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 24px 46px -24px rgba(10, 26, 64, .55);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(130%);
    transition: transform .38s var(--ease), opacity .3s var(--ease);
    pointer-events: none;
  }

  .sticky b {
    display: block;
    font-size: 14px;
    letter-spacing: -.01em;
  }

  .sticky small {
    display: block;
    margin-top: 1px;
    color: var(--ink-3);
    font-size: 11px;
  }

  .sticky button {
    padding: 12px 18px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #2f68ee, #1b3f9e);
    box-shadow: 0 14px 26px -14px rgba(43, 98, 230, .9);
    color: #fff;
    font-size: 13.5px;
    font-weight: 750;
    white-space: nowrap;
  }

  .sticky.show {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .panels { padding-bottom: 10px; }

  .site-footer { padding: 20px 0 calc(96px + env(safe-area-inset-bottom)); }

  .card--cta { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- H5 ---------- */

@media (max-width: 640px) {
  .hero { padding: 12px 0 24px; }

  h1 {
    margin-top: 16px;
    font-size: clamp(34px, 10.4vw, 44px);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-visual { order: 2; }

  .lead {
    margin-top: 15px;
    font-size: 14.5px;
  }

  .reward { margin-top: 18px; }

  .actions { margin-top: 18px; }

  .fine {
    margin-top: 10px;
    font-size: 11px;
  }

  .stage {
    max-width: 300px;
    padding: 4px 0;
  }

  .phone {
    width: 228px;
    padding: 20px 16px 15px;
    border-radius: 38px;
  }

  .phone-head img { height: 15px; }
  .phone-brand { font-size: 12px; }
  .phone-title { font-size: 17px; margin: 13px 2px 15px; }
  .step-value { font-size: 34px; }
  .step-card { padding: 17px; border-radius: 20px; }

  .award {
    gap: 9px;
    padding: 12px;
  }

  .award-ico {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }

  .award-ico svg { width: 17px; height: 17px; }

  .award small {
    font-size: 8.5px;
    letter-spacing: .08em;
    white-space: nowrap;
  }

  .award b {
    font-size: 14px;
    white-space: nowrap;
  }

  /* 三项权益压缩成一条数据条 */
  .stats {
    margin-top: 20px;
    padding: 10px 4px;
  }

  .stat {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    text-align: center;
  }

  .stat-ico {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }

  .stat-ico svg { width: 17px; height: 17px; }

  .stat b { font-size: 15px; }

  .stat small {
    margin-top: 1px;
    font-size: 10.5px;
    line-height: 1.35;
  }

  .panels { gap: 14px; }

  .card:not(.card--cta) {
    padding: 18px;
    overflow: hidden;
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .card > h2 { margin-bottom: 18px; }

  /* 时间轴横向滚动铺到卡片边缘 */
  .seven {
    grid-auto-flow: column;
    grid-auto-columns: 96px;
    grid-template-columns: none;
    margin-inline: -18px;
    padding: 12px 18px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 18px;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .seven::-webkit-scrollbar { display: none; }
  .seven > * { scroll-snap-align: start; }

  .day { padding: 34px 4px 4px; }

  .micro { margin-top: 18px; }

  .card--cta {
    gap: 18px;
    padding: 22px 18px;
  }

  .cta-box { padding: 18px; }

  .cta-box button { margin-top: 14px; }
}

@media (max-width: 400px) {
  .badge {
    padding: 7px 12px 7px 11px;
    font-size: 10px;
    letter-spacing: .12em;
  }

  .reward {
    width: 100%;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 16px;
  }

  .download {
    gap: 7px;
    padding: 9px 9px;
  }

  .download svg {
    width: 17px;
    height: 17px;
  }

  .download strong {
    font-size: 12.5px;
    line-height: 1.2;
  }

  .download small { font-size: 10px; }

  .phone { width: 208px; }

  .stat small { font-size: 10px; }
}

/* 320–360 极窄屏再收紧一档 */
@media (max-width: 360px) {
  .brand {
    gap: 8px;
    font-size: 17px;
  }

  .brand img { height: 30px; }

  .header-actions { gap: 8px; }

  .lang {
    min-height: 38px;
    padding: 8px 30px 8px 12px;
    font-size: 12px;
  }

  .reward-caption {
    font-size: 10px;
    letter-spacing: .05em;
  }

  .download {
    gap: 6px;
    padding: 9px 8px;
  }

  .download svg {
    width: 16px;
    height: 16px;
  }

  .download strong { font-size: 12px; }
  .download small { font-size: 9.5px; }
}

/* hover 只在有指针的设备上生效，避免触屏点按后残留悬停态 */
@media (hover: hover) {
  .lang:hover {
    background-color: #fff;
    box-shadow: var(--sh-sm);
  }

  .header-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 34px -18px rgba(43, 98, 230, 1);
  }

  .download:hover { transform: translateY(-2px); }

  .download--primary:hover {
    box-shadow: 0 24px 42px -20px rgba(43, 98, 230, .95), inset 0 1px 0 rgba(255, 255, 255, .2);
  }

  .download--ghost:hover { box-shadow: var(--sh-sm); }

  .stat:hover { background: rgba(236, 242, 255, .9); }

  .day:hover::before {
    transform: scale(1.35);
    border-color: var(--brand);
  }

  .cta-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 36px -18px rgba(0, 0, 0, .6);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
