/* ==========================================================================
   YIWENCHENG 官网样式
   设计基调：墨黑 + 纸白 + 深青绿点缀，等宽字体做结构化标签，克制但有辨识度
   ========================================================================== */

:root {
  --ink: #080b10;
  --ink-2: #0e141c;
  --ink-3: #1a222d;
  --paper: #ffffff;
  --mist: #f4f6f8;
  --mist-2: #eef1f4;
  --line: rgba(8, 11, 16, 0.09);
  --line-strong: rgba(8, 11, 16, 0.16);
  --muted: #5a6572;
  --muted-2: #8b95a1;
  --teal: #0b6e5f;
  --teal-2: #12a98f;
  --mint: #dff3ee;
  --amber: #c98a1f;
  --danger: #b23a48;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(8, 11, 16, 0.04), 0 8px 24px rgba(8, 11, 16, 0.04);
  --shadow-md: 0 12px 40px rgba(8, 11, 16, 0.1);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --max: 1200px;
  --header-h: 72px;

  /* 首页首屏（浅色工业风）：logo 定稿后只改这一组令牌即可整体换色 */
  --hero-bg: #f7f5f0;
  --hero-surface: #fffdf9;
  --hero-ink: #16233a;
  --hero-ink-soft: #4e5a6e;
  --hero-accent: #1b6a70;
  --hero-accent-deep: #145257;
  --hero-accent-weak: rgba(27, 106, 112, 0.09);
  --hero-line: rgba(22, 35, 58, 0.12);
  --hero-line-soft: rgba(22, 35, 58, 0.07);
  --hero-arrow: rgba(22, 35, 58, 0.32);
  --hero-grid: rgba(22, 35, 58, 0.045);
  --hero-header-bg: rgba(247, 245, 240, 0.88);
  --hero-title-size: clamp(25px, 2.9vw, 38px);
  --hero-claim-size: clamp(18px, 1.55vw, 22px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
}

::selection {
  background: rgba(18, 169, 143, 0.24);
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

/* --------------------------------------------------------------- 顶部导航 */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 40px;
}

/* 首页：浅色 Hero 上使用米白半透明顶栏 */
.site-header.is-light {
  background: var(--hero-header-bg);
  border-bottom-color: var(--hero-line-soft);
}

.site-header.is-light .nav a:hover {
  color: var(--hero-accent);
}

.site-header.is-light .nav a::after {
  background: var(--hero-accent);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.brand-mark img {
  display: block;
  width: 34px;
  height: 34px;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name strong {
  font-size: 15.5px;
  letter-spacing: 0.02em;
}

.brand-name span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted-2);
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: 8px;
}

.nav a {
  font-size: 14.5px;
  color: var(--ink-3);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1.5px;
  background: var(--teal);
  transition: right 0.25s ease;
}

.nav a:hover {
  color: var(--teal);
}

.nav a:hover::after {
  right: 0;
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 550;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  background: var(--teal);
}

.btn-accent {
  background: var(--teal);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-accent:hover {
  background: #095b4e;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.btn-light {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-light:hover {
  border-color: var(--ink);
  background: transparent;
}

.btn-sm {
  height: 36px;
  padding: 0 14px;
  font-size: 13.5px;
  border-radius: 8px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
  padding: 0;
  place-items: center;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.6px;
  background: var(--ink);
  position: relative;
  transition: background 0.2s;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.6px;
  background: var(--ink);
  transition: transform 0.25s ease, top 0.25s ease;
}

.nav-toggle span::before {
  top: -5px;
}

.nav-toggle span::after {
  top: 5px;
}

.nav-open .nav-toggle span {
  background: transparent;
}

.nav-open .nav-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-open .nav-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(8, 11, 16, 0.06);
}

.site-header.is-scrolled .brand-name strong,
.site-header.is-scrolled .nav a {
  color: var(--ink);
}

.site-header.is-scrolled .nav a:hover {
  color: var(--teal);
}

.site-header.is-scrolled .brand-name span {
  color: var(--muted-2);
}

.site-header.is-scrolled .btn-ghost {
  color: var(--ink);
  border-color: var(--line-strong);
}

.site-header.is-scrolled .nav-toggle {
  border-color: var(--line-strong);
}

.site-header.is-scrolled .nav-toggle span,
.site-header.is-scrolled .nav-toggle span::before,
.site-header.is-scrolled .nav-toggle span::after {
  background: var(--ink);
}

/* -------------------------------------------------------------------- Hero */
/* 浅色工业风：米白底 + 经纬细纹，正文深墨蓝，强调色只走 --hero-accent */
.hero {
  position: relative;
  background: var(--hero-bg);
  color: var(--hero-ink);
  padding: calc(var(--header-h) + 76px) 0 88px;
  border-bottom: 1px solid var(--hero-line-soft);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, var(--hero-grid) 0 1px, transparent 1px 6px),
    repeating-linear-gradient(0deg, var(--hero-grid) 0 1px, transparent 1px 6px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 72%, transparent 100%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hero-accent);
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.hero h1 {
  font-size: var(--hero-title-size);
  font-weight: 680;
  line-height: 1.26;
  letter-spacing: -0.03em;
  color: var(--hero-ink);
}

.hero h1 span {
  display: block;
}

.hero-claim {
  margin-top: 14px;
  font-size: var(--hero-claim-size);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--hero-ink);
}

