:root {
  --ink-950: #0b100f;
  --ink-900: #0f1615;
  --ink-850: #131c1a;
  --ink: #1a2422;
  --muted: #5e6966;
  --paper: #f6f5f0;
  --tint: #edece5;
  --card: #ffffff;
  --line: #dcdad0;
  --ivory: #f3efe4;
  --ivory-dim: rgba(243, 239, 228, .68);
  --ivory-faint: rgba(243, 239, 228, .44);
  --hair: rgba(243, 239, 228, .13);
  --brass: #b9945c;
  --brass-soft: #dcc396;
  --radius: 20px;
  --wrap: 1180px;
  --gutter: 28px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* 标题用宋体（苹果、安卓上有），没有的系统退回黑体，不落到难看的旧宋体。 */
  --serif: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "Source Han Serif CN", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", serif;
  --sans: "PingFang SC", "HarmonyOS Sans SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --digit: Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.8 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ol, dl, dd { margin: 0; }
ol { padding: 0; list-style: none; }
/* 标题只在标点后面换行，不把一个词拆开；实在放不下才硬拆。 */
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.28; text-wrap: balance; word-break: keep-all; overflow-wrap: anywhere; }
h1 { font-size: clamp(34px, 4.5vw, 60px); letter-spacing: .01em; }
h2 { font-size: clamp(28px, 3.2vw, 42px); }
h3 { font-size: clamp(22px, 2.2vw, 28px); }

.wrap { width: min(var(--wrap), 100%); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.dot { margin: 0 .55em; opacity: .45; }
.icon { width: 24px; height: 24px; flex: none; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  color: var(--brass); font: 600 13px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.link {
  display: inline-flex; align-items: center; gap: 8px; padding-bottom: 5px;
  border-bottom: 1px solid currentColor; font-weight: 500; text-decoration: none;
}
.link .icon { width: 18px; height: 18px; }
.arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow, .link:hover .arrow { transform: translateX(5px); }

/* 按钮 */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; overflow: hidden;
  border: 1px solid transparent; border-radius: 999px;
  font: 600 16px/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .3s var(--ease), background-color .3s, border-color .3s, color .3s, box-shadow .3s;
}
.btn > * { position: relative; z-index: 1; }
.btn .icon { width: 20px; height: 20px; }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.btn-light { background: var(--ivory); color: var(--ink-900); box-shadow: 0 10px 30px rgba(0, 0, 0, .28); }
.btn-light:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 18px 44px rgba(0, 0, 0, .38); }
/* 鼠标移上去，一道光从左扫到右 */
.btn-light::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(185, 148, 92, .35) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn-light:hover::after { transform: translateX(120%); }
.btn-line { border-color: rgba(243, 239, 228, .28); color: var(--ivory); }
.btn-line:hover { border-color: var(--ivory); background: rgba(243, 239, 228, .06); }
.btn-dark { background: var(--ink-900); color: var(--ivory); }
.btn-off { border-color: var(--hair); background: rgba(243, 239, 228, .05); color: var(--ivory-faint); cursor: default; }
.btn-small { min-height: 40px; padding: 0 20px; font-size: 15px; }
.btn-big { min-height: 58px; padding: 0 32px; font-size: 17px; }

/* 顶栏：压在深色段上是透明底浅色字，滚到浅色段换成浅底深字 */
.top {
  position: fixed; inset: 0 0 auto; z-index: 30;
  border-bottom: 1px solid transparent;
  background: rgba(246, 245, 240, .84); color: var(--ink);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  transition: background-color .4s, border-color .4s, color .4s;
}
.top.is-stuck { border-bottom-color: var(--line); }
.top.on-dark { background: rgba(15, 22, 21, 0); color: var(--ivory); -webkit-backdrop-filter: none; backdrop-filter: none; }
.top.on-dark.is-stuck { background: rgba(15, 22, 21, .74); border-bottom-color: var(--hair); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); }
html:not(.js) .top.on-dark { background: rgba(15, 22, 21, .9); }
.top-in { display: flex; align-items: center; gap: 36px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.mark { width: 32px; height: 32px; flex: none; }
.mark rect { fill: var(--ink-900); transition: fill .4s; }
.mark g { stroke: var(--paper); transition: stroke .4s; }
.on-dark .mark rect, .foot .mark rect { fill: var(--ivory); }
.on-dark .mark g, .foot .mark g { stroke: var(--ink-900); }
.brand-name { font: 700 21px/1 var(--serif); letter-spacing: .08em; white-space: nowrap; }
.brand-slogan { margin-left: 6px; font-size: 14px; opacity: .6; }
.nav { display: flex; gap: 34px; margin-left: auto; }
.nav a { position: relative; padding: 6px 0; font-size: 15px; text-decoration: none; opacity: .72; transition: opacity .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav a:hover { opacity: 1; }
.nav a[aria-current="page"] { opacity: 1; }
.nav a[aria-current="page"]::after { transform: scaleX(1); background: var(--brass); }
.nav a:hover::after { transform: scaleX(1); }
.top-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.login-top { display: none; align-items: center; justify-content: center; min-width: 40px; min-height: 44px; font-size: 15px; text-decoration: none; }
.btn-top { background: var(--ink-900); color: var(--ivory); }
.on-dark .btn-top { background: var(--ivory); color: var(--ink-900); }

/* 首屏 */
.hero {
  position: relative; overflow: hidden; padding: 150px 0 110px; color: var(--ivory);
  background:
    radial-gradient(900px 520px at 76% 40%, rgba(185, 148, 92, .14), transparent 62%),
    radial-gradient(700px 520px at 6% 100%, rgba(58, 98, 86, .24), transparent 60%),
    linear-gradient(180deg, var(--ink-900), var(--ink-850));
}
.hero.has-stage { padding-bottom: 290px; }
/* 淡淡的制图网格，越往边上越淡 */
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .55; pointer-events: none;
  background-image: linear-gradient(var(--hair) 1px, transparent 1px), linear-gradient(90deg, var(--hair) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(820px 600px at 72% 44%, #000, transparent 74%); mask-image: radial-gradient(820px 600px at 72% 44%, #000, transparent 74%);
}
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); gap: 36px; align-items: center; }
.hero-text { display: grid; gap: 26px; justify-items: start; }
.hero-text > * { opacity: 0; animation: rise 1s var(--ease) forwards; }
.hero-text > :nth-child(2) { animation-delay: .12s; }
.hero-text > :nth-child(3) { animation-delay: .24s; }
.hero-text > :nth-child(4) { animation-delay: .36s; }
.hero-text > :nth-child(5) { animation-delay: .48s; }
.lead { max-width: 30em; color: var(--ivory-dim); font-size: 19px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.hero-note { color: var(--ivory-faint); font-size: 14px; letter-spacing: .04em; }
.hero-art { position: relative; margin-right: -36px; }
.chip {
  position: absolute; left: 3%; bottom: 1%; display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px; border: 1px solid var(--hair); border-radius: 999px;
  background: rgba(15, 22, 21, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--ivory); font-size: 14px; line-height: 1.4; letter-spacing: .06em; white-space: nowrap;
  opacity: 0; animation: rise .9s var(--ease) 6.6s forwards, float 7s ease-in-out 7.6s infinite alternate;
}
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--brass-soft); box-shadow: 0 0 0 4px rgba(220, 195, 150, .18); }
.chip span { color: var(--ivory-faint); }

