
/* ============================================================
   智流（FluxLane）· 生产版首页 1:1 复刻（架构：new-api 替代 sub2api）
   设计令牌：paper #0a0b13 / ink #f5f5fa / violet #685dff
             cyan #35d7d1 / blue #4b8fff
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

.loom-page {
  --loom-paper: #0a0b13;
  --loom-ink: #f5f5fa;
  --loom-muted: #999daf;
  --loom-soft: #161824;
  --loom-line: rgba(197, 204, 233, 0.16);
  --loom-violet: #685dff;
  --loom-cyan: #35d7d1;
  --loom-blue: #4b8fff;
  min-height: 100vh;
  overflow: clip;
  background: var(--loom-paper);
  color: var(--loom-ink);
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  transition: background 240ms ease, color 240ms ease;
}
.loom-page.is-light {
  --loom-paper: #f3f6ff;
  --loom-ink: #121a42;
  --loom-muted: #6d7696;
  --loom-soft: #e7edff;
  --loom-line: rgba(43, 66, 128, 0.16);
}

a { color: inherit; }
.loom-icon { width: 15px; height: 15px; flex: 0 0 auto; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- header / nav ---------- */
.loom-header { position: relative; z-index: 20; border-bottom: 1px solid var(--loom-line); }
.loom-nav {
  display: grid;
  width: min(1400px, calc(100% - 48px));
  min-height: 104px;
  margin: 0 auto;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(32px, 3.8vw, 58px);
}
.loom-brand, .loom-footer-brand { display: inline-flex; width: fit-content; align-items: center; gap: 12px; color: var(--loom-ink); text-decoration: none; }
.loom-brand-mark {
  display: grid; width: 42px; height: 42px; place-items: center;
  overflow: hidden; border-radius: 50%; background: var(--loom-soft);
  box-shadow: 0 0 0 1px var(--loom-line);
}
.loom-brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.loom-brand-copy { display: flex; flex-direction: column; gap: 4px; }
.loom-brand-copy strong { font-size: 20px; font-weight: 760; letter-spacing: -0.05em; }
.loom-brand-copy small { color: var(--loom-muted); font-family: "SFMono-Regular", Consolas, monospace; font-size: 8px; letter-spacing: 0.2em; }

.flow-nav-links { display: flex; align-items: center; justify-content: center; gap: clamp(30px, 3.2vw, 48px); }
.flow-nav-links a { position: relative; color: var(--loom-ink); font-size: 15px; font-weight: 700; letter-spacing: -0.025em; text-decoration: none; }
.flow-nav-links a::after {
  position: absolute; right: 0; bottom: -9px; left: 0; height: 1px;
  background: linear-gradient(90deg, var(--loom-violet), var(--loom-blue), var(--loom-cyan));
  content: ""; opacity: 0; transform: scaleX(0);
  transition: opacity 180ms ease, transform 180ms ease;
}
.flow-nav-links a:hover::after { opacity: 1; transform: scaleX(1); }

.flow-nav-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.loom-icon-button, .loom-enter { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--loom-line); color: var(--loom-ink); text-decoration: none; }
.loom-icon-button { width: 44px; height: 44px; border-radius: 50%; background: transparent; cursor: pointer; }
.loom-icon-button:hover { border-color: var(--loom-cyan); color: var(--loom-cyan); }
.loom-enter {
  min-height: 50px; gap: 13px; margin-left: 5px; padding: 0 22px;
  border-radius: 999px; background: var(--loom-ink); color: var(--loom-paper);
  font-size: 14px; font-weight: 760; letter-spacing: -0.02em;
}
.loom-register {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; gap: 10px; margin-left: 5px; padding: 0 22px;
  border: 1px solid var(--loom-line); border-radius: 999px;
  background: transparent; color: var(--loom-ink); text-decoration: none;
  font-size: 14px; font-weight: 760; letter-spacing: -0.02em;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}
.loom-register:hover { border-color: var(--loom-cyan); color: var(--loom-cyan); transform: translateY(-2px); }

/* ---------- hero ---------- */
.loom-hero { position: relative; min-height: 0; padding-top: 72px; border-bottom: 1px solid var(--loom-line); }
.loom-hero-particles { position: absolute; z-index: 0; inset: 0; pointer-events: none; }
.loom-hero-intro { position: relative; z-index: 3; width: min(1400px, calc(100% - 48px)); min-height: clamp(560px, 35vw, 640px); padding-top: 8px; margin: 0 auto; }

.loom-eyebrow {
  display: flex; align-items: center; gap: 12px;
  color: var(--loom-muted); font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px; font-weight: 700; letter-spacing: 0.14em;
}
.loom-live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--loom-cyan); box-shadow: 0 0 0 5px rgba(53, 215, 209, 0.13), 0 0 14px var(--loom-cyan); animation: loom-live 2s ease-in-out infinite; }
.loom-eyebrow i { width: 34px; height: 1px; background: var(--loom-line); }

