/* ==========================================================================
   智盈擎官网 · app.bbbf.xyz
   单页长滚动 + 2 个法务页；零构建、零外部依赖。
   色板/间距/玻璃配方与 docs/website-spec.md §6 一一对应，改色只改 :root。
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --bg: #0a0c10;
  --bg-deep: #07090c;
  --surface: #14171c;
  --surface-2: #1b1f26;
  --border: #262b33;
  --border-strong: #3a424d;

  --text: #f1f4f8;
  --text-2: #c4cbd6;
  --text-3: #97a1af;

  --brand: #ff5a67;
  --brand-deep: #e04855;
  --brand-soft: #3a1218;
  --gold: #e8c36a;
  --gold-soft: #2b2414;

  --up: #ff6b6b;
  --down: #3dd68c;

  --glass-bg: rgba(255, 255, 255, 0.045);
  --glass-bg-strong: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-blur: 22px;
  --glass-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);

  --container: 1160px;
  --gutter: 24px;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --section-y: clamp(60px, 6.4vw, 92px);

  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, -apple-system,
    "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.75;
  font-feature-settings: "tnum";
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  padding-bottom: 0;
}
body.has-sticky-cta {
  padding-bottom: calc(88px + env(safe-area-inset-bottom));
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
p,
h1,
h2,
h3,
h4 {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection {
  background: rgba(255, 90, 103, 0.28);
}

/* 背景光晕：只做两层，别堆 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(760px 420px at 78% -8%, rgba(255, 90, 103, 0.16), transparent 70%),
    radial-gradient(900px 520px at 8% 4%, rgba(122, 96, 255, 0.08), transparent 72%),
    linear-gradient(180deg, #0a0c10 0%, #080a0e 55%, #07090c 100%);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--brand);
  color: #1a0508;
  font-weight: 700;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 16px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- glass ---------- */
.glass {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.15);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.15);
  box-shadow: var(--glass-shadow);
}
.glass::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  pointer-events: none;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass {
    background: var(--surface);
  }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 26px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease),
    border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.btn--primary {
  background: var(--brand);
  color: #1a0508;
  box-shadow: 0 12px 32px rgba(255, 90, 103, 0.24);
}
.btn--primary:hover {
  background: var(--brand-deep);
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(255, 90, 103, 0.3);
}
.btn--ghost {
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: var(--glass-bg-strong);
}
.btn--sm {
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
}
.btn--block {
  width: 100%;
}
.btn[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.66;
  box-shadow: none;
}
.btn[aria-disabled="true"]:hover {
  transform: none;
}

