/* ZavCloud 首页 — 编辑/纸质风（与 Midnight Aurora 主页视觉分离） */

html.home-editorial {
  color-scheme: light;
  --ed-paper: #fcf9f4;
  --ed-paper2: #f2ebe0;
  --ed-ink: #14120f;
  --ed-muted: #5c564c;
  --ed-accent: #0d5c4d;
  --ed-accent-soft: rgba(13, 92, 77, 0.12);
  --ed-clay: #c9a882;
  --ed-shadow: 0 28px 60px rgba(26, 18, 10, 0.08);
  --ed-radius: 24px;
  --ed-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ed-transition: 0.65s var(--ed-ease);
  --ed-nav-bar: #0a0908;
  --ed-nav-bar-scrolled: #060605;
  --ed-nav-ink: #f3f0e8;
  --ed-nav-muted: #9c9890;
  --ed-nav-amber: #f59e0b;
  --ed-nav-amber-dim: #b45309;
}

html.home-editorial body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', sans-serif;
  background: #fcf9f4;
  background-image: none;
  color: #14120f;
  overflow-x: hidden;
}

html.home-editorial body::after {
  display: none;
}

/* —— 首页首屏加载（data-home-splash + layout.js） —— */
#home-splash {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  background: var(--ed-paper);
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.5s var(--ed-ease),
    visibility 0.5s;
}

html.home-reveal #home-splash {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.home-splash__inner {
  text-align: center;
}

.home-splash__mark {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.25rem;
  border-radius: 14px;
  background: var(--ed-nav-bar);
  color: var(--ed-nav-ink);
  font-family: 'Fraunces', 'Noto Serif SC', Georgia, serif;
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: home-splash-pulse 1.2s ease-in-out infinite;
}

.home-splash__track {
  width: 120px;
  height: 3px;
  margin: 0 auto;
  background: var(--ed-paper2);
  border-radius: 999px;
  overflow: hidden;
}

.home-splash__track > span {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: inherit;
  background: var(--ed-accent);
  animation: home-splash-bar 1s var(--ed-ease) infinite;
}

@keyframes home-splash-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(0.96);
    opacity: 0.85;
  }
}

@keyframes home-splash-bar {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(350%);
  }
}

html.home-loading #site-nav,
html.home-loading #site-auth,
html.home-loading .page-main,
html.home-loading #site-footer {
  opacity: 0;
}

html.home-ready #site-nav,
html.home-ready #site-auth,
html.home-ready .page-main,
html.home-ready #site-footer {
  opacity: 1;
  transition: opacity 0.55s var(--ed-ease);
}

@media (prefers-reduced-motion: reduce) {
  #home-splash {
    display: none !important;
  }

  html.home-loading #site-nav,
  html.home-loading #site-auth,
  html.home-loading .page-main,
  html.home-loading #site-footer {
    opacity: 1;
  }
}

html.home-editorial .page-main {
  position: relative;
  z-index: 1;
  padding: 0;
  max-width: none;
}

.home-editorial .ed-serif,
html.home-editorial .ed-hero__title {
  font-family: 'Fraunces', 'Playfair Display', 'Noto Serif SC', Georgia, serif;
}

.home-editorial .hide-mobile {
  display: none;
}

@media (min-width: 768px) {
  .home-editorial .hide-mobile {
    display: inline;
  }
}

/* —— Reveal（配合 page-index.js 的 .visible） —— */
html.home-editorial main .fade-in {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.7s var(--ed-ease),
    transform 0.75s var(--ed-ease);
}

html.home-editorial main .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* —— Hero —— */
.ed-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  grid-template-rows: minmax(min(100vh, 920px), auto);
  min-height: min(100vh, 920px);
  position: relative;
  align-items: stretch;
  background: linear-gradient(145deg, #faf6ef 0%, #efe6d8 48%, #e8dcc8 100%);
  padding-bottom: clamp(80px, 12vw, 140px);
}

.ed-hero__copy {
  grid-column: 1;
  align-self: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(92px + 48px) 6% 48px;
  z-index: 2;
}

.ed-hero__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ed-accent);
  margin-bottom: 1rem;
}