/* 首屏线稿：ln 一笔画出来，fd 淡入，pop 弹出来；wNN 是等多久（见文件最后） */
.art { display: block; width: 100%; height: auto; overflow: visible; }
.art path, .art circle { fill: none; stroke: var(--ivory); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.ln { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .9s var(--ease) forwards; }
.fd { opacity: 0; animation: fade .9s ease forwards; }
.pop { transform-box: fill-box; transform-origin: center; transform: scale(0); animation: pop .7s cubic-bezier(.3, 1.5, .5, 1) forwards; }
.art .q { animation-duration: .5s; }
.art .l { animation-duration: 1.6s; }
.art .grid { stroke: rgba(243, 239, 228, .07); stroke-width: 1; }
.art .site { stroke: rgba(243, 239, 228, .34); }
.art .plan { stroke: var(--brass); }
.art .f-front { fill: #18231f; stroke: none; }
.art .f-side { fill: #202d29; stroke: none; }
.art .door { fill: #101816; stroke: none; }
.art .belt { stroke: rgba(243, 239, 228, .4); stroke-width: 1; }
.art .open { stroke: rgba(243, 239, 228, .78); stroke-width: 1.1; }
.art .glow { fill: var(--brass-soft); stroke: none; opacity: 0; animation: glow 1.6s ease 6.2s forwards, breathe 5s ease-in-out 7.8s infinite alternate; }
.art .r-back { fill: #121a18; stroke: none; }
.art .r-side { fill: #1c2925; stroke: none; }
.art .r-front { fill: #151f1c; stroke: none; }
.art .fascia { fill: #263530; stroke: none; }
.art .ridge { stroke: var(--brass); }
.art .yard, .art .gate { stroke: rgba(243, 239, 228, .5); }
.art .f-yard { fill: rgba(243, 239, 228, .035); stroke: none; }
.art .stone { fill: rgba(243, 239, 228, .2); stroke: none; }
.art .hedge { stroke: rgba(243, 239, 228, .34); stroke-width: 1; }
.art .shrub { fill: #1b2823; stroke: rgba(243, 239, 228, .5); stroke-width: 1; }
.art .trunk { stroke: rgba(243, 239, 228, .6); }
.art .tree { fill: #162019; stroke: rgba(243, 239, 228, .66); }
.art .leaf { stroke: rgba(243, 239, 228, .3); stroke-width: 1; }
.art .dim { stroke: var(--brass); stroke-width: 1; }
.art .dim-label { fill: var(--brass-soft); font: 500 12.5px var(--sans); letter-spacing: .12em; }
.art .sun-arc { stroke: rgba(220, 195, 150, .34); stroke-width: 1; stroke-dasharray: 2 7; }
.art .sun { fill: var(--brass-soft); stroke: none; }
.art .sun-ring { stroke: rgba(220, 195, 150, .45); stroke-width: 1; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes pop { to { transform: scale(1); } }
@keyframes glow { to { opacity: .86; } }
@keyframes breathe { from { opacity: .86; } to { opacity: .5; } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-9px); } }

/* 首屏下面压着的软件实拍大图 */
.showcase { position: relative; z-index: 2; margin-top: -210px; }
.stage { position: relative; width: min(1000px, 100%); margin: 0 auto; }
.stage.has-phone { padding: 0 5% 6% 0; }
.shot { border-radius: 16px; background: var(--card); }
.stage .shot-wide { width: 100%; border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 60px 130px rgba(8, 12, 11, .42), 0 10px 26px rgba(8, 12, 11, .22); }
.stage .shot-phone { position: absolute; right: 0; bottom: 0; width: 21.5%; border: 5px solid #0d1312; border-radius: 26px; box-shadow: 0 40px 80px rgba(8, 12, 11, .45); }
.stage-note { margin-top: 30px; color: var(--muted); font-size: 13px; letter-spacing: .3em; text-align: center; }

/* 一段一段的内容 */
.band { padding: 120px 0; }
.band-tint { background: var(--tint); }
.band-dark {
  position: relative; overflow: hidden; color: var(--ivory);
  background: radial-gradient(820px 420px at 50% 0, rgba(185, 148, 92, .13), transparent 66%), linear-gradient(180deg, var(--ink-850), var(--ink-900));
}
.band-dark.page { min-height: 86vh; padding-top: 170px; }
.section-head { display: grid; gap: 18px; justify-items: center; text-align: center; }
.section-lead { color: var(--muted); font-size: 18px; }
.band-dark .section-lead { color: var(--ivory-dim); }
.message-action { margin-top: 40px; }

.features { display: grid; gap: 130px; margin-top: 96px; }
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
.feature.is-flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature.is-flip .feature-text { order: 2; }
.feature-text { display: grid; gap: 18px; }
.feature-text p { color: var(--muted); font-size: 18px; }
/* 描金边的空心数字 */
.num { color: transparent; font: italic 400 58px/1 var(--digit); -webkit-text-stroke: 1px var(--brass); }
.feature-art { display: flex; justify-content: center; }
.frame { position: relative; display: inline-block; max-width: 100%; }
.frame .shot { width: auto; max-height: 480px; border: 1px solid var(--line); box-shadow: 0 34px 80px rgba(26, 36, 34, .16), 0 3px 10px rgba(26, 36, 34, .06); }
/* 每张图上面、右边各有一道尺寸线，出现时画出来 */
.frame::before, .frame::after { content: ""; position: absolute; pointer-events: none; }
.frame::before {
  left: 0; right: 0; top: -20px; height: 9px;
  border-left: 1px solid var(--brass); border-right: 1px solid var(--brass);
  background: linear-gradient(var(--brass), var(--brass)) center / 100% 1px no-repeat;
  transform-origin: left; transition: transform 1.2s var(--ease) .5s;
}
.frame::after {
  top: 0; bottom: 0; right: -20px; width: 9px;
  border-top: 1px solid var(--brass); border-bottom: 1px solid var(--brass);
  background: linear-gradient(var(--brass), var(--brass)) center / 1px 100% no-repeat;
  transform-origin: top; transition: transform 1.2s var(--ease) .8s;
}

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 48px; margin-top: 80px; }
.step { position: relative; display: grid; gap: 12px; align-content: start; }
.step h3 { font-size: 24px; }
.step p { color: var(--muted); font-size: 16px; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 28px; left: 72px; right: -32px; height: 1px;
  background: var(--brass); opacity: .55; transform-origin: left; transition: transform 1s var(--ease) .5s;
}
.ring { position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; }
.ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: var(--brass); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s var(--ease); }
.ring b { position: relative; color: var(--ink); font: italic 400 25px/1 var(--digit); }
.step:nth-child(2) .ring circle { transition-delay: .35s; }
.step:nth-child(2)::after { transition-delay: .85s; }
.step:nth-child(3) .ring circle { transition-delay: .7s; }
.step:nth-child(3)::after { transition-delay: 1.2s; }
.step:nth-child(n+4) .ring circle { transition-delay: 1.05s; }
.step:nth-child(n+4)::after { transition-delay: 1.5s; }

/* 下载卡片（在深色段上） */
.platforms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 64px 0 40px; }
.platform {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px;
  border: 1px solid var(--hair); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(243, 239, 228, .065), rgba(243, 239, 228, .02));
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.platform:hover { transform: translateY(-5px); border-color: rgba(243, 239, 228, .32); }
.platform.is-current { border-color: var(--brass); box-shadow: 0 0 0 1px var(--brass), 0 30px 80px rgba(185, 148, 92, .14); }
.platform-head { display: flex; align-items: center; gap: 14px; }
.platform-head .icon { box-sizing: content-box; width: 24px; height: 24px; padding: 9px; border: 1px solid var(--hair); border-radius: 14px; color: var(--brass-soft); }
.platform h3 { font: 600 18px/1.35 var(--sans); white-space: nowrap; }
.platform-device { color: var(--ivory-faint); font-size: 14px; line-height: 1.5; }
.platform.is-off .platform-head .icon { color: var(--ivory-faint); }
.tag { position: absolute; top: -12px; right: 20px; padding: 2px 12px; border-radius: 999px; background: var(--brass); color: var(--ink-950); font-size: 12px; font-weight: 700; line-height: 20px; white-space: nowrap; }
.facts { font-size: 15px; font-variant-numeric: tabular-nums; }
.requirement { color: var(--ivory-faint); font-size: 14px; }
.notes { padding: 14px 16px; border-radius: 12px; background: rgba(243, 239, 228, .05); color: var(--ivory-dim); font-size: 15px; line-height: 1.7; }
/* 业主 11-23：更新说明默认收起，点“更新说明”展开。 */
.notes-title { display: flex; align-items: center; justify-content: space-between; color: var(--ivory-faint); font-size: 13px; font-weight: 600; cursor: pointer; list-style: none; }
.notes-title::-webkit-details-marker { display: none; }
.notes-title::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease); }
.notes[open] .notes-title { margin-bottom: 4px; }
.notes[open] .notes-title::after { transform: translateY(1px) rotate(-135deg); }
.platform-action { margin-top: auto; padding-top: 8px; }
.platform-action .btn { width: 100%; }
.platform-hint { margin-top: 10px; color: var(--ivory-faint); font-size: 13px; line-height: 1.5; text-align: center; }

/* 联系 */
.contact { display: flex; align-items: center; justify-content: center; gap: 88px; flex-wrap: wrap; }
.contact h2 { margin-top: 18px; }
.contact-list { display: grid; gap: 16px; margin-top: 32px; font-size: 18px; }
.contact-list > div { display: flex; gap: 22px; }
.contact-list dt { flex: none; width: 3em; color: var(--muted); }
.contact-list a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .3s; }
.contact-list a:hover { border-bottom-color: var(--brass); }
.qr { width: 190px; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }

/* 页脚 */
.foot { overflow: hidden; padding: 80px 0 40px; border-top: 1px solid var(--hair); background: var(--ink-950); color: var(--ivory-dim); }
.foot-word { margin-bottom: 56px; color: transparent; font: 700 clamp(40px, 12.5vw, 170px)/1.1 var(--serif); letter-spacing: .06em; text-align: center; text-indent: .06em; white-space: nowrap; -webkit-text-stroke: 1px rgba(243, 239, 228, .13); -webkit-user-select: none; user-select: none; }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--hair); }
.brand-foot { color: var(--ivory); }
.brand-foot .mark { width: 26px; height: 26px; }
.brand-foot .brand-name { font-size: 18px; }
.legal { font-size: 14px; }
.legal a { text-decoration: none; }
.legal a:hover { text-decoration: underline; }

/* 微信里点下载的提示 */
.wx-tip { position: fixed; inset: 0; z-index: 40; display: grid; place-items: start end; padding: 20px; background: rgba(11, 16, 15, .78); }
.wx-tip-box { position: relative; display: grid; gap: 12px; justify-items: start; width: min(320px, 100%); margin-top: 18px; padding: 22px; border-radius: 18px; background: var(--card); color: var(--ink); font-size: 16px; }
.wx-tip-box::before { content: ""; position: absolute; top: -9px; right: 26px; width: 18px; height: 18px; border-radius: 3px; background: var(--card); transform: rotate(45deg); }
.wx-tip-title { font-size: 18px; font-weight: 700; }

/* 滚动到了才出现。只有脚本能用（html 上有 js）才先藏起来，脚本没加载时内容照常显示。 */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .feature-text.reveal { transform: translateX(-30px); }
.js .feature.is-flip .feature-text.reveal { transform: translateX(30px); }
.js .feature-art.reveal { transform: translateY(40px) scale(.97); transition-delay: .12s; }
.js .feature-text.reveal.is-in, .js .feature-art.reveal.is-in { transform: none; }
.js .stage.reveal { transform: translateY(70px) scale(.96); transition-duration: 1.3s; }
.js .stage.reveal.is-in { transform: none; }
.js .stage .shot-phone { opacity: 0; transform: translateY(46px); transition: opacity .9s var(--ease) .45s, transform .9s var(--ease) .45s; }
.js .stage.is-in .shot-phone { opacity: 1; transform: none; }
.js .feature-art .frame::before { transform: scaleX(0); }
.js .feature-art .frame::after { transform: scaleY(0); }
.js .feature-art.is-in .frame::before, .js .feature-art.is-in .frame::after { transform: none; }
.js .steps .ring circle { stroke-dashoffset: 1; }
.js .steps.is-in .ring circle { stroke-dashoffset: 0; }
.js .steps .step::after { transform: scaleX(0); }
.js .steps.is-in .step::after { transform: none; }
/* 下载卡片一张接一张出现，图标一笔画出来 */
.js .platforms.reveal { opacity: 1; transform: none; }
.js .platforms:not(.is-in) .platform { opacity: 0; }
.js .platforms.is-in .platform { animation: rise .9s var(--ease) backwards; }
.js .platforms.is-in .platform:nth-child(2) { animation-delay: .1s; }
.js .platforms.is-in .platform:nth-child(3) { animation-delay: .2s; }
.js .platforms.is-in .platform:nth-child(4) { animation-delay: .3s; }
.js .platform-head .icon path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s var(--ease) .5s; }
.js .platforms.is-in .platform-head .icon path { stroke-dashoffset: 0; }

@media (max-width: 1080px) {
  .platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .nav { display: none; }
  .top-in { justify-content: space-between; gap: 12px; height: 62px; }
  .login-top { display: inline-flex; }
  .hero { padding: 108px 0 70px; }
  .hero.has-stage { padding-bottom: 190px; }
  .hero-in, .feature, .feature.is-flip { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero-text { gap: 20px; }
  .lead { font-size: 17px; }
  .hero-art { margin: 0 -8px; }
  .art .dim-label { font-size: 17px; }
  .chip { left: 0; bottom: -4px; padding: 7px 14px; font-size: 13px; }
  .showcase { margin-top: -130px; }
  .stage-note { margin-top: 22px; }
  .band { padding: 80px 0; }
  .band-dark.page { padding-top: 120px; }
  .features { gap: 84px; margin-top: 64px; }
  .feature { gap: 34px; }
  .feature.is-flip .feature-text { order: 0; }
  .js .feature-text.reveal, .js .feature.is-flip .feature-text.reveal { transform: translateY(30px); }
  .js .feature-text.reveal.is-in { transform: none; }
  .feature-text p { font-size: 17px; }
  .num { font-size: 46px; }
  .frame .shot { max-height: 400px; }
  .frame::after { right: -12px; }
  .steps { margin-top: 56px; gap: 40px; }
  .platforms { margin-top: 48px; }
  .contact { gap: 40px; justify-content: flex-start; }
  .foot { padding-top: 56px; }
  .foot-word { margin-bottom: 40px; }
  .foot-in { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 700px) {
  .step:not(:last-child)::after { display: none; }
}

@media (max-width: 520px) {
  .top .brand { gap: 8px; }
  .top .brand-name { font-size: 18px; letter-spacing: .03em; }
  .top-actions { gap: 8px; }
  .top .btn-small { padding: 0 14px; }
  .platforms { grid-template-columns: minmax(0, 1fr); }
  .actions { width: 100%; }
  .actions .btn { flex: 1 1 100%; }
  .shot { border-radius: 12px; }
  .stage .shot-phone { width: 24%; border-width: 3px; border-radius: 15px; }
  .platform { padding: 22px; }
}

/* 系统设了“减少动态效果”：不做动画，直接显示画好的样子 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ln { stroke-dashoffset: 0; }
  .fd, .chip, .hero-text > * { opacity: 1; }
  .pop { transform: none; }
  .art .glow { opacity: .8; }
  .js .reveal, .js .stage .shot-phone, .js .platforms:not(.is-in) .platform { opacity: 1; transform: none; }
  .js .feature-art .frame::before, .js .feature-art .frame::after, .js .steps .step::after { transform: none; }
  .js .steps .ring circle, .js .platform-head .icon path { stroke-dashoffset: 0; }
}

/* ================= 更花哨的一层动画 ================= */

/* 开场幕：只在首页、每次打开浏览器放一次（boot.js 给 html 加 seen 就不放） */
.curtain { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--ink-950); color: var(--ivory); animation: curtain 1s var(--ease) 1.3s forwards; }
html:not(.js) .curtain, .seen .curtain { display: none; }
.curtain-in { display: grid; justify-items: center; gap: 24px; }
.curtain-mark { width: 84px; height: 84px; stroke: var(--brass-soft); }
.curtain-mark path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .7s var(--ease) forwards; }
.curtain-mark path:nth-child(2) { animation-delay: .22s; }
.curtain-mark path:nth-child(3) { animation-delay: .44s; }
.curtain-in span { font: 700 28px/1 var(--serif); letter-spacing: .32em; text-indent: .32em; white-space: nowrap; opacity: 0; animation: rise .8s var(--ease) .45s forwards; }
@keyframes curtain { to { transform: translateY(-100%); visibility: hidden; } }
/* 幕没拉开之前，首屏的动画先停着 */
.js:not(.ready) .hero *, .js:not(.ready) .hero *::before, .js:not(.ready) .hero *::after { animation-play-state: paused !important; }

/* 顶上一条细线：页面滚了多少 */
.progress { position: fixed; inset: 0 0 auto; z-index: 31; height: 2px; background: linear-gradient(90deg, var(--brass), var(--brass-soft)); transform: scaleX(var(--scroll, 0)); transform-origin: left; pointer-events: none; }
html:not(.js) .progress { display: none; }

/* 首屏背景里慢慢游动的三团光 */
.hero-in { z-index: 2; }
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(90px); }
.aurora i:nth-child(1) { right: 2%; top: 4%; width: 560px; height: 560px; background: rgba(185, 148, 92, .28); animation: drift-a 19s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { left: -8%; bottom: -22%; width: 620px; height: 620px; background: rgba(40, 112, 92, .34); animation: drift-b 23s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { left: 38%; top: -20%; width: 420px; height: 420px; background: rgba(120, 140, 190, .16); animation: drift-c 27s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(-140px, 90px) scale(1.25); } }
@keyframes drift-b { to { transform: translate(180px, -110px) scale(.85); } }
@keyframes drift-c { to { transform: translate(-120px, 160px) scale(1.3); } }

/* 深色段：飘着的金粉（画在 canvas 上）和跟着鼠标的一团光 */
.dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero::after, .band-dark::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(440px circle at var(--mx, -600px) var(--my, -600px), rgba(220, 195, 150, .13), transparent 64%); }
.band-dark > .wrap { position: relative; z-index: 2; }