/* ---------- nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
    backdrop-filter 0.25s var(--ease);
}
.site-nav[data-state="scrolled"] {
  background: rgba(10, 12, 16, 0.72);
  border-bottom-color: var(--border);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}
.site-nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand__mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}
.brand__name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.site-nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 15px;
  color: var(--text-2);
}
.site-nav__links a {
  position: relative;
  padding: 6px 0;
  transition: color 0.16s var(--ease);
}
.site-nav__links a:hover,
.site-nav__links a[aria-current="true"] {
  color: var(--text);
}
.site-nav__links a[aria-current="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}
.site-nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  background: var(--glass-bg);
  font-size: 13px;
}
.nav-panel {
  display: none;
  padding: 8px var(--gutter) 24px;
  background: rgba(10, 12, 16, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.nav-panel[data-open="true"] {
  display: block;
}
.nav-panel a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
}
.nav-panel .btn {
  margin-top: 18px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(28px, 4.4vw, 56px) 0 clamp(24px, 3vw, 40px);
  overflow: clip;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 10px;
  border: 1px solid rgba(255, 90, 103, 0.34);
  border-radius: var(--radius-pill);
  background: rgba(255, 90, 103, 0.08);
  color: #ffd9dd;
  font-size: 13px;
  letter-spacing: 0.06em;
}
.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(255, 90, 103, 0.16);
}
.hero__title {
  margin-top: 22px;
  font-size: clamp(28px, 3.3vw, 48px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.hero__title em {
  font-style: normal;
  color: var(--brand);
  background: linear-gradient(96deg, #ff5a67, #ff8a72 60%, #e8c36a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__sub {
  max-width: 34em;
  margin-top: 22px;
  color: var(--text-2);
  font-size: clamp(16px, 1.3vw, 18px);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.hero__micro {
  margin-top: 16px;
  color: var(--text-3);
  font-size: 13.5px;
  letter-spacing: 0.02em;
}
.hero__micro span {
  margin: 0 6px;
  color: var(--border-strong);
}
.hero__disclaimer {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  max-width: 30em;
  color: var(--text-3);
  font-size: 12.5px;
  line-height: 1.7;
}

/* 手机样机 */
.hero__device-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 520px;
}
.hero__halo {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 103, 0.22), transparent 62%);
  filter: blur(18px);
}
.device {
  position: relative;
  z-index: 1;
  width: min(298px, 78%);
  aspect-ratio: 630 / 1340;      /* 与真机截图同比例，避免 cover 裁掉头尾 */
  border-radius: 46px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, #23282f, #101318 55%, #0a0d11);
  padding: 9px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.device__screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 38px;
  background: linear-gradient(180deg, #0d1015, #0a0c10 40%, #090b0e);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.device__screen > * {
  flex: 0 0 auto;
}
/* 真机截图铺满屏幕内框；比例已与 .device 对齐，不裁切 */
.device__shot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.device__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 16px 10px;
  font-size: 11px;
  color: var(--text-3);
}
.device__bar strong {
  color: var(--text);
  font-size: 12.5px;
  font-weight: 600;
}
.device__hero {
  margin: 2px 12px 10px;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255, 90, 103, 0.16), rgba(255, 90, 103, 0.02));
  border: 1px solid rgba(255, 90, 103, 0.2);
}
.device__hero-label {
  display: block;
  font-size: 10px;
  color: #ffb3ba;
  letter-spacing: 0.08em;
}
.device__hero-value {
  display: block;
  margin-top: 2px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.device__hero-note {
  display: block;
  font-size: 10px;
  color: var(--text-3);
}
.device__chart {
  margin: 0 12px;
  padding: 6px 0 0;
}
.device__rows {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 8px 12px 0;
}
.device__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.device__row-name {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
}
.device__row-code {
  display: block;
  font-size: 9.5px;
  color: var(--text-3);
  letter-spacing: 0.04em;
}
.device__score {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
}
.device__score i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
}
.device__note {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 8px 12px 0;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  font-size: 9.5px;
  color: var(--text-3);
  letter-spacing: 0.02em;
}
.device__tabs {
  display: flex;
  justify-content: space-between;
  padding: 10px 18px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 9.5px;
  color: var(--text-3);
}
.device__tabs span[data-active="1"] {
  color: var(--brand);
  font-weight: 600;
}
.float-card {
  position: absolute;
  z-index: 4;
  max-width: 190px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(20, 23, 28, 0.86);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  font-size: 11.5px;
  color: var(--text-3);
}
.float-card__value {
  display: block;
  margin-top: 2px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.float-card--a {
  top: 15%;
  left: -7%;
}
.float-card--b {
  bottom: 9%;
  right: -13%;      /* 真机截图信息密度高，浮卡外移，只贴机身边缘 */
}
.float-card--b .float-card__value {
  color: var(--down);
}

/* ---------- section ---------- */
.section {
  padding: var(--section-y) 0;
  position: relative;
}
.section--tight {
  padding-top: calc(var(--section-y) * 0.6);
}
.section__head {
  max-width: 52rem;
  margin-bottom: clamp(28px, 3.4vw, 48px);
}
.section__head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section__kicker {
  display: block;
  color: var(--brand);
  font-size: 13px;
  letter-spacing: 0.14em;
  font-weight: 700;
}
.section__title {
  margin-top: 12px;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.section__lead {
  margin-top: 14px;
  color: var(--text-2);
  font-size: 16.5px;
}

/* ---------- features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.card {
  padding: clamp(22px, 2.4vw, 32px);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.card:hover {
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 90, 103, 0.24);
  background: rgba(255, 90, 103, 0.1);
  color: var(--brand);
}
.card__icon svg {
  width: 20px;
  height: 20px;
}
.card__title {
  margin-top: 20px;
  font-size: 19.5px;
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: -0.005em;
}
.card__body {
  margin-top: 10px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.8;
}
.card__foot {
  margin-top: 14px;
  color: var(--text-3);
  font-size: 12.5px;
}
.card--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  background: linear-gradient(120deg, rgba(255, 90, 103, 0.09), rgba(255, 255, 255, 0.03));
}
.card--wide .card__title {
  margin-top: 0;
  font-size: 23px;
}
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--brand);
  font-size: 14.5px;
  font-weight: 600;
}
.card__link:hover {
  color: #ff8a94;
}

/* ---------- proof ---------- */
.proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--border);
}
.proof__item {
  padding: 30px clamp(12px, 2vw, 28px);
  border-right: 1px solid var(--border);
}
.proof__item:last-child {
  border-right: 0;
}
.num {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--brand);
  font-weight: 700;
  font-size: clamp(30px, 3.4vw, 46px);
  letter-spacing: -0.03em;
  line-height: 1;
}
.num small {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0;
}
.proof__label {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--text);
}
.proof__note {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--text-3);
}

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}
.step {
  padding: 26px;
  border-radius: var(--radius);
}
.step__no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 90, 103, 0.3);
  background: rgba(255, 90, 103, 0.1);
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
}
.step__title {
  margin-top: 16px;
  font-size: 17.5px;
  font-weight: 700;
}
.step__body {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 14.5px;
}
.start__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}
.start__cta-note {
  color: var(--text-3);
  font-size: 13px;
}
.start__qr {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
}
.start__qr .qr-box {
  width: 66px;
}

