﻿/* ==========================================================================
   松闲官网 · 视觉系统
   方向：暗室里的灵光。墨夜底色 + 琥珀色主动作 + 产品图标里的轨道光线。
   规则：颜色/间距/圆角只从下方 token 取；中文不用正值字距、字重不超过 600。
   ========================================================================== */

:root {
  /* 表面：按亮度分级，不靠阴影 */
  --ink-0: #070a11;
  --ink-1: #0b1018;
  --ink-2: #111826;
  --ink-3: #18202f;
  --ink-4: #212b3d;

  /* 描边：半透明白 */
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --line-soft: rgba(255, 255, 255, 0.055);

  /* 文字 */
  --text-1: #eef1f7;
  --text-2: #9aa6ba;
  --text-3: #7a8598;

  /* 品牌光 */
  --amber: #ffc46b;
  --amber-bright: #ffd794;
  --amber-deep: #e9a349;
  --amber-soft: rgba(255, 196, 107, 0.12);

  /* 产品色：与灵现图标、应用界面一致 */
  --violet: #8b8dff;
  --violet-deep: #6a6ce0;
  --cyan: #5fe3ff;
  --pink: #ff7ab8;

  /* 间距阶梯 */
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --s8: 64px;
  --s9: 96px;
  --s10: 128px;

  /* 圆角 */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;

  /* 字体 */
  --font: system-ui, -apple-system, "Segoe UI", "Microsoft YaHei UI",
    "PingFang SC", "Noto Sans CJK SC", "Noto Sans SC", sans-serif;

  --ease-in: cubic-bezier(0.2, 0, 0, 1);
  --ease-out: cubic-bezier(0.4, 0, 1, 1);

  --page: 1180px;
  --pad: clamp(20px, 4.4vw, 48px);
}

/* ==========================================================================
   Base
   ========================================================================== */

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

[hidden] {
  display: none !important;
}

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

body {
  margin: 0;
  background: var(--ink-0);
  color: var(--text-1);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

p {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  line-height: 1.22;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

::selection {
  background: rgba(255, 196, 107, 0.28);
  color: #fff;
}

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

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

.skip {
  position: absolute;
  left: var(--s4);
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink-3);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  transition: top 0.16s var(--ease-in);
}

.skip:focus-visible {
  top: var(--s4);
}

/* 极细颗粒，给纯色表面一点材质；不参与交互 */
.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 140px 140px;
}

/* ==========================================================================
   Layout primitives
   ========================================================================== */

.wrap {
  width: 100%;
  max-width: calc(var(--page) + var(--pad) * 2);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section {
  padding: clamp(64px, 7.4vw, 100px) 0;
  border-top: 1px solid var(--line-soft);
  position: relative;
}

.nw {
  white-space: nowrap;
}

.section-head {
  max-width: 760px;
}

.section-head h2 {
  font-size: clamp(27px, 3.3vw, 42px);
  letter-spacing: -0.01em;
}

.section-head .lede {
  margin-top: var(--s4);
}

.lede {
  font-size: clamp(16px, 1.1vw, 17.5px);
  line-height: 1.85;
  color: var(--text-2);
  max-width: 40em;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  height: 48px;
  padding: 0 var(--s5);
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition:
    background-color 0.16s var(--ease-in),
    border-color 0.16s var(--ease-in),
    transform 0.16s var(--ease-in),
    color 0.16s var(--ease-in);
}

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

.btn--primary {
  background: var(--amber);
  color: #1a1206;
  border-color: rgba(255, 255, 255, 0.16);
}

.btn--primary:hover {
  background: var(--amber-bright);
}

.btn--ghost {
  color: var(--text-1);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.26);
}

.btn--sm {
  height: 38px;
  padding: 0 var(--s4);
  font-size: 14px;
}

.btn--block {
  width: 100%;
}

.btn__icon {
  width: 18px;
  height: 18px;
  flex: none;
}