.hero-claim em {
  font-style: normal;
  color: var(--hero-accent);
}

.hero-lead {
  margin-top: 18px;
  max-width: 560px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--hero-ink-soft);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero .btn-accent {
  background: var(--hero-accent);
  color: var(--hero-surface);
  box-shadow: none;
}

.hero .btn-accent:hover {
  background: var(--hero-accent-deep);
}

.hero .btn-ghost {
  background: transparent;
  color: var(--hero-ink);
  border-color: var(--hero-line);
}

.hero .btn-ghost:hover {
  border-color: var(--hero-accent);
  color: var(--hero-accent);
}

.hero-stats {
  margin-top: 44px;
  max-width: 580px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--hero-line);
}

.hero-stats > div {
  padding: 15px 18px 0;
  border-left: 1px solid var(--hero-line-soft);
}

.hero-stats > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-stats strong {
  display: block;
  font-size: 26px;
  font-weight: 680;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--hero-ink);
  font-variant-numeric: tabular-nums;
}

.hero-stats span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--hero-ink-soft);
  letter-spacing: 0.01em;
}

/* Hero 右侧：七段业务链路 */
.chain-card {
  position: relative;
  background: var(--hero-surface);
  border: 1px solid var(--hero-line);
  border-radius: var(--radius-lg);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow-sm);
}

.chain-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hero-line-soft);
}

.chain-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hero-ink-soft);
}

.chain-hint {
  font-size: 11.5px;
  color: var(--hero-ink-soft);
  opacity: 0.75;
  white-space: nowrap;
}

.chain-track {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin: 22px 0 18px;
  padding: 0;
  list-style: none;
}

.chain-track::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 50%;
  height: 1px;
  background: var(--hero-line);
  pointer-events: none;
}

.chain-track li {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}

.chain-track li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -7px;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--hero-arrow);
  border-right: 1px solid var(--hero-arrow);
  transform: translateY(-50%) rotate(45deg);
  z-index: 2;
  pointer-events: none;
}

.chain-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 100%;
  padding: 9px 4px 8px;
  border: 1px solid var(--hero-line);
  border-radius: 10px;
  background: var(--hero-surface);
  color: var(--hero-ink);
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.chain-node b {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--hero-ink-soft);
  transition: color 0.18s ease;
}

