/* ============================================================
   HOPOO 中国区官网 · /assets/site.css
   共享层：reset、变量、中文排版、页头页脚、按钮、面包屑、容器、网格、基础组件
   ============================================================ */

:root {
  --paper: #F4F7F6;
  --panel: #FFFFFF;
  --mist: #E4ECEC;
  --line: #CBD9DA;
  --ink: #10232C;
  --ink-2: #405760;
  --teal: #0F7C82;
  --volt: #18C7B7;
  --iris: #6B5AE0;
  --orange: #E87722;
  --orange-soft: #FBE4D1;
  --green: #1F9D6A;
  --cover: #0F232B;

  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 16px;

  --shadow-1: 0 1px 0 rgba(16, 35, 44, .04), 0 10px 26px -20px rgba(16, 35, 44, .55);
  --shadow-2: 0 2px 6px rgba(16, 35, 44, .05), 0 22px 46px -30px rgba(16, 35, 44, .6);

  --font-sans: "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --w: 1180px;
  --header-h: 64px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.018em;
  color: var(--ink);
}
strong { font-weight: 700; }
::selection { background: rgba(24, 199, 183, .32); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--iris);
  outline-offset: 3px;
  border-radius: 4px;
}
.site-footer :focus-visible { outline-color: var(--volt); }

#main-content {
  display: block;
  scroll-margin-top: calc(var(--header-h) + 18px);
}