/* ==========================================================================
   Nav
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 68px;
  display: flex;
  align-items: center;
  background: rgba(7, 10, 17, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease-in), background-color 0.2s var(--ease-in);
}

.nav.is-scrolled {
  background: rgba(7, 10, 17, 0.9);
  border-bottom-color: var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav .wrap {
  display: flex;
  align-items: center;
  gap: var(--s6);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand__mark {
  width: 26px;
  height: 26px;
  flex: none;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--s5);
  margin-left: var(--s2);
  font-size: 14px;
  color: var(--text-2);
}

.nav__links a {
  padding: 6px 2px;
  transition: color 0.16s var(--ease-in);
}

.nav__links a:hover {
  color: var(--text-1);
}

.nav__end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--s3);
}

.nav__version {
  font-size: 12.5px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding: clamp(32px, 4.6vw, 58px) 0 clamp(44px, 4.6vw, 64px);
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  top: -18%;
  right: -6%;
  width: min(880px, 78vw);
  height: min(880px, 78vw);
  pointer-events: none;
  background: radial-gradient(
    circle at 52% 48%,
    rgba(255, 196, 107, 0.13) 0%,
    rgba(255, 150, 90, 0.06) 32%,
    rgba(139, 141, 255, 0.05) 52%,
    transparent 70%
  );
  filter: blur(8px);
}

.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  min-height: 0;
}

.hero__copy {
  padding-bottom: var(--s3);
}

.hero h1 {
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  max-width: 15em;
}

.hero h1 span {
  display: block;
}

.hero .lede {
  margin-top: var(--s5);
  max-width: 26em;
}

.hero .lede + .lede {
  margin-top: 0;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s3);
  margin-top: var(--s6);
}

.hero__meta {
  margin-top: var(--s5);
  font-size: 13px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s4);
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
}

.hero__meta span + span::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-3);
  margin-right: var(--s2);
}

/* ---------- Hero stage: 语音 → 待办 ---------- */

.stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--s5) 0 var(--s7);
  isolation: isolate;
}

.stage__orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(470px, 44vw);
  height: min(470px, 44vw);
  max-width: none;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}

.orbit-spin {
  transform-origin: 50% 50%;
  animation: orbit 64s linear infinite;
}

.orbit-spin--rev {
  animation-duration: 88s;
  animation-direction: reverse;
}

@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}

.app-fragment {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  background: linear-gradient(170deg, rgba(24, 32, 47, 0.92), rgba(13, 18, 28, 0.96));
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 18px 18px 14px;
  box-shadow:
    0 30px 70px -20px rgba(0, 0, 0, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
}

.af-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: var(--s3);
  border-bottom: 1px solid var(--line-soft);
}

.af-head__title {
  font-size: 15px;
  font-weight: 600;
}

.af-head__date {
  font-size: 12.5px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.af-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: var(--s2);
}

.af-item {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: 10px 10px;
  border-radius: var(--r-sm);
  font-size: 14px;
  color: var(--text-1);
  transition: background-color 0.24s var(--ease-in), opacity 0.24s var(--ease-in);
}

.af-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.af-check {
  width: 17px;
  height: 17px;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
}

.af-item__text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.af-item__time {
  font-size: 12.5px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.af-item__tag {
  font-size: 11.5px;
  color: var(--text-2);
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  flex: none;
}

.af-item--new {
  background: rgba(255, 196, 107, 0.09);
  border: 1px solid rgba(255, 196, 107, 0.28);
  opacity: 0;
  transform: translateY(-6px);
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
  transition:
    opacity 0.3s var(--ease-in),
    transform 0.3s var(--ease-in),
    max-height 0.3s var(--ease-in),
    padding 0.3s var(--ease-in),
    background-color 0.3s var(--ease-in);
}

.stage[data-state="done"] .af-item--new {
  max-height: 60px;
  padding-top: 10px;
  padding-bottom: 10px;
  opacity: 1;
  transform: translateY(0);
}

.af-item--new .af-check {
  border-color: rgba(255, 196, 107, 0.6);
}

/* 语音气泡 */
.stage__voice {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s4);
  margin-top: var(--s5);
}

.orb-wrap {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
}

.bubble {
  position: relative;
  z-index: 2;
  width: 280px;
  padding: 12px 14px;
  border-radius: 16px 16px 4px 16px;
  background: rgba(33, 43, 61, 0.94);
  border: 1px solid var(--line-strong);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.8);
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-1);
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transition:
    opacity 0.22s var(--ease-in),
    transform 0.22s var(--ease-in);
}

.stage[data-state="listening"] .bubble,
.stage[data-state="typing"] .bubble,
.stage[data-state="done"] .bubble {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.bubble__label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--text-3);
  margin-bottom: 6px;
}

.bubble__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px rgba(255, 196, 107, 0.8);
}

.stage[data-state="listening"] .bubble__dot {
  animation: blink 1s steps(2, end) infinite;
}

@keyframes blink {
  50% {
    opacity: 0.2;
  }
}

