/* 美梵空间官网 · SITE-LAUNCH-R1
   保留墨绿品牌主色与克制的编辑式版面；
   靠字号、留白、版式建层级——少卡片、少圆角、少阴影；正文加大加对比；
   首屏一个主按钮；产品=1 核心+3 辅助；流程=一条线；联系=一个结尾行动区。 */

:root {
  --ink: #1a2320; --paper: #f7f6f3; --raised: #ffffff; --line: #e5e1d9; --muted: #57635d;
  --teal: #1c6b57; --teal-soft: #e8f0ec; --amber: #b26622; --amber-soft: #f6ecdf;
  --shadow: 0 1px 2px rgba(26, 35, 32, .05), 0 12px 32px -16px rgba(26, 35, 32, .16);
  --radius: 14px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
}
/* 主题收窄（张工 2026-07-21 裁定）：官网首期固定浅色，无暗色变体、无切换钮；
   <html data-theme="light"> 硬编码 + JS 同步钉死，prefers-color-scheme 不再接管。 */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 10px; border: 1px solid transparent;
  padding: 8px 16px; font-size: 14px; font-weight: 650; font-family: inherit;
  cursor: pointer; transition: background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { filter: brightness(1.1); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { color: var(--teal); }
.btn-lg { padding: 14px 26px; font-size: 15.5px; border-radius: 12px; }
.btn-icon { width: 36px; height: 36px; padding: 0; border: 1px solid var(--line); background: transparent; color: var(--ink); border-radius: 10px; font-size: 15px; }

/* ===== 顶栏 ===== */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; gap: 16px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand-logo { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }
.brand-word b { font-family: var(--serif); font-size: 17px; letter-spacing: .04em; display: block; line-height: 1.2; }
.brand-word small { color: var(--muted); font-size: 10.5px; letter-spacing: .12em; }
.site-nav { display: none; gap: 22px; margin-left: 12px; }
.site-nav a { color: var(--ink); font-size: 14px; font-weight: 600; }
.site-nav a:hover { color: var(--teal); }
.header-acts { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.header-entry { min-width: 76px; }
.nav-toggle { display: inline-flex; }
.site-nav.open {
  display: flex; flex-direction: column; gap: 4px;
  position: absolute; top: 62px; left: 0; right: 0;
  background: var(--raised); border-bottom: 1px solid var(--line);
  padding: 10px 20px 14px; margin: 0;
}
.site-nav.open a { padding: 8px 2px; border-bottom: 1px solid var(--line); }
.site-nav.open a:last-child { border-bottom: 0; }

/* ===== 首屏：大标题 + 一个主按钮 + 主视觉槽 ===== */
.hero { padding: 72px 0 56px; }
.hero-in { display: grid; gap: 36px; }
.eyebrow { color: var(--amber); font-size: 13px; font-weight: 700; letter-spacing: .2em; margin: 0 0 14px; }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 8.4vw, 60px);
  line-height: 1.22; margin: 0 0 20px; letter-spacing: .02em; font-weight: 700;
}
.hero h1 em { font-style: normal; color: var(--teal); }
.hero-sub { color: var(--ink); opacity: .82; font-size: 17.5px; line-height: 1.75; max-width: 46ch; margin: 0 0 28px; }
.hero-cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero-link { font-size: 15px; font-weight: 650; color: var(--teal); }
.hero-link:hover { text-decoration: underline; }

/* 首屏主视觉（A「轻奢高定空间」已落位；<picture> 桌面 16:9 / 手机 4:5） */
.hero-visual {
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--raised);
}
.hero-visual picture, .hero-visual img { width: 100%; height: 100%; display: block; }
.hero-visual img { object-fit: cover; }

/* ===== 分区通用 ===== */
.section { padding: 64px 0; scroll-margin-top: 62px; }
#top { scroll-margin-top: 62px; }
.section-alt { border-top: 1px solid var(--line); }
.section-head { max-width: 60ch; margin-bottom: 34px; }
.section-head h2 { font-family: var(--serif); font-size: clamp(24px, 4.8vw, 32px); margin: 0 0 10px; letter-spacing: .02em; }
.section-head p { color: var(--muted); margin: 0; font-size: 15px; }

/* ===== 核心产品（重点展示；hairline 分区带，非卡片） ===== */
.core-product {
  border-top: 1px solid var(--line);
  padding-top: 34px;
  display: grid; gap: 28px;
}
.core-tag { color: var(--amber); font-size: 12.5px; font-weight: 700; letter-spacing: .18em; margin: 0 0 10px; }
.core-copy h3 { font-family: var(--serif); font-size: clamp(22px, 4vw, 28px); margin: 0 0 12px; }
.core-lead { font-size: 16.5px; line-height: 1.75; margin: 0 0 18px; max-width: 48ch; }
.core-points { margin: 0; padding: 0; list-style: none; }
.core-points li {
  position: relative; padding: 10px 0 10px 26px;
  border-top: 1px solid var(--line);
  font-size: 14.5px; color: var(--muted);
}
.core-points li::before {
  content: ""; position: absolute; left: 2px; top: 18px;
  width: 8px; height: 8px; border-radius: 2px; background: var(--teal);
}
/* 核心产品配图（B「AI 空间生成过程」已落位，16:10） */
.core-visual {
  margin: 0;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--raised);
}
.core-visual img { width: 100%; height: 100%; display: block; object-fit: cover; }