.chain-node span {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.chain-node:hover,
.chain-node:focus-visible,
.chain-node.is-active {
  border-color: var(--hero-accent);
  box-shadow: inset 0 0 0 1px var(--hero-accent);
  background: var(--hero-accent-weak);
  color: var(--hero-accent);
}

.chain-node:hover b,
.chain-node:focus-visible b,
.chain-node.is-active b {
  color: var(--hero-accent);
}

.chain-node:focus-visible {
  outline: 2px solid var(--hero-accent);
  outline-offset: 2px;
}

.chain-desc {
  min-height: 3.2em;
  padding-top: 16px;
  border-top: 1px solid var(--hero-line-soft);
  font-size: 13px;
  line-height: 1.8;
  color: var(--hero-ink-soft);
}

.hero-meta {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--hero-line);
  border: 1px solid var(--hero-line);
  border-radius: 12px;
  overflow: hidden;
  max-width: 560px;
}

.hero-meta div {
  background: var(--hero-surface);
  padding: 16px 18px;
}

.hero-meta strong {
  display: block;
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.hero-meta span {
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------- 通用区块 */
.section {
  padding: 104px 0;
}

.section--tight {
  padding: 72px 0;
}

.section--mist {
  background: var(--mist);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 52px;
}

.section-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(26px, 2.6vw, 38px);
  letter-spacing: -0.03em;
  max-width: 640px;
}

.section-desc {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15.5px;
  max-width: 560px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--teal);
  font-weight: 550;
  flex-shrink: 0;
}

.link-arrow svg {
  transition: transform 0.2s ease;
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

/* 客户 Logo 条 */
.trust {
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}

.trust .wrap {
  display: flex;
  align-items: center;
  gap: 42px;
  flex-wrap: wrap;
}

.trust-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  text-transform: uppercase;
  flex-shrink: 0;
}

.trust-list {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  flex: 1;
}

.trust-list span {
  font-size: 14.5px;
  color: var(--muted);
  font-weight: 550;
  letter-spacing: 0.02em;
  opacity: 0.85;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.trust-list span:hover {
  color: var(--ink);
  opacity: 1;
}

/* --------------------------------------------------------------- 产品矩阵 */
.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pcard {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 28px;
  display: flex;
  flex-direction: column;
  min-height: 250px;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.pcard::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: var(--accent, var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.pcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(8, 11, 16, 0.14);
}

.pcard:hover::after {
  transform: scaleX(1);
}

.pcard--wide {
  grid-column: span 2;
  background: linear-gradient(155deg, #0b0f14 0%, #101a20 62%, #0d2622 100%);
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.pcard--wide .pcard-desc {
  color: rgba(255, 255, 255, 0.62);
}

.pcard--wide .pcard-tag {
  color: var(--teal-2);
}

.pcard--wide .pcard-link {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.pcard--wide .pcard-link:hover {
  background: rgba(255, 255, 255, 0.12);
}

.pcard-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.pcard-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent, var(--teal)) 12%, transparent);
  color: var(--accent, var(--teal));
  border: 1px solid color-mix(in srgb, var(--accent, var(--teal)) 24%, transparent);
  flex-shrink: 0;
}

.pcard--wide .pcard-icon {
  background: rgba(18, 169, 143, 0.14);
  border-color: rgba(18, 169, 143, 0.3);
  color: var(--teal-2);
}

.pcard-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent, var(--teal));
}

.pcard h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.pcard-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  flex: 1;
}

.pcard-foot {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pcard-metric {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.06em;
}

.pcard--wide .pcard-metric {
  color: rgba(255, 255, 255, 0.4);
}

.pcard-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 550;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 7px 12px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.pcard-link:hover {
  background: var(--mist);
  border-color: var(--ink);
}

.pcard--wide .pcard-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.pcard--wide .pcard-points span {
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.72);
}

/* --------------------------------------------------------------- 平台能力 */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.cap {
  background: var(--paper);
  padding: 30px 28px;
  transition: background 0.25s ease;
}

