/* ==========================================================================
   HOPOO 品牌站 · 共享样式 /assets/site.css
   技术蓝图网格 + 高原纸面笔记：暖纸底、天青坐标线、墨黑粗边、硬阴影
   ========================================================================== */

/* ---------- 1. 重置 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body { margin: 0; }

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }

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

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

input, select, textarea { font: inherit; color: inherit; }

table { border-collapse: collapse; width: 100%; }

[hidden] { display: none !important; }

/* ---------- 2. 变量 ---------- */
:root {
  --hp-ink: #111418;
  --hp-ink-blue: #0E1B26;
  --hp-sky: #1F6F8B;
  --hp-sky-soft: #DCEDF3;
  --hp-paper: #F4EFE6;
  --hp-white: #FFFFFF;
  --hp-orange: #E4711A;
  --hp-saffron: #9B2C2C;
  --hp-slate: #5A6B7A;
  --hp-teal: #2E8C86;

  --hp-line: rgba(31, 111, 139, 0.26);
  --hp-line-hard: rgba(17, 20, 24, 0.16);
  --hp-on-dark: rgba(255, 255, 255, 0.78);

  --hp-shadow: 6px 6px 0 var(--hp-ink);
  --hp-shadow-sky: 10px 10px 0 var(--hp-sky);

  --hp-shell: 1220px;
  --hp-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --hp-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --hp-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --hp-radius: 2px;
}

/* ---------- 3. 中文排版与页面底纹 ---------- */
body {
  background-color: var(--hp-paper);
  background-image:
    linear-gradient(to right, rgba(31, 111, 139, 0.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31, 111, 139, 0.09) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: -1px -1px;
  color: var(--hp-ink);
  font-family: var(--hp-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--hp-ink-blue);
}

strong, b { font-weight: 700; }

code, kbd, samp, .hp-mono { font-family: var(--hp-mono); }

:focus-visible {
  outline: 3px solid var(--hp-orange);
  outline-offset: 2px;
}

.hp-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  background: var(--hp-ink-blue);
  color: var(--hp-white);
  border: 2px solid var(--hp-orange);
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 700;
}

.hp-skip:focus {
  left: 12px;
  top: 12px;
}

/* ---------- 4. 容器与栅格 ---------- */
.hp-shell {
  width: 100%;
  max-width: var(--hp-shell);
  margin-inline: auto;
  padding-inline: 24px;
}

.hp-main { display: block; }

.hp-section {
  padding-block: clamp(48px, 7vw, 88px);
}

.hp-section + .hp-section {
  border-top: 1px solid var(--hp-line);
}

.hp-section__head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 20px 40px;
  align-items: end;
  margin-bottom: clamp(26px, 4vw, 44px);
}

.hp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--hp-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hp-sky);
}

.hp-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  flex: none;
  background: var(--hp-orange);
}

.hp-section-title {
  margin-top: 12px;
  font-size: clamp(28px, 4.4vw, 52px);
  color: var(--hp-ink-blue);
}

.hp-lede {
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--hp-slate);
  max-width: 36em;
}

.hp-prose {
  max-width: 70ch;
  font-size: 17px;
  line-height: 1.85;
  color: var(--hp-ink);
}

.hp-prose > * + * { margin-top: 1em; }

.hp-num {
  display: inline-block;
  font-family: var(--hp-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--hp-sky);
  background: var(--hp-sky-soft);
  border: 1px solid var(--hp-line);
  padding: 2px 8px;
  border-radius: var(--hp-radius);
}

.hp-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

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

.hp-rule {
  position: relative;
  display: block;
  height: 2px;
  background: var(--hp-line);
  overflow: hidden;
}

.hp-rule::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--hp-sky), var(--hp-teal));
  transform: scaleX(1);
  transform-origin: left center;
  transition: transform 0.9s var(--hp-ease);
}

.hp-js .hp-rule[data-reveal]:not([data-revealed])::after { transform: scaleX(0); }

/* ---------- 5. 按钮 ---------- */
.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 2px solid transparent;
  border-radius: var(--hp-radius);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    transform 0.2s var(--hp-ease),
    box-shadow 0.2s var(--hp-ease),
    background-color 0.2s var(--hp-ease),
    color 0.2s var(--hp-ease),
    border-color 0.2s var(--hp-ease);
}

.hp-btn--cta {
  background: var(--hp-saffron);
  border-color: var(--hp-saffron);
  color: var(--hp-white);
}

