/* ============================================================
   365国际速发 · 共享站点样式 /assets/site.css
   夜间速递通道 · 侧轨导航 · 深空蓝 + 信号橙 + 极光青
   ============================================================ */

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

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

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

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

button {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
}

:where(p, li, dd, figcaption) {
  overflow-wrap: break-word;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #071A2F;
  --ink-2: #0E2A47;
  --orange: #FF6B2C;
  --cyan: #33E0C8;
  --paper: #F5EEDC;
  --brown: #1F1A17;
  --white: #F7FAFF;
  --alert: #E5484D;
  --gold: #F2B544;
  --mist: #9FB3C8;

  --line: rgba(247, 250, 255, 0.14);
  --line-strong: rgba(247, 250, 255, 0.28);

  --rail-w: 268px;
  --radius: 2px;
  --shadow: 0 18px 44px -26px rgba(2, 8, 16, 0.95);

  --font-display: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas,
    "Liberation Mono", Menlo, monospace;

  --ease: cubic-bezier(0.22, 0.8, 0.3, 1);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--white);
}

h1 { font-size: clamp(34px, 6vw, 64px); }
h2 { font-size: clamp(26px, 3.8vw, 40px); }
h3 { font-size: clamp(20px, 2.4vw, 27px); }
h4 { font-size: clamp(17px, 1.8vw, 20px); }

strong, b { font-weight: 800; }

::selection {
  background: var(--orange);
  color: var(--brown);
}

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

/* ---------- Layout utilities ---------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 48px);
}

.container--wide {
  max-width: 1440px;
}

.section {
  padding-block: clamp(38px, 5.5vw, 84px);
}

.band {
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.grid {
  display: grid;
  gap: clamp(16px, 2.2vw, 28px);
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid--rail {
  grid-template-columns: repeat(auto-fit, minmax(212px, 1fr));
}

/* ---------- Text atoms ---------- */
.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--cyan);
  opacity: 0.85;
}

/* ---------- Signals ---------- */
.signal {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}

.signal::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--mist);
}

.signal--go::before {
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(51, 224, 200, 0.18);
}

.signal--warn::before {
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(242, 181, 68, 0.18);
}

.signal--alert::before {
  background: var(--alert);
  box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.18);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease),
    color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.btn--primary {
  background: var(--orange);
  color: var(--brown);
  box-shadow: 0 12px 26px -16px rgba(255, 107, 44, 0.95);
}

.btn--primary:hover {
  background: #FF8248;
  transform: translateY(-1px);
}

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

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

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

.btn--paper:hover {
  background: #FFF9EB;
  transform: translateY(-1px);
}

.btn--sm {
  padding: 9px 15px;
  font-size: 14px;
}

/* ---------- Panels ---------- */
.panel {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(18px, 2.6vw, 28px);
  box-shadow: var(--shadow);
}

.paper {
  background: var(--paper);
  color: var(--brown);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 36px);
  box-shadow: var(--shadow);
}

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

.paper a {
  color: #B23A0E;
  text-underline-offset: 3px;
}

.paper a:hover {
  color: #8C2A08;
}

/* ---------- Media containers ---------- */
.media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 107, 44, 0.16), rgba(51, 224, 200, 0.12)),
    var(--ink-2);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media--tall { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1 / 1; }

.media--scan::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(51, 224, 200, 0.18) 46%,
    transparent 54%
  );
  background-size: 100% 240%;
  animation: scanSweep 5.2s linear infinite;
}

.media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 26px 14px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: linear-gradient(0deg, rgba(7, 26, 47, 0.94), transparent);
}