/* ---------- pricing ---------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.4vw, 30px);
  border-radius: var(--radius);
}
.plan--featured {
  border-color: rgba(255, 90, 103, 0.42);
  box-shadow: 0 28px 70px rgba(255, 90, 103, 0.14);
  background: linear-gradient(180deg, rgba(255, 90, 103, 0.1), rgba(255, 255, 255, 0.035) 40%);
}
.plan--premium {
  border-color: rgba(232, 195, 106, 0.36);
}
.plan__tag {
  position: absolute;
  top: -12px;
  left: 24px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand);
  color: #1a0508;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.plan--premium .plan__tag {
  background: var(--gold);
  color: #2b1d02;
}
.plan__name {
  font-size: 17px;
  font-weight: 700;
}
.plan__desc {
  margin-top: 6px;
  color: var(--text-3);
  font-size: 13px;
  min-height: 2.6em;
}
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 18px 0 6px;
}
.plan__price .amount {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.plan__price .cycle {
  color: var(--text-3);
  font-size: 13px;
}
.plan__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0 24px;
  font-size: 14.5px;
  color: var(--text-2);
}
.plan__list li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}
.plan__list svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 5px;
  color: var(--brand);
}
.plan--premium .plan__list svg {
  color: var(--gold);
}
.plan__list li[data-off="1"] {
  color: #5f6875;
}
.plan__list li[data-off="1"] svg {
  color: #47505c;
}
.plan__cta {
  margin-top: auto;
}
.plan--premium .btn--ghost {
  border-color: rgba(232, 195, 106, 0.4);
}
.pricing__note {
  margin-top: 22px;
  color: var(--text-3);
  font-size: 12.5px;
  line-height: 1.8;
  max-width: 62em;
}

/* ---------- download ---------- */
.download__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
/* 桌面端主路径是扫码：左侧二维码组给足体量 */
.dl-qr {
  display: grid;
  gap: 14px;
}
.qr-card {
  position: relative;
  padding: 18px;
  border-radius: var(--radius);
  text-align: center;
}
.qr-card--main {
  padding: 22px 22px 20px;
  border-color: rgba(255, 90, 103, 0.2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(255, 90, 103, 0.08) inset;
}
.qr-card--main .qr-box {
  max-width: 292px;
  margin: 0 auto;
}
.qr-card--mini {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  text-align: left;
}
.qr-card--mini .qr-box {
  flex: 0 0 76px;
  width: 76px;
  padding: 6px;
}
/* 小卡里的二维码占位不写长标签，横向空间不够 */
.qr-card--mini .ph-box {
  min-height: 0;
}
.qr-card--mini .ph-box::after {
  content: none;
}
.qr-card__tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 90, 103, 0.12);
  border: 1px solid rgba(255, 90, 103, 0.32);
  color: #ffd9dd;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.qr-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: #fff;
  display: grid;
  place-items: center;
}
.qr-box svg,
.qr-box img {
  width: 100%;
  height: 100%;
}
.qr-card__label {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
}
.qr-card--mini .qr-card__label {
  margin-top: 0;
  font-size: 13.5px;
}
.qr-card__hint {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--text-3);
}
.qr-card__body {
  min-width: 0;
}
.qr-card__soon {
  position: absolute;
  inset: 10px 10px auto 10px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(10, 12, 16, 0.82);
  color: #ffd9dd;
  font-size: 11px;
  border: 1px dashed rgba(255, 90, 103, 0.5);
}
.store-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.store-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}
.store-btn:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: var(--glass-bg-strong);
}
.store-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-2);
}
.store-btn__text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.store-btn__text small {
  color: var(--text-3);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.store-btn__text strong {
  font-size: 15px;
}
.store-btn__soon {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--text-3);
  font-size: 10.5px;
  white-space: nowrap;
}
.apk-row__note {
  margin-top: 10px;
  color: var(--text-3);
  font-size: 12px;
}
/* 桌面端「直接下载」是次要入口：扫码才是主路径 */
.dl-actions {
  min-width: 0;
}
.dl-direct {
  color: var(--text);
}
.dl-actions__tip {
  margin-top: 14px;
  color: var(--text-3);
  font-size: 12px;
  line-height: 1.7;
}
.apk-row__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
  color: var(--text-3);
  font-size: 12px;
}
.apk-row__meta a {
  color: var(--text-2);
  border-bottom: 1px dashed var(--border-strong);
  padding-bottom: 1px;
}
.apk-row__meta a:hover {
  color: #fff;
  border-bottom-color: var(--brand);
}
.btn[data-downloading="1"] {
  pointer-events: none;
  opacity: 0.86;
}
.download__head {
  margin-bottom: 34px;
}

