/* 小川有期 · 官网。颜色、字号与小程序 DESIGN.md 同一套：墨色界面 + 品牌青 + 内容色。 */
:root {
  color-scheme: light;
  --bg: #F4F4F6;
  --surface: #FFFFFF;
  --surface-2: #ECECF0;
  --ink: #0A0A0C;
  --ink-2: rgba(10, 10, 12, .66);
  --ink-3: rgba(10, 10, 12, .56);
  --line: rgba(10, 10, 12, .08);
  --teal: #14B8A6;
  --teal-deep: #0B7F77;
  --brand: linear-gradient(135deg, #5BE8D6 0%, #14B8A6 55%, #0B8F86 100%);
  --night: #0B0F10;
  --on-night: #F5F5F7;
  --on-night-2: rgba(245, 245, 247, .72);

  --pink: #F0457A; --violet: #7C5CFF; --orange: #FF8A00; --red: #F2464B;
  --teal-c: #0EA597; --blue: #2F6BFF; --green: #1FA463; --graphite: #4A4A55;

  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --num: "DIN Alternate", "DIN Condensed", Bahnschrift, "SF Pro Display", -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --gut: clamp(16px, 4vw, 40px);
  --g: 34px;               /* 左侧那条线走的空槽宽度，所有区块的文字都从这里起 */
  --r-lg: 32px;
  --r-md: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.7 var(--sans); letter-spacing: .01em;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.num { font-family: var(--num); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.wrap { width: min(var(--wrap), 100% - var(--gut) * 2); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 8px; }

/* ── 按钮 ───────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer;
  height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: transform .14s var(--ease), background .2s, box-shadow .2s; white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-ink { background: var(--ink); color: #fff; box-shadow: 0 8px 24px -10px rgba(10, 10, 12, .5); }
.btn-ink:hover { background: #22252A; }
.btn-ghost { color: var(--ink); background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: #fff; }
.btn-sm { height: 38px; padding: 0 18px; font-size: 14px; }

/* ── 顶栏 ───────────────────────────────────── */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav.solid { background: rgba(244, 244, 246, .8); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); box-shadow: 0 1px 0 var(--line); }
.nav-in { height: 68px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; letter-spacing: .02em; }
.brand img { width: 20px; height: auto; filter: brightness(0); }
.nav-links { display: flex; gap: 30px; margin-left: auto; font-size: 14px; color: var(--ink-2); }
.nav-links a { position: relative; padding: 6px 0; transition: color .2s; }
.nav-links a:hover, .nav-links a.on { color: var(--ink); }
.nav-links a.on::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--teal); }

/* ── 首屏 ───────────────────────────────────── */
.hero { position: relative; padding-top: clamp(112px, 15vh, 150px); min-height: clamp(720px, 100vh, 980px); overflow: hidden; overflow: clip;
  background:
    radial-gradient(60% 50% at 18% 62%, rgba(240, 69, 122, .07), transparent 70%),
    radial-gradient(50% 50% at 86% 58%, rgba(124, 92, 255, .07), transparent 70%),
    radial-gradient(70% 60% at 50% 70%, rgba(46, 196, 182, .12), transparent 70%); }
