/* ==========================================================================
   Cloud Memory Hub — 产品主页
   设计体系：单一强调色（Action Blue）+ 明暗区块交替 + 极轻的界面装饰
   ========================================================================== */

:root {
  /* 颜色 */
  --blue: #0066cc;
  --blue-hover: #0071e3;
  --blue-on-dark: #2997ff;
  --ink: #1d1d1f;
  --ink-soft: #333333;
  --muted: #7a7a7a;
  --muted-2: #a0a0a4;
  --canvas: #ffffff;
  --parchment: #f5f5f7;
  --pearl: #fafafc;
  --tile-1: #272729;
  --tile-2: #2a2a2c;
  --tile-deep: #201f1e;
  --hairline: #e0e0e0;
  --divider: #d2d2d7;
  --icon-bg: #edf4fd;

  /* 字体 */
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
          "Noto Sans SC", sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  /* 尺寸 */
  --wrap: 1200px;
  --gap: 24px;
  --radius: 18px;
  --section-y: 92px;
}

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

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

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; text-wrap: balance; }
a { color: var(--blue); text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: 10px 16px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--blue-hover);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 通用排版 ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}
.eyebrow--dark { color: var(--blue-on-dark); }

h1 {
  font-size: clamp(32px, 4.3vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.018em;
}

h2 {
  font-size: clamp(27px, 3.1vw, 40px);
  line-height: 1.24;
  letter-spacing: -0.012em;
}

h3 { font-size: 19px; letter-spacing: -0.01em; }

.lead {
  font-size: clamp(17px, 1.65vw, 24px);
  line-height: 1.58;
  color: var(--muted);
  letter-spacing: 0;
  text-wrap: pretty;
}
.lead--dark { color: #cccccc; }

.sub {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.58;
  color: var(--muted);
  letter-spacing: 0;
  max-width: 44em;
  text-wrap: balance;
}

.head { display: flex; flex-direction: column; gap: 16px; }
.head--center { align-items: center; text-align: center; }
.head--center .lead { max-width: 38em; }
.head--center h2 { max-width: 26em; }

/* ---------- 按钮 ---------- */
.btnrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 17px;
  line-height: 1;
  transition: background .2s ease, transform .12s ease;
}
.btn:hover { background: var(--blue-hover); }
.btn:active { transform: scale(.97); }
.btn--sm { padding: 8px 16px; font-size: 14px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 17px;
  color: var(--blue);
  transition: opacity .2s ease;
}
.link-arrow svg { transition: transform .2s ease; }
.link-arrow:hover { opacity: .75; }
.link-arrow:hover svg { transform: translateX(3px); }
.link-arrow--sm { font-size: 14px; }
.link-arrow--dark { color: var(--blue-on-dark); }

/* ---------- 导航 ---------- */
.nav {
  background: #000;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.nav__brand span { white-space: nowrap; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__links a {
  color: #cccccc;
  font-size: 12px;
  letter-spacing: 0;
  transition: color .2s ease;
}
.nav__links a:hover { color: #fff; }
.nav__links .nav__dl { color: var(--blue-on-dark); font-weight: 500; }

.subnav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 245, 247, .82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.subnav.is-scrolled {
  border-bottom-color: rgba(0, 0, 0, .08);
  background: rgba(245, 245, 247, .92);
}
.subnav__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.subnav__name {
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.subnav__links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.subnav__links a {
  color: var(--ink);
  font-size: 14px;
  letter-spacing: 0;
}
.subnav__links a:not(.btn):hover { color: var(--blue); }
.subnav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  position: relative;
}
.subnav__toggle span {
  position: absolute;
  left: 10px;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .25s ease, opacity .2s ease;
}
.subnav__toggle span:first-child { top: 16px; }
.subnav__toggle span:last-child { top: 23px; }
.subnav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.subnav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: 76px 0 0;
  text-align: center;
  overflow: hidden;
}
.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.hero__copy h1 { max-width: 20em; }
.hero__copy .lead { max-width: 820px; }
.hero__actions {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.agents {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0;
}
.hero__visual { margin-top: 40px; }
.hero__visual img {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  height: auto;
}
.br-m { display: none; }

/* ---------- 区块容器 ---------- */
.tile { padding: var(--section-y) 0; }
.tile--white { background: var(--canvas); }
.tile--parchment { background: var(--parchment); }
.tile--dark { background: var(--tile-1); }
.tile--dark2 { background: var(--tile-2); }
.tile--tight { padding: calc(var(--section-y) - 6px) 0; }

.tile--dark, .tile--dark2 { color: #fff; }
.tile--dark h2, .tile--dark2 h2 { color: #fff; }

/* ---------- 接续（深色） ---------- */
.handoff {
  margin-top: 52px;
  display: grid;
  grid-template-columns: 412px auto 412px;
  justify-content: center;
  align-items: center;
  gap: 0;
}
.win {
  background: var(--tile-2);
  border: 1px solid #3d3d3f;
  border-radius: 14px;
  overflow: hidden;
  height: 250px;
  display: flex;
  flex-direction: column;
}
.win__bar {
  height: 36px;
  background: #303032;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  flex: none;
}
.win__bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4a4a4c;
}
.win__bar span {
  font-size: 11px;
  color: #9a9a9e;
  letter-spacing: .02em;
  margin-left: 2px;
}
.win__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.win__body--tight { padding: 14px 16px; gap: 10px; }
.win__meta { font-size: 10px; color: #7a7a7e; letter-spacing: .04em; }
.bubble {
  background: #34343a;
  border-radius: 12px;
  padding: 11px 13px;
  font-size: 12px;
  line-height: 1.6;
  color: #e2e2e4;
}
.win__reply {
  font-size: 12px;
  line-height: 1.65;
  color: #a8a8ac;
}
.cmd {
  font-family: var(--mono);
  font-size: 11px;
  color: #8a8a8e;
}
.memo {
  background: #1e1e20;
  border: 1px solid var(--blue-on-dark);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.memo__title {
  font-size: 10px;
  font-weight: 500;
  color: var(--blue-on-dark);
  letter-spacing: .03em;
}
.memo__line { font-size: 11px; line-height: 1.55; color: #cccccc; }

.sync {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 64px;
}
.sync__line { width: 1px; height: 86px; background: #3a3a3c; display: block; }
.sync__chip {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue);
  display: grid;
  place-items: center;
  flex: none;
}
.sync__time {
  font-family: var(--mono);
  font-size: 10px;
  color: #8a8a8e;
  letter-spacing: .03em;
}

/* ---------- 特性卡片 ---------- */
.cards {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.cards--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-2px); }
.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--icon-bg);
  display: grid;
  place-items: center;
  flex: none;
  margin-bottom: 22px;
}
.card:not(.card--flat) h3 { margin-bottom: 8px; }
.card p { font-size: 15px; line-height: 1.68; color: var(--muted); letter-spacing: 0; text-wrap: pretty; }

.card--flat { background: var(--pearl); gap: 12px; padding: 26px; }
.card__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--muted);
  text-transform: uppercase;
}
.card__title { font-size: 19px; letter-spacing: -0.01em; }
.card__desc { font-size: 14px; line-height: 1.65; color: var(--muted); }
.card__meta { font-size: 12px; color: var(--muted-2); margin-top: 2px; }

/* ---------- 数据条 ---------- */
.stats {
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--divider);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat b {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat span { font-size: 13px; color: var(--muted); letter-spacing: 0; }

/* ---------- 三步 ---------- */
.steps {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--divider);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  align-items: start;
}
.step { display: flex; flex-direction: column; gap: 10px; }
.step b {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--blue);
}
.step h3 { font-size: 21px; letter-spacing: -0.012em; }
.step p { font-size: 15px; line-height: 1.68; color: var(--muted); letter-spacing: 0; text-wrap: pretty; }