/* ---------- voices ---------- */
.voices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.voice {
  padding: 26px;
  border-radius: var(--radius);
}
.voice__quote {
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.85;
}
.voice__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
}
.voice__name {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.voice__role {
  display: block;
  font-size: 12px;
  color: var(--text-3);
}
.voices__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px dashed rgba(255, 90, 103, 0.5);
  background: rgba(255, 90, 103, 0.07);
  color: #ffb3ba;
  font-size: 11.5px;
}

/* ---------- faq ---------- */
.faq {
  max-width: 860px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.acc {
  border-bottom: 1px solid var(--border);
}
.acc__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 22px 4px;
  text-align: left;
  font-size: 16.5px;
  font-weight: 600;
}
.acc__btn:hover {
  color: #fff;
}
.acc__icon {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
}
.acc__icon::before,
.acc__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.acc__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.24s var(--ease);
}
.acc__btn[aria-expanded="true"] .acc__icon {
  border-color: rgba(255, 90, 103, 0.5);
  color: var(--brand);
}
.acc__btn[aria-expanded="true"] .acc__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}
.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.26s var(--ease);
}
.acc__panel > div {
  overflow: hidden;
}
.acc[data-open="true"] .acc__panel {
  grid-template-rows: 1fr;
}
.acc__body {
  padding: 0 44px 24px 4px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.85;
}
.acc__body code {
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.07);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}
.faq__tail {
  margin-top: 26px;
  text-align: center;
  color: var(--text-3);
  font-size: 13.5px;
}

/* ---------- footer ---------- */
.site-footer {
  padding: 64px 0 36px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(7, 9, 12, 0.2), rgba(7, 9, 12, 0.9));
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.7fr));
  gap: clamp(24px, 4vw, 56px);
}
.footer__brand-text {
  margin-top: 16px;
  max-width: 26em;
  color: var(--text-3);
  font-size: 13.5px;
  line-height: 1.8;
}
.footer__slogan {
  display: inline-block;
  margin-top: 14px;
  color: var(--text-2);
  font-size: 13px;
  letter-spacing: 0.08em;
}
.footer__col-title {
  font-size: 13px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--text-3);
}
.footer__links a:hover {
  color: var(--text);
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: #6c7684;
  font-size: 12.5px;
}
.footer__bottom a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer__disclaimer {
  margin-top: 18px;
  max-width: 100%;
  color: #6c7684;
  font-size: 12px;
  line-height: 1.85;
}

