/* =========================================================================
   flex std. · 站点样式层（合并版）
   = 原 home.css（首页结构） + apple-home.css（Apple 风格覆盖）
   已移除全部 ，改用 html 前缀提升特异性。
   依赖 tokens.css。
   ========================================================================= */

/* =========================================================================
   flex std. — 首页 v2
   对标 Apple.com 的信息密度：少模块、少文字、大留白、强对比。
   与 style.css 共存：本文件只负责首页主体，不影响 wallpapers / configurator。
   ========================================================================= */

:root {
  --hx-bg: #fbfbfd;
  --hx-ink: #1d1d1f;
  --hx-muted: #6e6e73;
  --hx-soft: #f5f5f7;
  --hx-line: rgba(0, 0, 0, 0.08);
  --hx-line-strong: rgba(0, 0, 0, 0.16);
  --hx-accent: #7fffd4;
  --hx-accent-ink: #0e8f72;
  --hx-dark: #0a0b0c;
  --hx-radius: 22px;
  --hx-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --hx-mono: "SFMono-Regular", Menlo, Consolas, monospace;
  --hx-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------------------------------------------------------------- 版心 */
.hx-wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 44px);
}

.hx-wrap--narrow { max-width: 880px; }

/* 首页整体背景与字体，覆盖 style.css 的默认值 */
body {
  background: var(--hx-bg);
  font-family: var(--hx-sans);
  -webkit-font-smoothing: antialiased;
}

/* ---------------------------------------------------------------- 首屏 */
.hx-hero {
  position: relative;
  padding-block: clamp(56px, 9vw, 116px) clamp(52px, 7vw, 92px);
  text-align: center;
  background:
    radial-gradient(64% 54% at 50% 4%, rgba(127, 255, 212, 0.4), rgba(127, 255, 212, 0.07) 56%, transparent 74%);
}

.hx-hero > .hx-wrap { position: relative; z-index: 1; }

