/* ============================================================
   Molio 墨流 — Ink & Paper 设计系统 v2
   墨 + 印章红 + 纸。去掉 emoji、模板感，建立编辑/文学视觉语言。
   ============================================================ */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,400;1,9..144,700&family=Source+Serif+4:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=Noto+Serif+SC:wght@400;600;700;900&display=swap');

:root {
  /* 纸 */
  --paper: #F5F0E8;
  --paper-2: #EDE6D8;
  --paper-3: #E4DBCB;

  /* 墨 */
  --ink: #0D0D0D;
  --ink-80: #1A1A1A;
  --ink-60: #404040;
  --ink-40: #707070;
  --ink-20: #A0A0A0;
  --ink-10: #C8C4BC;

  /* 印章红 — 唯一强调色 */
  --seal: #C41E24;
  --seal-light: #D4303A;
  --seal-dark: #8B1519;

  /* 分隔 */
  --hair: #D8D0C2;
  --rule: #C8BFB0;

  /* 字体 */
  --font-display: 'Fraunces', Georgia, 'Noto Serif SC', serif;
  --font-zh: 'Noto Serif SC', 'PingFang SC', 'Hiragino Sans GB', 'Songti SC', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Cascadia Code', monospace;

  /* 布局 */
  --max-w: 1200px;
  --nav-h: 64px;

  /* 动画 */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; }

/* ---------- Atmosphere: 墨渍 + 纸纤维 ---------- */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse 700px 500px at 10% 15%, rgba(13,13,13,0.03) 0%, transparent 70%),
    radial-gradient(ellipse 500px 600px at 90% 85%, rgba(196,30,36,0.01) 0%, transparent 70%),
    radial-gradient(ellipse 400px 300px at 50% 50%, rgba(13,13,13,0.015) 0%, transparent 60%);
}

.atmosphere::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.5;
  mix-blend-mode: multiply;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(42px, 7vw, 80px); }
h2 { font-size: clamp(32px, 5vw, 56px); }
h3 { font-size: clamp(24px, 3.5vw, 38px); }
h4 { font-size: 20px; }

p { margin-bottom: 0; }

/* ---------- Navigation ---------- */
.top-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 200;
  background: rgba(245, 240, 232, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hair);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.logo-icon-sm {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  border-radius: 3px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-display);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  position: relative;
  padding: 4px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-40);
  transition: color 0.25s var(--ease);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--seal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-link.active {
  color: var(--ink);
  font-weight: 600;
}
.nav-link.active::after { transform: scaleX(1); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative;
  z-index: 0;
}

.btn:hover { transform: translateY(-2px); }

/* Primary: 墨底，hover 印章红涂抹 */
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--seal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
  z-index: -1;
  border-radius: inherit;
}

.btn-primary:hover::after { transform: scaleX(1); }
.btn-primary:hover { box-shadow: 0 8px 24px rgba(13,13,13,0.15); }

/* Secondary: 透明 + 边框 */
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule);
}

.btn-secondary:hover {
  border-color: var(--ink);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

/* Light: 纸底，用于暗色背景 */
.btn-light {
  background: var(--paper);
  color: var(--ink);
}

.btn-light:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.btn-sm { padding: 10px 22px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  padding-bottom: 80px;
  position: relative;
}

.hero-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 80px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.hero-text {
  position: relative;
}

/* Eyebrow — 刊首语风格 */
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-40);
}

.hero-eyebrow-line {
  width: 28px;
  height: 1.5px;
  background: var(--seal);
  flex-shrink: 0;
}

/* H1 — 主标题：英文 italic + 中文正常 */
.hero-text h1 {
  font-size: clamp(36px, 5.2vw, 62px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
  font-weight: 700;
}

.hero-title-line {
  color: var(--seal);
  line-height: 1.15;
  font-size: 1em;
}

.hero-title-line em {
  font-style: italic;
  font-weight: 700;
  font-family: 'Source Serif 4', Georgia, serif;
  font-feature-settings: "liga" 1;
}

.hero-title-zh {
  font-style: normal;
  font-family: var(--font-zh);
  font-weight: 700;
}

.hero-title-sub {
  display: block;
  color: var(--ink);
  font-size: 0.52em;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 0.2em;
  letter-spacing: 0;
  font-family: var(--font-zh);
}

/* Hero desc — 左侧细线点缀 */
.hero-text .hero-desc {
  font-size: 16px;
  color: var(--ink-40);
  line-height: 1.85;
  max-width: 460px;
  margin-bottom: 20px;
  padding-left: 16px;
  border-left: 1.5px solid var(--hair);
}

/* Hero checks — 纯本地卖点 */
.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-bottom: 32px;
  list-style: none;
  padding-left: 16px;
}