/* ---------- sticky cta (mobile) ---------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(10, 12, 16, 0.86);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
/* hidden 必须压过媒体查询里的 display:flex，否则固定条会一直挂在下边缘 */
.sticky-cta[hidden] {
  display: none !important;
}
.sticky-cta .btn {
  flex: 1 1 auto;
  height: 48px;
}
.sticky-cta__note {
  flex: 0 0 auto;
  color: var(--text-3);
  font-size: 11px;
  line-height: 1.4;
  max-width: 92px;
  white-space: nowrap;
}

/* ---------- placeholder ---------- */
.ph {
  display: inline;
  padding: 1px 6px;
  border: 1px dashed rgba(255, 90, 103, 0.62);
  border-radius: 6px;
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 90, 103, 0.07) 0 8px,
    transparent 8px 16px
  );
  color: #ffd9dd;
  font-size: 0.94em;
  line-height: 1.5;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.ph::after {
  content: attr(data-ph);
  display: inline-block;
  margin-left: 5px;
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: rgba(255, 179, 186, 0.75);
  vertical-align: super;
}
/* 按钮 / 页脚窄位不展开 ID，靠虚线框标记占位 */
.btn.ph::after,
.btn .ph::after,
.plan__price .ph::after,
.avatar.ph-box::after,
.site-footer .ph::after {
  display: none;
}
/* 控件类占位：保留控件自身样式，虚线外描边提示待替换 */
[data-ph-pending] {
  outline: 1px dashed rgba(255, 90, 103, 0.55);
  outline-offset: 3px;
}
/* 商店按钮本身已写"即将上架"，再描虚线太吵：只在 hover 时提示待填 */
.store-btn[data-ph-pending] {
  outline: none;
}
.store-btn[data-ph-pending]:hover {
  outline: 1px dashed rgba(255, 90, 103, 0.45);
  outline-offset: 3px;
}
.ph-box {
  position: relative;
  display: grid;
  place-items: center;
  padding: 10px;
  min-height: 120px;
  border: 1px dashed rgba(255, 90, 103, 0.62);
  border-radius: var(--radius-sm);
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 90, 103, 0.07) 0 10px,
    transparent 10px 20px
  );
  color: #ffd9dd;
  font-size: 12px;
  text-align: center;
  letter-spacing: 0.03em;
}
.ph-box::after {
  content: attr(data-ph-label);
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 9.5px;
  color: rgba(255, 179, 186, 0.7);
}
.ph-box img,
.ph-box svg {
  width: 100%;
  height: auto;
}

/* ---------- 法务页 ---------- */
.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) 0 96px;
}
.legal__title {
  font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.legal__meta {
  margin-top: 12px;
  color: var(--text-3);
  font-size: 13px;
}
.legal h2 {
  margin: 40px 0 12px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.005em;
}
.legal h3 {
  margin: 22px 0 8px;
  font-size: 16px;
  font-weight: 600;
}
.legal p,
.legal li {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.9;
}
.legal p + p {
  margin-top: 10px;
}
.legal ul {
  margin: 8px 0;
  padding-left: 20px;
  list-style: disc;
}
.legal li {
  margin-top: 6px;
}
.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  color: var(--brand);
  font-size: 14px;
}

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.48s var(--ease), transform 0.48s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .card,
  .btn {
    transition: none;
  }
}

/* ---------- 404 ---------- */
.notfound {
  min-height: 70vh;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 14px;
  padding: 80px 24px;
}
.notfound strong {
  font-size: 64px;
  letter-spacing: -0.04em;
  color: var(--brand);
}

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
  .hero__grid {
    gap: 40px;
  }
  .float-card--a {
    left: 0;
  }
  .float-card--b {
    right: -6%;
  }
}

/* 中等桌面宽度没有右侧留白：第二张浮卡会压住真机截图，直接不显示 */
@media (min-width: 769px) and (max-width: 1399px) {
  .float-card--b {
    display: none;
  }
}

