/* 先手官网。冷白底、白卡；彩色只出现在任务牌上。没有脚本，动效只用 CSS，减弱动态时全部关掉 */
:root {
  --page: #F6F7F9;
  --surface: #FFFFFF;
  --sunken: #EEF0F3;
  --ink: #16191D;
  --ink2: #5C636C;
  --ink3: #6E757E;
  --hair: #E3E6EA;
  --accent: #01847F;
  --on-card: #1B1F1D;
  --mint: #9CCBB8;
  --coral: #EC8258;
  --amber: #EFCF68;
  --sky: #A9C2E6;
  --shadow: 0 1px 2px rgba(22, 25, 29, .04), 0 12px 32px -12px rgba(22, 25, 29, .14);
  --shadow-lg: 0 2px 6px rgba(22, 25, 29, .05), 0 30px 60px -24px rgba(22, 25, 29, .28);
  --r: 28px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
:lang(zh-Hans) body, body:lang(zh-Hans) { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
body:lang(zh-Hant-TW) { font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif; }
body:lang(zh-Hant-HK) { font-family: -apple-system, BlinkMacSystemFont, "PingFang HK", "Microsoft JhengHei", "Noto Sans HK", sans-serif; }
body:lang(ja) { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif; line-break: strict; }
body:lang(ko) { font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; word-break: keep-all; }
body:lang(zh-Hans), body:lang(zh-Hant-TW), body:lang(zh-Hant-HK) { line-break: strict; }
body:lang(ja) :is(h1, h2, h3) { word-break: auto-phrase; }
h1, h2, h3, p, figure, ul, ol { margin: 0; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; text-wrap: balance; }
p, li { text-wrap: pretty; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 50; padding: 8px 14px; border-radius: 12px; background: var(--ink); color: #fff; }
.skip:focus { top: 12px; }

/* 顶栏：浮在页面上的一条白色胶囊 */
.top { position: sticky; top: 0; z-index: 30; padding-top: 12px; }
.nav {
  display: flex; align-items: center; gap: 12px;
  min-height: 60px; padding: 8px 10px 8px 16px;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
  border: 1px solid rgba(227, 230, 234, .9); border-radius: 22px; box-shadow: var(--shadow);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 650; font-size: 18px; letter-spacing: -.01em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.links { display: flex; gap: 2px; margin-left: auto; }
.links a, .panel a { color: var(--ink2); font-size: 15px; padding: 8px 12px; border-radius: 12px; white-space: nowrap; }
.links a:hover, .panel a:hover { background: var(--sunken); color: var(--ink); text-decoration: none; }
.links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.right { display: flex; align-items: center; gap: 4px; }
.dd { position: relative; }
.dd > summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 12px; border-radius: 14px; color: var(--ink2); font-size: 15px; white-space: nowrap;
}
.dd > summary::-webkit-details-marker { display: none; }
.dd > summary:hover, .dd[open] > summary { background: var(--sunken); color: var(--ink); }
.panel {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 40;
  display: grid; gap: 2px; min-width: 220px; padding: 8px;
  background: var(--surface); border: 1px solid var(--hair); border-radius: 20px; box-shadow: var(--shadow-lg);
}
.panel a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
.panel a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.panel a[aria-current="page"]::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.menu { display: none; }
@media (max-width: 860px) {
  .links { display: none; }
  .menu { display: block; }
  .right { margin-left: auto; }
  .lang .label { display: none; }
  .dd { position: static; }
  .panel { left: 0; right: 0; top: calc(100% + 8px); min-width: 0; }
  .lang .panel { grid-template-columns: 1fr 1fr; }
}

/* 通用 */
.kicker { color: var(--accent); font-weight: 600; font-size: 15px; letter-spacing: .01em; margin-bottom: 12px; }
h2 { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.12; letter-spacing: -.025em; font-weight: 700; }
h2 span { display: block; color: var(--ink3); font-weight: 650; }
body:lang(zh-Hans) h2, body:lang(zh-Hant-TW) h2, body:lang(zh-Hant-HK) h2, body:lang(ja) h2, body:lang(ko) h2 { letter-spacing: -.005em; line-height: 1.22; }
.sec { padding: clamp(72px, 10vw, 132px) 0 0; }
.copy p { color: var(--ink2); font-size: 18px; margin-top: 20px; max-width: 34em; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 16px;
}
.btn:hover { text-decoration: none; background: #2A2F35; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--hair); color: var(--ink2); font-size: 15px; font-weight: 500;
}
.chip svg { flex: none; }

/* 首屏 */
.hero { padding: clamp(48px, 7vw, 96px) 0 0; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--ink2); font-size: 15px; font-weight: 500; }
.eyebrow img { width: 28px; height: 28px; }
.hero h1 {
  margin: 22px auto 0; max-width: 15em;
  font-size: clamp(40px, 6.6vw, 80px); line-height: 1.06; letter-spacing: -.035em; font-weight: 750;
}
body:lang(zh-Hans) .hero h1, body:lang(zh-Hant-TW) .hero h1, body:lang(zh-Hant-HK) .hero h1, body:lang(ja) .hero h1, body:lang(ko) .hero h1 { letter-spacing: -.01em; line-height: 1.16; }
body:lang(de) .hero h1, body:lang(fr) .hero h1, body:lang(es) .hero h1 { font-size: clamp(36px, 6vw, 72px); }
.lead { margin: 22px auto 0; max-width: 32em; color: var(--ink2); font-size: clamp(17px, 2vw, 20px); }
.acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.stage { position: relative; margin: clamp(44px, 6vw, 72px) auto 0; width: min(100%, 960px); height: clamp(520px, 66vw, 700px); }
.phone {
  position: relative; border-radius: 46px; padding: 9px; background: #121417;
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px #2A2E33;
}
.phone img, .phone picture { border-radius: 37px; overflow: hidden; }
.stage .phone { position: absolute; left: 50%; top: 0; width: clamp(240px, 30vw, 300px); transform: translateX(-50%); z-index: 2; }
.watch {
  border-radius: 34% / 30%; padding: 10px; background: #121417;
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px #2A2E33;
}
.watch img, .watch picture { border-radius: 28% / 24%; overflow: hidden; }
.stage .watch { position: absolute; z-index: 3; width: clamp(132px, 17vw, 184px); left: calc(50% + clamp(96px, 13vw, 150px)); top: 46%; }
.fan { position: absolute; inset: 0; pointer-events: none; }
.tcard {
  position: absolute; width: clamp(200px, 25vw, 260px); padding: 18px 20px 20px; border-radius: 26px;
  color: var(--on-card); text-align: left; box-shadow: var(--shadow);
}
.tcard .tag { display: inline-block; font-size: 12.5px; font-weight: 600; padding: 3px 9px; border-radius: 8px; background: rgba(255, 255, 255, .45); }
.tcard b { display: block; margin-top: 12px; font-size: 19px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
.tcard .due { display: block; margin-top: 8px; font-size: 13.5px; opacity: .72; }
.c-mint { background: var(--mint); } .c-sky { background: var(--sky); } .c-coral { background: var(--coral); } .c-amber { background: var(--amber); }
.fan .tcard:nth-child(1) { left: calc(50% - clamp(300px, 38vw, 420px)); top: 9%; transform: rotate(-8deg); }
.fan .tcard:nth-child(2) { left: calc(50% - clamp(280px, 35vw, 390px)); top: 37%; transform: rotate(4deg); }
.fan .tcard:nth-child(3) { left: calc(50% - clamp(310px, 39vw, 430px)); top: 65%; transform: rotate(-3deg); }
.meta { margin-top: 28px; color: var(--ink2); font-size: 15px; }
.cap { margin-top: 6px; color: var(--ink3); font-size: 13.5px; }
@media (max-width: 720px) {
  .stage { height: auto; display: grid; justify-items: center; padding-bottom: 8px; }
  .stage .phone { position: relative; left: auto; transform: none; width: min(72vw, 300px); }
  .stage .watch { position: absolute; left: auto; right: max(2vw, calc(50% - 210px)); top: auto; bottom: -8px; width: min(31vw, 140px); }
  .fan { position: relative; inset: auto; display: flex; gap: 10px; order: -1; width: 100%; justify-content: center; margin-bottom: -40px; z-index: 3; }
  .fan .tcard { position: static; width: auto; max-width: 46%; padding: 12px 14px 14px; border-radius: 20px; }
  .fan .tcard:nth-child(1) { transform: rotate(-4deg); }
  .fan .tcard:nth-child(2) { transform: rotate(3deg) translateY(10px); }
  .fan .tcard:nth-child(3) { display: none; }
  .fan .tcard b { font-size: 15px; margin-top: 8px; }
  .fan .tcard .due { font-size: 12px; margin-top: 4px; }
}

/* 功能段：文字一侧、截图一侧，手机上上下排 */
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.row.flip .media { order: -1; }
.media { display: flex; justify-content: center; gap: clamp(14px, 3vw, 28px); align-items: flex-start; }
.media .phone { width: min(100%, 300px); }
.media.two .phone { width: min(47%, 272px); }
.media.two .phone + .phone { margin-top: 64px; }
@media (max-width: 860px) {
  .row { grid-template-columns: 1fr; }
  .row.flip .media { order: 0; }
  .media .phone { width: min(78vw, 300px); }
  .media.two .phone { width: min(44vw, 240px); }
  .media.two .phone + .phone { margin-top: 40px; }
}

/* 一句话识别的演示：按 App 真的识别结果画 */
.parse { margin-top: 28px; padding: 16px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); max-width: 30em; }
.field { display: flex; gap: 10px; align-items: baseline; padding: 12px 14px; border-radius: 16px; background: var(--sunken); font-size: 16px; overflow-wrap: anywhere; }
.field i { font-style: normal; color: var(--ink3); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chips span { padding: 5px 11px; border-radius: 10px; background: #E6F3F2; color: var(--accent); font-size: 14px; font-weight: 600; }
.note { margin-top: 14px; color: var(--ink3); font-size: 14.5px; }

/* 打出的手势演示 */
.swipe { position: relative; margin-top: 28px; max-width: 30em; height: 156px; }
.swipe .track { position: absolute; inset: 0; border-radius: 26px; background: var(--surface); box-shadow: var(--shadow); display: flex; align-items: center; padding-left: 22px; color: var(--accent); font-weight: 650; gap: 8px; }
.swipe .tcard { left: 30%; top: 12px; width: 66%; transform: rotate(3deg); animation: nudge 3.2s ease-in-out infinite; }
.swipe .acts2 { display: flex; gap: 8px; margin-top: 14px; }
.pill { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--hair); color: var(--ink2); font-size: 14px; }
@keyframes nudge { 0%, 18% { transform: translateX(0) rotate(3deg); } 45%, 62% { transform: translateX(10%) rotate(6deg); } 85%, 100% { transform: translateX(0) rotate(3deg); } }

/* 手表段 */
.watch-sec { text-align: center; }
.watch-sec .copy p { margin-inline: auto; }
.watch-row { display: flex; justify-content: center; gap: clamp(16px, 4vw, 40px); margin-top: 44px; }
.watch-row .watch { width: min(42vw, 230px); }
.watch-row .watch:nth-child(2) { margin-top: 48px; }

/* 细节、隐私、价格：白卡 */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.box { position: relative; padding: 24px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.box h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; line-height: 1.35; font-weight: 650; }
.box p { margin-top: 10px; color: var(--ink2); font-size: 15.5px; }
.ic { width: 40px; height: 40px; margin-bottom: 16px; border-radius: 13px; background: var(--sunken); display: grid; place-items: center; color: var(--ink); }
.pro { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 8px; border: 1px solid var(--hair); color: var(--ink2); font-size: 12px; font-weight: 650; letter-spacing: .02em; }
.more { margin-top: 26px; font-weight: 600; }
.price { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
@media (max-width: 760px) { .price { grid-template-columns: 1fr; } }
.price ul { list-style: none; padding: 0; margin-top: 16px; }
.price li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--hair); font-size: 16px; }
.price li:first-child { border-top: 0; }
.price li svg { flex: none; margin-top: 5px; color: var(--accent); }
.price .box:first-child li svg { color: var(--ink3); }
.fine { margin-top: 16px; color: var(--ink3); font-size: 14.5px; }

/* 常见问题 */
.faq { margin-top: 36px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.faq details { border-top: 1px solid var(--hair); }
.faq details:first-child { border-top: 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 22px 24px; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--ink3); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 24px 22px; color: var(--ink2); }

/* 收尾 */
.end { text-align: center; padding-bottom: 24px; }
.end .stack { position: relative; width: 120px; height: 120px; margin: 0 auto 28px; }
.end .stack i { position: absolute; inset: 14px 22px; border-radius: 18px; }
.end .stack i:nth-child(1) { background: var(--amber); transform: rotate(12deg) translateX(14px); }
.end .stack i:nth-child(2) { background: var(--coral); transform: rotate(5deg) translateX(6px); }
.end .stack i:nth-child(3) { background: var(--mint); transform: rotate(-4deg); }
.end p { margin: 18px auto 0; color: var(--ink2); max-width: 32em; }
.end .acts { margin-top: 26px; }

/* 页脚 */
.foot { margin-top: clamp(72px, 9vw, 120px); padding: 48px 0 56px; border-top: 1px solid var(--hair); background: var(--surface); }
.foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot p { color: var(--ink3); font-size: 14.5px; margin-top: 10px; }
.foot h2 { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink3); font-weight: 650; }
body:lang(zh-Hans) .foot h2, body:lang(zh-Hant-TW) .foot h2, body:lang(zh-Hant-HK) .foot h2, body:lang(ja) .foot h2, body:lang(ko) .foot h2 { letter-spacing: 0; }
.foot ul { list-style: none; padding: 0; margin-top: 12px; display: grid; gap: 8px; }
.foot a { color: var(--ink2); font-size: 15px; }
@media (max-width: 760px) { .foot .wrap { grid-template-columns: 1fr 1fr; } .foot .fid { grid-column: 1 / -1; } }

/* 帮助、隐私、条款 */
.doc { padding-top: clamp(40px, 6vw, 72px); }
.doc-head h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.1; letter-spacing: -.03em; font-weight: 750; }
body:lang(zh-Hans) .doc-head h1, body:lang(zh-Hant-TW) .doc-head h1, body:lang(zh-Hant-HK) .doc-head h1, body:lang(ja) .doc-head h1, body:lang(ko) .doc-head h1 { letter-spacing: 0; }
.doc-head .date { margin-top: 12px; color: var(--ink3); font-size: 14.5px; }
.doc-head .intro { margin-top: 18px; max-width: 44em; color: var(--ink2); font-size: 18px; }
.doc-body { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; margin-top: 40px; align-items: start; }
.toc { position: sticky; top: 100px; display: grid; gap: 2px; }
.toc a { color: var(--ink2); font-size: 15px; padding: 7px 12px; border-radius: 10px; }
.toc a:hover { background: var(--sunken); color: var(--ink); text-decoration: none; }
.article { display: grid; gap: 16px; max-width: 860px; }
.article section { padding: clamp(22px, 3vw, 32px); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.article h2 { font-size: 22px; letter-spacing: -.01em; line-height: 1.3; }
.article h3 { font-size: 17px; margin-top: 22px; font-weight: 650; }
.article h2 + h3 { margin-top: 16px; }
.article p { margin-top: 10px; color: var(--ink2); }
.article ul { margin: 12px 0 0; padding-left: 1.2em; color: var(--ink2); }
.article li { margin-top: 6px; }
@media (max-width: 860px) { .doc-body { grid-template-columns: 1fr; } .toc { position: static; display: flex; flex-wrap: wrap; gap: 6px; } .toc a { background: var(--surface); border: 1px solid var(--hair); } }

/* 404 */
.lost { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 64px 0; }
.lost .stack { margin-bottom: 28px; }
.lost h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.15; letter-spacing: -.01em; }
.lost p { margin-top: 12px; color: var(--ink2); }
.lost .langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 28px auto 0; max-width: 640px; }

/* 动效：首屏进场、往下滚时轻轻浮起 */
@media (prefers-reduced-motion: no-preference) {
  .hero .wrap > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero .wrap > :nth-child(2) { animation-delay: .06s; }
  .hero .wrap > :nth-child(3) { animation-delay: .12s; }
  .hero .wrap > :nth-child(4) { animation-delay: .18s; }
  .hero .stage { animation-delay: .24s; }
  @supports (animation-timeline: view()) {
    /* 只位移不改透明度：滚动时间线没跑起来时区块也照样看得见 */
    .reveal { animation: lift linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes lift { from { transform: translateY(24px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .swipe .tcard { animation: none; } }