.bubble__text {
  min-height: 1.65em;
}

.bubble__caret {
  display: inline-block;
  width: 1.5px;
  height: 1.05em;
  margin-left: 1px;
  vertical-align: -0.16em;
  background: var(--amber);
}

.stage[data-state="listening"] .bubble__caret,
.stage[data-state="typing"] .bubble__caret {
  animation: blink 0.9s steps(2, end) infinite;
}

.stage[data-state="done"] .bubble__caret {
  display: none;
}

.bubble__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.26s var(--ease-in), transform 0.26s var(--ease-in);
}

.stage[data-state="done"] .bubble__chips {
  opacity: 1;
  transform: translateY(0);
}

.chip {
  font-size: 11.5px;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--amber);
  background: var(--amber-soft);
  border: 1px solid rgba(255, 196, 107, 0.24);
}

.chip--muted {
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line);
}

/* 麦克风按钮（应用里的悬浮按钮） */
.orb {
  position: relative;
  z-index: 2;
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: radial-gradient(circle at 32% 26%, #a8afff, #6f76ea 58%, #4a50b8);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow:
    0 0 0 10px rgba(123, 131, 240, 0.09),
    0 16px 34px -8px rgba(60, 66, 180, 0.55);
  transition: box-shadow 0.24s var(--ease-in), transform 0.2s var(--ease-in);
}

.orb:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 12px rgba(123, 131, 240, 0.13),
    0 20px 40px -8px rgba(60, 66, 180, 0.65);
}

.orb:active {
  transform: translateY(0) scale(0.98);
}

.orb svg {
  width: 24px;
  height: 24px;
}

.orb::before,
.orb::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid rgba(167, 173, 255, 0.55);
  opacity: 0;
  pointer-events: none;
}

.stage[data-state="listening"] .orb::before {
  animation: ripple 1.4s var(--ease-out) infinite;
}

.stage[data-state="listening"] .orb::after {
  animation: ripple 1.4s var(--ease-out) 0.45s infinite;
}

@keyframes ripple {
  0% {
    opacity: 0.55;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.9);
  }
}

.stage__hint {
  margin-top: var(--s4);
  font-size: 12.5px;
  color: var(--text-3);
  text-align: center;
}

/* ==========================================================================
   Trust line
   ========================================================================== */

.trust {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.012);
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust__item {
  padding: var(--s6) var(--s5);
  border-left: 1px solid var(--line-soft);
}

.trust__item:first-child {
  border-left: 0;
  padding-left: 0;
}

.trust__item strong {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 4px;
}

.trust__item span {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
  display: block;
}

/* ==========================================================================
   Product: 一个念头，三种落点
   ========================================================================== */

.product {
  background: linear-gradient(180deg, var(--ink-1), var(--ink-0) 82%);
}

.product__head {
  max-width: 720px;
}

.product__head h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.product__head .lede {
  margin-top: var(--s4);
}

.falls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s4);
  margin-top: clamp(32px, 4vw, 56px);
}

.fall-card {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  padding: var(--s5);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.008));
  min-height: 236px;
}

.fall-card__kind {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-3);
}

.fall-card__kind::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
}

.fall-card:nth-child(2) .fall-card__kind::before {
  background: var(--violet);
}

.fall-card:nth-child(3) .fall-card__kind::before {
  background: var(--cyan);
}

.fall-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.fall-card__desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-3);
  margin-top: auto;
}

.mini-task {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-1);
}

.mini-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mini-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 22px;
}

.mini-wave i {
  display: block;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--violet), var(--cyan));
  opacity: 0.9;
}

.mini-wave i:nth-child(1) { height: 8px; }
.mini-wave i:nth-child(2) { height: 14px; }
.mini-wave i:nth-child(3) { height: 20px; }
.mini-wave i:nth-child(4) { height: 11px; }
.mini-wave i:nth-child(5) { height: 17px; }
.mini-wave i:nth-child(6) { height: 7px; }
.mini-wave i:nth-child(7) { height: 13px; }
.mini-wave i:nth-child(8) { height: 9px; }

.mini-target {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}

.mini-target span:last-child {
  font-size: 11.5px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Feature rows
   ========================================================================== */

.features {
  padding-bottom: clamp(32px, 4vw, 56px);
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  padding: clamp(40px, 5vw, 64px) 0;
  border-top: 1px solid var(--line-soft);
}

.feature:first-of-type {
  border-top: 0;
  padding-top: clamp(8px, 1.6vw, 24px);
}

.feature__copy h3 {
  font-size: clamp(21px, 2.1vw, 27px);
  letter-spacing: -0.005em;
  line-height: 1.35;
}

.feature__copy p {
  margin-top: var(--s4);
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--text-2);
  max-width: 32em;
}

