/* 绘裳官网样式，与灵梭官网（lingsuo-site）同一套版式与视觉语言。
   原注释：版式参照用户指定的影刀官网（浅灰底、居中大标题、渐变关键词、白色大圆角产品卡、深色收尾）；
   配色取自 brand/README.md：深蓝 #1E4A97、蓝 #4565B6、淡紫 #A991C6、蜜桃 #F4C3AE */

:root {
  --navy: #1E4A97;
  --blue: #4565B6;
  --lilac: #A991C6;
  --peach: #F4C3AE;
  --peach-deep: #E3967F;

  --bg: #F5F6FA;
  --surface: #FFFFFF;
  --ink: #0E1430;
  --text: #2B3350;
  --muted: #6B7390;
  --line: #E4E6EF;
  --grad: linear-gradient(90deg, var(--navy), var(--blue) 35%, #8D78C2 68%, var(--peach-deep));
  /* 两倍宽的往返渐变：静止时显示前半段（与 --grad 一致），动效里左右缓慢流动 */
  --grad-flow: linear-gradient(90deg, var(--navy), var(--blue) 17%, #8D78C2 34%, var(--peach-deep) 50%, #8D78C2 66%, var(--blue) 83%, var(--navy));
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(14, 20, 48, .04), 0 18px 48px -24px rgba(14, 20, 48, .22);

  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif;
  --radius: 28px;
  --gutter: 16px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.75 var(--sans); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); text-underline-offset: 3px; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; line-height: 1.3; margin: 0; letter-spacing: .01em; }
p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 99; top: 8px; left: 8px; padding: 8px 14px; background: var(--surface); border-radius: 8px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.grad { background: var(--grad-flow); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 42px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { min-height: 36px; padding: 0 18px; font-size: 14px; }
.btn--lg { min-height: 50px; padding: 0 30px; font-size: 16px; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #1E2750; }
.btn--line { background: rgba(255, 255, 255, .7); color: var(--ink); border-color: #D5D8E4; }
.btn--line:hover { border-color: var(--ink); }
.btn--white { background: #fff; color: var(--ink); }
.btn--ghost-white { color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--ghost-white:hover { border-color: #fff; }

/* 顶栏 */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(245, 246, 250, .82);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid rgba(14, 20, 48, .06);
}
.topbar { transition: box-shadow .3s ease, background .3s ease; }
.topbar.is-scrolled { background: rgba(255, 255, 255, .86); box-shadow: 0 8px 30px -18px rgba(14, 20, 48, .25); }
.topbar__inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand img { height: 50px; width: auto; margin-left: -6px; }
.nav { flex: 1; display: flex; align-items: center; }
.nav__links { display: flex; gap: 34px; margin-inline: auto; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; }
.nav__links a:hover, .nav__login:hover { color: var(--blue); }
.nav__account { display: flex; align-items: center; gap: 22px; }
.nav__login { color: var(--muted) !important; }
.nav .btn--dark { color: #fff; }
.nav-toggle { display: none; }

/* 首屏 */
.hero { position: relative; z-index: 0; overflow: hidden; padding: 128px 0 72px; text-align: center; }
/* 柔光斑（动效里缓慢漂移） */
.hero::after {
  content: ""; position: absolute; inset: -10%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 55% at 82% 18%, rgba(169, 145, 198, .24), transparent 70%),
    radial-gradient(34% 50% at 16% 70%, rgba(69, 101, 182, .15), transparent 70%),
    radial-gradient(28% 42% at 62% 92%, rgba(244, 195, 174, .32), transparent 70%);
}
/* 淡淡的网格，四周渐隐 */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(14, 20, 48, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(14, 20, 48, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(60% 55% at 50% 40%, #000, transparent 75%);
  mask-image: radial-gradient(60% 55% at 50% 40%, #000, transparent 75%);
}
.hero__inner { position: relative; }
.hero h1 .line { display: block; }
.hero__kicker { font-size: 15px; color: var(--ink); letter-spacing: .04em; margin-bottom: 18px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 62px); letter-spacing: .02em; line-height: 1.22; }
.hero__lead { max-width: 46em; margin: 26px auto 0; font-size: clamp(16px, 1.6vw, 18px); color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }

.platforms { position: relative; display: flex; align-items: center; justify-content: center; gap: 18px 44px; flex-wrap: wrap; margin-top: 96px; }
.platforms__label { font-size: 13px; color: var(--muted); }
.platforms__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; }
.platforms__list li { font-size: 20px; font-weight: 700; color: #8A90A8; letter-spacing: .04em; }
.platforms__note { position: relative; margin-top: 14px; font-size: 12px; color: #9AA0B6; }

/* 分段 */
.section { padding: 112px 0; }
.section--white { background: var(--surface); }
.head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.head h2 { font-size: clamp(28px, 3.6vw, 42px); }
.head > p:not(.tag) { margin-top: 18px; color: var(--muted); font-size: 17px; }

/* 标签：渐变描边胶囊 */
.tag {
  display: inline-flex; align-items: center; gap: 4px; padding: 5px 14px; border-radius: 999px;
  font-size: 13px; color: var(--muted);
  border: 1px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, rgba(69, 101, 182, .45), rgba(169, 145, 198, .5), rgba(227, 150, 127, .5)) border-box;
}
.tag b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }
.tag--center { margin-bottom: 20px; }

/* 产品大卡 */
.pcard {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center;
  padding: 64px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow);
}
/* 产品卡的锚点放在卡片前一个不做出场动画的空元素上：卡片出场前下移 36px，锚点放在卡片上会让跳转停在顶栏下面 */
.anchor { display: block; height: 0; }
.pcard + .anchor { margin-top: 32px; }
.pcard--rev .pcard__copy { order: 2; }
.pcard h3 { margin: 22px 0 26px; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.35; }
.points { display: grid; gap: 14px; margin-bottom: 34px; }
.points li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.points li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.points b { color: var(--ink); font-weight: 600; }

/* 示意图：渐变底 + 白色窗口（纯示意，不含真实数据） */
.mock { position: relative; min-height: 380px; padding: 44px 40px; border-radius: 22px; display: grid; place-items: center; overflow: hidden; }
.mock--lilac { background: linear-gradient(135deg, #EAE6FA, #F6E9F0 55%, #FCE7DD); }
.mock--blue { background: linear-gradient(135deg, #E3ECFF, #EAE6FA 60%, #F2EAF6); }
.mock--peach { background: linear-gradient(135deg, #FDEBE2, #F6E8F2 55%, #E8E7FA); }
.win { width: 100%; max-width: 440px; border-radius: 16px; background: #fff; box-shadow: 0 24px 60px -24px rgba(30, 40, 90, .35); overflow: hidden; }
.win__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.win__bar i { width: 9px; height: 9px; border-radius: 50%; background: #E2E4EC; }
.win__bar span { margin-left: 8px; }
.flow { padding: 10px 14px 14px; display: grid; gap: 4px; }
.flow li { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 10px; font-size: 14px; }
.flow li:nth-child(4) { background: #FFF6F1; }
.flow__ic { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 9px; background: #EEF1FA; color: var(--navy); font-size: 13px; font-weight: 700; }
.flow b { font-weight: 600; color: var(--ink); }
.st { margin-left: auto; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-style: normal; font-weight: 600; white-space: nowrap; }
.st--ok { background: #E8F6EE; color: #1F8A52; }
.st--run { position: relative; padding-left: 22px; background: #E8EEFC; color: var(--blue); }
.st--run::before { content: ""; position: absolute; left: 10px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: currentColor; }
.st--you { background: #FDEDE5; color: #C2613F; }

.chat { padding: 18px; display: grid; gap: 12px; font-size: 14px; }
.chat__me { justify-self: end; max-width: 80%; padding: 10px 14px; border-radius: 14px 14px 4px 14px; background: var(--ink); color: #fff; }
.chat__ai { max-width: 88%; padding: 12px 14px; border-radius: 14px 14px 14px 4px; background: #F3F4F9; color: var(--text); }
.chat__ai ul { margin-top: 8px; display: grid; gap: 6px; }
.chat__ai li { position: relative; padding-left: 24px; }
.chat__ai li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 14px; border-radius: 50%; background: #1F8A52; }
.chat__ai li::after { content: ""; position: absolute; left: 6px; top: .72em; width: 6px; height: 3px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.chat__confirm { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #FFF6F1; border: 1px solid #F7D5C6; }
.chat__confirm span { color: var(--ink); font-weight: 600; }
.chat__confirm b { flex: none; padding: 6px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; }

.feed { width: 100%; max-width: 420px; display: grid; gap: 12px; }
.feed__item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .92); box-shadow: 0 14px 34px -22px rgba(30, 40, 90, .4); font-size: 14px; }
.feed__item:nth-child(even) { margin-left: 28px; }
.feed__item b { display: block; color: var(--ink); font-weight: 600; }
.feed__item small { color: var(--muted); font-size: 12px; }
.feed__ic { width: 36px; height: 36px; flex: none; border-radius: 10px; }
.feed__ic--a { background: linear-gradient(135deg, var(--navy), var(--blue)); }
.feed__ic--b { background: linear-gradient(135deg, var(--blue), var(--lilac)); }
.feed__ic--c { background: linear-gradient(135deg, var(--lilac), var(--peach-deep)); }
.feed__ic--d { background: linear-gradient(135deg, var(--peach-deep), var(--peach)); }

/* 一句话主张 */
.statement { padding: 24px 0 112px; text-align: center; }
.statement p { font-size: clamp(20px, 2.4vw, 28px); line-height: 1.7; color: var(--ink); font-weight: 600; }

/* 能解放什么：渐变竖卡 */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why__card { position: relative; min-height: 340px; padding: 32px 28px; border-radius: 24px; overflow: hidden; }
.why__card h3 { font-size: 21px; margin-bottom: 12px; }
.why__card p { position: relative; z-index: 1; font-size: 15px; color: var(--text); }
.why__card--1 { background: linear-gradient(160deg, #E7E3FA, #D9D2F3 60%, #CFC5EE); }
.why__card--2 { background: linear-gradient(160deg, #FDEDE4, #FAD9C9 60%, #F6C9B5); }
.why__card--3 { background: linear-gradient(160deg, #E4ECFE, #CFDDFB 60%, #BED0F7); }
.why__card--4 { background: linear-gradient(160deg, #F2E8F6, #E6D6EF 60%, #DCC8E8); }
.why__big { position: absolute; right: 18px; bottom: -8px; font-size: 104px; font-weight: 800; line-height: 1; color: rgba(255, 255, 255, .75); letter-spacing: -.02em; }
.why__glyph { position: absolute; right: 22px; bottom: 22px; width: 96px; height: 96px; color: rgba(255, 255, 255, .85); }

/* 怎么用：浅蓝渐变色带 */
.band { background: linear-gradient(180deg, #DCE8FF, #E9E6FB 55%, var(--bg)); }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trio__card { padding: 32px 30px; border-radius: 22px; background: rgba(255, 255, 255, .72); border: 1px solid rgba(255, 255, 255, .9); backdrop-filter: blur(6px); }
.trio__card h3 { font-size: 19px; margin: 22px 0 10px; }
.trio__card p { font-size: 15px; color: var(--muted); }
.ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: #fff; }
.ic svg { width: 22px; height: 22px; }
.ic--navy { background: linear-gradient(135deg, var(--navy), var(--blue)); }
.ic--lilac { background: linear-gradient(135deg, var(--blue), var(--lilac)); }
.ic--peach { background: linear-gradient(135deg, var(--lilac), var(--peach-deep)); }

/* 收尾号召 */
.cta {
  padding: 120px 0; text-align: center; color: #fff;
  background:
    radial-gradient(45% 90% at 85% 100%, rgba(227, 150, 127, .55), transparent 70%),
    radial-gradient(50% 90% at 15% 0%, rgba(69, 101, 182, .6), transparent 70%),
    linear-gradient(120deg, #0E1A4A, #2B2A6E 55%, #5B3F86);
}
.cta h2 { color: #fff; font-size: clamp(30px, 4vw, 48px); line-height: 1.3; }
/* 两行左右错开：上一行偏左、下一行偏右 */
.cta__title span { display: block; width: fit-content; margin-inline: auto; }
.cta__title span:first-child { transform: translateX(-1.6em); }
.cta__title span:last-child { transform: translateX(1.6em); }

/* 页脚 */
.footer { background: #0B0E1C; color: #9AA2BC; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.8fr; gap: 32px; padding: 64px 0 48px; }
.footer__brand img { height: 52px; width: auto; margin-left: -6px; }
.footer__brand p { margin-top: 10px; }
.footer h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.footer__grid a { display: block; color: #9AA2BC; text-decoration: none; margin-bottom: 10px; }
.footer__grid p { margin-bottom: 10px; }
.footer__grid p a { display: inline; margin: 0; color: #DCE1F0; }
.footer a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }
.footer__bottom a { color: #9AA2BC; text-decoration: none; }

.notfound { min-height: 64vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound img { width: 96px; margin: 0 auto 20px; }
.notfound h1 { font-size: 32px; }
.notfound p { margin: 14px 0 28px; color: var(--muted); }

/* 平板：折叠菜单、卡片单栏 */
@media (max-width: 960px) {
  .nav-toggle {
    display: grid; place-items: center; width: 44px; height: 44px; margin: 0 -10px 0 auto;
    border: 0; background: none; color: var(--ink); cursor: pointer;
  }
  .nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; content: ""; }
  .nav-toggle__bar::before { position: absolute; top: -6px; }
  .nav-toggle__bar::after { position: absolute; top: 6px; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; padding: 6px var(--gutter) 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav.is-open { display: flex; }
  .nav__links { flex-direction: column; gap: 0; margin: 0; }
  .nav__links a { padding: 12px 0; font-size: 16px; }
  .nav__account { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); gap: 16px; }
  .nav__account .btn { flex: 1; min-height: 44px; }

  .hero { padding: 88px 0 56px; }
  .platforms { margin-top: 64px; }
  .section { padding: 80px 0; }
  .pcard { grid-template-columns: 1fr; gap: 36px; padding: 40px; }
  .pcard--rev .pcard__copy { order: 0; }
  .why { grid-template-columns: 1fr 1fr; }
  .trio { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand, #contact { grid-column: 1 / -1; }
  .br-wide { display: none; }
}

/* 手机 */
@media (max-width: 680px) {
  .topbar__inner { height: 60px; }
  .brand img { height: 44px; }
  .hero { padding: 64px 0 44px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .platforms { flex-direction: column; gap: 14px; margin-top: 52px; }
  .platforms__list { gap: 8px 22px; }
  .platforms__list li { font-size: 17px; }
  .section { padding: 64px 0; }
  .head { margin-bottom: 36px; }
  .head > p:not(.tag) { font-size: 16px; }
  .pcard { padding: 28px 20px; border-radius: 22px; }
  .mock { min-height: 0; padding: 24px 16px; }
  .feed__item:nth-child(even) { margin-left: 0; }
  .statement { padding: 8px 0 72px; }
  .why { grid-template-columns: 1fr; }
  .why__card { min-height: 240px; }
  .cta { padding: 80px 0; }
  .cta__title span:first-child { transform: translateX(-.7em); }
  .cta__title span:last-child { transform: translateX(.7em); }
  .footer__grid { grid-template-columns: 1fr 1fr; padding-top: 48px; }
}

/* ============ 动效 ============
   只在访客没有开启「减少动态效果」时启用；待出场的内容只在 html.js（脚本已就绪）时先隐藏。 */
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { opacity: 0; transform: translateY(26px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
  @keyframes flow { from { background-position: 0% 0; } to { background-position: 100% 0; } }
  @keyframes drift { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-3%, 2%, 0) scale(1.06); } 100% { transform: translate3d(2%, -2%, 0) scale(1.02); } }
  @keyframes slide-l { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
  @keyframes slide-r { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
  @keyframes pop { 0% { opacity: 0; transform: scale(.6); } 70% { opacity: 1; transform: scale(1.08); } 100% { opacity: 1; transform: none; } }
  @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
  @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(69, 101, 182, .55); } 100% { box-shadow: 0 0 0 7px rgba(69, 101, 182, 0); } }
  @keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(227, 150, 127, .45); } 100% { box-shadow: 0 0 0 12px rgba(227, 150, 127, 0); } }
  @keyframes pan { from { background-position: 0% 30%; } to { background-position: 100% 70%; } }

  /* 进入页面：首屏依次出场 */
  .hero::before { animation: fade 1.6s ease both; }
  .hero::after { animation: drift 18s ease-in-out infinite alternate; }
  .hero__kicker, .hero h1 .line, .hero__lead, .hero__inner > .hero__actions, .platforms__label, .platforms__list li, .platforms__note { animation: rise .9s var(--ease) both; }
  .hero__kicker { animation-delay: .05s; }
  .hero h1 .line:nth-child(1) { animation-delay: .15s; }
  .hero h1 .line:nth-child(2) { animation-delay: .3s; }
  .hero__lead { animation-delay: .48s; }
  .hero__inner > .hero__actions { animation-delay: .62s; }
  .platforms__label { animation-delay: .85s; }
  .platforms__list li:nth-child(1) { animation-delay: .9s; }
  .platforms__list li:nth-child(2) { animation-delay: .96s; }
  .platforms__list li:nth-child(3) { animation-delay: 1.02s; }
  .platforms__list li:nth-child(4) { animation-delay: 1.08s; }
  .platforms__list li:nth-child(5) { animation-delay: 1.14s; }
  .platforms__list li:nth-child(6) { animation-delay: 1.2s; }
  .platforms__list li:nth-child(7) { animation-delay: 1.26s; }
  .platforms__note { animation-delay: 1.35s; }
  /* 渐变关键词左右缓慢流动 */
  .grad { animation: flow 7s ease-in-out 1.2s infinite alternate; }

  /* 滑动进入：通用上浮 */
  .js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
  .js [data-reveal="zoom"] { transform: translateY(28px) scale(.96); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  /* 产品卡：文案依次出现，示意界面从侧面滑入，里面的内容按顺序动起来 */
  .js .pcard__copy > * { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .pcard.is-in .pcard__copy > * { opacity: 1; transform: none; }
  .js .pcard.is-in .pcard__copy > :nth-child(1) { transition-delay: .15s; }
  .js .pcard.is-in .pcard__copy > :nth-child(2) { transition-delay: .25s; }
  .js .pcard.is-in .pcard__copy > :nth-child(3) { transition-delay: .38s; }
  .js .pcard.is-in .pcard__copy > :nth-child(4) { transition-delay: .52s; }
  .js .pcard .mock { opacity: 0; transform: translateX(48px); transition: opacity 1s var(--ease) .2s, transform 1s var(--ease) .2s; }
  .js .pcard--rev .mock { transform: translateX(-48px); }
  .js .pcard.is-in .mock { opacity: 1; transform: none; }
  .js .pcard.is-in .win, .js .pcard.is-in .feed { animation: float 7s ease-in-out 2.4s infinite; }

  .js .flow li, .js .flow .st, .js .chat > *, .js .chat__ai li, .js .feed__item { opacity: 0; }
  .js .is-in .flow li { animation: slide-l .5s var(--ease) forwards; }
  .js .is-in .flow li:nth-child(1) { animation-delay: .55s; }
  .js .is-in .flow li:nth-child(2) { animation-delay: .67s; }
  .js .is-in .flow li:nth-child(3) { animation-delay: .79s; }
  .js .is-in .flow li:nth-child(4) { animation-delay: .91s; }
  .js .is-in .flow li:nth-child(5) { animation-delay: 1.03s; }
  .js .is-in .flow .st { animation: pop .45s var(--ease) forwards; }
  .js .is-in .flow li:nth-child(1) .st { animation-delay: .85s; }
  .js .is-in .flow li:nth-child(2) .st { animation-delay: .97s; }
  .js .is-in .flow li:nth-child(3) .st { animation-delay: 1.09s; }
  .js .is-in .flow li:nth-child(5) .st { animation-delay: 1.33s; }
  /* 「待你确认」弹出后闪几下提示圈 */
  .js .is-in .flow li:nth-child(4) .st { animation: pop .45s var(--ease) 1.21s forwards, ring 1.6s ease-out 1.8s 3; }
  .st--run::before { animation: pulse 1.4s ease-out infinite; }

  .js .is-in .chat__me { animation: slide-r .5s var(--ease) .6s forwards; }
  .js .is-in .chat__ai { animation: slide-l .5s var(--ease) 1s forwards; }
  .js .is-in .chat__ai li { animation: slide-l .4s var(--ease) forwards; }
  .js .is-in .chat__ai li:nth-child(1) { animation-delay: 1.35s; }
  .js .is-in .chat__ai li:nth-child(2) { animation-delay: 1.6s; }
  .js .is-in .chat__ai li:nth-child(3) { animation-delay: 1.85s; }
  .js .is-in .chat__confirm { animation: rise .6s var(--ease) 2.2s forwards, ring 1.6s ease-out 2.8s 2; }

  .js .is-in .feed__item { animation: slide-r .55s var(--ease) forwards; }
  .js .is-in .feed__item:nth-child(1) { animation-delay: .55s; }
  .js .is-in .feed__item:nth-child(2) { animation-delay: .7s; }
  .js .is-in .feed__item:nth-child(3) { animation-delay: .85s; }
  .js .is-in .feed__item:nth-child(4) { animation-delay: 1s; }

  /* 渐变竖卡：图形放大出场，悬停上浮 */
  .js .why__glyph, .js .why__big { opacity: 0; transform: scale(.7) rotate(-8deg); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0s) + .35s); }
  .js .why__card.is-in .why__glyph, .js .why__card.is-in .why__big { opacity: 1; transform: none; }
  .why__card { transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
  .why .why__card.is-in:hover, html:not(.js) .why__card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -28px rgba(14, 20, 48, .35); transition-delay: 0s; }

  /* 企业定制：图标弹出，悬停上浮 */
  .js .trio__card .ic { opacity: 0; }
  .js .trio__card.is-in .ic { animation: pop .5s var(--ease) forwards; animation-delay: calc(var(--d, 0s) + .3s); }
  .trio__card { transition: transform .4s var(--ease), background .4s ease; }
  .trio .trio__card.is-in:hover, html:not(.js) .trio__card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .92); transition-delay: 0s; }


  /* 收尾：背景缓慢流动 */
  .cta { background-size: 180% 180%; animation: pan 16s ease-in-out infinite alternate; }

  .btn--dark:hover { box-shadow: 0 10px 24px -12px rgba(14, 20, 48, .6); }
}

/* 窄屏不做左右滑入，避免出现横向滚动 */
@media (prefers-reduced-motion: no-preference) and (max-width: 960px) {
  .js .pcard .mock, .js .pcard--rev .mock { transform: translateY(32px); }
}

/* ===================== 绘裳专属组件 ===================== */

/* 品牌：裙装标志 + 「绘裳 VESTARA」文字（绘裳暂无矢量字标，用图标 + 文字组合） */
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.brand img { height: 40px; width: 40px; margin: 0; }
.brand__name { display: flex; flex-direction: column; line-height: 1.05; font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif; font-size: 22px; font-weight: 700; letter-spacing: .12em; color: #1D3B73; }
.brand__name small { margin-top: 3px; font-family: Georgia, "Times New Roman", serif; font-size: 9.5px; font-weight: 400; letter-spacing: .38em; color: #6B7390; }
.brand--dark .brand__name { color: #fff; }
.brand--dark .brand__name small { color: #9AA2BC; }
.footer__brand .brand img { height: 44px; width: 44px; filter: drop-shadow(0 0 10px rgba(169, 145, 198, .35)); }

/* 首屏真实样例：输入 → AI 上身 → 输出 */
.show {
  position: relative; display: grid; grid-template-columns: auto auto 1fr; gap: 28px; align-items: center;
  margin-top: 72px; padding: 32px; border-radius: var(--radius); background: rgba(255, 255, 255, .78);
  box-shadow: var(--shadow); border: 1px solid rgba(255, 255, 255, .9); backdrop-filter: blur(8px); text-align: left;
}
.show figure { margin: 0; overflow: hidden; border-radius: 14px; background: #EEF0F6; }
.show img { width: 100%; height: 100%; object-fit: cover; }
.show__label { margin-bottom: 12px; font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.show__garments { display: grid; grid-template-columns: repeat(2, 104px); gap: 10px; }
.show__garments figure { height: 168px; }
.show__arrow { display: grid; justify-items: center; gap: 6px; color: var(--blue); }
.show__arrow b { font-size: 14px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.show__arrow svg { width: 64px; height: 16px; }
.show__spark { width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, var(--peach) 30%, var(--lilac) 65%, var(--blue)); box-shadow: 0 0 24px rgba(169, 145, 198, .7); }
.show__looks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.show__looks figure { aspect-ratio: 1; }
.show__note { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }

/* 产品卡示意：上身图画廊 */
.gallery { position: relative; width: 100%; max-width: 460px; display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; }
.gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: 14px; aspect-ratio: 1; box-shadow: 0 18px 40px -22px rgba(30, 40, 90, .45); }
.gallery__main { grid-row: 1 / 3; aspect-ratio: auto !important; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; left: 8px; bottom: 8px; padding: 2px 10px; border-radius: 999px; background: rgba(14, 20, 48, .62); color: #fff; font-size: 12px; }
.gallery__badge { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: 0 10px 26px -14px rgba(30, 40, 90, .5); }
.gallery__badge i { width: 8px; height: 8px; border-radius: 50%; background: #1F8A52; }

/* 产品卡示意：多尺寸裁图 */
.crop { width: 100%; max-width: 460px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; align-items: center; }
.crop__stage { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 40px -22px rgba(30, 40, 90, .45); }
.crop__stage img { width: 100%; height: 100%; object-fit: cover; }
.crop__frame { position: absolute; border: 2px dashed #fff; border-radius: 6px; box-shadow: 0 0 0 999px rgba(14, 20, 48, .18); }
.crop__frame em { position: absolute; left: 6px; top: 6px; padding: 1px 8px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 11px; font-style: normal; font-weight: 600; }
.crop__frame--a { left: 22%; top: 4%; width: 52%; height: 92%; }
.crop__frame--b { left: 10%; top: 18%; width: 64%; height: 64%; border-color: var(--peach); box-shadow: none; }
.crop__frame--b em { top: auto; bottom: 6px; background: var(--peach); }
.crop__sizes { display: grid; gap: 8px; }
.crop__sizes li { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: #fff; font-size: 13px; box-shadow: 0 10px 26px -20px rgba(30, 40, 90, .5); }
.crop__sizes b { color: var(--ink); font-weight: 600; white-space: nowrap; }

/* 能解放什么：竖卡里的小标题和「以前」 */
.why__card .why__kicker { font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--navy); margin-bottom: 10px; }
.why__card h3 { font-size: 20px; }
.why__card .why__was { margin-bottom: 10px; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, .55); font-size: 14px; color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(107, 115, 144, .5); }
.why__card { min-height: 360px; padding-bottom: 120px; }

/* 怎么用：序号图标 */
.trio .ic { font-size: 20px; font-weight: 800; }

/* 适合谁 + 为什么能落地 */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.fit h2 { margin-top: 20px; font-size: clamp(26px, 3vw, 36px); }
.checks { margin-top: 30px; display: grid; gap: 16px; }
.checks li { position: relative; padding: 16px 18px 16px 52px; border-radius: 16px; background: var(--bg); color: var(--muted); font-size: 15px; }
.checks li::before { content: ""; position: absolute; left: 18px; top: 19px; width: 20px; height: 20px; border-radius: 50%; background: var(--grad); }
.checks li::after { content: ""; position: absolute; left: 24px; top: 24px; width: 8px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.checks b { color: var(--ink); }
.proof { margin-top: 24px; display: grid; gap: 14px; }
.proof li { display: flex; gap: 18px; padding: 24px; border-radius: 20px; background: linear-gradient(160deg, #F3F5FC, #F6F1FA); }
.proof .ic { flex: none; }
.proof h3 { font-size: 18px; margin-bottom: 6px; }
.proof p { font-size: 15px; color: var(--muted); }

/* 咨询表单：左侧说明，右侧白卡表单 */
.consult {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start;
  padding: 64px; border-radius: var(--radius);
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(69, 101, 182, .14), transparent 70%),
    radial-gradient(50% 70% at 100% 100%, rgba(244, 195, 174, .32), transparent 70%),
    linear-gradient(160deg, #EEF2FC, #F3F0FA);
}
.consult__copy h2 { margin-top: 20px; font-size: clamp(28px, 3.2vw, 38px); }
.consult__copy > p:not(.tag) { margin-top: 18px; color: var(--muted); }
.consult__steps { margin: 30px 0 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 18px; }
.consult__steps li { position: relative; padding-left: 46px; counter-increment: step; }
.consult__steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%; background: var(--surface); color: var(--navy);
  font-size: 14px; font-weight: 700; box-shadow: 0 4px 12px -6px rgba(30, 74, 151, .45);
}
.consult__steps b { display: block; color: var(--ink); font-size: 16px; line-height: 30px; }
.consult__steps span { display: block; color: var(--muted); font-size: 14px; }
.consult__mail { margin-top: 30px; font-size: 14px; color: var(--muted); }

.consult__form, .consult__done { padding: 36px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); }
.consult__form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field > span, .field legend { padding: 0; font-size: 14px; font-weight: 600; color: var(--ink); }
.field i { color: var(--peach-deep); font-style: normal; }
.field input, .field textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px;
  background: #FAFBFD; color: var(--ink); font: inherit; font-size: 15px; line-height: 1.5;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input::placeholder, .field textarea::placeholder { color: #A3A9BE; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(69, 101, 182, .14); }
.field input[aria-invalid="true"] { border-color: var(--peach-deep); box-shadow: 0 0 0 4px rgba(227, 150, 127, .16); }
.field legend { margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-block; padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; color: var(--text); background: #FAFBFD; transition: all .15s ease;
}
.chips label:hover span { border-color: #C9CEDF; }
.chips input:checked + span { border-color: transparent; background: var(--ink); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.6; color: var(--muted); cursor: pointer; }
.consent input { flex: none; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--ink); }
.consult__error { padding: 10px 14px; border-radius: 10px; background: #FDF0EB; color: #A2482F; font-size: 14px; }
.consult__submit { width: 100%; }
.consult__submit[disabled] { opacity: .6; cursor: progress; transform: none; }
.consult__note { font-size: 13px; color: var(--muted); }
.consult__done { display: grid; justify-items: center; align-content: center; gap: 12px; min-height: 420px; text-align: center; }
.consult__form[hidden], .consult__done[hidden] { display: none; }
.consult__done:focus { outline: none; }
.consult__done p { max-width: 24em; color: var(--muted); }
.consult__check { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 6px; border-radius: 50%; color: #fff; background: var(--grad); }
.consult__check svg { width: 30px; height: 30px; }

/* 政策页 */
.doc { padding: 56px 0 96px; }
.doc .wrap { max-width: 880px; padding: 56px 64px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.doc h1 { font-size: clamp(28px, 4vw, 38px); }
.doc__meta { margin-top: 12px; color: var(--muted); font-size: 14px; }
.doc h2 { font-size: 21px; margin: 44px 0 14px; }
.doc h3 { font-size: 17px; margin: 24px 0 8px; }
.doc p, .doc li { color: var(--text); }
.doc p + p { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 1.4em; list-style: disc; }
.doc ol { list-style: decimal; }
.doc li + li { margin-top: 6px; }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); }
.doc th { background: var(--bg); color: var(--ink); font-weight: 600; }
.doc .table-wrap { overflow-x: auto; }
.doc__back { display: inline-block; margin-bottom: 26px; font-size: 14px; text-decoration: none; color: var(--muted); }
.doc__back:hover { color: var(--ink); }

.footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr 1.4fr; }

@media (max-width: 960px) {
  .show { grid-template-columns: 1fr; gap: 18px; padding: 24px; }
  .show__garments { grid-template-columns: repeat(2, 1fr); max-width: 320px; }
  .show__garments figure { height: 200px; }
  .show__arrow { grid-auto-flow: column; justify-content: start; align-items: center; }
  .show__arrow svg { transform: rotate(90deg); width: 40px; }
  .fit { grid-template-columns: 1fr; gap: 48px; }
  .consult { grid-template-columns: 1fr; gap: 36px; padding: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__grid > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .show { margin-top: 48px; padding: 18px; border-radius: 22px; }
  .show__looks { gap: 8px; }
  .gallery { gap: 8px; }
  .crop { grid-template-columns: 1fr; }
  .crop__sizes { grid-template-columns: 1fr 1fr; }
  .crop__sizes li { flex-wrap: wrap; gap: 4px; }
  .crop__sizes .st { margin-left: 0; }
  .consult { padding: 28px 16px; border-radius: 22px; }
  .consult__form, .consult__done { padding: 24px 18px; }
  .field-row { grid-template-columns: 1fr; }
  .doc { padding: 24px 0 64px; }
  .doc .wrap { padding: 32px 20px; border-radius: 20px; }
  .brand__name { font-size: 20px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .why__card { min-height: 0; }
}

/* 动效：样例条和示意图 */
@media (prefers-reduced-motion: no-preference) {
  @keyframes glow { 0%, 100% { box-shadow: 0 0 18px rgba(169, 145, 198, .55); transform: scale(1); } 50% { box-shadow: 0 0 34px rgba(244, 195, 174, .9); transform: scale(1.12); } }
  .show__spark { animation: glow 2.6s ease-in-out infinite; }
  .js .show__looks figure, .js .gallery figure, .js .crop__frame, .js .crop__sizes li { opacity: 0; }
  .js .show.is-in .show__looks figure { animation: pop .6s var(--ease) forwards; }
  .js .show.is-in .show__looks figure:nth-child(1) { animation-delay: .5s; }
  .js .show.is-in .show__looks figure:nth-child(2) { animation-delay: .7s; }
  .js .show.is-in .show__looks figure:nth-child(3) { animation-delay: .9s; }
  .js .is-in .gallery figure { animation: rise .7s var(--ease) forwards; }
  .js .is-in .gallery figure:nth-child(1) { animation-delay: .5s; }
  .js .is-in .gallery figure:nth-child(2) { animation-delay: .7s; }
  .js .is-in .gallery figure:nth-child(3) { animation-delay: .85s; }
  .js .is-in .crop__frame { animation: pop .5s var(--ease) forwards; }
  .js .is-in .crop__frame--a { animation-delay: .7s; }
  .js .is-in .crop__frame--b { animation-delay: 1s; }
  .js .is-in .crop__sizes li { animation: slide-r .5s var(--ease) forwards; }
  .js .is-in .crop__sizes li:nth-child(1) { animation-delay: .6s; }
  .js .is-in .crop__sizes li:nth-child(2) { animation-delay: .75s; }
  .js .is-in .crop__sizes li:nth-child(3) { animation-delay: .9s; }
  .js .is-in .crop__sizes li:nth-child(4) { animation-delay: 1.05s; }
  .js .pcard.is-in .gallery, .js .pcard.is-in .crop { animation: float 7s ease-in-out 2.4s infinite; }
  /* 咨询表单：说明和表单依次上浮；提交成功的对勾弹出 */
  .js .consult__copy, .js .consult__form { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .consult.is-in .consult__copy { opacity: 1; transform: none; transition-delay: .1s; }
  .js .consult.is-in .consult__form { opacity: 1; transform: none; transition-delay: .25s; }
  .consult__done:not([hidden]) .consult__check { animation: pop .5s var(--ease) both; }
  .consult__done:not([hidden]) h3, .consult__done:not([hidden]) p { animation: rise .6s var(--ease) both; }
  .consult__done:not([hidden]) p { animation-delay: .1s; }

}

.print-only { display: none; }

/* 打印 / 导出 PDF：去掉顶栏和动效，内容全部直接显示，卡片不跨页断开 */
@media print {
  /* PDF 里表单填不了：隐藏表单，改成一行网址 */
  .print-only { display: block; }
  .consult__form, .consult__done { display: none !important; }
  .consult { grid-template-columns: 1fr; }
  .consult__print { margin-top: 24px; padding: 14px 18px; border-radius: 14px; background: #fff; color: var(--ink); font-size: 16px; }
  .topbar, .skip, .nav-toggle { display: none !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal], .pcard__copy > *, .pcard .mock, .flow li, .flow .st, .chat > *, .feed__item,
  .show__looks figure, .gallery figure, .crop__frame, .crop__sizes li, .why__glyph, .why__big,
  .trio__card .ic, .consult__copy, .consult__form { opacity: 1 !important; transform: none !important; filter: none !important; }
  .pcard, .why__card, .trio__card, .show, .consult, .proof li, .checks li, .head { break-inside: avoid; }
  body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  /* Chromium 打印渐变文字（background-clip: text）会描出细框线，打印时改成纯色 */
  .grad, .tag b, .show__arrow b { background: none !important; color: var(--blue) !important; -webkit-text-fill-color: currentColor; }
  .wrap { width: min(1104px, 100% - 96px); }
}
