:root {
  --bg: #f4f1ec;
  --ink: #1d1c1a;
  --muted: #6f6a63;
  --line: #e3dcd3;
  --card: rgba(255, 252, 248, .78);
  --dark: #242320;
  --max: 1120px;
  --sans: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: "Palatino Linotype", Palatino, "Songti SC", "STSong", "SimSun", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  gap: 44px;
  align-items: center;
  padding: 28px 0 6px;
}
.hero-copy { min-width: 0; }
.eyebrow {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .18em;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 560; letter-spacing: -.03em; }
h1 { margin: 0; font-size: clamp(40px, 5vw, 64px); line-height: 1.12; }
.hero h1 {
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: 0;
}
.hero h1 span { display: block; }
.lead { max-width: 28em; margin: 18px 0 0; color: #4e4a45; font-size: 16px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--dark);
  border-radius: 999px;
  background: transparent;
  color: var(--dark);
  text-decoration: none;
  cursor: pointer;
}
.btn-dark { background: var(--dark); color: #f6f3ee; }
.btn-light { background: #f6f3ee; color: var(--dark); border-color: #f6f3ee; }
.btn-line { background: transparent; color: #f6f3ee; border-color: rgba(246, 243, 238, .5); }
.hero-photo {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #e7e1d8;
}
.hero-photo img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: center; }
.hero .promises { margin-top: 34px; padding: 0; }
.promises { display: flex; gap: 22px; padding: 10px 0 8px; }
.promises div { min-width: 88px; }
.promises strong, .promises span { display: block; }
.promises strong { font-weight: 600; font-size: 15px; }
.promises span { color: var(--muted); font-size: 12px; letter-spacing: .04em; }
.promises div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.icon-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin: 72px 0 0;
  padding: 8px 0 10px;
}
.icon-row article { display: flex; gap: 14px; align-items: flex-start; }
.icon-row svg { flex: 0 0 auto; margin-top: 2px; }
.icon-row h2 { margin: 0; font-family: var(--sans); font-size: 15px; font-weight: 650; letter-spacing: 0; }
.icon-row p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.section { padding: 96px 0 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section-head h2 { margin: 0; font-size: clamp(32px, 4vw, 44px); line-height: 1.2; }
.section-head p, .quiet { color: var(--muted); }
.section-head p { margin: 10px 0 0; }
.text-link { color: var(--ink); font-size: 14px; text-decoration: none; white-space: nowrap; }
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 34px;
}
.plan {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  position: relative;
  padding: 18px 18px 20px;
  border: 1px solid #e6dfd6;
  border-radius: 22px;
  background: var(--card);
}
.plan.is-lead { border-color: #2a2926; background: #fff; }
.plan .mark {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  display: inline-block;
  margin: 0;
  padding: 1px 8px;
  border-radius: 999px;
  background: #2a2926;
  color: #f6f3ee;
  font-size: 12px;
  letter-spacing: .08em;
}
.plan-shot {
  display: block;
  margin: -18px -18px 16px;
  overflow: hidden;
  border-radius: 21px 21px 0 0;
  background: #f6f3ee;
  border-bottom: 1px solid #e6dfd6;
}
.plan-shot img { display: block; width: 100%; height: 180px; object-fit: cover; object-position: center top; }
.plan-top { display: block; }
.plan h3 { margin: 0; font-size: 22px; }
.plan .for { margin: 8px 0 0; min-height: 3em; color: var(--muted); font-size: 13px; line-height: 1.5; }
.price { margin: 22px 0 8px; }
.price b { font-family: var(--serif); font-size: 40px; font-weight: 560; letter-spacing: -.03em; }
.price span { margin-left: 4px; color: var(--muted); font-size: 14px; }
.plan ul { margin: 8px 0 22px; padding: 0; list-style: none; }
.plan li { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0; font-size: 14px; }
.plan li svg { flex: 0 0 auto; margin-top: 4px; }
.plan .demo { margin: 0 0 6px; font-size: 13px; }
.plan .demo-note { margin: 0 0 14px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.plan .btn { width: 100%; margin-top: auto; }
.fees, .terms p, .terms li { color: var(--muted); font-size: 14px; }
.terms { margin-top: 28px; }
.terms h3 { margin: 22px 0 6px; font-family: var(--sans); font-size: 16px; font-weight: 650; }
.terms p { margin: 0; }
.terms ol { margin: 6px 0 0; padding-left: 1.2em; }
.terms li + li { margin-top: 4px; }
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.steps article { position: relative; padding-top: 18px; }
.steps article::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 31px;
  height: 1px;
  background: var(--line);
}
.steps span {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg);
  color: var(--muted);
  font-size: 12px;
}
.steps h3 { margin: 18px 0 6px; font-family: var(--sans); font-size: 16px; font-weight: 650; letter-spacing: 0; }
.steps p { margin: 0; color: var(--muted); font-size: 14px; }
#cases { height: 0; }
.explore-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px 40px;
  margin-top: 40px;
}
.explore-card, .shot, .design-stage { min-width: 0; }
.shot {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.shot iframe {
  position: absolute;
  top: 0;
  left: 0;
  border: 0;
  pointer-events: none;
}
.shot-link { position: absolute; inset: 0; z-index: 1; }
.shot, .design-stage { overflow-anchor: none; }
.frame-scroll {
  position: absolute;
  top: 8px;
  right: 2px;
  bottom: 8px;
  z-index: 3;
  width: 18px;
  pointer-events: auto;
  touch-action: none;
  cursor: grab;
}
.frame-scroll::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 5px;
  width: 8px;
  border-radius: 999px;
  background: rgba(29, 28, 26, .12);
}
.frame-scroll[hidden] { display: none; }
.frame-scroll button {
  position: absolute;
  left: 5px;
  width: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(29, 28, 26, .55);
  cursor: grab;
  touch-action: none;
}
#designs .section-head p { max-width: 40em; }
.explore-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .16em;
}
.explore-card h3 { margin: 6px 0 8px; font-size: 28px; }
.explore-card > p { margin: 0; }
.explore-card > .explore-kicker { margin-top: 18px; }
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.pills li {
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.explore-link { display: inline-block; margin-top: 16px; }
.explore-card > .explore-flag { margin-top: 8px; color: var(--muted); font-size: 12px; }
.credit { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.shot-link:hover { background: rgba(29, 28, 26, .05); }
.explore-prompt {
  max-width: 36em;
  margin-top: 72px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.explore-prompt h3 { margin: 0; font-size: clamp(28px, 3vw, 36px); }
.explore-prompt p { margin: 12px 0 0; color: var(--muted); }
.explore-prompt .btn { margin-top: 22px; }
.close {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  margin: 88px 0 0;
  padding: 34px 36px;
  border-radius: 24px;
  background: #2a2926;
  color: #f6f3ee;
}
.close h2 { margin: 0; font-size: clamp(28px, 3vw, 36px); }
.close p { margin: 8px 0 0; color: rgba(246, 243, 238, .72); }
.close-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.faq { padding: 72px 0 20px; }
.faq h2 { margin: 0 0 8px; font-size: 32px; }
.faq dl { margin: 28px 0 0; }
.faq dt { margin-top: 22px; font-weight: 650; }
.faq dd { margin: 6px 0 0; color: var(--muted); }
.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 13px;
}
.foot a { text-decoration: none; }
.foot nav { display: flex; gap: 18px; }
.inquiry { width: min(calc(100% - 48px), 720px); margin: 0 auto; padding: 42px 0 24px; }
.inquiry h1 { font-size: clamp(36px, 5vw, 52px); }
.form { display: grid; gap: 16px; margin-top: 28px; }
label { display: grid; gap: 6px; font-size: 14px; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 252, 248, .8);
  padding: 12px 14px;
}
textarea { min-height: 140px; resize: vertical; }
.check { grid-template-columns: 18px 1fr; align-items: start; gap: 10px; }
.check input { width: 18px; height: 18px; margin-top: 4px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.status { min-height: 1.5em; margin: 0; }
.status.error { color: #8a3d32; }
.reserve {
  margin-top: 28px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
:focus-visible { outline: 2px solid #8d7352; outline-offset: 3px; }
@media (min-width: 861px) {
  .hero h1 { font-size: clamp(40px, 3.35vw, 54px); }
  .hero h1 span { white-space: nowrap; }
}
@media (max-width: 980px) {
  .plans { grid-template-columns: 1fr 1fr; }
  .icon-row, .steps { grid-template-columns: 1fr 1fr; }
  .steps article::before { display: none; }
}
@media (max-width: 860px) {
  .wrap, .inquiry { width: min(calc(100% - 32px), var(--max)); }
  .hero, .explore-grid, .pair { grid-template-columns: 1fr; }
  .hero { padding-top: 28px; gap: 28px; }
  .section { padding-top: 68px; }
  .icon-row { margin-top: 56px; }
  .close, .section-head, .foot { display: block; }
  .close-actions, .actions, .foot nav { margin-top: 18px; }
  .promises { gap: 0; }
  .promises div + div { padding-left: 14px; }
}
@media (max-width: 720px) {
  body { font-size: 15px; line-height: 1.65; }
  .hero h1 { font-size: 32px; line-height: 1.22; }
  .promises { flex-wrap: wrap; row-gap: 14px; }
  .promises strong { font-size: 14px; }
  .lead { font-size: 15px; }
  .section { padding-top: 40px; }
  .icon-row { margin-top: 36px; gap: 18px 14px; }
  .section-head h2, #process-title, .faq h2 { font-size: 26px; }
  .explore-card h3 { font-size: 20px; }
  .explore-card > .explore-flag { display: none; }
  .explore-prompt { margin-top: 36px; padding-top: 24px; }
  .explore-prompt h3, .close h2 { font-size: 24px; }
  .plan h3 { font-size: 20px; }
  .price b { font-size: 32px; }
  .close { margin-top: 40px; padding: 22px 18px; }
  .faq { padding-top: 40px; }
  .inquiry { padding-top: 24px; }
  .inquiry h1 { font-size: 30px; }
  textarea { min-height: 96px; }
}
@media (max-width: 640px) {
  .plans { grid-template-columns: 1fr; }
  .plan-shot img { height: 200px; }
  .plan .for { min-height: 0; }
  .icon-row, .steps { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---- 2026Q4 改版新增 ---- */
.hero .fine { margin: 16px 0 0; color: var(--muted); font-size: 13px; }
.icon-row h2 { line-height: 1.45; }
.demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 34px; }
.demo-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--card); }
.demo-card .demo-shot { display: block; aspect-ratio: 4 / 3; background: #e7e1d8; overflow: hidden; }
.demo-card .demo-shot img { width: 100%; height: 100%; object-fit: cover; }
.demo-card .body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 20px; }
.demo-card .no { margin: 0; color: var(--muted); font-size: 12px; letter-spacing: .16em; }
.demo-card h3 { margin: 6px 0 10px; font-size: 22px; line-height: 1.35; }
.demo-card dl { margin: 0 0 18px; font-size: 14px; }
.demo-card dt { color: var(--muted); font-size: 12px; margin-top: 10px; }
.demo-card dd { margin: 2px 0 0; }
.demo-card .btn { margin-top: auto; width: 100%; }
.small-note { margin: 18px 0 0; color: var(--muted); font-size: 13px; }
.lead-line { margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.lead-line a { white-space: nowrap; }
.plan .addon { margin: 0 0 14px; padding: 8px 10px; border-radius: 10px; background: #f1ece5; font-size: 14px; font-weight: 600; }
.plan .incl { margin: -6px 0 14px; color: var(--muted); font-size: 12px; }
.plan .reach { display: flex; gap: 8px; align-items: flex-start; margin: -4px 0 18px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #faf7f2; color: #4a4640; font-size: 13px; line-height: 1.6; }
.plan .reach svg { flex: 0 0 auto; margin-top: 3px; color: #b08d57; }
.terms-lead { margin-top: 24px; color: var(--muted); font-size: 14px; }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.col-card { padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.col-card h3 { margin: 0 0 4px; font-family: var(--sans); font-size: 17px; font-weight: 650; letter-spacing: 0; }
.col-card .p { margin: 0 0 10px; font-family: var(--serif); font-size: 26px; }
.col-card p { margin: 0; color: var(--muted); font-size: 14px; }
.col-card .tag { display: inline-block; margin-bottom: 8px; padding: 0 8px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--muted); }
.page-head { padding: 36px 0 0; }
.page-head h1 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.2; }
.page-head .lead { max-width: 40em; }
.rtable { width: 100%; margin-top: 24px; border-collapse: collapse; font-size: 14px; }
.rtable th, .rtable td { padding: 14px 12px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.rtable thead th { color: var(--muted); font-weight: 500; font-size: 13px; }
.rtable tbody th { font-weight: 650; min-width: 7em; }
details.more { margin-top: 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); font-size: 14px; }
details.more summary { cursor: pointer; font-weight: 650; min-height: 28px; }
details.more p { color: var(--muted); }
.box-note { margin-top: 20px; padding: 16px 18px; border-left: 3px solid var(--dark); background: #fffaf3; font-size: 15px; }
.rules { padding-left: 1.3em; color: var(--muted); font-size: 14px; }
.rules li { margin: 8px 0; }
.rules strong { color: var(--ink); }
.foot .co { color: var(--ink); }
.foot nav a[href^="mailto"] { white-space: nowrap; }
@media (max-width: 980px) {
  .demo-grid, .cols3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .demo-grid, .cols3, .icon-row { grid-template-columns: 1fr; }
  .demo-card h3 { font-size: 20px; }
  .rtable, .rtable tbody, .rtable tr, .rtable th, .rtable td { display: block; width: 100%; }
  .rtable thead { display: none; }
  .rtable tr { margin-top: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
  .rtable th, .rtable td { padding: 4px 0; border: 0; }
  .rtable td[data-k]::before { content: attr(data-k) "："; color: var(--muted); }
  .foot nav { flex-wrap: wrap; row-gap: 6px; }
}

/* ---- r2 ---- */
.hero-photo { border-radius: 18px; overflow: hidden; background: #efe8de; }
.hero-photo a { display: block; }
.hero-cap { margin-top: 8px; font-size: 12px; color: var(--muted); }
.hero-cap a { color: inherit; }
#hero-title span { display: block; }
@media (min-width: 861px) { #hero-title span { white-space: nowrap; } }
.hero-photo .hero-cap { margin: 0; padding: 8px 14px 10px; }
@media (max-width: 380px) { .hero h1 { font-size: 28px; } }

/* CTA 墨金流体（cta-fluid.js）：静态底先出，JS 就绪后淡入 canvas */
.close[data-fluid] {
  position: relative; overflow: hidden; isolation: isolate;
  background: #211f1b radial-gradient(ellipse 440px 180px at 82% 0, rgba(191,151,85,.24), transparent 68%);
}
.close[data-fluid] > :not(.fluid-canvas) { position: relative; z-index: 1; }
.close[data-fluid] .fluid-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
  pointer-events: none; opacity: 0; transition: opacity .6s ease;
}
.close[data-fluid].fluid-on .fluid-canvas { opacity: 1; }
.close[data-fluid]::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(33,31,27,.6), rgba(33,31,27,.2) 55%, rgba(33,31,27,0));
}
@media (max-width: 860px) { .close[data-fluid]::after { background: linear-gradient(180deg, rgba(33,31,27,.5), rgba(33,31,27,.25)); } }
.close[data-fluid] p { color: rgba(246, 243, 238, .8); }
@media (prefers-reduced-motion: reduce) { .close[data-fluid] .fluid-canvas { transition: none; } }

/* 首屏底层流体：canvas 在文字和图片下面，图片与文字不动 */
.hero[data-fluid] { position: relative; isolation: isolate; }
.hero[data-fluid] > :not(.fluid-canvas) { position: relative; z-index: 1; }
.hero[data-fluid] > .fluid-canvas {
  position: absolute; inset: 0 -16px -44px; width: 100%; height: 100%; z-index: 0;
  pointer-events: none; opacity: 0; transition: opacity .8s ease;
}
.hero[data-fluid].fluid-on > .fluid-canvas { opacity: 1; }

/* 首屏透明抠图：去掉米色底框，让底层丝线从设备周围透出；用 drop-shadow 补柔和投影 */
.hero[data-fluid] .hero-photo { background: transparent; border-radius: 0; overflow: visible; }
.hero[data-fluid] .hero-photo img { filter: drop-shadow(0 18px 22px rgba(60,46,28,.16)) drop-shadow(0 4px 6px rgba(60,46,28,.10)); }

/* 导航占位：nav.js 首帧后才插入，预留高度避免 CLS */
[data-site-nav] { min-height: var(--nav-h, 72px); }
@media (max-width: 860px) { [data-site-nav] { --nav-h: 64px; } }