.feature__note {
  margin-top: var(--s5);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-3);
  max-width: 32em;
}

.feature__note b {
  color: var(--text-2);
  font-weight: 500;
}

.feature--flip .feature__copy {
  order: 2;
}

.feature__art {
  position: relative;
  display: flex;
  justify-content: center;
}

.feature__art::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(520px, 100%);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle at 50% 50%,
    rgba(139, 141, 255, 0.14),
    rgba(95, 227, 255, 0.05) 42%,
    transparent 70%
  );
  filter: blur(6px);
  pointer-events: none;
  z-index: 0;
}

.feature__art > * {
  position: relative;
  z-index: 1;
}

/* ---------- 手机模拟 ---------- */

.phone {
  width: min(300px, 100%);
  border-radius: 34px;
  padding: 9px;
  background: linear-gradient(160deg, #232e42, #141b28);
  border: 1px solid var(--line-strong);
  box-shadow:
    0 40px 80px -28px rgba(0, 0, 0, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.phone__screen {
  position: relative;
  border-radius: 27px;
  background: var(--ink-0);
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  padding: 10px 12px 14px;
  min-height: 468px;
  display: flex;
  flex-direction: column;
}

.phone__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
  padding: 2px 6px 8px;
}

.phone__status i {
  display: block;
  width: 46px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px 12px;
}

.app-bar strong {
  font-size: 15px;
  font-weight: 600;
}

.app-bar small {
  font-size: 11px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.ui-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px;
}

.ui-card + .ui-card {
  margin-top: 8px;
}

.ui-label {
  font-size: 11px;
  color: var(--text-3);
  margin-bottom: 6px;
}

.ui-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.ui-row + .ui-row {
  margin-top: 9px;
}

.ui-check {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.26);
  flex: none;
}

.ui-pill {
  font-size: 10.5px;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text-2);
  white-space: nowrap;
}

.ui-pill--amber {
  color: var(--amber);
  border-color: rgba(255, 196, 107, 0.3);
  background: var(--amber-soft);
}

.ui-pill--violet {
  color: #b9bbff;
  border-color: rgba(139, 141, 255, 0.32);
  background: rgba(139, 141, 255, 0.12);
}

.ui-progress {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-top: 8px;
}

.ui-progress i {
  display: block;
  height: 100%;
  width: 42%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
}

/* 波形 */
.wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 26px;
  margin: 8px 0 4px;
}

.wave i {
  display: block;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--violet), var(--cyan));
  animation: wave 1.1s var(--ease-in) infinite;
}

.wave i:nth-child(1) { height: 8px; animation-delay: 0s; }
.wave i:nth-child(2) { height: 16px; animation-delay: 0.1s; }
.wave i:nth-child(3) { height: 22px; animation-delay: 0.2s; }
.wave i:nth-child(4) { height: 12px; animation-delay: 0.3s; }
.wave i:nth-child(5) { height: 20px; animation-delay: 0.4s; }
.wave i:nth-child(6) { height: 9px; animation-delay: 0.5s; }
.wave i:nth-child(7) { height: 15px; animation-delay: 0.6s; }
.wave i:nth-child(8) { height: 6px; animation-delay: 0.7s; }

