/* 页面走黑底大字的产品页路子：纯黑背景、字重 600、结尾转浅色收束。
   手机里的界面仍用 App 的设计令牌（android/.../ui/theme/Color.kt），看起来和真 App 一致。
   不加载网络字体：国内访问外部字体服务不稳定，系统自带的中文字体已经够好。
   所有「动效开始前先藏起来」的状态都写在 html.motion 下，脚本没跑或系统要求减少动态时页面完整显示。 */
:root {
  --bg: #000000;
  --card: #0d0d0f;
  --hair: rgba(255, 255, 255, 0.14);
  --t1: #f5f5f7;
  --t2: #a1a1a6;
  --brand: #1677ff;
  --brand-deep: #0b5fd9;
  --brand-glow: 22, 119, 255;
  --take-glow: 25, 169, 116;
  --link: #5aa2ff;
  --light: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --line: #d2d2d7;

  /* App 里的颜色，只给手机界面用 */
  --a-ink: #15171a;
  --a-ink-2: #5a6068;
  --a-ink-3: #8a9098;
  --a-muted: #f6f7f9;
  --a-line: #edeff3;
  --a-brand-soft: #eaf2ff;
  --a-price: #ff4d4f;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 52px;
  --fit-story: 0.9;
  --fit-viewer: 0.9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

html.motion {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  color: var(--t1);
  background: var(--bg);
  font-family:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "MiSans",
    "Microsoft YaHei", "Noto Sans CJK SC", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
}

h1,
h2,
h3,
h4,
p,
ol,
ul {
  margin: 0;
  padding: 0;
}

ol,
ul {
  list-style: none;
}

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

button {
  padding: 0;
  border: 0;
  color: inherit;
  background: none;
  font: inherit;
  cursor: pointer;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
  border-radius: 8px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.wrap {
  width: min(100% - 32px, 1120px);
  margin-inline: auto;
}

h1,
h2,
.download-version,
.download-notes {
  text-wrap: balance;
}

/* 只在手机上生效的换行，保证中文标题在逗号处断开 */
.m-br {
  display: none;
}

h2 {
  font-size: clamp(36px, 5.2vw, 64px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.012em;
}

.eyebrow {
  margin-bottom: 8px;
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 600;
  line-height: 1.2;
}

.section-head {
  margin-bottom: clamp(40px, 6vw, 72px);
}

.center {
  text-align: center;
}

/* 进入视野时淡入上浮 */
html.motion .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 1s var(--ease) var(--d, 0ms),
    transform 1s var(--ease) var(--d, 0ms);
}

html.motion .reveal.in {
  opacity: 1;
  transform: none;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: var(--brand);
  font-weight: 500;
  white-space: nowrap;
  transition:
    background-color 200ms ease,
    transform 200ms ease;
}

.btn:hover {
  background: var(--brand-deep);
}

.btn:active {
  transform: scale(0.97);
}

.btn-nav {
  height: 28px;
  padding: 0 14px;
  font-size: 13px;
}

.btn-pill {
  height: 36px;
  padding: 0 20px;
  font-size: 15px;
}

.btn-large {
  height: 52px;
  padding: 0 34px;
  font-size: 18px;
}

.btn[aria-disabled="true"] {
  color: var(--ink-2);
  background: #e8e8ed;
  cursor: default;
}

/* 顶栏 */
.browser-hint {
  position: relative;
  z-index: 31;
  padding: 10px 16px;
  color: #fff;
  background: var(--brand-deep);
  font-size: 14px;
  text-align: center;
}

.localnav {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 10, 12, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}

.localnav-row {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  font-size: 19px;
  font-weight: 600;
}

.brand img {
  display: block;
  border-radius: 7px;
}

.localnav-links {
  display: flex;
  gap: 24px;
  color: var(--t2);
  font-size: 13px;
}

.localnav-links a {
  transition: color 200ms ease;
}

.localnav-links a:hover {
  color: var(--t1);
}

.localnav {
  transition:
    background-color 300ms ease,
    border-color 300ms ease,
    color 300ms ease;
}

.localnav.light {
  border-bottom-color: rgba(0, 0, 0, 0.1);
  color: var(--ink);
  background: rgba(250, 250, 252, 0.8);
}

.localnav.light .localnav-links {
  color: var(--ink-2);
}

.localnav.light .localnav-links a:hover {
  color: var(--ink);
}

/* 首屏 */
.hero {
  position: relative;
  margin-top: calc(var(--nav-h) * -1);
}

html.motion .hero {
  height: 240vh;
}

.hero-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

html.motion .hero-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
}

.hero-glow {
  position: absolute;
  bottom: -30%;
  left: 50%;
  width: 150vmin;
  height: 110vmin;
  background: radial-gradient(
    closest-side,
    rgba(var(--brand-glow), 0.42),
    rgba(var(--brand-glow), 0.12) 55%,
    transparent
  );
  transform: translateX(-50%);
  pointer-events: none;
}

html.motion .hero-glow {
  opacity: calc(0.55 + var(--p, 0) * 0.45);
}

.hero-title {
  position: relative;
  z-index: 2;
  padding: calc(var(--nav-h) + clamp(32px, 7vh, 72px)) 16px 0;
  text-align: center;
}

html.motion .hero-title {
  opacity: calc(1 - var(--p, 0) * 2.8);
  transform: translateY(calc(var(--p, 0) * -80px));
}

.hero-name {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  margin-top: 6px;
  font-size: clamp(38px, 7vw, 88px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.hero-lede {
  margin-top: 14px;
  color: var(--t2);
  font-size: clamp(16px, 1.6vw, 21px);
}

html.motion .hero-title > * {
  animation: rise 1.2s var(--ease) both;
}

html.motion .hero-title > :nth-child(2) {
  animation-delay: 90ms;
}

html.motion .hero-title > :nth-child(3) {
  animation-delay: 180ms;
}

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

.hero-device {
  position: relative;
  z-index: 1;
  width: 300px;
  height: 640px;
  margin: 40px 0 -220px;
}

html.motion .hero-device {
  position: absolute;
  top: 0;
  left: 50%;
  margin: 0;
  transform: translate3d(-50%, 50vh, 0);
  transform-origin: 50% 0;
  will-change: transform;
}

html.motion .hero-device .phone {
  animation: phone-in 1.5s var(--ease) 120ms both;
}

@keyframes phone-in {
  from {
    opacity: 0;
    transform: translateY(90px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.device-note {
  color: #6e6e73;
  font-size: 12px;
  text-align: center;
}

.hero-stage > .device-note {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 12px;
}

/* 手机外壳 */
.phone {
  position: relative;
  width: 300px;
  height: 640px;
  padding: 9px;
  border-radius: 46px;
  background: #1c1c1f;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    0 0 90px rgba(var(--brand-glow), 0.22);
}

.phone-fit {
  width: calc(300px * var(--fit));
  height: calc(640px * var(--fit));
}

.phone-fit .phone {
  transform: scale(var(--fit));
  transform-origin: 0 0;
}

.screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 38px;
  color: var(--a-ink);
  background: var(--a-muted);
  font-size: 11px;
  line-height: 1.35;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--a-muted);
  opacity: 0;
  transition: opacity 500ms ease;
}

.slide.on {
  z-index: 1;
  opacity: 1;
}

.sb {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  padding: 11px 24px 2px;
  font-size: 12px;
  font-weight: 700;
}

.sb i {
  width: 22px;
  height: 10px;
  border-radius: 3px;
  background: var(--a-ink);
}

.tb {
  display: flex;
  flex: none;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 15px;
}

.tb svg {
  width: 17px;
  height: 17px;
  margin-left: -4px;
}

.app-head {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px 4px;
}

.app-head b {
  font-size: 21px;
}

.app-head svg {
  width: 20px;
  height: 20px;
}

.app-tabs {
  display: flex;
  flex: none;
  gap: 14px;
  padding: 4px 14px 8px;
  color: #858b93;
  font-size: 12.5px;
  white-space: nowrap;
}

.app-tabs .on {
  position: relative;
  color: var(--a-ink);
  font-weight: 700;
}

.app-tabs .on::after {
  position: absolute;
  right: 4px;
  bottom: -5px;
  left: 4px;
  height: 3px;
  border-radius: 3px;
  background: var(--brand);
  content: "";
}

.app-feed {
  display: grid;
  flex: 1;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  min-height: 0;
  padding: 2px 10px;
  overflow: hidden;
}

.app-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.task {
  overflow: hidden;
  border: 1px solid var(--a-line);
  border-radius: 14px;
  background: #fff;
}

.task h3 {
  overflow: hidden;
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-body {
  padding: 6px 8px 7px;
}

.task-body p {
  color: var(--a-ink-3);
  font-size: 9.5px;
}

.task-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1px 0;
}

.task-price b {
  color: var(--a-price);
  font-size: 15px;
  font-weight: 800;
}

.task-price span {
  padding: 1px 6px;
  border-radius: 999px;
  color: var(--brand-deep);
  background: var(--a-brand-soft);
  font-size: 9.5px;
}

.task-price.big b {
  font-size: 22px;
}

.task-price.big span {
  font-size: 11px;
}

.cover {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8px 10px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.c-blue {
  color: #0c2440;
  background: #e9f1fc;
}

.c-yellow {
  color: #3a2a02;
  background: #fffbdc;
}

.c-pink {
  color: #4e182c;
  background: #fdeaf0;
}

.cover-bold {
  align-items: flex-end;
  justify-content: flex-start;
  font-size: 19px;
  text-align: left;
}

.cover-grid {
  color: #2a2d31;
  background-color: #fcfcf9;
  background-image:
    linear-gradient(#e4e4e0 1px, transparent 1px), linear-gradient(90deg, #e4e4e0 1px, transparent 1px);
  background-size: 14px 14px;
}

.cover-note span {
  padding: 6px 10px;
  border-radius: 6px;
  background: #fffef8;
  box-shadow: 0 1px 3px rgba(58, 42, 2, 0.14);
  font-size: 13px;
  transform: rotate(-2deg);
}

.cover-quote::before {
  position: absolute;
  top: -8px;
  left: 8px;
  color: rgba(231, 154, 176, 0.5);
  font-size: 54px;
  font-weight: 900;
  line-height: 1.2;
  content: "“";
}

.detail-cover {
  flex: none;
  height: 150px;
  padding: 14px;
  font-size: 26px;
}

.app-nav {
  display: grid;
  flex: none;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  padding: 7px 6px 18px;
  border-top: 1px solid var(--a-line);
  color: #858b93;
  background: #fff;
  font-size: 9.5px;
  text-align: center;
}

.app-nav span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.app-nav .on {
  color: var(--brand);
  font-weight: 700;
}

.app-nav svg {
  width: 19px;
  height: 19px;
}

.app-nav .app-publish {
  width: 38px;
  height: 38px;
  justify-content: center;
  justify-self: center;
  border-radius: 50%;
  color: #fff;
  background: var(--brand);
}

/* 手机里的表单、付款、通知 */
.sheet {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  min-height: 0;
  padding: 6px 14px;
  overflow: hidden;
}

.sheet label {
  margin-top: 6px;
  color: var(--a-ink-2);
  font-size: 11px;
  font-weight: 600;
}

.sheet h4 {
  font-size: 15px;
}

.field {
  padding: 9px 11px;
  border: 1px solid var(--a-line);
  border-radius: 10px;
  background: #fff;
  font-size: 13px;
}

.field.tall {
  min-height: 74px;
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.two label {
  display: block;
  margin-bottom: 6px;
}

.mini-steps {
  display: flex;
  flex-direction: column;
  gap: 5px;
  counter-reset: mini;
}

.mini-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 10px;
  background: #fff;
  font-size: 12px;
  counter-increment: mini;
}

.mini-steps li::before {
  display: inline-grid;
  width: 18px;
  height: 18px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  color: var(--brand-deep);
  background: var(--a-brand-soft);
  font-size: 10px;
  font-weight: 700;
  content: counter(mini);
}

.foot {
  display: flex;
  flex: none;
  gap: 8px;
  padding: 10px 14px 22px;
  background: #fff;
  border-top: 1px solid var(--a-line);
}

.foot span {
  flex: 1;
  height: 38px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 38px;
  text-align: center;
}

.primary {
  color: #fff;
  background: var(--brand);
}

.secondary {
  color: var(--a-ink);
  background: #f0f2f5;
}

.pay-total {
  padding: 22px 0 16px;
  text-align: center;
}

.pay-total small {
  display: block;
  color: var(--a-ink-2);
  font-size: 12px;
}

.pay-total b {
  display: block;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.3;
}

.pay-total span {
  color: var(--a-ink-3);
  font-size: 11px;
}

.pay-way {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px;
  border: 1px solid var(--a-line);
  border-radius: 12px;
  background: #fff;
  font-size: 13px;
}

.pay-way i {
  width: 16px;
  height: 16px;
  border: 1.5px solid #c9ced6;
  border-radius: 50%;
}

.pay-way.on {
  border-color: var(--brand);
}

.pay-way.on i {
  border: 5px solid var(--brand);
}

.fineprint {
  color: var(--a-ink-3);
  font-size: 10.5px;
}

.fineprint.warn {
  margin-top: 4px;
  color: #c96f00;
}

.kv {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  font-size: 12px;
}

.kv span {
  color: var(--a-ink-2);
}

.photos {
  display: flex;
  gap: 8px;
}

.photos i,
.photos u {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border-radius: 10px;
  text-decoration: none;
}

.photos i {
  background:
    linear-gradient(180deg, transparent 62%, #b9c2cf 62%),
    linear-gradient(#ffffff, #ffffff) 50% 34% / 34px 42px no-repeat,
    #dfe6f0;
}

.photos i:nth-child(2) {
  background:
    linear-gradient(180deg, transparent 70%, #c8bfae 70%),
    linear-gradient(#ffffff, #ffffff) 50% 38% / 26px 34px no-repeat,
    #ece5d8;
}

.photos.large {
  flex-wrap: wrap;
}

.photos.large i,
.photos.large u {
  width: calc(50% - 4px);
  height: 122px;
}

.photos u {
  color: var(--a-ink-3);
  border: 1px dashed #c9ced6;
}

.photos svg {
  width: 20px;
  height: 20px;
}

.wallet-card {
  margin-bottom: 4px;
  padding: 18px 16px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
}

.wallet-card small {
  display: block;
  font-size: 12px;
  opacity: 0.85;
}

.wallet-card b {
  display: block;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
}

.note-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 14px;
  background: #fff;
}

.note-row b {
  display: block;
  font-size: 13px;
}

.note-row span {
  display: block;
  color: var(--a-ink-2);
  font-size: 11px;
}

.note-seal {
  width: 34px;
  height: 33px;
  flex: none;
  color: var(--brand);
}

.note-dot {
  width: 9px;
  height: 9px;
  flex: none;
  margin: 0 3px;
  border-radius: 50%;
  background: var(--brand);
}

.stamp-check {
  color: #fff;
}

.near-map {
  position: relative;
  flex: none;
  height: 200px;
  margin: 2px 10px 8px;
  overflow: hidden;
  border-radius: 16px;
  background: #e9f1fc;
}

.near-map i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  margin: -32px;
  border: 1px solid rgba(22, 119, 255, 0.35);
  border-radius: 50%;
}

.near-map i:nth-child(2) {
  width: 140px;
  height: 140px;
  margin: -70px;
}

.near-map i:nth-child(3) {
  width: 230px;
  height: 230px;
  margin: -115px;
}

.near-map u {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--a-price);
  box-shadow: 0 0 0 3px #fff;
}

.near-map u:nth-of-type(1) {
  top: 66px;
  left: 118px;
}

.near-map u:nth-of-type(2) {
  top: 120px;
  left: 76px;
}

.near-map u:nth-of-type(3) {
  top: 36px;
  left: 190px;
}

.near-map::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  margin: -7px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--brand);
  content: "";
}

.near-list {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  padding: 0 10px;
  overflow: hidden;
}

.near-list div {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 12px;
  background: #fff;
}

.near-list b {
  flex: 1;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.near-list span {
  color: var(--a-price);
  font-size: 12px;
  font-weight: 800;
}

.near-list em {
  width: 30px;
  color: var(--a-ink-3);
  font-size: 10px;
  font-style: normal;
  text-align: right;
}

.chat {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 8px 12px 20px;
  font-size: 13px;
}

.chat > span {
  max-width: 78%;
  padding: 8px 11px;
  border-radius: 14px;
}

.chat .in {
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  background: #fff;
}

.chat .out {
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  color: #fff;
  background: var(--brand);
}

.chat .voice {
  display: flex;
  align-items: center;
  gap: 3px;
}

.chat .voice i {
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: var(--a-ink-3);
}

.chat .voice i:nth-child(2n) {
  height: 15px;
}

.chat .voice i:nth-child(3n) {
  height: 11px;
}

.chat .voice b {
  margin-left: 8px;
  color: var(--a-ink-2);
  font-size: 12px;
  font-weight: 500;
}

.chat .photo {
  width: 130px;
  height: 100px;
  background:
    linear-gradient(180deg, transparent 62%, #b9c2cf 62%),
    linear-gradient(#ffffff, #ffffff) 50% 34% / 44px 52px no-repeat,
    #dfe6f0;
}

.chat-block {
  margin-top: auto;
  padding: 8px 10px;
  border-radius: 10px;
  color: #b4413f;
  background: #ffedec;
  font-size: 11px;
}

.reason {
  padding: 10px 12px;
  border: 1px solid var(--a-line);
  border-radius: 10px;
  background: #fff;
  font-size: 12.5px;
}

.reason.on {
  border-color: var(--brand);
  color: var(--brand-deep);
}

/* 首屏两张浮动通知，手机升到位时才弹出来 */
.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 262px;
  padding: 12px 18px 12px 12px;
  border: 1px solid var(--hair);
  border-radius: 20px;
  background: rgba(30, 30, 33, 0.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.float-card small {
  display: block;
  color: var(--t2);
  font-size: 12px;
}

.float-card b {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
}

.float-left {
  top: 210px;
  right: calc(100% - 44px);
}

.float-right {
  top: 372px;
  left: calc(100% - 44px);
  width: 214px;
}

.float-dot {
  width: 10px;
  height: 10px;
  flex: none;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(var(--brand-glow), 0.25);
}

.stamp {
  width: 44px;
  height: 43px;
  flex: none;
  color: var(--brand);
  transform: rotate(-10deg);
}

html.motion .float-card {
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  transition:
    opacity 600ms var(--ease),
    transform 800ms var(--ease);
}

html.motion .float-right {
  transition-delay: 140ms;
}

html.motion .hero.pop .float-card {
  opacity: 1;
  transform: none;
}

html.motion .stamp {
  opacity: 0;
  transform: rotate(-10deg) scale(2.1);
  transition:
    opacity 180ms ease 240ms,
    transform 420ms cubic-bezier(0.2, 0.9, 0.3, 1.25) 240ms;
}

html.motion .hero.pop .stamp {
  opacity: 1;
  transform: rotate(-10deg) scale(1);
}

/* 亮点 */
.highlights {
  position: relative;
  z-index: 1;
  padding: clamp(72px, 10vw, 128px) 0 clamp(48px, 7vw, 88px);
  background: var(--bg);
}

.highlights h2 {
  margin-bottom: clamp(24px, 3.4vw, 40px);
}

.gallery-track {
  --gutter: max(16px, calc((100vw - 1120px) / 2));
  display: flex;
  gap: 20px;
  padding-inline: var(--gutter);
  overflow-x: auto;
  scroll-padding-inline: var(--gutter);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gcard {
  position: relative;
  display: grid;
  flex: 0 0 min(1120px, 100vw - 56px);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 24px;
  height: clamp(420px, 56vh, 560px);
  padding: 0 clamp(28px, 5vw, 64px);
  overflow: hidden;
  border: 1px solid var(--hair);
  border-radius: 28px;
  background: var(--card);
  scroll-snap-align: center;
}

.gcard-copy {
  color: var(--t2);
  font-size: clamp(21px, 2.3vw, 28px);
  font-weight: 600;
  line-height: 1.28;
}

.gcard-copy b {
  display: block;
  margin-bottom: 4px;
  color: var(--t1);
  font-weight: 600;
}

.gvis {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

/* 每张卡片的小场景只在轮到它时播放 */
.ticket {
  position: relative;
  width: min(100%, 340px);
  padding: 26px 28px;
  border-radius: 22px;
  color: var(--a-ink);
  background: #fff;
  box-shadow: 0 0 70px rgba(var(--brand-glow), 0.28);
}

.ticket small {
  display: block;
  color: var(--a-ink-2);
  font-size: 14px;
}

.ticket b {
  display: block;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.25;
}

.ticket span {
  color: var(--a-ink-3);
  font-size: 13px;
}

.ticket-stamp {
  position: absolute;
  top: -22px;
  right: -14px;
  width: 84px;
  height: 81px;
  color: var(--brand);
  transform: rotate(-10deg);
}

html.motion .ticket-stamp {
  opacity: 0;
  transform: rotate(-10deg) scale(2.2);
}

html.motion .gcard.on .ticket-stamp {
  opacity: 1;
  transform: rotate(-10deg) scale(1);
  transition:
    opacity 180ms ease 420ms,
    transform 440ms cubic-bezier(0.2, 0.9, 0.3, 1.25) 420ms;
}

.gvis-zero {
  flex-direction: column;
}

.gvis-zero b {
  background: linear-gradient(120deg, #ffffff 20%, #5aa2ff 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(110px, 17vw, 210px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

.gvis-zero span {
  margin-top: 8px;
  color: var(--t2);
  font-size: 18px;
}

html.motion .gvis-zero b {
  opacity: 0;
  transform: scale(0.82);
}

html.motion .gcard.on .gvis-zero b {
  opacity: 1;
  transform: none;
  transition:
    opacity 900ms var(--ease) 200ms,
    transform 1200ms var(--ease) 200ms;
}

.gvis-steps {
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: min(100%, 400px);
  margin-inline: auto;
}

.gvis-steps div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #1b1b1e;
  font-size: 16px;
}

.gvis-steps i {
  display: grid;
  width: 28px;
  height: 28px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
}

.gvis-steps span {
  margin-right: auto;
}

.gvis-steps u {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 9px;
  background: linear-gradient(135deg, #3a3f49, #23262c);
}

html.motion .gvis-steps div {
  opacity: 0;
  transform: translateX(34px);
}

html.motion .gcard.on .gvis-steps div {
  opacity: 1;
  transform: none;
  transition:
    opacity 700ms var(--ease),
    transform 900ms var(--ease);
}

html.motion .gcard.on .gvis-steps div:nth-child(1) {
  transition-delay: 200ms;
}

html.motion .gcard.on .gvis-steps div:nth-child(2) {
  transition-delay: 340ms;
}

html.motion .gcard.on .gvis-steps div:nth-child(3) {
  transition-delay: 480ms;
}

.gvis-stages {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: min(100%, 360px);
  margin-inline: auto;
}

.gvis-stages div {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
  padding: 15px 18px;
  border: 1px solid var(--hair);
  border-radius: 16px;
  color: var(--t2);
  font-size: 16px;
}

.gvis-stages div:last-child {
  margin-bottom: 0;
}

.gvis-stages div:not(:last-child)::after {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 2px;
  height: 27px;
  background: var(--hair);
  content: "";
}

.gvis-stages b {
  color: var(--t1);
  font-weight: 600;
}

.gvis-stages span {
  font-size: 14px;
}

.gvis-stages .done {
  border-color: transparent;
  background: rgba(var(--take-glow), 0.18);
  color: #58d3a4;
}

.gvis-stages .now {
  border-color: transparent;
  background: var(--brand);
  color: #fff;
}

.gvis-stages .now b {
  color: #fff;
}

html.motion .gcard.on .gvis-stages .now {
  animation: breathe 2.4s ease-in-out 600ms infinite;
}

@keyframes breathe {
  50% {
    box-shadow: 0 0 34px rgba(var(--brand-glow), 0.65);
  }
}

.gvis-route {
  display: grid;
  grid-template-columns: auto minmax(40px, 1fr) auto;
  align-items: center;
  gap: 6px;
  width: min(100%, 440px);
  margin-inline: auto;
  font-size: 16px;
  font-weight: 600;
}

.route-from,
.route-to span {
  padding: 12px 16px;
  border-radius: 14px;
  white-space: nowrap;
}

.route-from {
  background: var(--brand);
}

.route-to {
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.route-to span {
  border: 1px solid var(--hair);
  background: #1b1b1e;
  text-align: center;
}

.route-lines {
  display: block;
  align-self: stretch;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.route-lines path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.24);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.route-lines .route-run {
  display: none;
  stroke: #fff;
  stroke-dasharray: 22 100;
  stroke-dashoffset: 22;
  stroke-linecap: round;
}

html.motion .gcard.on .route-run {
  display: block;
  animation: flow 1.9s ease-in-out 300ms infinite;
}

@keyframes flow {
  to {
    stroke-dashoffset: -100;
  }
}

.gallery-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.gallery-nav[hidden] {
  display: none;
}

.dots {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.dots button {
  position: relative;
  width: 8px;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  transition: width 300ms ease;
}

.dots button.on {
  width: 44px;
}

.dots button::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #fff;
  content: "";
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.dots button.on::after {
  transform: scaleX(1);
}

.dots button.run::after {
  animation: dot-fill 5200ms linear both;
}

@keyframes dot-fill {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.gallery-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.gallery-toggle i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 13px;
  border-right: 3.5px solid var(--t1);
  border-left: 3.5px solid var(--t1);
  transform: translate(-50%, -50%);
}

.gallery-toggle.paused i {
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 7px solid transparent;
  border-right: 0;
  border-bottom: 7px solid transparent;
  border-left: 12px solid var(--t1);
}

/* 逐字点亮的一段话 */
.statement {
  padding: clamp(72px, 12vw, 160px) 0;
}

.statement p {
  max-width: 920px;
  font-size: clamp(28px, 4.4vw, 54px);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.01em;
}

.statement span {
  opacity: clamp(0.2, calc((var(--p, 0) * (var(--n) + 10) - var(--i)) / 10 + 0.2), 1);
}

/* 六步故事 */
.story {
  position: relative;
  padding-top: clamp(40px, 6vw, 72px);
}

.story .section-head {
  margin-bottom: 0;
}

html.motion .story-track {
  height: 640vh;
}

.story-stage {
  position: relative;
  padding: 48px 0 24px;
}

html.motion .story-stage {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
  height: 100svh;
  padding: var(--nav-h) 0 0;
  overflow: hidden;
}

.story-glow {
  position: absolute;
  top: 52%;
  right: calc(max(16px, (100vw - 1120px) / 2) + 150px * var(--fit-story));
  width: 100vmin;
  height: 100vmin;
  opacity: 0;
  transform: translate(50%, -50%);
  transition: opacity 900ms ease;
  pointer-events: none;
}

.glow-pub {
  background: radial-gradient(closest-side, rgba(var(--brand-glow), 0.34), transparent);
}

.glow-take {
  background: radial-gradient(closest-side, rgba(var(--take-glow), 0.3), transparent);
}

.story-stage[data-role="pub"] .glow-pub,
.story-stage[data-role="take"] .glow-take {
  opacity: 1;
}

.story-nav {
  position: absolute;
  z-index: 2;
  top: calc(var(--nav-h) + 16px);
  left: 50%;
  display: flex;
  width: min(100% - 32px, 432px);
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-50%);
}

.story-nav[hidden] {
  display: none;
}

.story-nav button {
  position: relative;
  z-index: 1;
  flex: 1;
  height: 32px;
  color: var(--t2);
  font-size: 14px;
  transition: color 300ms ease;
}

.story-nav button[aria-current] {
  color: var(--ink);
  font-weight: 600;
}

.story-thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 8px) / 6);
  border-radius: 999px;
  background: #fff;
  transform: translateX(calc(var(--i, 0) * 100%));
  transition: transform 500ms var(--ease);
}

.story-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}

.story-steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.story-steps h3 {
  margin: 12px 0 10px;
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.story-steps p {
  max-width: 26em;
  color: var(--t2);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.5;
}

html.motion .story-steps {
  position: relative;
  display: block;
  height: 300px;
}

html.motion .story-steps li {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  opacity: 0;
  transform: translateY(calc(-50% + 22px));
  transition:
    opacity 450ms ease,
    transform 700ms var(--ease);
  pointer-events: none;
}

html.motion .story-steps li.on {
  opacity: 1;
  transform: translateY(-50%);
  pointer-events: auto;
}

.role {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.role-pub {
  color: #9cc4ff;
  background: rgba(var(--brand-glow), 0.24);
}

.role-take {
  color: #7fe0b8;
  background: rgba(var(--take-glow), 0.22);
}

.story-device {
  --fit: var(--fit-story);
  display: none;
}

html.motion .story-device {
  display: block;
}

.story-device .device-note {
  margin-top: 10px;
}

/* 资金规则 */
.money {
  position: relative;
  padding: clamp(80px, 11vw, 150px) 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 32px;
}

.stat {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.stat b {
  background: linear-gradient(100deg, #ffffff 10%, #5aa2ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(60px, 7.6vw, 96px);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.stat span {
  color: var(--t1);
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 600;
}

.stat-grid li > p:last-child {
  margin-top: 10px;
  color: var(--t2);
  font-size: 16px;
}

.ledger {
  margin-top: clamp(56px, 8vw, 96px);
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--hair);
  border-radius: 28px;
  background: var(--card);
}

.ledger h3 {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 600;
  line-height: 1.15;
}

.ledger-lead {
  margin-top: 8px;
  color: var(--t2);
}

.ledger-bar {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 6px;
  margin-top: 28px;
}

.ledger-bar i {
  height: 52px;
  border: 1px dashed #5b616a;
  border-radius: 10px;
}

.ledger-bar .paid {
  border: 0;
  background: linear-gradient(135deg, #5aa2ff, var(--brand));
}

html.motion .ledger-bar .paid {
  opacity: 0;
  transform: scaleY(0.4);
  transform-origin: 50% 100%;
}

html.motion .ledger.in .ledger-bar .paid {
  opacity: 1;
  transform: none;
  transition:
    opacity 400ms ease calc(300ms + var(--i) * 110ms),
    transform 700ms var(--ease) calc(300ms + var(--i) * 110ms);
}

.ledger-legend {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

.ledger-legend b {
  display: block;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.2;
}

.ledger-legend b span {
  color: inherit;
  font-size: inherit;
}

.ledger-legend div > span {
  color: var(--t2);
  font-size: 15px;
}

.ledger-legend .right {
  text-align: right;
}

/* 功能切换 */
.viewer {
  position: relative;
  padding: clamp(32px, 5vw, 64px) 0 clamp(80px, 11vw, 150px);
}

.viewer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 0.3fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
}

.viewer-items {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.vitem {
  max-width: 400px;
  overflow: hidden;
  border-radius: 26px;
  background: #1d1d20;
  transition: background-color 300ms ease;
}

.vitem.open {
  background: #26262a;
}

.vitem button {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 22px 0 16px;
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
}

.vitem button i {
  position: relative;
  width: 24px;
  height: 24px;
  flex: none;
  border: 1.5px solid var(--t2);
  border-radius: 50%;
}

.vitem button i::before,
.vitem button i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1.5px;
  margin: -0.75px -5px;
  background: var(--t1);
  content: "";
  transition: transform 300ms ease;
}

.vitem button i::after {
  transform: rotate(90deg);
}

.vitem.open button i::after {
  transform: rotate(0);
}

.vbody p {
  padding: 0 22px 18px 50px;
  color: var(--t2);
  font-size: 16px;
}

.js .vbody {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 450ms var(--ease);
}

.js .vbody p {
  min-height: 0;
  overflow: hidden;
}

.js .vitem:not(.open) .vbody p {
  padding-block: 0;
}

.js .vitem.open .vbody {
  grid-template-rows: 1fr;
}

.viewer-caption {
  display: none;
}

.viewer-device {
  --fit: var(--fit-viewer);
}

.viewer-device .device-note {
  margin-top: 10px;
}

html:not(.js) .viewer-device {
  display: none;
}

/* 结尾：转成浅色 */
.faq-section {
  position: relative;
  padding: clamp(72px, 10vw, 128px) 0;
  color: var(--ink);
  background: var(--light);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 48px;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq details:first-child {
  border-top: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 20px 36px 20px 0;
  font-size: 19px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before,
.faq summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 14px;
  height: 2px;
  background: var(--ink-2);
  content: "";
}

.faq summary::after {
  transform: rotate(90deg);
  transition: transform 240ms ease;
}

.faq details[open] summary::after {
  transform: rotate(0);
}

.faq details p {
  max-width: 44em;
  padding: 0 36px 22px 0;
  color: var(--ink-2);
}

.download {
  position: relative;
  padding: clamp(72px, 10vw, 128px) 0;
  color: var(--ink);
  background: #fff;
  text-align: center;
}

.download-icon {
  display: block;
  margin: 0 auto 20px;
  border-radius: 20px;
}

.download-version {
  margin-top: 14px;
  color: var(--ink-2);
}

.download-notes {
  max-width: 34em;
  margin: 8px auto 0;
  color: var(--ink-2);
  font-size: 15px;
}

.download-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 36px;
}

.qr-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px 12px 12px;
  border-radius: 20px;
  color: var(--ink-2);
  background: var(--light);
  font-size: 14px;
}

.qr {
  width: 96px;
  height: 96px;
  flex: none;
  color: var(--ink);
}

.qr svg {
  display: block;
  width: 100%;
  height: 100%;
}

.install-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(48px, 7vw, 80px);
  counter-reset: step;
  text-align: left;
}

.install-steps li {
  padding: 22px 24px;
  border-radius: 20px;
  background: var(--light);
  counter-increment: step;
}

.install-steps b {
  display: block;
  font-size: 18px;
  font-weight: 600;
}

.install-steps b::before {
  margin-right: 8px;
  color: var(--brand);
  content: counter(step);
}

.install-steps span {
  color: var(--ink-2);
  font-size: 15px;
}

.site-foot {
  position: relative;
  padding: 18px 0 calc(18px + env(safe-area-inset-bottom));
  color: var(--ink-2);
  background: var(--light);
  font-size: 12px;
}

.site-foot-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 20px;
}

.foot-icp {
  margin-left: auto;
}

.foot-icp:hover {
  color: var(--ink);
}

/* 悬浮下载胶囊 */
.cta-pill {
  position: fixed;
  z-index: 25;
  bottom: calc(20px + env(safe-area-inset-bottom));
  left: 50%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 8px 8px 22px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: rgba(38, 38, 42, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  transform: translate(-50%, 0);
  transition:
    transform 700ms var(--ease),
    opacity 400ms ease;
}

html.motion .cta-pill {
  opacity: 0;
  transform: translate(-50%, 28px);
}

html.motion .cta-pill.ready {
  opacity: 1;
  transform: translate(-50%, 0);
  transition-delay: 500ms;
}

.cta-pill.away,
.cta-pill.hold,
html.motion .cta-pill.ready.away,
html.motion .cta-pill.ready.hold {
  opacity: 0;
  transform: translate(-50%, 28px);
  transition-delay: 0ms;
  pointer-events: none;
}

.cta-text {
  line-height: 1.3;
  white-space: nowrap;
}

.cta-text b {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.cta-text span {
  color: var(--t2);
  font-size: 12px;
}

.cta-qr {
  position: relative;
}

.cta-qr button {
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--t1);
  background: rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

.cta-qr-pop {
  position: absolute;
  bottom: calc(100% + 18px);
  left: 50%;
  padding: 12px;
  border-radius: 18px;
  background: #fff;
  opacity: 0;
  transform: translate(-50%, 10px);
  transition:
    opacity 220ms ease,
    transform 300ms var(--ease);
  pointer-events: none;
}

.cta-qr-pop .qr {
  width: 136px;
  height: 136px;
}

.cta-qr.open .cta-qr-pop {
  opacity: 1;
  transform: translate(-50%, 0);
}

html.ios .cta-pill {
  display: none;
}

/* 平板与手机：故事改成上手机下文字 */
@media (max-width: 900px) {
  .localnav-links {
    display: none;
  }

  .float-left {
    top: 190px;
    right: calc(100% - 120px);
  }

  .float-right {
    top: 352px;
    left: calc(100% - 120px);
  }

  .gcard {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    gap: 12px;
    height: 500px;
    padding: 28px 24px;
  }

  .ticket-stamp {
    top: -14px;
    right: -6px;
    width: 72px;
    height: 70px;
  }

  html.motion .story-track {
    height: 560vh;
  }

  html.motion .story-stage {
    justify-content: flex-start;
    padding-top: calc(var(--nav-h) + 60px);
  }

  html.motion .story-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    justify-items: center;
    gap: 14px;
  }

  html.motion .story-device {
    grid-row: 1;
  }

  html.motion .story-device .device-note {
    display: none;
  }

  html.motion .story-steps {
    grid-row: 2;
    width: 100%;
    height: 176px;
  }

  html.motion .story-steps li {
    top: 0;
    transform: translateY(14px);
  }

  html.motion .story-steps li.on {
    transform: none;
  }

  .story-steps h3 {
    margin: 6px 0;
    font-size: 26px;
  }

  .story-steps p {
    font-size: 15px;
  }

  .story-glow {
    top: 38%;
    right: 50%;
  }

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

  .viewer-grid {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 20px;
  }

  .viewer-items {
    flex-direction: row;
    width: calc(100% + 32px);
    margin-inline: -16px;
    padding-inline: 16px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .viewer-items::-webkit-scrollbar {
    display: none;
  }

  .vitem {
    flex: none;
  }

  .vitem.open {
    color: var(--ink);
    background: #fff;
  }

  .vitem button {
    height: 40px;
    padding: 0 16px;
    font-size: 15px;
  }

  .vitem button i,
  .js .vbody {
    display: none;
  }

  .viewer-caption {
    display: block;
    max-width: 30em;
    min-height: 4.6em;
    color: var(--t2);
    font-size: 16px;
    text-align: center;
  }

  html:not(.js) .vbody {
    display: block;
  }
}

@media (max-width: 760px) {
  .m-br {
    display: inline;
  }

  h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .hero-lede {
    font-size: 16px;
  }

  .float-left {
    top: 236px;
    right: auto;
    left: 50%;
    width: 256px;
    margin-left: -128px;
  }

  .float-right {
    display: none;
  }

  .hero-stage > .device-note {
    right: 0;
    left: 0;
    bottom: 84px;
  }

  .gallery-track {
    gap: 12px;
  }

  .gcard {
    flex-basis: calc(100vw - 40px);
    border-radius: 24px;
  }

  .gvis-route {
    font-size: 14px;
  }

  .route-from,
  .route-to span {
    padding: 10px 12px;
  }

  .ledger-bar {
    gap: 3px;
    margin-top: 20px;
  }

  .ledger-bar i {
    height: 34px;
    border-radius: 6px;
  }

  .stat-grid li > p:last-child {
    font-size: 15px;
  }

  .faq-layout {
    display: block;
  }

  .faq-layout h2 {
    margin-bottom: 24px;
  }

  .faq summary {
    padding: 16px 32px 16px 0;
    font-size: 17px;
  }

  .faq details p {
    padding-right: 0;
    font-size: 16px;
  }

  .download-actions .qr-card,
  .cta-qr {
    display: none;
  }

  .btn-large {
    width: 100%;
  }

  .install-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .foot-icp {
    margin-left: 0;
  }

  .cta-pill {
    width: calc(100% - 32px);
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .slide,
  .faq summary::after,
  .dots button,
  .vitem,
  .js .vbody {
    transition: none;
  }
}
