/* ============================================================
   38娱乐中心 · 共享 Site Kit  /assets/site.css
   深海夜蓝底 + 奶油纸白信息卡 + 蓝图网格 + 等宽索引
   ============================================================ */

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

html {
  background: #0A1730;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

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

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

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

a { color: inherit; }

:root {
  /* —— 色彩体系 —— */
  --c-night: #0A1730;
  --c-ink: #050C1A;
  --c-paper: #F3E9DA;
  --c-brown: #1A1410;
  --c-violet: #7A5CFF;
  --c-cyan: #4DE3D2;
  --c-orange: #FF8B3D;
  --c-bind: #E2543A;
  --c-mist: #8FA3BF;
  --c-glass: rgba(255, 255, 255, 0.12);

  --c-line: rgba(143, 163, 191, 0.22);
  --c-line-strong: rgba(143, 163, 191, 0.42);
  --c-panel: rgba(20, 38, 74, 0.86);
  --c-panel-deep: rgba(5, 12, 26, 0.82);

  /* —— 字体 —— */
  --font-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: var(--font-display);
  --font-index: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;

  /* —— 布局 —— */
  --wrap: 1220px;
  --header-wrap: 1380px;
  --gutter: clamp(18px, 4vw, 52px);
  --header-h: 76px;

  --radius-xl: 30px;
  --radius-lg: 20px;
  --radius-sm: 12px;
  --pill: 999px;

  --shadow-card: 0 20px 48px -24px rgba(0, 0, 0, 0.78);
  --shadow-float: 0 16px 34px -20px rgba(0, 0, 0, 0.9);
  --ease: cubic-bezier(0.22, 0.7, 0.3, 1);
}

/* —— 基础排版 —— */
body {
  position: relative;
  min-height: 100vh;
  background: transparent;
  color: var(--c-paper);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.005em;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* 环境光轨：极缓的斜切光晕，不干扰阅读 */
body::before {
  content: "";
  position: fixed;
  inset: -10% -10% 0 -10%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(58% 46% at 10% 4%, rgba(122, 92, 255, 0.30), transparent 64%),
    radial-gradient(46% 42% at 92% 0%, rgba(77, 227, 210, 0.15), transparent 68%),
    radial-gradient(62% 58% at 76% 92%, rgba(255, 139, 61, 0.10), transparent 72%);
}

::selection { background: var(--c-violet); color: #fff; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

p { line-height: 1.8; }

/* ============================================================
   工具类
   ============================================================ */

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.u-index {
  font-family: var(--font-index);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-mist);
}

.u-key {
  border-bottom: 1px solid var(--c-orange);
  padding-bottom: 1px;
}

.u-num {
  font-family: var(--font-index);
  font-weight: 700;
  color: var(--c-paper);
  -webkit-text-stroke: 1px var(--c-cyan);
  letter-spacing: 0.02em;
}

/* 蓝图网格底 */
.blueprint-grid {
  background-color: var(--c-night);
  background-image:
    linear-gradient(to right, rgba(143, 163, 191, 0.13) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(143, 163, 191, 0.13) 1px, transparent 1px);
  background-size: 72px 72px;
}

/* 图片容器：页面阶段直接放入 <img> 或 <picture> */
.media-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(140deg, rgba(122, 92, 255, 0.38), rgba(10, 23, 48, 0.94) 48%, rgba(77, 227, 210, 0.24));
  box-shadow: var(--shadow-card);
}

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

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(205deg, rgba(255, 255, 255, 0.16), transparent 44%);
  mix-blend-mode: screen;
}

.media-frame--wide { aspect-ratio: 16 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--slash { clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); }

/* ============================================================
   顶部：导航即边框
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(5, 12, 26, 0.96), rgba(5, 12, 26, 0.78) 72%, rgba(5, 12, 26, 0.42));
  border-bottom: 1px solid var(--c-line);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}

.site-header .wrap {
  max-width: calc(var(--header-wrap) + var(--gutter) * 2);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 34px);
  min-height: var(--header-h);
  transition: min-height 0.35s var(--ease);
}

.site-header[data-scrolled] .site-header__inner { min-height: 58px; }

/* 品牌 */
.brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--c-paper);
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand__num {
  font-family: var(--font-index);
  font-weight: 800;
  color: var(--c-cyan);
  letter-spacing: 0.02em;
  text-shadow: 0 0 20px rgba(77, 227, 210, 0.42);
}