/* 标题一个字一个字出来；首屏标题之后还有一道金光从左到右一个字一个字扫过去 */
.seg { display: inline-block; white-space: nowrap; }
.ch { display: inline-block; }
.hero-text > .split { opacity: 1; animation: none; }
.js .hero h1:not(.split) { opacity: 0; animation: rise 1s var(--ease) 1.6s forwards; }
.hero .ch, .band-dark.page .section-head .ch { opacity: 0; transform: translateY(.7em) rotate(8deg); filter: blur(10px); animation: char 1s var(--ease) forwards, shine 8s ease-in-out infinite; animation-delay: calc(var(--i) * 55ms + .1s), calc(var(--i) * 80ms + 4s); }
@keyframes char { to { opacity: 1; transform: none; filter: none; } }
@keyframes shine { 0%, 14%, 100% { color: inherit; text-shadow: none; } 6% { color: var(--brass-soft); text-shadow: 0 0 26px rgba(220, 195, 150, .65); } }
.section-head .ch { transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s var(--ease); transition-delay: calc(var(--i) * 45ms + .15s); }
.js .section-head.reveal:not(.is-in) .ch { opacity: 0; transform: translateY(.55em); filter: blur(8px); }
.js .section-head.reveal .eyebrow::before { width: 0; transition: width 1s var(--ease) .25s; }
.js .section-head.reveal.is-in .eyebrow::before { width: 28px; }