/* ---------- 管理后台 ---------- */
.console {
  margin-top: 46px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  overflow: hidden;
  font-size: 12px;
}
.console__bar {
  height: 44px;
  background: var(--pearl);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
}
.dots { display: flex; gap: 6px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--divider); }
.console__title { font-size: 11px; color: var(--muted); letter-spacing: .02em; }
.console__status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--muted);
  font-family: var(--mono);
}
.console__status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}
.console__body {
  display: grid;
  grid-template-columns: 196px 1fr 286px;
  height: 556px;
}

.side {
  background: var(--pearl);
  border-right: 1px solid #efeff2;
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.side a {
  height: 32px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 8px;
  color: #5a5a5e;
  font-size: 12px;
  letter-spacing: 0;
}
.side a.is-active {
  background: #e8f1fc;
  color: var(--blue);
  font-weight: 500;
}
.side__devices {
  margin-top: auto;
  background: #fff;
  border: 1px solid #ededf0;
  border-radius: 9px;
  padding: 10px 11px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.side__label { font-size: 9px; color: var(--muted-2); letter-spacing: .06em; }
.side__devices p:not(.side__label) { font-size: 10px; color: #5a5a5e; letter-spacing: 0; }

.main {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.main__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.main__head h3 { font-size: 14px; }
.main__head span { font-size: 11px; color: var(--muted-2); letter-spacing: 0; }

.search {
  height: 34px;
  border-radius: 999px;
  background: var(--parchment);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  color: var(--muted-2);
  font-size: 12px;
}
.chips { display: flex; gap: 8px; }
.chip {
  border-radius: 999px;
  padding: 5px 12px;
  background: var(--parchment);
  border: 1px solid #e6e6e9;
  color: #5a5a5e;
  font-size: 11px;
  letter-spacing: 0;
}
.chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.mems {
  border-top: 1px solid #ededf0;
  display: flex;
  flex-direction: column;
}
.mems li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  height: 58px;
  border-bottom: 1px solid #ededf0;
  padding: 0 2px;
}
.mems li > div { min-width: 0; }
.mems__title {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mems__meta { font-size: 10px; color: var(--muted-2); letter-spacing: 0; margin-top: 3px; }
.badge {
  font-size: 10px;
  color: var(--muted);
  background: var(--parchment);
  border-radius: 6px;
  padding: 3px 7px;
  white-space: nowrap;
}
.mems__time { font-size: 10px; color: var(--muted-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mems__foot {
  margin-top: auto;
  text-align: center;
  font-size: 10px;
  color: var(--muted-2);
  padding-bottom: 4px;
}

.detail {
  background: var(--pearl);
  border-left: 1px solid #efeff2;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.detail__label { font-size: 10px; font-weight: 500; color: var(--muted-2); letter-spacing: .12em; }
.detail__title { font-size: 12px; font-weight: 600; line-height: 1.5; letter-spacing: 0; }
.detail__meta { font-size: 10px; color: var(--muted-2); letter-spacing: 0; }
.detail__rule { height: 1px; background: #e8e8ec; display: block; }
.detail__sync { font-size: 9px; line-height: 1.5; color: var(--muted-2); letter-spacing: 0; }
.src {
  background: #fff;
  border: 1px solid #ededf0;
  border-radius: 8px;
  padding: 8px 10px;
}
.src p { font-size: 10px; color: var(--muted-2); letter-spacing: 0; }
.src b { font-size: 11px; font-weight: 400; color: var(--ink); letter-spacing: 0; }
.mono { font-family: var(--mono); }

.detail__actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
  padding-top: 8px;
}
.pill {
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 11px;
}
.pill--blue { background: var(--blue); color: #fff; font-weight: 500; }
.pill--ghost { background: #fff; border: 1px solid var(--hairline); color: var(--ink); }
.detail__note { font-size: 9px; line-height: 1.5; color: var(--muted-2); letter-spacing: 0; }

/* ---------- 治理（深色） ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 512px;
  gap: 84px;
  align-items: center;
}
.split__copy { display: flex; flex-direction: column; gap: 18px; }
.split__copy h2 { color: #fff; }
.checks { display: flex; flex-direction: column; gap: 12px; margin-top: 2px; }
.checks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: #cccccc;
  letter-spacing: 0;
  text-wrap: pretty;
}
.checks svg { flex: none; margin-top: 5px; }

.gov {
  background: #313134;
  border: 1px solid #454547;
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.gov__label { font-size: 11px; font-weight: 500; color: #8a8a8e; letter-spacing: .14em; }
.gov__rule { height: 1px; background: #3e3e42; display: block; }
.gov__opt { display: flex; flex-direction: column; gap: 7px; }
.gov__h {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
}
.tag {
  font-size: 9px;
  font-weight: 400;
  color: #c7c7cc;
  background: #3e3e42;
  border-radius: 5px;
  padding: 2px 6px;
  letter-spacing: 0;
}
.gov__d { font-size: 12px; line-height: 1.65; color: #a8a8ac; letter-spacing: 0; }
.gov__note { font-size: 10px; line-height: 1.6; color: #8a8a8e; letter-spacing: 0; }

/* ---------- 代码块 ---------- */
.code {
  position: relative;
  background: var(--ink);
  border-radius: 12px;
  padding: 14px 16px;
}
.code pre {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  color: #e8e8ea;
}
.c-dim { color: #a8a8ac; }
.c-cmd { color: #e8e8ea; }
.c-ok { color: var(--blue-on-dark); }
.code__copy {
  position: absolute;
  top: 8px;
  right: 8px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
  color: #cccccc;
  font-size: 10px;
  border-radius: 6px;
  padding: 3px 8px;
  cursor: pointer;
  opacity: 0;
  transition: opacity .2s ease, background .2s ease;
}
.code:hover .code__copy,
.code__copy:focus-visible { opacity: 1; }
.code__copy:hover { background: rgba(255, 255, 255, .14); }

.reqs {
  margin-top: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.reqs p { font-size: 13px; color: var(--muted); letter-spacing: 0; }

/* ---------- 技术规格 ---------- */
.specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--divider);
}
.specs + .specs { margin-top: 34px; padding-top: 30px; }
.spec { display: flex; flex-direction: column; gap: 8px; }
.spec p {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .12em;
}
.spec b {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  letter-spacing: 0;
}

/* ---------- 结尾 CTA ---------- */
.cta {
  background: var(--tile-deep);
  padding-top: var(--section-y);
  overflow: hidden;
}
.cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  padding-bottom: 64px;
}
.cta__inner h2 { color: #fff; }
.cta__note { font-size: 13px; color: #8a8a8e; letter-spacing: 0; }
.cta__band {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- 页脚 ---------- */
.foot {
  background: var(--parchment);
  padding: 64px 0 36px;
}
.foot__top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.foot__brand { max-width: 340px; display: flex; flex-direction: column; gap: 10px; }
.foot__name { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.foot__tag { font-size: 13px; color: var(--muted); letter-spacing: 0; }
.foot__cols { display: flex; gap: 64px; }
.foot__cols > div { display: flex; flex-direction: column; gap: 11px; }
.foot__h { font-size: 12px; font-weight: 500; letter-spacing: 0; margin-bottom: 1px; }
.foot__cols a { font-size: 12px; color: var(--muted); letter-spacing: 0; }
.foot__cols a:hover { color: var(--ink); }
.foot__bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid #d8d8dd;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.foot__bottom p { font-size: 11px; color: var(--muted); letter-spacing: 0; }
.foot__bottom p:last-child { color: var(--muted-2); }

/* ---------- 入场动效（仅在 JS 可用时隐藏初始状态） ---------- */
.reveal {
  transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1);
}
html.js .reveal { opacity: 0; transform: translateY(18px); }
html.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   响应式
   ========================================================================== */

@media (max-width: 1180px) {
  .split { grid-template-columns: 1fr 440px; gap: 56px; }
  .handoff { grid-template-columns: 1fr auto 1fr; max-width: 900px; margin-inline: auto; }
  .win { height: auto; min-height: 232px; }
  .sync__line { height: 68px; }
}

@media (max-width: 1024px) {
  :root { --section-y: 76px; }
  .wrap { padding: 0 28px; }
  .nav { padding: 0 28px; }
  .subnav__inner { padding: 0 28px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .gov { max-width: 560px; }
  .console__body { grid-template-columns: 180px 1fr; height: auto; }
  .detail { display: none; }
  .main { padding: 18px 18px 20px; }
  .console { font-size: 12px; }
}

@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .cards--2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .specs { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }

  .handoff {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 460px;
  }
  .win { min-height: 0; }
  .sync {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    padding: 14px 0;
  }
  .sync__line { width: 1px; height: 26px; }
  .sync__time { margin-left: 8px; }
}

@media (max-width: 820px) {
  .nav__links a:not(.nav__dl) { display: none; }
  .subnav__links .btn { display: none; }
  .subnav__links a:not(.btn) { display: none; }
  .subnav__toggle { display: block; }

  .subnav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(245, 245, 247, .98);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 28px 18px;
    display: none;
  }
  .subnav__links.is-open { display: flex; }
  .subnav__links a:not(.btn) {
    display: block;
    padding: 13px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
  }
  .subnav__links .btn {
    display: inline-flex;
    margin-top: 14px;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  :root { --section-y: 60px; }
  .wrap { padding: 0 20px; }
  .nav { padding: 0 20px; height: 44px; }
  .nav__brand span { font-size: 11px; }
  .subnav__inner { padding: 0 20px; height: 52px; }
  .subnav__links { padding: 8px 20px 18px; }

  .hero { padding-top: 56px; }
  .hero__copy h1 { font-size: clamp(28px, 8.4vw, 40px); }
  .br-m { display: inline; }
  .hero__actions { margin-top: 32px; }
  .hero__visual { margin-top: 32px; }
  .agents { font-size: 12px; line-height: 1.8; }

  .btnrow { gap: 18px; }
  .btn { padding: 11px 22px; font-size: 16px; }
  .link-arrow { font-size: 16px; }

  .handoff { margin-top: 36px; }
  .console { border-radius: 12px; }
  .console__body { grid-template-columns: 1fr; }
  .side { display: none; }
  .mems li { grid-template-columns: 1fr auto; row-gap: 2px; }
  .mems .badge { display: none; }
  .mems__foot { padding: 14px 0 4px; }

  .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
  .stat b { font-size: 24px; }

  .console__status { display: none; }

  .specs { grid-template-columns: 1fr; gap: 22px; }

  .foot__cols { gap: 36px; flex-wrap: wrap; }
  .foot { padding: 48px 0 28px; }
  .foot__bottom { flex-direction: column; gap: 8px; }

  .code { padding: 36px 14px 14px; }
  .code pre { font-size: 10.5px; }
  .code__copy { opacity: 1; }

  .cta__band { height: 220px; object-fit: cover; object-position: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .card { transition: none; }
  .card:hover { transform: none; }
  .link-arrow svg { transition: none; }
}

/* 锚点定位时避开吸顶导航 */
section[id], div[id] { scroll-margin-top: 72px; }

@media print {
  .nav, .subnav { display: none; }
  html.js .reveal { opacity: 1; transform: none; }
  .cta, .tile--dark, .tile--dark2 { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