.cap:hover {
  background: #fbfcfd;
}

.cap-icon {
  width: 34px;
  height: 34px;
  color: var(--teal);
  margin-bottom: 18px;
}

.cap h3 {
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: 600;
}

.cap p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.75;
}

/* --------------------------------------------------------------- 跨系统协同 */
.collab-base {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(44, 91, 216, 0.06), rgba(18, 169, 143, 0.06));
}

.collab-base-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
}

.collab-base h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.collab-base p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.8;
}

.collab-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.collab-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 24px 24px 20px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.collab-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.collab-tag {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
}

.collab-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 10px 0 8px;
}

.collab-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.75;
}

.collab-card ul {
  list-style: none;
  margin: 14px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
}

.collab-card li {
  position: relative;
  font-size: 12.8px;
  line-height: 1.6;
  padding: 4px 0 4px 14px;
}

.collab-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

.collab-integration {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.collab-integration > div {
  background: var(--paper);
  padding: 20px 22px;
}

.collab-integration strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 6px;
}

.collab-integration span {
  font-size: 12.8px;
  color: var(--muted);
  line-height: 1.7;
}

/* --------------------------------------------------------------- 纺织行业支柱 */
.textile-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.textile-pillars > div {
  background: var(--paper);
  padding: 24px 22px;
}

.textile-pillars h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}

.textile-pillars h3 span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--teal);
}

.textile-pillars p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
}

.textile-tagline {
  margin: 22px 0 44px;
  padding: 18px 24px;
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(18, 169, 143, 0.06);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
}

/* --------------------------------------------------------------- 流程闭环 */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.flow-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 28px 28px 22px;
}

.flow-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

.flow-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}

.flow-card ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.flow-card li {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  padding-bottom: 18px;
}

.flow-card li:last-child {
  padding-bottom: 0;
}

.flow-card .role {
  align-self: start;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
  padding: 4px 6px;
  border-radius: 999px;
  background: rgba(8, 11, 16, 0.05);
  color: var(--ink);
}

.flow-card li p {
  font-size: 13.5px;
  line-height: 1.65;
}

.flow-card li em {
  display: block;
  font-style: normal;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--teal);
  margin-top: 5px;
}

/* --------------------------------------------------------------- 解决方案 */
.tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}

.tab {
  border: 0;
  background: transparent;
  padding: 12px 18px;
  font-size: 14.5px;
  color: var(--muted);
  cursor: pointer;
  position: relative;
  border-radius: 8px 8px 0 0;
  transition: color 0.2s ease, background 0.2s ease;
}

.tab:hover {
  color: var(--ink);
  background: rgba(8, 11, 16, 0.03);
}

.tab.is-active {
  color: var(--ink);
  font-weight: 600;
}

.tab.is-active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 2px;
  background: var(--teal);
}

.tab-panel {
  display: none;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  animation: fadeUp 0.45s ease both;
}

.tab-panel.is-active {
  display: grid;
}

.tab-panel h3 {
  font-size: 23px;
  margin-bottom: 14px;
}

.tab-panel > div > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 26px;
}

.scene-list {
  display: grid;
  gap: 14px;
}

.scene-list li {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-3);
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}

.scene-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.scene-list svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--teal);
}

.scene-list b {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 2px;
}

.scene-list span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.solution-side {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}

.solution-side h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 18px;
  font-weight: 500;
}

.solution-side dl {
  margin: 0;
  display: grid;
  gap: 16px;
}

.solution-side dt {
  font-size: 12px;
  color: var(--muted-2);
}

.solution-side dd {
  margin: 3px 0 0;
  font-size: 14.5px;
  font-weight: 550;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------- 数据背书 */
.stats-band {
  background: var(--hero-bg);
  color: var(--hero-ink);
  border: 1px solid var(--hero-line-soft);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.stats-band::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 169, 143, 0.1), transparent 65%);
  top: -220px;
  right: -140px;
}