.ed-hero__title {
  font-size: clamp(3rem, 9vw, 6rem);
  line-height: 0.92;
  font-weight: 700;
  color: var(--ed-ink);
  margin: 0 0 1.35rem;
}

.ed-hero__lead {
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  max-width: 28rem;
  color: var(--ed-muted);
  margin-bottom: 1.75rem;
  line-height: 1.65;
}

.ed-hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 2rem;
}

.ed-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(20, 18, 15, 0.08);
  border-radius: 999px;
  font-size: 0.875rem;
  color: var(--ed-ink);
}

.ed-pill strong {
  color: var(--ed-accent);
  font-weight: 700;
}

.ed-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.ed-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 36px;
  background: var(--ed-ink);
  color: #faf8f5;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition:
    transform 0.35s var(--ed-ease),
    background 0.25s ease;
}

.ed-btn-primary:hover {
  background: var(--ed-accent);
  transform: scale(1.03);
}

.ed-btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 16px 24px;
  background: transparent;
  color: var(--ed-ink);
  border: 1px solid rgba(20, 18, 15, 0.15);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition:
    border-color 0.25s ease,
    background 0.25s ease;
}

.ed-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.5);
  border-color: var(--ed-accent);
  color: var(--ed-accent);
}

.ed-hero__visual {
  --ed-hero-visual-extend: clamp(80px, 12vw, 140px);
  grid-column: 2;
  position: relative;
  align-self: start;
  height: calc(100% + var(--ed-hero-visual-extend));
  min-height: 0;
  min-width: 0;
  clip-path: polygon(12% 0%, 100% 0%, 100% 100%, 0% 100%);
  overflow: hidden;
  background: #dfd5c8;
}

.ed-hero__photo {
  position: absolute;
  left: 50%;
  right: auto;
  top: 0;
  bottom: 0;
  height: 100%;
  width: auto;
  max-width: none;
  display: block;
  transform: translateX(-50%);
  /* 素材主体略偏画面右侧，略向左锚避免在楔形区内显得贴右缘 */
  object-position: 54% 48%;
}

/* —— Stats bar —— */
.ed-stats-wrap {
  margin-top: -56px;
  padding: 0 5%;
  position: relative;
  z-index: 10;
}

.ed-stats-bar {
  background: #fff;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 48px 40px;
  border-radius: var(--ed-radius);
  box-shadow: var(--ed-shadow);
  border: 1px solid rgba(20, 18, 15, 0.06);
}

.ed-stat {
  text-align: center;
}

.ed-stat__value {
  display: block;
  font-family: 'Fraunces', 'Playfair Display', serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--ed-ink);
  line-height: 1.1;
}

.ed-stat__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ed-muted);
  margin-top: 8px;
}

/* —— Flow —— */
.ed-flow {
  padding: clamp(100px, 14vw, 160px) 5% clamp(120px, 16vw, 200px);
  background: #fff;
  position: relative;
}

/* 首页 FAQ：沿用 flow 排版，无底部斜切装饰条 */
.ed-faq {
  padding: clamp(80px, 12vw, 120px) 5% clamp(96px, 14vw, 140px);
  background: #fff;
  position: relative;
}

.ed-faq::after {
  display: none;
}

/* 与 #nodes 同图同位，斜楔内透出底图而非纯黑 */
html.home-editorial .ed-flow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background-color: var(--ed-ink);
  background-image: linear-gradient(
      102deg,
      rgba(8, 7, 6, 0.94) 0%,
      rgba(14, 12, 10, 0.78) 38%,
      rgba(22, 20, 18, 0.45) 65%,
      rgba(28, 25, 22, 0.22) 100%
    ),
    image-set(url('../images/mac.webp') type('image/webp'), url('../images/mac.png') type('image/png'));
  background-size: cover, cover;
  background-position: 76% 38%, 76% 38%;
  background-repeat: no-repeat;
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
  pointer-events: none;
}

.ed-section-head {
  margin-bottom: clamp(48px, 8vw, 88px);
}

.ed-section-head h2 {
  font-family: 'Fraunces', 'Playfair Display', serif;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ed-ink);
  margin: 0 0 12px;
}

.ed-section-head p {
  color: var(--ed-muted);
  font-size: 1.05rem;
  max-width: 36rem;
}

.ed-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(48px, 8vw, 80px);
}