.hx-kicker {
  margin: 0;
  color: var(--hx-muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.hx-title {
  margin: 14px 0 0;
  color: var(--hx-ink);
  font-size: clamp(56px, 12.4vw, 172px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.94;
}

.hx-title .hx-dot { color: var(--hx-accent); }

.hx-tagline {
  margin: clamp(16px, 2vw, 26px) 0 0;
  color: var(--hx-ink);
  font-size: clamp(22px, 3.2vw, 42px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.hx-lede {
  margin: 14px auto 0;
  max-width: 600px;
  color: var(--hx-muted);
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.55;
}

.hx-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 28px;
  margin-top: clamp(26px, 3.4vw, 40px);
}

.hx-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding-inline: 24px;
  border-radius: 999px;
  background: var(--hx-accent);
  color: #05231b;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.25s var(--hx-ease), filter 0.25s ease;
}

.hx-btn:hover { filter: brightness(0.96); transform: translateY(-1px); }

.hx-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--hx-accent-ink);
  font-size: 16px;
  font-weight: 500;
}

.hx-link span { transition: transform 0.25s var(--hx-ease); }
.hx-link:hover span { transform: translateX(3px); }
.hx-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------------------------------------------------------------- 区块外壳 */
.hx-sect { padding-block: clamp(64px, 8vw, 112px); }
.hx-sect--soft { background: var(--hx-soft); }
.hx-sect--tight { padding-block: clamp(52px, 6vw, 84px); }

.hx-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.hx-head--center { margin-inline: auto; text-align: center; }

.hx-eyebrow {
  margin: 0;
  color: var(--hx-muted);
  font-family: var(--hx-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hx-h2 {
  margin: 12px 0 0;
  color: var(--hx-ink);
  font-size: clamp(30px, 4.4vw, 58px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hx-sub {
  margin: 14px 0 0;
  color: var(--hx-muted);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.6;
}

/* ---------------------------------------------------------------- 卡片网格 */
.hx-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hx-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.hx-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 152px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--hx-line);
  border-radius: var(--hx-radius);
  background: var(--hx-soft);
  text-align: left;
  transition: transform 0.35s var(--hx-ease), border-color 0.3s ease,
    box-shadow 0.45s var(--hx-ease), background 0.3s ease;
}

.hx-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 90% at 100% 0%, rgba(127, 255, 212, 0.38), transparent 62%);
  opacity: 0.45;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.hx-sect--soft .hx-tile { background: #ffffff; }

.hx-tile:hover {
  border-color: var(--hx-line-strong);
  transform: translateY(-3px);
  box-shadow: 0 22px 46px -28px rgba(0, 0, 0, 0.45);
}

.hx-tile:hover::after { opacity: 1; }

.hx-tile-idx {
  position: relative;
  z-index: 1;
  color: var(--hx-muted);
  font-family: var(--hx-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.hx-tile-body { position: relative; z-index: 1; margin-top: 18px; }

.hx-tile-name {
  color: var(--hx-ink);
  font-size: clamp(18px, 1.6vw, 21px);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.hx-tile-desc {
  margin-top: 6px;
  color: var(--hx-muted);
  font-size: 14px;
  line-height: 1.5;
}

.hx-tile--feature {
  grid-column: span 2;
  min-height: 180px;
}

.hx-tile--feature .hx-tile-name { font-size: clamp(22px, 2.4vw, 30px); }

/* ---------------------------------------------------------------- 深色区块 */
.hx-sect--dark {
  padding-block: clamp(56px, 7vw, 96px);
  background: var(--hx-bg);
}

.hx-cloud {
  overflow: hidden;
  border-radius: 32px;
  background:
    radial-gradient(90% 120% at 88% -20%, rgba(127, 255, 212, 0.16), transparent 58%),
    var(--hx-dark);
  color: #f5f5f7;
  padding: clamp(34px, 5vw, 72px);
}

.hx-cloud .hx-eyebrow { color: rgba(245, 245, 247, 0.5); }

.hx-cloud h2 {
  margin: 14px 0 0;
  max-width: 820px;
  font-size: clamp(28px, 4vw, 54px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hx-cloud p {
  margin: 16px 0 0;
  max-width: 620px;
  color: rgba(245, 245, 247, 0.66);
  font-size: 16px;
  line-height: 1.6;
}

.hx-cloud-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  margin-top: 28px;
}

.hx-cloud .hx-link { color: var(--hx-accent); }

.hx-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(32px, 4vw, 52px);
  padding-top: clamp(24px, 3vw, 34px);
  border-top: 1px solid rgba(245, 245, 247, 0.14);
}

.hx-stat-num {
  display: block;
  color: #ffffff;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hx-stat-num em {
  color: var(--hx-accent);
  font-style: normal;
  font-size: 0.6em;
}

.hx-stat-label {
  display: block;
  margin-top: 6px;
  color: rgba(245, 245, 247, 0.48);
  font-family: var(--hx-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------- 合作方 */
.hx-partners .partner-grid { gap: 14px; }

.hx-partners .partner-card {
  border-radius: var(--hx-radius);
  min-height: 152px;
}

.hx-partners-note {
  margin: 18px 0 0;
  color: var(--hx-muted);
  font-size: 12px;
}

/* ---------------------------------------------------------------- 联系 */
.hx-contact {
  padding-block: clamp(72px, 9vw, 128px);
  text-align: center;
}

.hx-contact h2 {
  margin: 14px auto 0;
  max-width: 900px;
  color: var(--hx-ink);
  font-size: clamp(32px, 5vw, 68px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.hx-contact .hx-lede { margin-top: 16px; }

.hx-mail {
  display: inline-block;
  margin-top: clamp(24px, 3vw, 36px);
  color: var(--hx-accent-ink);
  font-size: clamp(19px, 2.4vw, 30px);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.hx-mail:hover { text-decoration: underline; text-underline-offset: 6px; }

.hx-contact-meta {
  margin-top: 26px;
  color: var(--hx-muted);
  font-size: 13px;
}

/* ---------------------------------------------------------------- 页脚 */
.hx-foot {
  padding-block: 40px 56px;
  border-top: 1px solid var(--hx-line);
  color: var(--hx-muted);
  font-size: 13px;
}

.hx-foot-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
}

.hx-foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.hx-foot a { color: var(--hx-muted); }
.hx-foot a:hover { color: var(--hx-ink); }

.hx-foot-mono { font-family: var(--hx-mono); font-size: 11.5px; letter-spacing: 0.06em; }

/* ---------------------------------------------------------------- 响应式 */
@media (max-width: 1020px) {
  .hx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hx-tile--feature { grid-column: span 2; }
  .hx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
}

@media (max-width: 680px) {
  .hx-grid,
  .hx-grid--2 { grid-template-columns: minmax(0, 1fr); }
  .hx-tile--feature { grid-column: span 1; }
  .hx-tile { min-height: 148px; padding: 22px; }
  .hx-actions { gap: 12px; }
  .hx-cloud { border-radius: 24px; }
  .hx-foot-inner { justify-content: flex-start; }
}

/* ---------------------------------------------------------------- 动效 */
@media (prefers-reduced-motion: reduce) {
  .hx-tile,
  .hx-btn,
  .hx-link span { transition: none; }
  .hx-tile:hover { transform: none; }
}

/* =========================================================================
   自定义模组：产品图标 / flex cloud 控制台
   ========================================================================= */

/* ---------------------------------------------------------------- 产品图标 */
.hx-tile--product { min-height: 214px; padding-top: 22px; }

.hx-tile-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 1;
  color: var(--hx-muted);
  font-family: var(--hx-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.hx-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: linear-gradient(155deg, #e9fff9 0%, #cdf3e6 100%);
  color: var(--hx-accent-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.35s var(--hx-ease);
}

.hx-icon svg { width: 27px; height: 27px; }

.hx-tile:hover .hx-icon { transform: scale(1.06); }

/* ------------------------------------------------------- flex cloud 两栏 */
.hx-cloud-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}

.hx-cloud-copy h2 { margin: 14px 0 0; }
.hx-cloud-copy p { margin: 16px 0 0; }

/* ---------------------------------------------------------------- 控制台 */
.hx-console {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(245, 245, 247, 0.14);
  border-radius: 20px;
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(127, 255, 212, 0.1), transparent 62%),
    rgba(255, 255, 255, 0.035);
  padding: 20px 22px 18px;
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.8);
}

.hx-console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(245, 245, 247, 0.1);
  font-family: var(--hx-mono);
  font-size: 10.5px;
  letter-spacing: 0.09em;
  color: rgba(245, 245, 247, 0.45);
}

.hx-console-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--hx-accent);
}

.hx-console-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hx-accent);
  box-shadow: 0 0 0 3px rgba(127, 255, 212, 0.16);
  animation: hx-pulse 2.4s ease-in-out infinite;
}

@keyframes hx-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hx-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(245, 245, 247, 0.07);
  font-size: 13.5px;
}

.hx-row-key {
  color: rgba(245, 245, 247, 0.45);
  font-family: var(--hx-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.hx-row-val {
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.hx-row-val em {
  margin-left: 4px;
  color: rgba(245, 245, 247, 0.4);
  font-style: normal;
  font-family: var(--hx-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
}

.hx-console-meter {
  height: 3px;
  margin: 18px 0 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(245, 245, 247, 0.1);
}

.hx-console-meter span {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(127, 255, 212, 0.35), var(--hx-accent));
}

.hx-console-regions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

.hx-region {
  padding: 5px 11px;
  border: 1px solid rgba(245, 245, 247, 0.14);
  border-radius: 999px;
  color: rgba(245, 245, 247, 0.6);
  font-size: 11.5px;
  letter-spacing: 0.02em;
}

.hx-region.is-on {
  border-color: rgba(127, 255, 212, 0.42);
  background: rgba(127, 255, 212, 0.12);
  color: var(--hx-accent);
}

@media (max-width: 1020px) {
  .hx-cloud-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 680px) {
  .hx-tile--product { min-height: 190px; }
  .hx-icon { width: 48px; height: 48px; border-radius: 13px; }
  .hx-icon svg { width: 24px; height: 24px; }
  .hx-console { padding: 16px 16px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .hx-console-status i { animation: none; }
  .hx-tile:hover .hx-icon { transform: none; }
}

/* ------------------------------------------------------- 产品实图标（柔域暗房） */
.hx-icon--app {
  background: none;
  box-shadow: none;
  overflow: hidden;
}

.hx-icon--app img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: contain;
}

/* 产品卡片里的下载入口 */
.hx-tile-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  color: var(--accent-ink, #0e8f72);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: gap 0.2s ease, opacity 0.2s ease;
}

.hx-tile-link:hover {
  gap: 7px;
  opacity: 0.85;
}


/* ---------- Apple 风格层（原 apple-home.css，已去 ） ---------- */

/* =========================================================================
   主页 · Apple.com 风格排版层（只改视觉，不动结构、不删元素）
   主题色：mint #7fffd4（对标 Apple 蓝 #0071e3）
   ========================================================================= */
:root {
  --a-ink: #1d1d1f;
  --a-ink-2: #6e6e73;
  --a-line: #d2d2d7;
  --a-bg: #ffffff;
  --a-bg-soft: #f5f5f7;
  --a-mint: #7fffd4;
  --a-mint-ink: #063a30;
  --a-max: 1120px;
}

html body {
  background: var(--a-bg);
  color: var(--a-ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -.01em;
}

/* ---------- 导航：半透明毛玻璃 ---------- */
html .site-header {
  background: rgba(255, 255, 255, .72) ;
  backdrop-filter: saturate(1.8) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .08) ;
  height: 48px;
}
.header-inner { max-width: var(--a-max); margin: 0 auto; }
.brand { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.nav-link { font-size: 12px; color: var(--a-ink-2); letter-spacing: 0; }
.nav-link:hover { color: var(--a-ink); }

/* ---------- 通用容器与节奏 ---------- */
.hx-wrap { max-width: var(--a-max); margin: 0 auto; padding: 0 22px; }
.hx-sect { padding: clamp(72px, 9vw, 132px) 0; }
.hx-sect--soft { background: var(--a-bg-soft); }
.hx-sect--dark { background: #000; color: #f5f5f7; }

/* ---------- 文字层级 ---------- */
html .hx-eyebrow {
  font-size: 12px;
  letter-spacing: 0;
  color: var(--a-ink-2);
  text-transform: none;
  font-family: inherit;
}
.hx-sect--dark .hx-eyebrow { color: #86868b; }
html .hx-title {
  font-size: clamp(48px, 7.6vw, 96px);
  line-height: 1.02;
  letter-spacing: -.04em;
  font-weight: 700;
}
html .hx-tagline {
  font-size: clamp(19px, 2.2vw, 26px);
  line-height: 1.35;
  letter-spacing: -.015em;
  color: var(--a-ink-2);
}
html .hx-h2 {
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 700;
}
html .hx-sub, html .hx-lede {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.5;
  color: var(--a-ink-2);
  max-width: 680px;
}

/* ---------- 按钮：胶囊，薄荷主题色 ---------- */
html .hx-btn, html .button, html .button--aqua, html .button--small {
  border-radius: 999px ;
  font-size: 15px ;
  font-weight: 500;
  padding: 12px 24px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
html .hx-btn, html .button--aqua {
  background: var(--a-mint) ;
  border-color: var(--a-mint) ;
  color: var(--a-mint-ink) ;
  font-weight: 600;
}
.hx-btn:hover, .button--aqua:hover { background: #9bffdf ; transform: translateY(-1px); }
html .hx-link {
  color: #067a5f ;
  font-size: 15px;
  text-decoration: none;
}
.hx-link:hover { text-decoration: underline; }

/* ---------- 数据 ---------- */
.hx-stats { gap: 0; border-top: 1px solid var(--a-line); }
.hx-stats > * { padding: 26px 0 6px; border-top: 0 ; }
.hx-stat-num { font-size: clamp(32px, 3.6vw, 46px); letter-spacing: -.03em; font-weight: 700; }
.hx-stat-label { font-size: 13px; color: var(--a-ink-2); }

/* ---------- 产品磁贴 ---------- */
html .hx-tile {
  border-radius: 24px ;
  border: 0 ;
  background: var(--a-bg-soft) ;
  box-shadow: none ;
  transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease;
}
.hx-tile:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(0,0,0,.10) ; }
.hx-tile-name { font-size: 22px; letter-spacing: -.02em; font-weight: 650; }
.hx-tile-desc { font-size: 14px; color: var(--a-ink-2); }
.hx-tile-badge { border-radius: 999px; font-size: 11px; }
.hx-tile-link { color: #067a5f; font-size: 14px; }

/* ---------- flex cloud 深色区 ---------- */
.hx-sect--dark .hx-h2 { color: #f5f5f7; }
.hx-sect--dark .hx-sub { color: #a1a1a6; }
html .hx-console {
  background: #16171a ;
  border-radius: 20px ;
  border: 1px solid rgba(255,255,255,.10) ;
}
.hx-console-title { letter-spacing: .02em; font-size: 11px; color: #86868b; }
.hx-row-key { color: #86868b; font-size: 12.5px; }
.hx-row-val { color: #f5f5f7; font-size: 13px; }

/* ---------- 合作方 ---------- */
.hx-partners { border-top: 1px solid var(--a-line); }
.hx-partners-note { color: var(--a-ink-2); font-size: 12px; }

/* ---------- 联系 ---------- */
.hx-mail { font-size: clamp(20px, 2.6vw, 32px); letter-spacing: -.02em; color: var(--a-ink); text-decoration: none; }
.hx-mail:hover { color: #067a5f; }
.hx-contact-meta { color: var(--a-ink-2); font-size: 13px; }

/* ---------- 页脚 ---------- */
html .hx-foot {
  background: var(--a-bg-soft) ;
  border-top: 1px solid var(--a-line);
  padding: 28px 0 40px;
}
.hx-foot-links { gap: 16px; }
.hx-foot-links a { color: var(--a-ink-2); font-size: 12px; text-decoration: none; }
.hx-foot-links a:hover { color: var(--a-ink); }
.hx-foot-mono { color: var(--a-ink-2); font-size: 11px; letter-spacing: .01em; }

/* ---------- 登录弹层 ---------- */
.acct-field input, .acct-field select { border-radius: 12px; }
.acct-submit { border-radius: 999px; min-height: 44px; }

/* ---------- 首屏留白 ---------- */
.hx-hero { padding-top: clamp(64px, 8vw, 120px); padding-bottom: clamp(48px, 6vw, 88px); }

/* ---------- 移动端 ---------- */
@media (max-width: 760px) {
  .hx-sect { padding: 56px 0; }
  .hx-title { font-size: clamp(38px, 11vw, 56px); }
  .hx-h2 { font-size: clamp(28px, 8vw, 40px); }
}


/* ---------- 导航右上控件：等比对齐、不挤压 ---------- */
.site-header { height: auto; min-height: 48px; }
html .header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 48px;
}
.primary-nav { flex: 1; display: flex; justify-content: center; gap: 26px; }
html .header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

/* 语言切换器：不换行、不竖排 */
.language { flex: 0 0 auto; }
html .language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12.5px;
  line-height: 1;
  white-space: nowrap;
  writing-mode: horizontal-tb;
  border: 1px solid var(--a-line);
  background: transparent;
  color: var(--a-ink-2);
}
.language-toggle span { white-space: nowrap; }
.language-toggle svg { width: 14px; height: 14px; flex: 0 0 auto; }
.language-caret { flex: 0 0 auto; }

/* 登录按钮 */
html .account-btn {
  min-height: 32px;
  height: 32px;
  padding: 0 14px;
  font-size: 12.5px;
  line-height: 1;
  white-space: nowrap;
  border-radius: 999px;
}

/* 主 CTA */
html .site-header .button--small {
  min-height: 32px;
  height: 32px;
  padding: 0 16px;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

/* ---------- 首屏与各区细化 ---------- */
.hx-hero { text-align: center; }
.hx-hero .hx-actions { justify-content: center; gap: 18px; }
.hx-tagline { color: var(--a-ink-2); }
.hx-head { display: flex; flex-direction: column; gap: 12px; }

/* 产品磁贴：对齐与内边距 */
.hx-grid { gap: 18px; }
.hx-tile { padding: 28px; display: flex; flex-direction: column; min-height: 100%; }
.hx-tile-body { flex: 1; }
.hx-tile-link { margin-top: 14px; display: inline-flex; align-items: center; gap: 4px; }

/* 数据区 */
.hx-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid var(--a-line); margin-top: 48px; }
.hx-stat-num { color: var(--a-ink); }
.hx-sect--dark .hx-stats { border-top-color: rgba(255,255,255,.16); }
.hx-sect--dark .hx-stat-num { color: #f5f5f7; }
.hx-sect--dark .hx-stat-label { color: #86868b; }

/* flex cloud 区：控制台卡片 */
.hx-cloud-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.hx-cloud-actions { display: flex; align-items: center; gap: 20px; margin-top: 28px; flex-wrap: wrap; }
.hx-console { padding: 22px; }
.hx-console-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.10); margin-bottom: 14px; }
.hx-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.hx-row:last-child { border-bottom: 0; }
.hx-console-status { font-size: 11px; color: #7fffd4; }

/* 合作 / 联系 */
.hx-partners-note { margin-top: 26px; }
.hx-contact { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.hx-mail { display: inline-block; }

/* 页脚 */
.hx-foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }

/* 移动端：导航简化 */
@media (max-width: 900px) {
  .primary-nav { display: none; }
  .header-inner { gap: 12px; }
  .hx-stats { grid-template-columns: repeat(2, 1fr); }
  .hx-cloud-grid { grid-template-columns: 1fr; }
}

/* ---------- 主页 · 柔域暗房宣传区（插在 flex cloud 之前） ---------- */
html .hx-sect--darkroom {
  background: #0b0b0d;
  color: #f5f5f7;
  padding-top: clamp(64px, 8vw, 110px);
  padding-bottom: clamp(64px, 8vw, 110px);
}

.hx-sect--darkroom .hx-eyebrow { color: #86868b; }
.hx-sect--darkroom .hx-h2 { color: #f5f5f7; }
.hx-sect--darkroom .hx-sub { color: #a1a1a6; max-width: 560px; }

html .hx-dk {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

html .hx-dk-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hx-sect--darkroom .hx-link { color: #7fffd4; }

/* 笔电模型 */
.hx-dk-visual { min-width: 0; }

html .hx-dk-laptop {
  max-width: 560px;
  margin-left: auto;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .55));
}

html .hx-dk-screen {
  position: relative;
  padding: 5px 5px 0;
  border-radius: 16px 16px 3px 3px;
  background: linear-gradient(180deg, #151818 0%, #0b0d0d 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.10);
}

html .hx-dk-screen img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px 12px 0 0;
}

html .hx-dk-island {
  position: absolute;
  top: 1.4%;
  left: 50%;
  width: 4.5%;
  height: 1.9%;
  max-height: 7px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #04060a;
}

html .hx-dk-base {
  height: 14px;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(180deg, #eef2f0 0%, #cfd6d3 34%, #a9b2af 72%, #8b9492 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
}

/* 三条产品线小表 */
html .hx-dk-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: clamp(34px, 4vw, 56px) 0 0;
  padding: 0;
  list-style: none;
}

html .hx-dk-tiers li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

html .hx-dk-tiers span {
  font-size: 11.5px;
  color: #7fffd4;
}

html .hx-dk-tiers strong {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -.01em;
}

html .hx-dk-tiers em {
  font-style: normal;
  font-size: 12.5px;
  color: #86868b;
}

@media (max-width: 900px) {
  .hx-dk { grid-template-columns: 1fr; }
  .hx-dk-laptop { margin: 0 auto; }
  .hx-dk-tiers { grid-template-columns: 1fr; gap: 12px; }
}

/* ---------- 暗房宣传区 · 笔电（与暗房页同款结构） ---------- */
html .hx-dk-laptop {
  max-width: 560px;
  margin-left: auto;
  will-change: transform;
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, .55));
}

html .hx-dk-lid {
  padding: 7px 7px 0;
  border-radius: 20px 20px 4px 4px;
  background: linear-gradient(180deg, #151818 0%, #0b0d0d 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .10);
}

html .hx-dk-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 13px 13px 2px 2px;
  background: radial-gradient(120% 90% at 18% 8%, #d6ebff 0%, #a8c4e7 40%, #5d7bab 100%);
  padding: 0;
  box-shadow: none;
}

/* 窗口 */
html .hx-dk-win {
  position: absolute;
  left: 3.2%;
  right: 3.2%;
  top: 9.5%;
  bottom: 15%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 16px 32px rgba(4, 10, 20, .34), 0 0 0 1px rgba(255,255,255,.28);
}

html .hx-dk-bar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 14px;
  padding: 0 7px;
  background: linear-gradient(180deg, #f7f8f8 0%, #eef0f1 100%);
  border-bottom: 1px solid rgba(0,0,0,.10);
}

html .hx-dk-bar i {
  width: 4.5px;
  height: 4.5px;
  border-radius: 50%;
  background: #ff5f57;
}
.hx-dk-bar i:nth-child(2) { background: #febc2e; }
.hx-dk-bar i:nth-child(3) { background: #28c840; }

html .hx-dk-win img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top center;
}

/* 灵动岛 */
html .hx-dk-island {
  position: absolute;
  top: 1.6%;
  left: 50%;
  width: 3.6%;
  height: 1.9%;
  max-height: 7px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #04060a;
  z-index: 3;
}

/* Dock */
html .hx-dk-dock {
  position: absolute;
  left: 50%;
  bottom: 3.2%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .30);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
  backdrop-filter: blur(6px) saturate(1.4);
  z-index: 2;
}

html .hx-dk-dock i {
  width: 11px;
  height: 9px;
  border-radius: 2.5px;
  background: #7fffd4;
}
.hx-dk-dock i:nth-child(2) { background: #5aa9ff; }
.hx-dk-dock i:nth-child(3) { background: #ff9f6b; }
.hx-dk-dock i:nth-child(4) { background: #c58bff; }
.hx-dk-dock i:nth-child(5) { background: #ffd166; }
.hx-dk-dock i:nth-child(6) { background: #8ee6a0; }
.hx-dk-dock i:nth-child(7) { background: #e6eef3; }

/* 下巴 + 底座 */
html .hx-dk-chin {
  margin: 0;
  padding: 1.1% 0 1.3%;
  text-align: center;
  font-size: 8px;
  letter-spacing: .05em;
  color: rgba(255, 255, 255, .34);
  user-select: none;
}

html .hx-dk-base {
  height: 16px;
  border-radius: 0 0 13px 13px;
  background: linear-gradient(180deg, #eef2f0 0%, #cfd6d3 34%, #a9b2af 72%, #8b9492 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
}

/* 描述替换三档列表 */
html .hx-dk-note {
  max-width: 640px;
  margin: clamp(30px, 4vw, 48px) 0 0;
  font-size: clamp(14.5px, 1.5vw, 16px);
  line-height: 1.65;
  color: #a1a1a6;
}

@media (max-width: 900px) {
  .hx-dk-laptop { margin: 0 auto; max-width: 100%; }
}
