/* =========================================================
   FB赛场 · 共享样式 /assets/site.css
   ========================================================= */

/* ---------- 1. reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }

:focus-visible {
  outline: 2px solid #5FF2D0;
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 2. tokens ---------- */
:root {
  --ink-900: #06110F;
  --ink-800: #0C1E1A;
  --ink-700: #12302A;
  --cyan: #5FF2D0;
  --cyan-soft: #9BF7E4;
  --cyan-line: rgba(95, 242, 208, 0.22);
  --orange: #FF8A3D;
  --orange-soft: #FFC48A;
  --white: #E8F4F0;
  --muted: #8FA9A2;
  --glass: rgba(95, 242, 208, 0.08);

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

  --rail-w: 88px;
  --bar-h: 60px;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-cyan: 0 18px 44px -28px rgba(95, 242, 208, 0.75);
}

/* ---------- 3. base ---------- */
body {
  position: relative;
  min-height: 100vh;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  background-color: var(--ink-900);
  background-image:
    repeating-linear-gradient(118deg, rgba(95, 242, 208, 0.05) 0 1px, transparent 1px 96px),
    radial-gradient(120% 62% at 82% -10%, rgba(95, 242, 208, 0.12), transparent 62%),
    radial-gradient(95% 55% at 4% 106%, rgba(255, 138, 61, 0.1), transparent 64%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: 0;
  pointer-events: none;
  border: 1px solid rgba(95, 242, 208, 0.09);
  border-radius: 50%;
}
body::before { width: min(760px, 82vw); aspect-ratio: 1; right: -14%; bottom: -26%; }
body::after { width: min(430px, 52vw); aspect-ratio: 1; left: -16%; top: 16%; border-color: rgba(255, 138, 61, 0.09); }

@media (min-width: 768px) {
  body { background-attachment: fixed; }
}

.site-head, #main-content, .site-foot { position: relative; z-index: 1; }
.site-head { z-index: 90; }
.rail { z-index: 60; }
.dock { z-index: 70; }

@media (min-width: 1024px) {
  body { padding-left: var(--rail-w); }
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(30px, 5.2vw, 54px); }
h2 { font-size: clamp(23px, 3.2vw, 34px); }
h3 { font-size: clamp(18px, 2.1vw, 22px); }
h4 { font-size: 17px; }

::selection { background: var(--cyan); color: #04140F; }

#main-content {
  display: block;
  padding-top: var(--main-top, calc(var(--bar-h) + 36px));
  min-height: 60vh;
}

/* ---------- 4. layout helpers ---------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.section { padding-block: clamp(40px, 7vw, 84px); }
.section:first-child { padding-top: clamp(24px, 4vw, 44px); }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 22px;
  margin-bottom: clamp(20px, 3vw, 34px);
}

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .grid--7-3 { grid-template-columns: 7fr 3fr; }
  .grid--8-4 { grid-template-columns: 8fr 4fr; }
}

.divider { height: 1px; border: 0; background: linear-gradient(90deg, rgba(95, 242, 208, 0.34), rgba(95, 242, 208, 0)); }

.prose { max-width: 70ch; }
.prose p + p { margin-top: 1em; }
.prose ul, .prose ol { margin-top: 0.8em; display: grid; gap: 8px; }
.prose li { padding-left: 18px; position: relative; }
.prose li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.72em;
  width: 8px; height: 1px;
  background: var(--cyan);
}

.lead { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.8; color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--cyan); }

.mono { font-family: var(--font-mono); font-size: 0.86em; letter-spacing: 0.08em; color: var(--cyan-soft); }

.note-vertical {
  writing-mode: vertical-rl;
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--muted);
  text-transform: uppercase;
}

.stat { display: grid; gap: 2px; }
.stat__num { font-family: var(--font-mono); font-size: clamp(22px, 3vw, 30px); font-weight: 600; color: var(--cyan); }
.stat__label { font-size: 12px; letter-spacing: 0.16em; color: var(--muted); }

/* ---------- 5. components ---------- */
.card {
  position: relative;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid rgba(95, 242, 208, 0.14);
  border-radius: var(--r-lg);
  background: var(--ink-800);
}
.card--glass {
  background: var(--glass);
  border-color: rgba(95, 242, 208, 0.26);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.tag--cyan { color: var(--cyan); border-color: rgba(95, 242, 208, 0.4); background: rgba(95, 242, 208, 0.08); }
.tag--orange { color: var(--orange-soft); border-color: rgba(255, 138, 61, 0.44); background: rgba(255, 138, 61, 0.1); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border: 1px solid var(--cyan-line);
  border-radius: var(--r-pill);
  background: rgba(95, 242, 208, 0.07);
  color: var(--cyan-soft);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.05em;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:hover { background: rgba(95, 242, 208, 0.16); color: var(--white); border-color: rgba(95, 242, 208, 0.5); transform: translateY(-2px); }
.btn--primary { background: var(--cyan); border-color: var(--cyan); color: #04140F; box-shadow: var(--shadow-cyan); }
.btn--primary:hover { background: var(--cyan-soft); color: #04140F; }
.btn--ghost { background: transparent; border-color: rgba(143, 169, 162, 0.35); color: var(--muted); }
.btn--ghost:hover { background: rgba(255, 138, 61, 0.08); border-color: rgba(255, 138, 61, 0.5); color: var(--orange-soft); }
.btn--sm { padding: 9px 15px; font-size: 13px; }

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.breadcrumb__item { display: inline-flex; align-items: center; gap: 10px; }
.breadcrumb__item + .breadcrumb__item::before { content: "/"; color: rgba(143, 169, 162, 0.7); }
.breadcrumb__link { color: var(--cyan-soft); }
.breadcrumb__link:hover { color: var(--cyan); text-decoration: underline; }
.breadcrumb__item[aria-current="page"] { color: var(--white); }

/* 图像容器：页面阶段直接把 <img> 放进来 */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(95, 242, 208, 0.16);
  border-radius: var(--r-lg);
  background-color: var(--ink-800);
  background-image:
    repeating-linear-gradient(45deg, rgba(95, 242, 208, 0.06) 0 1px, transparent 1px 22px),
    linear-gradient(160deg, rgba(18, 48, 42, 0.92), rgba(6, 17, 15, 0.96));
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--wide { aspect-ratio: 16 / 9; }
.media--banner { aspect-ratio: 21 / 9; }
.media--square { aspect-ratio: 1 / 1; }
.media--tall { aspect-ratio: 3 / 4; }
.media__label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 4px 8px;
  border: 1px solid var(--cyan-line);
  border-radius: 6px;
  background: rgba(6, 17, 15, 0.72);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--cyan-soft);
}
.media-caption { margin-top: 10px; font-size: 13px; color: var(--muted); }

/* 可展开内容组 */
.qa-list { display: grid; gap: 10px; }
.qa-item {
  overflow: hidden;
  border: 1px solid rgba(95, 242, 208, 0.16);
  border-radius: var(--r-md);
  background: var(--ink-800);
}
.qa-item[data-open] { border-color: rgba(95, 242, 208, 0.4); }
.qa-item__trigger {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
}
.qa-item__trigger::before {
  content: "";
  flex: 0 0 auto;
  width: 3px;
  height: 16px;
  border-radius: 2px;
  background: var(--muted);
  transition: height 0.24s var(--ease), background 0.24s var(--ease);
}
.qa-item[data-open] .qa-item__trigger::before { height: 26px; background: var(--orange); }
.qa-item__meta { margin-left: auto; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--muted); }
.qa-item__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.24s var(--ease); }
.qa-item[data-open] .qa-item__panel { grid-template-rows: 1fr; }
.qa-item__inner { overflow: hidden; }
.qa-item__body { padding: 0 18px 18px 33px; color: var(--muted); font-size: 15px; }

/* 时间轴 / 更新日志 */
.log-list { display: grid; }
.log-item { position: relative; padding: 0 0 24px 26px; }
.log-item::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 15px;
  bottom: 0;
  width: 1px;
  background: rgba(143, 169, 162, 0.28);
}
.log-item:last-child::before { display: none; }
.log-node {
  position: absolute;
  left: 0;
  top: 5px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--muted);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.log-item.is-in .log-node,