@keyframes wave {
  0%,
  100% {
    transform: scaleY(0.45);
    opacity: 0.55;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* 抽签面板 */
.lottery {
  margin-top: auto;
  background: linear-gradient(180deg, rgba(33, 43, 61, 0.96), rgba(23, 30, 44, 0.98));
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: 14px;
}

.lottery__draw {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
  border-radius: var(--r-md);
  background: rgba(139, 141, 255, 0.09);
  border: 1px solid rgba(139, 141, 255, 0.24);
  font-size: 13.5px;
  text-align: center;
  color: var(--text-1);
  line-height: 1.6;
  padding: 0 12px;
}

.lottery__actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.mini-btn {
  flex: 1;
  height: 34px;
  border-radius: var(--r-sm);
  font-size: 12.5px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--text-1);
  background: rgba(255, 255, 255, 0.03);
}

.mini-btn--primary {
  background: var(--violet-deep);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* ---------- 桌面窗口模拟 ---------- */

.win {
  width: 100%;
  max-width: 500px;
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, #1a2231, #0f1520);
  border: 1px solid var(--line-strong);
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.win__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-soft);
}

.win__bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.win__bar span {
  margin-left: 8px;
  font-size: 11.5px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.win__body {
  padding: 16px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
}

.win__main,
.win__side {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.summary h4 {
  margin: 0 0 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-1);
}

.summary li {
  position: relative;
  padding-left: 14px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-2);
}

.summary li + li {
  margin-top: 6px;
}

.summary li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.summary li b {
  color: var(--text-1);
  font-weight: 500;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 64px;
  margin-top: 4px;
}

.bars i {
  flex: 1;
  border-radius: 3px 3px 2px 2px;
  background: linear-gradient(180deg, rgba(139, 141, 255, 0.85), rgba(95, 227, 255, 0.35));
}

.bars i:nth-child(1) { height: 34%; }
.bars i:nth-child(2) { height: 52%; }
.bars i:nth-child(3) { height: 41%; }
.bars i:nth-child(4) { height: 68%; }
.bars i:nth-child(5) { height: 47%; }
.bars i:nth-child(6) { height: 88%; }
.bars i:nth-child(7) { height: 62%; }

.bars-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 10px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-2);
}

.stat b {
  font-size: 18px;
  color: var(--text-1);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.stat + .stat {
  margin-top: 8px;
}

/* ---------- 同步示意图 ---------- */

.sync {
  width: 100%;
  max-width: 520px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.device {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 14px;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.device__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-2);
}

.device__icon {
  width: 26px;
  height: 26px;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  background: rgba(139, 141, 255, 0.13);
  border: 1px solid rgba(139, 141, 255, 0.24);
  color: #b9bbff;
}

.device__icon svg {
  width: 14px;
  height: 14px;
}

.device__rows {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
}

.device__rows li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  padding: 6px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 11.5px;
  color: var(--text-2);
}

.device__rows li:first-child {
  border-top: 0;
}

.device__rows em {
  font-style: normal;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
  flex: none;
}

.device__foot {
  margin-top: 12px;
  font-size: 10.5px;
  color: var(--text-3);
}

.wire {
  position: relative;
  width: 84px;
  height: 1px;
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.28) 50%,
    transparent 50%
  );
  background-size: 8px 1px;
}

.wire__lock {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink-1);
  border: 1px solid rgba(255, 196, 107, 0.35);
  color: var(--amber);
}

.wire__lock svg {
  width: 13px;
  height: 13px;
}

.wire__arrow {
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid rgba(255, 255, 255, 0.42);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

.sync__caption {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 11.5px;
  color: var(--text-3);
  margin-top: 4px;
}

/* ==========================================================================
   Privacy
   ========================================================================== */

.privacy {
  background: var(--ink-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.privacy__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.privacy__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.privacy__cell {
  background: var(--ink-1);
  padding: var(--s5);
  min-height: 132px;
}

.privacy__cell h3 {
  font-size: 14.5px;
  margin-bottom: var(--s2);
}

.privacy__cell p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-2);
}

.privacy__footnote {
  margin-top: var(--s5);
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--text-3);
  max-width: 44em;
  padding-left: var(--s4);
  border-left: 1px solid var(--line-strong);
}

/* ==========================================================================
   Pricing
   ========================================================================== */

.pricing__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.plan {
  background: linear-gradient(175deg, rgba(255, 196, 107, 0.07), rgba(255, 196, 107, 0.015) 46%, transparent);
  border: 1px solid rgba(255, 196, 107, 0.22);
  border-radius: var(--r-lg);
  padding: var(--s5);
}

.plan__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s3);
  padding-bottom: var(--s4);
  border-bottom: 1px solid rgba(255, 196, 107, 0.16);
}

.plan__head strong {
  font-size: 16px;
  font-weight: 600;
}

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

.plan__rows {
  padding: var(--s4) 0;
}

.plan__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s4);
  padding: 10px 0;
  font-size: 13.5px;
  color: var(--text-2);
}

.plan__row b {
  color: var(--text-1);
  font-weight: 500;
  text-align: right;
}

.plan__note {
  margin-top: var(--s3);
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--text-3);
}

/* ==========================================================================
   Download
   ========================================================================== */

.download__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s4);
  margin-top: var(--s7);
}

.dl {
  display: flex;
  flex-direction: column;
  gap: var(--s5);
  padding: var(--s5);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), transparent);
  transition: border-color 0.18s var(--ease-in), background-color 0.18s var(--ease-in);
}

