/* ============================================================
   超凡国际 V2.0 共享样式 /assets/site.css
   深空蓝画布 + 珠宝色分区 + 粗边框硬阴影 + 等宽数字
   ============================================================ */

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

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

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

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

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

a { color: inherit; }

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

[hidden] { display: none !important; }

/* ---------- 变量 ---------- */
:root {
  --ink-950: #060A1C;
  --ink-900: #0A1230;
  --ink-800: #0D1631;
  --ink-700: #121C3D;
  --ink-600: #1B2A55;
  --teal: #0E3B3E;
  --wine: #6E1F3A;
  --violet-a: #2A1E5C;
  --violet-b: #3E2A86;
  --cyan: #4BE0D0;
  --amber: #F2A03D;
  --white: #EAF0FF;
  --muted: #9AA9C7;

  --line: rgba(234, 240, 255, 0.14);
  --line-cyan: rgba(75, 224, 208, 0.28);

  --rail-w: 88px;
  --aside-w: 280px;
  --gutter: clamp(18px, 4vw, 56px);
  --content-max: 1180px;

  --font-display: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong", Georgia, serif;
  --font-body: "PingFang SC", "Noto Sans SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-hard: 8px 8px 0 rgba(6, 10, 28, 0.85);
  --shadow-hard-lg: 12px 12px 0 rgba(6, 10, 28, 0.9);
}

/* ---------- 全局排版 ---------- */
body {
  min-height: 100vh;
  padding-left: var(--rail-w);
  background-color: var(--ink-900);
  background-image:
    radial-gradient(1200px 620px at 82% -12%, rgba(62, 42, 134, 0.55), transparent 62%),
    radial-gradient(900px 540px at 4% 108%, rgba(14, 59, 62, 0.6), transparent 60%);
  background-attachment: fixed;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.78;
  overflow-wrap: break-word;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(75, 224, 208, 0.055) 0 1px,
    transparent 1px 88px
  );
  opacity: 0.7;
}

@media (max-width: 879px) {
  body[data-nav-open] { overflow: hidden; }
}

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

h1 { font-size: clamp(34px, 6.4vw, 96px); line-height: 1.06; }
h2 { font-size: clamp(26px, 3.6vw, 40px); line-height: 1.14; }
h3 { font-size: clamp(19px, 2.1vw, 26px); line-height: 1.28; }
h4 { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.35; }

p { max-width: 68ch; }

strong { font-weight: 700; color: var(--white); }

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

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

#main-content { scroll-margin-top: 80px; }

/* ---------- skip link ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: calc(var(--rail-w) + 16px);
  z-index: 400;
  padding: 10px 18px;
  background: var(--cyan);
  color: var(--ink-950);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: 2px solid var(--ink-950);
  transform: translateY(-180%);
  transition: transform 0.18s var(--ease);
}

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

/* ============================================================
   头部
   ============================================================ */
.site-header {
  position: relative;
  z-index: 300;
}

.site-header::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 310;
  background: rgba(6, 10, 28, 0.74);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s var(--ease), visibility 0.24s;
}

.site-header[data-open]::after {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 880px) {
  .site-header::after { display: none; }
}

/* ---------- 左侧轨道 ---------- */
.rail {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 320;
  width: var(--rail-w);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 18px;
  background: linear-gradient(180deg, var(--ink-950) 0%, #081027 52%, var(--ink-950) 100%);
  border-right: 2px solid var(--line-cyan);
  overflow-y: auto;
  scrollbar-width: none;
}

.rail::-webkit-scrollbar { width: 0; height: 0; }

.rail__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  width: 56px;
}

.rail__mark {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.16em;
  color: var(--white);
  line-height: 1.05;
}

.rail__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--muted);
}

.rail__tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--cyan);
}

.rail__dot {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(75, 224, 208, 0.18);
}

.rail__nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  width: 100%;
  padding-inline: 8px;
}

.navlink {
  position: relative;
  display: block;
  padding: 11px 2px;
  text-align: center;
  font-size: 13.5px;
  line-height: 1.25;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.navlink::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 3px;
  background: var(--cyan);
  transform: translateY(-50%);
  transition: width 0.2s var(--ease);
}

.navlink:hover {
  color: var(--cyan);
  background: rgba(75, 224, 208, 0.07);
}

.navlink[aria-current="page"] {
  color: var(--white);
  font-weight: 600;
}

.navlink[aria-current="page"]::before {
  width: 14px;
}