.stats-band .section-title {
  color: var(--hero-ink);
}

.stats-band p {
  color: var(--muted);
  margin-top: 16px;
  font-size: 15px;
  max-width: 420px;
}

.stat-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--hero-line);
  border: 1px solid var(--hero-line);
  border-radius: 12px;
  overflow: hidden;
}

.stat-grid div {
  background: var(--hero-surface);
  padding: 26px 24px;
}

.stat-grid strong {
  display: block;
  font-size: clamp(26px, 2.6vw, 36px);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.stat-grid strong em {
  font-style: normal;
  font-size: 15px;
  color: var(--teal);
  margin-left: 2px;
}

.stat-grid span {
  font-size: 12.5px;
  color: var(--muted-2);
  margin-top: 6px;
  display: block;
}

/* --------------------------------------------------------------- 客户案例 */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.case-grid.case-grid--single {
  grid-template-columns: minmax(0, 1fr);
}

.case-grid--single .case {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(220px, 0.8fr);
  gap: 20px 48px;
  align-items: start;
}

.case-grid--single blockquote {
  max-width: 62ch;
  font-size: 16px;
}

.case-grid--single .case-foot {
  grid-column: 1 / -1;
}

.case-facts {
  margin: 0;
  border-left: 1px solid var(--line);
  padding-left: 32px;
}

.case-facts div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}

.case-facts div:first-child {
  padding-top: 0;
}

.case-facts div:last-child {
  border-bottom: 0;
}

.case-facts dt {
  font-size: 12.5px;
  color: var(--muted);
}

.case-facts dd {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}

.case {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.case:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.case-industry {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}

.case blockquote {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-3);
  flex: 1;
}

.case-foot {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}

.case-foot b {
  color: var(--ink);
  font-weight: 600;
}

/* --------------------------------------------------------------- 技术支持 */
.support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.support-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  background: var(--paper);
  transition: border-color 0.2s ease, transform 0.25s ease;
}

.support-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.support-card svg {
  color: var(--teal);
  margin-bottom: 16px;
}

.support-card h3 {
  font-size: 15.5px;
  margin-bottom: 8px;
}

.support-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.support-card .mono {
  display: block;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.08em;
}

/* --------------------------------------------------------------- CTA / 表单 */
.cta-band {
  background: var(--hero-bg);
  color: var(--hero-ink);
  border-top: 1px solid var(--hero-line-soft);
  padding: 88px 0;
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  gap: 64px;
  align-items: center;
}

.cta-band h2 {
  font-size: clamp(26px, 2.8vw, 40px);
  letter-spacing: -0.03em;
}

.cta-band p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
  max-width: 440px;
}

.cta-points {
  margin-top: 30px;
  display: grid;
  gap: 12px;
}

.cta-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}

.cta-points svg {
  color: var(--teal);
  flex-shrink: 0;
}

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.form-card h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.form-card > p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 7px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  height: 42px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  padding: 0 13px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.field textarea {
  height: 84px;
  padding: 11px 13px;
  resize: vertical;
}

.field select option {
  background: #fff;
  color: var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal);
  background: #fff;
}

.form-card .btn {
  width: 100%;
  margin-top: 8px;
}

.form-hint {
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--muted-2);
  text-align: center;
}

/* -------------------------------------------------------------------- 页脚 */
.site-footer {
  background: var(--hero-bg);
  color: var(--muted);
  border-top: 1px solid var(--hero-line-soft);
  padding: 68px 0 30px;
  font-size: 13.5px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--hero-line-soft);
}

.footer-brand .brand-name strong {
  color: var(--hero-ink);
}

.footer-brand p {
  margin-top: 16px;
  max-width: 280px;
  line-height: 1.8;
  color: var(--muted-2);
  font-size: 13px;
}

.footer-sites {
  margin-top: 8px !important;
  max-width: none !important;
  font-size: 12.5px !important;
  letter-spacing: 0.02em;
  color: var(--muted-2) !important;
}