.ed-step {
  position: relative;
}

.ed-step__num {
  font-family: 'Fraunces', 'Playfair Display', serif;
  font-size: 4.5rem;
  font-weight: 700;
  color: #efe8dc;
  position: absolute;
  top: -36px;
  left: -12px;
  z-index: 0;
  line-height: 1;
}

.ed-step__body {
  position: relative;
  z-index: 1;
}

.ed-step__body h3 {
  font-size: 1.35rem;
  margin: 0 0 14px;
  color: var(--ed-ink);
}

.ed-step__body p {
  color: var(--ed-muted);
  line-height: 1.65;
  font-size: 0.98rem;
}

.ed-step__link {
  display: inline-flex;
  margin-top: 14px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ed-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.ed-step__link:hover {
  border-bottom-color: var(--ed-accent);
}

/* —— Infra (dark) —— */
.ed-infra {
  background: var(--ed-ink);
  color: #f5f2ec;
  padding: clamp(88px, 12vw, 120px) 5% clamp(100px, 14vw, 140px);
}

/* 首页「全球节点」：桌面实景 + 左侧压暗，保证文案可读 */
html.home-editorial #nodes.ed-infra {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--ed-ink);
  background-image: image-set(url('../images/mac.webp') type('image/webp'), url('../images/mac.png') type('image/png'));
  background-size: cover;
  background-position: 76% 38%;
  background-repeat: no-repeat;
}

html.home-editorial #nodes.ed-infra::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    102deg,
    rgba(8, 7, 6, 0.94) 0%,
    rgba(14, 12, 10, 0.78) 38%,
    rgba(22, 20, 18, 0.45) 65%,
    rgba(28, 25, 22, 0.22) 100%
  );
  pointer-events: none;
  z-index: 0;
}

html.home-editorial #nodes.ed-infra .ed-infra__grid {
  position: relative;
  z-index: 1;
}

.ed-infra__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 100px);
  align-items: center;
}

.ed-infra__title {
  font-family: 'Fraunces', 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 1.25rem;
}

.ed-infra__lead {
  color: #a39e96;
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 34rem;
}

.ed-node-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 360px;
}

.ed-node-chip {
  padding: 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d8d3ca;
}

.ed-infra__orb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: min(440px, 58vw);
  padding: 8px 0;
}

.ed-infra__orb-inner {
  position: relative;
  width: 100%;
  max-width: min(30rem, 100%);
  margin: 0 0 0 auto;
  padding: clamp(32px, 4.2vw, 48px) clamp(26px, 3.5vw, 40px) clamp(32px, 4.2vw, 48px) clamp(34px, 4.8vw, 52px);
  text-align: left;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.05) 42%,
    rgba(8, 7, 6, 0.35) 100%
  );
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.14) inset,
    0 20px 50px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.ed-infra__orb-inner::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--ed-clay) 0%, rgba(201, 168, 130, 0.25) 100%);
  opacity: 0.95;
  pointer-events: none;
}

.ed-infra__orb-eyebrow {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(232, 214, 188, 0.92);
}

.ed-infra__orb-m4 {
  margin: 0;
  font-family: 'Fraunces', 'Playfair Display', serif;
  font-size: clamp(3.25rem, 7vw, 4.75rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #fff;
}

.ed-infra__orb-sub {
  margin: 14px 0 0;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(245, 242, 236, 0.72);
}

.ed-infra__orb-desc {
  margin: 18px 0 0;
  font-size: 0.92rem;
  line-height: 1.68;
  color: rgba(232, 228, 220, 0.82);
  max-width: 36em;
}

.ed-infra__orb-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.ed-infra__orb-list li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 1.15rem;
  font-size: 0.86rem;
  line-height: 1.55;
  color: rgba(245, 242, 236, 0.76);
}

.ed-infra__orb-list li:last-child {
  margin-bottom: 0;
}

.ed-infra__orb-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ed-clay);
  opacity: 0.88;
}

.ed-infra__orb-footer {
  margin: 22px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(201, 168, 130, 0.95);
}

.ed-infra__note {
  margin-top: 2rem;
  font-size: 0.82rem;
  color: #7d7870;
  max-width: 40rem;
}

