/* =========================================================
   StarMark 星拓 · 官网
   弥散光 + 北欧编辑排版：纸白底、松绿、薄荷、细分隔线，
   没有卡片盒子；内容直接落在光里。
   ========================================================= */

@font-face { font-family: "MiSans"; src: url("../fonts/misans.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "OPPOSans"; src: url("../fonts/opposans.woff2") format("woff2"); font-weight: 100 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Nanxi Chuxiasong"; src: url("../fonts/nanxi-tagline.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --paper: #f3f2ec;
  --ink: #101110;
  --ink-2: #2e302a;
  --pine: #16211b;
  --mint: #c6e7d2;
  --mint-2: #a5dfc2;
  --muted: #6b6f67;
  --faint: #96998f;
  --line: rgba(16, 17, 16, 0.12);
  --line-dark: rgba(243, 242, 236, 0.14);
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  /* 间距与圆角：全部落在 4 的倍数上，与 App 的 12/16/20/56 对应 */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-16: 64px;
  --r-surface: 20px; --r-control: 12px; --r-pill: 999px;
  --nav-h: 60px;
  --font: "OPPOSans", "MiSans", -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }
html.no-gutter { scrollbar-gutter: auto; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
img, svg { -webkit-user-drag: none; user-select: none; }
.brand svg, .brand-mark, .realize-mark { pointer-events: none; }
p, h1, h2, h3, h4, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 8px; }
::selection { background: var(--mint); color: var(--ink); }

.skip { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; font-size: 13px; transition: top .2s var(--ease); }
.skip:focus { top: 12px; }

.shell { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 48px); }

/* ---------- 弥散光层 ---------- */
.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(64px); will-change: transform; animation: drift 34s ease-in-out infinite alternate; }
.orb--mint { width: 52vw; height: 52vw; left: -12vw; top: -14vw; background: radial-gradient(circle at 40% 40%, rgba(198, 231, 210, 0.95), rgba(198, 231, 210, 0) 66%); }
.orb--sage { width: 46vw; height: 46vw; right: -14vw; top: 4vh; background: radial-gradient(circle at 50% 50%, rgba(176, 205, 188, 0.8), rgba(176, 205, 188, 0) 66%); animation-duration: 52s; animation-delay: -9s; }
.orb--sand { width: 44vw; height: 44vw; left: 26vw; bottom: -18vw; background: radial-gradient(circle at 50% 50%, rgba(239, 231, 206, 0.9), rgba(239, 231, 206, 0) 68%); animation-duration: 58s; animation-delay: -20s; }
.orb--ice { width: 34vw; height: 34vw; right: 4vw; bottom: 2vh; background: radial-gradient(circle at 50% 50%, rgba(206, 226, 228, 0.7), rgba(206, 226, 228, 0) 70%); animation-duration: 46s; animation-delay: -4s; }

@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(4vw, -3vh, 0) scale(1.08); }
  100% { transform: translate3d(-2.5vw, 4vh, 0) scale(0.96); }
}

.grain {
  position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: 0.28; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.09'/%3E%3C/svg%3E");
}

main, .nav, .footer { position: relative; z-index: 3; }

/* ---------- 导航 ---------- */
.nav {
  position: fixed; top: 16px; left: 0; right: 0; margin-inline: auto; z-index: 100;
  width: min(1200px, calc(100% - 32px)); height: var(--nav-h);
  display: flex; align-items: center; gap: 16px;
  padding: 0 12px 0 20px; border-radius: 999px;
  background: rgba(243, 242, 236, 0.62);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 10px 30px -26px rgba(16, 17, 16, 0.45);
}
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand svg, .brand img { width: 104px; height: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.nav-links a { display: inline-flex; align-items: center; justify-content: center; min-width: 88px; height: 44px; padding: 0 15px; border-radius: 999px; font-size: 14px; color: var(--ink-2); transition: background-color .25s var(--ease), color .25s var(--ease); }
.nav-links a:hover { background: rgba(16, 17, 16, 0.05); }
.nav-links a.is-active { background: var(--ink); color: var(--paper); }
.nav-cta { margin-left: 6px; flex: none; }

/* ---------- 按钮与链接 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border: 0; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  transition: transform .18s var(--ease), background-color .25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn.is-static { cursor: default; }
.btn.is-static:active { transform: none; }
.btn--mint.is-static:hover { background: var(--mint); }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: #2a2d27; }
.btn--mint { background: var(--mint); color: var(--ink); }
.btn--mint:hover { background: var(--mint-2); }
.btn--ghost { background: rgba(16, 17, 16, 0.05); color: var(--ink); }
.btn--ghost:hover { background: rgba(16, 17, 16, 0.09); }
.btn--sm { height: 44px; padding: 0 16px; font-size: 13px; }
.btn--lg { height: 52px; padding: 0 24px; font-size: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(16, 17, 16, 0.28);
  transition: border-color .25s var(--ease), gap .25s var(--ease);
}
.link-arrow:hover { border-color: var(--ink); gap: 12px; }
.link-arrow svg { width: 15px; height: 15px; }

/* ---------- 文字 ---------- */
.label { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint-2); }
.label--plain::before { display: none; }