.rail__note {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: rgba(154, 169, 199, 0.7);
  max-width: none;
}

/* ---------- 移动顶栏 ---------- */
.topbar { display: none; }

.topbar__brand {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--white);
  text-decoration: none;
}

.topbar__ver {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--cyan);
  border: 1px solid var(--line-cyan);
  padding: 1px 5px;
}

.topbar__where {
  flex: 1 1 auto;
  min-width: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: none;
}

.topbar__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 2px solid var(--line-cyan);
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.1em;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}

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

.topbar__bars {
  display: grid;
  gap: 3px;
  width: 16px;
}

.topbar__bars i {
  display: block;
  height: 2px;
  background: var(--cyan);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.site-header[data-open] .topbar__bars i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.site-header[data-open] .topbar__bars i:nth-child(2) { opacity: 0; }
.site-header[data-open] .topbar__bars i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- 右侧对照面板 ---------- */
.compare {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 290;
  width: var(--aside-w);
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 22px;
  background: linear-gradient(180deg, rgba(18, 28, 61, 0.96), rgba(6, 10, 28, 0.98));
  border-left: 2px solid var(--line-cyan);
}

.compare::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 44px;
  width: 132px;
  height: 74px;
  margin-left: -66px;
  border: 2px solid rgba(75, 224, 208, 0.16);
  border-bottom: 0;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  pointer-events: none;
}

.compare__trigger {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 16px 14px;
  border: 2px solid var(--line-cyan);
  background: rgba(42, 30, 92, 0.35);
  text-align: left;
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.compare__trigger:hover {
  border-color: var(--cyan);
  background: rgba(42, 30, 92, 0.62);
}

.compare__badges {
  display: flex;
  align-items: center;
  gap: 6px;
}

.compare__badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.compare__badge--now {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink-950);
}

.compare__hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--white);
  max-width: none;
}

.compare__hint::after {
  content: "→";
  font-family: var(--font-mono);
  color: var(--cyan);
}

.compare__panel {
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: max-height 0.3s var(--ease), opacity 0.24s var(--ease), visibility 0.24s;
}

.compare[data-open] .compare__panel {
  max-height: 420px;
  opacity: 1;
  visibility: visible;
}

.compare__lead {
  padding: 12px 0 10px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: none;
}

.compare__list {
  display: grid;
  gap: 6px;
}

.compare__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(75, 224, 208, 0.22);
  font-size: 13px;
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.compare__list a::after {
  content: "→";
  font-family: var(--font-mono);
}

.compare__list a:hover {
  color: var(--white);
  border-color: var(--white);
}

/* ---------- 滚动进度 ---------- */
.meter {
  position: fixed;
  top: 0;
  left: var(--rail-w);
  right: var(--aside-w);
  height: 3px;
  z-index: 340;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--cyan) 55%, var(--amber) 100%);
  transition: transform 0.1s linear;
}

/* ============================================================
   页脚
   ============================================================ */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: clamp(64px, 10vw, 128px);
  padding: clamp(40px, 6vw, 76px) var(--gutter) 0;
  background: var(--ink-950);
  border-top: 2px solid var(--line-cyan);
}

.footer__grid {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  grid-template-columns: 1.4fr 1fr 1.5fr 1fr;
  max-width: var(--content-max);
  margin-inline: auto;
}

.footer__col { min-width: 0; }

.footer__col--brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__brand {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--white);
  max-width: none;
}

.footer__line {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 26ch;
}

.footer__stamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 5px 10px;
  border: 1px solid var(--line-cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--cyan);
  max-width: none;
}

.footer__dot {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(75, 224, 208, 0.16);
}

.footer__title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.4;
  color: var(--amber);
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
  max-width: none;
}

.footer__list {
  display: grid;
  gap: 9px;
  font-size: 14px;
}

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

.footer__list a:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

.footer__meta {
  display: grid;
  gap: 0;
  font-size: 14px;
}

.footer__meta dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: 10px;
}

.footer__meta dt:first-child { margin-top: 0; }

.footer__meta dd {
  color: var(--white);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.footer__note {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--muted);
  max-width: 34ch;
}