.hero-checks li {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-60);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-checks li::before {
  content: '✓';
  color: var(--seal);
  font-weight: 700;
  font-size: 12px;
}

.hero-text .hero-desc br { display: none; }

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

/* Staggered reveal for hero children */
.hero .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  transition-delay: calc(var(--delay, 0) * 0.12s);
}

.hero .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.hero-image-frame {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.04),
    0 4px 8px rgba(0,0,0,0.04),
    0 20px 40px rgba(0,0,0,0.08);
  transform: rotate(0.8deg);
  transition: transform 0.5s var(--ease);
}

.hero-image-frame:hover {
  transform: rotate(0deg) translateY(-4px);
}

.hero-image-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Section base ---------- */
.section {
  padding: 120px 0;
  position: relative;
}

.section-inset { background: var(--paper-2); }

.section-dark {
  background: var(--ink);
  color: var(--paper);
}

.section-dark h2, .section-dark h3 { color: var(--paper); }
.section-dark p { color: rgba(245,240,232,0.6); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Manifesto section (暗色宣言) ---------- */
.section-manifesto { padding: 140px 0; }

.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.section-label {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-label.dark { color: rgba(245,240,232,0.35); }
.section-label.light { color: var(--ink-20); }
.section-label.seal { color: var(--seal); }

.manifesto-inner h2 {
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.1;
  margin-bottom: 28px;
}

.manifesto-inner p {
  font-size: 18px;
  line-height: 1.8;
  max-width: 580px;
  margin: 0 auto;
}

/* ---------- Hero 视频题注 ---------- */
.hero-video-caption {
  margin-top: 18px;
  text-align: center;
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--ink-40);
}

/* ---------- Showcase section (知识宇宙视频) ---------- */
.section-showcase { padding: 140px 0; }

.showcase-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.showcase-inner h2 {
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.1;
  margin-bottom: 24px;
}

.showcase-sub {
  font-size: 18px;
  line-height: 1.8;
  max-width: 620px;
  margin: 0 auto 48px;
}

.showcase-video-frame {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.3),
    0 24px 64px rgba(0,0,0,0.5);
}

.showcase-video-frame video {
  width: 100%;
  height: auto;
  display: block;
}

.section-showcase .showcase-caption {
  margin-top: 20px;
  font-size: 14px;
  letter-spacing: 1px;
  color: rgba(245,240,232,0.4);
}

/* ---------- Feature sections ---------- */
.feature-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.feature-inner.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.feature-inner.reverse .feature-text { order: 2; }
.feature-inner.reverse .feature-visual { order: 1; }

.feature-num {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-20);
  margin-bottom: 6px;
}

.feature-label {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  font-style: italic;
  color: var(--seal);
  margin-bottom: 20px;
}

.feature-text h3 {
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.15;
  margin-bottom: 20px;
}

.feature-text h3 em {
  font-style: italic;
  color: var(--seal);
}

.feature-text > p {
  font-size: 16px;
  color: var(--ink-40);
  line-height: 1.8;
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--ink-60);
  line-height: 1.7;
  margin-bottom: 12px;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 1.5px;
  background: var(--seal);
}

.feature-visual img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.feature-visual:hover img {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

/* Deposit section: 居中引文 */
.deposit-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.deposit-quote {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.8vw, 44px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.35;
  color: var(--ink);
  margin: 32px 0 56px;
  position: relative;
}

.deposit-quote::before {
  content: '\201C';
  display: block;
  font-size: 72px;
  color: var(--seal);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: -10px;
}

.deposit-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: left;
}

.deposit-feature {
  font-size: 15px;
  color: var(--ink-60);
  line-height: 1.6;
  padding-top: 16px;
  border-top: 1px solid var(--hair);
}

.deposit-feature strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

/* Connect section: 暗色大图 */
.section-connect .feature-num { color: rgba(245,240,232,0.3); }
.section-connect .feature-label { color: var(--seal-light); }
.section-connect .feature-text > p { color: rgba(245,240,232,0.55); }

.connect-visual img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  opacity: 0.85;
  transition: opacity 0.4s var(--ease);
}

.connect-visual:hover img { opacity: 1; }

/* Publish section: 双图 */
.publish-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.publish-inner h3 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 16px;
}

.publish-inner > p {
  font-size: 17px;
  color: var(--ink-40);
  margin-bottom: 48px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.publish-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.publish-images img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.publish-caption {
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-20);
  font-style: italic;
}