/* ---------- 排版工具 ---------- */
.mono { font-family: var(--font-mono); font-weight: 600; letter-spacing: .04em; }
.idx {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--iris);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--teal);
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--volt);
}
.display {
  font-size: clamp(38px, 6.2vw, 64px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.06;
}
.section-title { font-size: clamp(26px, 3.4vw, 38px); }
.sub-title { font-size: clamp(19px, 2.2vw, 26px); }
.lead {
  font-size: clamp(16px, 1.5vw, 18.5px);
  line-height: 1.78;
  color: var(--ink-2);
  max-width: 58ch;
}
.prose { max-width: 68ch; }
.prose p { margin-bottom: 1.05em; color: var(--ink-2); }
.prose p:last-child { margin-bottom: 0; }
.prose h3 { font-size: 20px; margin: 1.4em 0 .6em; }
.prose ul { margin: 0 0 1.05em; }
.prose li { position: relative; padding-left: 18px; margin-bottom: .45em; color: var(--ink-2); }
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--volt);
}
.link-inline {
  color: var(--teal);
  border-bottom: 1px solid rgba(15, 124, 130, .38);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.link-inline:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* ---------- 布局 ---------- */
.container {
  width: 100%;
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 820px; }

.section { padding: clamp(42px, 6vw, 76px) 0; }
.section--tight { padding: clamp(26px, 4vw, 44px) 0; }
.section--mist { background: var(--mist); }

.stack { display: grid; gap: 16px; }
.stack--lg { gap: 30px; }

.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--split { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 36px; }

.rule { height: 1px; width: 100%; background: var(--line); border: 0; margin: 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--panel);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease), background .18s var(--ease),
              border-color .18s var(--ease), color .18s var(--ease),
              box-shadow .18s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--orange);
  color: #20140A;
  border-color: rgba(16, 35, 44, .14);
  box-shadow: 0 10px 20px -14px rgba(232, 119, 34, .95);
}
.btn--primary:hover { background: #F08A3C; }

.btn--accent {
  background: var(--volt);
  color: #04211F;
  border-color: rgba(4, 33, 31, .12);
}
.btn--accent:hover { background: #2AD6C6; }

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn--ghost:hover { background: var(--mist); border-color: #B2C7C8; }

.btn--quiet {
  background: var(--mist);
  border-color: transparent;
  color: var(--ink);
}
.btn--quiet:hover { background: #D8E5E5; }

.btn--sm { padding: 9px 14px; font-size: 13px; border-radius: 8px; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: absolute;
  left: 14px;
  top: -60px;
  z-index: 220;
  padding: 10px 16px;
  background: var(--cover);
  color: #F2F8F7;
  font-size: 14px;
  font-weight: 700;
  border-radius: 0 0 8px 8px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

/* ============================================================
   页头：紧凑命令栏
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(244, 247, 246, .94);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(1.25) blur(10px);
  backdrop-filter: saturate(1.25) blur(10px);
}

.header-inner {
  width: 100%;
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 24px;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.brand__mark {
  width: 28px;
  height: 28px;
  border: 1px solid var(--teal);
  border-radius: 8px;
  background: var(--panel);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px #FFFFFF, var(--shadow-1);
}
.brand__dot {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--volt);
  box-shadow: 0 0 0 3px rgba(24, 199, 183, .18);
}
.brand__text { display: flex; flex-direction: column; }
.brand__name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.1;
  color: var(--ink);
}
.brand__tag {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  line-height: 1.2;
  letter-spacing: .02em;
  color: var(--ink-2);
}

.cmd-nav { margin-left: auto; }
.cmd-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}
.cmd-nav__item { display: block; }
.cmd-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  transition: background .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease);
}
.cmd-nav__label { white-space: nowrap; }
.cmd-nav__idx {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--iris);
  opacity: .8;
}
.cmd-nav__link:hover { background: var(--mist); color: var(--ink); }
.cmd-nav__link:hover .cmd-nav__idx { opacity: 1; }

.cmd-nav__link[aria-current="page"] {
  background: var(--cover);
  border-color: var(--cover);
  color: #F2F8F7;
}
.cmd-nav__link[aria-current="page"] .cmd-nav__idx {
  color: var(--volt);
  opacity: 1;
}
.cmd-nav__link[aria-current="page"]:hover {
  background: #17323C;
  border-color: #17323C;
  color: #FFFFFF;
}

.cmd-nav__foot { display: none; }
.cmd-nav__cta { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 12px;
  flex: 0 0 auto;
}
.header-utility {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-2);
  padding: 4px 2px;
  border-bottom: 1px dashed var(--line);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.header-utility:hover { color: var(--teal); border-bottom-color: var(--teal); }
.header-cta { padding: 9px 15px; font-size: 13.5px; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.nav-toggle:hover { background: var(--mist); }
.nav-toggle__bars { width: 16px; display: grid; gap: 4px; }
.nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .22s var(--ease);
}
.site-header[data-open] .nav-toggle { border-color: var(--teal); }
.site-header[data-open] .nav-toggle__bars span:first-child {
  transform: translateY(3px) rotate(45deg);
}
.site-header[data-open] .nav-toggle__bars span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.cmd-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}
.cmd-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--volt));
  transition: width .12s linear;
}

/* ============================================================
   页脚：深墨封面层
   ============================================================ */
.site-footer {
  background: var(--cover);
  color: #D8E6E5;
  border-top: 1px solid rgba(24, 199, 183, .38);
}
.footer-inner {
  width: 100%;
  max-width: var(--w);
  margin: 0 auto;
  padding: 56px 24px 26px;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) minmax(0, 2fr);
  gap: 48px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(203, 217, 218, .16);
}
.footer-brand__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .1em;
  color: #FFFFFF;
}
.footer-brand__link::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--volt);
  box-shadow: 0 0 0 4px rgba(24, 199, 183, .16);
}
.footer-brand__tagline {
  margin: 14px 0 20px;
  max-width: 26ch;
  font-size: 14.5px;
  line-height: 1.72;
  color: #9FB6B8;
}
.footer-brand__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.footer-col__title {
  margin-bottom: 14px;
  padding-left: 9px;
  border-left: 2px solid rgba(24, 199, 183, .55);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.4;
  color: #8FB6B4;
}
.footer-col__list { display: grid; gap: 2px; }
.footer-col__link {
  display: inline-block;
  padding: 5px 0;
  font-size: 14.5px;
  color: #CBDCDB;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.footer-col__link:hover { color: #FFFFFF; border-bottom-color: var(--volt); }

.footer-contact {
  margin-top: 30px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(24, 199, 183, .2);
  border-radius: var(--radius-l);
}
.footer-contact__title {
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  color: #8FB6B4;
}
.footer-contact__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 24px;
}
.footer-contact__item { min-width: 0; }
.footer-contact__label {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .12em;
  color: #7FB6B2;
}
.footer-contact__value {
  display: block;
  font-size: 14.5px;
  line-height: 1.6;
  color: #EAF3F2;
  overflow-wrap: anywhere;
}
.footer-contact__note {
  grid-column: 1 / -1;
  margin-top: 4px;
  padding-top: 13px;
  border-top: 1px dashed rgba(203, 217, 218, .2);
  font-size: 13px;
  line-height: 1.72;
  color: #9FB6B8;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  margin-top: 22px;
  font-size: 12.5px;
  color: #86A0A2;
}
.footer-meta__copy { color: #86A0A2; }
.footer-meta__icp {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: #9FB6B8;
}

/* ============================================================
   面包屑
   ============================================================ */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .02em;
  color: var(--ink-2);
}
.breadcrumbs__link {
  color: var(--teal);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.breadcrumbs__link:hover { color: var(--ink); border-bottom-color: var(--ink); }
.breadcrumbs__sep { color: #A9BFC0; }
.breadcrumbs__current { color: var(--ink); font-weight: 600; }

/* ============================================================
   基础组件：面板 / 卡片 / 步骤条 / 展开组 / 图片容器
   ============================================================ */
.panel {
  position: relative;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-1);
}
.panel--offset { margin-left: clamp(0px, 2.4vw, 34px); }
.panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.panel__head > :last-child { margin-left: auto; }

.card {
  position: relative;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-1);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card:hover {
  transform: translateY(-2px);
  border-color: #B6CBCB;
  box-shadow: var(--shadow-2);
}
.card__kicker {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--iris);
}
.card__title { font-size: 18px; margin-bottom: 8px; }
.card__text { font-size: 14px; line-height: 1.72; color: var(--ink-2); }

.step-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}
.step {
  position: relative;
  padding: 20px 22px 22px;
  border-right: 1px solid var(--line);
}
.step:last-child { border-right: 0; }
.step::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--volt));
  opacity: .55;
}
.step__num {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--teal);
}
.step__title { font-size: 16px; margin-bottom: 6px; }
.step__text { font-size: 13.5px; line-height: 1.72; color: var(--ink-2); }

