/* =============================================================
   千果 / CN · 共享样式表 /assets/site.css
   果色索引系统：深墨蓝锚点 + 果橙/青果绿索引 + 精确网格
   ============================================================= */

:root {
  --mango: #F97316;
  --mango-deep: #C2410C;
  --green: #22C55E;
  --green-deep: #15803D;
  --green-pale: #DCFCE7;
  --ink: #0F172A;
  --ink-2: #1E293B;
  --apricot: #FFF7ED;
  --mist: #F8FAFC;
  --line: #E2E8F0;
  --graphite: #334155;
  --yolk: #FACC15;

  --font-sans: "HarmonyOS Sans SC", "MiSans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;

  --radius: 2px;
  --radius-pill: 999px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --gap: clamp(16px, 2.4vw, 28px);
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

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

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

body {
  margin: 0;
  background: var(--mist);
  color: var(--graphite);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
  margin: 0 0 0.5em;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(32px, 5.4vw, 60px); }
h2 { font-size: clamp(24px, 3.2vw, 36px); }
h3 { font-size: clamp(18px, 2.2vw, 24px); }
h4 { font-size: clamp(16px, 1.8vw, 19px); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

a { color: var(--mango-deep); text-decoration: none; }
a:hover { color: var(--mango); }

ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

button { font: inherit; color: inherit; }

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

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

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

::selection { background: var(--yolk); color: var(--ink); }

#main-content { display: block; scroll-margin-top: 96px; }

/* ---------- 容器与通用工具 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow { max-width: 860px; }

.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.idx {
  display: inline-block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--mango-deep);
}

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

/* ---------- 跳过链接 ---------- */
.skip-link {
  position: fixed;
  top: -90px;
  left: var(--gutter);
  z-index: 200;
  padding: 10px 18px;
  background: var(--ink);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: top 0.18s var(--ease);
}

.skip-link:hover { color: #FFFFFF; }

.skip-link:focus {
  top: 12px;
  color: #FFFFFF;
}

/* ---------- 页头：悬浮胶囊浮岛 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  padding-inline: var(--gutter);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.4vw, 18px);
  width: 100%;
  max-width: var(--wrap);
  margin: 12px auto 0;
  padding: 8px 10px 9px 18px;
  background: rgba(248, 250, 252, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  box-shadow: 0 14px 34px -26px rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
}

/* 品牌锁标 */
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 6px 4px;
  color: var(--ink);
  text-decoration: none;
}

.brand-lockup:hover { color: var(--ink); }

.brand-lockup__mark {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 50% 50% 50% 4px;
  background: linear-gradient(150deg, var(--mango) 0%, var(--mango) 55%, var(--green) 55%, var(--green) 100%);
}

.brand-lockup__text {
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-lockup__slash {
  margin: 0 3px;
  color: var(--mango);
  font-weight: 500;
}

.brand-lockup__region {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--graphite);
}

/* 主导航 */
.primary-nav { margin-inline: auto; }

.primary-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav__item { margin: 0; }

.primary-nav__link {
  display: inline-block;
  padding: 9px 13px;
  border-radius: var(--radius-pill);
  color: var(--graphite);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease);
}

.primary-nav__link:hover {
  background: var(--apricot);
  color: var(--mango-deep);
}

.primary-nav__link[aria-current="page"] {
  background: var(--mango);
  color: var(--ink);
  font-weight: 700;
}

/* 页头行动区 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.header-actions .btn {
  padding: 9px 16px;
  font-size: 14px;
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: var(--ink);
  color: #FFFFFF;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.16s var(--ease), border-color 0.16s var(--ease);
}

.nav-toggle:hover {
  background: var(--ink-2);
  border-color: var(--ink-2);
}

.nav-toggle__label { white-space: nowrap; }

.nav-toggle__bars {
  display: grid;
  gap: 4px;
  width: 16px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  background: var(--mango);
  border-radius: 2px;
  transition: transform 0.18s var(--ease), opacity 0.18s var(--ease);
}

.nav-toggle__bars span:nth-child(2) { width: 68%; }

.site-header[data-open] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header[data-open] .nav-toggle__bars span:nth-child(2) { opacity: 0; }

.site-header[data-open] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* 滚动进度 */
.scroll-progress {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  overflow: hidden;
  background: rgba(226, 232, 240, 0.85);
}

.scroll-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--mango) 0%, var(--yolk) 55%, var(--green) 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.1s linear;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease),
    border-color 0.16s var(--ease), transform 0.16s var(--ease);
}

