/* =========================================================
   6手机服务 · M6 VERSION DESK
   Shared site kit — /assets/site.css
   ========================================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul, ol, dl, dd { 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; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }

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

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

/* ---------- 02 · tokens ---------- */
:root {
  --ink: #0B1620;
  --ink-deep: #080F16;
  --panel: #16232E;
  --paper: #F2F5F7;
  --steel: #8FA3B0;
  --cyan: #2DE2C5;
  --amber: #FFA23A;
  --blue: #3D7BFF;
  --red: #D9534F;
  --line: #2B3B47;
  --pale: #CFE9E5;

  --rail-w: 240px;
  --gutter: clamp(16px, 4vw, 40px);
  --content: 1240px;

  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-display: "Archivo Narrow", "Oswald", "Noto Sans SC", "Source Han Sans SC", "PingFang SC", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Noto Sans Mono CJK SC", monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: .2s;
}

/* ---------- 03 · base ---------- */
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.06;
  color: var(--paper);
}

h1 { font-size: clamp(38px, 7vw, 88px); }
h2 { font-size: clamp(24px, 3.4vw, 40px); }
h3 { font-size: clamp(18px, 2vw, 23px); font-weight: 700; }
h4 { font-size: 17px; font-weight: 700; letter-spacing: 0; }

p { max-width: 70ch; }

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

.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--steel);
}

.prose { max-width: 68ch; color: #DCE4EA; font-size: 16px; line-height: 1.75; }
.prose > * + * { margin-top: 1em; }
.prose a { color: var(--cyan); border-bottom: 1px solid rgba(45, 226, 197, .45); }
.prose a:hover { border-bottom-color: var(--cyan); }

/* ---------- 04 · layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

.rule {
  height: 1px;
  border: 0;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
}

/* ---------- 05 · panels & marks ---------- */
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: clamp(16px, 2.4vw, 28px);
  color: var(--paper);
}

.panel--cut {
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  border: 0;
  box-shadow: inset 0 0 0 1px var(--line);
}

.panel--light {
  background: var(--pale);
  border-color: #A9CFC9;
  color: var(--ink);
}
.panel--light h2, .panel--light h3, .panel--light h4 { color: var(--ink); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  white-space: nowrap;
}
.tag--cyan { color: var(--cyan); }
.tag--amber { color: var(--amber); }
.tag--red { color: var(--red); }
.tag--steel { color: var(--steel); }

.section-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(18px, 2.6vw, 30px);
}
.section-head__index {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--cyan);
}
.section-head__title { font-size: clamp(20px, 2.6vw, 28px); }

/* ---------- 06 · buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.2;
  letter-spacing: .08em;
  text-align: center;
  border: 1px solid transparent;
  transition: background-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #04231F;
  font-weight: 700;
}
.btn--primary:hover { background: #5BF0D8; border-color: #5BF0D8; }

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

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--cyan);
  border-bottom: 1px dashed rgba(45, 226, 197, .5);
  padding-bottom: 1px;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.copy-btn:hover { border-bottom-color: var(--cyan); color: #7CF3E2; }

/* ---------- 07 · filters ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; }

.filter-chip {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  padding: 7px 12px;
  border: 1px solid var(--line);
  color: var(--steel);
  background: transparent;
  transition: color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              background-color var(--dur) var(--ease);
}
.filter-chip:hover { color: var(--paper); border-color: var(--steel); }
.filter-chip[aria-pressed="true"] {
  background: var(--blue);
  border-color: var(--blue);
  color: #FFFFFF;
}

/* ---------- 08 · breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--steel);
}
.breadcrumb__link { color: var(--steel); border-bottom: 1px solid transparent; }
.breadcrumb__link:hover { color: var(--cyan); border-bottom-color: rgba(45, 226, 197, .5); }
.breadcrumb__sep { color: var(--line); }
.breadcrumb__current { color: var(--paper); }

/* ---------- 09 · media frame ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
}
.media-frame--cut {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
  border: 0;
}
.media-frame--grid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: .25;
}
.media-frame__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.92) contrast(1.04);
}
.media-frame__caption {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--steel);
}

/* ---------- 10 · skip link / progress / toast ---------- */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 300;
  transform: translateY(-180%);
  padding: 10px 16px;
  background: var(--cyan);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  transition: transform .16s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 130;
  pointer-events: none;
  background: rgba(43, 59, 71, .55);
}
.scroll-progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  transition: width .12s linear;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 320;
  transform: translate(-50%, 14px);
  max-width: calc(100vw - 32px);
  padding: 10px 16px;
  background: var(--pale);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .03em;
  border-left: 3px solid var(--cyan);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}