.dl:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
}

.dl__top {
  display: flex;
  align-items: center;
  gap: var(--s3);
}

.dl__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--ink-3);
  border: 1px solid var(--line);
  color: var(--text-1);
  flex: none;
}

.dl__icon svg {
  width: 21px;
  height: 21px;
}

.dl__name {
  font-size: 16px;
  font-weight: 600;
}

.dl__sub {
  font-size: 12.5px;
  color: var(--text-3);
  margin-top: 2px;
}

.dl__facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s4);
  font-size: 12.5px;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}

.dl__facts span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.dl__facts em {
  font-style: normal;
  color: var(--text-3);
}

.dl__foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.dl__hint {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--text-3);
}

.download__footnote {
  margin-top: var(--s5);
  font-size: 12.5px;
  color: var(--text-3);
}

/* ==========================================================================
   About
   ========================================================================== */

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.about__body p {
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--text-2);
}

.about__body p + p {
  margin-top: var(--s4);
}

.about__sig {
  margin-top: var(--s6);
  display: flex;
  align-items: center;
  gap: var(--s3);
  font-size: 13px;
  color: var(--text-3);
}

.about__sig img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  border: 1px solid var(--line);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  border-top: 1px solid var(--line);
  padding: var(--s7) 0 var(--s6);
  background: var(--ink-0);
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s5);
  font-size: 13.5px;
  color: var(--text-2);
}

.footer__links a:hover {
  color: var(--text-1);
}

.footer__bottom {
  margin-top: var(--s6);
  padding-top: var(--s4);
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s5);
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-3);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s4);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1040px) {
  .hero .wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s7);
    min-height: 0;
  }

  .hero__copy {
    max-width: 620px;
  }

  .privacy__grid,
  .pricing__grid,
  .about__grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .fall-card {
    min-height: 0;
  }

  .feature,
  .feature--flip {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s6);
  }

  .feature--flip .feature__copy {
    order: 0;
  }

  .feature__art {
    justify-content: flex-start;
  }

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

  .trust__item {
    border-left: 0;
    border-top: 1px solid var(--line-soft);
    padding: var(--s5) 0;
  }

  .trust__item:nth-child(odd) {
    padding-right: var(--s5);
  }

  .trust__item:nth-child(even) {
    padding-left: var(--s5);
    border-left: 1px solid var(--line-soft);
  }

  .trust__item:nth-child(-n + 2) {
    border-top: 0;
  }

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

@media (max-width: 780px) {
  .nav__links {
    display: none;
  }

  .nav__version {
    display: none;
  }

  .hero {
    padding-top: var(--s6);
  }

  .hero h1 {
    letter-spacing: -0.01em;
  }

  .stage {
    padding-top: var(--s4);
  }

  .stage__orbit {
    display: none;
  }

  .app-fragment {
    width: 100%;
  }

  .stage__voice {
    gap: var(--s3);
  }

  .bubble {
    width: min(236px, 62vw);
    font-size: 13px;
  }

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

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

  .feature__art {
    justify-content: center;
  }

  .sync {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: var(--s4);
  }

  .device {
    width: 100%;
    max-width: 300px;
    min-height: 116px;
  }

  .wire {
    width: 1px;
    height: 56px;
    background-image: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.28) 50%,
      transparent 50%
    );
    background-size: 1px 8px;
  }

  .wire__arrow {
    right: auto;
    top: auto;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid rgba(255, 255, 255, 0.42);
    border-bottom: 0;
  }

}

@media (max-width: 420px) {
  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .phone {
    width: 100%;
  }

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

  .trust__item:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .trust__item:nth-child(2) {
    border-top: 1px solid var(--line-soft);
  }
}

/* ==========================================================================
   Toast（未上线链接的提示）
   ========================================================================== */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 80;
  transform: translate(-50%, 12px);
  max-width: min(420px, calc(100vw - 32px));
  padding: 11px 16px;
  border-radius: var(--r-sm);
  background: rgba(33, 43, 61, 0.98);
  border: 1px solid var(--line-strong);
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.8);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-1);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s var(--ease-in), transform 0.18s var(--ease-in),
    visibility 0.18s;
}

.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

@media (max-width: 520px) {
  .hero__meta {
    gap: var(--s2) var(--s4);
    line-height: 1.7;
  }

  .hero__meta span + span::before {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .stage__hint {
    display: none;
  }
}