/* Curve：与 #nodes 同图 + fixed；遮罩与 #nodes::before 同角度同色，避免交界处「横线」 */
html.home-editorial .ed-transition-curve {
  position: relative;
  isolation: isolate;
  height: 100px;
  width: 100%;
  margin-top: -2px;
  background-color: var(--ed-ink);
  background-image: image-set(url('../images/mac.webp') type('image/webp'), url('../images/mac.png') type('image/png'));
  background-size: cover;
  background-position: 76% 38%;
  background-repeat: no-repeat;
  clip-path: ellipse(72% 100% at 50% 0%);
}

html.home-editorial .ed-transition-curve::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    102deg,
    rgba(8, 7, 6, 0.94) 0%,
    rgba(14, 12, 10, 0.78) 38%,
    rgba(22, 20, 18, 0.45) 65%,
    rgba(28, 25, 22, 0.22) 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* —— Pricing —— */
.ed-pricing {
  padding: clamp(72px, 10vw, 100px) 5% clamp(100px, 14vw, 160px);
  background: var(--ed-paper);
}

.ed-pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 28px;
  margin-top: 48px;
}

.ed-price-card {
  background: #fff;
  padding: 48px 40px;
  border-radius: 28px;
  border: 1px solid rgba(20, 18, 15, 0.06);
  transition:
    transform 0.5s var(--ed-ease),
    box-shadow 0.45s var(--ed-ease);
}

.ed-price-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--ed-shadow);
}

.ed-price-card--featured {
  background: linear-gradient(165deg, #1c1916 0%, #14120f 100%);
  color: #f0ebe3;
  border-color: transparent;
}

.ed-price-card h3 {
  font-family: 'Fraunces', 'Playfair Display', serif;
  font-size: 1.65rem;
  margin: 0 0 6px;
}

.ed-price-card__spec {
  font-size: 0.9rem;
  color: var(--ed-muted);
  margin-bottom: 1.5rem;
}

.ed-price-card--featured .ed-price-card__spec {
  color: #9a948b;
}

.ed-price-card__amount {
  font-size: clamp(2.25rem, 5vw, 2.85rem);
  font-weight: 700;
  margin-bottom: 1.75rem;
}

.ed-price-card__amount span.currency {
  font-size: 0.55em;
  vertical-align: super;
  opacity: 0.85;
}

.ed-price-card ul {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #4a463f;
}

.ed-price-card--featured ul {
  color: #c9c4bb;
}

.ed-price-card li {
  padding: 6px 0;
  padding-left: 1.1em;
  text-indent: -1.1em;
}

.ed-price-card li::before {
  content: '✓ ';
  color: var(--ed-accent);
  font-weight: 700;
}

.ed-price-card--featured li::before {
  color: var(--ed-clay);
}

.ed-price-card .ed-btn-primary {
  width: 100%;
}

.ed-price-card--featured .ed-btn-primary {
  background: #f5f0e8;
  color: var(--ed-ink);
}

.ed-price-card--featured .ed-btn-primary:hover {
  background: #fff;
  color: var(--ed-accent);
}

/* —— Value vs capex（租赁弹性） —— */
.ed-value {
  padding: clamp(72px, 10vw, 110px) 5%;
  background: linear-gradient(180deg, var(--ed-paper2) 0%, #ebe4da 45%, var(--ed-paper) 100%);
}

.ed-value__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(28px, 4.5vw, 52px);
  align-items: stretch;
}

.ed-value__eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ed-accent);
  margin: 0 0 14px;
}

.ed-value__copy h2 {
  font-family: 'Fraunces', 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 16px;
  color: var(--ed-ink);
}

.ed-value__lead {
  margin: 0 0 22px;
  color: var(--ed-muted);
  line-height: 1.72;
  font-size: 1.02rem;
  max-width: 38rem;
}

.ed-value__list {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  color: var(--ed-ink);
  font-size: 0.95rem;
  line-height: 1.65;
}

.ed-value__list li {
  position: relative;
  padding: 8px 0 8px 1.35em;
}

.ed-value__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: 800;
  color: var(--ed-accent);
}

.ed-value__cta {
  display: inline-flex;
}

.ed-value__aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ed-value__card {
  padding: 22px 24px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(20, 18, 15, 0.08);
  box-shadow: 0 12px 36px rgba(26, 18, 10, 0.06);
}