.brand__line {
  font-family: var(--font-index);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--c-mist);
  white-space: nowrap;
  max-height: 20px;
  overflow: hidden;
  transition: opacity 0.3s var(--ease), max-height 0.3s var(--ease);
}

.site-header[data-scrolled] .brand__line {
  opacity: 0;
  max-height: 0;
}

/* 胶囊导航 */
.nav-rail {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.nav-rail__list {
  position: relative;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 5px;
  border: 1px solid var(--c-line);
  border-radius: var(--pill);
  background: rgba(10, 23, 48, 0.58);
}

/* 向左右延伸的细线标尺 */
.nav-rail__list::before,
.nav-rail__list::after {
  content: "";
  position: absolute;
  top: 50%;
  height: 1px;
  width: clamp(10px, 2vw, 38px);
  transform: translateY(-50%);
  pointer-events: none;
}

.nav-rail__list::before {
  right: 100%;
  margin-right: 12px;
  background: linear-gradient(270deg, var(--c-line-strong), transparent);
}

.nav-rail__list::after {
  left: 100%;
  margin-left: 12px;
  background: linear-gradient(90deg, var(--c-line-strong), transparent);
}

.nav-rail__link {
  position: relative;
  display: block;
  padding: 8px 16px;
  border-radius: var(--pill);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  text-decoration: none;
  color: var(--c-paper);
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.nav-rail__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 0;
  height: 1px;
  background: var(--c-cyan);
  transform: translateX(-50%);
  transition: width 0.3s var(--ease);
}

.nav-rail__link:hover {
  color: var(--c-cyan);
  background: rgba(122, 92, 255, 0.16);
}

.nav-rail__link:hover::after { width: calc(100% - 32px); }

.nav-rail__link[aria-current="page"] {
  color: #fff;
  background: linear-gradient(90deg, var(--c-violet), rgba(122, 92, 255, 0.62));
  box-shadow: 0 0 0 1px rgba(77, 227, 210, 0.55), 0 10px 24px -14px var(--c-violet);
}

.nav-rail__link[aria-current="page"]::after {
  width: calc(100% - 32px);
  background: var(--c-cyan);
}

/* 右侧动作区 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  margin-left: auto;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--pill);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, var(--c-orange), #FF6A2A);
  box-shadow: 0 12px 28px -16px var(--c-orange);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.header-cta::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.9;
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px -16px var(--c-orange);
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--pill);
  background: rgba(10, 23, 48, 0.6);
  color: var(--c-paper);
  cursor: pointer;
  transition: border-color 0.25s var(--ease);
}

.nav-toggle:hover { border-color: var(--c-cyan); }

.nav-toggle__text {
  font-family: var(--font-index);
  font-size: 12px;
  letter-spacing: 0.14em;
}

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

.nav-toggle__bars i {
  display: block;
  width: 15px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--c-cyan);
  transition: transform 0.3s var(--ease);
}

.site-header[data-open] .nav-toggle__bars i:first-child {
  transform: translateY(2.75px) rotate(45deg);
}

.site-header[data-open] .nav-toggle__bars i:last-child {
  transform: translateY(-2.75px) rotate(-45deg);
}

/* 滚动进度 */
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--c-cyan), var(--c-violet) 55%, var(--c-orange));
  box-shadow: 0 0 12px rgba(77, 227, 210, 0.5);
}

/* 跳转链接 */
.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 100;
  padding: 10px 22px;
  border-radius: 0 0 var(--pill) var(--pill);
  background: var(--c-cyan);
  color: var(--c-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transform: translate(-50%, -140%);
  transition: transform 0.25s var(--ease);
}

.skip-link:focus {
  transform: translate(-50%, 0);
  outline-offset: 0;
}

