/* 首页设计稿 U1。骨架、字号、间距、配色关系、动效照 Upload Me 线上版（wiki_geo internal/web/static/site.css 的 v4 首页一节；数值出自 uploadme-v4/ref/hinge-measure.md 五张表），
   点缀色换成本产品自己的陶土红。字体自托管：Source Serif 4、DM Sans 是 Google Fonts 的 latin 可变字体子集；标题中文 Noto Serif SC 600 只带页面标题里用到的字（许可证 fonts/OFL.txt）。 */
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/dm-sans-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/source-serif-4-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Noto Serif SC'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/noto-serif-sc-600-u1.woff2) format('woff2'); }

:root {
  /* 产品名只在这里定义一处 */
  --product-name: "SoaRank Commerce";
  /* 表三：暖纸底、墨色、正文灰；浅底小字用 #6B6B6B（13–14px 小字要过 4.5:1） */
  --bg: #FFFEFD;
  --ink: #1A1A1A;
  --stone: #484848;
  --stone-3: #6B6B6B;
  --stone-2: #8A8A8A;
  --line: #E8E4DE;
  --dark: #1A1A1A;
  --line-dark: #484848;
  /* 点缀色：陶土红（Upload Me 是深绿 #0F5C4F、Hinge 是茄紫 #67295F，关系不变：一个深而饱和的颜色，只用在眉标、手绘、悬停） */
  --accent: #9A3B1C;
  --accent-25: #EDC6B5;
  --accent-soft: #F6E9E2;
  /* 贴边大图的底（照 Upload Me 照片占位的暖灰 #E9DFD3，略浅） */
  --tint: #EEE6DC;
  --serif: 'Source Serif 4', 'Noto Serif SC', serif;
  --sans: 'DM Sans', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --ease: cubic-bezier(.5, 0, .09, 1);
  --ease-std: cubic-bezier(.4, 0, .2, 1);
  --margin: 20px;
  --gutter: 10px;
  --sec-pad: 48px;
  --header: 72px;
  --r: 8px;
  --edge: max(var(--margin), calc((100vw - 1344px) / 2 + var(--margin)));
}
@media (min-width: 768px) { :root { --margin: 32px; --gutter: 24px; --sec-pad: 80px; } }
@media (min-width: 1280px) { :root { --gutter: 32px; --sec-pad: 96px; } }