.h1 { font-size: clamp(44px, 6vw, 92px); font-weight: 500; line-height: 1.08; letter-spacing: -0.035em; }
.h2 { font-size: clamp(28px, 3.4vw, 46px); font-weight: 500; line-height: 1.2; letter-spacing: -0.03em; }
.h3 { font-size: 17px; font-weight: 500; line-height: 1.45; letter-spacing: -0.01em; }
.lede { font-size: clamp(14px, 1.05vw, 16px); line-height: 1.85; color: var(--muted); }
.small { font-size: 13px; color: var(--muted); }
.tiny { font-size: 13px; color: var(--faint); }

/* ---------- 主页（不滚动） ---------- */
.home { height: 100dvh; display: flex; align-items: center; padding: calc(var(--nav-h) + 28px) 0 40px; }
.hero { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(24px, 5vw, 80px); align-items: center; width: 100%; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(16px, 1.8vw, 24px); }
.hero-copy .h1 { margin-top: 2px; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 8px; }
.hero-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; color: var(--faint); font-size: 13px; }
.hero-meta li { display: flex; align-items: center; gap: 6px; }
.hero-meta li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--mint-2); }

.hero-visual { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; min-width: 0; }
.bloom {
  position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 231, 210, 0.95), rgba(198, 231, 210, 0) 66%);
  filter: blur(46px);
}
.phone { position: relative; width: min(58%, 280px); border-radius: 32px; overflow: hidden; background: #000; box-shadow: 0 44px 90px -46px rgba(20, 32, 24, 0.55); }
.phone img { width: 100%; height: auto; }
.hero-note { position: relative; display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--ink-2); }
.hero-note .dot { width: 6px; height: 6px; border-radius: 50%; background: #4e9f6f; box-shadow: 0 0 0 3px rgba(78, 159, 111, 0.16); }

/* ---------- 内页 ---------- */
.page { padding: calc(var(--nav-h) + 44px) 0 0; }
.masthead { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(20px, 3vw, 40px) clamp(40px, 5vw, 70px); }
.masthead .h1 { margin: 0 0 18px; font-size: clamp(34px, 3.9vw, 56px); }
.masthead .actions { display: flex; align-items: center; gap: 24px; margin-top: 24px; flex-wrap: wrap; }
.masthead-photo { position: relative; display: grid; place-items: center; }
.masthead-photo .bloom { width: 88%; background: radial-gradient(circle, rgba(198, 231, 210, 0.9), transparent 68%); }
.masthead-photo img { position: relative; width: min(100%, 440px); border-radius: var(--r-surface); box-shadow: 0 40px 80px -54px rgba(20, 32, 24, 0.5); }

.section { padding-block: clamp(40px, 4.8vw, 72px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.section-head .lede { max-width: 44ch; }

/* 能力清单：无卡片，只有编号与分隔线 */
.capabilities { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(28px, 5vw, 80px); border-top: 1px solid var(--line); }
.capability { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: clamp(16px, 2.2vw, 24px) 0; border-bottom: 1px solid var(--line); }
.cap-num { font-size: 11px; letter-spacing: 0.12em; color: var(--faint); padding-top: 5px; font-variant-numeric: tabular-nums; }
.capability h3 { margin-bottom: 6px; }
.capability p { font-size: 14px; color: var(--muted); line-height: 1.8; max-width: 40ch; }

/* 截图：直接落在光里 */
.screens { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); }
.screen { display: grid; justify-items: center; gap: 16px; }
.screen img { width: min(100%, 340px); border-radius: var(--r-surface); box-shadow: 0 40px 70px -50px rgba(20, 32, 24, 0.5); }
.screen figcaption { display: flex; gap: 12px; align-items: baseline; font-size: 13px; color: var(--ink-2); }
.screen figcaption span { color: var(--faint); font-size: 11px; }

/* 规格：账目行 */
.spec { border-top: 1px solid var(--line); }
.spec-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 56px; padding: 0; border-bottom: 1px solid var(--line); font-size: 14px; font-variant-numeric: tabular-nums; }
.spec-row dd { font-variant-numeric: tabular-nums; }
.spec-row dt { color: var(--muted); }
.spec-row dd { margin: 0; font-weight: 500; text-align: right; }

/* 下载：整幅弥散深色带 */
.band { position: relative; margin-top: clamp(50px, 7vw, 90px); background: linear-gradient(165deg, #1a1f1b 0%, #101211 70%); color: var(--paper); overflow: hidden; }
.band::before {
  content: ""; position: absolute; width: 60vw; height: 60vw; right: -14vw; top: -28vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(165, 223, 194, 0.3), transparent 66%); filter: blur(40px);
}
.band::after {
  content: ""; position: absolute; width: 44vw; height: 44vw; left: -16vw; bottom: -24vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 231, 210, 0.18), transparent 66%); filter: blur(40px);
}
.band-inner { position: relative; z-index: 2; padding-block: clamp(44px, 6vw, 84px); display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 32px; align-items: center; }
.band .h2 { color: var(--paper); margin-bottom: 10px; }
.band p { color: rgba(243, 242, 236, 0.6); font-size: 14px; max-width: 46ch; }
.band-meta { display: flex; gap: 24px; margin-top: 24px; flex-wrap: wrap; }
.band-meta strong, .hero-note { font-variant-numeric: tabular-nums; }
.band-meta div { font-size: 11px; color: rgba(243, 242, 236, 0.42); }
.band-meta strong { display: block; font-size: 15px; color: var(--paper); font-weight: 500; margin-top: 2px; }
.band-actions { display: flex; flex-direction: column; gap: 10px; }
.band .btn--ghost { background: rgba(243, 242, 236, 0.1); color: var(--paper); }
.band .btn--ghost:hover { background: rgba(243, 242, 236, 0.16); }
.band-hash { position: relative; z-index: 2; padding-bottom: 28px; font-size: 11px; color: rgba(243, 242, 236, 0.34); word-break: break-all; }