.hp-btn--cta:hover {
  background: #7f2222;
  border-color: #7f2222;
}

.hp-btn--sky {
  background: var(--hp-sky);
  border-color: var(--hp-sky);
  color: var(--hp-white);
}

.hp-btn--sky:hover { background: #175a72; border-color: #175a72; }

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

.hp-btn--ghost:hover {
  background: var(--hp-ink);
  color: var(--hp-white);
}

.hp-btn--cta:hover,
.hp-btn--sky:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--hp-ink);
}

/* ---------- 6. 卡片 / 标签 / 图片容器 ---------- */
.hp-card {
  position: relative;
  background: var(--hp-white);
  border: 2px solid var(--hp-ink);
  box-shadow: var(--hp-shadow);
  padding: 24px;
  transition:
    transform 0.2s var(--hp-ease),
    box-shadow 0.2s var(--hp-ease),
    border-color 0.2s var(--hp-ease);
}

.hp-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--hp-shadow-sky);
  border-color: var(--hp-sky);
}

.hp-card__title {
  font-size: 21px;
  line-height: 1.35;
  color: var(--hp-ink-blue);
}

.hp-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-family: var(--hp-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--hp-slate);
}

.hp-card__body {
  margin-top: 12px;
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--hp-slate);
}

.hp-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-radius);
  background: var(--hp-sky-soft);
  color: var(--hp-sky);
  font-family: var(--hp-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hp-tag--orange {
  background: rgba(228, 113, 26, 0.14);
  border-color: rgba(228, 113, 26, 0.42);
  color: #9c4a0b;
}

.hp-tag--saffron {
  background: rgba(155, 44, 44, 0.12);
  border-color: rgba(155, 44, 44, 0.4);
  color: var(--hp-saffron);
}

.hp-tag--ink {
  background: var(--hp-ink-blue);
  border-color: var(--hp-ink-blue);
  color: var(--hp-white);
}

.hp-media {
  position: relative;
  border: 2px solid var(--hp-ink);
  background: var(--hp-sky-soft);
  overflow: hidden;
}

.hp-media__img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background:
    linear-gradient(135deg, rgba(31, 111, 139, 0.22), rgba(46, 140, 134, 0.1)),
    var(--hp-sky-soft);
}

.hp-media--wide .hp-media__img { aspect-ratio: 21 / 9; }
.hp-media--tall .hp-media__img { aspect-ratio: 4 / 5; }

.hp-media__caption {
  display: block;
  padding: 10px 14px;
  border-top: 2px solid var(--hp-ink);
  background: var(--hp-white);
  font-family: var(--hp-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--hp-slate);
}

/* ---------- 7. 面包屑 / 折叠面板 ---------- */
.hp-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-block: 16px;
  font-family: var(--hp-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--hp-slate);
}

.hp-breadcrumb a { color: var(--hp-sky); }
.hp-breadcrumb a:hover { text-decoration: underline; }

.hp-breadcrumb__sep {
  color: var(--hp-line-hard);
  user-select: none;
}

.hp-accordion {
  border: 2px solid var(--hp-ink);
  background: var(--hp-white);
}

.hp-accordion__item + .hp-accordion__item {
  border-top: 1px solid var(--hp-line);
}

.hp-accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 20px;
  text-align: left;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--hp-ink-blue);
  transition: background-color 0.2s var(--hp-ease), color 0.2s var(--hp-ease);
}

.hp-accordion__trigger:hover { background: var(--hp-sky-soft); }

.hp-accordion__trigger::after {
  content: "+";
  flex: none;
  font-family: var(--hp-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--hp-orange);
}

.hp-accordion__trigger[aria-expanded="true"]::after { content: "–"; }

.hp-accordion__panel {
  padding: 0 20px 20px;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--hp-slate);
  border-left: 4px solid var(--hp-sky);
  margin-left: 20px;
  margin-right: 20px;
}

/* ---------- 8. 进入视口显现 ---------- */
.hp-js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
}

.hp-js [data-reveal][data-revealed] {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.55s var(--hp-ease),
    transform 0.55s var(--hp-ease);
}

/* ---------- 9. 页头 ---------- */
.hp-header {
  position: relative;
  z-index: 60;
}

.hp-command {
  background: var(--hp-ink-blue);
  color: var(--hp-white);
  border-bottom: 2px solid var(--hp-ink);
}