.toast[data-visible="true"] { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 11 · header shell ---------- */
.site-header { position: relative; z-index: 80; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: var(--paper);
}
.brand__mark {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(45, 226, 197, .55);
  background: rgba(45, 226, 197, .07);
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
}
.brand__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.brand__name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--paper);
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--steel);
}
.brand--rail { display: none; }
.brand--bar .brand__mark { width: 30px; height: 30px; font-size: 11px; }
.brand--bar .brand__name { font-size: 14px; }
.brand--footer .brand__mark { width: 42px; height: 42px; font-size: 14px; }
.brand--footer .brand__name { font-size: 16px; }

/* mobile bar */
.mobile-bar {
  position: sticky;
  top: 0;
  z-index: 82;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 8px var(--gutter);
  background: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-bar__version {
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--cyan);
  border: 1px solid rgba(45, 226, 197, .4);
  padding: 3px 7px;
  white-space: nowrap;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 8px 11px;
  border: 1px solid var(--line);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.nav-toggle:hover { border-color: var(--cyan); color: var(--cyan); }
.nav-toggle__bars { position: relative; display: block; width: 16px; height: 9px; }
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--dur) var(--ease);
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { bottom: 0; }
.site-header[data-open="true"] .nav-toggle { border-color: var(--cyan); color: var(--cyan); }
.site-header[data-open="true"] .nav-toggle__bars::before { transform: translateY(3.75px) rotate(45deg); }
.site-header[data-open="true"] .nav-toggle__bars::after { transform: translateY(-3.75px) rotate(-45deg); }

/* drawer */
.rail-scrim {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 86;
  background: rgba(4, 9, 14, .68);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease);
}
.site-header[data-open="true"] .rail-scrim { opacity: 1; pointer-events: auto; }

.rail {
  position: fixed;
  top: 56px;
  left: 0;
  bottom: 0;
  width: min(86vw, 340px);
  z-index: 88;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px var(--gutter) 26px;
  background: var(--ink);
  border-right: 1px solid var(--line);
  overflow-y: auto;
  transform: translateX(-102%);
  visibility: hidden;
  transition: transform .22s var(--ease), visibility .22s var(--ease);
}
.site-header[data-open="true"] .rail { transform: none; visibility: visible; }

body.is-nav-open { overflow: hidden; }

.rail__status {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  background: rgba(22, 35, 46, .92);
  border: 1px solid var(--line);
  border-left: 2px solid var(--cyan);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--pale);
}
.rail__status-text { display: flex; flex-direction: column; line-height: 1.5; }
.rail__status-sub { color: var(--steel); font-size: 11px; letter-spacing: .06em; }

.dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(45, 226, 197, .16);
}
.dot--live { background: var(--cyan); }

.rail-nav { min-width: 0; }
.rail-nav__list { display: flex; flex-direction: column; gap: 2px; }
.rail-nav__item { min-width: 0; }
.rail-nav__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 10px 14px;
  border-left: 2px solid transparent;
  color: var(--steel);
  font-size: 14.5px;
  letter-spacing: .01em;
  transition: color var(--dur) var(--ease),
              background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.rail-nav__link:hover { color: var(--paper); background: rgba(22, 35, 46, .85); }