.acc { display: grid; gap: 10px; }
.acc__item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-1);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.acc__item[data-expanded] { border-color: rgba(15, 124, 130, .5); background: #FBFDFD; }
.acc__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  background: transparent;
  border: 0;
  border-radius: var(--radius-m);
  text-align: left;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}
.acc__trigger::after {
  content: "+";
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--teal);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: transform .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
}
.acc__item[data-expanded] .acc__trigger::after {
  content: "−";
  color: var(--volt);
  border-color: rgba(24, 199, 183, .6);
}
.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows .24s var(--ease), visibility .24s var(--ease);
}
.acc__item[data-expanded] .acc__panel {
  grid-template-rows: 1fr;
  visibility: visible;
}
.acc__inner {
  overflow: hidden;
  padding: 0 18px;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--ink-2);
}
.acc__item[data-expanded] .acc__inner { padding-bottom: 18px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  background: var(--mist);
  color: var(--ink-2);
  border: 1px solid var(--line);
}
.badge--volt { background: rgba(24, 199, 183, .16); border-color: rgba(24, 199, 183, .45); color: #0B5E5A; }
.badge--iris { background: rgba(107, 90, 224, .12); border-color: rgba(107, 90, 224, .35); color: #41348F; }
.badge--orange { background: var(--orange-soft); border-color: rgba(232, 119, 34, .38); color: #8A4310; }
.tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 5px;
  background: var(--mist);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--ink-2);
}

.media-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(155deg, #FFFFFF 0%, #E9F1F0 58%, #DDEAEA 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-1);
}
.media-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 4 / 3; }
.media-frame--tablet { aspect-ratio: 3 / 4; max-width: 420px; }
.media-frame__slot {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .14em;
  color: #7E9598;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: .6;
}
.media-frame__caption {
  display: block;
  margin-top: 9px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--ink-2);
}

.annotation {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-2);
}
.annotation::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--volt);
}
.annotation__line {
  display: block;
  height: 1px;
  margin: 10px 0;
  background: var(--line);
}

.list-check { display: grid; gap: 10px; }
.list-check li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--ink-2);
}
.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
}

.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  font-size: 14px;
}
.compare th,
.compare td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.compare thead th {
  background: var(--mist);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--ink-2);
}
.compare tbody tr:last-child td { border-bottom: 0; }

/* ---------- 显现（配合 site.js） ---------- */
html.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .26s var(--ease), transform .26s var(--ease);
}
html.js-ready [data-reveal].is-in { opacity: 1; transform: none; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1200px) {
  .header-utility { display: none; }
}

@media (max-width: 1080px) {
  .header-cta { display: none; }
  .cmd-nav__link { padding: 8px 9px; font-size: 13.5px; }
}

@media (max-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--split { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 34px; }
}

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .header-inner { padding: 0 18px; gap: 12px; }

  .cmd-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    margin: 0;
    padding: 12px 18px 22px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s var(--ease);
  }
  .site-header[data-open] .cmd-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .cmd-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .cmd-nav__link {
    width: 100%;
    padding: 14px 10px;
    gap: 12px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 16.5px;
  }
  .cmd-nav__link:hover { background: var(--mist); }
  .cmd-nav__idx { min-width: 28px; font-size: 12px; }
  .cmd-nav__link[aria-current="page"] {
    border-bottom-color: var(--cover);
    border-radius: 8px;
  }
  .cmd-nav__foot { display: block; margin-top: 18px; }

  html.nav-open,
  html.nav-open body { overflow: hidden; }
}

@media (max-width: 760px) {
  .container { padding: 0 18px; }
  .grid--2,
  .grid--3 { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { padding: 42px 18px 22px; }
  .footer-cols { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .footer-contact { padding: 18px; }
  .footer-contact__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .panel { padding: 20px; }
  .panel--offset { margin-left: 0; }
  .card { padding: 18px; }
}

@media (max-width: 720px) {
  .step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .step:last-child { border-bottom: 0; }
}

@media (max-width: 520px) {
  .brand__tag { display: none; }
  .footer-meta { flex-direction: column; align-items: flex-start; }
}

/* ---------- 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .btn:hover,
  .card:hover { transform: none; }
  html.js-ready [data-reveal] { opacity: 1; transform: none; }
  .acc__panel { transition: none; }
}