.hp-command__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding-block: 10px;
}

.hp-brand { flex: none; }

.hp-brand__link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hp-brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  background: var(--hp-sky);
  color: var(--hp-white);
  border: 2px solid var(--hp-white);
  font-family: var(--hp-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hp-brand__text { display: block; }

.hp-brand__name {
  display: block;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--hp-white);
  white-space: nowrap;
}

.hp-brand__tagline {
  display: block;
  font-family: var(--hp-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.62);
  white-space: nowrap;
}

.hp-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
}

.hp-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.hp-nav__item { flex: none; }

.hp-nav__link {
  position: relative;
  display: inline-block;
  padding: 9px 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--hp-on-dark);
  transition: color 0.2s var(--hp-ease), background-color 0.2s var(--hp-ease);
}

.hp-nav__link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--hp-orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s var(--hp-ease);
}

.hp-nav__link:hover,
.hp-nav__link:focus-visible { color: var(--hp-white); }

.hp-nav__link:hover::after,
.hp-nav__link:focus-visible::after { transform: scaleX(1); }

.hp-nav__link[aria-current="page"] {
  color: var(--hp-white);
  background: rgba(31, 111, 139, 0.55);
}

.hp-nav__link[aria-current="page"]::after { transform: scaleX(1); }

.hp-command__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.hp-navtoggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: var(--hp-white);
  font-size: 13px;
  font-weight: 700;
  transition: border-color 0.2s var(--hp-ease), background-color 0.2s var(--hp-ease);
}

.hp-navtoggle:hover,
.hp-navtoggle[aria-expanded="true"] { border-color: var(--hp-orange); }

.hp-navtoggle__bars {
  display: grid;
  gap: 4px;
  width: 18px;
}

.hp-navtoggle__bars span {
  display: block;
  height: 2px;
  background: currentColor;
}

.hp-navtoggle__label { letter-spacing: 0.06em; }

/* 索引带 */
.hp-indexbar {
  background: var(--hp-white);
  border-bottom: 2px solid var(--hp-ink);
}

.hp-indexbar__inner {
  display: flex;
  align-items: stretch;
  gap: 18px;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.hp-indexbar__label {
  display: flex;
  align-items: center;
  flex: none;
  padding: 13px 14px 13px 0;
  border-right: 1px solid var(--hp-line);
  font-family: var(--hp-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--hp-slate);
  white-space: nowrap;
}

.hp-indexbar__list {
  display: flex;
  align-items: stretch;
  flex: 1 1 auto;
  min-width: 0;
}

.hp-indexbar__item { flex: none; display: flex; }

.hp-indexbar__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border-bottom: 3px solid transparent;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--hp-ink-blue);
  white-space: nowrap;
  transition:
    border-color 0.2s var(--hp-ease),
    background-color 0.2s var(--hp-ease),
    color 0.2s var(--hp-ease);
}

.hp-indexbar__link:hover,
.hp-indexbar__link:focus-visible {
  border-bottom-color: var(--hp-orange);
  background: var(--hp-sky-soft);
  color: var(--hp-sky);
}

.hp-indexbar__no {
  font-family: var(--hp-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--hp-sky);
  background: var(--hp-sky-soft);
  padding: 1px 5px;
  border-radius: var(--hp-radius);
}

.hp-indexbar__issue {
  display: flex;
  align-items: center;
  flex: none;
  margin-left: auto;
  padding-inline: 12px;
  background: var(--hp-ink-blue);
  color: var(--hp-white);
  font-family: var(--hp-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* 滚动进度 */
.hp-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  overflow: hidden;
  pointer-events: none;
}

.hp-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--hp-orange);
  transform: scaleX(0);
  transform-origin: left center;
}

/* ---------- 10. 页脚 ---------- */
.hp-footer {
  position: relative;
  background: var(--hp-ink-blue);
  color: var(--hp-on-dark);
  border-top: 4px solid var(--hp-ink);
}

.hp-footer::before {
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(
    90deg,
    var(--hp-sky) 0 25%,
    var(--hp-orange) 25% 50%,
    var(--hp-saffron) 50% 75%,
    var(--hp-teal) 75% 100%
  );
}

.hp-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.4fr);
  gap: 40px 56px;
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(32px, 4vw, 48px);
}

.hp-footer__brand { max-width: 34em; }

.hp-footer__logo {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--hp-white);
}

.hp-footer__line {
  margin-top: 10px;
  font-family: var(--hp-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--hp-teal);
}