.loom-hero-heading-row {
  display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(360px, 0.78fr);
  gap: clamp(34px, 4.8vw, 82px); align-items: center; margin-top: 118px;
}
.loom-hero-copy { min-width: 0; padding-top: 0; }
.loom-hero h1 {
  max-width: 940px; margin-top: 0; color: var(--loom-ink);
  font-size: clamp(56px, 5vw, 90px); font-weight: 720;
  letter-spacing: -0.075em; line-height: 1;
}
.loom-hero h1 em {
  display: block; margin-top: 10px;
  background: linear-gradient(95deg, var(--loom-violet), var(--loom-blue) 44%, #47b8ff 76%, var(--loom-cyan));
  background-clip: text; -webkit-background-clip: text; color: transparent;
  font-size: 0.78em; font-style: normal; letter-spacing: -0.07em; white-space: nowrap;
}
.loom-hero-copy > p { max-width: 660px; margin-top: 28px; color: var(--loom-muted); font-size: 15px; line-height: 1.82; }

.flow-hero-actions { display: flex; margin-top: 32px; align-items: center; gap: 12px; flex-wrap: wrap; }
.loom-primary-action, .flow-secondary-action, .loom-developer-action, .loom-final-action {
  display: inline-flex; align-items: center; justify-content: center; gap: 11px; text-decoration: none;
}
.loom-primary-action {
  min-height: 48px; padding: 0 21px; border-radius: 999px; background: var(--loom-ink);
  box-shadow: 0 14px 35px rgba(39, 24, 96, 0.16); color: var(--loom-paper); font-size: 12px; font-weight: 760;
}
.loom-primary-action:hover { background: linear-gradient(100deg, var(--loom-violet), var(--loom-blue), var(--loom-cyan)); color: #fff; }
.flow-secondary-action { min-height: 48px; padding: 0 18px; border: 1px solid var(--loom-line); border-radius: 999px; color: var(--loom-ink); font-size: 12px; font-weight: 700; }
.flow-secondary-action > span { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 50%; background: var(--loom-soft); color: var(--loom-violet); }

.flow-highlight-metric {
  display: flex; margin-top: 24px; flex-wrap: wrap; gap: 20px;
  color: var(--loom-muted); font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 7px; letter-spacing: 0.1em;
}
.flow-highlight-metric span { display: inline-flex; align-items: center; gap: 7px; }
.flow-highlight-metric span::before { width: 13px; height: 1px; background: linear-gradient(90deg, var(--loom-violet), var(--loom-cyan)); content: ""; }

.loom-hero-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-self: center; padding-top: 0; padding-bottom: 3px; }
.loom-stat-card {
  display: flex; min-height: 132px; flex-direction: column; align-items: flex-start;
  padding: 19px 20px 17px; border: 1px solid var(--loom-line); border-radius: 18px;
  background: color-mix(in srgb, var(--loom-paper) 88%, var(--loom-soft));
  box-shadow: 0 18px 42px color-mix(in srgb, var(--loom-ink) 7%, transparent);
}
.loom-stat-icon {
  display: grid; width: 27px; height: 27px; place-items: center;
  border: 1px solid color-mix(in srgb, var(--loom-cyan) 42%, var(--loom-line));
  border-radius: 9px; background: color-mix(in srgb, var(--loom-cyan) 8%, transparent); color: var(--loom-cyan);
}
.loom-stat-card-uptime .loom-stat-icon {
  border-color: color-mix(in srgb, var(--loom-violet) 42%, var(--loom-line));
  background: color-mix(in srgb, var(--loom-violet) 8%, transparent); color: var(--loom-violet);
}
.loom-stat-value {
  margin-top: 14px; max-width: 100%; overflow: hidden; color: var(--loom-ink);
  font-family: "SFMono-Regular", Consolas, monospace; font-size: clamp(16px, 1.45vw, 25px);
  font-weight: 780; letter-spacing: -0.045em; line-height: 1.05; text-overflow: clip; white-space: nowrap;
}
.loom-stat-label { margin-top: 8px; color: var(--loom-muted); font-size: 10px; }
.loom-stat-card-wide {
  min-height: 68px; flex-direction: row; align-items: center; justify-content: space-between;
  grid-column: 1 / -1; gap: 16px; padding: 13px 18px;
  border-color: color-mix(in srgb, var(--loom-blue) 28%, var(--loom-line));
  background: linear-gradient(115deg, color-mix(in srgb, var(--loom-violet) 7%, var(--loom-paper)), color-mix(in srgb, var(--loom-cyan) 7%, var(--loom-paper)));
}
.loom-stat-card-wide i { width: 1px; height: 24px; background: var(--loom-line); }
.loom-stat-mini { display: flex; min-width: 0; align-items: baseline; gap: 9px; }
.loom-stat-mini strong { color: var(--loom-ink); font-family: "SFMono-Regular", Consolas, monospace; font-size: 15px; letter-spacing: -0.05em; white-space: nowrap; }
.loom-stat-mini span { color: var(--loom-muted); font-size: 9px; white-space: nowrap; }

/* ---------- stage ---------- */
.loom-stage {
  position: relative; z-index: 1; width: calc(100% / 0.76); height: 250px;
  margin-top: 12px; margin-left: calc((100% - 100% / 0.76) / 2);
  transform: scale(0.76); transform-origin: center top; overflow: hidden;
}
.loom-stage::before, .loom-stage::after { position: absolute; z-index: 1; top: 0; bottom: 0; width: 16%; content: ""; pointer-events: none; }
.loom-stage::before { left: 0; background: linear-gradient(90deg, var(--loom-paper), transparent); }
.loom-stage::after { right: 0; background: linear-gradient(-90deg, var(--loom-paper), transparent); }
.loom-stage-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--loom-line) 1px, transparent 1px), linear-gradient(90deg, var(--loom-line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent 8%, #000 38%, #000 76%, transparent 96%);
  opacity: 0.32;
}
.loom-display-type {
  position: absolute; z-index: 0; inset: 84px 3vw 0;
  display: flex; align-items: center; justify-content: space-between;
  color: transparent; font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(150px, 22vw, 330px); font-weight: 900;
  letter-spacing: -0.075em; line-height: 0.8;
  -webkit-text-stroke: 1px var(--loom-line); user-select: none;
}
.loom-display-type span:last-child { align-self: flex-end; }

.loom-routes { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.loom-thread { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.loom-thread-soft { stroke: url(#loom-spectrum-a); stroke-width: 22; opacity: 0.07; filter: blur(16px); }
.loom-thread-main { stroke: url(#loom-spectrum-a); stroke-width: 2.2; filter: drop-shadow(0 0 8px rgba(113, 83, 255, 0.52)); }
.loom-thread-cross { stroke: url(#loom-spectrum-b); stroke-width: 1.45; stroke-dasharray: 4 8; opacity: 0.75; animation: loom-dash 12s linear infinite; }
.loom-thread-hairline { stroke: rgba(197, 204, 233, 0.2); stroke-width: 0.8; stroke-dasharray: 1 12; }
.loom-packet-a { fill: var(--loom-cyan); }
.loom-packet-b { fill: var(--loom-blue); }
.loom-packet-c { fill: #4cb7ff; }

.loom-provider, .loom-port, .loom-core { position: absolute; z-index: 4; }
.loom-provider {
  display: flex; min-width: 132px; align-items: center; gap: 9px;
  padding: 9px 11px; border: 1px solid var(--loom-line); border-radius: 999px;
  background: color-mix(in srgb, var(--loom-paper) 84%, transparent);
  box-shadow: 0 16px 36px rgba(15, 12, 42, 0.11);
  backdrop-filter: blur(14px);
  transition: border-color 180ms ease, transform 180ms ease;
}
.loom-provider:hover { border-color: var(--loom-cyan); transform: translateY(-3px); }
.loom-provider > span {
  display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%;
  background: color-mix(in srgb, var(--loom-soft) 82%, var(--loom-paper));
  font-size: 11px; font-weight: 800;
}
.loom-provider > div { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.loom-provider strong { color: var(--loom-ink); font-size: 10px; }
.loom-provider small { color: var(--loom-muted); font-family: "SFMono-Regular", Consolas, monospace; font-size: 7px; }
.loom-provider-openai > span { color: #10a37f; }
.loom-provider-claude > span { color: #d97757; }
.loom-provider-gemini > span { color: #4b8fff; }
.loom-provider-deepseek > span { color: #4d6bfe; }
.loom-provider-grok > span { color: #e8e8f0; }
.loom-provider-openai { top: 24%; left: 17%; }
.loom-provider-claude { top: 61%; left: 30%; }
.loom-provider-gemini { top: 23%; right: 30%; }
.loom-provider-deepseek { top: 65%; right: 17%; }
.loom-provider-grok { top: 43%; right: 7%; }

.loom-core {
  top: 42%; left: 50%; display: flex; width: 118px; height: 118px;
  flex-direction: column; align-items: center; justify-content: center;
  border: 1px solid color-mix(in srgb, var(--loom-violet) 48%, var(--loom-line));
  border-radius: 50%; background: var(--loom-paper);
  box-shadow: 0 0 0 10px color-mix(in srgb, var(--loom-violet) 7%, transparent), 0 0 60px color-mix(in srgb, var(--loom-violet) 22%, transparent);
  transform: translate(-50%, -50%);
}
.loom-core-orbit { position: absolute; inset: -18px; border: 1px dashed color-mix(in srgb, var(--loom-cyan) 50%, transparent); border-radius: inherit; animation: loom-spin 20s linear infinite; }
.loom-core-mark { width: 34px; height: 34px; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: var(--loom-soft); }
.loom-core-mark img { width: 100%; height: 100%; object-fit: cover; }
.loom-core strong { margin-top: 7px; font-size: 11px; }
.loom-core small { margin-top: 2px; color: var(--loom-muted); font-family: "SFMono-Regular", Consolas, monospace; font-size: 6px; letter-spacing: 0.08em; text-transform: uppercase; }

.loom-port { display: flex; min-width: 138px; flex-direction: column; gap: 4px; padding: 11px 13px; border: 1px solid var(--loom-line); background: var(--loom-paper); }
.loom-port small, .loom-port span { color: var(--loom-muted); font-family: "SFMono-Regular", Consolas, monospace; font-size: 7px; letter-spacing: 0.08em; }
.loom-port strong { color: var(--loom-ink); font-family: "SFMono-Regular", Consolas, monospace; font-size: 10px; }
.loom-port span { display: flex; align-items: center; gap: 6px; }
.loom-port i { width: 5px; height: 5px; border-radius: 50%; background: var(--loom-cyan); }
.loom-port-input { top: 52%; left: 2.2%; border-radius: 4px 18px 18px 4px; }
.loom-port-output { top: 15%; right: 2.2%; align-items: flex-end; border-radius: 18px 4px 4px 18px; text-align: right; }
.loom-port-output strong { font-size: 22px; letter-spacing: -0.05em; }

.loom-stage-caption {
  position: absolute; z-index: 4; right: 3%; bottom: 18px; left: 3%;
  display: flex; justify-content: space-between;
  color: var(--loom-muted); font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 7px; letter-spacing: 0.13em;
}

.loom-sequence {
  position: relative; z-index: 3; display: grid; width: min(1400px, calc(100% - 48px));
  min-height: 64px; margin: -10px auto 0;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center; border-top: 1px solid var(--loom-line);
}
.loom-sequence > div { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 12px; }
.loom-sequence small { grid-row: 1 / 3; color: var(--loom-violet); font-family: "SFMono-Regular", Consolas, monospace; font-size: 9px; }
.loom-sequence strong { color: var(--loom-ink); font-size: 12px; }
.loom-sequence span { color: var(--loom-muted); font-size: 9px; }
.loom-sequence > i { width: 56px; height: 1px; margin: 0 22px; background: linear-gradient(90deg, var(--loom-violet), var(--loom-blue), var(--loom-cyan)); opacity: 0.55; }

/* ---------- trust strip ---------- */
.loom-trust-strip {
  display: grid; padding: 50px max(24px, calc((100% - 1400px) / 2)) 62px;
  grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0;
  border-top: 1px solid color-mix(in srgb, var(--loom-blue) 28%, var(--loom-line));
  border-bottom: 1px solid var(--loom-line);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--loom-violet) 5%, transparent), transparent 30%, color-mix(in srgb, var(--loom-cyan) 4%, transparent)),
    color-mix(in srgb, var(--loom-paper) 94%, var(--loom-soft));
}
.loom-trust-head {
  display: grid; grid-column: 1 / -1; grid-template-columns: auto 68px auto 1fr;
  gap: 12px; align-items: center; margin-bottom: 30px;
  color: var(--loom-muted); font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px; letter-spacing: 0.14em;
}
.loom-trust-head > span { color: var(--loom-violet); font-weight: 700; }
.loom-trust-head i { width: 68px; height: 1px; background: linear-gradient(90deg, var(--loom-violet), var(--loom-cyan)); }
.loom-trust-head strong { color: var(--loom-ink); font-size: 8px; font-weight: 700; }
.loom-trust-head small { justify-self: end; font-family: inherit; font-size: 8px; letter-spacing: 0.02em; }
.loom-trust-strip article {
  position: relative; display: flex; min-height: 154px; align-items: flex-start;
  gap: 19px; padding: 12px clamp(18px, 3vw, 44px); border-right: 1px solid var(--loom-line);
}
.loom-trust-strip article::before {
  position: absolute; top: 0; right: clamp(18px, 3vw, 44px); left: clamp(18px, 3vw, 44px); height: 2px;
  background: linear-gradient(90deg, var(--loom-violet), var(--loom-blue), var(--loom-cyan));
  content: ""; opacity: 0.72;
}
.loom-trust-strip article:first-of-type { padding-left: 0; }
.loom-trust-strip article:first-of-type::before { left: 0; }
.loom-trust-strip article:last-of-type { padding-right: 0; border-right: 0; }
.loom-trust-strip article:last-of-type::before { right: 0; }
.loom-trust-strip article > div { min-width: 0; }
.loom-trust-icon {
  display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center;
  border: 1px solid color-mix(in srgb, var(--loom-blue) 26%, var(--loom-line));
  border-radius: 15px; background: color-mix(in srgb, var(--loom-soft) 70%, transparent);
  color: color-mix(in srgb, var(--loom-ink) 72%, var(--loom-blue));
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.loom-trust-icon .loom-icon { width: 20px; height: 20px; }
.loom-trust-strip h2 { margin: 2px 0 10px; color: color-mix(in srgb, var(--loom-ink) 88%, var(--loom-blue)); font-size: 23px; font-weight: 720; letter-spacing: -0.04em; }
.loom-trust-strip p { max-width: 390px; color: var(--loom-muted); font-size: 13px; line-height: 1.85; }
.loom-trust-strip article:hover .loom-trust-icon { border-color: color-mix(in srgb, var(--loom-cyan) 52%, var(--loom-line)); color: var(--loom-cyan); transform: translateY(-2px); }

/* ---------- manifesto ---------- */
.loom-manifesto {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 130px max(24px, calc((100% - 1400px) / 2));
  background: var(--loom-paper); color: var(--loom-ink); scroll-margin-top: 24px;
}
.loom-manifesto::before {
  position: absolute; z-index: -2; inset: 0;
  background:
    radial-gradient(circle at 82% 16%, color-mix(in srgb, var(--loom-violet) 11%, transparent), transparent 29%),
    radial-gradient(circle at 16% 78%, color-mix(in srgb, var(--loom-cyan) 8%, transparent), transparent 25%),
    linear-gradient(122deg, transparent 0 48%, color-mix(in srgb, var(--loom-blue) 7%, transparent) 48.1%, transparent 48.35%);
  content: ""; pointer-events: none;
}
.loom-manifesto::after {
  position: absolute; z-index: -1; top: 27%; right: -9%; width: 62%; height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--loom-blue) 48%, transparent), transparent);
  box-shadow: 0 110px 0 color-mix(in srgb, var(--loom-violet) 18%, transparent), 0 220px 0 color-mix(in srgb, var(--loom-cyan) 15%, transparent);
  content: ""; opacity: 0.75; transform: rotate(-13deg); pointer-events: none;
}
.loom-manifesto-signal {
  position: absolute; top: 53px; right: max(24px, calc((100% - 1400px) / 2));
  display: flex; align-items: center; gap: 10px;
  color: var(--loom-muted); font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px; letter-spacing: 0.14em;
}
.loom-manifesto-signal span { color: var(--loom-violet); font-size: 11px; font-weight: 700; }
.loom-manifesto-signal i { width: 68px; height: 1px; background: linear-gradient(90deg, var(--loom-violet), var(--loom-cyan)); }
.loom-manifesto-signal strong { font-size: 8px; font-weight: 700; }

.loom-section-head { position: relative; z-index: 1; display: grid; grid-template-columns: 0.46fr 1.72fr 0.72fr; gap: 44px; align-items: start; }
.loom-section-head > span, .loom-developer-copy > span, .loom-final > span {
  color: var(--loom-cyan); font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px; font-weight: 700; letter-spacing: 0.15em;
}
.loom-section-head h2 { margin: 0; color: var(--loom-ink); font-size: clamp(38px, 4.1vw, 58px); font-weight: 680; letter-spacing: -0.065em; line-height: 1.1; }
.loom-section-head h2::before {
  display: block; margin-bottom: 18px; color: var(--loom-blue); content: "ROUTE SIGNAL / 02";
  font-family: "SFMono-Regular", Consolas, monospace; font-size: 9px; font-weight: 700; letter-spacing: 0.16em; line-height: 1;
}
.loom-section-head h2::after {
  display: block; width: 148px; height: 4px; margin-top: 24px; border-radius: 99px;
  background: linear-gradient(90deg, var(--loom-violet), var(--loom-blue), var(--loom-cyan));
  box-shadow: 0 0 26px color-mix(in srgb, var(--loom-blue) 34%, transparent); content: "";
}
.loom-section-head h2 em {
  display: block;
  background: linear-gradient(96deg, var(--loom-violet), var(--loom-blue) 48%, var(--loom-cyan));
  background-clip: text; -webkit-background-clip: text; color: transparent;
  font-style: normal; white-space: nowrap;
  text-shadow: 0 16px 35px color-mix(in srgb, var(--loom-violet) 12%, transparent);
}
.loom-section-head p { max-width: 360px; color: color-mix(in srgb, var(--loom-ink) 58%, transparent); font-size: 13px; line-height: 1.9; }

.loom-capability-list { position: relative; z-index: 1; margin-top: 94px; border-top: 1px solid color-mix(in srgb, var(--loom-ink) 18%, transparent); }
.loom-capability-list article {
  position: relative; display: grid; min-height: 230px; overflow: hidden;
  grid-template-columns: 0.58fr 1.12fr 0.5fr; gap: 50px; align-items: center;
  border-bottom: 1px solid color-mix(in srgb, var(--loom-ink) 18%, transparent);
}
.loom-capability-list article::before {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--loom-violet) 14%, transparent), color-mix(in srgb, var(--loom-cyan) 8%, transparent));
  content: ""; opacity: 0; transform: translateX(-30%);
  transition: opacity 300ms ease, transform 500ms ease;
}
.loom-capability-list article:hover::before { opacity: 1; transform: translateX(0); }
.loom-capability-word {
  position: relative; color: transparent; font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(70px, 8.5vw, 128px); letter-spacing: -0.045em; line-height: 0.8;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--loom-ink) 27%, transparent);
}
.loom-capability-copy, .loom-capability-meta { position: relative; }
.loom-capability-copy small { color: var(--loom-blue); font-family: "SFMono-Regular", Consolas, monospace; font-size: 8px; letter-spacing: 0.12em; }
.loom-capability-copy h3 { margin: 13px 0 12px; color: var(--loom-ink); font-size: 28px; font-weight: 650; letter-spacing: -0.045em; }
.loom-capability-copy p { max-width: 530px; color: color-mix(in srgb, var(--loom-ink) 58%, transparent); font-size: 13px; line-height: 1.85; }
.loom-capability-meta { justify-self: end; color: color-mix(in srgb, var(--loom-ink) 42%, transparent); font-family: "SFMono-Regular", Consolas, monospace; font-size: 8px; letter-spacing: 0.1em; text-align: right; }

/* ---------- model band ---------- */
.loom-model-band {
  position: relative; display: flex; min-height: 128px; overflow: hidden; align-items: center;
  border-top: 1px solid var(--loom-line); border-bottom: 1px solid var(--loom-line);
  background: var(--loom-paper);
}
.loom-model-band > span {
  position: relative; z-index: 2; display: grid; align-self: stretch; flex: 0 0 220px;
  place-items: center; border-right: 1px solid var(--loom-line); background: var(--loom-paper);
  color: var(--loom-muted); font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px; letter-spacing: 0.14em;
}
.loom-model-marquee { min-width: 0; flex: 1; overflow: hidden; }
.loom-model-marquee > div { display: flex; width: max-content; align-items: center; gap: 35px; animation: loom-marquee 26s linear infinite; }
.loom-model-marquee strong { color: var(--loom-ink); font-family: Impact, "Arial Narrow", sans-serif; font-size: 48px; font-weight: 800; letter-spacing: -0.02em; text-transform: uppercase; white-space: nowrap; }
.loom-model-marquee i { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--loom-violet), var(--loom-blue), var(--loom-cyan)); }

/* ---------- developer ---------- */
.loom-developer {
  display: grid; padding: 140px max(24px, calc((100% - 1400px) / 2));
  grid-template-columns: 0.72fr 1.28fr; gap: clamp(60px, 9vw, 140px);
  align-items: center; background: var(--loom-paper); scroll-margin-top: 24px;
}
.loom-developer-copy h2 { margin: 24px 0 0; color: var(--loom-ink); font-size: clamp(42px, 4.7vw, 66px); font-weight: 690; letter-spacing: -0.07em; line-height: 1.07; }
.loom-developer-copy h2 em { display: block; background: linear-gradient(95deg, var(--loom-violet), var(--loom-blue), var(--loom-cyan)); background-clip: text; -webkit-background-clip: text; color: transparent; font-style: normal; white-space: nowrap; }
.loom-developer-copy p { max-width: 470px; margin-top: 24px; color: var(--loom-muted); font-size: 13px; line-height: 1.9; }
.loom-developer-action { min-height: 47px; margin-top: 31px; padding: 0 20px; border: 1px solid var(--loom-line); border-radius: 999px; background: var(--loom-ink); color: var(--loom-paper); font-size: 12px; font-weight: 760; }

.loom-code-shell {
  position: relative; overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--loom-ink) 24%, transparent);
  border-radius: 22px; background: #090b15;
  box-shadow: 0 40px 90px rgba(22, 16, 69, 0.2); color: #dce2f5;
}
.loom-code-shell::before {
  position: absolute; top: -130px; right: -80px; width: 330px; height: 330px; border-radius: 50%;
  background: conic-gradient(from 40deg, #685dff, #4b8fff, #35d7d1, transparent 64%);
  content: ""; filter: blur(48px); opacity: 0.14;
}
.loom-code-rail, .loom-code-footer {
  position: relative; z-index: 1; display: flex; min-height: 52px; align-items: center;
  justify-content: space-between; padding: 0 21px; color: #7e88aa;
  font-family: "SFMono-Regular", Consolas, monospace; font-size: 8px;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.loom-code-rail { border-bottom: 1px solid rgba(170, 182, 232, 0.13); }
.loom-code-rail span:last-child { display: flex; align-items: center; gap: 7px; color: #48d7b2; }
.loom-code-rail i { width: 6px; height: 6px; border-radius: 50%; background: #48d7b2; box-shadow: 0 0 10px #48d7b2; }
.loom-code-shell pre {
  position: relative; z-index: 1; min-height: 330px; margin: 0; padding: 32px;
  overflow-x: auto; color: #cbd3ec; font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px; line-height: 1.92;
}
.code-muted { color: #59637f; }
.code-violet { color: #ba84ff; }
.code-cyan { color: #5faeff; }
.code-green { color: #4fe2c0; }
.code-coral { color: #76b9ff; }
.loom-code-footer { justify-content: flex-start; gap: 22px; border-top: 1px solid rgba(170, 182, 232, 0.13); }
.loom-code-footer span { display: flex; align-items: center; gap: 7px; }
.loom-code-footer span::before { width: 4px; height: 4px; border-radius: 50%; background: #35d7d1; content: ""; }

/* ---------- final ---------- */
.loom-final {
  position: relative; display: flex; min-height: 460px; overflow: hidden;
  flex-direction: column; align-items: center; justify-content: center;
  border-top: 1px solid var(--loom-line); background: var(--loom-paper); text-align: center;
}
.loom-final-line {
  position: absolute; bottom: auto; top: calc(50% + 18px); left: 0; width: 100%; height: 2px;
  border-radius: 0; opacity: 0.62; transform: none;
  background: linear-gradient(90deg, var(--loom-violet), var(--loom-blue), #4abaff, var(--loom-cyan));
}
.loom-final::after {
  position: absolute; width: min(720px, 80vw); height: min(720px, 80vw);
  border: 1px solid var(--loom-line); border-radius: 50%;
  box-shadow: 0 0 0 60px color-mix(in srgb, var(--loom-violet) 3%, transparent), 0 0 0 120px color-mix(in srgb, var(--loom-cyan) 2%, transparent);
  content: "";
}
.loom-final > span, .loom-final h2, .loom-final-action { position: relative; z-index: 2; }
.loom-final h2 {
  max-width: 960px; margin: 22px 24px 0; padding: 0;
  background: linear-gradient(95deg, var(--loom-violet), var(--loom-blue), var(--loom-cyan));
  background-clip: text; -webkit-background-clip: text; color: transparent;
  font-size: clamp(34px, 4.2vw, 62px); font-weight: 640; letter-spacing: -0.075em; line-height: 1.02;
}
.loom-final-action { min-height: 50px; margin-top: 30px; padding: 0 22px; border-radius: 999px; background: var(--loom-ink); color: var(--loom-paper); font-size: 12px; font-weight: 760; }

/* ---------- footer ---------- */
.loom-footer {
  display: grid; min-height: 100px; padding: 0 max(24px, calc((100% - 1400px) / 2));
  grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px;
  border-top: 1px solid var(--loom-line); background: var(--loom-paper);
  color: var(--loom-muted); font-size: 9px;
}
.loom-footer-brand strong { color: var(--loom-ink); font-size: 12px; }
.loom-brand-mark.small { width: 29px; height: 29px; }
.loom-footer-message { display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; }
.loom-footer-message small { font-size: 8px; letter-spacing: 0.02em; }
.loom-footer a { justify-self: end; text-decoration: none; }
.loom-footer a:hover { color: var(--loom-cyan); }

.loom-primary-action, .flow-secondary-action, .loom-developer-action, .loom-final-action, .loom-enter, .loom-icon-button { transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease; }
.loom-primary-action:hover, .flow-secondary-action:hover, .loom-developer-action:hover, .loom-final-action:hover, .loom-enter:hover { transform: translateY(-2px); }


/* ---------- 智算中心入口（原站元素） ---------- */
.flow-nav-compute { position: relative; display: inline-flex; min-height: 32px; align-items: center; gap: 7px; padding: 4px 0 7px; color: var(--loom-violet) !important; font-weight: 760; }
.flow-nav-compute::after { right: 0 !important; bottom: 1px !important; left: 0 !important; background: var(--loom-violet) !important; opacity: 0.9 !important; transform: scaleX(1) !important; }
.flow-nav-compute-marker, .flow-compute-entry-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--loom-violet); box-shadow: 0 0 0 4px rgba(104, 93, 255, 0.14), 0 0 13px rgba(104, 93, 255, 0.65); }
.flow-compute-entry { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; padding: 0 2px; color: var(--loom-violet); font-size: 12px; font-weight: 750; text-decoration: none; white-space: nowrap; }
.flow-compute-entry:hover { color: var(--loom-ink); }
.loom-locale { display: inline-flex; min-height: 32px; align-items: center; gap: 5px; padding: 0 11px; border: 1px solid var(--loom-line); border-radius: 999px; color: var(--loom-muted); font-size: 10px; font-weight: 700; letter-spacing: 0.05em; }
.loom-locale:hover { border-color: var(--loom-cyan); color: var(--loom-ink); }
@media (max-width: 620px) { .loom-locale { display: none; } }

@keyframes loom-live { 0%, 100% { opacity: 0.55; transform: scale(0.82); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes loom-dash { to { stroke-dashoffset: -144; } }
@keyframes loom-spin { to { transform: rotate(360deg); } }
@keyframes loom-marquee { to { transform: translateX(-50%); } }

/* ---------- responsive (hero-refined 2.1 断点) ---------- */
@media (max-width: 1120px) {
  .loom-nav { grid-template-columns: 1fr auto; min-height: 92px; gap: 24px; }
  .flow-nav-links { display: none; }
  .loom-brand-copy strong { font-size: 18px; }
  .loom-hero-heading-row { grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr); gap: 28px; margin-top: 96px; }
  .loom-hero h1 { font-size: clamp(50px, 5.8vw, 76px); }
  .loom-stat-card { min-height: 120px; padding: 16px 16px 14px; }
  .loom-display-type { font-size: clamp(130px, 24vw, 260px); }
  .loom-section-head, .loom-capability-list article { grid-template-columns: 0.52fr 1.18fr 0.5fr; gap: 35px; }
  .loom-sequence > i { width: 30px; margin: 0 12px; }
  .loom-trust-strip { padding-right: 24px; padding-left: 24px; }
}
@media (max-width: 880px) {
  .loom-nav { min-height: 78px; }
  .loom-hero-intro { min-height: clamp(460px, 58vw, 530px); }
  .loom-hero-heading-row { grid-template-columns: 1fr; gap: 28px; margin-top: 34px; }
  .loom-hero h1 { font-size: clamp(46px, 7.7vw, 68px); }
  .loom-hero-stats { max-width: none; }
  .loom-stage { width: calc(100% / 0.64); height: 210px; margin-top: 28px; margin-left: calc((100% - 100% / 0.64) / 2); transform: scale(0.64); }
  .loom-hero h1 { letter-spacing: -0.08em; }
  .loom-hero h1 em { white-space: normal; }
  .loom-display-type { top: 70px; flex-direction: column; align-items: flex-start; font-size: clamp(150px, 33vw, 260px); }
  .loom-provider-grok, .loom-port { display: none; }
  .loom-sequence { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .loom-sequence > i { display: none; }
  .loom-section-head { grid-template-columns: 1fr; gap: 23px; }
  .loom-section-head p { max-width: 600px; }
  .loom-capability-list article { min-height: 270px; grid-template-columns: 0.75fr 1.25fr; }
  .loom-capability-meta { display: none; }
  .loom-model-band > span { display: none; }
  .loom-developer { grid-template-columns: 1fr; gap: 55px; }
  .loom-trust-strip { grid-template-columns: 1fr; gap: 0; padding-top: 42px; padding-bottom: 42px; }
  .loom-trust-head { grid-template-columns: auto 42px auto; gap: 8px; margin-bottom: 20px; }
  .loom-trust-head i { width: 42px; }
  .loom-trust-head small { grid-column: 1 / -1; justify-self: start; margin-top: 2px; }
  .loom-trust-strip article, .loom-trust-strip article:first-of-type, .loom-trust-strip article:last-of-type { min-height: auto; padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--loom-line); }
  .loom-trust-strip article:last-of-type { border-bottom: 0; }
}
@media (max-width: 620px) {
  .loom-nav { width: calc(100% - 28px); min-height: 68px; }
  .loom-brand-copy small, .loom-icon-button { display: none; }
  .loom-brand-mark { width: 38px; height: 38px; }
  .loom-enter { width: 40px; padding: 0; }
  .loom-enter span { display: none; }
  .loom-hero { padding-top: 52px; }
  .loom-hero-heading-row { gap: 22px; margin-top: 24px; }
  .loom-hero-intro, .loom-sequence { width: calc(100% - 28px); }
  .loom-eyebrow span:last-child, .loom-eyebrow i { display: none; }
  .loom-hero-stats { grid-template-columns: 1fr; max-width: none; }
  .loom-stat-card { min-height: 96px; padding: 13px 12px 12px; }
  .loom-hero h1 { font-size: clamp(43px, 12.8vw, 60px); }
  .loom-hero h1 em { font-size: 0.88em; margin-top: 8px; white-space: normal; }
  .loom-hero-copy > p { font-size: 13px; line-height: 1.82; }
  .flow-hero-actions { align-items: stretch; flex-direction: column; }
  .loom-primary-action, .flow-secondary-action { width: 100%; }
  .loom-stage { width: calc(100% / 0.58); height: 190px; margin-top: 34px; margin-left: calc((100% - 100% / 0.58) / 2); transform: scale(0.58); }
  .loom-sequence { min-height: 108px; grid-template-columns: repeat(2, 1fr); gap: 22px 16px; padding: 21px 0; margin-top: -38px; }
  .loom-manifesto { padding: 88px 20px; }
  .loom-section-head h2 { font-size: 39px; }
  .loom-section-head h2 em { white-space: normal; }
  .loom-capability-list { margin-top: 55px; }
  .loom-capability-list article { min-height: 300px; grid-template-columns: 1fr; gap: 20px; align-content: center; }
  .loom-capability-word { font-size: 85px; }
  .loom-capability-copy h3 { font-size: 22px; }
  .loom-model-band { min-height: 105px; }
  .loom-model-marquee strong { font-size: 38px; }
  .loom-developer { padding: 92px 20px; }
  .loom-developer-copy h2 { font-size: 41px; }
  .loom-code-shell pre { min-height: 285px; padding: 25px 17px; font-size: 9px; }
  .loom-code-footer { gap: 12px; padding: 0 15px; font-size: 7px; }
  .loom-final { min-height: 380px; }
  .loom-final h2 { font-size: 42px; }
  .loom-final-line { top: calc(50% + 14px); }
  .loom-footer { grid-template-columns: 1fr; gap: 13px; padding: 28px 20px; text-align: center; }
  .loom-footer-brand, .loom-footer a { justify-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .loom-live-dot, .loom-thread-cross, .loom-core-orbit, .loom-model-marquee > div { animation: none; }
  .loom-packet { display: none; }
}
