/* 格物造型 Gevoo · 官网（类别标准版）。做工标杆：Procreate、Apple 的 iPad / App 页、Linear / Arc、Duolingo / Anki。 */
:root {
  --bg: #F4F4F2; --white: #FFFFFF; --ink: #161514; --ink-2: #4F4C47; --ink-3: #66635C;
  --line: rgba(22, 21, 20, .14); --line-2: rgba(22, 21, 20, .28);
  --orange: #F25623; --orange-ink: #C2400F; --night: #161514; --night-2: #A9A59D; --night-ink: #ECE9E3;
  --sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(20px, 5vw, 64px); --nav: 64px; --r: 12px;
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav) + 16px); background: var(--bg); scrollbar-color: #B5B3AD var(--bg); }
body { background: var(--bg); color: var(--ink); font: 400 17px/1.75 var(--sans); -webkit-font-smoothing: antialiased; text-wrap: pretty; font-variant-numeric: tabular-nums; }
::selection { background: var(--orange); color: #fff; }
::-webkit-scrollbar { width: 10px; background: var(--bg); }
::-webkit-scrollbar-thumb { background: #BDBBB5; border: 2px solid var(--bg); border-radius: 6px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
img, video { display: block; max-width: 100%; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 16px; }
.skip:focus { top: 16px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; }

h1, h2, h3 { font-weight: 900; letter-spacing: -.015em; text-wrap: balance; word-break: auto-phrase; line-break: strict;; }
.nb { white-space: nowrap; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.18; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.4; font-weight: 700; letter-spacing: 0; }
p { max-width: 32em; }
.aside { font-size: .9375rem; color: var(--ink-2); }
.cap, .ph, .status { font-size: .8125rem; color: var(--ink-3); }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font: 500 1rem/1 var(--sans); padding: 0 24px; height: 48px; border-radius: var(--r); border: 1px solid transparent; transition: background .18s, color .18s, border-color .18s, transform .3s var(--ease); white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-lg { height: 56px; padding: 0 32px; font-size: 1.0625rem; }
.btn-sm { height: 38px; padding: 0 16px; font-size: .9375rem; border-radius: 10px; }
.btn-primary { background: var(--orange-ink); color: #fff; }
.btn-primary:hover { background: var(--ink); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { border-color: var(--ink); background: var(--white); }
.btn-secondary.on-dark { color: var(--night-ink); border-color: rgba(236, 233, 227, .4); }
.btn-secondary.on-dark:hover { background: var(--night-ink); color: var(--night); border-color: var(--night-ink); }

/* 顶栏 */
.nav { position: fixed; z-index: 50; inset: 0 0 auto; height: var(--nav); transition: background .25s, box-shadow .25s; }
.nav.scrolled { background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-in { height: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.wm-icon { border-radius: 7px; }
.wm-img { height: 22px; width: auto; }
.wm-b { font: 500 .75rem var(--sans); letter-spacing: .2em; color: var(--ink-2); }
.wm-latin { font: 700 2.2rem/1 var(--sans); letter-spacing: .005em; transform: translateY(-2px); }
.nav-links { display: flex; gap: 20px; font-size: .9375rem; }
.nav-links a { text-decoration: none; padding: 12px 0; color: var(--ink-2); transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-end { display: flex; align-items: center; gap: 16px; }
.lang { font-size: .8125rem; letter-spacing: .08em; color: var(--ink-2); text-decoration: none; padding: 12px 8px; }
.lang:hover { color: var(--ink); text-decoration: underline; }
.menu-btn { display: none; width: 44px; height: 44px; position: relative; }
.bars, .bars::before { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); content: ""; transition: transform .3s var(--ease), top .3s var(--ease); }
.bars { top: 21px; } .bars::before { left: 0; right: 0; top: 7px; }
.menu-btn[aria-expanded="true"] .bars { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::before { transform: rotate(-90deg); top: 0; }
.menu { position: fixed; inset: 0; z-index: 40; background: var(--bg); padding: calc(var(--nav) + 32px) var(--gutter) 32px; clip-path: inset(0 0 100% 0); transition: clip-path .4s var(--ease); }
.menu[hidden] { display: block; visibility: hidden; }
.menu.open { clip-path: inset(0); visibility: visible; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font: 700 1.75rem/1.2 var(--sans); text-decoration: none; padding: 16px 0; border-bottom: 1px solid var(--line); }
.menu .menu-join { color: var(--orange-ink); }

/* 首屏 */
.hero { padding: calc(var(--nav) + clamp(40px, 9vh, 104px)) var(--gutter) 0; text-align: center; }
.hero h1 { font-size: clamp(2.2rem, 5.6vw, 5.5rem); line-height: 1.16; letter-spacing: -.025em; display: flex; justify-content: center; flex-wrap: wrap; column-gap: 0; }
.hero h1 span { white-space: nowrap; }
.hero-sub { margin: clamp(20px, 3vh, 32px) auto 0; font-size: clamp(1.05rem, 1.6vw, 1.35rem); color: var(--ink-2); max-width: 28em; }
.actions { display: flex; justify-content: center; gap: 12px; margin-top: clamp(28px, 4vh, 40px); flex-wrap: wrap; }
.status { margin: 16px auto 0; text-align: center; max-width: none; }
.intro-plate { margin: clamp(24px, 5vh, 56px) auto 0; width: min(560px, 100%); aspect-ratio: 1080 / 1224; }
.intro-plate video { width: 100%; height: 100%; object-fit: cover; }

/* 首屏（桌面）：满屏高。头像从顶栏下面起、占满整个视口高度并从底边出血；文字块在右边、垂直居中（参考的是“大头像在左 + 右侧标题”的构图） */
@media (min-width: 760px) {
  .hero { position: relative; display: block; height: 100svh; min-height: 560px; max-height: 1100px; overflow: hidden; padding: 0; text-align: left; }
  .intro-plate { position: absolute; left: clamp(0px, 3vw, 56px); bottom: -6svh; width: min(58vw, calc(112svh * 0.882)); aspect-ratio: 1080 / 1224; margin: 0; }
  .intro-plate video { object-position: left top; }
  .hero-in { position: absolute; z-index: 1; left: 57%; right: var(--gutter); top: 50%; transform: translateY(-46%); padding: 0; margin: 0; max-width: 34rem; }
  .hero h1 { flex-direction: column; align-items: flex-start; justify-content: flex-start; font-size: clamp(2.6rem, min(5vw, 9.5svh), 5.6rem); font-weight: 900; letter-spacing: -.035em; line-height: 1.08; }
  .hero h1 .dot { font-style: normal; color: var(--orange); }
  .hero-sub { margin: clamp(14px, 2.6svh, 28px) 0 0; font-size: 1rem; line-height: 1.7; color: var(--ink-2); max-width: 22em; text-align: left; }
  .hero .actions { justify-content: flex-start; gap: 32px; align-items: baseline; margin-top: clamp(16px, 2.6svh, 28px); }
  .hero .actions .btn { height: auto; padding: 0 0 6px; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); font-weight: 700; font-size: 1.0625rem; letter-spacing: .08em; }
  .hero .actions .btn:hover { transform: none; background: transparent; border-bottom-color: var(--orange); color: var(--orange-ink); }
  .hero .actions .btn-primary { border-bottom-color: var(--orange); }
  .hero .actions .btn-primary::after, .hero .actions .btn-secondary::after { content: "\2197"; margin-left: .45em; font-weight: 400; }
  .hero .status { display: flex; align-items: center; gap: 14px; margin: clamp(20px, 4.5svh, 44px) 0 0; text-align: left; }
  .hero .status::before { content: ""; width: 44px; height: 1px; background: var(--ink-3); }
}

/* 屏幕：真实录屏放进圆角遮罩，没有假手机外壳 */
.screen { position: relative; border-radius: 36px; overflow: hidden; border: 1px solid var(--line-2); background: #E3E3E1; aspect-ratio: 1206 / 2622; }
.screen video, .screen img { width: 100%; height: 100%; object-fit: contain; }
.screen.clean { aspect-ratio: 9 / 16; }
.screen { border-radius: clamp(20px, 2.4vw, 30px); flex-shrink: 0; }
.screen.dark { background: #141213; border-color: #141213; }
.quiz-fig, .hair-fig { position: absolute; inset: 0; }
.quiz-fig .q2, .hair-fig img + img { position: absolute; left: 0; top: 0; clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--ease); }
.quiz-fig.ans .q2 { clip-path: inset(0); }
.hair-fig img + img.on { clip-path: inset(0); transition-duration: .6s; }

/* 区块节奏 */
section { padding: clamp(56px, 8vw, 112px) var(--gutter); }
.more, .who, .faq { padding-block: clamp(48px, 6vw, 88px); }
.band-white { background: var(--white); }
.promise { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 96px); }
.promise h2 { text-align: center; margin: 0 auto; max-width: 18em; }
.promise-cols { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); border-top: 1px solid var(--ink); padding-top: 32px; }
.promise-cols h3 { margin-bottom: 8px; font-size: 1.5rem; font-weight: 900; }
.promise-cols p { color: var(--ink-2); }

.feature-in { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; }
.feature .text { grid-column: 1 / 6; }
.feature .media { grid-column: 7 / 13; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.feature.rev .text { grid-column: 8 / 13; order: 2; }
.dark-band { background: var(--night); color: var(--night-ink); padding-block: clamp(72px, 10vw, 144px); }
.dark-band .text p, .dark-band .text h3 { color: #D8D4CC; }
.dark-band .cap { color: #B9B5AD; }
.dark-band .screen { border-color: rgba(236, 233, 227, .2); }
.dark-band .media { grid-column: 1 / 9; }
.dark-band .text { grid-column: 9 / 13; }
.dark-band .duo { gap: 28px; }
.feature.rev .media { grid-column: 1 / 7; order: 1; }
.feature .text h2 { margin-bottom: 20px; }
.feature .text h3 { margin: 40px 0 8px; }
.feature .text p { color: var(--ink-2); }
.bullets { margin-top: 24px; display: flex; flex-wrap: wrap; font-size: .9375rem; color: var(--ink-2); }
.bullets li + li::before { content: "·"; margin: 0 .7em; color: var(--ink-3); }
.feature .media > .screen { width: min(100%, 300px); flex: 0 1 300px; }
.feature .media:not(.pair) > .screen { width: min(100%, 340px); flex-basis: 340px; }
.feature .media .cap { flex-basis: 100%; text-align: center; }
.feature .media.pair { display: block; }
.duo { display: flex; align-items: flex-start; gap: 20px; width: 100%; }
.duo .screen { flex: 1 1 0; min-width: 0; width: auto; }
.duo .screen:nth-child(2) { margin-top: 56px; }
.feature .media.pair .cap { margin-top: 16px; text-align: center; }

.more h2 { max-width: 14em; }
.more .lede { margin-top: 16px; color: var(--ink-2); font-size: 1.125rem; }
.more-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: clamp(40px, 6vw, 72px); }
.more-cols .screen { width: 100%; max-width: 280px; margin: 0 auto 24px; }
.more-cols h3 { margin-bottom: 8px; }
.more-cols p { color: var(--ink-2); }
.hair-pick { display: flex; gap: 20px; margin-top: 12px; font-size: .9375rem; }
.hair-pick button { padding: 12px 0; color: var(--ink-2); border-bottom: 2px solid transparent; }
.hair-pick button[aria-pressed="true"] { color: var(--ink); border-color: var(--orange); }

.library .lib-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; }
.library .lib-head h2 { grid-column: 1 / 7; }
.library .lib-head p { grid-column: 8 / 13; color: var(--ink-2); }
.lib-body { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; margin-top: clamp(40px, 6vw, 64px); align-items: start; }
.lib-index { grid-column: 1 / 6; border-top: 1px solid var(--ink); }
.lib-index li { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.lib-index b { font-weight: 500; color: var(--ink-2); }
.lib-thumbs { grid-column: 7 / 13; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 16px; }
.lib-thumbs img { width: 100%; height: auto; aspect-ratio: 1; border-radius: var(--r); border: 1px solid var(--line); background: #E3E3E1; }
.lib-thumbs span { display: block; margin-top: 8px; font-size: .8125rem; line-height: 1.45; color: var(--ink-2); }

.who h2 { margin-bottom: clamp(32px, 5vw, 56px); }
.who-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); border-top: 1px solid var(--ink); padding-top: 32px; }
.who-cols h3 { margin-bottom: 8px; font-size: 1.3rem; }
.who-cols p { color: var(--ink-2); }

.faq-in { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.faq h2 { grid-column: 1 / 5; }
.faq-list { grid-column: 6 / 13; border-top: 1px solid var(--ink); padding-top: 4px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 24px; color: var(--ink-2); }

.join { background: var(--night); color: var(--night-ink); }
.join h2 { margin-bottom: clamp(32px, 5vw, 56px); font-size: clamp(2.4rem, 6vw, 4.6rem); }
.join-blocks { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 4vw, 56px); border-top: 1px solid rgba(236, 233, 227, .3); padding-top: 32px; }
.join-block p { color: var(--night-2); margin: 8px 0 24px; }
.join .ph { margin-top: 24px; color: var(--night-2); }
.join .btn-primary { background: var(--orange); color: #1a0d07; }
.join .btn-primary:hover { background: #fff; }

.foot { background: var(--night); color: var(--night-ink); padding: 0 var(--gutter) 48px; border-top: 1px solid #2C2A28; }
.foot-in { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 40px; padding-top: 64px; }
.foot-brand { grid-column: 1 / 7; }
.tri { display: flex; flex-direction: column; font: 900 clamp(1.6rem, 3.6vw, 2.8rem)/1.25 var(--sans); }
.tri.lat { margin-top: 20px; font: 500 .8125rem/1.9 var(--sans); letter-spacing: .24em; color: var(--night-2); }
.foot-cols { grid-column: 8 / 13; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; font-size: .9375rem; }
.foot-cols h3 { font: 500 .8125rem var(--sans); letter-spacing: .1em; color: var(--night-2); margin-bottom: 12px; }
.foot-cols li { padding: 4px 0; }
.foot-cols a { text-decoration: none; }
.foot-cols a:hover { text-decoration: underline; }
.credits { grid-column: 1 / 9; font-size: .75rem; color: #8D8982; max-width: 60em; }
.copy { grid-column: 9 / 13; font-size: .75rem; color: #8D8982; text-align: right; }

/* 动效：只有首屏那块真实画面升起一次；内容默认可见 */
.js .intro-plate { animation: rise 1.1s var(--ease) .15s both; }
@keyframes rise { from { transform: translateY(48px); opacity: 0; } to { transform: none; opacity: 1; } }

/* 响应式：手机不是缩小的桌面 */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .nav-end .btn-sm { display: none; }
  .feature-in, .library .lib-head, .lib-body, .faq-in { display: block; }
  .dark-band .media, .dark-band .text { grid-column: auto; }
  .feature .media, .feature.rev .media, .dark-band .media { margin-top: 48px; }
  .feature.rev .text { order: 0; }
  .lib-index { margin-bottom: 40px; }
  .library .lib-head p { margin-top: 16px; }
  .faq h2 { margin-bottom: 32px; }
  .more-cols, .who-cols, .promise-cols, .join-blocks { grid-template-columns: 1fr; }
  .foot-in { display: block; }
  .foot-cols { margin-top: 40px; }
  .copy { text-align: left; margin-top: 8px; }
}
@media (max-width: 640px) {
  :root { --nav: 56px; }
  body { font-size: 16px; }
  .hero h1 { font-size: clamp(2.3rem, 11vw, 3.4rem); flex-direction: column; align-items: center; }
  .actions .btn { width: 100%; }
  .actions { flex-direction: column; }
  .feature .media:not(.pair) > .screen { flex-basis: 68%; width: 68%; }
  .duo { overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 12px; scrollbar-width: none; }
  .duo::-webkit-scrollbar { display: none; }
  .duo .screen { flex: 0 0 72%; scroll-snap-align: center; margin-top: 0 !important; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); }
  .lib-thumbs { grid-template-columns: repeat(3, 1fr); }
  .wm-latin { font-size: 1.9rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .intro-plate { animation: none; }
  .quiz-fig .q2, .hair-fig img { transition: none; }
}
@media print { .nav, .menu { display: none; } }

/* —— 动效（学习 ArtCraft 的做法，换成我们自己的内容）—— */
/* 1. 滚动时，首屏的三句口号逐字飞进右下角的“三个动作”索引（桌面才有） */
.idx, .fly, .ruler { display: none; }
.marquee { display: flex; overflow: hidden; border-block: 1px solid var(--line); background: var(--bg); }
.marquee-track { flex: 0 0 auto; min-width: 100%; display: flex; align-items: center; justify-content: space-around; animation: marquee-scroll 36s linear infinite; list-style: none; margin: 0; padding: 0; }
.marquee-track li { white-space: nowrap; padding: 14px 28px; font: 500 .875rem/1 var(--sans); letter-spacing: .12em; color: var(--ink-3); }
.marquee-track li::before { content: "\25AA"; color: var(--orange-ink); margin-right: 22px; }
@keyframes marquee-scroll { to { transform: translateX(-100%); } }
/* 悬停：整块反色，不缓动（0.12s 线性） */
.btn-secondary, .btn-primary { transition: background-color .12s linear, color .12s linear, border-color .12s linear, transform .2s; }
.btn-secondary:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
@media (min-width: 760px) {
  .hero .actions .btn { transition: background-color .12s linear, color .12s linear, box-shadow .12s linear; }
  .hero .actions .btn:hover { background: var(--ink); color: var(--bg); box-shadow: 0 0 0 8px var(--ink); }
  html.fly-on .hero h1 .ch { color: transparent; }
  html.fly-on .hero h1 .pu, html.fly-on .hero h1 .dot { opacity: calc(1 - var(--p, 0) * 2.4); }
  .fly { display: block; position: fixed; inset: 0; z-index: 41; pointer-events: none; }
  .fly span { position: fixed; left: 0; top: 0; white-space: pre; line-height: 1; font-family: var(--sans); font-weight: 900; will-change: transform; text-shadow: 0 0 4px var(--bg), 0 0 10px var(--bg); }
  .idx { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; position: fixed; z-index: 40; right: 64px; bottom: 28px; opacity: 0; transition: opacity .2s; }
  html.fly-done .idx { opacity: 1; }
  html:not(.fly-on) .idx { opacity: 1; }
  .idx a { text-decoration: none; font: 900 1.375rem/1.2 var(--sans); letter-spacing: -.01em; color: var(--ink-3); transition: color .25s; display: block; text-shadow: 0 0 4px var(--bg), 0 0 10px var(--bg); }
  .idx a.on { color: var(--ink); }
  .idx a:hover { color: var(--orange-ink); }
  .idx .lc { font-weight: 900; }
  /* 2. 右边的标尺代替浏览器滚动条：刻度、位置条、翻滚数字 */
  html.ruler-on { scrollbar-width: none; }
  html.ruler-on::-webkit-scrollbar { width: 0; height: 0; display: none; }
  .ruler { display: block; position: fixed; z-index: 45; top: 0; bottom: 0; right: 0; width: 44px; cursor: crosshair; background: color-mix(in srgb, var(--bg) 55%, transparent); backdrop-filter: blur(9px); -webkit-mask-image: linear-gradient(to left, #000 40%, rgba(0,0,0,.35) 62%, rgba(0,0,0,.05) 85%, transparent); mask-image: linear-gradient(to left, #000 40%, rgba(0,0,0,.35) 62%, rgba(0,0,0,.05) 85%, transparent); }
  .ruler i { position: absolute; right: 0; top: 0; bottom: 0; }
  .ruler .t1 { width: 7px; background: repeating-linear-gradient(to bottom, var(--ink-3) 0 1px, transparent 1px 12px); opacity: .55; }
  .ruler .t2 { width: 15px; background: repeating-linear-gradient(to bottom, var(--ink-3) 0 1px, transparent 1px 60px); opacity: .8; }
  .ruler .thumb { position: absolute; right: 0; width: 44px; height: 3px; background: var(--ink); transform: translateY(0); will-change: transform; }
  .ruler .rd { position: absolute; right: 50px; top: -16px; display: inline-flex; height: 1em; overflow: hidden; font: 700 .6875rem/1 var(--mono, ui-monospace, monospace); color: var(--ink); background: var(--bg); padding: 0; }
  .ruler .rc { display: flex; flex-direction: column; transition: transform .28s cubic-bezier(.2, .9, .2, 1); }
  .ruler .rc span { display: block; height: 1em; width: .62em; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .ruler .rc { transition: none; }
}
@media (min-width: 760px) { html[lang^="en"] .hero h1 { font-size: clamp(2.3rem, min(4.2vw, 8.4svh), 4.8rem); } }

/* —— 滑动动效 · 学录屏里的做法：文字从模糊淡入、画面带透视倾斜落稳、首屏有图漂浮 —— */
.floaters { display: none; }
@media (min-width: 760px) {
  .floaters { display: block; position: absolute; inset: 0; z-index: 0; pointer-events: none; }
  .fl { position: absolute; width: var(--w, 120px); will-change: transform, opacity, filter; }
  .fl img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 14px; box-shadow: 0 14px 36px rgba(22, 21, 20, .12); animation: fl-in 1.1s var(--ease) both, fl-drift 9s ease-in-out infinite alternate; animation-delay: var(--d, .4s), calc(var(--d, .4s) + 1.1s); }
  .f1 { --w: 112px; --d: .5s; left: 61%; top: 9%; }
  .f2 { --w: 148px; --d: .7s; right: 3.5%; top: 14%; }
  .f3 { --w: 126px; --d: .9s; right: 6%; top: 73%; }
  .f4 { --w: 96px; --d: 1.1s; left: 66%; top: 80%; }
  .f5 { --w: 84px; --d: 1.3s; right: 1.5%; top: 52%; }
  .f6 { --w: 76px; --d: 1.5s; left: 52%; top: 7%; }
}
@keyframes fl-in { from { opacity: 0; transform: scale(.82) translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fl-drift { from { translate: 0 -5px; } to { translate: 0 7px; } }
.screen > video, .screen > img { will-change: transform; }
@media (prefers-reduced-motion: reduce) { .fl img { animation: none; } }

/* 压在深色章节上时，索引和标尺换成浅色 */
@media (min-width: 760px) {
  html.over-dark .idx a { color: #8F8B83; text-shadow: none; }
  html.over-dark .idx a.on { color: #ECE9E3; }
  html.over-dark .ruler { background: color-mix(in srgb, var(--night) 55%, transparent); }
  html.over-dark .ruler .t1, html.over-dark .ruler .t2 { filter: invert(.75); }
  html.over-dark .ruler .thumb { background: #ECE9E3; }
  html.over-dark .ruler .rd { background: var(--night); color: #ECE9E3; }
}

/* 产品全貌：学习、参考与分析均来自当前 App，不以模型库代替素材库。 */
.product-map { padding-top: 0; }
.product-map .map-lede { max-width: 44em; margin-bottom: 28px; color: var(--ink-2); }
.map-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.map-grid a { text-decoration: none; padding: 24px 20px 20px 0; border-bottom: 1px solid var(--line); }
.map-grid a:hover strong { color: var(--orange-ink); }
.map-grid span, .eyebrow { display: block; font: 500 .75rem/1.5 var(--sans); letter-spacing: .13em; color: var(--orange-ink); margin-bottom: 12px; }
.map-grid strong { display: block; font-size: 1.25rem; margin-bottom: 8px; }
.map-grid p { font-size: .875rem; color: var(--ink-2); padding-right: 12px; }
.module .text h2 { margin-bottom: 24px; }
.module .text h3 { margin: 28px 0 8px; }
.module .text .aside { margin-top: 20px; }
.module .module-notes { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); }
.module-notes li { padding: 8px 0; color: var(--ink-2); }
.module-notes strong { color: var(--ink); }
.module .media .cap { font-size: .75rem; }
.screen-link { display: block; width: 100%; height: 100%; }
.screen-link:focus-visible { outline-offset: -4px; }
.module .duo .screen:nth-child(2) { margin-top: 36px; }
@media (min-width: 960px) {
  .module .text { grid-column: 1 / 5; }
  .module .media { grid-column: 6 / 13; }
  .module.rev .text { grid-column: 9 / 13; }
  .module.rev .media { grid-column: 1 / 8; }
}
@media (max-width: 960px) { .map-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .map-grid a { padding-right: 8px; }
  .map-grid p { padding-right: 8px; }
  .module .duo .screen { flex-basis: 84%; }
  .module .duo .screen:nth-child(2) { margin-top: 0; }
  .module .media { margin-top: 32px; }
}

/* 固定章节索引不遮挡真实 App 界面。 */
html.over-screen .idx { visibility: hidden; }
/* 新导航已包含各产品入口，取消覆盖在截图上的固定口号。 */
.idx { display: none !important; }

/* 用户提供的完整横排品牌稿，保留 SVG 原始留白与比例。 */
.brand-lockup { display: block; width: 220px; height: 66px; max-width: none; object-fit: contain; }
@media (max-width:640px) { .brand-lockup { width:168px; height:50px; } }

/* 手册补齐：流程与工具入口，在首页保持紧凑，细节交给指南。 */
.practice-flow { display:grid; grid-template-columns:repeat(5,1fr); margin-block:36px; border-block:1px solid var(--line); }
.practice-flow a { display:flex; gap:10px; align-items:center; padding:22px 12px 22px 0; text-decoration:none; font-size:.9375rem; }
.practice-flow span { color:var(--orange-ink); font-size:.75rem; }
.practice-flow b { margin-left:auto; padding-right:12px; font-weight:400; }
.toolkit-intro { max-width:44em; margin-top:18px; }
.toolbox-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:32px; }
.toolbox-grid article { border-top:1px solid var(--line); padding-top:24px; }
.tool-meta { color:var(--orange-ink); font-size:.75rem; margin-bottom:12px; }
.toolbox-grid h3 { margin-bottom:12px; }
.toolbox-grid article > p:not(.tool-meta) { font-size:.9375rem; color:var(--ink-2); }
.text-link { display:inline-block; margin-top:18px; font-weight:600; font-size:.875rem; }
.guide-callout { margin-top:48px; padding:28px; border:1px solid var(--line); border-radius:16px; display:flex; align-items:center; justify-content:space-between; gap:28px; background:var(--white); }
.guide-callout p { color:var(--ink-2); font-size:.9375rem; margin-top:8px; }
.guide-callout .btn { flex-shrink:0; }
.style-layout { display:grid; grid-template-columns:1fr 1fr; gap:clamp(40px,6vw,96px); align-items:center; }
.style-layout h2 { margin-bottom:24px; }
.style-layout p { color:var(--ink-2); }
.style-picks { display:flex; flex-wrap:wrap; gap:10px; margin-top:28px; }
.style-picks button { border:1px solid var(--line-2); border-radius:999px; padding:9px 16px; font-size:.875rem; }
.style-picks button[aria-pressed="true"] { background:var(--ink); color:var(--white); border-color:var(--ink); }
.style-note { min-height:3.5em; margin-top:18px; font-size:.9375rem; }
.style-demo { margin:0; }
.style-demo video { width:100%; aspect-ratio:1080 / 1224; object-fit:contain; border:1px solid var(--line); border-radius:20px; background:#EAE9E6; }
.style-demo figcaption { color:var(--ink-3); font-size:.75rem; margin-top:12px; }
@media (max-width:1000px) {
 .practice-flow { grid-template-columns:repeat(3,1fr); }
 .toolbox-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .style-layout { grid-template-columns:1fr; }
 .style-demo { max-width:560px; width:100%; margin-inline:auto; }
}
@media (max-width:640px) {
 .practice-flow { grid-template-columns:1fr; }
 .practice-flow a { padding-block:12px; border-bottom:1px solid var(--line); }
 .practice-flow li:last-child a { border:0; }
 .toolbox-grid { grid-template-columns:1fr; gap:24px; }
 .guide-callout { align-items:stretch; flex-direction:column; padding:22px; }
 .style-picks { gap:8px; }
 .style-picks button { padding:8px 12px; }
}