.footer-sites a {
  color: var(--hero-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--hero-line);
  padding-bottom: 1px;
}

.footer-sites a:hover {
  color: var(--hero-accent);
  border-bottom-color: var(--hero-accent);
}

.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-weight: 500;
  margin-bottom: 16px;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--hero-accent);
}

.footer-bottom {
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted-2);
}

.footer-bottom nav {
  display: flex;
  gap: 22px;
}

/* --------------------------------------------------------- 子页面 Hero */
.page-hero {
  background: var(--hero-bg);
  color: var(--hero-ink);
  border-bottom: 1px solid var(--hero-line-soft);
  padding: calc(var(--header-h) + 68px) 0 72px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, var(--hero-grid) 0 1px, transparent 1px 6px),
    repeating-linear-gradient(0deg, var(--hero-grid) 0 1px, transparent 1px 6px);
  mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 72%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 72%, transparent 100%);
}

.page-hero .wrap {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--muted-2);
  margin-bottom: 28px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--hero-ink);
}

.page-hero h1 {
  font-size: clamp(30px, 3.6vw, 48px);
  max-width: 780px;
  letter-spacing: -0.035em;
}

.page-hero p {
  margin-top: 20px;
  max-width: 640px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.8;
}

.page-hero .hero-meta {
  margin-top: 40px;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  color: var(--muted);
  margin-bottom: 22px;
}

.product-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent, var(--teal-2));
}

/* --------------------------------------------------------- 产品详情布局 */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-item {
  background: var(--paper);
  padding: 30px 28px;
}

.feature-item .num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  display: block;
}

.feature-item h3 {
  font-size: 16px;
  margin-bottom: 9px;
  font-weight: 600;
}

.feature-item p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.75;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.split h2 {
  font-size: clamp(24px, 2.4vw, 34px);
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.split p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.value-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.value-list div {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.value-list strong {
  font-size: 24px;
  letter-spacing: -0.02em;
  min-width: 90px;
  color: var(--accent, var(--teal));
}

.value-list span {
  font-size: 14px;
  color: var(--muted);
}

.scene-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.scene-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--paper);
  transition: border-color 0.2s ease, box-shadow 0.25s ease;
}

.scene-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.scene-card h3 {
  font-size: 15.5px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.scene-card h3::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent, var(--teal));
}

.scene-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.75;
}

.related {
  border-top: 1px solid var(--line);
  padding-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.related span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-right: 8px;
}

.related a {
  font-size: 13.5px;
  padding: 7px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.related a:hover {
  border-color: var(--ink);
  background: var(--mist);
}

/* --------------------------------------------------------- 支持页 FAQ */
.faq {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 22px 40px 22px 0;
  font-size: 15.5px;
  font-family: inherit;
  color: var(--ink);
  cursor: pointer;
  position: relative;
  font-weight: 550;
}

.faq-q::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 300;
  color: var(--muted-2);
  transition: transform 0.25s ease;
}

.faq-item.is-open .faq-q::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-a p {
  padding: 0 40px 22px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

/* --------------------------------------------------------- 产品对照表 */
.matrix-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-x: auto;
  background: var(--paper);
}

.matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 720px;
}

.matrix th,
.matrix td {
  text-align: left;
  padding: 17px 22px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.matrix th {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 500;
  background: var(--mist);
  white-space: nowrap;
}

.matrix tr:last-child td {
  border-bottom: 0;
}

.matrix tbody tr:hover td {
  background: #fbfcfd;
}

.matrix .mono {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.matrix .name {
  font-weight: 600;
}

/* --------------------------------------------------------- 代码块/说明 */
.code-block {
  background: var(--mist);
  color: var(--ink-3);
  border-radius: 10px;
  padding: 18px 20px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.8;
  overflow-x: auto;
  margin: 0;
  border: 1px solid var(--line);
  white-space: pre;
}

.code-block .c {
  color: var(--muted-2);
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.doc-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--paper);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}

.doc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.doc-card span.k {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.doc-card h3 {
  font-size: 16.5px;
  margin-bottom: 9px;
}

.doc-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.75;
  flex: 1;
}

.doc-card .link-arrow {
  margin-top: 20px;
  font-size: 13.5px;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 22px 0 22px 54px;
  border-bottom: 1px solid var(--line);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--teal);
  letter-spacing: 0.08em;
}