.hp-footer__contact {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}

.hp-footer__contact-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  font-size: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hp-footer__key {
  font-family: var(--hp-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--hp-orange);
}

.hp-footer__value {
  color: rgba(255, 255, 255, 0.88);
  word-break: break-word;
}

.hp-footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 28px;
}

.hp-footer__heading {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--hp-white);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--hp-sky);
}

.hp-footer__list {
  margin-top: 14px;
  display: grid;
  gap: 4px;
}

.hp-footer__link {
  position: relative;
  display: inline-block;
  padding: 3px 0;
  font-size: 14px;
  color: var(--hp-on-dark);
  transition: color 0.2s var(--hp-ease);
}

.hp-footer__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--hp-orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s var(--hp-ease);
}

.hp-footer__link:hover,
.hp-footer__link:focus-visible { color: var(--hp-white); }

.hp-footer__link:hover::after,
.hp-footer__link:focus-visible::after { transform: scaleX(1); }

.hp-footer__link[aria-current="page"] { color: var(--hp-white); }
.hp-footer__link[aria-current="page"]::after { transform: scaleX(1); }

.hp-footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  padding-block: 18px 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--hp-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.hp-footer__legal { color: var(--hp-orange); font-weight: 700; }

.hp-footer__copy { color: rgba(255, 255, 255, 0.6); }

.hp-footer__legal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.hp-footer__legal-link {
  color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 1px;
  transition: color 0.2s var(--hp-ease), border-color 0.2s var(--hp-ease);
}

.hp-footer__legal-link:hover,
.hp-footer__legal-link:focus-visible {
  color: var(--hp-white);
  border-color: var(--hp-orange);
}

/* ---------- 11. 响应式 ---------- */
@media (max-width: 1080px) {
  .hp-brand__tagline { display: none; }
  .hp-nav__link { padding-inline: 9px; font-size: 14px; }
  .hp-nav__link::after { left: 9px; right: 9px; }
}

@media (max-width: 900px) {
  .hp-command__inner { gap: 12px; }

  .hp-nav {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    display: none;
    justify-content: flex-start;
    background: var(--hp-ink-blue);
    border-bottom: 4px solid var(--hp-ink);
    box-shadow: 0 10px 0 rgba(17, 20, 24, 0.18);
    padding: 6px 20px 16px;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
  }

  .hp-nav[data-open] { display: block; }

  .hp-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .hp-nav__item { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }

  .hp-nav__link {
    display: block;
    padding: 15px 4px;
    font-size: 16px;
  }

  .hp-nav__link::after { left: 4px; right: auto; width: 60px; bottom: 9px; }

  .hp-nav__link[aria-current="page"] { background: transparent; }

  .hp-navtoggle { display: inline-flex; }

  .hp-command__actions { margin-left: auto; }

  .hp-section__head { grid-template-columns: 1fr; }

  .hp-footer__grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 760px) {
  .hp-grid,
  .hp-grid--2,
  .hp-grid--3,
  .hp-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .hp-card { padding: 20px; }
  .hp-card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--hp-sky); }
}

@media (max-width: 560px) {
  .hp-shell { padding-inline: 16px; }

  .hp-grid,
  .hp-grid--2,
  .hp-grid--3,
  .hp-grid--4 { grid-template-columns: 1fr; }

  .hp-command__inner { padding-block: 8px; }

  .hp-brand__mark { width: 34px; height: 34px; font-size: 14px; }

  .hp-brand__name { font-size: 15.5px; }

  .hp-btn { padding: 10px 14px; font-size: 13.5px; }

  .hp-indexbar__label { display: none; }

  .hp-indexbar__link { padding-inline: 14px; }

  .hp-footer__contact-item { grid-template-columns: 50px minmax(0, 1fr); }

  .hp-footer__base { justify-content: flex-start; }
}

@media (max-width: 380px) {
  .hp-command__actions .hp-btn--cta { display: none; }
}

/* ---------- 12. 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .hp-js [data-reveal] { opacity: 1; transform: none; }

  .hp-js .hp-rule[data-reveal]:not([data-revealed])::after { transform: scaleX(1); }

  .hp-card:hover,
  .hp-btn--cta:hover,
  .hp-btn--sky:hover { transform: none; }
}

@media print {
  .hp-header, .hp-footer, .hp-skip { display: none; }
  body { background: #fff; }
}