.ed-value__card--accent {
  background: linear-gradient(165deg, #1c1916 0%, #14120f 100%);
  color: #f0ebe3;
  border-color: transparent;
  box-shadow: 0 20px 50px rgba(26, 18, 10, 0.12);
}

.ed-value__card-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ed-muted);
  margin-bottom: 10px;
}

.ed-value__card-tag--accent {
  color: #c4bfb5;
}

.ed-value__card-title {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.35;
}

.ed-value__card-note,
.ed-value__card-foot {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--ed-muted);
}

.ed-value__card--accent .ed-value__card-foot {
  color: #9a948b;
  margin-top: 12px;
}

.ed-value__card-price {
  margin: 4px 0 0;
  font-family: 'Fraunces', 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ed-value__card-price .currency {
  font-size: 0.55em;
  vertical-align: super;
  opacity: 0.85;
}

.ed-value__card-cycle {
  font-size: 0.38em;
  font-weight: 600;
  color: #9a948b;
  font-family: 'Noto Sans SC', system-ui, sans-serif;
}

@media (max-width: 900px) {
  .ed-value__inner {
    grid-template-columns: 1fr;
  }
}

/* —— Testimonials —— */
.ed-quote-band {
  padding: clamp(100px, 14vw, 150px) 5%;
  background: var(--ed-paper2);
  position: relative;
  overflow: hidden;
}

.ed-quote-band::before {
  content: 'ECHO';
  position: absolute;
  font-family: 'Fraunces', 'Playfair Display', serif;
  font-size: min(18vw, 200px);
  font-weight: 700;
  color: rgba(20, 18, 15, 0.03);
  top: -0.05em;
  left: -2%;
  pointer-events: none;
}

.ed-quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  position: relative;
  z-index: 1;
}

.ed-quote-card {
  background: #fff;
  padding: 32px 28px;
  border-radius: 20px;
  border: 1px solid rgba(20, 18, 15, 0.06);
  box-shadow: 0 14px 40px rgba(26, 18, 10, 0.05);
}

.ed-quote-card__tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ed-accent);
  margin-bottom: 12px;
}

.ed-quote-card blockquote {
  margin: 0 0 22px;
  font-family: 'Fraunces', 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.58;
  color: var(--ed-ink);
}

.ed-quote-card blockquote p {
  margin: 0;
}

.ed-quote-card blockquote p + p {
  margin-top: 0.85em;
}

.ed-quote-card__footer {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ed-quote-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.ed-quote-card__name {
  font-weight: 700;
  font-size: 0.95rem;
}

.ed-quote-card__role {
  font-size: 0.8rem;
  color: var(--ed-muted);
}

.ed-quote-band__intro {
  text-align: center;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.ed-quote-band__intro h2 {
  font-family: 'Fraunces', 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.85rem);
  margin: 0 0 10px;
}

.ed-quote-band__intro p {
  color: var(--ed-muted);
  max-width: min(48rem, 92vw);
  margin: 0 auto;
  line-height: 1.65;
  font-size: 1rem;
}

/* —— Workflow (idx-* 钩子保留给 page-index.js) —— */
html.home-editorial .idx-workflow {
  padding: clamp(88px, 11vw, 120px) 5% clamp(96px, 12vw, 140px);
  background: linear-gradient(180deg, #fff 0%, var(--ed-paper) 100%);
}

html.home-editorial .idx-workflow__head {
  text-align: center;
  margin-bottom: 36px;
}

html.home-editorial .idx-workflow__head-badge {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--ed-accent-soft);
  color: var(--ed-accent);
  margin-bottom: 16px;
}

html.home-editorial .idx-workflow__title {
  font-family: 'Fraunces', 'Playfair Display', serif;
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 700;
  color: var(--ed-ink);
  margin: 0 0 12px;
}

html.home-editorial .idx-workflow__sub {
  color: var(--ed-muted);
  max-width: 40rem;
  margin: 0 auto;
  line-height: 1.65;
}

html.home-editorial .idx-workflow__rail-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 28px;
  padding-bottom: 6px;
}

html.home-editorial .idx-workflow__rail {
  display: inline-flex;
  gap: 10px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(20, 18, 15, 0.08);
  border-radius: 999px;
  min-width: min(100%, 920px);
  justify-content: center;
}

