/* ============================================================
   Author 2 — home-fashion.css
   Themeable design system. Three switchable themes share one
   set of semantic tokens, consumed by every page.
     :root              → "fashion"  精致杂志风 (default)
     [data-theme=vivid] → "vivid"    丰富色彩
     [data-theme=dark]  → "dark"     深色高级 SaaS
   ============================================================ */

@font-face {
  font-family: "ZhiMangXing";
  src: url("./fonts/zhimangxing-subset.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "TangerineLatin";
  src: url("./fonts/tangerine-latin.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
:root {
  --font-display: "ZhiMangXing", "Noto Serif SC", serif;
  --font-heading: "KaiTi", "Kaiti SC", "STKaiti", "楷体", "Noto Serif SC", serif;
}
:root:lang(en) {
  --font-display: "TangerineLatin", cursive;
  --font-heading: "TangerineLatin", cursive;
}
/* 行书：名人名言 + 戏剧化大标题 */
.hero-slogan,
.fashion-cta h2,
.creator-quote blockquote {
  font-family: var(--font-display);
  font-weight: 400;
  font-synthesis: none;
}
/* 楷书：功能/区块标题（更规整易读） */
.section-title h2,
.feature-story h2,
.memory-shell h2,
.modes-shell h2,
.writing-steps h2,
.resource-spotlight h2,
.page-hero h1,
.section-heading h2 {
  font-family: var(--font-heading);
}
/* 语言切换下拉（i18n.js 注入到页眉 .nav-actions） */
.lang-dd { position: relative; display: inline-flex; align-items: center; }
.lang-dd-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease;
}
.lang-dd-toggle:hover { border-color: var(--ink); color: var(--ink); }
.lang-dd-toggle .lang-cur { white-space: nowrap; }
@media (max-width: 560px) {
  /* 小屏语言胶囊只留地球图标,避免文字折行撑破 */
  .lang-dd-toggle .lang-cur { display: none; }
  .lang-dd-toggle { padding: 0 9px; }
}
.lang-dd-toggle .lang-globe { flex-shrink: 0; opacity: 0.85; }
.lang-dd-toggle svg { transition: transform 180ms ease; }
.lang-dd.open .lang-dd-toggle svg { transform: rotate(180deg); }
.lang-dd-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 120;
  min-width: 152px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
}
.lang-dd.open .lang-dd-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-dd-menu li {
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
}
.lang-dd-menu li:hover { background: var(--surface-3); color: var(--ink); }
.lang-dd-menu li[aria-selected="true"] { color: var(--brand); font-weight: 700; }
[dir="rtl"] .lang-dd-menu { right: auto; left: 0; }

:root {
  /* surfaces */
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #fbfbfb;
  --surface-3: #f6f6f8;
  --hero-bg: #f5f5f3;
  --band: #f2f3f5;

  /* text */
  --ink: #090909;
  --text: #37383b;
  --muted: #6a6b70;
  --faint: #97989d;

  /* lines */
  --line: #d9dadd;
  --line-soft: #e7e8ea;

  /* brand + accent */
  --brand: #175cbc;
  --brand-strong: #104b9d;
  --brand-tint: #e8edf5;
  --accent: #ff5b4e;
  --accent-2: #ff5b4e;
  --on-brand: #ffffff;

  /* dark contrast blocks (memory / cta / dark sections / auth) */
  --dark-bg: #0b0b0c;
  --dark-surface: #131315;
  --dark-line: #343438;
  --dark-text: #ffffff;
  --dark-muted: #a6a6ab;

  /* decorative art */
  --art-bg: #e9e9e7;
  --art-1: #fdfdfc;
  --art-2: #c9c9c6;
  --art-3: #141414;
  --art-accent: #175cbc;
  --art-glow: rgba(255, 91, 78, 0.16);
  --art-glow-2: rgba(23, 92, 188, 0.14);

  /* effects */
  --shadow-card: 0 24px 60px rgba(18, 22, 28, 0.16), 0 3px 10px rgba(18, 22, 28, 0.06);
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.12);
  --shadow-btn: 0 10px 24px rgba(23, 92, 188, 0.22);
  --ring: rgba(23, 92, 188, 0.32);
  --radius: 8px;
  --radius-sm: 4px;
  --glass: none;
  --glass-blur: blur(0px);

  /* fixed */
  --max: 1280px;
  --serif: Georgia, "Times New Roman", "Noto Serif SC", serif;
  --sans: Arial, "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

/* ---------- Theme: vivid （丰富色彩） ---------- */
[data-theme="vivid"] {
  --bg: #fffaf4;
  --surface: #ffffff;
  --surface-2: #fff5ec;
  --surface-3: #fdeee1;
  --hero-bg: #ffe9da;
  --band: #fff2e7;

  --ink: #20140d;
  --text: #4f4036;
  --muted: #8a7868;
  --faint: #b8a695;

  --line: #f0ddca;
  --line-soft: #f6e9da;

  --brand: #f0512e;
  --brand-strong: #d63d1c;
  --brand-tint: #ffe6dd;
  --accent: #7b3ff2;
  --accent-2: #ff8a3d;
  --on-brand: #ffffff;

  --dark-bg: #2a1342;
  --dark-surface: #3a1f57;
  --dark-line: #4f3470;
  --dark-text: #fdf7ff;
  --dark-muted: #cdb6e4;

  --art-bg: #ffe2cf;
  --art-1: #fff2cf;
  --art-2: #ff9b63;
  --art-3: #7b3ff2;
  --art-accent: #f0512e;
  --art-glow: rgba(240, 81, 46, 0.22);
  --art-glow-2: rgba(123, 63, 242, 0.22);

  --shadow-card: 0 26px 60px rgba(123, 63, 242, 0.18), 0 4px 12px rgba(240, 81, 46, 0.1);
  --shadow-soft: 0 18px 44px rgba(123, 63, 242, 0.18);
  --shadow-btn: 0 12px 26px rgba(240, 81, 46, 0.3);
  --ring: rgba(240, 81, 46, 0.34);
}

/* ---------- Theme: dark （深色高级 SaaS） ---------- */
[data-theme="dark"] {
  --bg: #0c0d10;
  --surface: #16181d;
  --surface-2: #1b1e24;
  --surface-3: #20242c;
  --hero-bg: #0e0f13;
  --band: #121419;

  --ink: #f4f5f7;
  --text: #c8ccd4;
  --muted: #8b909b;
  --faint: #5f6573;

  --line: #2a2e37;
  --line-soft: #23262e;

  --brand: #5b95f8;
  --brand-strong: #4f8ff7;
  --brand-tint: rgba(91, 149, 248, 0.16);
  --accent: #ff6a5d;
  --accent-2: #ff6a5d;
  --on-brand: #ffffff;

  --dark-bg: #08090b;
  --dark-surface: #14161b;
  --dark-line: #2a2e37;
  --dark-text: #f4f5f7;
  --dark-muted: #8b909b;

  --art-bg: #14161b;
  --art-1: #20242c;
  --art-2: #3a4150;
  --art-3: #5b95f8;
  --art-accent: #ff6a5d;
  --art-glow: rgba(255, 106, 93, 0.22);
  --art-glow-2: rgba(91, 149, 248, 0.2);

  --shadow-card: 0 28px 64px rgba(0, 0, 0, 0.55), 0 2px 10px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 18px 44px rgba(0, 0, 0, 0.5);
  --shadow-btn: 0 12px 28px rgba(91, 149, 248, 0.32);
  --ring: rgba(91, 149, 248, 0.4);
  --glass: rgba(22, 24, 29, 0.9);
  --glass-blur: blur(20px);
}

/* ---------- Theme-specific backgrounds & finishes ---------- */
[data-theme="vivid"] .fashion-hero {
  background: linear-gradient(158deg, #fff4ea 0%, #ffe4d3 48%, #ffd6e6 100%);
}
[data-theme="vivid"] .page-hero {
  background: linear-gradient(150deg, #fff4ea 0%, #ffe2d6 100%);
}
[data-theme="dark"] .fashion-hero {
  background:
    radial-gradient(120% 80% at 82% -10%, rgba(91, 149, 248, 0.22) 0%, rgba(14, 15, 19, 0) 55%),
    radial-gradient(90% 70% at 10% 110%, rgba(255, 106, 93, 0.12) 0%, rgba(14, 15, 19, 0) 60%),
    var(--hero-bg);
}
[data-theme="dark"] .page-hero {
  background:
    radial-gradient(110% 80% at 88% -10%, rgba(91, 149, 248, 0.2) 0%, rgba(14, 15, 19, 0) 55%),
    var(--hero-bg);
}
[data-theme="dark"] .editor-window,
[data-theme="dark"] .product-proof {
  background: var(--glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}
[data-theme="dark"] .fashion-header.is-scrolled,
[data-theme="dark"] .site-page .fashion-header {
  background: rgba(12, 13, 16, 0.82);
}

/* ============================================================
   Base
   ============================================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; letter-spacing: 0; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #fff; }

/* smooth, opt-in theme transition (added by JS only while switching) */
.theming, .theming *, .theming *::before, .theming *::after {
  transition:
    background-color 0.45s ease,
    background-image 0.45s ease,
    border-color 0.45s ease,
    color 0.45s ease,
    box-shadow 0.45s ease !important;
}

/* ============================================================
   Header / nav
   ============================================================ */
.fashion-header {
  position: absolute;
  z-index: 30;
  top: 0;
  left: 0;
  width: 100%;
}
.nav-shell {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(var(--max), calc(100% - 56px));
  min-height: 70px;
  margin: 0 auto;
}
.fashion-brand { justify-self: start; }
.brand-monogram {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
  color: var(--ink);
}
.brand-monogram sup { position: relative; top: -8px; margin-left: 1px; font-size: 11px; color: var(--accent); }
/* Brand feather mark (replaces the A² monogram) — color follows theme via --ink */
.brand-mark {
  display: block;
  width: 28px;
  height: 34px;
  background-color: var(--ink);
  -webkit-mask: url("./feather-logo.svg") center / contain no-repeat;
  mask: url("./feather-logo.svg") center / contain no-repeat;
}
[data-theme="dark"] .brand-mark { background-color: #ffd57a; }
.auth-visual .brand-mark { background-color: #ffd57a; }
.fashion-nav { display: flex; align-items: center; gap: 42px; }
/* ---- 桌面导航下拉(悬停/键盘 focus 展开;面板语言与语言下拉一致) ---- */
.nav-dd { position: relative; display: inline-flex; align-items: center; }
.nav-dd > a .nav-caret { margin-left: 5px; transition: transform 180ms ease; }
.nav-dd:hover > a .nav-caret,
.nav-dd:focus-within > a .nav-caret { transform: rotate(180deg); }
.nav-dd-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translate(-50%, -4px);
  z-index: 120;
  min-width: 168px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
}
/* 悬停桥:填补触发项与面板之间的空隙,避免鼠标移动路径上菜单闪关 */
.nav-dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-dd:hover .nav-dd-menu,
.nav-dd:focus-within .nav-dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-dd-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.nav-dd-menu a::after { display: none; }
.nav-dd-menu a:hover { background: var(--surface-3); color: var(--ink); }
.nav-dd-soon {
  flex: none;
  padding: 1px 8px;
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  border-radius: 999px;
  color: var(--accent);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.02em;
}
@media (max-width: 1180px) { .fashion-nav { gap: 30px; } }
.fashion-nav a { position: relative; font-size: 13px; font-weight: 600; color: var(--text); }
.fashion-nav a::after {
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  transition: width 200ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.fashion-nav a:hover { color: var(--brand); }
.fashion-nav a:hover::after,
.fashion-nav a.active::after { width: 100%; }
.fashion-nav a.active { color: var(--brand); }
.nav-actions { display: flex; align-items: center; justify-self: end; gap: 14px; }
.nav-primary,
.nav-secondary,
.action-primary,
.action-secondary,
.action-dark-outline,
.plan-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid;
  border-radius: var(--radius-sm);
  padding: 0 22px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease,
    transform 160ms ease, box-shadow 220ms ease;
}
.nav-primary,
.action-primary,
.plan-button.primary { border-color: var(--brand); background: var(--brand); color: var(--on-brand); }
.nav-primary:hover,
.action-primary:hover,
.plan-button.primary:hover {
  border-color: var(--brand-strong);
  background: var(--brand-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn);
}
.nav-secondary,
.action-secondary,
.plan-button.secondary { border-color: var(--line); background: color-mix(in srgb, var(--surface) 60%, transparent); color: var(--ink); }
.nav-secondary:hover,
.action-secondary:hover,
.plan-button.secondary:hover { border-color: var(--ink); background: var(--surface); transform: translateY(-2px); }
.mobile-nav { display: none; position: relative; justify-self: end; }
.mobile-nav summary {
  display: grid;
  width: 42px;
  height: 42px;
  cursor: pointer;
  list-style: none;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  font-size: 0;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary::before {
  width: 18px; height: 18px; content: "";
  background: var(--ink);
  -webkit-mask: var(--icon-menu) center / contain no-repeat;
  mask: var(--icon-menu) center / contain no-repeat;
}
.mobile-nav nav {
  position: absolute;
  top: 48px;
  right: 0;
  width: 220px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.mobile-nav nav a { display: block; border-bottom: 1px solid var(--line-soft); padding: 14px 18px; font-size: 14px; color: var(--text); }
.mobile-nav nav a:last-child { border-bottom: 0; }
.mobile-nav nav a:hover { background: var(--surface-3); color: var(--brand); }

/* ============================================================
   Hero
   ============================================================ */
.fashion-hero {
  position: relative;
  overflow: hidden;
  min-height: 1240px;
  background: var(--hero-bg);
}
.hero-shell {
  position: relative;
  z-index: 3;
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
  padding-top: 120px;
}
.hero-copy { position: relative; z-index: 4; width: 56%; }
.hero-copy h1 {
  margin: 0;
  font-size: 116px;
  font-weight: 700;
  line-height: 0.92;
  color: var(--ink);
  letter-spacing: -0.02em;
}
/* Hero wordmark (replaces the "Author 2" title) — ink on light themes, gold→paper on dark */
.hero-wordmark { margin: 0; line-height: 0; }
.hero-wordmark svg { display: block; width: min(330px, 80%); height: auto; }
.hero-wordmark svg path { fill: var(--ink); }
[data-theme="dark"] .hero-wordmark svg path { fill: url(#authorTextGradient); }
[data-theme="vivid"] .brand-mark { background: linear-gradient(135deg, #ff8a3d, #f0512e); }
[data-theme="vivid"] .hero-wordmark svg path { fill: url(#authorVivid); }
.hero-slogan {
  margin: 20px 0 0;
  font-size: 44px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
}
.coral-rule,
.section-title span {
  display: block;
  width: 34px;
  height: 3px;
  margin-top: 26px;
  border-radius: 2px;
  background: var(--accent);
}
.hero-intro { margin: 28px 0 0; color: var(--text); font-size: 16px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.action-primary,
.action-secondary { min-width: 145px; }

/* (story-thread pattern removed — replaced by the clean diagonal fold below) */

/* ---- Hero decorative art (layered, theme-driven) ---- */
.hero-media {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  width: 58%;
  height: 620px;
  overflow: hidden;
  background:
    radial-gradient(80% 80% at 78% 16%, var(--art-glow) 0%, transparent 55%),
    radial-gradient(70% 70% at 18% 92%, var(--art-glow-2) 0%, transparent 60%),
    linear-gradient(155deg, var(--art-1) 0%, var(--art-bg) 60%, var(--art-2) 130%);
}
.hero-media::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(var(--grid-line, rgba(20,20,20,0.05)) 1px, transparent 1px) 0 0 / 100% 38px,
    linear-gradient(90deg, var(--grid-line, rgba(20,20,20,0.05)) 1px, transparent 1px) 0 0 / 38px 100%;
  -webkit-mask: linear-gradient(180deg, #000 0%, transparent 78%);
  mask: linear-gradient(180deg, #000 0%, transparent 78%);
  opacity: 0.7;
}
.hero-media::after {
  position: absolute;
  right: 8%;
  top: 12%;
  width: 46%;
  height: 64%;
  content: "";
  background: var(--icon-constellation) center / contain no-repeat;
  opacity: 0.55;
}
.plane { position: absolute; display: block; }
.plane-a {
  top: -30px; right: 14%; width: 52%; height: 108%;
  transform: skewX(-26deg);
  background: linear-gradient(180deg, var(--art-1) 0%, color-mix(in srgb, var(--art-1) 35%, transparent) 100%);
  opacity: 0.85;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.06);
}
.plane-b {
  top: 96px; right: -10%; width: 60%; height: 70%;
  transform: rotate(27deg);
  background: linear-gradient(120deg, var(--art-2), color-mix(in srgb, var(--art-2) 50%, transparent));
  opacity: 0.7;
}
.portrait-shape {
  position: absolute;
  right: 7%;
  bottom: -8px;
  width: 40%;
  height: 86%;
  border-radius: 46% 46% 10% 10%;
  background: linear-gradient(165deg, var(--art-3) 0%, color-mix(in srgb, var(--art-3) 78%, var(--brand)) 100%);
  transform: rotate(-6deg);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22), inset 0 2px 18px rgba(255, 255, 255, 0.08);
}
.portrait-shape::before {
  position: absolute;
  top: -7%;
  left: 24%;
  width: 52%;
  height: 33%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, var(--art-1), color-mix(in srgb, var(--art-1) 30%, var(--art-2)));
  content: "";
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

/* ============================================================
   Editor preview window
   ============================================================ */
.editor-window {
  position: relative;
  z-index: 8;
  overflow: hidden;
  height: 700px;
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.editor-topbar {
  display: flex;
  height: 48px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line-soft);
  padding: 0 18px;
  color: var(--muted);
  font-size: 11px;
}
.crumbs,
.editor-status { display: flex; align-items: center; gap: 9px; }
.crumbs b { color: var(--faint); }
.crumbs strong { color: var(--text); }
.mini-logo { font-family: var(--serif); color: var(--ink); font-size: 14px; }
.editor-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr) 270px; height: calc(100% - 48px); }
.chapter-panel,
.context-panel { background: var(--surface-2); }
.chapter-panel { border-right: 1px solid var(--line-soft); padding: 16px 14px; }
.context-panel { overflow: hidden; border-left: 1px solid var(--line-soft); padding: 16px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; min-height: 26px; }
.panel-heading strong { font-size: 12px; color: var(--ink); }
.panel-heading button,
.manuscript-title button {
  border: 0;
  padding: 3px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
}
.chapter-panel nav { display: grid; margin-top: 10px; }
.chapter-panel nav span { margin: 10px 0 4px; padding: 0 8px; color: var(--faint); font-size: 9px; letter-spacing: 0.06em; }
.chapter-panel nav a {
  overflow: hidden;
  min-height: 26px;
  border-left: 2px solid transparent;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 6px 8px;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease;
}
.chapter-panel nav a:hover { background: var(--surface-3); color: var(--text); }
.chapter-panel nav a.selected { border-left-color: var(--brand); background: var(--brand-tint); color: var(--brand); font-weight: 700; }
.new-chapter { margin-top: 12px; border: 0; background: transparent; color: var(--muted); font-size: 10px; }
.manuscript-panel { position: relative; min-width: 0; padding-bottom: 78px; background: var(--surface); }
.manuscript-title { display: flex; height: 55px; align-items: center; justify-content: space-between; padding: 0 24px; }
.manuscript-title h2 { display: inline; margin: 0; font-size: 15px; font-weight: 700; color: var(--ink); }
.manuscript-title span { margin-left: 10px; color: var(--faint); font-size: 9px; }
.writing-toolbar {
  display: flex;
  height: 35px;
  align-items: center;
  gap: 2px;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 0 19px;
}
.writing-toolbar button { display: grid; place-items: center; min-width: 25px; height: 24px; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--muted); font-size: 10px; transition: background 140ms ease, color 140ms ease; }
.writing-toolbar button:hover { background: var(--surface-3); color: var(--brand); }
.writing-toolbar span { width: 1px; height: 16px; margin: 0 6px; background: var(--line); }
.manuscript-copy { max-width: 680px; padding: 20px 34px 0; color: var(--text); font-family: var(--serif); font-size: 13px; line-height: 1.9; }
.manuscript-copy p { margin: 0 0 13px; }
.manuscript-copy blockquote { margin: 3px 0 13px; padding-left: 15px; border-left: 2px solid var(--accent); color: var(--text); }
.ai-prompt {
  position: absolute;
  right: 28px;
  bottom: 18px;
  left: 28px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 40px 7px 13px;
  color: var(--faint);
  font-size: 10px;
  background: var(--surface);
}
.ai-prompt button { position: absolute; top: 9px; right: 10px; display: grid; place-items: center; width: 26px; height: 26px; border: 0; border-radius: var(--radius-sm); background: var(--brand); color: var(--on-brand); transition: background 160ms ease, transform 160ms ease; }
.ai-prompt button:hover { background: var(--brand-strong); transform: translateY(-1px); }
.ai-prompt small { display: flex; gap: 11px; align-items: center; margin-top: 8px; color: var(--faint); font-size: 8px; }
.character { display: grid; grid-template-columns: 34px 1fr; gap: 9px; border-bottom: 1px solid var(--line-soft); padding: 12px 0; }
.avatar { position: relative; display: block; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; background: linear-gradient(150deg, var(--brand), var(--accent)); }
.avatar::after { position: absolute; inset: 0; content: ""; background: var(--icon-user) center 6px / 22px no-repeat; opacity: 0.92; }
.avatar-one { background: linear-gradient(150deg, #6f8fd6, #b9c2d8); }
.avatar-two { background: linear-gradient(150deg, #7d8a8f, #b6bdbf); }
.avatar-three { background: linear-gradient(150deg, #3f4a63, #6b7488); }
.character strong,
.character small,
.character p { display: block; margin: 0; }
.character strong { font-size: 10px; color: var(--ink); }
.character small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.character p { margin-top: 3px; color: var(--muted); font-size: 8px; }
.context-link { display: inline-block; margin-top: 10px; color: var(--brand); font-size: 8px; font-weight: 700; }
.memory-block { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 12px; }
.memory-block ul { margin: 8px 0 0; padding: 0; list-style: none; }
.memory-block li { position: relative; padding: 7px 0 7px 17px; }
.memory-block li::before { position: absolute; top: 8px; left: 0; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); content: ""; }
.memory-block b,
.memory-block span { display: block; }
.memory-block b { font-size: 9px; color: var(--ink); }
.memory-block span { margin-top: 2px; color: var(--muted); font-size: 8px; line-height: 1.45; }

/* ============================================================
   Metric strip
   ============================================================ */
.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--band);
  padding: 28px max(28px, calc((100vw - var(--max)) / 2));
}
.metric-strip div { min-width: 0; border-right: 1px solid var(--line); text-align: center; }
.metric-strip div:last-child { border-right: 0; }
.metric-strip strong,
.metric-strip span { display: block; }
.metric-strip strong { font-family: var(--sans); font-size: 34px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.metric-strip span { margin-top: 8px; color: var(--muted); font-size: 10px; }

/* ============================================================
   Editorial features (homepage)
   ============================================================ */
.editorial-features { width: min(1160px, calc(100% - 56px)); margin: 0 auto; padding: 62px 0 20px; }
.feature-story {
  display: grid;
  min-height: 260px;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 34px 10px;
}
.story-copy { display: grid; grid-template-columns: 80px 1fr; gap: 22px; align-items: start; }
.story-number { position: relative; padding-top: 3px; font-family: var(--serif); font-size: 21px; color: var(--ink); }
.story-number::after { position: absolute; top: 34px; left: 0; width: 24px; height: 2px; border-radius: 2px; background: var(--accent); content: ""; }
.story-copy h2 { margin: 0; font-size: 31px; font-weight: 700; line-height: 1.2; color: var(--ink); }
.story-copy p { max-width: 360px; margin: 18px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

/* ---- Image slots: polished abstract product art ---- */
.image-slot {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  border-radius: var(--radius);
  background: var(--art-bg);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.image-slot::before {
  position: absolute; inset: 0; content: "";
  background:
    linear-gradient(var(--grid-line, rgba(20,20,20,0.045)) 1px, transparent 1px) 0 0 / 100% 30px,
    linear-gradient(90deg, var(--grid-line, rgba(20,20,20,0.045)) 1px, transparent 1px) 0 0 / 30px 100%;
  opacity: 0.8;
}
.architecture-slot { background: linear-gradient(150deg, var(--art-1), var(--art-bg)); }
.architecture-slot i { position: absolute; top: -20%; left: 16%; width: 52%; height: 130%; transform: skewX(-26deg); background: linear-gradient(180deg, var(--art-1), color-mix(in srgb, var(--art-1) 40%, transparent)); box-shadow: 0 20px 50px rgba(0,0,0,.05); }
.architecture-slot b { position: absolute; top: 16%; right: 9%; width: 42%; height: 90%; transform: skewX(18deg); background: linear-gradient(160deg, var(--art-2), color-mix(in srgb, var(--art-2) 55%, transparent)); }
.architecture-slot span { position: absolute; right: 20%; bottom: 0; width: 20%; height: 48%; background: var(--art-accent); clip-path: polygon(0 100%, 100% 0, 100% 100%); box-shadow: 0 12px 30px var(--art-glow-2); }
.writer-slot { background: linear-gradient(150deg, var(--art-2), var(--art-bg)); }
.writer-slot i { position: absolute; left: 18%; bottom: -22%; width: 32%; height: 84%; border-radius: 50% 50% 12% 12%; background: linear-gradient(165deg, var(--art-3), color-mix(in srgb, var(--art-3) 75%, var(--brand))); transform: rotate(9deg); box-shadow: 0 24px 50px rgba(0,0,0,.18); }
.writer-slot b { position: absolute; right: 14%; top: 22%; width: 30%; height: 8px; border-radius: 4px; background: var(--art-accent); opacity: .85; box-shadow: 0 18px 0 -2px color-mix(in srgb, var(--art-3) 30%, transparent), 0 36px 0 -2px color-mix(in srgb, var(--art-3) 22%, transparent); }
.writer-slot span { position: absolute; right: 12%; bottom: 16%; width: 34%; height: 2px; background: color-mix(in srgb, var(--art-3) 35%, transparent); box-shadow: 0 -10px 0 color-mix(in srgb, var(--art-3) 22%, transparent); }
.gallery-slot { background: linear-gradient(155deg, var(--art-3), color-mix(in srgb, var(--art-3) 70%, #000)); }
.gallery-slot::before { opacity: .25; }
.gallery-slot i,
.gallery-slot b,
.gallery-slot span { position: absolute; top: 14%; bottom: 14%; width: 13%; border-radius: 3px; background: linear-gradient(180deg, var(--art-1), color-mix(in srgb, var(--art-1) 55%, transparent)); }
.gallery-slot i { left: 18%; height: auto; transform: skewX(-5deg); }
.gallery-slot b { left: 46%; top: 26%; bottom: 8%; }
.gallery-slot span { right: 10%; top: 8%; bottom: 22%; transform: skewX(6deg); background: linear-gradient(180deg, var(--art-accent), color-mix(in srgb, var(--art-accent) 40%, transparent)); }
.gallery-slot::after { position: absolute; right: 26%; bottom: 14%; width: 6%; height: 30%; border-radius: 3px; background: var(--art-2); content: ""; }

/* ============================================================
   Pricing (homepage)
   ============================================================ */
.fashion-pricing { margin-top: 28px; background: var(--band); padding: 46px 28px 54px; }
.section-title { text-align: center; }
.section-title h2 { margin: 0; font-size: 28px; font-weight: 700; color: var(--ink); }
.section-title span { margin: 18px auto 0; }
.pricing-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; margin: 34px auto 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); overflow: hidden; }
.pricing-columns article { min-height: 300px; padding: 36px 48px; transition: background 200ms ease; }
.pricing-columns article:first-child { border-right: 1px solid var(--line); }
.pricing-columns article:hover { background: var(--surface-2); }
.pricing-columns article:last-child { position: relative; }
.pricing-columns article:last-child::before { position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--accent); content: ""; }
.pricing-columns h3 { margin: 0; font-family: var(--serif); font-size: 34px; font-weight: 400; color: var(--ink); }
.plan-price { margin: 6px 0 16px; font-family: var(--serif); font-size: 24px; color: var(--ink); }
.plan-price small { font-family: var(--sans); font-size: 12px; color: var(--muted); }
.pricing-columns ul { min-height: 140px; margin: 0; padding-left: 0; list-style: none; color: var(--text); font-size: 12px; line-height: 1.6; }
.pricing-columns li { position: relative; padding: 7px 0 7px 24px; }
.pricing-columns li::before { position: absolute; left: 0; top: 8px; width: 15px; height: 15px; content: ""; background: var(--brand); -webkit-mask: var(--icon-check) center / 13px no-repeat; mask: var(--icon-check) center / 13px no-repeat; }
.plan-button { min-width: 170px; min-height: 40px; margin-top: 8px; }

/* ============================================================
   Writing steps
   ============================================================ */
.writing-steps { padding: 38px 28px 42px; }
.steps-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1120px;
  margin: 32px auto 0;
}
.steps-row::before { position: absolute; top: 27px; right: 9%; left: 9%; height: 1px; background: var(--line); content: ""; }
.steps-row article { position: relative; z-index: 2; display: grid; grid-template-columns: 54px 1fr; gap: 14px; padding: 0 18px; }
.steps-row i {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--brand);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.steps-row article:hover i { transform: translateY(-3px); border-color: var(--brand); box-shadow: var(--shadow-btn); }
.steps-row h3 { margin: 7px 0 6px; font-size: 14px; color: var(--ink); }
.steps-row p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.steps-row b { grid-column: 1; margin-top: 10px; text-align: center; font-family: var(--serif); font-size: 12px; font-weight: 400; color: var(--faint); }

/* ============================================================
   Memory showcase (dark)
   ============================================================ */
.memory-showcase {
  padding: 86px 28px;
  background: var(--dark-bg);
  color: var(--dark-text);
}
.memory-shell { max-width: 1160px; margin: 0 auto; }
.memory-shell > header { display: grid; grid-template-columns: 180px 1.2fr 0.8fr; gap: 42px; align-items: end; }
.memory-shell > header p { margin: 0; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; }
.memory-shell > header h2 { margin: 0; font-size: 52px; line-height: 1.06; }
.memory-shell > header span { color: var(--dark-muted); font-size: 14px; line-height: 1.7; }
.memory-console { display: grid; grid-template-columns: 260px 1fr; min-height: 430px; margin-top: 58px; border: 1px solid var(--dark-line); border-radius: var(--radius); overflow: hidden; background: var(--dark-surface); }
.memory-console > aside { border-right: 1px solid var(--dark-line); padding: 26px; }
.memory-console > aside > strong { display: block; margin-bottom: 28px; color: var(--dark-muted); font-size: 11px; }
.memory-console > aside div { display: flex; align-items: baseline; justify-content: space-between; border-top: 1px solid var(--dark-line); padding: 18px 0; }
.memory-console > aside span { color: var(--dark-muted); font-size: 11px; }
.memory-console > aside b { font-family: var(--serif); font-size: 27px; font-weight: 400; }
.memory-stream { padding: 10px 30px; }
.memory-stream article { display: grid; grid-template-columns: 100px 1fr auto; gap: 24px; align-items: start; border-bottom: 1px solid var(--dark-line); padding: 25px 0; }
.memory-stream article:last-child { border-bottom: 0; }
.memory-stream time { color: var(--dark-muted); font-size: 10px; }
.memory-stream b { font-size: 14px; }
.memory-stream p { margin: 8px 0 0; color: var(--dark-muted); font-size: 11px; line-height: 1.6; }
.memory-stream article > span { border: 1px solid var(--dark-line); border-radius: 20px; padding: 5px 11px; color: var(--accent); font-size: 9px; font-weight: 700; }

/* ============================================================
   Creative modes
   ============================================================ */
.creative-modes { padding: 92px 28px; }
.modes-shell { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 80px; max-width: 1160px; margin: 0 auto; }
.modes-shell > header p { margin: 0 0 28px; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; }
.modes-shell > header h2 { margin: 0; font-size: 48px; line-height: 1.08; color: var(--ink); }
.mode-list { border-top: 1px solid var(--line); }
.mode-list a { display: grid; grid-template-columns: 54px 1fr 1.1fr auto; gap: 24px; align-items: center; border-bottom: 1px solid var(--line); padding: 25px 0; transition: padding 200ms ease, background 200ms ease; }
.mode-list a:hover { padding-right: 14px; padding-left: 14px; background: var(--surface-2); }
.mode-list span { color: var(--accent); font-family: var(--serif); font-size: 13px; }
.mode-list h3 { margin: 0; font-size: 19px; color: var(--ink); }
.mode-list p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.mode-list b { color: var(--brand); font-size: 18px; font-weight: 400; transition: transform 200ms ease; }
.mode-list a:hover b { transform: translateX(5px); }

/* ============================================================
   Creator quote
   ============================================================ */
.creator-quote { padding: 110px max(28px, calc((100vw - 1120px) / 2)); background: var(--band); }
.creator-quote blockquote { position: relative; max-width: 1020px; margin: 0 auto; text-align: center; font-family: var(--font-display); font-size: 42px; line-height: 1.4; color: var(--ink); }
.creator-quote > div { display: flex; justify-content: space-between; gap: 30px; margin-top: 52px; border-top: 1px solid var(--line); padding-top: 18px; }
.creator-quote span { color: var(--muted); font-size: 10px; letter-spacing: 0.04em; }
.creator-quote a { color: var(--brand); font-size: 12px; font-weight: 700; }

/* ============================================================
   Resource spotlight
   ============================================================ */
.resource-spotlight { padding: 82px 28px 96px; }
.resource-spotlight > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; max-width: 1060px; margin: 44px auto 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.resource-spotlight > div a { min-height: 280px; padding: 30px 36px; transition: background 200ms ease; }
.resource-spotlight > div a:first-child { border-right: 1px solid var(--line); }
.resource-spotlight > div a:hover { background: var(--surface-2); }
.resource-spotlight span { color: var(--accent); font-size: 10px; font-weight: 700; }
.resource-spotlight h3 { max-width: 420px; margin: 54px 0 14px; font-size: 25px; line-height: 1.25; color: var(--ink); }
.resource-spotlight p { max-width: 430px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.resource-spotlight b { display: block; margin-top: 24px; color: var(--brand); font-size: 11px; font-weight: 700; }

/* ============================================================
   CTA band + footer
   ============================================================ */
.fashion-cta {
  display: flex;
  min-height: 155px;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 34px max(28px, calc((100vw - 1160px) / 2));
  background: var(--dark-bg);
  color: var(--dark-text);
}
.fashion-cta > div:first-child { display: flex; align-items: center; gap: 32px; }
.fashion-cta > div:first-child > span { width: 4px; height: 46px; border-radius: 2px; background: var(--accent); }
.fashion-cta h2 { margin: 0; font-size: 31px; }
.fashion-cta p { margin: 10px 0 0; color: var(--dark-muted); font-size: 12px; }
.fashion-cta .hero-actions { margin: 0; }
.action-dark-outline { min-width: 145px; border-color: color-mix(in srgb, var(--dark-text) 45%, transparent); color: var(--dark-text); }
.action-dark-outline:hover { border-color: var(--dark-text); background: var(--dark-text); color: var(--dark-bg); transform: translateY(-2px); }

.fashion-footer { padding: 40px max(28px, calc((100vw - 1160px) / 2)) 28px; background: var(--bg); border-top: 1px solid var(--line-soft); }
.footer-links { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr) 1.7fr; gap: 40px; }
.footer-links > div { display: grid; align-content: start; gap: 8px; }
/* 页脚品牌列(全站统一页脚) */
.footer-home { justify-self: start; display: inline-block; }
.footer-home:hover .brand-mark { background-color: var(--brand); }
[data-theme="dark"] .footer-home:hover .brand-mark { background-color: #ffd57a; }
.footer-brandcol .brand-mark { width: 24px; height: 29px; }
.footer-tagline { margin: 6px 0 0; max-width: 24em; color: var(--muted); font-size: 10px; line-height: 1.9; }
/* 订阅"即将开放"提示(site.js 点击后显示) */
.newsletter-note { margin: 10px 0 0; color: var(--brand); font-size: 10px; }
.newsletter-note[hidden] { display: none; }
.footer-links strong,
.newsletter label { margin-bottom: 5px; font-size: 11px; color: var(--ink); }
.footer-links a { justify-self: start; color: var(--muted); font-size: 10px; transition: color 140ms ease; }
.footer-links a:hover { color: var(--brand); }
.newsletter div { display: flex; margin-top: 14px; }
.newsletter input { width: 100%; height: 40px; border: 1px solid var(--line); border-right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm); outline: 0; padding: 0 12px; font-size: 11px; background: var(--surface); color: var(--ink); }
.newsletter input:focus { border-color: var(--brand); }
.newsletter button { width: 44px; border: 1px solid var(--brand); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--brand); font-size: 0; }
.newsletter button::before { content: ""; display: inline-block; width: 16px; height: 16px; background: var(--on-brand); -webkit-mask: var(--icon-arrow) center / contain no-repeat; mask: var(--icon-arrow) center / contain no-repeat; }
.fashion-footer > p { margin: 36px 0 0; color: var(--faint); font-size: 9px; }

/* ============================================================
   Unified inner-page system
   ============================================================ */
.site-page { background: var(--bg); }
.site-page .fashion-header {
  position: sticky;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.page-hero { position: relative; overflow: hidden; min-height: 620px; background: var(--hero-bg); }
.page-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 70px;
  align-items: end;
  width: min(var(--max), calc(100% - 56px));
  min-height: 620px;
  margin: 0 auto;
  padding: 92px 0 76px;
}
.page-kicker { margin: 0 0 28px; color: var(--accent); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.page-hero h1 { max-width: 880px; margin: 0; font-size: 82px; line-height: 0.98; color: var(--ink); letter-spacing: -0.02em; }
.page-lead { max-width: 690px; margin: 32px 0 0; color: var(--text); font-size: 19px; line-height: 1.65; }
.page-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.page-hero-note { align-self: end; border-top: 1px solid var(--line); padding-top: 20px; color: var(--muted); font-size: 12px; line-height: 1.7; }

/* ---- Inner-page hero art (layered, theme-driven) ---- */
.page-hero-art {
  position: absolute; top: 0; right: 0; bottom: 0; width: 42%;
  overflow: hidden;
  background:
    radial-gradient(80% 70% at 70% 20%, var(--art-glow) 0%, transparent 60%),
    linear-gradient(160deg, var(--art-1) 0%, var(--art-bg) 70%, var(--art-2) 130%);
}
.page-hero-art::before {
  position: absolute; top: -10%; left: 14%; width: 50%; height: 120%;
  transform: skewX(-20deg);
  background: linear-gradient(180deg, var(--art-1), color-mix(in srgb, var(--art-1) 30%, transparent));
  content: "";
  box-shadow: 0 30px 60px rgba(0,0,0,.06);
}
.page-hero-art::after {
  position: absolute; right: 0; bottom: 0; width: 56%; height: 70%;
  background: linear-gradient(165deg, var(--art-3), color-mix(in srgb, var(--art-3) 72%, var(--brand)));
  content: "";
  box-shadow: inset 0 2px 20px rgba(255,255,255,.07);
}
.page-hero-inner > * { position: relative; z-index: 2; }

.page-section { padding: 92px 28px; }
.page-section.surface { background: var(--band); }
.page-section.dark { background: var(--dark-bg); color: var(--dark-text); }
.section-shell { max-width: 1160px; margin: 0 auto; }
.section-heading { display: grid; grid-template-columns: 180px 1fr; gap: 46px; margin-bottom: 56px; }
.section-heading > span { color: var(--accent); font-family: var(--serif); font-size: 15px; }
.section-heading h2 { max-width: 780px; margin: 0; font-size: 47px; line-height: 1.1; color: var(--ink); }
.section-heading p { max-width: 650px; margin: 22px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.dark .section-heading h2 { color: var(--dark-text); }
.dark .section-heading p { color: var(--dark-muted); }
.dark .content-rows { border-top-color: var(--dark-line); }
.dark .content-row { border-bottom-color: var(--dark-line); }
.dark .content-row h3 { color: var(--dark-text); }
.dark .content-row p { color: var(--dark-muted); }
.dark .content-row a { color: var(--brand); }

.content-rows { border-top: 1px solid var(--line); }
.content-row {
  display: grid;
  grid-template-columns: 90px 0.85fr 1.15fr auto;
  gap: 30px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
  transition: padding 200ms ease, background 200ms ease;
}
.content-row:hover { padding-right: 14px; padding-left: 14px; background: var(--surface-2); }
.dark .content-row:hover { background: var(--dark-surface); }
.content-row > span { color: var(--accent); font-family: var(--serif); font-size: 13px; }
.content-row h3 { margin: 0; font-size: 25px; color: var(--ink); }
.content-row p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.content-row a { color: var(--brand); font-size: 12px; font-weight: 700; white-space: nowrap; }

.editorial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.editorial-grid article { position: relative; min-height: 270px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px; transition: background 200ms ease; }
.editorial-grid article::before { position: absolute; top: 0; left: 0; width: 0; height: 3px; background: var(--accent); content: ""; transition: width 240ms cubic-bezier(0.22, 0.61, 0.36, 1); }
.editorial-grid article:hover { background: var(--surface-2); }
.editorial-grid article:hover::before { width: 100%; }
.editorial-grid span { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; }
.editorial-grid h3 { margin: 64px 0 15px; font-size: 24px; color: var(--ink); }
.editorial-grid p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.dark .editorial-grid { border-color: var(--dark-line); }
.dark .editorial-grid article { border-color: var(--dark-line); }
.dark .editorial-grid article:hover { background: var(--dark-surface); }
.dark .editorial-grid h3 { color: var(--dark-text); }
.dark .editorial-grid p { color: var(--dark-muted); }

.product-proof {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.proof-bar { display: flex; min-height: 48px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line-soft); padding: 0 20px; color: var(--muted); font-size: 10px; }
.proof-grid { display: grid; grid-template-columns: 210px 1fr 270px; min-height: 460px; }
.proof-nav,
.proof-side { padding: 24px 18px; background: var(--surface-2); }
.proof-nav { border-right: 1px solid var(--line-soft); }
.proof-side { border-left: 1px solid var(--line-soft); }
.proof-nav strong,
.proof-side strong { display: block; margin-bottom: 18px; font-size: 11px; color: var(--ink); }
.proof-nav a { display: block; border-radius: var(--radius-sm); padding: 8px 9px; color: var(--muted); font-size: 10px; transition: background 140ms ease, color 140ms ease; }
.proof-nav a:hover { background: var(--surface-3); color: var(--text); }
.proof-nav a.active { border-left: 2px solid var(--brand); background: var(--brand-tint); color: var(--brand); }
.proof-main { padding: 42px; }
.proof-main h3 { margin: 0 0 26px; font-size: 27px; color: var(--ink); }
.proof-main p { max-width: 620px; color: var(--text); font-family: var(--serif); font-size: 13px; line-height: 1.9; }
.proof-side article { border-top: 1px solid var(--line-soft); padding: 15px 0; }
.proof-side b,
.proof-side span { display: block; }
.proof-side b { font-size: 10px; color: var(--ink); }
.proof-side span { margin-top: 5px; color: var(--muted); font-size: 9px; line-height: 1.5; }

.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stat-grid div { border-right: 1px solid var(--line); padding: 28px; }
.stat-grid div:last-child { border-right: 0; }
.stat-grid strong,
.stat-grid span { display: block; }
.stat-grid strong { font-family: var(--serif); font-size: 36px; font-weight: 400; color: var(--ink); }
.stat-grid span { margin-top: 7px; color: var(--muted); font-size: 10px; }
.dark .stat-grid { border-top-color: var(--dark-line); }
.dark .stat-grid div { border-right-color: var(--dark-line); }
.dark .stat-grid strong { color: var(--dark-text); }
.dark .stat-grid span { color: var(--dark-muted); }

.comparison-table { border-top: 1px solid var(--line); }
.comparison-table .table-row { display: grid; grid-template-columns: 1.5fr 1fr 1fr; border-bottom: 1px solid var(--line); }
.comparison-table .table-row > * { border-right: 1px solid var(--line-soft); padding: 17px 20px; color: var(--text); }
.comparison-table .table-row > *:last-child { border-right: 0; }
.comparison-table .table-head { color: var(--muted); font-size: 10px; font-weight: 700; }
.comparison-table .table-row:not(.table-head) { font-size: 12px; }
.comparison-table .table-row:not(.table-head):hover { background: var(--surface-2); }
.comparison-table .yes { color: var(--brand); font-weight: 700; }

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; cursor: pointer; list-style: none; padding: 24px 42px 24px 0; font-size: 17px; font-weight: 700; color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; right: 4px; top: 50%; width: 16px; height: 16px; margin-top: -8px; content: ""; background: var(--accent); -webkit-mask: var(--icon-plus) center / contain no-repeat; mask: var(--icon-plus) center / contain no-repeat; transition: transform 220ms ease; }
.faq-list details[open] summary::after { -webkit-mask-image: var(--icon-minus); mask-image: var(--icon-minus); }
.faq-list p { max-width: 720px; margin: -6px 0 24px; color: var(--muted); font-size: 13px; line-height: 1.7; }

.search-hero { max-width: 850px; margin-top: 38px; border-bottom: 2px solid var(--ink); }
.search-hero form { display: flex; align-items: center; }
.search-hero input { flex: 1; height: 58px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 18px; }
.search-hero input::placeholder { color: var(--faint); }
.search-hero button { display: grid; place-items: center; width: 58px; height: 58px; border: 0; background: transparent; font-size: 0; }
.search-hero button::before { content: ""; width: 20px; height: 20px; background: var(--brand); -webkit-mask: var(--icon-search) center / contain no-repeat; mask: var(--icon-search) center / contain no-repeat; }

.resource-list,
.release-list { border-top: 1px solid var(--line); }
.resource-list a,
.release-list article { display: grid; grid-template-columns: 120px 1fr auto; gap: 28px; border-bottom: 1px solid var(--line); padding: 28px 0; transition: padding 200ms ease, background 200ms ease; }
.resource-list a:hover { padding-right: 12px; padding-left: 12px; background: var(--surface-2); }
.resource-list span,
.release-list time { color: var(--accent); font-size: 10px; font-weight: 700; }
.resource-list h3,
.release-list h3 { margin: 0 0 10px; font-size: 23px; color: var(--ink); }
.resource-list p,
.release-list p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.resource-list b { color: var(--brand); font-size: 15px; font-weight: 700; }
.release-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.release-tags span { border: 1px solid var(--line); border-radius: 20px; padding: 5px 11px; color: var(--muted); font-size: 9px; }

.page-cta { margin-top: 0; }

/* ---- Auth ---- */
.auth-shell { display: grid; min-height: 100vh; grid-template-columns: 0.95fr 1.05fr; background: var(--bg); }
.auth-visual {
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
  padding: 42px;
  background:
    radial-gradient(90% 60% at 80% 0%, var(--art-glow) 0%, transparent 55%),
    radial-gradient(80% 70% at 0% 100%, var(--art-glow-2) 0%, transparent 60%),
    var(--dark-bg);
  color: var(--dark-text);
}
.auth-visual::after {
  position: absolute; right: -10%; bottom: -10%; width: 70%; height: 70%; content: "";
  background: var(--icon-constellation) center / contain no-repeat;
  opacity: 0.4;
}
.auth-visual .fashion-brand,
.auth-visual blockquote,
.auth-visual p { position: relative; z-index: 2; }
.auth-visual .brand-monogram { color: var(--dark-text); }
.auth-visual .brand-monogram sup { color: var(--accent); }
.auth-visual blockquote { max-width: 560px; margin: 0; font-family: var(--serif); font-size: 41px; line-height: 1.35; }
.auth-visual p { color: var(--dark-muted); font-size: 11px; letter-spacing: 0.04em; }
.auth-main { display: grid; place-items: center; padding: 60px 32px; background: var(--bg); }
.auth-form { width: min(430px, 100%); }
.auth-form h1 { margin: 0; font-size: 50px; color: var(--ink); }
.auth-form > p { margin: 14px 0 38px; color: var(--muted); }
.auth-form label { display: block; margin-top: 22px; font-size: 11px; font-weight: 700; color: var(--ink); }
.auth-form input { display: block; width: 100%; height: 49px; margin-top: 9px; border: 1px solid var(--line); border-radius: var(--radius-sm); outline: 0; padding: 0 13px; background: var(--surface); color: var(--ink); transition: border-color 160ms ease, box-shadow 160ms ease; }
.auth-form input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--ring); }
.auth-form .action-primary { width: 100%; margin-top: 28px; }
.auth-form > span { display: block; margin-top: 22px; color: var(--muted); text-align: center; font-size: 11px; }
.auth-form > span a { color: var(--brand); font-weight: 700; }
/* 第三方登录/注册(手机号/微信/QQ):暂未开放,禁用态 + 敬请期待 */
.auth-alt { margin-top: 30px; }
.auth-alt-divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 11px; }
.auth-alt-divider::before,
.auth-alt-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-alt-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.auth-alt-btns button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  cursor: not-allowed;
  opacity: 0.62;
}
.auth-alt-btns svg { flex: none; }
.auth-alt-note { margin: 12px 0 0; color: var(--muted); text-align: center; font-size: 11px; }

/* 卡片网格内的行动出口链接(use-cases 场景卡等) */
.editorial-grid article > a { display: inline-block; margin-top: 12px; color: var(--brand); font-size: 12px; font-weight: 700; }
.editorial-grid article > span .nav-dd-soon { margin-left: 8px; }

.start-list { border-top: 1px solid var(--line); }
.start-list a { display: grid; grid-template-columns: 110px 1fr auto; gap: 34px; align-items: center; min-height: 160px; border-bottom: 1px solid var(--line); padding: 24px 0; transition: padding 200ms ease, background 200ms ease; }
.start-list a:hover { padding-right: 18px; padding-left: 18px; background: var(--surface-2); }
.start-list span { color: var(--accent); font-size: 11px; font-weight: 700; }
.start-list h2 { margin: 0 0 8px; font-size: 28px; color: var(--ink); }
.start-list p { margin: 0; color: var(--muted); font-size: 13px; }
.start-list b { color: var(--brand); font-size: 20px; font-weight: 400; transition: transform 200ms ease; }
.start-list a:hover b { transform: translateX(5px); }

/* ============================================================
   Icon system (inline SVG, recolored via mask + token)
   ============================================================ */
:root {
  --grid-line: rgba(20, 20, 20, 0.05);
  --icon-menu: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 6h18M3 12h18M3 18h18' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  --icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12.5l4.5 4.5L19 6.5' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --icon-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4v16M4 12h16' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  --icon-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h16' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  --icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='11' cy='11' r='7' stroke='black' stroke-width='2'/%3E%3Cpath d='M20.5 20.5l-4-4' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  --icon-user: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='9' r='3.4' fill='white'/%3E%3Cpath d='M5.6 19.2c0-3.5 2.9-5.7 6.4-5.7s6.4 2.2 6.4 5.7z' fill='white'/%3E%3C/svg%3E");
  --icon-constellation: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='black' stroke='black' stroke-width='1.1'%3E%3Cpath d='M22 44L72 92L122 58L172 108L140 162L78 150Z' fill='none'/%3E%3Cpath d='M122 58L150 30' fill='none'/%3E%3Ccircle cx='22' cy='44' r='3'/%3E%3Ccircle cx='72' cy='92' r='4.2'/%3E%3Ccircle cx='122' cy='58' r='3'/%3E%3Ccircle cx='172' cy='108' r='3.6'/%3E%3Ccircle cx='140' cy='162' r='3'/%3E%3Ccircle cx='78' cy='150' r='4'/%3E%3Ccircle cx='150' cy='30' r='2.4'/%3E%3C/g%3E%3C/svg%3E");
  --icon-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Crect x='3' y='4' width='18' height='16' rx='2' stroke='black' stroke-width='2'/%3E%3Ccircle cx='8.5' cy='9.5' r='1.7' fill='black'/%3E%3Cpath d='M4 17l4.5-4.5 3.5 3.5 3-3 5 5' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --art-threads: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 600'%3E%3Cg fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M-40 92 C 170 58 350 148 540 108 S 745 92 900 118'/%3E%3Cpath d='M-40 210 C 150 176 350 268 540 222 S 745 210 900 238'/%3E%3Cpath d='M-40 330 C 165 296 335 398 528 342 S 735 330 900 358'/%3E%3Cpath d='M-40 450 C 175 420 355 516 542 458 S 742 452 900 480'/%3E%3Cpath d='M-40 548 C 150 522 345 592 535 548 S 742 542 900 566'/%3E%3C/g%3E%3Cg fill='black'%3E%3Ccircle cx='250' cy='84' r='4.4'/%3E%3Ccircle cx='540' cy='108' r='4'/%3E%3Ccircle cx='360' cy='250' r='4.4'/%3E%3Ccircle cx='250' cy='372' r='4'/%3E%3Ccircle cx='540' cy='342' r='4.4'/%3E%3Ccircle cx='360' cy='486' r='4'/%3E%3Ccircle cx='600' cy='470' r='4.4'/%3E%3Ccircle cx='200' cy='556' r='4'/%3E%3C/g%3E%3C/svg%3E");
}
[data-theme="vivid"] { --grid-line: rgba(120, 60, 20, 0.06); }
[data-theme="dark"] { --grid-line: rgba(255, 255, 255, 0.05); }

/* constellation recolored per surface (mask instead of baked color) */
.hero-media::after {
  background: color-mix(in srgb, var(--ink) 32%, transparent);
  -webkit-mask: var(--icon-constellation) center / contain no-repeat;
  mask: var(--icon-constellation) center / contain no-repeat;
}
.auth-visual::after {
  background: color-mix(in srgb, var(--dark-text) 24%, transparent);
  -webkit-mask: var(--icon-constellation) center / contain no-repeat;
  mask: var(--icon-constellation) center / contain no-repeat;
}

/* fashion (日间) 主题 → 登录页左面板改浅色编辑风,与 dark(夜)拉开对比 */
[data-theme="fashion"] .auth-visual {
  border-right: 1px solid var(--line-soft);
  background:
    radial-gradient(90% 60% at 80% 0%, color-mix(in srgb, var(--accent) 18%, transparent) 0%, transparent 55%),
    radial-gradient(80% 70% at 0% 100%, color-mix(in srgb, var(--brand) 14%, transparent) 0%, transparent 60%),
    var(--hero-bg);
  color: var(--ink);
}
[data-theme="fashion"] .auth-visual blockquote { color: var(--ink); }
[data-theme="fashion"] .auth-visual p { color: var(--muted); }
[data-theme="fashion"] .auth-visual .brand-mark { background-color: var(--ink); }
[data-theme="fashion"] .auth-visual::after { background: color-mix(in srgb, var(--ink) 14%, transparent); }

/* ============================================================
   Floating theme switcher (injected by site.js)
   ============================================================ */
/* 主题切换：页眉行内紧凑色块（site.js 注入 .nav-actions） */
.theme-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
}
.theme-switcher > span { display: none; }
.theme-switcher button {
  position: relative;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16);
  transition: transform 160ms ease, box-shadow 200ms ease;
}
.theme-switcher button:hover { transform: scale(1.12); }
.theme-switcher button.active {
  box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px var(--brand);
}
.ts-fashion { background: linear-gradient(135deg, #f3f3f1 48%, #175cbc 48%); }
.ts-vivid { background: linear-gradient(135deg, #f0512e 48%, #7b3ff2 48%); }
.ts-dark { background: linear-gradient(135deg, #1b1e24 48%, #5b95f8 48%); }

/* ============================================================
   Motion & micro-interaction
   ============================================================ */
.fashion-header { transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.fashion-header.is-scrolled {
  position: fixed;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.js .reveal { opacity: 0; transform: translateY(26px); }
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 700ms cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: calc(var(--reveal-delay, 0) * 55ms);
}
.hero-media .plane-a {
  transform: translate3d(calc(var(--pointer-x, 0) * 8px), calc(var(--pointer-y, 0) * 5px), 0) skewX(-26deg);
  transition: transform 260ms ease-out;
}
.hero-media .plane-b {
  transform: translate3d(calc(var(--pointer-x, 0) * -7px), calc(var(--pointer-y, 0) * -4px), 0) rotate(27deg);
  transition: transform 260ms ease-out;
}
.hero-media .portrait-shape {
  transform: translate3d(calc(var(--pointer-x, 0) * 5px), calc(var(--pointer-y, 0) * 3px), 0) rotate(-6deg);
  transition: transform 260ms ease-out;
}
.image-slot { transition: transform 450ms cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 450ms ease; }
.feature-story:hover .image-slot { transform: translateY(-5px); box-shadow: inset 0 0 0 1px var(--line-soft), var(--shadow-soft); }

/* ============================================================
   Image-generation placeholders (embed prompts, swap-ready)
   Replace by deleting the .img-prompt block and adding an
   <img> (or set background-image on the slot).
   ============================================================ */
.img-prompt {
  position: absolute;
  inset: 14px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: flex-end;
  pointer-events: none;
}
.img-prompt-tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.img-prompt-tag::before {
  content: "";
  width: 13px;
  height: 13px;
  background: var(--brand);
  -webkit-mask: var(--icon-image) center / contain no-repeat;
  mask: var(--icon-image) center / contain no-repeat;
}
.img-prompt-body {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 13px 15px;
  box-shadow: var(--shadow-soft);
}
.img-prompt-body strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 11px;
}
.img-prompt-body p {
  margin: 0;
  color: var(--text);
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.55;
}
.img-prompt-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--faint);
  font-size: 9px;
}
.img-prompt-foot::before {
  content: "";
  width: 12px;
  height: 1px;
  background: var(--accent);
}
/* hero portrait variant: sits over the dark portrait shape */
.hero-media .img-prompt {
  inset: auto;
  right: 6%;
  top: 16%;
  width: min(310px, 40%);
}
.hero-media .img-prompt-body { background: color-mix(in srgb, var(--surface) 88%, transparent); }

/* real-image replacement helpers (drop in an <img> or set a background) */
.image-slot > img,
.hero-media > img { position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; }
.avatar { background-size: cover; background-position: center; }
.avatar[style*="background-image"]::after { display: none; }
[data-theme="dark"] .image-slot > img,
[data-theme="dark"] .hero-media > img,
[data-theme="dark"] .avatar[style*="background-image"] { filter: brightness(0.82) contrast(1.05); }

/* ---- 首页 hero:雾都案发现场(全宽三层:天际线 / 雾+警戒带 / 人物) ---- */
.hero-media.has-photo {
  left: 0;
  width: auto;
  background: none;
}
/* 水面:主题水色 + 倒影朦胧化 + 双层波光流动 */
.hero-water {
  position: absolute;
  top: 620px;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  --water-tint: rgba(148, 165, 182, 0.3);
  --water-glint: rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, var(--water-tint), transparent 88%);
  -webkit-backdrop-filter: blur(2.5px);
  backdrop-filter: blur(2.5px);
}
[data-theme="vivid"] .hero-water { --water-tint: rgba(255, 150, 100, 0.26); --water-glint: rgba(255, 222, 184, 0.2); }
[data-theme="dark"] .hero-water { --water-tint: rgba(12, 20, 38, 0.55); --water-glint: rgba(190, 210, 245, 0.1); }
/* 一片柔光缓慢扫过水面(纯垂直宽光带;开阔夜水无等距波纹,质感交给倒影湍流与光路碎波) */
.hero-water::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 22%, var(--water-glint) 50%, transparent 78%);
  background-size: 220% 100%;
  opacity: 0.5;
  filter: blur(10px);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
  mask-image: linear-gradient(180deg, #000, transparent 85%);
  animation: hero-water-b 22s ease-in-out infinite;
}
@keyframes hero-water-b { 0% { background-position-x: 0%; } 50% { background-position-x: 100%; } 100% { background-position-x: 0%; } }
.hero-media.has-photo::before { display: none; }
.hero-media.has-photo::after { display: none; }
.hero-backdrop {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
/* 人物锚定在文字区右侧的视觉中带(不随视口宽度等比漂移) */
.hero-figure {
  position: absolute;
  top: 0;
  bottom: 0;
  left: max(69%, 1410px);
  display: block;
  height: 100%;
  aspect-ratio: 810 / 900;
  transform: translateX(-50%);
  overflow: visible;
}
/* 暖光层(路灯光晕/窗灯/钟面):正午全灭,黄昏华灯初上,夜里全亮 */
.hero-media .glow-warm { opacity: 0; }
[data-theme="vivid"] .hero-media .glow-warm { opacity: 0.75; }
[data-theme="dark"] .hero-media .glow-warm { opacity: 0.9; }
/* 天体 = 一天的时刻:fashion 白日 / vivid 落日(色重光暗) / dark 冷月 */
.hero-celestial circle { transition: fill 400ms ease; }
.hero-celestial .celestial-core { fill: rgba(255, 250, 238, 0.98); }
.hero-celestial .celestial-halo-a { fill: rgba(255, 226, 148, 0.5); filter: blur(18px); }
.hero-celestial .celestial-halo-b { fill: rgba(255, 226, 148, 0.22); filter: blur(32px); }
[data-theme="vivid"] .hero-celestial .celestial-core { fill: rgba(255, 145, 84, 0.9); }
[data-theme="vivid"] .hero-celestial .celestial-halo-a { fill: rgba(255, 128, 62, 0.36); }
[data-theme="vivid"] .hero-celestial .celestial-halo-b { fill: rgba(255, 128, 62, 0.15); }
[data-theme="dark"] .hero-celestial .celestial-core { fill: rgba(238, 243, 252, 0.95); }
[data-theme="dark"] .hero-celestial .celestial-halo-a { fill: rgba(198, 214, 245, 0.22); }
[data-theme="dark"] .hero-celestial .celestial-halo-b { fill: rgba(198, 214, 245, 0.1); }
.hero-fog {
  position: absolute;
  left: -8%;
  right: -8%;
  pointer-events: none;
  filter: blur(26px);
  background:
    radial-gradient(52% 90% at 28% 55%, rgba(255, 255, 255, 0.5) 0%, transparent 70%),
    radial-gradient(46% 80% at 72% 45%, rgba(255, 255, 255, 0.42) 0%, transparent 72%);
}
/* 水中倒影:只映贴水线的天际线与路灯,翻转 + 透视压缩 + 荡漾 */
.water-reflection {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 620px;
  transform: scaleY(0.5);
  transform-origin: top;
  opacity: 0.2;
  filter: blur(2.5px);
  animation: hero-water-sway 9s ease-in-out infinite;
}
@keyframes hero-water-sway {
  0%, 100% { transform: scaleY(0.5); }
  50% { transform: scaleY(0.56) translateY(3px); }
}
.hero-fog-1 { bottom: -46px; height: 210px; animation: hero-fog-a 26s ease-in-out infinite; }
.hero-fog-2 { bottom: 34px; height: 150px; opacity: 0.8; animation: hero-fog-b 34s ease-in-out infinite; }
[data-theme="dark"] .hero-fog-1 { opacity: 0.5; }
[data-theme="dark"] .hero-fog-2 { opacity: 0.35; }
/* 警戒带:STORY LINE · DO NOT CROSS —— 墨色版画质感,沿水线拉起,文字缓慢滚动 */
.hero-tape { position: absolute; left: -3%; right: -3%; pointer-events: none; }
.hero-tape-main {
  bottom: 30px;
  overflow: hidden;
  padding: 8px 0;
  transform: rotate(-1.8deg);
  border-top: 2px solid color-mix(in srgb, var(--hero-bg) 70%, transparent);
  border-bottom: 2px solid color-mix(in srgb, var(--hero-bg) 70%, transparent);
  background: color-mix(in srgb, var(--ink) 92%, transparent);
  white-space: nowrap;
  animation: hero-tape 9s ease-in-out infinite;
}
.hero-tape-scroll {
  display: inline-block;
  color: var(--hero-bg);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
  will-change: transform;
  animation: hero-tape-scroll 48s linear infinite;
}
/* 黄昏时刻的警戒带被夕阳染成暖褐 */
[data-theme="vivid"] .hero-tape-main,
[data-theme="vivid"] .hero-tape-mirror { background: color-mix(in srgb, var(--ink) 55%, #8a4520); }
/* 警戒带的水中倒影:垂直翻转 + 淡化 + 微晃 */
.hero-tape-mirror {
  top: 14px;
  overflow: hidden;
  padding: 8px 0;
  transform: rotate(1.8deg) scaleY(-1);
  border-top: 2px solid color-mix(in srgb, var(--hero-bg) 55%, transparent);
  border-bottom: 2px solid color-mix(in srgb, var(--hero-bg) 55%, transparent);
  background: color-mix(in srgb, var(--ink) 92%, transparent);
  white-space: nowrap;
  opacity: 0.22;
  filter: blur(1.6px);
  animation: hero-tape-mirror 9s ease-in-out infinite;
}
@keyframes hero-tape-mirror {
  0%, 100% { transform: rotate(1.8deg) scaleY(-1); }
  50% { transform: rotate(1.5deg) scaleY(-1) translateY(2px); }
}
/* 场景动画:雾漂移 / 煤气灯闪烁 / 青烟升起消散 / 飞鸟掠过 / 警戒带轻晃+文字滚动 */
@keyframes hero-fog-a { 0%, 100% { transform: translateX(-72px) scaleY(1); } 50% { transform: translateX(66px) scaleY(1.14); } }
@keyframes hero-fog-b { 0%, 100% { transform: translateX(58px) scaleY(1.08); } 50% { transform: translateX(-64px) scaleY(1); } }
@keyframes hero-fog-c { 0%, 100% { transform: translateX(-48px); } 50% { transform: translateX(52px); } }
@keyframes hero-glow {
  0%, 100% { opacity: 0.76; }
  9% { opacity: 0.96; }
  16% { opacity: 0.82; }
  34% { opacity: 1; }
  52% { opacity: 0.85; }
  68% { opacity: 0.98; }
  82% { opacity: 0.78; }
}
@keyframes hero-smoke-rise {
  0% { transform: translateY(44px); opacity: 0; }
  14% { opacity: 0.95; }
  70% { opacity: 0.45; }
  100% { transform: translateY(-118px); opacity: 0; }
}
@keyframes hero-bird {
  from { transform: translate(-90px, 0); }
  30% { transform: translate(620px, -26px); }
  55% { transform: translate(1180px, 6px); }
  to { transform: translate(2080px, -40px); }
}
@keyframes hero-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes hero-flap { 0%, 48% { opacity: 1; } 49%, 100% { opacity: 0; } }
@keyframes hero-window { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
@keyframes hero-tape { 0%, 100% { transform: rotate(-1.8deg); } 50% { transform: rotate(-1.5deg); } }
@keyframes hero-tape-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.hero-figure .lamp-glow { animation: hero-glow 7s linear infinite; }
.hero-figure .hero-smoke-1 { animation: hero-smoke-rise 7.5s linear infinite; }
.hero-figure .hero-smoke-2 { animation: hero-smoke-rise 10s linear infinite; animation-delay: -4.5s; }
.hero-backdrop .hero-bird-1 { animation: hero-bird 75s linear infinite; }
.hero-backdrop .hero-bird-2 { animation: hero-bird 95s linear infinite; animation-delay: -38s; }
.hero-backdrop .hero-bird-bob { animation: hero-bob 3.6s ease-in-out infinite; }
.hero-backdrop .hero-bird-2 .hero-bird-bob { animation-delay: -1.8s; }
.hero-backdrop .bird-pose-a { animation: hero-flap 0.72s linear infinite; }
.hero-backdrop .bird-pose-b { animation: hero-flap 0.72s linear infinite; animation-delay: -0.36s; }
.hero-backdrop .win-a { animation: hero-window 4.2s ease-in-out infinite; }
.hero-backdrop .win-b { animation: hero-window 6.4s ease-in-out infinite; animation-delay: -2.8s; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .fashion-nav { gap: 26px; }
  .hero-copy h1 { font-size: 88px; }
  .hero-slogan { font-size: 36px; }
  .editor-layout { grid-template-columns: 190px minmax(0, 1fr); }
  .context-panel { display: none; }
  .pricing-columns article { padding-right: 44px; padding-left: 44px; }
}

@media (max-width: 760px) {
  .nav-shell { grid-template-columns: 1fr auto auto; width: calc(100% - 36px); }
  .fashion-nav { display: none; }
  .nav-actions .nav-secondary { display: none; }
  .mobile-nav { display: block; margin-left: 10px; }
  .fashion-hero { min-height: 850px; }
  .hero-shell { width: calc(100% - 36px); padding-top: 104px; }
  .hero-copy { width: 100%; }
  .hero-copy h1 { font-size: 70px; }
  .hero-slogan { max-width: 500px; font-size: 34px; }
  .hero-intro { color: var(--text); }
  .hero-media { right: -28%; width: 85%; height: 460px; opacity: 0.4; }
  .hero-media.has-photo { right: 0; height: 460px; opacity: 0.55; }
  .hero-figure { left: 70%; }
  .hero-tape-main { bottom: 22px; }
  .hero-water { top: 460px; }
  .water-reflection { height: 460px; }
  .editor-window { height: 470px; margin-top: 42px; }
  .editor-layout { grid-template-columns: 1fr; }
  .chapter-panel { display: none; }
  .manuscript-copy { padding-right: 24px; padding-left: 24px; }
  .metric-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 18px; }
  .metric-strip div { border-right: 0; border-bottom: 1px solid var(--line); padding: 24px 10px; }
  .metric-strip div:nth-child(odd) { border-right: 1px solid var(--line); }
  .editorial-features { width: calc(100% - 36px); padding-top: 42px; }
  .feature-story,
  .feature-story.reverse { grid-template-columns: 1fr; gap: 22px; padding: 34px 0; }
  .feature-story.reverse .image-slot { order: 2; }
  .story-copy { grid-template-columns: 54px 1fr; }
  .image-slot { min-height: 210px; }
  .pricing-columns { grid-template-columns: 1fr; max-width: 480px; }
  .pricing-columns article { min-height: auto; padding: 28px 22px 34px; }
  .pricing-columns article:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
  .pricing-columns ul { min-height: 0; margin-bottom: 20px; }
  .steps-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 0; }
  .steps-row::before { display: none; }
  .fashion-cta { align-items: flex-start; flex-direction: column; padding-top: 42px; padding-bottom: 42px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-brandcol { grid-column: 1 / -1; }
  .newsletter { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .nav-primary { min-height: 38px; padding: 0 13px; }
  .hero-copy h1 { font-size: 58px; }
  .hero-slogan { font-size: 29px; }
  .hero-intro { font-size: 14px; }
  .action-primary,
  .action-secondary { min-width: 126px; padding: 0 16px; }
  .editor-window { height: 440px; border-radius: var(--radius-sm); }
  .editor-status span:first-child { display: none; }
  .manuscript-copy { font-size: 10px; }
  .metric-strip strong { font-size: 27px; }
  .metric-strip span { font-size: 9px; }
  .story-copy h2 { font-size: 26px; }
  .section-title h2 { font-size: 24px; }
  .steps-row { grid-template-columns: 1fr; }
  .fashion-cta h2 { font-size: 26px; }
  .theme-switcher > span { display: none; }
}

@media (max-width: 900px) {
  .memory-shell > header,
  .modes-shell,
  .page-hero-inner { grid-template-columns: 1fr; }
  .memory-console { grid-template-columns: 1fr; }
  .memory-console > aside { display: grid; grid-template-columns: repeat(2, 1fr); border-right: 0; border-bottom: 1px solid var(--dark-line); }
  .memory-console > aside > strong { grid-column: 1 / -1; }
  .memory-console > aside div { padding-right: 20px; }
  .page-hero-art { width: 58%; opacity: 0.34; }
  .page-hero-note { max-width: 620px; }
  .proof-grid { grid-template-columns: 180px 1fr; }
  .proof-side { display: none; }
  .editorial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-heading { grid-template-columns: 100px 1fr; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-visual { min-height: 330px; }
}

@media (max-width: 760px) {
  .memory-showcase,
  .creative-modes,
  .creator-quote,
  .resource-spotlight,
  .page-section { padding: 66px 18px; }
  .memory-shell > header h2,
  .modes-shell > header h2 { font-size: 38px; }
  .memory-shell > header { gap: 20px; }
  .memory-console { margin-top: 38px; }
  .memory-stream { padding: 8px 18px; }
  .memory-stream article { grid-template-columns: 74px 1fr; }
  .memory-stream article > span { grid-column: 2; justify-self: start; }
  .mode-list a { grid-template-columns: 42px 1fr auto; }
  .mode-list p { grid-column: 2; }
  .creator-quote blockquote { font-size: 30px; }
  .creator-quote > div { align-items: flex-start; flex-direction: column; }
  .resource-spotlight > div { grid-template-columns: 1fr; }
  .resource-spotlight > div a:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
  .site-page .fashion-header { position: sticky; }
  .page-hero,
  .page-hero-inner { min-height: 540px; }
  .page-hero-inner { width: calc(100% - 36px); padding: 70px 0 58px; }
  .page-hero h1 { font-size: 54px; }
  .page-lead { font-size: 16px; }
  .section-heading { grid-template-columns: 1fr; gap: 16px; }
  .section-heading h2 { font-size: 36px; }
  .content-row { grid-template-columns: 44px 1fr; gap: 16px; }
  .content-row p,
  .content-row a { grid-column: 2; }
  .editorial-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-nav { display: none; }
  .proof-main { min-height: 430px; padding: 30px 24px; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-grid div { border-bottom: 1px solid var(--line); }
  .comparison-table { overflow-x: auto; }
  .comparison-table .table-row { min-width: 620px; }
  .resource-list a,
  .release-list article { grid-template-columns: 1fr; gap: 12px; }
  .auth-visual { min-height: 280px; padding: 28px; }
  .auth-visual blockquote { font-size: 30px; }
  .start-list a { grid-template-columns: 1fr auto; gap: 12px; }
  .start-list p { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}



/* Production availability and compliance */
.plan-unavailable {
  filter: grayscale(0.82);
}

.pro-coming-soon {
  position: relative;
  cursor: not-allowed !important;
  filter: grayscale(1);
  opacity: 0.48;
  user-select: none;
}

.pro-coming-soon::after {
  content: attr(data-tooltip);
  position: absolute;
  z-index: 30;
  left: 50%;
  bottom: calc(100% + 10px);
  width: max-content;
  max-width: 180px;
  padding: 7px 10px;
  border-radius: 6px;
  background: #202420;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.pro-coming-soon:hover::after,
.pro-coming-soon:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.pro-entry-disabled {
  color: inherit;
  text-decoration: none;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-legal p {
  margin: 0;
}

.footer-compliance {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-compliance a,
.footer-compliance span {
  color: inherit;
  font-size: 12px;
}

.footer-compliance .gongan-link,
.auth-legal .gongan-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.gongan-badge {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.auth-actions { position: fixed; top: 18px; right: 24px; z-index: 60; }

.auth-legal {
  position: fixed;
  right: 24px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: #69706c;
  font-size: 11px;
}

@media (max-width: 720px) {
  .footer-legal,
  .auth-legal {
    align-items: flex-start;
    flex-direction: column;
  }

  .auth-legal {
    position: static;
    margin: 24px;
  }
}