/* ---------- Closure ring ---------- */
.section-closure { padding: 120px 0; }

.closure-inner {
  max-width: 500px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.closure-inner h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 72px;
}

.closure-ring {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto;
}

.closure-ring::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px dashed var(--hair);
  border-radius: 50%;
}

.closure-ring::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--ink);
  display: grid;
  place-items: center;
}

/* 中心 logo */
.closure-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  z-index: 2;
}

.closure-node {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-140px) rotate(calc(-1 * var(--angle)));
  text-align: center;
}

.node-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  margin: 0 auto 8px;
  transition: transform 0.3s var(--ease-spring), background 0.3s var(--ease);
}

.closure-node:hover .node-dot {
  transform: scale(1.2);
  background: var(--seal);
}

.node-label {
  font-size: 13px;
  color: var(--ink-60);
  line-height: 1.4;
  white-space: nowrap;
}

.node-label small {
  display: block;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-20);
  margin-top: 1px;
}

/* ---------- Updates / blog grid ---------- */
.section-updates { padding: 120px 0; }

.updates-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.updates-header {
  text-align: center;
  margin-bottom: 48px;
}

.updates-header h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  margin-bottom: 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.blog-grid .blog-card {
  background: var(--paper-2);
  border: 1px solid var(--hair);
  border-radius: 2px;
  padding: 32px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.blog-grid .blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}

.blog-card .tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--seal);
  margin-bottom: 14px;
}

.blog-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
}

.blog-card h3 a { color: var(--ink); }
.blog-card h3 a:hover { color: var(--seal); }

.blog-card p {
  font-size: 15px;
  color: var(--ink-40);
  line-height: 1.7;
  margin-bottom: 18px;
}

.blog-card .meta {
  font-size: 13px;
  color: var(--ink-20);
}

.updates-cta {
  text-align: center;
}

/* ---------- CTA section ---------- */
.section-cta {
  padding: 140px 0;
  text-align: center;
}

.cta-inner h2 {
  font-size: clamp(36px, 5.5vw, 64px);
  margin-bottom: 40px;
  color: var(--paper);
}

.cta-inner .btn {
  font-size: 16px;
  padding: 18px 40px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-80);
  color: rgba(245,240,232,0.5);
  padding: 72px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px 48px;
  border-bottom: 1px solid rgba(245,240,232,0.08);
}

.footer-brand .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  max-width: 300px;
}

.footer-links h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 18px;
}

.footer-links a {
  display: block;
  font-size: 14px;
  padding: 5px 0;
  color: rgba(245,240,232,0.5);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--paper); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px 24px 0;
  font-size: 13px;
}

/* ---------- Page-specific (download/help/privacy/blog) ---------- */
.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 64px) 24px 96px;
  min-height: 100vh;
}

.page-title {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 12px;
}

.page-subtitle {
  font-size: 18px;
  color: var(--ink-40);
  margin-bottom: 48px;
}

/* Download */
.download-section-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin: 48px 0 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hair);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.download-card {
  background: var(--paper-2);
  border: 1px solid var(--hair);
  border-radius: 2px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.download-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}

.download-card .icon { font-size: 40px; margin-bottom: 12px; }

.download-card .name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.download-card .desc {
  font-size: 14px;
  color: var(--ink-40);
  margin-bottom: 8px;
}

.download-card .meta {
  font-size: 12px;
  color: var(--ink-20);
  font-family: var(--font-mono);
  margin-bottom: 16px;
}

.download-btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
}

.download-btn.primary {
  background: var(--ink);
  color: var(--paper);
}

.download-btn.primary:hover {
  background: var(--seal-dark);
  transform: translateY(-2px);
}

.download-btn.secondary {
  background: transparent;
  color: var(--ink-60);
  border-color: var(--rule);
  margin-left: 8px;
}

.download-btn.secondary:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.ai-tools-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 15px;
}

.ai-tools-table th, .ai-tools-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--hair);
}

.ai-tools-table th {
  font-weight: 700;
  background: var(--paper-2);
}

.ai-tools-table td a {
  color: var(--seal-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Help steps */
.step-card {
  background: var(--paper-2);
  border: 1px solid var(--hair);
  border-radius: 2px;
  padding: 32px;
  margin-bottom: 24px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.step-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.step-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.step-card .step-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
}

.cmd-block {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.8;
  padding: 16px 20px;
  border-radius: 3px;
  overflow-x: auto;
  margin: 12px 0;
  white-space: pre;
  text-align: left;
}

.cmd-block .c { color: var(--ink-20); }

/* Privacy */
.privacy-section {
  margin-bottom: 32px;
}

.privacy-section h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hair);
}