html.home-editorial .idx-workflow__tab {
  flex: 1 1 auto;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--ed-muted);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease;
  white-space: nowrap;
}

html.home-editorial .idx-workflow__tab.is-active {
  background: var(--ed-ink);
  color: #faf8f5;
}

html.home-editorial .idx-workflow__tab-ico {
  display: flex;
}

html.home-editorial .idx-workflow__tab-ico svg,
html.home-editorial .idx-workflow__head-badge svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

html.home-editorial .idx-workflow__panels {
  max-width: 880px;
  margin: 0 auto;
}

html.home-editorial .idx-workflow__panel {
  background: #fff;
  border: 1px solid rgba(20, 18, 15, 0.08);
  border-radius: 22px;
  padding: clamp(26px, 4vw, 36px);
  box-shadow: 0 20px 50px rgba(26, 18, 10, 0.06);
}

html.home-editorial .idx-workflow__panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--ed-ink);
  margin: 0 0 14px;
}

html.home-editorial .idx-ico--panel {
  width: 22px;
  height: 22px;
}

html.home-editorial .idx-workflow__panel-desc {
  margin: 0;
  color: var(--ed-muted);
  line-height: 1.72;
  font-size: 1rem;
}

html.home-editorial .idx-workflow__cta-wrap {
  text-align: center;
  margin-top: 32px;
}

html.home-editorial .idx-workflow__cta.ed-btn-primary {
  min-width: 220px;
}

@media (max-width: 992px) {
  .ed-hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
    grid-template-columns: unset;
    grid-template-rows: unset;
  }

  .ed-hero__copy {
    grid-column: unset;
    align-self: stretch;
  }

  .ed-hero__visual {
    grid-column: unset;
    align-self: stretch;
    width: 100%;
    height: auto;
    min-height: min(72vw, 420px);
    clip-path: none;
    padding: 0;
    --ed-hero-visual-extend: 0px;
  }

  .ed-hero__photo {
    inset: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    transform: none;
    object-fit: cover;
    object-position: center;
  }

  .ed-stats-bar {
    grid-template-columns: repeat(2, 1fr);
    padding: 36px 24px;
  }

  .ed-infra__grid {
    grid-template-columns: 1fr;
  }

  .ed-infra__orb {
    justify-content: center;
    min-height: 0;
    margin-top: clamp(20px, 5vw, 36px);
    padding: 0 0 8px;
  }

  .ed-infra__orb-inner {
    margin-left: 0;
    max-width: min(30rem, 100%);
  }

  html.home-editorial #nodes.ed-infra,
  html.home-editorial .ed-transition-curve,
  html.home-editorial .ed-flow::after {
    background-attachment: scroll;
  }

  html.home-editorial .idx-workflow__rail {
    justify-content: flex-start;
    border-radius: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.home-editorial main .fade-in {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .ed-price-card:hover {
    transform: none;
  }

  .ed-btn-primary:hover {
    transform: none;
  }
}

/* ============================================================
   首页顶栏 — 深色墨条 + 琥珀点缀；主导航大号中文、胶囊热区
   仅 html.home-editorial
   ============================================================ */

html.home-editorial #site-nav {
  padding: 0 clamp(16px, 4vw, 36px);
  background: var(--ed-nav-bar);
  border-bottom: 3px solid var(--ed-nav-amber);
  box-shadow: none;
}

html.home-editorial #site-nav::before {
  display: none;
}

html.home-editorial #site-nav.is-scrolled {
  background: var(--ed-nav-bar-scrolled);
  border-bottom-color: var(--ed-nav-amber);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

/* 与原站「首页顶栏透明叠在 hero 上」解绑：始终同色宽条 */
html.home-editorial:has(#page-home) #site-nav {
  background: var(--ed-nav-bar);
  border-bottom: 3px solid var(--ed-nav-amber);
  box-shadow: none;
}

html.home-editorial:has(#page-home) #site-nav.is-scrolled {
  background: var(--ed-nav-bar-scrolled);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

/* 拆掉霓虹胶囊外壳：铺满行高、直角 */
html.home-editorial #site-nav nav {
  max-width: min(1200px, 100%);
}