.log-item[data-open] .log-node { background: var(--cyan); box-shadow: 0 0 0 4px rgba(95, 242, 208, 0.18); }
.log-body { color: var(--muted); font-size: 15px; }
.log-body strong { color: var(--white); }

/* ---------- 6. header ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -70px;
  z-index: 120;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: var(--cyan);
  color: #04140F;
  font-weight: 700;
  font-size: 14px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 14px; }

.head-bar {
  position: fixed;
  top: 10px;
  left: 12px;
  right: 12px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--bar-h);
  padding: 7px 10px;
  border: 1px solid var(--cyan-line);
  border-radius: var(--r-pill);
  background: linear-gradient(180deg, rgba(12, 30, 26, 0.88), rgba(6, 17, 15, 0.95));
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 26px 60px -42px rgba(0, 0, 0, 0.95);
  transition: top 0.3s var(--ease), padding 0.3s var(--ease), border-color 0.3s var(--ease);
}
@media (min-width: 1024px) {
  .head-bar { left: calc(var(--rail-w) + 18px); right: 24px; top: 14px; }
}
.site-head[data-condensed] .head-bar {
  top: 6px;
  padding: 4px 9px;
  border-color: rgba(95, 242, 208, 0.36);
}
.site-head[data-open] .nav-toggle { background: rgba(95, 242, 208, 0.18); color: var(--white); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  padding: 3px 6px 3px 3px;
  border-radius: var(--r-pill);
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--cyan), #1E9C85);
  color: #04140F;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.02em;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.14em;
  color: var(--white);
}
.brand__ver {
  position: relative;
  padding: 4px 6px;
  border: 1px solid rgba(255, 138, 61, 0.42);
  border-radius: 6px;
  background: rgba(255, 138, 61, 0.12);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--orange-soft);
}
.brand__ver::after {
  content: attr(data-tip);
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  padding: 6px 10px;
  border: 1px solid var(--cyan-line);
  border-radius: 8px;
  background: #0C1E1A;
  color: var(--white);
  font-size: 11px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.brand:hover .brand__ver::after,
.brand:focus-visible .brand__ver::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 9px 14px;
  border: 1px solid var(--cyan-line);
  border-radius: var(--r-pill);
  background: var(--glass);
  color: var(--cyan-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-toggle:hover { background: rgba(95, 242, 208, 0.16); color: var(--white); }
.nav-toggle__bar {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: background 0.2s var(--ease);
}
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s var(--ease), top 0.2s var(--ease);
}
.nav-toggle__bar::before { top: -5px; }
.nav-toggle__bar::after { top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { top: 0; transform: rotate(-45deg); }
.nav-toggle__label { line-height: 1; }

.site-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  display: none;
  padding: 10px;
  border: 1px solid var(--cyan-line);
  border-radius: var(--r-lg);
  background: rgba(8, 22, 19, 0.97);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 34px 70px -44px #000;
}
.site-nav[data-open] { display: block; }
.site-nav__list { display: flex; flex-direction: column; gap: 4px; }
.site-nav__item { width: 100%; }
.site-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  font-size: 15px;
  letter-spacing: 0.05em;
  color: var(--white);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.site-nav__link:hover { background: rgba(95, 242, 208, 0.1); color: var(--cyan-soft); border-color: var(--cyan-line); }
.site-nav__link[aria-current="page"] {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #04140F;
  font-weight: 700;
}
.site-nav__link::after {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  opacity: 0.72;
}
.site-nav__item:nth-child(1) .site-nav__link::after { content: "01"; }
.site-nav__item:nth-child(2) .site-nav__link::after { content: "02"; }
.site-nav__item:nth-child(3) .site-nav__link::after { content: "03"; }
.site-nav__item:nth-child(4) .site-nav__link::after { content: "04"; }
.site-nav__item:nth-child(5) .site-nav__link::after { content: "05"; }
.site-nav__item:nth-child(6) .site-nav__link::after { content: "06"; }

.head-return {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 138, 61, 0.5);
  border-radius: var(--r-pill);
  background: rgba(255, 138, 61, 0.12);
  color: var(--orange-soft);
  font-size: 13px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.head-return:hover { background: var(--orange); color: #1A0C02; }
.head-return__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(255, 138, 61, 0.18); }

.head-progress {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: -3px;
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(143, 169, 162, 0.18);
}
.head-progress__fill {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  transition: transform 0.1s linear;
}

@media (min-width: 720px) {
  .head-return { display: inline-flex; }
}
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    display: block;
    flex: 1 1 auto;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .site-nav__list { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 2px; }
  .site-nav__item { width: auto; }
  .site-nav__link { justify-content: center; padding: 9px 14px; border-radius: var(--r-pill); font-size: 14px; color: var(--muted); }
  .site-nav__link::after { display: none; }
}
@media (max-width: 400px) {
  .brand__name { font-size: 16px; letter-spacing: 0.08em; }
  .brand__ver { display: none; }
}

/* ---------- 7. rail ---------- */
.rail { display: none; }
@media (min-width: 1024px) {
  .rail {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: var(--rail-w);
    padding: 22px 0 26px;
    border-right: 1px solid rgba(95, 242, 208, 0.14);
    background: linear-gradient(180deg, rgba(12, 30, 26, 0.92), rgba(6, 17, 15, 0.97));
  }
}
.rail__label {
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.42em;
  color: var(--cyan);
}
.rail__ticks { display: flex; flex-direction: column; gap: 6px; }
.rail__ticks li { width: 2px; height: 14px; border-radius: 2px; background: rgba(143, 169, 162, 0.34); }
.rail__ticks li:nth-child(3n) { background: var(--cyan); }
.rail__ticks li:nth-child(5n) { background: var(--orange); }
.rail__stat {
  margin-top: auto;
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-align: center;
}
.rail__stat b { display: block; font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--cyan); }
.rail__link {
  writing-mode: vertical-rl;
  padding: 16px 8px;
  border: 1px solid rgba(95, 242, 208, 0.36);
  border-radius: var(--r-pill);
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: 0.24em;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.rail__link:hover { background: var(--cyan); color: #04140F; }

/* ---------- 8. footer ---------- */
.site-foot {
  position: relative;
  z-index: 1;
  margin-top: clamp(56px, 9vw, 110px);
  padding: clamp(34px, 5vw, 68px) 0 0;
  border-top: 1px solid var(--cyan-line);
  background: linear-gradient(180deg, rgba(12, 30, 26, 0.62), rgba(6, 17, 15, 0.98));
}
.foot-grid { display: grid; gap: clamp(24px, 3.4vw, 46px); grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .foot-grid { grid-template-columns: 1.15fr 1fr 1.1fr; }
}
.foot-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.foot-brand { font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: 0.08em; color: var(--white); }
.foot-brand__dot { margin: 0 5px; color: var(--cyan); }
.foot-note { max-width: 36ch; font-size: 14px; color: var(--muted); }
.foot-note--sub { font-size: 12.5px; line-height: 1.7; }
.foot-title { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.22em; color: var(--cyan); text-transform: uppercase; }
.foot-list { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.foot-list a { color: var(--white); opacity: 0.86; transition: color 0.2s var(--ease), opacity 0.2s var(--ease); }
.foot-list a:hover { color: var(--cyan); opacity: 1; }
.foot-list--inline { flex-direction: row; flex-wrap: wrap; gap: 10px 18px; }
.foot-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.foot-chips li {
  padding: 4px 8px;
  border: 1px solid rgba(143, 169, 162, 0.28);
  border-radius: 6px;
  background: rgba(143, 169, 162, 0.06);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.foot-contact { display: grid; gap: 10px; font-size: 14px; }
.foot-contact__row { display: grid; gap: 2px; }
.foot-contact__key { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--muted); }
.foot-contact__val { color: var(--white); word-break: break-word; }
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  margin-top: clamp(26px, 4vw, 46px);
  padding: 16px 0 24px;
  border-top: 1px solid rgba(143, 169, 162, 0.18);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.foot-legal { color: var(--cyan-soft); }

/* ---------- 9. dock ---------- */
.dock {
  position: fixed;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dock__link {
  display: inline-flex;
  align-items: center;
  padding: 10px 15px;
  border: 1px solid var(--cyan-line);
  border-radius: var(--r-pill);
  background: rgba(9, 24, 20, 0.92);
  color: var(--cyan-soft);
  font-size: 13px;
  letter-spacing: 0.06em;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px -30px #000;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.dock__link:hover { background: var(--cyan); color: #04140F; }
.dock__top {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--cyan-line);
  border-radius: 50%;
  background: rgba(9, 24, 20, 0.92);
  color: var(--cyan);
  font-size: 16px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0.24s, background 0.2s var(--ease), color 0.2s var(--ease);
}
.dock__top[data-visible] { opacity: 1; visibility: visible; transform: none; }
.dock__top:hover { background: var(--cyan); color: #04140F; }

/* ---------- 10. reveal & motion ---------- */
html.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
html.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js-reveal [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
  .dock__top { transition: opacity 0.01s linear, visibility 0.01s linear; }
  .head-bar, .head-progress__fill, .qa-item__panel, .qa-item__trigger::before { transition: none; }
}