.privacy-section p {
  font-size: 16px;
  color: var(--ink-40);
  line-height: 1.8;
  margin-bottom: 12px;
}

.privacy-section ul {
  padding-left: 22px;
  margin-bottom: 12px;
}

.privacy-section li {
  font-size: 15px;
  color: var(--ink-40);
  line-height: 1.8;
  margin-bottom: 8px;
}

.privacy-section a {
  color: var(--seal-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Tip box */
.tip-box {
  background: var(--paper-2);
  border-left: 3px solid var(--seal);
  border-radius: 0 2px 2px 0;
  padding: 18px 22px;
  margin: 20px 0 32px;
  font-size: 15px;
  color: var(--ink-60);
  line-height: 1.7;
}

.tip-box strong { color: var(--ink); }

/* Blog index */
.blog-index-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.blog-index-grid .blog-card {
  background: var(--paper-2);
  border: 1px solid var(--hair);
  border-radius: 2px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.blog-index-grid .blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}

/* Article body */
.article-body {
  max-width: 720px;
}

.article-meta {
  font-size: 14px;
  color: var(--ink-20);
  margin-bottom: 32px;
}

.article-body h2 {
  font-size: 24px;
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hair);
}

.article-body h3 {
  font-size: 20px;
  margin: 28px 0 12px;
}

.article-body p {
  font-size: 16px;
  color: var(--ink-40);
  line-height: 1.8;
  margin-bottom: 16px;
}

.article-body ul, .article-body ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.article-body li {
  font-size: 15px;
  color: var(--ink-40);
  line-height: 1.8;
  margin-bottom: 8px;
}

.article-body a {
  color: var(--seal-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-body a:hover { color: var(--seal); }

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}

.article-body th, .article-body td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--hair);
}

.article-body th {
  background: var(--paper-2);
  font-weight: 700;
}

.article-body code {
  background: var(--paper-2);
  padding: 2px 8px;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 14px;
}

.cta-box {
  background: var(--paper-2);
  border: 1px solid var(--hair);
  border-radius: 2px;
  padding: 32px;
  margin: 40px 0;
  text-align: center;
}

.cta-box p {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 14px;
  color: var(--ink-20);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--ink-60);
  transition: color 0.2s;
}

.breadcrumb a:hover { color: var(--seal); }

.breadcrumb .sep {
  margin: 0 8px;
  color: var(--ink-10);
}

/* Related links */
.related-links {
  background: var(--paper-2);
  border: 1px solid var(--hair);
  border-radius: 2px;
  padding: 32px;
  margin-top: 48px;
}

.related-links h2 {
  font-family: var(--font-display);
  font-size: 20px;
  margin: 0 0 16px;
  padding: 0;
  border: none;
}

.related-links li {
  padding: 10px 0;
  border-bottom: 1px solid var(--hair);
}

.related-links li:last-child { border: none; }

.related-links a {
  color: var(--seal-dark);
  font-weight: 500;
}

.related-links a:hover { color: var(--seal); }

/* Content text (generic) */
.content-text h2, .content-text h3 {
  font-family: var(--font-display);
}

.content-text p {
  font-size: 16px;
  color: var(--ink-40);
  line-height: 1.8;
  margin-bottom: 16px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin: 48px 0 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hair);
}

/* ---------- Nav GitHub icon ---------- */
.nav-gh {
  display: inline-flex;
  align-items: center;
  padding: 4px 0;
  transition: opacity 0.25s var(--ease);
  opacity: 0.5;
  margin-left: 4px;
}

.nav-gh:hover { opacity: 1; }

.nav-gh svg {
  width: 20px;
  height: 20px;
  fill: var(--ink);
}

/* ---------- Floaters ---------- */
.float-qr-wrap {
  position: fixed;
  bottom: 80px;
  right: 28px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 3px;
  padding: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: transform 0.25s var(--ease);
}

.float-qr-wrap:hover { transform: translateY(-3px); }

.float-qr-img {
  width: 86px;
  height: 86px;
}

.float-qr-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.float-qr-caption {
  font-size: 11px;
  color: var(--ink-40);
  font-weight: 600;
  text-align: center;
}

/* ---------- Anchor nav ---------- */
.anchor-nav {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.anchor-nav a {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink-10);
  transition: all 0.3s var(--ease);
  text-decoration: none;
  display: block;
}