.btn--solid {
  background: var(--mango);
  color: var(--ink);
  border-color: var(--mango);
}

.btn--solid:hover {
  background: var(--mango-deep);
  border-color: var(--mango-deep);
  color: #FFFFFF;
}

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

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

.btn--green {
  background: var(--green);
  color: #052E16;
  border-color: var(--green);
}

.btn--green:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: #FFFFFF;
}

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

.btn--line:hover {
  background: var(--ink);
  color: #FFFFFF;
}

.btn--sm {
  padding: 7px 13px;
  font-size: 13px;
}

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

/* ---------- 面包屑 ---------- */
.breadcrumb { margin: 0 0 clamp(20px, 3vw, 32px); }

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.breadcrumb__list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb__list li + li::before {
  content: "/";
  color: #94A3B8;
}

.breadcrumb a {
  color: var(--graphite);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--mango-deep); }

.breadcrumb [aria-current="page"] {
  color: var(--mango-deep);
  font-weight: 700;
}

/* ---------- 卡片 ---------- */
.card {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
}

.card--apricot { background: var(--apricot); }

.card--ink {
  background: var(--ink);
  border-color: var(--ink-2);
  color: #CBD5E1;
}

.card--ink h2,
.card--ink h3,
.card--ink h4 { color: #F8FAFC; }

.card--hoverable:hover {
  transform: translateY(-2px);
  border-color: var(--mango);
  box-shadow: 0 20px 38px -32px rgba(15, 23, 42, 0.85);
}

/* ---------- 图片容器基础规则 ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  background-color: var(--apricot);
  background-image:
    repeating-linear-gradient(0deg, rgba(15, 23, 42, 0.06) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, rgba(15, 23, 42, 0.06) 0 1px, transparent 1px 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.media-frame > img,
.media-frame > svg,
.media-frame > picture {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--16x9 { aspect-ratio: 16 / 9; }
.media-frame--4x3 { aspect-ratio: 4 / 3; }
.media-frame--1x1 { aspect-ratio: 1 / 1; }

.media-frame__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 6px 10px;
  background: var(--ink);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

/* ---------- 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: var(--radius);
  background: var(--line);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.tag--mango {
  background: rgba(249, 115, 22, 0.14);
  color: var(--mango-deep);
}

.tag--green {
  background: var(--green-pale);
  color: var(--green-deep);
}

.tag--yolk {
  background: var(--yolk);
  color: var(--ink);
}

/* ---------- 区块节奏 ---------- */
.section { padding-block: clamp(44px, 6vw, 88px); }
.section--apricot { background: var(--apricot); }

.section--ink {
  background: var(--ink);
  color: #CBD5E1;
}

.section--ink h2,
.section--ink h3,
.section--ink h4 { color: #F8FAFC; }

.section--ink .section-head { border-bottom-color: rgba(226, 232, 240, 0.18); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 clamp(24px, 3vw, 40px);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.section-head__lead {
  max-width: 620px;
  font-size: 15.5px;
  color: var(--graphite);
}

.section-head h2 { margin-bottom: 6px; }

/* ---------- 表格 ---------- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14.5px;
}

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

.table thead th {
  background: var(--ink-2);
  color: #F8FAFC;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.table tbody tr:hover { background: var(--apricot); }
.table tbody tr:last-child td { border-bottom: 0; }

/* ---------- 折叠面板 ---------- */
.fold {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.fold + .fold { margin-top: 8px; }

.fold__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.fold__summary::-webkit-details-marker { display: none; }

.fold__summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--mango);
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  transition: transform 0.18s var(--ease);
}

.fold[open] > .fold__summary::after { transform: rotate(45deg); }

.fold__body {
  padding: 0 16px 16px;
  color: var(--graphite);
  font-size: 14.5px;
}

/* ---------- 显现协议 ---------- */
[data-reveal] {
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

html.js-on [data-reveal] {
  opacity: 0;
  transform: translateX(18px);
}

html.js-on [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 页脚 ---------- */
.site-footer {
  margin-top: clamp(64px, 9vw, 120px);
  background: var(--ink);
  color: #CBD5E1;
  border-top: 3px solid var(--mango);
}

.site-footer__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 72px) var(--gutter) 24px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.15fr 1.05fr 0.85fr 1.05fr;
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
}

.footer-col { min-width: 0; }

.footer-col__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: #94A3B8;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.footer-col__title::before {
  content: "";
  width: 10px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--mango);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #F8FAFC;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.footer-brand:hover { color: var(--mango); }

.footer-brand__mark {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border-radius: 50% 50% 50% 3px;
  background: linear-gradient(150deg, var(--mango) 0%, var(--mango) 55%, var(--green) 55%, var(--green) 100%);
}

.footer-brand__text { white-space: nowrap; }

.footer-col__meta {
  margin: 10px 0 20px;
  color: #64748B;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.footer-links a {
  color: #CBD5E1;
  font-size: 14.5px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}

.footer-links a:hover {
  color: var(--mango);
  border-bottom-color: var(--mango);
}

/* 旧版序号矩阵 */
.legacy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.legacy-cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  min-height: 58px;
  padding: 6px 6px 7px;
  background: rgba(226, 232, 240, 0.06);
  border: 1px solid rgba(226, 232, 240, 0.16);
  border-radius: var(--radius);
  transition: border-color 0.16s var(--ease), background-color 0.16s var(--ease);
}