@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__device-wrap {
    order: 2;
    min-height: auto;
    padding: 24px 0 12px;
  }
  .device {
    width: min(280px, 64%);
  }
  .float-card {
    display: none; /* 单列排布下浮卡没有机身可依附，会飘在空白处 */
  }
  .proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .proof__item:nth-child(2) {
    border-right: 0;
  }
  .proof__item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-nav__links {
    display: none;
  }
  .site-nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .site-nav__inner > .btn {
    display: none;
  }
  .features {
    grid-template-columns: 1fr;
  }
  .card--wide {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .steps,
  .pricing,
  .voices {
    grid-template-columns: 1fr;
  }
  .download__grid {
    grid-template-columns: 1fr;
  }
  .plan__desc {
    min-height: 0;
  }
}

@media (max-width: 768px) {
  :root {
    --gutter: 20px;
  }
  body {
    font-size: 16px;
  }
  .site-nav__inner {
    height: 64px;
    gap: 16px;
  }
  .hero {
    padding-top: 28px;
  }
  .hero__grid {
    gap: 22px; /* 手机单列：让真机截图尽量露在首屏 */
  }
  .hero__device-wrap {
    padding: 6px 0 0;
  }
  .hero__actions .btn {
    flex: 1 1 auto;
    height: 48px;
  }
  .proof {
    grid-template-columns: 1fr;
  }
  .proof__item {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .proof__item:last-child {
    border-bottom: 0;
  }
  .proof__item .num {
    flex: 0 0 auto;
    min-width: 5.4em;
  }
  .proof__label {
    margin-top: 0;
  }
  .proof__note {
    display: none;
  }
  .sticky-cta {
    display: flex;
  }
  /* 窄屏隐藏浮动数据卡：会和手机样机叠在一起，纯装饰 */
  .float-card {
    display: none;
  }
  /* 手机上主路径是点按：下载按钮提到最上，二维码降级为辅助 */
  .download__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .dl-actions {
    order: -1;
  }
  .dl-direct {
    height: 56px;
    font-size: 17px;
    background: var(--brand);
    border-color: transparent;
    color: #1a0508;
    box-shadow: 0 14px 34px rgba(255, 90, 103, 0.26);
  }
  .dl-direct:hover {
    background: var(--brand-deep);
    border-color: transparent;
  }
  .dl-qr {
    gap: 10px;
  }
  .qr-card--main {
    padding: 16px;
  }
  /* 手机端已经点了按钮，二维码只是「换台设备扫」的备用路径，去掉推荐标记 */
  .qr-card__tag {
    display: none;
  }
  .qr-card--main .qr-box {
    max-width: 168px;
  }
  .qr-card--mini {
    padding: 10px 12px;
  }
  .qr-card--mini .qr-box {
    flex-basis: 64px;
    width: 64px;
    padding: 5px;
  }
  .store-list {
    margin-top: 18px;
    padding-top: 18px;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .start__cta {
    align-items: stretch;
  }
  .start__cta .btn {
    width: 100%;
  }
  .start__qr {
    width: 100%;
  }
  .voices__head {
    align-items: flex-start;
    flex-direction: column;
  }
  .acc__body {
    padding-right: 8px;
  }
  .legal ul {
    padding-left: 18px;
  }
}

@media (max-width: 400px) {
  .device {
    width: min(250px, 84%);
  }
}

/* ---------- 修正与补丁 ---------- */
/* 手风琴内层必须能收缩到 0，否则 0fr 过渡不生效 */
.acc__panel > div {
  min-height: 0;
}
/* 头像占位：不要走 ph-box 的 120px 最小高度 */
.avatar.ph-box {
  min-height: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  font-size: 0;
}
/* 微信内下载提示层 */
.wx-tip {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 6, 10, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.wx-tip__panel {
  width: min(360px, 100%);
  padding: 26px 22px;
  border-radius: 18px;
  border: 1px solid var(--glass-border);
  background: #14171c;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  text-align: center;
}
.wx-tip__title {
  display: block;
  font-size: 17px;
  color: var(--text);
}
.wx-tip__body {
  margin: 10px 0 18px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.8;
}
.wx-tip__body b {
  color: var(--brand);
}