.footer__base {
  max-width: var(--content-max);
  margin: clamp(28px, 4vw, 48px) auto 0;
  padding: 18px 0 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 24px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.footer__mono {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ============================================================
   通用组件
   ============================================================ */
.sk-main {
  position: relative;
  z-index: 1;
  display: block;
}

.sk-shell {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sk-section { padding-block: clamp(52px, 8vw, 112px); }

.sk-zone {
  position: relative;
  padding: clamp(44px, 7vw, 92px) var(--gutter);
  overflow: hidden;
}

.sk-zone--teal {
  background: linear-gradient(180deg, rgba(14, 59, 62, 0.92), rgba(14, 59, 62, 0.5));
  border-block: 1px solid rgba(75, 224, 208, 0.18);
}

.sk-zone--wine {
  background: linear-gradient(180deg, rgba(110, 31, 58, 0.85), rgba(110, 31, 58, 0.42));
  border-block: 1px solid rgba(242, 160, 61, 0.22);
}

.sk-zone--violet {
  background:
    radial-gradient(120% 120% at 18% 0%, var(--violet-b) 0%, var(--violet-a) 46%, rgba(10, 18, 48, 0.98) 100%);
}

.sk-rune {
  position: absolute;
  width: 148px;
  height: 72px;
  border: 2px solid rgba(75, 224, 208, 0.22);
  border-bottom: 0;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  pointer-events: none;
}

.sk-rune--br { right: 24px; bottom: 0; }
.sk-rune--tl { left: -40px; top: 12px; transform: rotate(180deg); opacity: 0.6; }

.sk-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--cyan);
}

.sk-eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--cyan);
  flex: none;
}

.sk-prose {
  max-width: 68ch;
  font-size: 16.5px;
  line-height: 1.78;
  color: var(--muted);
}

.sk-lead {
  max-width: 62ch;
  font-size: clamp(17px, 1.8vw, 19px);
  line-height: 1.72;
  color: var(--white);
}

.sk-link {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(75, 224, 208, 0.4);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.sk-link:hover {
  color: var(--white);
  border-color: var(--white);
}

.sk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 2px solid var(--cyan);
  background: transparent;
  color: var(--cyan);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.sk-btn::after {
  content: "→";
  font-family: var(--font-mono);
  font-size: 14px;
}

.sk-btn:hover {
  background: var(--cyan);
  color: var(--ink-950);
  box-shadow: 6px 6px 0 rgba(62, 42, 134, 0.9);
  transform: translate(-2px, -2px);
}

.sk-btn--solid {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink-950);
}

.sk-btn--solid:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink-950);
}

.sk-btn--ghost {
  border-color: rgba(234, 240, 255, 0.32);
  color: var(--white);
}

.sk-btn--ghost:hover {
  background: var(--white);
  color: var(--ink-950);
  box-shadow: 6px 6px 0 rgba(75, 224, 208, 0.35);
}

.sk-card {
  padding: clamp(20px, 2.6vw, 32px);
  background: var(--ink-700);
  border: 2px solid rgba(75, 224, 208, 0.22);
  box-shadow: var(--shadow-hard);
}

.sk-card--violet {
  background: linear-gradient(150deg, rgba(42, 30, 92, 0.9), rgba(18, 28, 61, 0.96));
  border-color: rgba(75, 224, 208, 0.3);
  box-shadow: var(--shadow-hard-lg);
}

.sk-card--teal { background: rgba(14, 59, 62, 0.62); }
.sk-card--wine { background: rgba(110, 31, 58, 0.55); }

.sk-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.sk-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid currentColor;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.sk-state--done { color: var(--cyan); }
.sk-state--pending { color: var(--amber); }
.sk-state--drop { color: var(--muted); }

.sk-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sk-stat__num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--amber);
}

.sk-stat__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.sk-display {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(40px, 7vw, 96px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--cyan);
}

.sk-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  background: var(--line-cyan);
  border: 2px solid var(--line-cyan);
  box-shadow: var(--shadow-hard);
}

.sk-steps > * {
  background: var(--ink-700);
  padding: 22px 20px;
}

.sk-accordion {
  border-top: 1px solid var(--line);
}

.sk-accordion__item {
  border-bottom: 1px solid var(--line);
}

.sk-accordion__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 20px 4px;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--white);
  transition: color 0.18s var(--ease);
}

.sk-accordion__btn:hover { color: var(--cyan); }

.sk-accordion__btn::after {
  content: "+";
  flex: none;
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1;
  color: var(--cyan);
  transition: transform 0.24s var(--ease);
}

.sk-accordion__btn[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

.sk-accordion__panel {
  padding: 0 4px 22px;
  max-width: 68ch;
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--muted);
}

.sk-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
}

.sk-span--4 { grid-column: span 4; }
.sk-span--6 { grid-column: span 6; }
.sk-span--7 { grid-column: span 7; }
.sk-span--8 { grid-column: span 8; }