/* ============================================================
   页脚：蓝图坐标带
   ============================================================ */

.site-footer {
  position: relative;
  margin-top: clamp(64px, 10vw, 148px);
  padding-top: clamp(38px, 5vw, 68px);
  color: var(--c-paper);
  background-color: var(--c-ink);
  background-image:
    linear-gradient(to right, rgba(143, 163, 191, 0.075) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(143, 163, 191, 0.075) 1px, transparent 1px);
  background-size: 72px 72px;
  border-top: 1px solid var(--c-line);
}

.footer-coords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding-bottom: 20px;
  margin-bottom: clamp(26px, 4vw, 44px);
  border-bottom: 1px solid var(--c-line);
  font-family: var(--font-index);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-mist);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3.4vw, 52px);
}

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

.footer-brand {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.footer-brand .brand__num { font-size: 1.05em; }

.footer-tagline {
  margin-top: 12px;
  max-width: 26em;
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-mist);
}

.footer-col__title {
  margin-bottom: 14px;
  font-family: var(--font-index);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--c-cyan);
}

.footer-list li + li { margin-top: 10px; }

.footer-list a {
  font-size: 15px;
  text-decoration: none;
  color: var(--c-paper);
  border-bottom: 1px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.footer-list a:hover {
  color: var(--c-cyan);
  border-bottom-color: rgba(77, 227, 210, 0.55);
}

.footer-list--contact li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-mist);
  overflow-wrap: anywhere;
}

.footer-strong {
  font-family: var(--font-index);
  font-size: 13.5px;
  color: var(--c-paper);
  letter-spacing: 0.02em;
}

.footer-contact {
  margin-top: clamp(28px, 4vw, 46px);
  max-width: 760px;
  padding: 20px 24px;
  border: 1px solid var(--c-line);
  border-left: 2px solid var(--c-bind);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  background: rgba(10, 23, 48, 0.66);
}

.footer-contact__label {
  font-family: var(--font-index);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--c-orange);
  margin-bottom: 8px;
}

.footer-contact__text {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--c-mist);
}

.footer-binding {
  height: 2px;
  margin-top: clamp(34px, 5vw, 62px);
  background: linear-gradient(90deg, var(--c-bind), rgba(226, 84, 58, 0.12));
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 26px;
  padding: 18px 0 28px;
  font-family: var(--font-index);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--c-mist);
}

/* ============================================================
   通用按钮
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    color 0.25s var(--ease);
}

.btn--primary {
  background: linear-gradient(135deg, var(--c-orange), #FF6A2A);
  color: #fff;
  box-shadow: 0 16px 32px -18px var(--c-orange);
}

.btn--primary:hover { transform: translateY(-2px); }

.btn--violet {
  background: var(--c-violet);
  color: #fff;
  box-shadow: 0 16px 32px -18px var(--c-violet);
}

.btn--violet:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(77, 227, 210, 0.6), 0 20px 36px -18px var(--c-violet);
}

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

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

.btn--paper {
  background: var(--c-paper);
  color: var(--c-brown);
}

.btn--paper:hover { transform: translateY(-2px); }

/* ============================================================
   通用内容组件
   ============================================================ */

.section { padding-block: clamp(48px, 7vw, 100px); }
.section--tight { padding-block: clamp(30px, 4vw, 56px); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 24px;
  margin-bottom: clamp(24px, 3.4vw, 42px);
}

.section-head__title {
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 900;
}

.section-head__note {
  font-family: var(--font-index);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--c-mist);
}

/* 纸白信息卡 */
.paper-card {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--radius-xl);
  background: var(--c-paper);
  color: var(--c-brown);
  box-shadow: var(--shadow-card);
}

.paper-card h2,
.paper-card h3 { color: var(--c-brown); }

.paper-card a { color: var(--c-brown); }