@keyframes scanSweep {
  0% { background-position: 50% -40%; }
  100% { background-position: 50% 140%; }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  padding-block: 18px 0;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

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

.breadcrumb__link {
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.breadcrumb__link:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.breadcrumb__sep {
  color: rgba(159, 179, 200, 0.5);
}

.breadcrumb__current {
  color: var(--white);
}

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 999;
  padding: 10px 16px;
  background: var(--paper);
  color: var(--brown);
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  border-radius: var(--radius);
  transform: translateY(-180%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ============================================================
   头部 · 侧边轨道导航（移动优先）
   ============================================================ */
.rail {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
  color: var(--white);
}

.rail::before {
  content: none;
}

/* 品牌 */
.rail__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
  min-width: 0;
}

.rail__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  background: var(--orange);
  color: var(--brown);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.rail__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.rail__brand-text strong {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.rail__brand-text em {
  display: none;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-top: 3px;
}

.rail__tagline {
  display: none;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
}

/* 菜单按钮 */
.rail-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}

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

.rail-toggle[aria-expanded="true"] {
  border-color: var(--orange);
  color: var(--orange);
}

.rail-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 16px;
  height: 12px;
}

.rail-toggle__bars i {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  transition: transform 0.26s var(--ease), opacity 0.18s var(--ease);
}

.rail[data-open] .rail-toggle__bars i:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.rail[data-open] .rail-toggle__bars i:nth-child(2) {
  opacity: 0;
}

.rail[data-open] .rail-toggle__bars i:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* 抽屉导航 */
.rail__nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  width: min(88vw, 342px);
  display: flex;
  flex-direction: column;
  padding: 84px 20px 26px;
  background: linear-gradient(180deg, #0E2A47 0%, #071A2F 100%);
  border-left: 1px solid var(--line);
  box-shadow: -26px 0 64px rgba(2, 8, 16, 0.62);
  transform: translateX(102%);
  visibility: hidden;
  overflow-y: auto;
  transition: transform 0.34s var(--ease), visibility 0.34s var(--ease);
}

.rail[data-open] .rail__nav {
  transform: translateX(0);
  visibility: visible;
}

.rail__nav-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rail__nav-link {
  position: relative;
  display: grid;
  grid-template-columns: 26px 1fr 12px;
  align-items: center;
  gap: 10px;
  padding: 12px 8px 12px 12px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--mist);
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.rail__nav-link:hover {
  color: var(--white);
  background: rgba(247, 250, 255, 0.06);
}

.rail__nav-idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--mist);
  transition: color 0.2s var(--ease);
}

.rail__nav-dot {
  justify-self: end;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(159, 179, 200, 0.55);
  transition: background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.rail__nav-link[aria-current="page"] {
  color: var(--white);
  background: linear-gradient(
    90deg,
    rgba(255, 107, 44, 0.2),
    rgba(255, 107, 44, 0) 88%
  );
}

.rail__nav-link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  bottom: 9px;
  width: 2px;
  background: var(--orange);
}

.rail__nav-link[aria-current="page"] .rail__nav-idx {
  color: var(--orange);
}

.rail__nav-link[aria-current="page"] .rail__nav-dot {
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 44, 0.22);
}

/* 常用入口 */
.rail__quick {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.rail__quick-title {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.rail__quick-link {
  display: block;
  padding: 5px 0;
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(247, 250, 255, 0.86);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.rail__quick-link:hover {
  color: var(--cyan);
  border-bottom-color: rgba(51, 224, 200, 0.5);
}

.rail__foot {
  margin: 14px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--mist);
}

/* 滚动进度光条（移动端贴底） */
.rail__progress {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  z-index: 90;
  pointer-events: none;
  background: linear-gradient(90deg, var(--cyan), var(--gold), var(--orange));
  transform-origin: left center;
  transform: scaleX(var(--p, 0));
}

/* ============================================================
   页脚
   ============================================================ */
.foot {
  position: relative;
  margin-top: clamp(48px, 7vw, 96px);
  padding-block: clamp(36px, 5vw, 64px) clamp(20px, 3vw, 32px);
  background:
    radial-gradient(120% 90% at 88% 0%, rgba(51, 224, 200, 0.1), transparent 58%),
    linear-gradient(180deg, #071A2F 0%, #0A2138 58%, #0E2A47 100%);
  color: var(--white);
}

.foot::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--orange) 0%,
    var(--gold) 34%,
    var(--cyan) 72%,
    transparent 100%
  );
}

.foot__inner {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 48px);
}

.foot__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 56px);
}

.foot__brand {
  min-width: 0;
}

.foot__brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}

.foot__mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  background: var(--orange);
  color: var(--brown);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.foot__brand-name {
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 900;
  letter-spacing: -0.01em;
}

.foot__brand-line {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}

.foot__brand-note {
  margin-top: 12px;
  max-width: 32ch;
  font-size: 15px;
  line-height: 1.7;
  color: var(--mist);
}

.foot__nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: clamp(20px, 3vw, 36px);
}