.anchor-nav a:hover,
.anchor-nav a.active {
  background: var(--seal);
  width: 24px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .anchor-nav { display: none; }
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(3px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), filter 0.7s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero { min-height: auto; padding-bottom: 60px; }
  .feature-inner { grid-template-columns: 1fr; gap: 40px; }
  .feature-inner.reverse .feature-text { order: 1; }
  .feature-inner.reverse .feature-visual { order: 2; }
  .section-connect .connect-inner,
  .connect-inner { grid-template-columns: 1fr; }
  .publish-images { grid-template-columns: 1fr; }
  .deposit-features { grid-template-columns: 1fr; gap: 20px; }
  .blog-grid, .blog-index-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .closure-ring { width: 260px; height: 260px; }
  .closure-node {
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-110px) rotate(calc(-1 * var(--angle)));
  }
  .closure-center { width: 48px; height: 48px; font-size: 17px; }
  .manifesto-inner h2 { font-size: clamp(28px, 6vw, 44px); }
  .section-cta, .section-manifesto { padding: 100px 0; }
}

@media (max-width: 600px) {
  :root { --nav-h: 56px; }
  .section { padding: 64px 0; }
  .nav-links { gap: 16px; }
  .nav-link { font-size: 13px; }
  .hero-text h1 { font-size: 32px; line-height: 1.18; }
  .hero-eyebrow { font-size: 14px; gap: 10px; margin-bottom: 20px; }
  .hero-text .hero-desc { padding-left: 14px; font-size: 15px; }
  .hero-checks { gap: 4px 16px; margin-bottom: 24px; }
  .hero-checks li { font-size: 12px; }
  .hero-actions .btn { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .float-qr-wrap { display: none; }
  .nav-gh { display: none; }
  .closure-ring { width: 220px; height: 220px; }
  .closure-node {
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-90px) rotate(calc(-1 * var(--angle)));
  }
  .node-dot { width: 34px; height: 34px; font-size: 11px; }
  .node-label { font-size: 11px; }
  .download-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Enterprise page — 企业服务
   沿用 Ink & Paper token；新增：印章簇、知识栈剖面、案例行、硬边界门、扫码印卡、首页横幅。
   ============================================================ */

/* ---------- Seal cluster (hero right) ---------- */
.seal-stage { position: relative; height: 440px; display: grid; place-items: center; }
.seal-stage .domain-ring {
  position: absolute; width: 360px; height: 360px;
  border: 1.5px dashed var(--ink-20); border-radius: 50%; opacity: .5;
}
.seal-stage .domain-ring::after {
  content: 'YOUR PERIMETER'; position: absolute; top: -9px; left: 50%; transform: translateX(-50%);
  background: var(--paper); padding: 0 10px;
  font-family: var(--font-mono, monospace); font-size: 10px; letter-spacing: .18em; color: var(--ink-20);
}
.seal-cluster { position: relative; width: 340px; height: 340px; transition: transform .5s var(--ease-spring); }
.seal-cluster:hover { transform: rotate(-1.2deg) scale(1.02); }

.stamp {
  position: absolute; border: 3px solid var(--seal); border-radius: 6px; color: var(--seal);
  display: grid; place-items: center; text-align: center;
  font-family: var(--font-zh); font-weight: 900;
  background: rgba(245,240,232,.6);
  box-shadow: inset 0 0 0 2px rgba(245,240,232,.7), inset 0 0 22px rgba(196,30,36,.18), 0 10px 30px rgba(134,21,25,.14);
}
.stamp::after { content: ''; position: absolute; inset: 5px; border: 1.5px solid currentColor; border-radius: 3px; opacity: .55; }
.stamp-main { width: 178px; height: 178px; top: 81px; left: 81px; transform: rotate(-6deg); }
.stamp-main .ch { font-size: 40px; line-height: 1.18; letter-spacing: .06em; }
.stamp-a { width: 118px; height: 64px; top: 6px; left: 6px; transform: rotate(7deg); }
.stamp-b { width: 128px; height: 62px; bottom: 18px; right: 0; transform: rotate(-9deg); }
.stamp-a .ch, .stamp-b .ch { font-size: 17px; line-height: 1.25; letter-spacing: .04em; }
.stamp .ch { position: relative; z-index: 1; }
.reg-tick { position: absolute; width: 18px; height: 18px; border: 0 solid var(--ink-20); opacity: .5; }
.reg-tick.tl { top: -30px; left: -30px; border-top-width: 1.5px; border-left-width: 1.5px; }
.reg-tick.tr { top: -30px; right: -30px; border-top-width: 1.5px; border-right-width: 1.5px; }
.reg-tick.bl { bottom: -30px; left: -30px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.reg-tick.br { bottom: -30px; right: -30px; border-bottom-width: 1.5px; border-right-width: 1.5px; }

/* ---------- Stack cross-section ---------- */
.stack-section { padding: 120px 0; }
.stack-grid { display: grid; grid-template-columns: minmax(280px, .84fr) 1.16fr; gap: 60px; align-items: center; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.stack-head h2 { font-size: clamp(33px, 3.9vw, 54px); margin-bottom: 26px; }
.stack-head h2 em { font-style: italic; color: var(--seal); font-family: 'Source Serif 4', Georgia, serif; }
.stack-head .lead { font-size: 16px; color: var(--ink-40); line-height: 1.9; padding-left: 18px; border-left: 1.5px solid var(--hair); max-width: 31em; margin-bottom: 14px; }
.stack-head .lead b { color: var(--ink); font-weight: 600; }
.stack-head .open { display: block; font-family: var(--font-mono, monospace); font-size: 12px; letter-spacing: .03em; color: var(--seal-dark); }
.stack-legend { margin-top: 34px; display: flex; flex-direction: column; gap: 2px; }
.stack-legend .leg-row { display: flex; align-items: center; gap: 13px; padding: 10px 12px; border-radius: 4px; cursor: default; transition: background .3s var(--ease), transform .3s var(--ease); }
.stack-legend .leg-row:hover { background: var(--paper-2); transform: translateX(4px); }
.stack-legend .leg-dot { width: 11px; height: 11px; border-radius: 2px; flex: none; }
.stack-legend .leg-ln { font-family: var(--font-mono, monospace); font-weight: 700; font-size: 12px; color: var(--ink-20); width: 24px; flex: none; }
.stack-legend .leg-t { font-size: 13.5px; color: var(--ink-60); }
.stack-legend .leg-t b { color: var(--ink); font-weight: 600; }
.stack-legend .leg-t span { color: var(--ink-40); }
.leg-dot-L3 { background: var(--seal); } .leg-dot-L2 { background: var(--ink); }
.leg-dot-L1 { background: var(--seal-dark); } .leg-dot-L0 { background: var(--ink-20); }
.stack-wrap svg { width: 100%; height: auto; overflow: visible; }
.stack-wrap .t-kick { font-family: var(--font-mono, monospace); font-weight: 700; font-size: 11.5px; letter-spacing: .16em; }
.stack-wrap .t-meta { font-family: var(--font-mono, monospace); font-size: 10.5px; letter-spacing: .06em; }
.stack-wrap .t-seq { font-family: var(--font-mono, monospace); font-weight: 700; font-size: 24px; transition: fill .3s var(--ease); }
.stack-wrap .t-name { font-family: var(--font-zh); font-weight: 700; font-size: 16px; transition: fill .3s var(--ease); }
.stack-wrap .t-def { font-family: var(--font-body); font-size: 11px; }
.stack-wrap .t-note { font-family: var(--font-body); font-size: 10px; letter-spacing: .04em; }
.stack-wrap .t-stamp { font-family: var(--font-zh); font-weight: 900; font-size: 12px; }
.stack-wrap .t-stamp-sm { font-family: var(--font-zh); font-weight: 800; font-size: 11px; }
.stack-wrap .gl { stroke: var(--hair); stroke-width: 1; }
.stack-wrap .gl-soft { stroke: var(--hair); stroke-width: 1; opacity: .55; }
.stack-wrap .hit { fill: transparent; cursor: default; }
.stack-wrap .spine-line { stroke: var(--ink-10); stroke-width: 1.4; }
.stack-wrap .layer .rightframe { fill: transparent; stroke: transparent; stroke-width: 1.4; transition: stroke .3s var(--ease), fill .3s var(--ease); }
.stack-wrap .layer:hover .rightframe, .stack-wrap .layer.hot .rightframe { stroke: rgba(196,30,36,.35); fill: rgba(196,30,36,.03); }
.stack-wrap .layer:hover .t-name, .stack-wrap .layer.hot .t-name { fill: var(--seal); }
.stack-wrap .layer:hover .t-seq, .stack-wrap .layer.hot .t-seq { fill: var(--seal); }
/* stamp-g: static, no hover interaction */

/* ---------- Case rows ---------- */
.cases-section { padding: 120px 0; }
.cases-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.cases-head { max-width: 22em; margin-bottom: 64px; }
.cases-head h2 { font-size: clamp(32px, 4.6vw, 54px); margin-bottom: 18px; }
.cases-head p { font-size: 16px; color: var(--ink-40); }
.case-row { display: grid; grid-template-columns: 200px 1fr; gap: 48px; align-items: center; padding: 52px 0; border-top: 1px solid var(--hair); }
.case-row.rev { grid-template-columns: 1fr 200px; }
.case-row.rev .case-art { order: 2; }
.case-row.rev .case-text { order: 1; }
.case-art { max-width: 200px; }
.case-art .badge { width: 100%; height: auto; border-radius: 3px; background: var(--paper-2); border: 1px solid var(--hair); box-shadow: 0 12px 32px -24px rgba(13,13,13,.5); transition: transform .4s var(--ease); }
.case-row:hover .case-art .badge { transform: translateY(-4px) rotate(-.6deg); }
.case-tag { display: inline-block; font-family: var(--font-mono, monospace); font-size: 11px; font-weight: 700; letter-spacing: .08em; padding: 3px 10px; border: 1px solid var(--seal); color: var(--seal); border-radius: 3px; margin-bottom: 12px; }
.case-ind { font-size: 13px; color: var(--ink-40); margin-bottom: 8px; }
.case-text h3 { font-size: clamp(22px, 2.8vw, 32px); line-height: 1.2; margin-bottom: 14px; }
.case-text .body { font-size: 15.5px; color: var(--ink-60); line-height: 1.8; margin-bottom: 16px; max-width: 42em; }
.case-text .body b { color: var(--ink); }
.case-punch { font-size: 14.5px; font-weight: 600; color: var(--ink); padding-left: 14px; border-left: 3px solid var(--seal); margin-bottom: 20px; line-height: 1.6; }
.case-actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.case-link { font-size: 14px; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; border-bottom: 1.5px solid var(--seal); padding-bottom: 2px; transition: gap .25s var(--ease), color .25s; }
.case-link:hover { gap: 11px; color: var(--seal-dark); }
.case-link.muted { border-bottom-color: var(--rule); color: var(--ink-40); }
.case-link.muted:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* ---------- Boundary gates ---------- */
.bound-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.bound-head { font-size: clamp(28px, 4vw, 46px); margin-bottom: 14px; }
.bound-sub { font-size: 15px; color: rgba(245,240,232,.55); margin-bottom: 56px; max-width: 34em; }
.gate { display: grid; grid-template-columns: auto 1fr; gap: 32px; padding: 34px 0 34px 28px; border-top: 1px solid rgba(245,240,232,.14); position: relative; overflow: hidden; transition: padding-left .4s var(--ease); }
.gate::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--seal); }
.gate::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: rgba(196,30,36,.12); transition: width .5s var(--ease); z-index: 0; }
.gate:hover { padding-left: 40px; }
.gate:hover::after { width: 100%; }
.gate > * { position: relative; z-index: 1; }
.gate-num { font-family: var(--font-mono, monospace); font-size: 13px; font-weight: 700; color: var(--seal-light, #D4303A); letter-spacing: .1em; white-space: nowrap; padding-top: 4px; }
.gate h3 { font-size: clamp(20px, 2.4vw, 28px); color: var(--paper); margin-bottom: 10px; }
.gate p { font-size: 15px; color: rgba(245,240,232,.62); line-height: 1.8; max-width: 46em; }
.gate .why { margin-top: 12px; font-size: 13.5px; color: rgba(245,240,232,.4); font-style: italic; font-family: var(--font-display); }
.gate .why b { color: var(--seal-light, #D4303A); font-style: normal; }

/* ---------- Contact QR card ---------- */
.contact-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.contact-text h2 { font-size: clamp(32px, 4.6vw, 56px); color: var(--paper); margin-bottom: 24px; }
.contact-text .note { font-size: 16px; color: rgba(245,240,232,.6); line-height: 1.85; margin-bottom: 18px; max-width: 26em; }
.contact-text .note b { color: var(--paper); }
.contact-text .honest { font-size: 13.5px; color: rgba(245,240,232,.4); line-height: 1.7; border-top: 1px solid rgba(245,240,232,.12); padding-top: 18px; max-width: 26em; }
.contact-qr { display: flex; justify-content: center; }
.qr-card { position: relative; background: var(--paper); padding: 26px; border-radius: 4px; box-shadow: 0 24px 60px -28px rgba(0,0,0,.7); transition: transform .4s var(--ease-spring); }
.qr-card:hover { transform: translateY(-6px) rotate(-1deg); }
.qr-card::before { content: ''; position: absolute; inset: 8px; border: 1px solid var(--hair); border-radius: 2px; pointer-events: none; }
.qr-card img { width: 200px; height: 200px; display: block; border-radius: 2px; }
.qr-corner { position: absolute; width: 20px; height: 20px; border: 0 solid var(--seal); transition: all .35s var(--ease); }
.qr-card:hover .qr-corner { width: 26px; height: 26px; }
.qr-corner.tl { top: 12px; left: 12px; border-top-width: 2.5px; border-left-width: 2.5px; }
.qr-corner.tr { top: 12px; right: 12px; border-top-width: 2.5px; border-right-width: 2.5px; }
.qr-corner.bl { bottom: 12px; left: 12px; border-bottom-width: 2.5px; border-left-width: 2.5px; }
.qr-corner.br { bottom: 12px; right: 12px; border-bottom-width: 2.5px; border-right-width: 2.5px; }
.qr-cap { text-align: center; margin-top: 16px; font-family: var(--font-zh); font-weight: 700; color: var(--ink); font-size: 15px; }
.qr-cap small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--ink-40); font-size: 12px; margin-top: 4px; letter-spacing: .04em; }

/* ---------- Homepage enterprise banner ---------- */
.section-ent-banner { padding: 100px 0; text-align: left; }
.ent-banner-inner { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.ent-banner-text h2 { font-size: clamp(28px, 4vw, 48px); color: var(--paper); margin-bottom: 18px; }
.ent-banner-text .sub { font-size: 16px; color: rgba(245,240,232,.55); margin-bottom: 24px; max-width: 32em; }
.ent-banner-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.ent-banner-tags span { font-size: 13px; font-weight: 600; padding: 5px 14px; border: 1px solid rgba(245,240,232,.2); border-radius: 3px; color: rgba(245,240,232,.7); transition: border-color .3s, color .3s; }
.ent-banner-tags span:hover { border-color: var(--seal); color: var(--paper); }
.ent-banner-stamp { width: 120px; height: 120px; border: 3px solid var(--seal); border-radius: 6px; display: grid; place-items: center; color: var(--seal); font-family: var(--font-zh); font-weight: 900; font-size: 22px; line-height: 1.3; text-align: center; transform: rotate(-4deg); background: rgba(245,240,232,.06); box-shadow: inset 0 0 0 2px rgba(245,240,232,.1), inset 0 0 20px rgba(196,30,36,.12); position: relative; transition: transform .5s var(--ease-spring); }
.ent-banner-stamp::after { content: ''; position: absolute; inset: 5px; border: 1.5px solid currentColor; border-radius: 3px; opacity: .4; }
.ent-banner-stamp:hover { transform: rotate(0deg) scale(1.05); }

/* ---------- Deploy forms grid ---------- */
.deploy-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.deploy-head { max-width: 28em; margin-bottom: 56px; }
.deploy-head h2 { font-size: clamp(30px, 4.2vw, 50px); margin-bottom: 18px; }
.deploy-head p { font-size: 16px; color: var(--ink-40); line-height: 1.85; }
.deploy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.deploy-item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 24px 22px; background: var(--paper); border: 1px solid var(--hair); border-radius: 4px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.deploy-item:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.06); border-color: var(--seal); }
.deploy-icon { width: 44px; height: 44px; flex: none; display: grid; place-items: center; }
.deploy-icon svg { width: 36px; height: 36px; }
.deploy-text strong { display: block; font-family: var(--font-zh); font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.deploy-text span { font-size: 13.5px; color: var(--ink-40); line-height: 1.7; }
.deploy-text code { font-family: var(--font-mono, monospace); font-size: 12px; background: var(--paper-2); padding: 1px 5px; border-radius: 3px; border: 1px solid var(--hair); }

/* ---------- Enterprise responsive ---------- */
@media (max-width: 900px) {
  .stack-grid { grid-template-columns: 1fr; gap: 32px; }
  .stack-head .lead { max-width: none; }
  .case-row, .case-row.rev { grid-template-columns: 1fr; gap: 24px; }
  .case-row.rev .case-art { order: 0; }
  .case-art { max-width: 200px; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .ent-banner-inner { grid-template-columns: 1fr; gap: 32px; }
  .ent-banner-stamp { justify-self: start; }
  .seal-stage { height: 360px; order: -1; }
  .seal-cluster { transform: scale(.85); }
  .deploy-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .seal-cluster { transform: scale(.72); }
  .case-row { padding: 36px 0; }
  .deploy-grid { grid-template-columns: 1fr; }
}