/* 线稿：画完以后定时“拆层”，屋顶和二层抬起来，露出楼板上的户型，旁边冒出每层的名字 */
.art .slab { fill: #1c2824; stroke: none; }
.art .plan-top { stroke: var(--brass); stroke-width: 1; }
.art .lv2 { animation: lift2 16s var(--ease) 9.5s infinite; }
.art .lv3 { animation: lift3 16s var(--ease) 9.5s infinite; }
.art .tag-line { stroke: var(--brass-soft); stroke-width: 1; opacity: 0; animation: tag 16s ease 9.5s infinite; }
.art .tag-text { fill: var(--brass-soft); font: 500 12.5px var(--sans); letter-spacing: .12em; opacity: 0; animation: tag 16s ease 9.5s infinite; }
@keyframes lift2 { 0%, 5% { transform: translateY(0); } 14%, 46% { transform: translateY(-40px); } 56%, 100% { transform: translateY(0); } }
@keyframes lift3 { 0%, 3% { transform: translateY(0); } 14%, 48% { transform: translateY(-86px); } 58%, 100% { transform: translateY(0); } }
@keyframes tag { 0%, 12% { opacity: 0; } 18%, 44% { opacity: 1; } 50%, 100% { opacity: 0; } }
/* 云慢慢飘过；太阳外面一圈光晕往外扩；窗里的灯各闪各的 */
.art .cloud { stroke: rgba(243, 239, 228, .24); stroke-width: 1.1; animation: cloud-a 64s linear -14s infinite; }
.art .c2 { animation: cloud-b 88s linear -40s infinite; }
@keyframes cloud-a { from { transform: translateX(-90px); } to { transform: translateX(760px); } }
@keyframes cloud-b { from { transform: translateX(-120px); } to { transform: translateX(1090px); } }
.art .sun-halo { stroke: rgba(220, 195, 150, .55); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: halo 3.2s ease-out infinite; }
@keyframes halo { from { transform: scale(.6); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
.art .g1 { animation-duration: 1.6s, 3.2s; }
.art .g2 { animation-duration: 1.6s, 7s; animation-delay: 6.5s, 8.6s; }
/* 线稿朝鼠标那边微微歪过去 */
.hero-art .art { transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .9s var(--ease); }

/* 大按钮在鼠标靠近时被吸过去一点 */
.magnet, .btn-light.magnet:hover { transform: translate(var(--tx, 0px), calc(var(--ty, 0px) - var(--lift, 0px))); }
.btn-light.magnet:hover { --lift: 2px; }

/* 实拍大图：先往后仰着，随着滚动慢慢立正，立正那一下扫过一道光；手机图一直轻轻浮动 */
.stage-shot { position: relative; border-radius: 16px; box-shadow: 0 60px 130px rgba(8, 12, 11, .42), 0 10px 26px rgba(8, 12, 11, .22); }
.stage .shot-wide { box-shadow: none; }
.stage-shot::after { content: ""; position: absolute; inset: 0; border-radius: 16px; pointer-events: none; opacity: 0; background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .45) 50%, transparent 58%) 130% 0 / 260% 100% no-repeat; }
.stage.is-flat .stage-shot::after { animation: glare 1.5s ease .1s; }
@keyframes glare { from { opacity: 1; background-position: 130% 0; } to { opacity: 0; background-position: -40% 0; } }
.js .stage { transform-origin: 50% 100%; transform: perspective(1500px) rotateX(calc((1 - var(--p, 1)) * 28deg)) scale(calc(.88 + var(--p, 1) * .12)); opacity: calc(.45 + var(--p, 1) * .55); }
.js .stage .shot-phone { opacity: 1; transform: none; transition: none; animation: float 6s ease-in-out infinite alternate; }

/* 两行大字幕，一行往左一行往右，一直滚 */
.marquee { overflow: hidden; padding: 84px 0 0; }
.marquee-row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 52s linear infinite; }
.marquee-row.is-back .marquee-track { animation-direction: reverse; animation-duration: 66s; }
.marquee-set { display: flex; flex: none; align-items: center; gap: 44px; padding-right: 44px; }
.marquee span { color: transparent; font: 700 clamp(46px, 6.6vw, 96px)/1.3 var(--serif); letter-spacing: .06em; white-space: nowrap; -webkit-text-stroke: 1px rgba(26, 36, 34, .3); }
.marquee span.is-solid { color: var(--ink); -webkit-text-stroke: 0; }
.marquee i { flex: none; width: 11px; height: 11px; background: var(--brass); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* 功能截图：一道光从左扫到右把图揭开；鼠标移上去图跟着倾斜，带一块高光；数字慢慢填上一层金色 */
.frame { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .7s var(--ease); }
.js .feature-art .frame .shot { clip-path: inset(-90px 100% -90px -90px); transition: clip-path 1.4s var(--ease) .15s; }
.js .feature-art.is-in .frame .shot { clip-path: inset(-90px); }
.scan { position: absolute; top: -8px; bottom: -8px; left: 0; width: 2px; border-radius: 2px; pointer-events: none; opacity: 0; background: linear-gradient(transparent, #fff 20%, var(--brass-soft) 50%, #fff 80%, transparent); box-shadow: 0 0 22px 3px rgba(220, 195, 150, .75); }
.js .feature-art.is-in .scan { animation: scan 1.4s var(--ease) .15s; }
@keyframes scan { 0% { left: 0; opacity: 1; } 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.glare { position: absolute; inset: 0; border-radius: 16px; pointer-events: none; opacity: 0; transition: opacity .4s; mix-blend-mode: soft-light; background: radial-gradient(380px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .5), transparent 62%); }
@media (hover: hover) { .frame:hover .glare { opacity: 1; } }
.num { transition: color 1.4s ease .6s; }
.js .feature-text.is-in .num { color: rgba(185, 148, 92, .22); }

/* 怎么用：圆圈外面一个小光点绕着转，连线上一道光反复跑过去 */
.orbit { position: absolute; inset: -6px; border-radius: 50%; animation: turn 8s linear infinite; }
.orbit::before { content: ""; position: absolute; top: -3px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 12px 2px rgba(185, 148, 92, .8); }
.step:nth-child(2) .orbit { animation-delay: -2.6s; }
.step:nth-child(3) .orbit { animation-delay: -5.2s; }
.step:nth-child(n+4) .orbit { animation-delay: -6.5s; animation-direction: reverse; }
@keyframes turn { to { transform: rotate(360deg); } }
.step:not(:last-child)::after { opacity: .7; background: linear-gradient(90deg, transparent, #fff, transparent) -60% 0 / 34% 100% no-repeat, linear-gradient(var(--brass), var(--brass)); animation: pulse 3.4s ease-in-out infinite; }
@keyframes pulse { to { background-position: 220% 0, 0 0; } }

/* 下载卡片：鼠标在哪，光就照到哪；适合这台设备的那张，边上一道光绕着转 */
.platform > :not(.tag) { position: relative; z-index: 1; }
.platform::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(280px circle at var(--gx, 50%) var(--gy, 0%), rgba(220, 195, 150, .2), transparent 66%); }
@media (hover: hover) { .platform:hover::before { opacity: 1; } }
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.platform.is-current::after {
  content: ""; position: absolute; inset: -1px; padding: 1.5px; border-radius: inherit; pointer-events: none;
  background: conic-gradient(from var(--spin), transparent 0 58%, var(--brass-soft) 78%, #fff 86%, var(--brass-soft) 92%, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  animation: spin 4.5s linear infinite;
}
@keyframes spin { to { --spin: 360deg; } }

/* 页脚的大字：一道金光反复扫过去 */
.foot-word { background: linear-gradient(100deg, transparent 42%, rgba(220, 195, 150, .8) 50%, transparent 58%) 140% 0 / 300% 100% no-repeat; -webkit-background-clip: text; background-clip: text; animation: word 9s ease-in-out infinite; }
@keyframes word { 0%, 15% { background-position: 140% 0; } 75%, 100% { background-position: -40% 0; } }

@media (max-width: 900px) {
  .marquee { padding-top: 56px; }
  .marquee-set { gap: 28px; padding-right: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .curtain { display: none; }
  .js .hero h1:not(.split) { opacity: 1; }
  .js .feature-art .frame .shot { clip-path: none; }
  .js .section-head.reveal .eyebrow::before { width: 28px; }
  .js .stage { transform: none; opacity: 1; }
}

/* ================= 真三维、工艺、报价、功能墙 ================= */

.no-gl .needs-gl { display: none; }
canvas { display: block; }

/* 三维房子 */
.house { position: relative; margin-top: 40px; }
.house canvas, .craft-body canvas { width: 100%; cursor: grab; touch-action: pan-y; outline: none; }
.house canvas { height: min(74vh, 700px); border-radius: 24px; background: linear-gradient(180deg, #8fb6dc 0%, #c4dcee 46%, #e9f1ee 72%, #dfe9da 100%); }
.house-bar { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin-top: -34px; }
.house-bar .modes { margin: 0; background: rgba(255, 255, 255, .94); border-color: rgba(255, 255, 255, .6); box-shadow: 0 14px 40px rgba(8, 12, 11, .28); }
.house-bar .modes button { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 62px; min-height: 58px; padding: 0 12px; border-radius: 16px; color: #5d6865; font-size: 13px; }
.house-bar .modes button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.house-bar .modes button:hover { color: var(--ink); }
.house-bar .modes button.is-on { background: var(--accent-soft, #e6ece9); color: var(--ink-900); box-shadow: none; font-weight: 700; }
.house-bar .levels button { min-width: 54px; min-height: 44px; font-size: 15px; }
.house-bar .modes, .house-bar .levels { border-radius: 22px; }
canvas.is-grab { cursor: grabbing; }
.modes { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; width: max-content; max-width: 100%; margin: -18px auto 0; padding: 6px; border: 1px solid var(--hair); border-radius: 999px; background: rgba(15, 22, 21, .7); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); position: relative; z-index: 2; }
.modes button, .craft-tabs button { min-height: 42px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; color: var(--ivory-dim); font: 500 15px/1 var(--sans); cursor: pointer; transition: background-color .35s, color .35s, box-shadow .35s; }
.modes button:hover { color: var(--ivory); }
.modes button.is-on { background: var(--ivory); color: var(--ink-900); box-shadow: 0 6px 24px rgba(220, 195, 150, .35); }
.mode-note { margin-top: 18px; color: var(--ivory-faint); font-size: 14px; letter-spacing: .2em; text-align: center; min-height: 1.8em; }

/* 工艺 */
.crafts { margin-top: 56px; }
.craft-tabs { display: flex; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.craft-tabs button { color: var(--muted); }
.craft-tabs button:hover { color: var(--ink); }
.craft-tabs button.is-on { background: var(--ink-900); color: var(--ivory); }
.craft-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px; align-items: center; margin-top: 24px; }
.craft-body canvas { height: 560px; }
.craft-side h3 { font-size: 34px; }
.craft-side ol { display: grid; margin-top: 26px; border-top: 1px solid var(--line); }
.craft-side li { display: grid; grid-template-columns: 34px auto 1fr; align-items: baseline; gap: 12px; padding: 15px 12px 15px 0; border-bottom: 1px solid var(--line); cursor: default; transition: padding .4s var(--ease), background-color .4s; animation: rise .7s var(--ease) backwards; }
.craft-side li:nth-child(2) { animation-delay: .06s; } .craft-side li:nth-child(3) { animation-delay: .12s; } .craft-side li:nth-child(4) { animation-delay: .18s; } .craft-side li:nth-child(5) { animation-delay: .24s; } .craft-side li:nth-child(6) { animation-delay: .3s; }
.craft-side li i { color: var(--brass); font: italic 400 15px var(--digit); }
.craft-side li b { font: 600 18px/1.4 var(--sans); }
.craft-side li span { color: var(--muted); font-size: 14px; text-align: right; font-variant-numeric: tabular-nums; }
.craft-side li.is-on, .craft-side li:hover { padding-left: 14px; background: linear-gradient(90deg, rgba(185, 148, 92, .16), transparent); }

/* 工艺：32 项，分 10 类 */
.craft-count { color: var(--muted); font-size: 13px; letter-spacing: .28em; text-align: center; margin-bottom: 20px; }
.craft-tabs { flex-wrap: wrap; justify-content: center; border-radius: 28px; }
.craft-tabs button { min-height: 38px; padding: 0 16px; font-size: 14px; }
.craft-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; min-height: 40px; }
.craft-items button { min-height: 36px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font: 500 14px/1 var(--sans); cursor: pointer; transition: border-color .3s, color .3s, background-color .3s; }
.craft-items button:hover { border-color: var(--brass); color: var(--ink); }
.craft-items button.is-on { border-color: var(--brass); background: rgba(185, 148, 92, .14); color: var(--ink); }
.craft-view { position: relative; border-radius: 24px; background: radial-gradient(closest-side, #fff, #eef0ea 70%, #e6e9e1); overflow: hidden; }
.craft-toggle { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); min-height: 44px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--ink-900); color: var(--ivory); font: 600 15px/1 var(--sans); letter-spacing: .2em; text-indent: .2em; cursor: pointer; box-shadow: 0 10px 30px rgba(15, 22, 21, .25); transition: background-color .3s, transform .3s var(--ease); }
.craft-toggle:hover { transform: translateX(-50%) translateY(-2px); }
.craft-toggle.is-on { background: var(--brass); color: var(--ink-950); }
.craft-hint { margin-top: 8px; color: var(--muted); font-size: 14px; }
.craft-side ol { max-height: 440px; overflow-y: auto; scrollbar-width: thin; }
.craft-side li { grid-template-columns: 30px 1fr; gap: 4px 10px; cursor: pointer; animation: none; }
.craft-side li span { grid-column: 2; text-align: left; font-size: 13.5px; line-height: 1.6; }

/* 首屏的图纸线稿（从别墅模型上取线）；浏览器不支持三维时才用原来那张手画的 */
.hero-art .print { width: 100%; aspect-ratio: 700 / 560; opacity: 0; transition: opacity 1s; cursor: grab; touch-action: pan-y; }
.hero-art.is-ready .print { opacity: 1; }
.hero-art .art { display: none; }
.gen { position: absolute; left: 3%; top: 2%; display: inline-flex; align-items: center; gap: 10px; color: var(--brass-soft); font: 500 13px/1 var(--sans); letter-spacing: .22em; font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .8s; }
.hero-art.is-ready .gen { opacity: 1; }
.gen i { width: 7px; height: 7px; border-radius: 50%; background: var(--brass-soft); box-shadow: 0 0 12px 2px rgba(220, 195, 150, .8); animation: blink 1.1s ease-in-out infinite alternate; }
@keyframes blink { to { opacity: .25; } }
.no-gl .gen { display: none; }
.hero-art[data-blueprint] .chip { left: auto; right: 6%; bottom: -3%; }
.no-gl .hero-art .print { display: none; }
.no-gl .hero-art .art { display: block; }

/* 房子载入时的动画：线描一栋小房子，下面一条进度 */
.house-load { position: absolute; inset: 0 0 auto; height: min(74vh, 700px); display: grid; place-content: center; justify-items: center; gap: 16px; border-radius: 24px; background: radial-gradient(closest-side, rgba(28, 40, 37, .9), rgba(15, 22, 21, .96)); color: var(--ivory); transition: opacity .8s, visibility .8s; pointer-events: none; z-index: 1; }
.house.is-ready .house-load { opacity: 0; visibility: hidden; }
.house-load svg { width: 120px; fill: none; stroke: var(--brass-soft); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.house-load path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: house-draw 2.4s var(--ease) infinite; }
.house-load path:nth-child(2) { animation-delay: .25s; } .house-load path:nth-child(3) { animation-delay: .5s; } .house-load path:nth-child(4) { animation-delay: .75s; }
@keyframes house-draw { 0% { stroke-dashoffset: 1; } 45%, 75% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1; } }
.house-load p { display: flex; gap: 12px; align-items: baseline; color: var(--ivory-dim); font-size: 14px; letter-spacing: .2em; }
.house-load b { color: var(--brass-soft); font: 400 22px/1 var(--digit); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.house-load i { position: relative; width: 180px; height: 2px; border-radius: 2px; background: var(--hair); overflow: hidden; }
.house-load em { position: absolute; inset: 0; background: linear-gradient(90deg, var(--brass), var(--brass-soft)); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.no-gl .house-load { display: none; }

.tu-more { margin-top: 48px; }

/* 模型的运用：两行图标卡片，一行往左一行往右 */
.models { padding: 110px 0 30px; }
/* 滚动大字的样式会套到标题的每个字上，这里还原 */
.models .section-head span { color: inherit; font: inherit; letter-spacing: inherit; -webkit-text-stroke: 0; }
.models-rows { display: grid; gap: 18px; margin-top: 56px; }
.models .marquee-set { gap: 18px; padding-right: 18px; }
.models .marquee-track { animation-duration: 60s; }
.models .marquee-row.is-back .marquee-track { animation-duration: 72s; }
.models .marquee-row:hover .marquee-track { animation-play-state: paused; }
.marquee .model { display: inline-flex; align-items: center; gap: 14px; padding: 16px 26px 16px 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); color: var(--ink); font: inherit; letter-spacing: 0; -webkit-text-stroke: 0; box-shadow: 0 10px 30px rgba(26, 36, 34, .06); transition: transform .4s var(--ease), border-color .4s, box-shadow .4s; white-space: nowrap; }
.marquee .model:hover { transform: translateY(-4px); border-color: var(--brass); box-shadow: 0 18px 40px rgba(185, 148, 92, .18); }
.marquee .model img { width: 40px; height: 40px; flex: none; }
.marquee .model b { font: 700 19px/1.2 var(--sans); }
.marquee .model em { color: var(--muted); font: 400 13px/1.2 var(--sans); font-style: normal; }
@media (max-width: 900px) { .models { padding-top: 80px; } .marquee .model { padding: 12px 18px 12px 14px; } .marquee .model img { width: 32px; height: 32px; } .marquee .model b { font-size: 16px; } }

/* 报价 */
.quote { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 28px; margin-top: 56px; }
.quote-in, .quote-out { padding: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.quote-in { display: grid; gap: 34px; align-content: center; }
.dial { display: grid; grid-template-columns: 1fr auto; gap: 14px 12px; align-items: baseline; }
.dial span { color: var(--muted); font-size: 15px; letter-spacing: .1em; }
.dial output { font-size: 14px; color: var(--muted); }
.dial output b { color: var(--ink); font: 400 30px/1 var(--digit); font-variant-numeric: tabular-nums; }
.dial input { grid-column: 1 / -1; width: 100%; height: 28px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.dial input::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--brass) calc(var(--f, .5) * 100%), var(--line) 0); }
.dial input::-moz-range-track { height: 3px; border-radius: 3px; background: var(--line); }
.dial input::-moz-range-progress { height: 3px; border-radius: 3px; background: var(--brass); }
.dial input::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10.5px; border: 2px solid var(--brass); border-radius: 50%; background: var(--card); box-shadow: 0 4px 14px rgba(185, 148, 92, .4); transition: transform .25s var(--ease); }
.dial input::-moz-range-thumb { width: 20px; height: 20px; border: 2px solid var(--brass); border-radius: 50%; background: var(--card); }
.dial input:active::-webkit-slider-thumb { transform: scale(1.25); }
.quote-out { background: var(--ink-900); border-color: var(--ink-900); color: var(--ivory); position: relative; overflow: hidden; }
.quote-out::before { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: rgba(185, 148, 92, .22); filter: blur(80px); animation: drift-c 14s ease-in-out infinite alternate; }
.quote-out > * { position: relative; }
.quote-total { display: flex; align-items: baseline; gap: 10px; font: 400 clamp(46px, 6vw, 84px)/1 var(--digit); font-variant-numeric: tabular-nums; }
.quote-total span { color: var(--brass-soft); font-size: .45em; }
.quote-total b { font-weight: 400; }
.quote-area { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--ivory-dim); font-size: 15px; }
.quote-area b { color: var(--ivory); font-weight: 500; font-variant-numeric: tabular-nums; }
.quote-area i { margin-left: auto; padding: 2px 10px; border: 1px solid var(--hair); border-radius: 999px; color: var(--ivory-faint); font-size: 12px; font-style: normal; }
.quote-rows { display: grid; gap: 14px; margin: 30px 0 0; padding: 26px 0 0; border-top: 1px solid var(--hair); list-style: none; }
.quote-rows li { display: grid; grid-template-columns: 5em 1fr 6.5em; gap: 16px; align-items: center; font-size: 15px; }
.quote-rows span { color: var(--ivory-dim); }
.quote-rows i { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--brass), var(--brass-soft)); transform: scaleX(var(--v, 0)); transform-origin: left; box-shadow: 0 0 14px rgba(220, 195, 150, .5); }
.quote-rows b { font-weight: 400; text-align: right; font-variant-numeric: tabular-nums; }

/* 功能墙 */
.wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 1040px; margin: 56px auto 0; padding: 0; list-style: none; }
/* 业主 11-23：像标签一样，宽度跟着字走、字不换行，一行排不下整个挪到下一行。 */
.wall li { position: relative; display: flex; align-items: baseline; gap: 12px; padding: 14px 22px; border: 1px solid var(--hair); border-radius: 999px; background: rgba(243, 239, 228, .03); font: 600 18px/1.3 var(--sans); white-space: nowrap; overflow: hidden; transition: transform .4s var(--ease), border-color .4s, background-color .4s; }
.wall li i { color: var(--brass); font: italic 400 13px var(--digit); }
.wall li::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, rgba(220, 195, 150, .22) 50%, transparent 60%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.wall li:hover { transform: translateY(-4px); border-color: var(--brass); background: rgba(185, 148, 92, .1); }
.wall li:hover::after { transform: translateX(120%); }
.js .wall.reveal { opacity: 1; transform: none; }
.js .wall:not(.is-in) li { opacity: 0; }
.js .wall.is-in li { animation: rise .7s var(--ease) backwards; animation-delay: calc(var(--n, 0) * 40ms); }

@media (max-width: 900px) {
  .house canvas { height: 62vh; }
  .modes { border-radius: 24px; }
  .modes button, .craft-tabs button { min-height: 40px; padding: 0 16px; }
  .craft-body, .quote { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .craft-body canvas { height: 400px; }
  .craft-side h3 { font-size: 28px; }
  .quote-in, .quote-out { padding: 24px; }
  .quote-in { gap: 24px; }
  .wall { gap: 8px; margin-top: 40px; }
  .wall li { gap: 8px; padding: 10px 16px; font-size: 15px; }
}

/* 线稿每一笔等多久再开始：wNN = NN × 0.1 秒 */
.w1 { animation-delay: 0.1s; }
.w2 { animation-delay: 0.2s; }
.w3 { animation-delay: 0.3s; }
.w4 { animation-delay: 0.4s; }
.w5 { animation-delay: 0.5s; }
.w6 { animation-delay: 0.6s; }
.w7 { animation-delay: 0.7s; }
.w8 { animation-delay: 0.8s; }
.w9 { animation-delay: 0.9s; }
.w10 { animation-delay: 1s; }
.w11 { animation-delay: 1.1s; }
.w12 { animation-delay: 1.2s; }
.w13 { animation-delay: 1.3s; }
.w14 { animation-delay: 1.4s; }
.w15 { animation-delay: 1.5s; }
.w16 { animation-delay: 1.6s; }
.w17 { animation-delay: 1.7s; }
.w18 { animation-delay: 1.8s; }
.w19 { animation-delay: 1.9s; }
.w20 { animation-delay: 2s; }
.w21 { animation-delay: 2.1s; }
.w22 { animation-delay: 2.2s; }
.w23 { animation-delay: 2.3s; }
.w24 { animation-delay: 2.4s; }
.w25 { animation-delay: 2.5s; }
.w26 { animation-delay: 2.6s; }
.w27 { animation-delay: 2.7s; }
.w28 { animation-delay: 2.8s; }
.w29 { animation-delay: 2.9s; }
.w30 { animation-delay: 3s; }
.w31 { animation-delay: 3.1s; }
.w32 { animation-delay: 3.2s; }
.w33 { animation-delay: 3.3s; }
.w34 { animation-delay: 3.4s; }
.w35 { animation-delay: 3.5s; }
.w36 { animation-delay: 3.6s; }
.w37 { animation-delay: 3.7s; }
.w38 { animation-delay: 3.8s; }
.w39 { animation-delay: 3.9s; }
.w40 { animation-delay: 4s; }
.w41 { animation-delay: 4.1s; }
.w42 { animation-delay: 4.2s; }
.w43 { animation-delay: 4.3s; }
.w44 { animation-delay: 4.4s; }
.w45 { animation-delay: 4.5s; }
.w46 { animation-delay: 4.6s; }
.w47 { animation-delay: 4.7s; }
.w48 { animation-delay: 4.8s; }
.w49 { animation-delay: 4.9s; }
.w50 { animation-delay: 5s; }
.w51 { animation-delay: 5.1s; }
.w52 { animation-delay: 5.2s; }
.w53 { animation-delay: 5.3s; }
.w54 { animation-delay: 5.4s; }
.w55 { animation-delay: 5.5s; }
.w56 { animation-delay: 5.6s; }
.w57 { animation-delay: 5.7s; }
.w58 { animation-delay: 5.8s; }
.w59 { animation-delay: 5.9s; }
.w60 { animation-delay: 6s; }
.w61 { animation-delay: 6.1s; }
.w62 { animation-delay: 6.2s; }
.w63 { animation-delay: 6.3s; }
.w64 { animation-delay: 6.4s; }
.w65 { animation-delay: 6.5s; }
.w66 { animation-delay: 6.6s; }
.w67 { animation-delay: 6.7s; }
.w68 { animation-delay: 6.8s; }
.w69 { animation-delay: 6.9s; }
.w70 { animation-delay: 7s; }
.wall li:nth-child(1) { --n: 1; }
.wall li:nth-child(2) { --n: 2; }
.wall li:nth-child(3) { --n: 3; }
.wall li:nth-child(4) { --n: 4; }
.wall li:nth-child(5) { --n: 5; }
.wall li:nth-child(6) { --n: 6; }
.wall li:nth-child(7) { --n: 7; }
.wall li:nth-child(8) { --n: 8; }
.wall li:nth-child(9) { --n: 9; }
.wall li:nth-child(10) { --n: 10; }
.wall li:nth-child(11) { --n: 11; }
.wall li:nth-child(12) { --n: 12; }
.wall li:nth-child(13) { --n: 13; }
.wall li:nth-child(14) { --n: 14; }
.wall li:nth-child(15) { --n: 15; }
.wall li:nth-child(16) { --n: 16; }
.wall li:nth-child(17) { --n: 17; }
.wall li:nth-child(18) { --n: 18; }
.wall li:nth-child(19) { --n: 19; }
.wall li:nth-child(20) { --n: 20; }
.wall li:nth-child(21) { --n: 21; }
.wall li:nth-child(22) { --n: 22; }
.wall li:nth-child(23) { --n: 23; }
.wall li:nth-child(24) { --n: 24; }

/* 业主 11-24：外壳出来后，家具、花草还在下载时画面上方一条细进度条 */
.house-more { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 2; display: grid; gap: 6px; justify-items: center; padding: 8px 14px 9px; border-radius: 999px; background: rgba(14, 22, 19, .62); color: var(--ivory-dim); font-size: 12px; letter-spacing: .08em; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .4s; }
.house-more.is-on { opacity: 1; }
.house-more i { position: relative; width: 140px; height: 2px; border-radius: 2px; background: var(--hair); overflow: hidden; }
.house-more em { position: absolute; inset: 0; background: var(--brass-soft); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