.foot__col-title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.foot__links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.foot__link {
  display: inline-block;
  padding: 6px 0;
  font-size: 15.5px;
  color: rgba(247, 250, 255, 0.84);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.foot__link:hover {
  color: var(--cyan);
  border-bottom-color: rgba(51, 224, 200, 0.55);
}

.foot__contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px 28px;
  margin-top: clamp(26px, 4vw, 44px);
  padding-top: clamp(18px, 3vw, 26px);
  border-top: 1px solid var(--line);
}

.foot__contact-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0;
}

.foot__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
}

.foot__value {
  font-size: 15px;
  line-height: 1.6;
  color: var(--white);
  word-break: break-word;
}

.foot__note {
  margin-top: 18px;
  max-width: 78ch;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--mist);
}

.foot__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: clamp(20px, 3vw, 30px);
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.foot__copy,
.foot__legal {
  margin: 0;
}

/* ============================================================
   动效
   ============================================================ */
.js-motion [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.js-motion [data-reveal].is-in {
  opacity: 1;
  transform: none;
  will-change: auto;
}

@keyframes railFlow {
  0% { background-position: 50% 0%; }
  100% { background-position: 50% 200%; }
}

@keyframes signalPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255, 107, 44, 0.18); }
  50% { box-shadow: 0 0 0 6px rgba(255, 107, 44, 0.06); }
}

/* ============================================================
   桌面端：固定侧轨 + 主内容右移
   ============================================================ */
@media (min-width: 1080px) {
  body {
    padding-left: var(--rail-w);
  }

  .skip-link {
    top: 16px;
    left: calc(var(--rail-w) + 16px);
  }

  .rail {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--rail-w);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 30px 22px 24px;
    border-bottom: 0;
    border-right: 1px solid var(--line);
    overflow-y: auto;
    background-color: var(--ink);
    background-image:
      radial-gradient(120% 46% at 0% 0%, rgba(255, 107, 44, 0.18), transparent 62%),
      radial-gradient(100% 42% at 100% 100%, rgba(51, 224, 200, 0.14), transparent 60%);
  }

  .rail::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 12px;
    width: 1px;
    pointer-events: none;
    opacity: 0.55;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(255, 107, 44, 0.6) 26%,
      rgba(51, 224, 200, 0.5) 74%,
      transparent 100%
    );
    background-size: 100% 200%;
    animation: railFlow 11s linear infinite;
  }

  .rail__brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .rail__mark {
    width: 50px;
    height: 50px;
    font-size: 15px;
  }

  .rail__brand-text strong {
    font-size: 18px;
  }

  .rail__brand-text em {
    display: block;
    margin-top: 5px;
  }

  .rail__tagline {
    display: block;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    line-height: 1.9;
  }

  .rail-toggle {
    display: none;
  }

  .rail__nav {
    position: static;
    top: auto;
    right: auto;
    bottom: auto;
    width: auto;
    transform: none;
    visibility: visible;
    overflow: visible;
    padding: 0;
    margin-top: 24px;
    background: none;
    border-left: 0;
    box-shadow: none;
    flex: 1 1 auto;
  }

  .rail__nav-link {
    font-size: 15.5px;
    padding: 10px 8px 10px 12px;
  }

  .rail__nav-link[aria-current="page"] .rail__nav-dot {
    animation: signalPulse 2.4s ease-in-out infinite;
  }

  .rail__quick {
    padding-top: 18px;
  }

  .rail__progress {
    left: 0;
    right: auto;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--cyan), var(--gold), var(--orange));
    transform-origin: top center;
    transform: scaleY(var(--p, 0));
  }

  .foot {
    margin-top: clamp(56px, 7vw, 104px);
  }

  .foot__grid {
    grid-template-columns: minmax(230px, 1fr) minmax(0, 1.65fr);
    align-items: start;
  }
}

/* ---------- 平板微调 ---------- */
@media (min-width: 640px) and (max-width: 1079px) {
  .rail {
    padding: 12px 22px;
  }

  .rail__mark {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .rail__brand-text strong {
    font-size: 17px;
  }
}

/* ---------- 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

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

  .rail::before {
    animation: none !important;
  }

  .rail__nav-link[aria-current="page"] .rail__nav-dot {
    animation: none !important;
  }

  .media--scan::after {
    animation: none !important;
    opacity: 0.35;
  }
}