/* ---------- 主页：暗色品牌页（居中、无图、不滚动） ---------- */
html.page-dark {
  background-color: #0a0b0a;
  background-image:
    radial-gradient(58vw 58vw at 82% 6%, rgba(165, 223, 194, 0.20), transparent 62%),
    radial-gradient(48vw 48vw at 6% 94%, rgba(198, 231, 210, 0.12), transparent 66%),
    linear-gradient(165deg, #1a1f1b 0%, #0e100f 62%, #0a0b0a 100%);
}
html.page-dark body { background: transparent; }
.brand-home {
  position: relative;
  min-height: 100dvh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 24px 112px;
  text-align: center;
  color: var(--paper);
}
.brand-home::before,
.brand-home::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}
.brand-home::before {
  width: 46vw; height: 46vw; right: 4vw; top: -10vw;
  background: radial-gradient(circle, rgba(165, 223, 194, 0.46), rgba(165, 223, 194, 0) 66%);
  animation: glow-a 26s ease-in-out infinite alternate;
}
.brand-home::after {
  width: 40vw; height: 40vw; left: -6vw; bottom: -12vw;
  background: radial-gradient(circle, rgba(198, 231, 210, 0.28), rgba(198, 231, 210, 0) 68%);
  animation: glow-b 34s ease-in-out infinite alternate;
}
/* 光晕在主色调里缓慢换色：薄荷 → 鼠尾草 → 青绿，幅度控制在 ±14° */
@keyframes glow-a {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 0.72; filter: blur(70px) hue-rotate(-16deg); }
  50%  { transform: translate3d(-2vw, 3vh, 0) scale(1.1); opacity: 1; filter: blur(70px) hue-rotate(4deg); }
  100% { transform: translate3d(2vw, -1vh, 0) scale(0.96); opacity: 0.68; filter: blur(70px) hue-rotate(20deg); }
}
@keyframes glow-b {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 0.6; filter: blur(70px) hue-rotate(14deg); }
  50%  { transform: translate3d(2vw, -2vh, 0) scale(1.08); opacity: 0.92; filter: blur(70px) hue-rotate(-6deg); }
  100% { transform: translate3d(-2vw, 2vh, 0) scale(0.97); opacity: 0.7; filter: blur(70px) hue-rotate(-18deg); }
}
.brand-core { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 28px; width: 100%; max-width: 840px; }
.brand-mark { width: clamp(260px, 30vw, 440px); filter: invert(1); opacity: 0.96; }
.brand-tagline {
  font-family: "Nanxi Chuxiasong", "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif CJK SC", serif;
  font-size: clamp(25px, 2vw, 28px);
  line-height: 1.8;
  letter-spacing: 0.36em;
  transform: translateX(0.18em);
  max-width: 100%;
  color: rgba(243, 242, 236, 0.74);
  max-width: 40ch;
}
.brand-core .btn { margin-top: 4px; }
.brand-note { margin-top: -10px; font-size: 13px; line-height: 1.6; letter-spacing: 0.04em; color: rgba(243, 242, 236, 0.46); }