.legacy-cell:hover {
  background: rgba(249, 115, 22, 0.14);
  border-color: var(--mango);
}

.legacy-cell__code {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  color: var(--mango);
}

.legacy-cell__label {
  font-size: 11px;
  line-height: 1.3;
  color: #94A3B8;
  letter-spacing: 0.01em;
}

/* 联系方式 */
.contact-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.contact-list__row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.contact-list__k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #64748B;
}

.contact-list__v {
  font-size: 14px;
  color: #E2E8F0;
  overflow-wrap: anywhere;
}

.footer-note {
  margin: 0 0 12px;
  font-size: 12.5px;
  line-height: 1.7;
  color: #94A3B8;
}

.footer-icp {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #64748B;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: 18px;
  border-top: 1px solid rgba(226, 232, 240, 0.14);
}

.footer-bottom__copy {
  margin: 0;
  font-size: 13px;
  color: #94A3B8;
}

.footer-bottom__tag {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #475569;
}

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: clamp(14px, 3vw, 32px);
  bottom: clamp(14px, 3vw, 32px);
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--ink);
  color: #F8FAFC;
  border: 1px solid var(--ink-2);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease),
    background-color 0.16s var(--ease), color 0.16s var(--ease);
}

.to-top.is-shown {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: var(--mango);
  border-color: var(--mango);
  color: var(--ink);
}

.to-top__arrow {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1;
}

/* ---------- 平板 ---------- */
@media (max-width: 1080px) {
  .nav-toggle {
    display: inline-flex;
    margin-left: 6px;
  }

  .header-actions {
    margin-left: auto;
    order: 2;
  }

  .nav-toggle { order: 3; }

  .brand-lockup { order: 1; }

  .primary-nav {
    order: 4;
    position: fixed;
    top: 82px;
    left: var(--gutter);
    right: var(--gutter);
    margin: 0;
    display: none;
    max-height: calc(100vh - 112px);
    overflow-y: auto;
    padding: 10px;
    background: var(--ink);
    border: 1px solid var(--ink-2);
    border-radius: var(--radius);
    box-shadow: 0 28px 56px -34px rgba(15, 23, 42, 0.95);
  }

  .site-header[data-open] .primary-nav { display: block; }

  .primary-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .primary-nav__link {
    display: block;
    padding: 13px 14px;
    border-radius: var(--radius);
    color: #E2E8F0;
    font-size: 16px;
  }

  .primary-nav__link:hover {
    background: rgba(226, 232, 240, 0.1);
    color: #FFFFFF;
  }

  .primary-nav__link[aria-current="page"] {
    background: var(--mango);
    color: var(--ink);
  }

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

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

/* ---------- 手机 ---------- */
@media (max-width: 720px) {
  .site-header__inner { padding: 7px 8px 8px 14px; }

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

  .header-actions .btn {
    padding: 8px 13px;
    font-size: 13.5px;
  }

  .brand-lockup__text { font-size: 16px; }
  .brand-lockup__region { display: none; }

  .primary-nav { top: 76px; }

  .section-head { align-items: flex-start; }
}

@media (max-width: 620px) {
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }

  .footer-bottom { justify-content: flex-start; }

  .to-top { padding: 9px 13px; }
}

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

@media (max-width: 480px) {
  .header-actions { display: none; }

  .nav-toggle { margin-left: auto; }

  .legacy-cell { min-height: 54px; }
}

/* ---------- 减少动效 ---------- */
@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;
    scroll-behavior: auto !important;
  }

  html.js-on [data-reveal],
  html.js-on [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }

  .card--hoverable:hover { transform: none; }
  .to-top { transition: none; }
  .scroll-progress__bar { transition: none; }
}