.hero-copy { text-align: center; position: relative; z-index: 3; }
.hero h1 { font-size: clamp(36px, 5.2vw, 72px); line-height: 1.12; font-weight: 800; letter-spacing: -.035em; }
.br-m { display: none; }
.lede { margin: 20px auto 0; max-width: 40em; font-size: clamp(15px, 1.3vw, 17px); color: var(--ink-2); }
.cta { margin-top: 30px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.stage { position: relative; height: calc(834px * .66 * .86); margin-top: clamp(28px, 3vw, 44px); }
/* 首屏的手机：站在河里，下半截淡进下一屏 */
.hero-phone { --ps: .66; position: absolute; left: 50%; top: 4%; width: calc(397px * var(--ps)); height: calc(834px * var(--ps)); margin-left: calc(-198.5px * var(--ps)); z-index: 2; }
.hero-phone .phone { box-shadow: 0 0 0 1.5px #3A3C40, 0 0 0 3px #0D0E0F, 0 50px 90px -40px rgba(10, 10, 12, .55), 0 0 120px -30px rgba(20, 184, 166, .55); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; z-index: 4; pointer-events: none; background: linear-gradient(rgba(244, 244, 246, 0), var(--bg)); }
/* 两段同一条水流，左右对称，从屏幕两边汇进手机（今天） */
.river { --rw: max(1500px, 118vw); position: absolute; top: 20%; overflow: hidden; z-index: 1; pointer-events: none; }
.river img { display: block; width: var(--rw); max-width: none; height: auto; opacity: .94; }
.river-l { left: 0; right: 50%; -webkit-mask-image: linear-gradient(90deg, #000 72%, transparent); mask-image: linear-gradient(90deg, #000 72%, transparent); }
.river-l img { margin-left: calc(50vw - var(--rw) / 2); }
.river-r { left: 50%; right: 0; -webkit-mask-image: linear-gradient(270deg, #000 72%, transparent); mask-image: linear-gradient(270deg, #000 72%, transparent); }
.river-r img { margin-left: calc(var(--rw) / -2); transform: scaleX(-1); }

.floats { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.float {
  position: absolute; width: 196px; padding: 14px 16px 15px; border-radius: 20px;
  background: rgba(255, 255, 255, .74); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 18px 40px -18px var(--glow, rgba(10, 10, 12, .25));
  display: grid; gap: 2px; animation: bob 6.4s ease-in-out infinite var(--d), flow 13s cubic-bezier(.3, .1, .25, 1) infinite var(--fd, 0s);
}
.float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(140deg, var(--tint), transparent 64%); opacity: .2; }
.float b { position: relative; font-size: 12px; font-weight: 700; color: var(--c); letter-spacing: .06em; }
.float span { position: relative; font-size: 15px; font-weight: 600; }
.float em { position: relative; font-style: normal; font-size: 13px; color: rgba(10, 10, 12, .74); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
/* 卡片顺着水往手机去，越近越慢、越小，进到今天里 */
@keyframes flow { 0% { translate: calc(var(--tx) * -.45) calc(var(--ty) * -.45); scale: 1; opacity: 0; } 14% { opacity: 1; } 72% { opacity: 1; scale: .96; }
  100% { translate: var(--tx) var(--ty); scale: .62; opacity: 0; } }
.f1 { left: max(3%, calc(50% - 580px)); top: 24%; --tx: 250px; --ty: 34px; }
.f2 { left: max(12%, calc(50% - 440px)); top: 38%; --tx: 130px; --ty: -6px; --fd: -6.5s; }
.f3 { right: max(12%, calc(50% - 440px)); top: 36%; --tx: -130px; --ty: 2px; --fd: -3.25s; }
.f4 { right: max(3%, calc(50% - 580px)); top: 22%; --tx: -250px; --ty: 38px; --fd: -9.75s; }
/* 卡片下面一道水痕，让它看起来是浮在水上 */
.float::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: -10px; height: 18px; border-radius: 50%; background: radial-gradient(closest-side, rgba(20, 184, 166, .35), transparent); filter: blur(4px); z-index: -1; }
/* 每 3.25 秒有一张卡片到达，今天页的卡片跟着亮一下 */
.hero-phone .s-mc { animation: catch 3.25s ease-out infinite; }
@keyframes catch { 0% { box-shadow: 0 0 0 3px rgba(91, 232, 214, .7), 0 18px 40px -10px rgba(232, 58, 112, .9); transform: scale(1.02); } 30%, 100% { box-shadow: 0 18px 30px -18px rgba(232, 58, 112, .8); transform: none; } }

.c-pink { --c: #D92D63; --tint: #F0457A; --glow: rgba(240, 69, 122, .35); }
.c-red { --c: #D8343A; --tint: #F2464B; --glow: rgba(242, 70, 75, .32); }
.c-teal { --c: #0B8479; --tint: #0EA597; --glow: rgba(14, 165, 151, .32); }
.c-violet { --c: #6A47F0; --tint: #7C5CFF; --glow: rgba(124, 92, 255, .32); }
.c-orange { --c: #C76A00; --tint: #FF8A00; --glow: rgba(255, 138, 0, .32); }

/* ── 往下流的那条线 ─────────────────────────── */
.flow { position: relative; }
.spine { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; overflow: visible; }
.spine path { fill: none; stroke-linecap: round; }
.spine-base { stroke: rgba(20, 184, 166, .22); stroke-width: 3; }
.spine-run { stroke: url(#spine-g); stroke-width: 7; opacity: .9; filter: drop-shadow(0 0 10px rgba(46, 196, 182, .55)); }
.spine-shine { stroke: rgba(255, 255, 255, .75); stroke-width: 1.5; transform: translateX(-1.5px); }
.spine-mask { stroke: #fff; stroke-width: 12; }
.spine-flow { stroke: #fff; stroke-width: 3; stroke-dasharray: 10 70; animation: spine-flow 3.2s linear infinite; opacity: .9; }
@keyframes spine-flow { to { stroke-dashoffset: -80; } }

/* ── 通用区块 ───────────────────────────────── */
.sec { position: relative; z-index: 1; padding-block: clamp(88px, 10vw, 140px); }
.gut { padding-left: var(--g); }
.sec::before { content: ""; position: absolute; inset: -80px 0; z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent);
  background: radial-gradient(42% 46% at var(--ax, 88%) var(--ay, 22%), var(--au1, transparent), transparent 70%), radial-gradient(36% 40% at var(--bx, 8%) var(--by, 86%), var(--au2, transparent), transparent 70%); }
.days { --au1: rgba(240, 69, 122, .13); --au2: rgba(124, 92, 255, .10); }
.todo { --au1: rgba(20, 184, 166, .14); --au2: rgba(47, 107, 255, .08); --ax: 92%; --ay: 30%; }
.remind { --au1: rgba(124, 92, 255, .11); --au2: rgba(20, 184, 166, .12); --ax: 80%; --ay: 40%; }
.sync { --au1: rgba(47, 107, 255, .09); --au2: rgba(20, 184, 166, .12); --ax: 50%; --ay: 60%; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .24em; color: var(--teal-deep); margin-bottom: 22px; }
.eyebrow .no { font-size: 13px; letter-spacing: .04em; color: var(--ink); margin-right: 10px; padding-right: 12px; border-right: 1px solid currentColor; border-color: rgba(10, 10, 12, .18); }
.eyebrow-dark .no { color: var(--on-night); border-color: rgba(255, 255, 255, .25); }
.gut .eyebrow[data-node] { margin-left: calc(-1 * var(--g)); gap: calc(var(--g) - 10px); }
.eyebrow[data-node]::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 6px rgba(20, 184, 166, .14); }
.sec h2 { font-size: clamp(32px, 4.2vw, 58px); line-height: 1.12; font-weight: 800; letter-spacing: -.035em; }
.body { margin-top: 18px; font-size: 17px; color: var(--ink-2); max-width: 32em; text-wrap: pretty; }
.steps p, .promises li, .stop p, .specs dd { text-wrap: pretty; }
.head-row { display: flex; flex-direction: column; align-items: flex-start; }
.head-row .body { margin-top: 18px; }

/* ── 日子：整宽的算一算 ─────────────────────── */
.calc {
  margin-top: 48px; display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px);
  background: var(--surface); border-radius: 36px; padding: clamp(18px, 2.4vw, 28px); box-shadow: 0 0 0 1px rgba(10, 10, 12, .04), 0 2px 6px -2px rgba(10, 10, 12, .06), 0 40px 90px -50px rgba(10, 10, 12, .35);
}
.calc-form { display: grid; align-content: start; gap: 18px; padding: 8px 4px 8px 8px; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface-2); width: max-content; }
.seg button { border: 0; background: none; height: 38px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: background .2s, color .2s; }
.seg button[aria-checked="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 2px 8px -3px rgba(10, 10, 12, .2); }
.seg-block { width: 100%; }
.seg-block button { flex: 1; }
.field { display: grid; gap: 8px; font-size: 13px; color: var(--ink-2); font-weight: 600; letter-spacing: .06em; }
.field input, .field select {
  height: 48px; width: 100%; padding: 0 14px; border: 0; border-radius: 14px; background: var(--surface-2);
  font-size: 16px; font-weight: 500; color: var(--ink); letter-spacing: 0; outline: none; transition: box-shadow .2s;
}
.field input:focus, .field select:focus { box-shadow: 0 0 0 2px var(--teal); }
.field input[hidden], .pair[hidden] { display: none; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.moment {
  position: relative; overflow: hidden; border-radius: 28px; padding: clamp(22px, 3vw, 34px); color: #fff; min-height: 320px;
  display: flex; flex-direction: column;
  background: radial-gradient(120% 90% at 0% 0%, var(--m1), transparent 60%), radial-gradient(100% 100% at 100% 100%, var(--m3), transparent 60%), var(--m2);
  box-shadow: 0 26px 50px -26px var(--glow); transition: background .5s, box-shadow .5s;
}
.moment.c-pink { --m1: #FF7FA6; --m2: #E83A70; --m3: #C81F5E; }
.moment.c-violet { --m1: #A58CFF; --m2: #7351F5; --m3: #5233D6; }
.moment.c-orange { --m1: #FFB257; --m2: #F07F00; --m3: #D45F00; }
.moment::after { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); opacity: .07; mix-blend-mode: overlay; pointer-events: none; }
.moment-wm { position: absolute; right: -4px; bottom: -48px; font-size: 280px; line-height: 1; font-weight: 700; color: rgba(255, 255, 255, .14); letter-spacing: -.06em; }
.moment-top { position: relative; display: flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 600; }
.tag { padding: 2px 10px; border-radius: 8px; background: rgba(255, 255, 255, .24); font-size: 13px; }
.moment h3 { position: relative; margin-top: 14px; font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; letter-spacing: -.01em; overflow-wrap: anywhere; }
.moment-num { position: relative; display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 18px; }
.moment-num small { font-size: 16px; font-weight: 700; }
.moment-num small:empty { display: none; }
.moment-num b { font-size: clamp(88px, 10vw, 132px); line-height: .9; font-weight: 700; letter-spacing: -.05em; }
.moment-num b.word { font-family: var(--sans); font-size: clamp(56px, 6vw, 80px); letter-spacing: -.02em; }
.moment-num i { font-style: normal; font-size: 20px; font-weight: 700; }
.moment-foot { position: relative; margin-top: 12px; font-size: 15px; font-weight: 600; }
.moment.bump .moment-num b { animation: bump .5s var(--ease); }
@keyframes bump { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ── 订阅：深色钱包 ─────────────────────────── */
.subs { background: var(--night); color: var(--on-night); overflow: hidden; overflow: clip; border-radius: clamp(28px, 4vw, 48px); margin-inline: clamp(0px, 1.4vw, 20px); }
.subs .body { color: var(--on-night-2); }
.eyebrow-dark { color: #5BE8D6; }
.subs-glow { position: absolute; left: 50%; top: 22%; width: max(1400px, 120vw); transform: translateX(-50%) rotate(-6deg); pointer-events: none; opacity: .75;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 62%); mask-image: linear-gradient(90deg, transparent 30%, #000 62%); }
.subs-glow img { width: 100%; height: auto; }
.subs .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(32px, 6vw, 96px); align-items: center; }
.specs { margin-top: 36px; display: grid; gap: 0; max-width: 30em; }
.specs > div { display: grid; grid-template-columns: 3.5em minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.specs dt { font-size: 14px; font-weight: 600; color: #5BE8D6; }
.specs dd { font-size: 15px; color: var(--on-night-2); }
.wallet {
  border-radius: 30px; padding: 24px; position: relative;
  background: linear-gradient(160deg, rgba(40, 52, 54, .97), rgba(14, 18, 19, .98)); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 40px 90px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .06);
}
.wallet-top { display: flex; justify-content: space-between; align-items: center; }
.seg-dark { background: rgba(255, 255, 255, .08); }
.seg-dark button { color: var(--on-night-2); height: 34px; }
.seg-dark button[aria-checked="true"] { background: var(--on-night); color: var(--ink); }
.wallet-count { font-size: 13px; color: var(--on-night-2); }
.wallet-total { margin-top: 22px; display: flex; align-items: baseline; gap: 2px; }
.wallet-total .cur { font-size: 26px; font-weight: 700; margin-right: 4px; }
.wallet-total b { font-size: 72px; line-height: 1; font-weight: 700; letter-spacing: -.05em; }
.wallet-total .dec { font-size: 26px; font-weight: 700; color: var(--on-night-2); }
.wallet-bar { display: flex; gap: 3px; height: 6px; margin-top: 18px; }
.wallet-bar i { width: var(--w); background: var(--c); border-radius: 3px; }
.wallet-fx { display: inline-block; margin-top: 14px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 13px; color: var(--on-night-2); }
.wallet-list { margin-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); }
.wallet-list li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.wallet-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.wallet-list i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; }
.wallet-list span { flex: 1; display: grid; font-size: 15px; font-weight: 500; line-height: 1.35; }
.wallet-list small { font-size: 13px; color: var(--on-night-2); font-weight: 400; }
.wallet-list b { display: grid; justify-items: end; font-family: var(--num); font-size: 17px; font-weight: 700; line-height: 1.3; }
.wallet-list b small { font-family: var(--sans); font-size: 12px; }
.wallet-group { margin-top: 18px; font-size: 13px; font-weight: 600; color: #FFB257; letter-spacing: .06em; }
.wallet-off { margin-top: 6px; }
.wallet-off span, .wallet-off b { opacity: .62; }

/* ── 待办：大字清单 ─────────────────────────── */
.todo .head-row { flex-direction: row; align-items: center; gap: 24px; }
.ring { position: relative; width: 64px; height: 64px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: var(--surface-2); stroke-width: 3; }
.ring .ring-run { stroke: var(--teal); stroke-linecap: round; stroke-dasharray: 94.25; stroke-dashoffset: calc(94.25 * (1 - var(--p, .25))); transition: stroke-dashoffset .5s var(--ease); }
.ring span { position: absolute; inset: 0 0 10px; display: grid; place-items: center; font-size: 17px; font-weight: 700; }
.ring small { position: absolute; left: 0; right: 0; bottom: 13px; text-align: center; font-size: 11px; color: var(--ink-2); }
.biglist { margin-top: 36px; border-top: 1px solid var(--line); }
.biglist li { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); padding: clamp(14px, 1.8vw, 22px) 0; border-bottom: 1px solid var(--line); }
.biglist .chk {
  flex: none; position: relative; width: clamp(34px, 3.4vw, 46px); height: clamp(34px, 3.4vw, 46px); border-radius: 50%;
  border: 2.5px solid rgba(10, 10, 12, .2); background: none; cursor: pointer; padding: 0; transition: border-color .2s, background .25s;
}
.biglist .chk::after { content: ""; position: absolute; left: 34%; top: 18%; width: 24%; height: 44%; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg) scale(0); transition: transform .25s var(--ease); }
.biglist .chk:hover { border-color: var(--teal); }
.big-t { position: relative; font-size: clamp(26px, 3.8vw, 50px); line-height: 1.15; font-weight: 700; letter-spacing: -.03em; transition: color .35s; }
.big-t::after { content: ""; position: absolute; left: 0; top: 54%; height: clamp(3px, .4vw, 6px); width: 0; border-radius: 4px; background: var(--brand); transition: width .45s var(--ease); }
.big-m { font-size: 15px; color: var(--ink-3); white-space: nowrap; padding: 3px 10px; border-radius: 999px; background: rgba(10, 10, 12, .05); }
.biglist .done .chk { background: var(--teal); border-color: var(--teal); animation: pop .35s var(--ease); }
.biglist .done .chk::after { transform: rotate(45deg) scale(1); }
.biglist .done .big-t { color: rgba(10, 10, 12, .42); }
.biglist .done .big-t::after { width: 100%; }
@keyframes pop { 50% { transform: scale(1.15); } }
.note-line { margin-top: 28px; max-width: 40em; }

/* ── 提醒：左边三步，右边锁屏跟着走 ─────────── */
.remind-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(40px, 7vw, 120px); align-items: start; }
.steps { margin-top: 40px; display: grid; }
.steps li { position: relative; padding: 24px 0; min-height: 24vh; border-top: 1px solid var(--line); }
.steps li > * { transition: color .4s; }
.steps li:not(.on) b, .steps li:not(.on) p { color: var(--ink-3); }
.steps li:not(.on) h3 { color: var(--ink-2); }
.steps li.on { border-top-color: var(--teal); }
.steps b { font-size: 28px; font-weight: 700; color: var(--teal-deep); }
.steps h3 { margin-top: 6px; font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.steps p { margin-top: 8px; font-size: 16px; color: var(--ink-2); max-width: 26em; }
.remind-stage { position: sticky; top: max(84px, calc(50vh - 340px)); }
.lock {
  position: relative; margin: 0 auto; width: min(340px, 100%); aspect-ratio: 9 / 18.5; border-radius: 52px; padding: 58px 16px 26px; overflow: hidden; border: 10px solid #101315;
  background: radial-gradient(90% 70% at 20% 0%, rgba(91, 232, 214, .55), transparent 60%), radial-gradient(80% 70% at 100% 100%, rgba(124, 92, 255, .35), transparent 60%), linear-gradient(170deg, #1A2B2E, #0B0F10);
  box-shadow: 0 50px 100px -50px rgba(10, 10, 12, .6), 0 0 0 1px rgba(255, 255, 255, .5); color: #fff;
}
.lock-island { position: absolute; top: 12px; left: 50%; width: 96px; height: 28px; margin-left: -48px; border-radius: 20px; background: #000; }
.lock-status { position: absolute; top: 16px; left: 26px; right: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255, 255, 255, .85); }
.lock-status .num { letter-spacing: 0; font-family: var(--sans); }
.lock-bat { width: 24px; height: 12px; border-radius: 4px; border: 1.5px solid rgba(255, 255, 255, .7); padding: 1.5px; }
.lock-bat i { display: block; width: 70%; height: 100%; border-radius: 2px; background: #fff; }
.lock-dock { position: absolute; left: 30px; right: 30px; bottom: 34px; display: flex; justify-content: space-between; }
.lock-dock i { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .14); backdrop-filter: blur(10px); }
.lock-home { position: absolute; bottom: 10px; left: 50%; width: 110px; height: 4px; margin-left: -55px; border-radius: 3px; background: rgba(255, 255, 255, .8); }
.lock-clock { text-align: center; }
.lock-clock span { display: block; font-size: 76px; line-height: 1; font-weight: 600; letter-spacing: -.03em; }
.lock-clock small { display: block; margin-top: 8px; font-size: 14px; color: rgba(255, 255, 255, .78); letter-spacing: .08em; }
.notes { margin-top: 28px; display: grid; gap: 8px; }
.note {
  border-radius: 22px; padding: 14px 16px 16px; color: var(--ink);
  background: rgba(255, 255, 255, .88); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 16px 40px -20px rgba(0, 0, 0, .5);
  opacity: 0; transform: translateY(-24px) scale(.96); transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.note.in { opacity: 1; transform: none; }
.note header { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.note header img { width: 18px; height: 18px; border-radius: 5px; }
.note time { margin-left: auto; font-size: 13px; }
.note h4 { margin-top: 8px; font-size: 16px; font-weight: 700; }
.note dl { margin-top: 6px; display: grid; gap: 2px; }
.note dl div { display: grid; grid-template-columns: 3em 1fr; font-size: 14px; }
.note dt { color: var(--ink-2); }

/* ── 资讯：头条 + 热点 + 简报 ─────────────── */
.news { --au1: rgba(255, 138, 0, .09); --au2: rgba(20, 184, 166, .12); --ax: 86%; --ay: 30%; }
.paper { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; }
.lead {
  position: relative; overflow: hidden; border-radius: 32px; padding: clamp(24px, 3vw, 36px); color: var(--on-night); min-height: 340px; display: flex; flex-direction: column;
  background: radial-gradient(70% 80% at 100% 0%, rgba(20, 184, 166, .5), transparent 60%), radial-gradient(60% 70% at 0% 100%, rgba(124, 92, 255, .28), transparent 60%), linear-gradient(160deg, #1B2526, #0B0F10);
  box-shadow: 0 40px 80px -46px rgba(10, 10, 12, .7);
}
.lead-top { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--on-night-2); }
.lead .tag { background: rgba(91, 232, 214, .16); color: #5BE8D6; font-weight: 700; }
.lead h3 { margin-top: 22px; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.3; font-weight: 800; letter-spacing: -.02em; }
.lead p[hidden] { display: none; }
.lead p { margin-top: 14px; font-size: 15px; line-height: 1.75; color: var(--on-night-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lead-src { margin-top: auto; padding-top: 22px; font-size: 13px; color: var(--on-night-2); }
.hot { border-radius: 32px; padding: 24px 26px 12px; background: var(--surface); box-shadow: 0 0 0 1px rgba(10, 10, 12, .04), 0 40px 90px -50px rgba(10, 10, 12, .35); }
.hot h3 { font-size: 18px; font-weight: 800; }
.hot ol { margin-top: 6px; counter-reset: hot; }
.hot li { counter-increment: hot; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 2px 8px; padding: 12px 0; border-top: 1px solid var(--line); min-height: 58px; }
.hot li:first-child { border-top: 0; }
.hot li::before { content: counter(hot); grid-row: span 2; font-family: var(--num); font-size: 30px; line-height: 1; font-weight: 700; color: rgba(10, 10, 12, .2); }
.hot li:nth-child(-n+3)::before { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hot li b { font-size: 15px; font-weight: 600; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hot li small { font-size: 12px; color: var(--ink-3); }
.issues { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.issues li { border-radius: 24px; padding: 20px 22px; background: var(--surface); box-shadow: 0 0 0 1px rgba(10, 10, 12, .04); display: grid; gap: 4px; position: relative; overflow: hidden; }
.issues li::after { content: ""; position: absolute; right: -20px; bottom: -30px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(closest-side, rgba(20, 184, 166, .16), transparent); }
.issues b { font-size: 17px; font-weight: 800; }
.issues span { font-family: var(--num); font-size: 15px; color: var(--ink-2); }
/* 读取中：灰色占位 */
.is-loading h3[data-lead-title], .is-loading p[data-lead-sum] { min-height: 1.3em; border-radius: 8px; background: rgba(255, 255, 255, .08); }
.is-loading p[data-lead-sum] { min-height: 4em; }
.hot.is-loading li b, .hot.is-loading li:empty { }
.hot.is-loading li { position: relative; }
.hot.is-loading li::after { content: ""; grid-column: 2; height: 16px; border-radius: 6px; background: var(--surface-2); align-self: center; }
.news.offline .lead, .news.offline .hot { display: none; }

/* ── 同步：两台手机，一个主角 ─────────────── */
.sync-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.pledges { margin-top: 36px; display: grid; max-width: 30em; }
.pledges > div { display: grid; grid-template-columns: 3.4em minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.pledges dt { font-size: 15px; font-weight: 700; }
.pledges dd { font-size: 15px; color: var(--ink-2); }
.pledges a { color: var(--teal-deep); font-weight: 600; margin-left: 6px; white-space: nowrap; }
.pledges a::after { content: " →"; }
.sync-stage { position: relative; height: calc(834px * .6 + 40px); }
.sync-phone { --ps: .6; position: absolute; top: 20px; width: calc(397px * var(--ps)); height: calc(834px * var(--ps)); }
.sync-old { left: 8%; transform: rotate(-9deg) translateY(16px); opacity: .5; filter: saturate(.6) blur(.4px); }
.sync-new { left: 36%; z-index: 2; }
.sync-new .phone { box-shadow: 0 0 0 1.5px #3A3C40, 0 0 0 3px #0D0E0F, 0 50px 90px -40px rgba(10, 10, 12, .5), 0 0 90px -20px rgba(20, 184, 166, .55); }
.sync-toast {
  position: absolute; z-index: 3; left: calc(36% - 46px); top: 96px; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px; border-radius: 18px;
  background: rgba(10, 10, 12, .9); color: #fff; box-shadow: 0 20px 40px -18px rgba(10, 10, 12, .6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.sync-toast i { width: 26px; height: 26px; border-radius: 50%; background: var(--brand); position: relative; flex: none; }
.sync-toast i::after { content: ""; position: absolute; left: 9px; top: 5px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.4px 2.4px 0; transform: rotate(45deg); }
.sync-toast span { display: grid; font-size: 13px; color: rgba(255, 255, 255, .75); line-height: 1.4; }
.sync-toast b { font-size: 15px; color: #fff; }

/* ── 获取：两段水流汇进小程序码 ─────────────── */
.get { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(96px, 11vw, 150px); }
.get::before { display: none; }
.get-stage { position: relative; height: 300px; display: grid; place-items: center; }
.get-stage .river { top: 50%; transform: translateY(-50%); --rw: max(1400px, 110vw); }
.get-code { position: relative; z-index: 2; padding: 12px; border-radius: 48px; background: rgba(255, 255, 255, .55);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 40px 80px -40px rgba(10, 10, 12, .45), 0 0 120px -20px rgba(20, 184, 166, .6); }
.get-code img { width: 176px; height: 176px; border-radius: 38px; }
.get-code img.qr { background: #fff; padding: 12px; box-sizing: border-box; }
.get-copy { text-align: center; display: grid; justify-items: center; margin-top: 28px; }
.get-copy h2 { font-size: clamp(32px, 4.6vw, 60px); }
.get-copy .body { margin-inline: auto; }
.copy { margin-top: 28px; }

/* ── 页脚 ───────────────────────────────────── */
.foot { padding: 0 0 36px; }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 22px; }
.foot-brand { display: inline-flex; align-items: center; gap: 8px; }
.foot-brand img { width: 14px; height: auto; filter: brightness(0); opacity: .7; }
.foot-row nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-row a:hover { color: var(--ink); }
.icp:empty { display: none; }

/* ── 账号：号码卡 + App 格子（和小程序同一种卡） ───────────── */
.acct { --au1: rgba(20, 184, 166, .13); --au2: rgba(124, 92, 255, .10); --ax: 84%; --ay: 34%; overflow-x: clip; }
.acct-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.acct-stage { position: relative; max-width: 440px; width: 100%; justify-self: center; padding-top: 34px; }
.idc { position: relative; aspect-ratio: 1.586; min-height: 206px; border-radius: 26px; padding: 22px 24px; color: #fff; overflow: hidden; isolation: isolate;
  box-shadow: 0 30px 60px -28px var(--glow), inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 0 0 1px rgba(255, 255, 255, .16); }
.idc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(155deg, rgba(255, 255, 255, .32), transparent 40%), linear-gradient(0deg, rgba(0, 0, 0, .28), transparent 55%); }
.idc-phone { background: linear-gradient(140deg, #4DE3D0, #13998E 55%, #0A4F4A); --glow: rgba(19, 153, 142, .8); z-index: 2; }
.idc-email { position: absolute; left: 8%; right: -6%; top: 0; transform: rotate(4deg); background: linear-gradient(140deg, #F08AF0, #8B5CF6 55%, #4527C9); --glow: rgba(139, 92, 246, .6); opacity: .9; }
.idc-top { display: flex; justify-content: space-between; align-items: flex-start; font-size: 15px; }
.idc-n { text-align: right; line-height: 1; }
.idc-n b { display: block; font-size: 44px; letter-spacing: -.04em; }
.idc-n small { font-size: 12px; opacity: .8; font-weight: 600; }
.idc-chip { position: absolute; left: 24px; top: 64px; width: 46px; height: 34px; border-radius: 7px; background: linear-gradient(135deg, #F7E3A1, #D9B45A 55%, #F3DA8A); box-shadow: inset 0 0 0 1px rgba(120, 90, 20, .35); }
.idc-row { position: absolute; left: 24px; right: 24px; bottom: 44px; display: flex; align-items: center; gap: 10px; }
.idc-v { font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; letter-spacing: .01em; white-space: nowrap; }
.idc-email .idc-v { position: absolute; left: 24px; bottom: 24px; font-size: 18px; }
.idc-eye { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; color: #fff; background: rgba(255, 255, 255, .2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); transition: transform .3s cubic-bezier(.34, 1.45, .64, 1), background .2s; }
.idc-eye:hover { background: rgba(255, 255, 255, .3); }
.idc-eye:active { transform: scale(.88); }
.idc-eye svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.idc-eye[aria-pressed="true"] svg { opacity: .7; }
.idc-kind { position: absolute; left: 24px; bottom: 20px; font-size: 12px; font-weight: 600; opacity: .78; }
.acct-apps { list-style: none; margin: 22px 0 0; padding: 22px 10px 6px; display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 26px; background: var(--surface); box-shadow: 0 24px 50px -36px rgba(10, 10, 12, .35); }
.acct-apps li { display: grid; justify-items: center; gap: 8px; min-width: 0; padding-bottom: 16px; font-size: 12px; color: var(--ink-2); }
.acct-apps span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-apps img { width: clamp(40px, 11vw, 48px); height: clamp(40px, 11vw, 48px); border-radius: 13px; box-shadow: 0 0 0 1px var(--line), 0 8px 18px -10px rgba(0, 0, 0, .3); }

/* ── 出场 ───────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .d1 { transition-delay: .08s; } .js .d2 { transition-delay: .16s; }

/* ── 窄屏 ───────────────────────────────────── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-in .btn { margin-left: auto; }
  .calc, .subs .wrap, .remind-grid, .sync-grid, .acct-grid, .paper { grid-template-columns: 1fr; }
  .issues { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .issues li { padding: 16px; }
  .sync-stage { max-width: 420px; width: 100%; height: calc(834px * .5 + 40px); }
  .sync-phone { --ps: .5; }
  .get-stage { height: 240px; }
  .get-stage .river { --rw: 240vw; }
  .get-code img { width: 132px; height: 132px; border-radius: 30px; }
  .wallet { max-width: 460px; width: 100%; }
  .remind-stage { position: static; order: -1; margin-bottom: 8px; }
  .subs-glow { top: 52%; -webkit-mask-image: none; mask-image: none; }
  .remind-copy { display: contents; }
  .remind-copy > .eyebrow, .remind-copy > h2 { order: -2; }
  .steps { margin-top: 0; }
  .steps li { min-height: 0; }
  .f2 { left: 4%; } .f3 { right: 4%; }
}
@media (max-width: 640px) {
  :root { --g: 24px; }
  body { font-size: 15px; }
  .br-m { display: inline; }
  .hero { min-height: 0; padding-top: 104px; }
  .lede { text-wrap: balance; }
  .stage { height: calc(834px * .5 * .84); margin-top: 28px; }
  .hero-phone { --ps: .5; }
  .today-num { font-size: clamp(88px, 26vw, 120px); }
  .river { top: 30%; --rw: 260vw; }
  .float { width: 136px; padding: 10px 12px; border-radius: 14px; }
  .float span { font-size: 13px; } .float em { font-size: 12px; }
  .floats { display: none; }
  .head-row .body { padding-bottom: 0; }
  .calc { border-radius: 28px; padding: 14px; }
  .calc-form { padding: 6px; }
  .moment { min-height: 260px; }
  .wallet-total b { font-size: 60px; }
  .ring { width: 56px; height: 56px; }
  .issues { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .issues li { padding: 14px 12px; border-radius: 18px; }
  .issues b { font-size: 15px; }
  .issues span { font-size: 13px; }
  .lead { min-height: 0; }
  .big-m { font-size: 13px; }
  .lock { width: min(300px, 100%); border-radius: 44px; }
  .lock-clock span { font-size: 64px; }
  .foot-row { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .note { opacity: 1; transform: none; }
}

/* ── 条款页 ─────────────────────────────────── */
.doc-page .nav { background: rgba(244, 244, 246, .86); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); box-shadow: 0 1px 0 var(--line); }
.doc-nav-links { margin-left: auto; display: flex; gap: 24px; font-size: 14px; color: var(--ink-2); }
.doc-nav-links a:hover, .doc-nav-links a[aria-current="page"] { color: var(--ink); }
.doc-nav-links a[aria-current="page"] { font-weight: 600; }
.doc { width: min(760px, 100% - var(--gut) * 2); margin: 0 auto; padding: 132px 0 96px; }
.doc-head { padding-bottom: 32px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.doc-head::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 2px; background: var(--brand); margin-bottom: 28px; }
.doc h1 { font-size: clamp(32px, 4vw, 44px); line-height: 1.2; letter-spacing: -.02em; }
.doc-meta { margin-top: 14px; font-size: 14px; color: var(--ink-2); }
.doc-intro { margin-top: 20px; font-size: 16px; color: var(--ink-2); }
.doc-toc { margin: 28px 0 12px; padding: 20px 24px; border-radius: var(--r-md); background: var(--surface); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; font-size: 14px; counter-reset: toc; }
.doc .doc-toc a { color: var(--ink-2); font-weight: 500; counter-increment: toc; }
.doc .doc-toc a::before { content: counter(toc) ". "; color: var(--teal-deep); font-weight: 600; font-family: var(--num); }
.doc .doc-toc a:hover { color: var(--ink); }
.doc section { padding-top: 40px; scroll-margin-top: 88px; }
.doc h2 { font-size: 22px; line-height: 1.4; letter-spacing: -.01em; margin-bottom: 14px; }
.doc h3 { font-size: 16px; margin: 22px 0 8px; }
.doc p, .doc li { font-size: 16px; line-height: 1.85; color: rgba(10, 10, 12, .78); }
.doc p + p { margin-top: 12px; }
.doc ul { margin-top: 10px; display: grid; gap: 8px; }
.doc ul li { position: relative; padding-left: 20px; }
.doc ul li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 8px; height: 2px; border-radius: 2px; background: var(--teal); }
.doc strong { color: var(--ink); font-weight: 600; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; background: var(--surface); border-radius: 16px; overflow: hidden; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); line-height: 1.7; }
.doc th { font-size: 13px; color: var(--ink-2); font-weight: 600; background: rgba(10, 10, 12, .025); }
.doc tr:last-child td { border-bottom: 0; }
.doc td:first-child { font-weight: 600; white-space: nowrap; color: var(--ink); }
.doc a { color: var(--teal-deep); font-weight: 600; }
.fill { background: #FFF1C2; color: #7A5200; padding: 1px 6px; border-radius: 6px; font-weight: 600; }
.doc-foot { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
@media (max-width: 640px) {
  .doc { padding-top: 104px; }
  .doc-toc { grid-template-columns: 1fr; }
  .doc table, .doc thead, .doc tbody, .doc tr, .doc th, .doc td { display: block; }
  .doc thead { display: none; }
  .doc tr { border-bottom: 1px solid var(--line); padding: 6px 0; }
  .doc td { border: 0; padding: 4px 16px; }
  .doc td:first-child { padding-top: 12px; }
}
.seg[hidden] { display: none; }