.brand-footer {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 0 clamp(20px, 4vw, 64px) 32px;
}
.brand-credit { display: flex; align-items: center; gap: 14px; color: rgba(243, 242, 236, 0.48); font-size: 11px; letter-spacing: 0.04em; }
.realize-mark { height: 22px; width: auto; filter: invert(1); opacity: 0.78; }
.icp { font-size: 11px; color: rgba(243, 242, 236, 0.38); min-width: 180px; text-align: right; letter-spacing: 0.02em; }

/* 缓慢旋转的弥散色环 */
.swirl {
  position: absolute; inset: -35%;
  background: conic-gradient(from 0deg, #c6e7d2, #e9efd9, #cee2e4, #efe7ce, #c6e7d2);
  filter: blur(90px);
  opacity: 0.58;
  animation: swirl 48s linear infinite;
}
@keyframes swirl { to { transform: rotate(360deg); } }

/* ---------- 编辑器 ---------- */
.editor-page { height: 100dvh; display: flex; flex-direction: column; padding: calc(var(--nav-h) + 32px) 0 24px; }
.editor-page > .shell { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.editor-bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex: none; }
.editor-bar .left { display: flex; align-items: baseline; gap: 12px; }
.editor-bar h1 { font-size: clamp(18px, 1.6vw, 24px); font-weight: 500; letter-spacing: -0.02em; }
.editor-bar .right { display: flex; gap: 8px; flex-wrap: wrap; }

.editor-grid { display: grid; grid-template-columns: 248px minmax(0, 1fr) 288px; gap: 16px; height: calc(100dvh - var(--nav-h) - 108px); min-height: 520px; }
.panel { background: rgba(255, 255, 255, 0.42); border-radius: var(--r-surface); padding: 16px; overflow: auto; overscroll-behavior: contain; }
.panel-title { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin: 6px 2px 6px; }
.panel--left { display: flex; flex-direction: column; }
.panel--left .panel-note { margin-top: auto; padding-top: 16px; }
.panel--left .check-group { margin-top: 4px; }

.style-list { display: grid; gap: 6px; }
.style-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px; border: 0; border-radius: var(--r-control); background: transparent; text-align: left; transition: background-color .2s var(--ease); }
.style-item:hover { background: rgba(255, 255, 255, 0.5); }
.style-item.is-active { background: rgba(198, 231, 210, 0.9); }
.style-item .glyph { width: 30px; height: 30px; border-radius: 8px; background: rgba(243, 242, 236, 0.9); display: grid; place-items: center; flex: none; color: var(--ink); }
.style-item b { display: block; font-size: 13px; font-weight: 500; }
.style-item span { display: block; font-size: 11px; color: var(--muted); }

.stage { position: relative; background: rgba(255, 255, 255, 0.46); border-radius: var(--r-surface); padding: 16px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.stage-inner { position: relative; max-width: 100%; max-height: 100%; border-radius: var(--r-control); overflow: hidden; background: rgba(234, 232, 224, 0.6); }
#canvas { display: block; max-width: 100%; max-height: calc(100dvh - var(--nav-h) - 196px); width: auto; height: auto; }
.stage-hint { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); font-size: 11px; color: var(--faint); }