/* 暗底玻璃面板 */
.paper-card--glass {
  background: linear-gradient(160deg, rgba(24, 44, 84, 0.94), rgba(10, 23, 48, 0.88));
  color: var(--c-paper);
  border: 1px solid var(--c-line-strong);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.paper-card--glass h2,
.paper-card--glass h3 { color: var(--c-paper); }

/* 索引胶囊 */
.index-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border: 1px solid rgba(77, 227, 210, 0.38);
  border-radius: var(--pill);
  background: rgba(77, 227, 210, 0.07);
  font-family: var(--font-index);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--c-cyan);
  white-space: nowrap;
}

/* 数据带 */
.data-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: rgba(5, 12, 26, 0.72);
}

.data-strip__cell {
  padding: 22px 24px;
  border-right: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}

.data-strip__value {
  font-family: var(--font-index);
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--c-cyan);
  letter-spacing: -0.01em;
}

.data-strip__label {
  margin-top: 8px;
  font-family: var(--font-index);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--c-mist);
}

/* 面包屑 */
.breadcrumb {
  padding: 22px 0 4px;
  font-family: var(--font-index);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--c-mist);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  opacity: 0.55;
}

.breadcrumb a {
  text-decoration: none;
  color: var(--c-mist);
  transition: color 0.25s var(--ease);
}

.breadcrumb a:hover { color: var(--c-cyan); }

/* 长文容器 */
.prose {
  max-width: 34em;
  font-size: 17px;
  line-height: 1.9;
}

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

.prose h2 {
  margin-top: 1.9em;
  font-size: clamp(23px, 2.8vw, 30px);
  font-weight: 900;
}

.prose h3 {
  margin-top: 1.6em;
  font-size: 19.5px;
  font-weight: 700;
}

.prose a {
  color: var(--c-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(77, 227, 210, 0.5);
}

.prose a:hover { border-bottom-color: var(--c-cyan); }

.prose strong { font-weight: 700; color: var(--c-orange); }

.prose ul,
.prose ol { padding-left: 1.5em; }

.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }

.prose li + li { margin-top: 0.5em; }
.prose li::marker { color: var(--c-violet); }

.paper-card .prose,
.paper-card .prose p,
.paper-card .prose li { color: var(--c-brown); }

.paper-card .prose strong { color: #B33A16; }
.paper-card .prose a { color: #4338CA; border-bottom-color: rgba(67, 56, 202, 0.45); }

/* ============================================================
   动效协议
   ============================================================ */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.62s var(--ease), transform 0.62s var(--ease);
  will-change: opacity, transform;
}

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

.paper-card,
.paper-card--glass {
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.paper-card--glass:hover {
  transform: translateY(-3px);
  border-color: rgba(77, 227, 210, 0.5);
}

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

@media (max-width: 1080px) {
  :root { --wrap: 1000px; }
  .nav-rail__link { padding: 8px 13px; font-size: 14px; }
}

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-col--brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }

  .brand__line { display: none; }

  .nav-toggle { display: inline-flex; }

  .nav-rail {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    justify-content: stretch;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 14px var(--gutter) 22px;
    background: linear-gradient(180deg, rgba(5, 12, 26, 0.98), rgba(5, 12, 26, 0.94));
    border-bottom: 1px solid var(--c-line);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 26px 44px -30px rgba(0, 0, 0, 0.95);
  }

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

  .nav-rail__list {
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    padding: 12px;
    border-radius: 24px;
  }

  .nav-rail__list::before,
  .nav-rail__list::after { display: none; }

  .nav-rail__link {
    padding: 12px 18px;
    border-radius: 16px;
    font-size: 16px;
  }

  .nav-rail__link::after { display: none; }

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

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

@media (max-width: 620px) {
  body { font-size: 16px; }

  .data-strip__cell { padding: 18px 18px; }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-contact { border-radius: var(--radius-lg); }
}

/* 高对比 / 弱光偏好 */
@media (prefers-contrast: more) {
  :root {
    --c-line: rgba(143, 163, 191, 0.4);
    --c-line-strong: rgba(143, 163, 191, 0.7);
  }
}

/* 减少动态 */
@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;
  }

  body::before { background: none; }

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

  .paper-card--glass:hover,
  .btn:hover,
  .header-cta:hover { transform: none; }
}