.rail-nav__link[aria-current="page"] {
  color: var(--paper);
  border-left-color: var(--cyan);
  background: linear-gradient(90deg, rgba(45, 226, 197, .14), transparent 72%);
}
.rail-nav__idx { font-size: 11px; letter-spacing: .06em; color: #4D6472; }
.rail-nav__link[aria-current="page"] .rail-nav__idx { color: var(--cyan); }
.rail-nav__label { min-width: 0; }

.rail__foot { display: grid; gap: 8px; }
.rail__foot .btn { width: 100%; }

.rail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
}
.rail__meta-link { color: #6B8290; border-bottom: 1px solid transparent; }
.rail__meta-link:hover { color: var(--cyan); border-bottom-color: rgba(45, 226, 197, .5); }

/* ---------- 12 · footer ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 96px);
  padding: clamp(32px, 5vw, 60px) 0 24px;
  background: var(--ink-deep);
  border-top: 1px solid var(--line);
  color: var(--steel);
  font-size: 14px;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: min(220px, 42vw);
  height: 2px;
  background: var(--cyan);
}

.footer__inner { display: block; }

.footer__strip {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.footer__brand { min-width: 0; }
.footer__tagline { margin-top: 10px; font-size: 13.5px; color: var(--steel); max-width: 32ch; }

.footer__stamp { display: flex; flex-direction: column; gap: 2px; }
.footer__stamp-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--steel);
}
.footer__stamp-num {
  font-size: clamp(30px, 6vw, 50px);
  line-height: 1;
  font-weight: 600;
  color: var(--cyan);
}
.footer__stamp-note { font-size: 12px; color: var(--steel); }

.footer__grid {
  display: grid;
  gap: 28px 24px;
  grid-template-columns: 1fr;
  padding: 28px 0 26px;
}
.footer__col { min-width: 0; }
.footer__title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.footer__list { display: flex; flex-direction: column; gap: 8px; }
.footer__link {
  display: inline-block;
  color: var(--steel);
  font-size: 14px;
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.footer__link:hover { color: var(--cyan); border-bottom-color: rgba(45, 226, 197, .5); }

.footer__list--plain li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 7px;
  border-bottom: 1px dashed rgba(43, 59, 71, .95);
  font-size: 13.5px;
  color: var(--steel);
}
.footer__list--plain .mono { color: var(--pale); font-size: 13px; }

.footer__list--contact { gap: 12px; }

.footer__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-align: left;
  color: var(--steel);
  transition: color var(--dur) var(--ease);
}
.footer__copy:hover { color: var(--cyan); }
.footer__copy-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  color: #5B7280;
}
.footer__copy .mono {
  font-size: 13px;
  word-break: break-all;
  border-bottom: 1px dashed var(--line);
}

.footer__addr { display: block; font-size: 13px; line-height: 1.6; color: var(--steel); }
.footer__hours {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #6B8290;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: #6B8290;
}
.footer__copy-line { max-width: none; }
.footer__copy-line .mono { color: #8298A5; }
.footer__legal-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer__legal-link { color: #6B8290; border-bottom: 1px solid transparent; }
.footer__legal-link:hover { color: var(--cyan); border-bottom-color: rgba(45, 226, 197, .5); }

/* ---------- 13 · reveal ---------- */
.reveal-init {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.is-revealed { opacity: 1; transform: none; }

/* ---------- 14 · tablet: horizontal header ---------- */
@media (min-width: 768px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 85;
    background: rgba(11, 22, 32, .97);
    border-bottom: 1px solid var(--line);
  }
  .mobile-bar { display: none; }
  .rail-scrim { display: none; }

  .rail {
    position: static;
    inset: auto;
    transform: none;
    visibility: visible;
    width: auto;
    height: auto;
    z-index: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 9px var(--gutter);
    background: transparent;
    border-right: 0;
    overflow: visible;
    transition: none;
  }
  .brand--rail { display: inline-flex; }
  .rail__status { display: none; }
  .rail__meta { display: none; }

  .rail-nav {
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
  }
  .rail-nav::-webkit-scrollbar { display: none; }
  .rail-nav__list { flex-direction: row; gap: 2px; }
  .rail-nav__link {
    padding: 9px 12px;
    border-left: 0;
    border-bottom: 2px solid transparent;
    font-size: 13.5px;
    white-space: nowrap;
  }
  .rail-nav__link[aria-current="page"] {
    border-left-color: transparent;
    border-bottom-color: var(--cyan);
    background: rgba(45, 226, 197, .08);
  }
  .rail-nav__idx { display: none; }

  .rail__foot { display: flex; gap: 8px; }
  .rail__foot .btn { width: auto; padding: 9px 14px; font-size: 11.5px; }
  .rail__foot .btn--ghost { display: none; }

  .scroll-progress { left: 0; }

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

/* ---------- 15 · desktop: side rail ---------- */
@media (min-width: 1024px) {
  body { padding-left: var(--rail-w); }
  body.is-nav-open { overflow: auto; }

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--rail-w);
    z-index: 90;
    background: transparent;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .rail {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    height: 100%;
    padding: 26px 20px 24px;
    background: linear-gradient(180deg, #0B1620 0%, #0C1A24 55%, #0B1620 100%);
    border-right: 0;
    overflow-y: auto;
  }
  .rail::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 8px;
    pointer-events: none;
    opacity: .45;
    background: repeating-linear-gradient(180deg, rgba(45, 226, 197, .4) 0 1px, transparent 1px 16px);
  }

  .rail-nav { flex: 1 1 auto; overflow: visible; }
  .rail-nav__list { flex-direction: column; gap: 2px; }
  .rail-nav__link {
    padding: 10px 12px 10px 14px;
    border-bottom: 0;
    border-left: 2px solid transparent;
    font-size: 14.5px;
    white-space: normal;
  }
  .rail-nav__link[aria-current="page"] {
    border-bottom-color: transparent;
    border-left-color: var(--cyan);
    background: linear-gradient(90deg, rgba(45, 226, 197, .14), transparent 72%);
  }
  .rail-nav__idx { display: inline-block; }

  .rail__status { display: flex; }
  .rail__foot {
    display: grid;
    gap: 8px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
  }
  .rail__foot .btn { width: 100%; padding: 11px 14px; font-size: 12px; }
  .rail__foot .btn--ghost { display: inline-flex; }
  .rail__meta { display: flex; }

  .scroll-progress { left: var(--rail-w); }

  .footer__grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- 16 · motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  .btn:hover { transform: none; }
  .reveal-init { opacity: 1; transform: none; }
  .scroll-progress__bar { transition: none; }
}