.field { margin-bottom: 6px; }
.field label { display: block; font-size: 11px; color: var(--muted); margin-bottom: 5px; }
.input, .select { width: 100%; height: 40px; padding: 0 12px; border-radius: var(--r-control); border: 1px solid rgba(16, 17, 16, 0.1); background: rgba(255, 255, 255, 0.75); font-size: 14px; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.input:focus, .select:focus { outline: none; border-color: var(--ink); background: #fff; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.seg { display: flex; gap: 4px; padding: 4px; background: rgba(255, 255, 255, 0.5); border-radius: var(--r-control); }
.seg button { flex: 1; height: 32px; border: 0; border-radius: 8px; background: transparent; font-size: 13px; color: var(--muted); transition: background-color .2s var(--ease), color .2s var(--ease); }
.seg button.is-active { background: var(--ink); color: var(--paper); }

.swatches { display: flex; gap: 8px; }
.swatch { width: 28px; height: 28px; border-radius: 50%; border: 2px solid transparent; box-shadow: inset 0 0 0 1px rgba(16, 17, 16, 0.14); }
.swatch.is-active { border-color: var(--ink); }
.range { width: 100%; accent-color: var(--ink); }
.check { display: flex; align-items: center; justify-content: space-between; min-height: 40px; padding: 0 2px; font-size: 13px; border-bottom: 1px solid rgba(16, 17, 16, 0.08); }
.check-group { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; }
.check input { width: 17px; height: 17px; accent-color: var(--ink); }

/* ---------- 页脚 ---------- */
.footer { margin-top: clamp(50px, 7vw, 90px); border-top: 1px solid var(--line); padding: 24px 0 38px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.footer .brand img { width: 92px; opacity: 0.85; }
.footer-links { display: flex; gap: 20px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.footer-links a:hover { color: var(--ink); }
.footer-note { font-size: 13px; color: var(--faint); max-width: 40ch; line-height: 1.75; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .editor-grid { grid-template-columns: 226px minmax(0, 1fr) 262px; }
}
@media (max-width: 900px) {
  .nav { width: calc(100% - 24px); padding: 0 8px 0 14px; }
  .brand svg, .brand img { width: 90px; }
  .nav-links { flex: 1 1 auto; justify-content: center; gap: 8px; }
  .nav-links a { flex: 1 1 0; min-width: 0; padding: 0 8px; font-size: 13px; }
  .nav-cta .btn { height: 40px; padding: 0 14px; font-size: 13px; }

  .home { height: auto; min-height: 100dvh; padding: calc(var(--nav-h) + 30px) 0 40px; }
  .hero { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { order: -1; }
  .phone { width: min(58%, 240px); }

  .masthead { grid-template-columns: 1fr; }
  .capabilities { grid-template-columns: 1fr; }
  .screens { grid-template-columns: 1fr 1fr; }
  .band-inner { grid-template-columns: 1fr; }

  .brand-home { height: auto; min-height: 100dvh; padding: 64px 20px 120px; }
  .brand-mark { width: min(66vw, 300px); }
  .brand-footer { padding: 0 20px 28px; }

  .editor-page { height: auto; min-height: 100dvh; }
  .editor-page > .shell { flex: none; }
  .editor-grid { grid-template-columns: 1fr; flex: none; height: auto; min-height: 0; }
  .stage { min-height: 400px; order: -1; }
  .panel { max-height: none; }
  #canvas { max-height: 62vh; }
}
@media (max-width: 640px) {
  body { font-size: 14px; }
  .h1 { font-size: clamp(30px, 8.6vw, 38px); }
  .hero-actions { gap: 18px; }
  .home { padding: calc(var(--nav-h) + 14px) 0 18px; }
  .hero { gap: 22px; }
  .hero-copy { gap: 12px; }
  .hero-meta { display: none; }
  .phone { width: min(48%, 162px); }
  .hero-note { justify-content: center; font-size: 11px; }
  .screens { grid-template-columns: 1fr; }
  .nav { justify-content: space-between; gap: 6px; padding: 0 8px 0 12px; }
  .brand svg, .brand img { width: 82px; }
  .nav-links { margin-left: auto; flex: 1 1 auto; justify-content: center; gap: 6px; }
  .nav-links a { flex: 1 1 0; min-width: 0; height: 44px; padding: 0 6px; font-size: 13px; }
  .nav-cta { display: none; }
  .brand-home { padding: 56px 20px 132px; }
  .brand-mark { width: min(70vw, 260px); }
  .brand-tagline { font-size: 25px; line-height: 1.8; letter-spacing: 0.36em; }
  .brand-footer { flex-direction: column; align-items: flex-start; gap: 10px; padding: 0 20px 28px; }
  .icp { min-width: 0; text-align: left; }
  .spec-row { flex-direction: column; gap: 4px; }
  .spec-row dd { text-align: left; }
  .editor-bar { flex-direction: column; align-items: flex-start; }
  .editor-bar .right { width: 100%; }
  .editor-bar .right .btn { flex: 1; }
  .capability { grid-template-columns: 40px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .orb { animation: none; }
  .brand-home::before, .brand-home::after { animation: none; }
  *, *::before, *::after { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}