html.home-editorial #site-nav .nav-neon-shell {
  width: 100%;
}

html.home-editorial #site-nav .nav-neon-border {
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

html.home-editorial #site-nav.is-scrolled .nav-neon-border {
  box-shadow: none;
}

html.home-editorial #site-nav .nav-inner.nav-inner--neon {
  min-height: 72px;
  padding: 16px 0;
  margin: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  gap: clamp(16px, 2.5vw, 28px);
}

html.home-editorial #site-nav .logo.logo--neon {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

html.home-editorial #site-nav .logo-neon-ico {
  display: none;
}

html.home-editorial #site-nav .logo--neon {
  gap: 0;
}

html.home-editorial #site-nav .logo {
  color: var(--ed-nav-ink);
}

html.home-editorial #site-nav .logo-neon-text {
  color: var(--ed-nav-ink);
  font-weight: 700;
  letter-spacing: 0.08em;
}

html.home-editorial #site-nav .logo-neon-grad {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: var(--ed-nav-amber);
  -webkit-text-fill-color: currentColor;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  html.home-editorial #site-nav .logo-neon-grad {
    background: linear-gradient(105deg, #fcd34d 0%, var(--ed-nav-amber) 45%, var(--ed-nav-amber-dim) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}

html.home-editorial #site-nav svg.lucide,
html.home-editorial #site-nav .lucide {
  stroke: currentColor;
}

/* 主导航：大号可读中文 + 胶囊热区 + 琥珀下划线 */
html.home-editorial #site-nav .nav-links {
  gap: clamp(6px, 1.2vw, 12px);
  justify-content: center;
}

html.home-editorial #site-nav .nav-links a {
  position: relative;
  color: rgba(243, 240, 232, 0.72);
  font-family: 'Noto Sans SC', ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: clamp(15px, 1.12vw, 17px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  padding: 12px clamp(14px, 1.5vw, 20px);
  border-radius: 999px;
  line-height: 1.35;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

html.home-editorial #site-nav .nav-links a::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  bottom: 6px;
  width: calc(100% - 28px);
  max-width: 88%;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--ed-nav-amber), #fbbf24);
  transform-origin: center;
  transition: transform 0.35s var(--ed-ease);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.45);
}

html.home-editorial #site-nav .nav-links a:hover,
html.home-editorial #site-nav .nav-links a:focus-visible {
  color: #fff;
  background: rgba(245, 158, 11, 0.12);
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.2);
}

html.home-editorial #site-nav .nav-links a:hover::after,
html.home-editorial #site-nav .nav-links a:focus-visible::after {
  transform: translateX(-50%) scaleX(1);
}

html.home-editorial #site-nav .nav-links a.active {
  color: #fff;
  background: rgba(245, 158, 11, 0.14);
  font-weight: 800;
  text-shadow: 0 0 28px rgba(245, 158, 11, 0.35);
}

html.home-editorial #site-nav .nav-links a.active::after {
  transform: translateX(-50%) scaleX(1);
}

html.home-editorial #site-nav .lang-trigger--neon {
  border-radius: 999px;
  border: 1px solid rgba(245, 158, 11, 0.4);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(243, 240, 232, 0.88);
  font-family: 'Noto Sans SC', system-ui, sans-serif;
  font-size: clamp(13px, 1vw, 14px);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: none;
  padding: 11px 16px;
  min-height: 44px;
  align-items: center;
}

html.home-editorial #site-nav .lang-trigger--neon .lang-current-label {
  font-size: inherit;
  font-weight: inherit;
}

html.home-editorial #site-nav .lang-trigger--neon:hover {
  color: var(--ed-nav-ink);
  border-color: var(--ed-nav-amber);
  background: rgba(245, 158, 11, 0.1);
}

html.home-editorial #site-nav .lang-menu {
  border-radius: 2px;
  border: 1px solid rgba(245, 158, 11, 0.25);
  background: #151311;
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html.home-editorial #site-nav .lang-menu a {
  color: var(--ed-nav-muted);
  border-radius: 2px;
}

html.home-editorial #site-nav .lang-menu a:hover,
html.home-editorial #site-nav .lang-menu a:focus-visible {
  background: rgba(245, 158, 11, 0.12);
  color: var(--ed-nav-ink);
}