/* AI 生成内容显式标识（合规清单 C 节：自家 AI 生成图挂"AI生成"标识） */
.hero-visual, .core-visual { position: relative; }
.ai-badge {
  position: absolute; right: 10px; bottom: 10px;
  padding: 3px 9px; border-radius: 7px;
  background: rgba(20, 27, 24, .55); color: #fff;
  font-size: 11px; font-weight: 650; letter-spacing: .06em;
  backdrop-filter: blur(4px); pointer-events: none;
}

/* ===== 辅助能力：排版式三项 ===== */
.aux-list {
  margin-top: 44px;
  display: grid; gap: 0;
  border-top: 1px solid var(--line);
}
.aux-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.aux-item h4 { margin: 0 0 6px; font-size: 16.5px; font-weight: 700; }
.aux-item p { margin: 0; color: var(--muted); font-size: 14.5px; max-width: 62ch; }

/* ===== 流程线（3 阶段，一条线） ===== */
.flowline {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 26px;
}
.flow-step { position: relative; padding-left: 56px; }
.flow-no {
  position: absolute; left: 0; top: 2px;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--teal) 45%, transparent);
  color: var(--teal); background: var(--teal-soft);
  display: grid; place-items: center;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 13px; font-weight: 700;
}
.flow-step h3 { margin: 4px 0 6px; font-size: 17px; }
.flow-step p { margin: 0; color: var(--muted); font-size: 14.5px; max-width: 52ch; }
.case-line {
  margin: 30px 0 0; padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 14px;
}
.case-line b { color: var(--ink); }

/* ===== 结尾行动区 ===== */
.closing { text-align: center; }
.closing-in { max-width: 640px; }
.closing h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 6vw, 42px);
  line-height: 1.3; margin: 0 0 18px; letter-spacing: .02em;
}
.closing-sub { color: var(--muted); font-size: 15.5px; line-height: 1.8; margin: 0 0 28px; }
.contact-list {
  display: grid; gap: 0; margin: 0 auto 28px; padding: 0;
  max-width: 590px; text-align: left; font-style: normal;
  border-top: 1px solid var(--line);
}
.contact-list a, .contact-list p {
  display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px;
  margin: 0; padding: 13px 0; border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.contact-list a:hover strong { color: var(--teal); }
.contact-list span { color: var(--muted); font-size: 13px; }
.contact-list strong { font-size: 14px; font-weight: 650; overflow-wrap: anywhere; }
.closing-cta { margin-bottom: 18px; }
.closing-note { color: var(--muted); font-size: 13px; margin: 0; }

/* ===== 页脚 ===== */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 32px; }
.footer-in { display: grid; gap: 14px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 28px; height: 28px; border-radius: 7px; }
.footer-brand b { font-size: 14px; display: block; font-family: var(--serif); letter-spacing: .02em; }
.footer-brand small { color: var(--muted); font-size: 12px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13.5px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--teal); }
.footer-copy { margin: 0; color: var(--muted); font-size: 12.5px; }
.footer-legal { margin: 0; color: var(--muted); font-size: 12.5px; grid-column: 1 / -1; }
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--teal); }

@media (max-width: 420px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .header-in { gap: 8px; }
  .brand { gap: 7px; }
  .brand-word b { font-size: 15px; }
  .header-entry { min-width: 0; padding: 7px 11px; }
  .header-acts { gap: 6px; }
}

/* ===== 桌面增强 ===== */
@media (min-width: 720px) {
  .site-nav { display: flex; }
  .nav-toggle { display: none; }
  .hero { padding: 96px 0 72px; }
  .hero-in { grid-template-columns: 1.02fr .98fr; align-items: center; gap: 52px; }
  .hero-visual { aspect-ratio: 16 / 9; }
  .core-product { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
  .aux-list { grid-template-columns: repeat(3, 1fr); gap: 28px; border-top: 1px solid var(--line); }
  .aux-item { border-bottom: 0; border-top: 0; padding: 20px 0; }
  .aux-item + .aux-item { border-left: 1px solid var(--line); padding-left: 28px; }
  .flowline { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .flow-step { padding-left: 0; padding-top: 52px; }
  .flow-no { top: 0; }
  .flow-step::before {
    content: ""; position: absolute; top: 19px; left: 46px; right: 18px;
    border-top: 1px solid var(--line);
  }
  .flow-step:last-child::before { display: none; }
  .section { padding: 80px 0; }
  .footer-in { grid-template-columns: auto 1fr auto; align-items: center; }
  .footer-links { justify-self: center; }
  .footer-copy { justify-self: end; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