*, *::before, *::after { box-sizing: border-box; }
/* 锚点、scrollIntoView、键盘聚焦滚动时给固定顶栏留出高度，区块小标题不落在顶栏下面 */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.75 var(--sans); letter-spacing: .01em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[data-tone="dark"] :focus-visible, .top.on-dark :focus-visible { outline-color: var(--accent-25); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pname::before { content: var(--product-name); }
.nw { white-space: nowrap; }
.wrap { width: 100%; max-width: 1344px; margin: 0 auto; padding: 0 var(--margin); }

/* 字号（表二）：眉标 15 → 18；引言标题 44 → 64；区块标题 44 → 58；正文 16 → 18（Labs 档 20）；中文行高标题 1.25、正文 1.75 */
.eyebrow { font: 500 15px/1 var(--sans); letter-spacing: -.005em; color: var(--accent); margin-bottom: 24px; }
.eb-no { font-variant-numeric: tabular-nums; }
.eyebrow .eb-no { margin-right: .9em; }
:is(.h-xl, .h-l) { font-family: var(--serif); font-weight: 600; font-size: 44px; line-height: 1.25; letter-spacing: 0; font-variation-settings: 'opsz' 60; }
:is(.h-xl, .h-l) .nw { display: inline-block; }
.body { font-size: 16px; line-height: 1.75; color: var(--stone); text-wrap: pretty; }
:is(.h-xl, .h-l) + .body { margin-top: 28px; }
@media (min-width: 768px) {
  .eyebrow { font-size: 18px; line-height: 25.56px; margin-bottom: 32px; }
  .h-xl { font-size: 64px; }
  .h-l { font-size: 58px; }
  .body { font-size: 18px; }
  .body-l { font-size: 20px; }
}

/* ---------- 顶栏（表五 #4 #6）：透明压在首屏照片上，颜色随下方区块深浅翻转；往下滚收起、往上滚出现 ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header); color: var(--ink); transition: color .3s var(--ease-std), translate .3s var(--ease-std), background-color .3s var(--ease-std); }
.top.on-dark { color: #FFFEFD; }
.top.top-hide { translate: 0 -100%; }
.top.top-solid { background: rgb(255 254 253 / .92); box-shadow: 0 1px 0 rgb(0 0 0 / .06); }
/* 暗区块上的顶栏用实底：往回滚、顶栏出现时，压在它下面的区块小标题不会透出来叠字 */
.top.top-solid.on-dark { background: var(--dark); box-shadow: 0 1px 0 rgb(255 254 253 / .08); }
@supports (backdrop-filter: blur(1px)) { .top.top-solid { backdrop-filter: blur(12px); } }
.top-in { position: relative; height: 100%; max-width: 1344px; margin: 0 auto; padding: 0 var(--margin); display: flex; align-items: center; justify-content: space-between; }
.brand, .foot-brand { display: inline-flex; align-items: center; gap: 8px; }
.brand-i { width: 24px; height: 24px; flex: none; }
.brand-w { font: 600 20px/1 var(--serif); font-variation-settings: 'opsz' 60; letter-spacing: -.01em; white-space: nowrap; }
.top-pill { height: 34px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 9999px; background: #FFFEFD; color: var(--ink); font: 700 14px/1 var(--sans); transition: background-color .2s ease, color .2s ease, scale .15s ease-out; }
.top:not(.on-dark) .top-pill { background: var(--ink); color: #FFFEFD; }
.top-pill:active { scale: .96; }
@media (hover: hover) { .top .top-pill:hover { background: var(--accent-25); color: var(--ink); } .top:not(.on-dark) .top-pill:hover { background: var(--accent); color: #FFFEFD; } }
@media (min-width: 768px) {
  .top .brand { position: absolute; left: 50%; top: 50%; translate: -50% -50%; }
  .top .top-pill { margin-left: auto; }
  .brand-i { width: 28px; height: 28px; }
  .brand-w { font-size: 24px; }
}

/* ---------- 首屏（表五 #2 #3 #5）：满屏照片，白色衬线标题压左下，下接毛玻璃胶囊输入框 ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; background: var(--dark); color: #FFFEFD; overflow: hidden; }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-shift { position: absolute; inset: 0; }
/* 首屏照片两层叠放（第二层由 site.js 生成，藏着的那层预载下一张）：显示中的一层（is-on）在上；点背景换图时，下一张放到上面淡入，
   旧的一层（is-prev）在下面保持不透明、淡完才藏掉，中途不露底色。减少动效时没有 transition，直接切换 */
.hero-shift .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); opacity: 0; -webkit-user-drag: none; }
.hero-shift .hero-img.is-on { opacity: 1; z-index: 1; }
.hero-shift .hero-img.is-prev { opacity: 1; }
.motion .hero-shift .hero-img.is-on { transition: opacity .6s var(--ease-std); }
/* 个别照片要把人往一侧挪、让标题落在地面上：放大一点再按 --pos 取景（放大不超过 1.35，源图 2560 宽，手机上仍是原图像素的 1 倍以内） */
.hero-shift .hero-img { scale: var(--zoom, 1); transform-origin: var(--pos, 50% 50%); }
/* 每张照片的取景（?hero=1 … 6，写在各自那层图上，换图时跟着图走）。手机竖屏按高铺满：--pos 的横向值定取景（人放到屏幕中间），纵向值同时是放大的原点；
   --zoom 以底边为原点放大，人整体上移、让到标题上方，标题落在地面 / 墙上。只裁切和缩放，不拉伸、不镜像、不补画边缘 */
.hero-img[data-hero="1"] { --pos: 58% 50%; }
/* 第 2 张：不放大，取景偏中，左边留住货架和陶器，店主坐在右侧、不成特写 */
.hero-img[data-hero="2"] { --pos: 55% 50%; }
/* 第 3 张：13j 由 55% 改 50%，店员递咖啡的手移出标题右端；右边店员的肩膀出画、脸完整 */
.hero-img[data-hero="3"] { --pos: 50% 50%; }
.hero-img[data-hero="4"] { --pos: 72% 50%; }
/* 第 5 张：不放大（放大后左边切掉头发），取景偏左：人整个在画里、手在标题上方，纸箱在右边露出大半，标题落在橙色上衣下摆和牛仔裤上 */
.hero-img[data-hero="5"] { --pos: 36% 50%; }
/* 第 6 张：竖屏只露原图宽的 31%，店员占原图宽三成多，缩放只能放大，做不到「不成特写」；取景往左一点，帽檐完整、左边露出客人的白衣肩背，柜台上的收银机在最下边 */
.hero-img[data-hero="6"] { --pos: 57% 50%; }
@media (min-width: 768px) {
  .hero-img[data-hero] { --pos: 50% 50%; --zoom: 1; }
  /* 第 1 张：放大 1.2 倍、以左上为原点取景，人和纸箱右移，标题落到窗下偏暗的一块 */
  .hero-img[data-hero="1"] { --pos: 0% 30%; --zoom: 1.2; }
  /* 第 4 张：放大 1.3 倍、以左上为原点，人右移，前景的纸箱（带警示贴纸）移出下边，标题落到墙和桌面上 */
  .hero-img[data-hero="4"] { --pos: 0% 0%; --zoom: 1.3; }
}
/* 收尾照片的压暗（照 Upload Me）：底部 0→24→44→58→72% 高处渐淡，顶部顶栏那 72px 内 .6 → .55、往下 3 个顶栏高淡出；
   再加一层自左下的压暗（--shade），量过最不利位置：标题 ≥ 4.5:1。首屏另有自己的一套（见下），不压整张 */
.on-photo::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(110% 85% at 0% 100%, rgb(0 0 0 / var(--shade, .3)) 0%, rgb(0 0 0 / var(--shade, .3)) 35%, rgb(0 0 0 / 0) 75%),
    linear-gradient(to top, rgb(0 0 0 / .74) 0%, rgb(0 0 0 / .66) 24%, rgb(0 0 0 / .5) 44%, rgb(0 0 0 / .26) 58%, rgb(0 0 0 / 0) 72%),
    linear-gradient(to bottom, rgb(0 0 0 / .6), rgb(0 0 0 / .55) var(--header), rgb(0 0 0 / 0) calc(var(--header) * 3)); }
/* 首屏不压整张（照片本身要亮、通透）：只在左下字块后面垫一团柔和的暗（--shade，按每张照片量过的对比度定），加一层很浅的底部渐变；
   顶栏那 2 个顶栏高内一层很淡的顶部渐变。照片的上半和右侧不压 */
.hero.on-photo::after {
  background:
    radial-gradient(var(--sw, 52%) var(--sh, 44%) at var(--sx, 24%) var(--sy, 64%), rgb(0 0 0 / var(--shade, .4)) 0%, rgb(0 0 0 / calc(var(--shade, .4) * .9)) 55%, rgb(0 0 0 / calc(var(--shade, .4) * .35)) 82%, rgb(0 0 0 / 0) 100%),
    linear-gradient(to top, rgb(0 0 0 / .28) 0%, rgb(0 0 0 / .1) 24%, rgb(0 0 0 / 0) 44%),
    linear-gradient(to bottom, rgb(0 0 0 / var(--top, .42)), rgb(0 0 0 / calc(var(--top, .42) * .72)) var(--header), rgb(0 0 0 / 0) calc(var(--header) * 2.5)); }
/* 手机上字块占满宽，暗团横向铺满 */
@media (max-width: 767px) { .hero { --sx: 40%; --sy: 70%; --sw: 100%; --sh: 36%; } }
/* 矮的桌面屏（1280×720 一类）标题占的高度比例更大、首行更靠上：暗团中心上移、竖向半径放大，跟着字块走 */
@media (min-width: 768px) and (max-height: 760px) { .hero { --sy: 60%; --sh: 52%; } }
/* 压暗随换图一起过渡：--shade / --top 注册成数值才能做 transition（收尾一节自己设 --shade: .3，不受初值影响） */
@property --shade { syntax: '<number>'; inherits: true; initial-value: .4; }
@property --top { syntax: '<number>'; inherits: true; initial-value: .42; }
.motion .hero { transition: --shade .6s var(--ease-std), --top .6s var(--ease-std); }
/* 每张照片的压暗（11-21 第五轮逐张量过，第六轮补量 2、4–8（第七轮起 8 改名为 6），第七轮改了手机取景后重量手机 3、5、6，最低能让标题、小字、输入框占位词过 4.5:1 的值，桌面取 1280×800 和 1280×720 两档里大的那个；--top 让顶栏产品名过 4.5:1）。先手机、后桌面 */
.hero[data-hero="1"] { --shade: 0.42; --top: 0.5; }
.hero[data-hero="2"] { --shade: 0.5; --top: 0.62; }
.hero[data-hero="3"] { --shade: 0.54; --top: 0.54; }
.hero[data-hero="4"] { --shade: 0.42; --top: 0.66; }
.hero[data-hero="5"] { --shade: 0.46; --top: 0.7; }
.hero[data-hero="6"] { --shade: 0.54; --top: 0.58; }
@media (min-width: 768px) {
  .hero[data-hero="1"] { --shade: 0.54; }
  .hero[data-hero="2"] { --shade: 0.58; }
  .hero[data-hero="3"] { --shade: 0.58; }
  .hero[data-hero="4"] { --shade: 0.66; }
  .hero[data-hero="5"] { --shade: 0.58; }
  .hero[data-hero="6"] { --shade: 0.62; }
}
/* 点首屏背景换图：可点的地方给手形光标（输入框、按钮、链接保持各自的光标）；透明顶栏压在照片上时，它的空白处也算背景 */
.hero, .top:not(.top-solid) { cursor: pointer; }
.hero .sx-form { cursor: default; }
/* 键盘和读屏用的「换一张图」：平时视觉上隐藏，获得焦点时在首屏右下角出现，样子同顶栏的「登录」胶囊 */
.hero-next { position: absolute; z-index: 3; right: var(--margin); bottom: 16px; height: 34px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 9999px; background: #FFFEFD; color: var(--ink); font: 700 14px/1 var(--sans); white-space: nowrap; }
.hero-next[hidden] { display: none; }
.hero-next:not(:focus) { width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
@media (min-width: 768px) { .hero-next { bottom: 24px; } }
.hero-h, .hero .fine { text-shadow: 0 1px 2px rgb(0 0 0 / .25), 0 2px 24px rgb(0 0 0 / .25); }
.hero-text { position: absolute; left: 0; right: 0; bottom: 12vh; z-index: 2; }
@media (min-width: 768px) { .hero-text { bottom: 15%; } }
/* 标题块约占半宽（参考 Hinge 首屏）：桌面字号随视口走，1280 宽 54px（表二首屏 58px，中文略收），最长一行约 12 字 ≈ 半宽；手机 ≤ 34px */
.hero-h { font: 700 clamp(28px, 8.375vw, 34px)/1.25 var(--serif); font-variation-settings: 'opsz' 60; letter-spacing: .005em; }
@media (min-width: 768px) { .hero-h { font-size: clamp(34px, 4.25vw, 58px); } }
/* 断行（11-21 第三轮）：标题拆成不可再分的词组（.seg），用弹性换行排，换行位置由两个空的断行块定，不靠宽度碰运气；
   桌面三行「AI 时代的商品上架 / 放进去，带来询盘和订单， / 越卖越好。」，手机三行「AI 时代的商品上架 / 放进去，带来询盘 / 和订单，越卖越好。」，不让短句单独成行 */
.hero-h { display: flex; flex-wrap: wrap; align-items: baseline; }
.hero-h .line { flex: 0 0 100%; }
.hero-h .seg { flex: none; white-space: nowrap; }
.hero-h .br { flex: 0 0 100%; height: 0; }
.hero-h .br-m { display: none; }
@media (max-width: 767px) { .hero-h .br-m { display: block; } .hero-h .br-d { display: none; } }
/* 全角逗号自带半个字宽的右空白，句中接下一个词组时收掉 .18em；手机和桌面每个句中逗号都走这一条，间距一致。行尾时负边距不占位 */
.hero-h:lang(zh) .cm { margin-right: -.18em; }

/* 手绘圈（表五 #10）：每个 .circled 由 site.js 注入同一个 SVG；描边 pathLength=100 从 100 画到 0；圈比字框左右各宽 .25em，左右再留 .4em 外边距，不压字 */
.circled { position: relative; display: inline-block; white-space: nowrap; margin-inline: .4em; }
.hero-h .circled:first-child { margin-inline: .25em .3em; }
/* 圈在行首时：圈的左缘（比字框宽 .25em）和上一行字的左缘对齐 */
:is(.h-xl, .h-l) .nw > .circled:first-child { margin-left: .25em; }
.circled > .scribble { position: absolute; left: 50%; top: 50%; width: calc(100% + .5em); height: 1.32em; translate: -50% -50%; overflow: visible; pointer-events: none; color: var(--accent); }
.hero .circled > .scribble { color: #FFFEFD; }
.ink { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
:is(.arrow, .hero) .ink { stroke-width: 3; }
.motion .ink { stroke-dashoffset: 100; transition: stroke-dashoffset .7s ease .6s; }
.motion .is-drawn .ink { stroke-dashoffset: 0; }
.motion .is-drawn .ink.head { transition-delay: 1.15s; transition-duration: .3s; }
.motion .is-drawn .ink.again { transition-delay: 1.25s; transition-duration: .35s; }

/* ---------- 毛玻璃胶囊输入框（照 uploadme-v4/search-b2.html 的 B2 版）：薄白渐变 + 背景模糊 22px，字靠贴字暗晕；不支持 backdrop-filter 时退回 90% 白 + 墨色字 ---------- */
.hero-cta { margin-top: 28px; }
.sx-form { position: relative; display: flex; align-items: center; gap: 12px; width: max-content; max-width: 100%; height: 56px; padding: 0 6px 0 22px; border: 1px solid rgb(255 254 253 / .5); border-radius: 9999px; background: rgb(255 254 253 / .9); color: var(--ink); }
.sx-input { flex: none; width: 10em; min-width: 0; border: 0; padding: 0; margin: 0; background: transparent; color: var(--ink); caret-color: var(--accent); font: 500 18px/1.4 var(--serif); letter-spacing: 0; outline: none; appearance: none; }
.sx-input::placeholder { color: var(--stone-3); opacity: 1; }
.sx-form:has(.sx-input:focus-visible) { outline: 2px solid #FFFEFD; outline-offset: 3px; }
/* 外圆角 28 = 按钮 22 + 内边距 6 */
.sx-go { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #FFFEFD; transition: background-color .2s ease, scale .15s ease-out; }
.sx-go:active { scale: .96; }
.sx-i { width: 20px; height: 20px; }
@media (hover: hover) { .sx-go:hover { background: var(--accent); } }
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .on-photo .sx-form {
    background: linear-gradient(to bottom, rgb(255 254 253 / .14), rgb(255 254 253 / .04));
    -webkit-backdrop-filter: blur(22px) saturate(1.7) brightness(.88); backdrop-filter: blur(22px) saturate(1.7) brightness(.88);
    border: 1px solid rgb(255 254 253 / .38);
    box-shadow: inset 0 1px 0 rgb(255 254 253 / .55), 0 8px 28px -10px rgb(0 0 0 / .35);
    transition: border-color .2s ease, box-shadow .2s ease;
  }
  .on-photo .sx-input { color: #FFFEFD; caret-color: #FFFEFD; text-shadow: 0 1px 2px rgb(0 0 0 / .6), 0 0 10px rgb(0 0 0 / .5), 0 0 22px rgb(0 0 0 / .35); }
  .on-photo .sx-input::placeholder { color: rgb(255 254 253 / .9); text-shadow: 0 1px 2px rgb(0 0 0 / .6), 0 0 10px rgb(0 0 0 / .5), 0 0 22px rgb(0 0 0 / .35); }
  /* 聚焦：描边提亮到 60% + 柔和外发光；透明 outline 留给强制配色模式 */
  .on-photo .sx-form:has(.sx-input:focus-visible) { outline: 1px solid transparent; outline-offset: 0; border-color: rgb(255 254 253 / .6); box-shadow: inset 0 1px 0 rgb(255 254 253 / .55), 0 0 0 3px rgb(255 254 253 / .1), 0 0 22px rgb(255 254 253 / .22), 0 8px 28px -10px rgb(0 0 0 / .35); }
  .on-photo .sx-go { background: #FFFEFD; color: var(--ink); }
  @media (hover: hover) { .on-photo .sx-go:hover { background: var(--accent-25); } }
}
.fine { margin-top: 14px; padding-left: 4px; font: 500 14px/1.5 var(--sans); color: #FFFEFD; text-shadow: 0 1px 2px rgb(0 0 0 / .45); }
/* 输入框出错提示：压在照片上要读得清，用纸色实底块 + 陶土红字（6.91:1），不用照片上的浅色小字 */
.form-status { width: max-content; max-width: 100%; margin-top: 12px; padding: 8px 12px; border-radius: var(--r); background: #FFFEFD; font: 500 14px/1.5 var(--sans); color: var(--accent); }
.form-status:empty { display: none; }
@media (min-width: 768px) {
  .hero-cta { margin-top: 32px; }
  .sx-form { height: 64px; padding: 0 8px 0 28px; }
  .sx-input { font-size: 20px; }
  /* 外圆角 32 = 按钮 24 + 内边距 8 */
  .sx-go { width: 48px; height: 48px; }
}

/* ---------- 你的店 → 各家 AI（11-21 第三轮改成全英文 + 官方标志，第四轮修齐）：照 Hinge 的 Press 带——单色墨色标志、按视觉重量定高、匀距缓慢横移、两端淡出；
   「即将支持」的标志降到 62% 不透明（墨色 #1A1A1A 降到 62% 落在纸色上约 #717171，对纸色 4.8:1），每项后面跟一个 SOON 角标；Shopify 跟 LIVE 角标 ---------- */
.flow { --k: .8; --li-h: 56px; --pad: 18px; padding: 40px 0 44px; border-bottom: 1px solid var(--line); }
.flow-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.flow .eyebrow { margin: 0; }
.pause { min-height: 44px; font: 500 14px/1 var(--sans); color: var(--stone-3); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgb(26 26 26 / .25); transition: color .2s ease; }
@media (hover: hover) { .pause:hover { color: var(--ink); } }
html:not(.motion) .pause { display: none; }
.lanes { margin-top: 16px; }
.lane + .lane { margin-top: 8px; }
/* 两侧标签：小号大写、加字距（同一套语言里的小标写法），#6B6B6B 对纸色 5.29:1；第二条的标签前带一个小箭头（你的店 → 各家 AI），不再单独占一行 */
.lane-label { display: flex; align-items: center; gap: 16px; padding: 0 var(--margin); margin-bottom: 4px; font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--stone-3); }
.lane-name { display: inline-flex; align-items: center; gap: 6px; }
.lane-arrow { width: 13px; height: 13px; flex: none; color: var(--accent); }
/* 横移：一组 ul 至少比可见宽度多 160px（容器查询单位 cqw 取可见宽度），循环拼接处同一个品牌不会同屏出现两次；
   项与项的间距用每项左右的内边距（不用 gap），ul 里多出来的宽度按 space-around 均分，拼接处的间距和中间的一样 */
.marquee { container-type: inline-size; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 48px, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(to right, transparent, #000 48px, #000 calc(100% - 48px), transparent); }
.track { display: flex; width: max-content; }
.track ul { display: flex; align-items: center; min-width: calc(100cqw + 160px); justify-content: space-around; }
.track li { padding: 0 var(--pad); }
.motion .track { animation: marquee var(--dur, 60s) linear infinite; }
.flow.is-paused .track { animation-play-state: paused; }
@keyframes marquee { to { translate: -50% 0; } }
/* 每个标志的高（--h，桌面 px）按视觉重量调过：以字标的主体高（墨迹 10%–90% 分位那一段）为准、笔画粗的再收一点，并排看一样大；
   --dy 是光学对齐的纵向微调（墨迹重心偏下的 Gemini 上提，下面带弧线的 Amazon 下移），手机整体乘 .8 */
.logo { display: inline-flex; align-items: center; gap: calc(10px * var(--k)); height: var(--li-h); white-space: nowrap; color: var(--ink); }
.logo img { display: block; width: auto; height: calc(var(--h) * var(--k) * 1px); translate: 0 calc(var(--dy, 0) * var(--k) * 1px); }
.logo-name { font: 600 calc(21px * var(--k))/1 var(--sans); letter-spacing: -.015em; }
.logo .site-i { flex: none; width: calc(24px * var(--k)); height: calc(24px * var(--k)); }
.logo.is-soon > img, .logo.is-soon > svg, .logo.is-soon > .logo-name { opacity: .62; }
/* 角标：贴在标志右上，极小的大写字（9px，加字距）；SOON 用小字灰，LIVE 用墨色加一个实心点 */
.tag { align-self: flex-start; margin: 9px 0 0 calc(-4px * var(--k)); font: 600 9px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--stone-3); }
.tag-live { color: var(--ink); }
.tag-live::before { content: ''; display: inline-block; width: 5px; height: 5px; margin-right: 4px; border-radius: 50%; background: currentColor; vertical-align: 1px; }
/* 减少动效：不滚，排成整齐的行（复制的那一组不显示），两端不淡出 */
html:not(.motion) .marquee { -webkit-mask-image: none; mask-image: none; }
html:not(.motion) .track { width: auto; padding: 0 calc(var(--margin) - var(--pad)); }
html:not(.motion) .track ul { flex-wrap: wrap; justify-content: flex-start; min-width: 0; }
html:not(.motion) .track ul[aria-hidden] { display: none; }
/* 手机上静止时收小一档、间距收紧，两条带各排两行 */
@media (max-width: 767px) { html:not(.motion) .flow { --k: .6; --pad: 6px; } }
@media (min-width: 768px) {
  .flow { --k: 1; --li-h: 64px; --pad: 28px; padding: 48px 0 52px; }
  .lanes { margin-top: 20px; }
  .lane + .lane { margin-top: 4px; }
  .lane { display: grid; grid-template-columns: calc(var(--edge) + 136px) minmax(0, 1fr); align-items: center; }
  .lane-label { padding: 0 0 0 var(--edge); margin: 0; }
  .tag { margin-top: 13px; }
  html:not(.motion) .track { padding: 0 calc(var(--edge) - var(--pad)) 0 0; }
  html:not(.motion) .track ul { margin-left: calc(var(--pad) * -1); }
  html:not(.motion) .flow { --pad: 24px; }
}

/* ---------- 三个承诺：引言段（标题 + 圈 + 箭头）与贴边大图左右分栏交替，一屏一个 ---------- */
.sec { padding: var(--sec-pad) 0; }
.row { display: flex; flex-direction: column; gap: 40px; }
.row-l { flex-direction: column; }
.row-text { position: relative; padding: 0 var(--margin); }
/* 手绘箭头：起点在圈注正下方（离行首约 .7em，落在圈里那几个字底下），向右下指向缩进的正文；手机、桌面同一种排法（照 Hinge 手机版）。
   箭头按标题字号定尺寸：宽 1.5em，起点 x ≈ .7em，箭尖 x ≈ .7em + 1.3em */
.quote .arrow { display: block; font-size: 44px; width: 1.5em; height: auto; aspect-ratio: 120 / 140; margin: .2em 0 0 .7em; color: var(--accent); overflow: visible; }
.quote .arrow + .body { --fs-h: 44px; margin-top: -.6em; padding-left: calc(var(--fs-h) * 2.1); }
/* 贴边大图：浅暖底上一块平的界面截图（白底、1px 描边、无阴影无光晕），四边完整，底板四周留同样的边距 */
.shot { --pad: 24px; position: relative; display: flex; align-items: center; justify-content: center; padding: var(--pad); background: var(--tint); }
.screen { position: relative; width: 100%; max-width: 600px; background: #FFFFFF; border: 1px solid #E2DBD1; border-radius: 10px; color: var(--ink); font: 400 15px/1.5 var(--sans); }
.mock-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 48px; padding: 0 18px; border-bottom: 1px solid #EEE9E2; font: 600 14px/1 var(--sans); }
.mock-tag { font: 500 12px/1 var(--sans); color: var(--stone-3); padding: 5px 9px; border: 1px solid #E2DBD1; border-radius: 9999px; }
.mock-body { padding: 20px 18px 28px; }
.route-title { display: flex; align-items: center; gap: 10px; font: 600 17px/1.3 var(--sans); }
.route-arrow { display: inline-flex; color: var(--stone-2); }
.route-arrow svg { width: 18px; height: 18px; }
.route { margin-top: 18px; }
.route li { position: relative; display: flex; align-items: center; gap: 12px; height: 48px; }
.route li + li::before { content: ''; position: absolute; left: 10px; top: -14px; height: 28px; width: 1px; background: #DDD6CC; }
.route .dot { position: relative; z-index: 1; width: 21px; height: 21px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid #C9C1B6; background: #FFFFFF; color: #FFFEFD; }
.route .dot svg { width: 13px; height: 13px; }
.route .done .dot { background: var(--ink); border-color: var(--ink); }
.route .doing .dot { border-color: var(--accent); box-shadow: inset 0 0 0 4px #FFFFFF; background: var(--accent); }
.r-name { flex: 1; min-width: 0; }
.st { flex: none; font: 500 13px/1 var(--sans); color: var(--stone-3); }
.st-doing, .st-you { color: var(--accent); }
.mock-note { margin-top: 16px; padding-top: 14px; border-top: 1px solid #EEE9E2; font-size: 13px; color: var(--stone-3); }
.mock-note .u { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgb(26 26 26 / .3); }
.mock-label { font: 500 13px/1 var(--sans); color: var(--stone-3); margin-bottom: 12px; }
.mock-label ~ .mock-label { margin-top: 26px; }
.share { display: flex; gap: 3px; height: 10px; }
.share span { width: var(--w); border-radius: 9999px; background: var(--ink); }
.share span:nth-child(2) { background: var(--accent); }
.share span:nth-child(3) { background: #CFC7BC; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: 13px; color: var(--stone); }
.legend li::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--ink); }
.legend li:nth-child(2)::before { background: var(--accent); }
.legend li:nth-child(3)::before { background: #CFC7BC; }
.leads li, .gaps > li { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; border-top: 1px solid #EEE9E2; }
.leads li:last-child, .gaps > li:last-child { border-bottom: 1px solid #EEE9E2; }
.src { flex: none; font: 500 13px/1 var(--sans); color: var(--stone-3); }
.gaps > li.open { flex-wrap: wrap; padding: 14px 0 18px; }
.g-name { min-width: 0; }
.draft { flex: 1 0 100%; margin-top: 12px; padding: 14px 16px; border-radius: 8px; background: #F7F3EE; }
.draft-label { font: 500 12px/1 var(--sans); color: var(--stone-3); }
.draft-text { margin-top: 8px; }
.draft-actions { display: flex; gap: 8px; margin-top: 12px; }
.mini { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 9999px; border: 1px solid #D6CFC5; font: 600 13px/1 var(--sans); }
.mini-solid { background: var(--ink); border-color: var(--ink); color: #FFFEFD; }
@media (min-width: 768px) {
  .row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 0; min-height: min(100svh, 900px); }
  .row-r .row-text { padding: 0 clamp(40px, 7.9vw, 101px) 0 var(--edge); }
  .row-l .row-text { padding: 0 var(--edge) 0 clamp(40px, 7.9vw, 101px); }
  .quote .arrow { font-size: 64px; }
  .quote .arrow + .body { --fs-h: 64px; max-width: calc(var(--fs-h) * 2.1 + 22em); }
  .split .body { max-width: 24em; }
  .shot { --pad: clamp(32px, 4.4vw, 64px); }
  .row-r .shot { border-radius: var(--r) 0 0 var(--r); }
  .row-l .shot { border-radius: 0 var(--r) var(--r) 0; }
  .screen { font-size: 16px; }
  .mock-bar { height: 56px; padding: 0 24px; font-size: 15px; }
  .mock-tag { font-size: 13px; }
  .mock-body { padding: 28px 24px 36px; }
  .route-title { font-size: 19px; }
  .route li { height: 56px; }
  .route li + li::before { top: -17px; height: 34px; }
  .route .dot { width: 23px; height: 23px; }
  .route li + li::before { left: 11px; }
  :is(.st, .src, .mock-label) { font-size: 14px; }
  .mock-note, .legend { font-size: 14px; }
  .leads li, .gaps > li { min-height: 56px; }
  .share { height: 12px; }
  .mini { height: 36px; padding: 0 16px; font-size: 14px; }
}

/* ---------- 怎么做：暗带里的大字分步（照证言暗带：眉标在顶、细进度线、衬线大字），不用卡片 ---------- */
.steps { background: var(--dark); color: #FFFEFD; }
.steps .eyebrow { color: var(--accent-25); }
.step-list { display: grid; gap: 44px; margin-top: 40px; }
.step-list .bar { display: block; height: 2px; border-radius: 9999px; background: var(--line-dark); overflow: hidden; }
.step-list .fill { display: block; height: 100%; background: #FFFEFD; }
.motion .step-list .fill { translate: -100% 0; transition: translate 1.1s var(--ease); }
.motion .step-list .is-in .fill { translate: 0 0; }
.motion .step-list li:nth-child(2) .fill { transition-delay: .25s; }
.motion .step-list li:nth-child(3) .fill { transition-delay: .5s; }
.motion .step-list li:nth-child(4) .fill { transition-delay: .75s; }
.step-no { display: block; margin-top: 20px; font: 500 15px/1 var(--sans); color: #A3A3A3; font-variant-numeric: tabular-nums; }
.step-list h3 { margin-top: 16px; font: 600 30px/1.3 var(--serif); font-variation-settings: 'opsz' 60; letter-spacing: 0; text-wrap: balance; }
.step-list p { margin-top: 14px; font-size: 16px; line-height: 1.75; color: rgb(255 254 253 / .74); max-width: 26em; text-wrap: pretty; }
@media (min-width: 768px) {
  .step-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: calc(var(--gutter) * 2); row-gap: 72px; margin-top: 64px; }
  .step-list h3 { font-size: 38px; }
  .step-list p { font-size: 18px; }
}
@media (min-width: 1280px) { .step-list h3 { font-size: 42px; } }

/* ---------- 收尾：第二张照片 + 大标题 + 再给一次输入框 ---------- */
.closing { position: relative; min-height: 640px; height: 92svh; max-height: 900px; overflow: hidden; background: var(--dark); color: #FFFEFD; --shade: .3; }
.close-media { position: absolute; inset: 0; overflow: hidden; }
.close-par { position: absolute; inset: -8% 0; }
.close-par img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 50%; }
.close-text { position: absolute; left: 0; right: 0; bottom: 12vh; z-index: 2; }
@media (min-width: 768px) { .close-text { bottom: 15%; } .close-par img { object-position: 50% 50%; } }
.close-h { font: 700 clamp(30px, 8.375vw, 58px)/1.25 var(--serif); font-variation-settings: 'opsz' 60; letter-spacing: .005em; }
.close-h .nw { display: inline-block; }

/* ---------- 页脚（照 Upload Me 暗底的排法：logo 在左上、链接在右、版权压底）：只有一个链接，高度按内容收，不留大片空 ---------- */
.foot { background: var(--dark); color: #FFFEFD; padding: 32px 0 28px; }
/* 两栏：左 logo（上）+ 版权（下），右「登录」，右边缘对齐版心右边线（和顶栏「登录」同一条线） */
.foot-in { width: 100%; max-width: 1344px; margin: 0 auto; padding: 0 var(--margin); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; row-gap: 28px; column-gap: 32px; }
.foot-side { display: contents; }
.foot-brand { grid-column: 1; grid-row: 1; }
.foot-cols { grid-column: 2; grid-row: 1; }
.foot-base { grid-column: 1 / -1; grid-row: 2; }
.foot-brand .brand-i { width: 28px; height: 28px; }
.foot-cols ul { display: flex; flex-wrap: wrap; column-gap: 24px; }
.foot-cols a { display: inline-flex; align-items: center; min-height: 44px; font: 700 16px/24px var(--sans); transition: color .2s ease; }
@media (hover: hover) { .foot-cols a:hover { color: var(--accent-25); } }
.foot-base { font: 400 12px/12px var(--sans); color: #A3A3A3; }
@media (min-width: 768px) {
  /* 11-21 第三轮：只有一个链接，照 Upload Me 页脚「上留白 ≈ 下留白 × 2.25、版权行离内容一段」的比例按内容收：上 56 下 32、内容到版权 40 */
  .foot { padding: 56px 0 32px; }
  .foot-in { row-gap: 40px; }
  .foot-brand .brand-w { font-size: 24px; }
}

/* ---------- 进场动效（表五 #8 #9 #12 #14）：只在 html.motion 下设初态，减少动效时直接是终态 ---------- */
.motion [data-reveal="fade"] { opacity: 0; transition: opacity .75s var(--ease); }
.motion [data-reveal="up"] { opacity: 0; translate: 0 1rem; transition: opacity .75s var(--ease), translate .75s var(--ease); }
.motion [data-reveal].is-in { opacity: 1; translate: 0 0; }
.motion :is(.h-xl, .h-l)[data-reveal="up"] { transition-delay: .1s; }
.motion .row-text .body[data-reveal] { transition-delay: .2s; }
.motion .step-list li:nth-child(2)[data-reveal] { transition-delay: .1s; }
.motion .step-list li:nth-child(3)[data-reveal] { transition-delay: .2s; }
.motion .step-list li:nth-child(4)[data-reveal] { transition-delay: .3s; }
.motion .closing .hero-cta[data-reveal] { transition-delay: .2s; }
.motion .shot[data-reveal] { transition: opacity .7s var(--ease-std); }
/* 视差移整块底板（不移底板里的界面图，四周边距保持一样） */
.motion .shot { translate: 0 var(--par, 0px); }
.motion .close-par { translate: 0 var(--par, 0px); }
/* 首屏开场：照片自下而上揭开 + 内层位移、缩放；标题逐行上浮；输入框随后；顶栏落下 */
.motion .hero-media { animation: reveal 1.4s var(--ease) .1s both; }
.motion .hero-shift { animation: settle 1.4s var(--ease) .1s both; }
.motion .hero-h :is(.line, .seg) { animation: rise .9s var(--ease) both; }
.motion .hero-h .line { animation-delay: 1.3s; }
.motion .hero-h .s2 { animation-delay: 1.5s; }
.motion .hero-h .s3 { animation-delay: 1.7s; }
@media (max-width: 767px) { .motion .hero-h .s3m { animation-delay: 1.7s; } }
.motion .hero .hero-cta { animation: rise .9s var(--ease) 1.9s both; }
.motion .top { animation: drop .6s var(--ease) 2.1s backwards; }
.motion .hero-text .wrap { translate: 0 var(--par, 0px); }
@keyframes reveal { from { clip-path: inset(100% 0 0); } to { clip-path: inset(0); } }
@keyframes settle { from { translate: 0 50vh; scale: 1.5; } to { translate: 0 0; scale: 1; } }
@keyframes rise { from { opacity: 0; translate: 0 .6em; } to { opacity: 1; translate: 0 0; } }
@keyframes drop { from { translate: 0 -100%; } to { translate: 0 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ink { stroke-dashoffset: 0 !important; }
}