html.home-editorial #site-nav .lang-menu a[aria-current='true'] {
  color: var(--ed-nav-amber);
  background: rgba(245, 158, 11, 0.08);
}

/* 登录：直角填充块 + 无外发光 */
html.home-editorial #site-nav .btn-nav-login--neon {
  border-radius: 999px;
  padding: 12px clamp(18px, 2vw, 26px);
  font-family: 'Noto Sans SC', system-ui, sans-serif;
  font-size: clamp(14px, 1.05vw, 15px);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--ed-nav-bar);
  background: linear-gradient(165deg, #fbbf24 0%, var(--ed-nav-amber) 55%, var(--ed-nav-amber-dim) 100%);
  box-shadow:
    0 4px 18px rgba(245, 158, 11, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  border: none;
  min-height: 46px;
}

html.home-editorial #site-nav .btn-nav-login--neon:hover {
  filter: brightness(1.06);
  color: var(--ed-nav-bar);
  transform: translateY(-1px);
  box-shadow:
    0 8px 26px rgba(245, 158, 11, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

html.home-editorial #site-nav .btn-nav-login--neon:focus-visible {
  outline: 2px solid var(--ed-nav-ink);
  outline-offset: 3px;
  box-shadow: none;
}

html.home-editorial #site-nav .nav-avatar-circle {
  border-radius: 2px;
  background: var(--ed-nav-amber);
  color: var(--ed-nav-bar);
  font-weight: 900;
}

html.home-editorial #site-nav .nav-user-account-home:focus-visible {
  outline: 2px solid var(--ed-nav-amber);
  outline-offset: 3px;
}

html.home-editorial #site-nav .nav-user-dropdown {
  border-radius: 2px;
  border: 1px solid rgba(245, 158, 11, 0.25);
  background: #151311;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
}

html.home-editorial #site-nav a.nav-user-menu-item,
html.home-editorial #site-nav button.nav-user-menu-item {
  color: var(--ed-nav-muted);
  border-radius: 2px;
}

html.home-editorial #site-nav .nav-user-menu-item:hover {
  background: rgba(245, 158, 11, 0.12);
  color: var(--ed-nav-ink);
}

html.home-editorial #site-nav .nav-user-menu-quit {
  color: #fb923c;
}

html.home-editorial #site-nav .nav-user-menu-sep {
  background: rgba(255, 255, 255, 0.06);
}

html.home-editorial #site-nav .hamburger {
  border-radius: 2px;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

html.home-editorial #site-nav .hamburger span {
  background: var(--ed-nav-ink);
}

html.home-editorial #site-nav .hamburger.is-active span:nth-child(1),
html.home-editorial #site-nav .hamburger.is-active span:nth-child(3) {
  background: var(--ed-nav-amber);
}

html.home-editorial .nav-mobile-backdrop {
  background: rgba(10, 9, 8, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

@media (max-width: 900px) {
  html.home-editorial #site-nav .nav-links {
    background: linear-gradient(180deg, #121110 0%, #0e0d0c 100%);
    border-left: 3px solid var(--ed-nav-amber);
    box-shadow: -28px 0 60px rgba(0, 0, 0, 0.55);
    gap: 10px;
  }

  html.home-editorial #site-nav .nav-links a {
    color: rgba(243, 240, 232, 0.78);
    font-size: clamp(16px, 4.2vw, 18px);
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    letter-spacing: 0.03em;
  }

  html.home-editorial #site-nav .nav-links a:hover,
  html.home-editorial #site-nav .nav-links a:focus-visible {
    border-color: rgba(245, 158, 11, 0.45);
    background: rgba(245, 158, 11, 0.1);
    color: #fff;
  }

  html.home-editorial #site-nav .nav-links a.active {
    border-color: rgba(245, 158, 11, 0.55);
    color: #fff;
    background: rgba(245, 158, 11, 0.14);
    text-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
  }

  html.home-editorial #site-nav .nav-links a::after {
    display: none;
  }

}

/* ============================================================
   首页页脚 — 纸本暖色主区 + 左侧琥珀书签条 + 全宽墨底版权区
   与 Midnight Aurora（canvas / 霓虹顶带 / 深紫渐变）完全不同