.sk-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 2px solid rgba(75, 224, 208, 0.26);
  background:
    linear-gradient(135deg, var(--violet-a) 0%, var(--ink-700) 55%, var(--teal) 100%);
  box-shadow: var(--shadow-hard);
}

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

.sk-media--wide { aspect-ratio: 21 / 9; }
.sk-media--tall { aspect-ratio: 3 / 4; }
.sk-media--square { aspect-ratio: 1 / 1; }

.sk-media__tag {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 6px 12px;
  background: var(--ink-950);
  border-top: 2px solid var(--line-cyan);
  border-right: 2px solid var(--line-cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.sk-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

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

.sk-breadcrumb li + li::before {
  content: "/";
  color: rgba(154, 169, 199, 0.5);
}

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

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

.sk-breadcrumb [aria-current="page"] {
  color: var(--white);
}

/* ---------- 显现动画 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.48s var(--ease), transform 0.48s var(--ease);
}

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

/* ============================================================
   响应式
   ============================================================ */
@media (min-width: 1280px) {
  body { padding-right: var(--aside-w); }
}

@media (max-width: 1279px) {
  .meter { right: 0; }

  .compare {
    top: auto;
    bottom: 18px;
    right: 18px;
    width: min(320px, calc(100vw - 36px));
    height: auto;
    padding: 0;
    border: 2px solid var(--line-cyan);
    background: rgba(6, 10, 28, 0.97);
    box-shadow: var(--shadow-hard);
    z-index: 285;
  }

  .compare::after { display: none; }

  .compare__trigger {
    border: 0;
    padding: 14px 16px;
  }

  .compare__panel {
    border-top: 1px solid var(--line);
    padding-inline: 16px;
  }

  .compare[data-open] .compare__panel { padding-bottom: 16px; }

  .footer__grid { grid-template-columns: 1.3fr 1fr 1.4fr; }
  .footer__col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 1023px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__col:last-child { grid-column: auto; }
}

@media (max-width: 879px) {
  body {
    padding-left: 0;
    padding-top: 56px;
  }

  .skip-link { left: 12px; }

  .meter {
    left: 0;
    top: 56px;
  }

  .topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 330;
    display: flex;
    align-items: center;
    gap: 12px;
    height: 56px;
    padding: 0 14px;
    background: rgba(6, 10, 28, 0.94);
    border-bottom: 2px solid var(--line-cyan);
  }

  .rail {
    top: 0;
    bottom: 0;
    width: 272px;
    align-items: stretch;
    justify-content: flex-start;
    gap: 14px;
    padding: 22px 0 26px;
    background: linear-gradient(180deg, #070E22 0%, var(--ink-950) 100%);
    box-shadow: 12px 0 0 rgba(6, 10, 28, 0.6);
    transform: translateX(-102%);
    transition: transform 0.28s var(--ease);
  }

  .site-header[data-open] .rail { transform: translateX(0); }

  .rail__brand {
    align-items: flex-start;
    width: auto;
    margin-inline: 20px;
    padding-bottom: 16px;
  }

  .rail__mark {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    font-size: 25px;
    letter-spacing: 0.1em;
  }

  .rail__nav {
    padding-inline: 0;
    gap: 0;
  }

  .navlink {
    padding: 14px 24px;
    text-align: left;
    font-size: 15px;
    letter-spacing: 0.06em;
    border-top: 1px solid var(--line);
  }

  .navlink::before {
    top: 50%;
    left: 10px;
    width: 3px;
    height: 0;
    transform: translateY(-50%);
    transition: height 0.2s var(--ease);
  }

  .navlink[aria-current="page"]::before { width: 3px; height: 18px; }

  .rail__note {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    margin: auto 20px 0;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    letter-spacing: 0.18em;
  }

  .sk-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .sk-span--4,
  .sk-span--6,
  .sk-span--7,
  .sk-span--8 { grid-column: span 6; }
}

@media (max-width: 719px) {
  .sk-steps { grid-template-columns: 1fr; }
}

@media (max-width: 599px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__note { max-width: none; }
  .sk-grid { grid-template-columns: 1fr; }
  .sk-span--4,
  .sk-span--6,
  .sk-span--7,
  .sk-span--8 { grid-column: span 1; }
  .compare { right: 12px; bottom: 12px; width: calc(100vw - 24px); }
}

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

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

  .sk-btn:hover { transform: none; }
}