.steps b {
  display: block;
  font-size: 15px;
  margin-bottom: 5px;
  font-weight: 600;
}

.steps span {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 860px) {
  .doc-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------- 动效/响应式 */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: #fff;
  padding: 13px 22px;
  border-radius: 10px;
  font-size: 13.5px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 200;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1080px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .chain-card {
    max-width: 640px;
  }

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

  .pcard--wide {
    grid-column: span 2;
  }

  .cap-grid,
  .feature-grid,
  .textile-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .stats-band,
  .cta-grid,
  .tab-panel,
  .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

@media (max-width: 860px) {
  .wrap {
    padding: 0 20px;
  }

  .section {
    padding: 72px 0;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 20px;
    margin: 0;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    box-shadow: 0 24px 40px rgba(8, 11, 16, 0.1);
  }

  .nav a {
    color: var(--ink) !important;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav a::after {
    display: none;
  }

  .nav-open .nav {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav-toggle {
    display: grid;
  }

  .header-actions .btn-ghost {
    display: none;
  }

  .site-header .wrap {
    gap: 12px;
    min-width: 0;
  }

  .brand {
    min-width: 0;
    flex-shrink: 1;
  }

  .brand-name {
    min-width: 0;
  }

  .brand-name strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-actions {
    gap: 8px;
    min-width: 0;
  }

  .header-actions .btn-accent {
    height: 38px;
    padding: 0 13px;
    font-size: 13.5px;
  }

  .nav-toggle {
    flex: 0 0 auto;
  }

  .hero h1 {
    line-height: 1.28;
  }

  .hero {
    padding: calc(var(--header-h) + 52px) 0 64px;
  }

  .hero-meta {
    max-width: none;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 36px;
  }

  .bento,
  .cap-grid,
  .feature-grid,
  .case-grid,
  .support-grid,
  .scene-cards,
  .collab-grid,
  .collab-integration,
  .textile-pillars,
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .case-grid--single .case {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .case-grid--single blockquote {
    max-width: none;
  }

  .case-facts {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 16px 0 0;
  }

  .pcard--wide {
    grid-column: span 1;
  }

  .stats-band,
  .form-card {
    padding: 30px;
  }

  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .hero-meta div {
    padding: 13px 14px;
  }

  .hero-meta strong {
    font-size: 18px;
  }
}

@media (max-width: 640px) {
  .chain-track {
    flex-direction: column;
    gap: 12px;
    margin: 18px 0 16px;
  }

  .chain-track::before {
    display: none;
  }

  .chain-track li:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(135deg);
  }

  .chain-node {
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    padding: 11px 14px;
  }

  .chain-node span {
    font-size: 14px;
  }

  .chain-desc {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .brand-name span {
    display: none;
  }

  .hero h1 {
    font-size: clamp(25px, 7vw, 30px);
    line-height: 1.3;
  }

  .hero-claim {
    font-size: 18px;
  }

  .hero-stats {
    margin-top: 34px;
    grid-template-columns: 1fr;
  }

  .hero-stats > div {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 10px 0;
    border-left: 0;
    border-bottom: 1px solid var(--hero-line-soft);
  }

  .hero-stats > div:last-child {
    border-bottom: 0;
  }

  .hero-stats strong {
    min-width: 34px;
    font-size: 20px;
  }

  .hero-stats span {
    margin-top: 0;
    font-size: 12.5px;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
