/* =========================================================
   LETOU 国米赛事 · /assets/site.css
   共享外壳：reset / 变量 / 中文排版 / 页头 / 页脚 / 基础组件
   ========================================================= */

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

:root {
  /* 色彩 */
  --ink: #05070C;
  --navy: #0B1A33;
  --pitch: #123B6E;
  --grid: #24354F;
  --cyan: #35E6D5;
  --gold: #F3C24B;
  --gold-deep: #C8912A;
  --green: #57D98B;
  --mist: #E9EFF8;
  --steel: #8296AE;
  --body: #C9D6E8;

  /* 形状 */
  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;
  --pill: 999px;

  /* 字体 */
  --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", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* 面板 */
  --panel: linear-gradient(160deg, rgba(18, 59, 110, .42), rgba(11, 26, 51, .55) 55%, rgba(5, 7, 12, .72));
  --hairline: 1px solid rgba(36, 53, 79, .8);
  --header-h: 116px;
}

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

body {
  margin: 0;
  min-height: 100%;
  background-color: var(--ink);
  background-image:
    radial-gradient(1200px 620px at 10% -8%, rgba(18, 59, 110, .55), transparent 62%),
    radial-gradient(900px 520px at 100% 2%, rgba(53, 230, 213, .10), transparent 58%),
    linear-gradient(180deg, rgba(36, 53, 79, .30) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 53, 79, .22) 1px, transparent 1px);
  background-size: auto, auto, 100% 96px, 96px 100%;
  color: var(--body);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

main { display: block; }

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

h1, h2, h3, h4, h5 {
  margin: 0 0 .6em;
  color: var(--mist);
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: .06em;
}

h1 { font-size: clamp(34px, 6vw, 84px); }
h2 { font-size: clamp(26px, 3.4vw, 44px); }
h3 { font-size: clamp(20px, 2.2vw, 28px); letter-spacing: .04em; }
h4 { font-size: 18px; letter-spacing: .04em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--gold); }

ul, ol { padding-left: 1.2em; }

strong, b { color: var(--mist); font-weight: 600; }
em { font-style: normal; }

::selection { background: rgba(243, 194, 75, .3); color: var(--mist); }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ---------- 工具与容器 ---------- */

.shell {
  width: min(1280px, 100% - clamp(1.5rem, 5vw, 5rem));
  margin-inline: auto;
}

.stack > * + * { margin-top: var(--stack-gap, 18px); }

.divider {
  height: 1px;
  border: 0;
  margin: clamp(28px, 4vw, 52px) 0;
  background: linear-gradient(90deg, rgba(36, 53, 79, .2), var(--grid), rgba(36, 53, 79, .2));
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -70px;
  z-index: 200;
  padding: 10px 20px;
  border-radius: var(--pill);
  background: var(--gold);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; color: var(--ink); }

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  background: transparent;
  color: var(--mist);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn--gold {
  background: linear-gradient(120deg, var(--gold), #FFD977);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(243, 194, 75, .18);
}
.btn--gold:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 14px 36px rgba(243, 194, 75, .3); }
.btn--ghost { border-color: var(--grid); color: var(--mist); }
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn--cyan {
  border-color: rgba(53, 230, 213, .45);
  background: rgba(53, 230, 213, .1);
  color: var(--cyan);
}
.btn--cyan:hover { color: var(--ink); background: var(--cyan); }

/* ---------- 标签与徽标 ---------- */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border: 1px solid var(--grid);
  border-radius: var(--pill);
  background: rgba(18, 59, 110, .25);
  color: var(--steel);
  font-size: 12px;
  letter-spacing: .12em;
  white-space: nowrap;
}
.tag--gold { border-color: rgba(200, 145, 42, .6); color: var(--gold); }
.tag--cyan { border-color: rgba(53, 230, 213, .5); color: var(--cyan); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 12.5px;
  letter-spacing: .1em;
}
.badge--live::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(87, 217, 139, .16);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: .22em;
  line-height: 1.6;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--cyan);
}

/* ---------- 章节头 ---------- */

.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(14px, 2.6vw, 36px);
  align-items: start;
  margin-bottom: clamp(20px, 3vw, 36px);
}
.section-head__num {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: clamp(52px, 10vw, 132px);
  line-height: .84;
  letter-spacing: -.02em;
  color: var(--gold);
  opacity: .22;
  -webkit-text-stroke: 1px rgba(243, 194, 75, .28);
}
.section-head__title { margin: 0 0 10px; }
.section-head__lead {
  margin: 0;
  max-width: 62ch;
  color: var(--steel);
  font-size: 16px;
}
@media (max-width: 620px) {
  .section-head { grid-template-columns: 1fr; gap: 6px; }
  .section-head__num { font-size: clamp(44px, 16vw, 72px); }
}

/* ---------- Bento 栅格与卡片 ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 18px);
}
.bento > * { grid-column: span 12; }

@media (min-width: 760px) {
  .bento .col-3 { grid-column: span 3; }
  .bento .col-4 { grid-column: span 4; }
  .bento .col-5 { grid-column: span 5; }
  .bento .col-6 { grid-column: span 6; }
  .bento .col-7 { grid-column: span 7; }
  .bento .col-8 { grid-column: span 8; }
  .bento .col-9 { grid-column: span 9; }
  .bento .col-12 { grid-column: span 12; }
}

.tile {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 2.2vw, 28px);
  border: 1px solid var(--grid);
  border-radius: var(--r-lg);
  background: var(--panel);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.tile:hover, .tile:focus-within {
  border-color: var(--gold-deep);
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .38);
}
.tile--cut {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 46px 100%, 0 calc(100% - 46px));
  border-radius: 0;
}
.tile--flat { background: rgba(11, 26, 51, .6); }

.tile__label {
  display: block;
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: .2em;
}
.tile__title {
  margin: 0 0 8px;
  color: var(--mist);
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.35;
}
.tile__text {
  margin: 0;
  color: var(--steel);
  font-size: 14.5px;
  line-height: 1.75;
}
.tile__hint {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin: 0;
  color: var(--mist);
  font-size: 13.5px;
  line-height: 1.7;
  border-top: 1px dashed rgba(36, 53, 79, .9);
  transition: max-height .3s ease, opacity .3s ease, margin-top .3s ease;
}
.tile:hover .tile__hint, .tile:focus-within .tile__hint {
  max-height: 90px;
  opacity: 1;
  margin-top: 12px;
  padding-top: 10px;
}
@media (prefers-reduced-motion: reduce) {
  .tile__hint { max-height: none; opacity: 1; margin-top: 12px; padding-top: 10px; }
}

/* ---------- 数据块 ---------- */

.stat { display: block; }
.stat__value {
  display: block;
  color: var(--gold);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  display: block;
  margin-top: 8px;
  color: var(--steel);
  font-size: 12.5px;
  letter-spacing: .16em;
}
.stat--cyan .stat__value { color: var(--cyan); }
.stat--green .stat__value { color: var(--green); }
.stat--mist .stat__value { color: var(--mist); }

/* ---------- 面包屑 ---------- */

.crumb { border-bottom: var(--hairline); }
.crumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 14px 0;
  list-style: none;
  color: var(--steel);
  font-size: 13px;
  letter-spacing: .04em;
}
.crumb__list li { display: flex; align-items: center; gap: 8px; }
.crumb__list li + li::before { content: "/"; color: var(--grid); }
.crumb__list a { color: var(--steel); }
.crumb__list a:hover { color: var(--cyan); }
.crumb__list [aria-current="page"] { color: var(--mist); }

/* ---------- 图片容器基础规则 ---------- */

.media-frame {
  position: relative;
  overflow: hidden;
  min-height: 160px;
  aspect-ratio: 16 / 10;
  border: var(--hairline);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 90% at 18% 0%, rgba(18, 59, 110, .9), transparent 62%),
    linear-gradient(150deg, #0B1A33, #05070C);
}
.media-frame > img,
.media-frame > picture,
.media-frame > picture img,
.media-frame > video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.media-frame--wide { aspect-ratio: 16 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--slant { border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 8px; }
.media-frame--duo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(155deg, rgba(18, 59, 110, .58), rgba(5, 7, 12, .22) 52%, rgba(243, 194, 75, .28));
  mix-blend-mode: screen;
}
.media-frame__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(180deg, transparent, rgba(5, 7, 12, .88));
  color: var(--mist);
  font-size: 12.5px;
  letter-spacing: .1em;
  line-height: 1.6;
}

/* ---------- 正文容器 ---------- */

.prose { max-width: 74ch; }
.prose h2 { margin-top: 1.6em; font-size: clamp(24px, 2.6vw, 32px); }
.prose h3 { margin-top: 1.4em; font-size: clamp(19px, 1.9vw, 24px); }
.prose p, .prose li { font-size: 17px; line-height: 1.85; }
.prose li + li { margin-top: .4em; }
.prose a {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-color: rgba(53, 230, 213, .45);
  text-underline-offset: 4px;
}
.prose a:hover { color: var(--gold); text-decoration-color: rgba(243, 194, 75, .6); }
.prose blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--gold-deep);
  color: var(--steel);
}
.prose hr { border: 0; height: 1px; background: var(--grid); margin: 2.4em 0; }
.prose table {
  width: 100%;
  margin: 1.6em 0;
  border-collapse: collapse;
  font-size: 14.5px;
}
.prose th, .prose td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(36, 53, 79, .8);
  text-align: left;
}
.prose th { color: var(--mist); font-weight: 600; letter-spacing: .06em; }
.prose td { color: var(--body); font-variant-numeric: tabular-nums; }

/* ---------- 滚动显现 ---------- */

@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .55s ease, transform .55s cubic-bezier(.22, .61, .36, 1);
  }
  [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 右侧章节索引（JS 生成） ---------- */

.chapter-index {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 70;
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 14px 10px;
  border: var(--hairline);
  border-radius: var(--pill);
  background: rgba(5, 7, 12, .74);
  backdrop-filter: blur(10px);
}
@media (min-width: 1320px) {
  .chapter-index { display: flex; }
}
.chapter-index__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px;
  border: 0;
  background: none;
  color: var(--steel);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  cursor: pointer;
}
.chapter-index__dot {
  flex: 0 0 auto;
  width: 9px; height: 9px;
  border: 1px solid var(--grid);
  border-radius: 50%;
  background: transparent;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.chapter-index__label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  transition: max-width .25s ease, opacity .25s ease;
}
.chapter-index__item:hover .chapter-index__dot { border-color: var(--cyan); }
.chapter-index__item:hover .chapter-index__label,
.chapter-index__item.is-active .chapter-index__label {
  max-width: 180px;
  opacity: 1;
}
.chapter-index__item.is-active { color: var(--gold); }
.chapter-index__item.is-active .chapter-index__dot {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.25);
}

/* =========================================================
   页头
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(5, 7, 12, .9);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: var(--hairline);
}

.masthead {
  max-height: 220px;
  padding: 16px 0 14px;
  border-bottom: 1px solid rgba(36, 53, 79, .6);
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease, opacity .25s ease;
}
.site-header[data-shrunk] .masthead {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
}

.masthead__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}
.brand:hover { color: inherit; }
.brand__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1px solid rgba(200, 145, 42, .55);
  border-radius: 14px;
  background: linear-gradient(140deg, var(--pitch), var(--ink));
  box-shadow: inset 0 0 0 1px rgba(53, 230, 213, .18);
}
.brand__ring {
  width: 16px; height: 16px;
  border: 3px solid var(--gold);
  border-left-color: var(--cyan);
  border-radius: 50%;
  transform: rotate(-30deg);
}
.brand__text { display: flex; flex-direction: column; gap: 2px; }
.brand__word {
  color: var(--mist);
  font-family: var(--font-display);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1.1;
}
.brand__word em { color: var(--gold); }
.brand__sub {
  color: var(--steel);
  font-size: 11.5px;
  letter-spacing: .18em;
}
.brand--footer { margin-bottom: 14px; }
.brand--footer .brand__word { font-size: 21px; }

.masthead__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.masthead__tag {
  padding: 5px 14px;
  border: 1px solid var(--grid);
  border-radius: var(--pill);
  color: var(--steel);
  font-size: 12px;
  letter-spacing: .14em;
}
.hotline {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .04em;
  border-bottom: 1px dashed rgba(53, 230, 213, .45);
}
.hotline:hover { color: var(--gold); border-bottom-color: rgba(243, 194, 75, .5); }

.nav-bar {
  position: relative;
  background: linear-gradient(180deg, rgba(11, 26, 51, .92), rgba(5, 7, 12, .72));
}
.nav-bar__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 60px;
  padding-block: 6px;
}
.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.6vw, 26px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-list a {
  position: relative;
  display: inline-block;
  padding: 10px 2px;
  color: var(--steel);
  font-size: clamp(15px, 1.15vw, 17px);
  font-weight: 500;
  letter-spacing: .08em;
  text-decoration: none;
  transition: color .2s ease;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s ease;
}
.nav-list a:hover { color: var(--mist); }
.nav-list a:hover::after { transform: scaleX(1); }
.nav-list a[aria-current="page"] { color: var(--gold); }
.nav-list a[aria-current="page"]::after { transform: scaleX(1); }

.nav-bar__call {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: var(--pill);
  background: linear-gradient(120deg, var(--gold), #FFD977);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .08em;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(243, 194, 75, .18);
  transition: transform .2s ease, box-shadow .2s ease;
}
.nav-bar__call:hover {
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(243, 194, 75, .32);
}

.nav-bar__progress {
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  transition: width .12s linear;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--grid);
  border-radius: var(--pill);
  background: rgba(18, 59, 110, .35);
  color: var(--mist);
  font-family: inherit;
  font-size: 13.5px;
  letter-spacing: .1em;
  cursor: pointer;
}
.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}
.nav-toggle__bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transition: transform .25s ease, opacity .2s ease;
}
.nav-bar[data-open] .nav-toggle__bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-bar[data-open] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.nav-bar[data-open] .nav-toggle__bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 980px) {
  html { scroll-padding-top: 76px; }
  .masthead { padding: 12px 0 10px; }
  .masthead__tag { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-bar__inner { grid-template-columns: auto 1fr auto; min-height: 56px; }
  .nav-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 5;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px clamp(1rem, 5vw, 1.6rem) 16px;
    border-bottom: var(--hairline);
    background: rgba(5, 7, 12, .985);
    box-shadow: 0 26px 44px rgba(0, 0, 0, .55);
  }
  .nav-bar[data-open] .nav-list { display: flex; }
  .nav-list a {
    padding: 14px 4px;
    border-bottom: 1px solid rgba(36, 53, 79, .6);
    font-size: 16px;
  }
  .nav-list li:last-child a { border-bottom: 0; }
  .nav-list a::after { display: none; }
  .nav-bar__call { padding: 8px 14px; font-size: 13.5px; }
}

@media (max-width: 520px) {
  .brand__mark { width: 36px; height: 36px; border-radius: 12px; }
  .brand__sub { font-size: 10.5px; letter-spacing: .12em; }
  .nav-toggle__label { display: none; }
  .nav-bar__call { padding: 8px 12px; font-size: 13px; }
}

/* =========================================================
   页脚
   ========================================================= */

.site-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 120px);
  border-top: var(--hairline);
  background: linear-gradient(180deg, rgba(11, 26, 51, .55), #070C16 42%, #04060A 100%);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--gold), transparent);
  opacity: .7;
}

.footer__top { padding: clamp(40px, 6vw, 72px) 0 clamp(26px, 4vw, 44px); }

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: clamp(24px, 3.4vw, 56px);
}
@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
}

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

.footer__claim {
  margin: 0 0 10px;
  max-width: 30ch;
  color: var(--mist);
  font-size: 15.5px;
  line-height: 1.7;
}
.footer__version {
  margin: 0 0 14px;
  color: var(--steel);
  font-size: 12.5px;
  letter-spacing: .12em;
}

.footer__pulse {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 30px;
}
.footer__pulse i {
  display: block;
  width: 7px;
  height: 30%;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--cyan), rgba(53, 230, 213, .1));
}
.footer__pulse i:nth-child(1) { height: 32%; }
.footer__pulse i:nth-child(2) { height: 58%; }
.footer__pulse i:nth-child(3) { height: 84%; }
.footer__pulse i:nth-child(4) { height: 46%; }
.footer__pulse i:nth-child(5) { height: 100%; background: linear-gradient(180deg, var(--gold), rgba(243, 194, 75, .12)); }
.footer__pulse i:nth-child(6) { height: 66%; }
.footer__pulse i:nth-child(7) { height: 40%; }
.footer__pulse i:nth-child(8) { height: 76%; background: linear-gradient(180deg, var(--green), rgba(87, 217, 139, .12)); }

.footer__title {
  margin: 0 0 14px;
  color: var(--mist);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
  line-height: 1.6;
}
.footer__title::before {
  content: "";
  display: inline-block;
  width: 14px; height: 2px;
  margin-right: 8px;
  border-radius: 2px;
  background: var(--gold);
  vertical-align: middle;
}

.footer__links {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.footer__links a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: var(--steel);
  font-size: 14.5px;
  line-height: 1.7;
  transition: color .2s ease;
}
.footer__links a::before {
  content: "";
  flex: 0 0 auto;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: .5;
  transition: background .2s ease, opacity .2s ease;
}
.footer__links a:hover { color: var(--mist); }
.footer__links a:hover::before { background: var(--gold); opacity: 1; }

.footer__contact {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px dashed rgba(36, 53, 79, .9);
  list-style: none;
}
.footer__contact li {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 10px;
  align-items: baseline;
}
.footer__key {
  color: var(--steel);
  font-size: 12px;
  letter-spacing: .14em;
}
.footer__val {
  color: var(--mist);
  font-size: 13.5px;
  line-height: 1.7;
  word-break: break-word;
}
.footer__val.mono { font-size: 13px; }

.footer__note {
  margin: 14px 0 0;
  padding-left: 12px;
  border-left: 2px solid rgba(200, 145, 42, .5);
  color: var(--steel);
  font-size: 13px;
  line-height: 1.75;
}

.footer__bottom {
  border-top: 1px solid rgba(36, 53, 79, .7);
  padding: 16px 0 28px;
}
.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 22px;
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
}
.footer__legal a { color: var(--steel); }
.footer__legal a:hover { color: var(--cyan); }
.footer__copy {
  margin: 0;
  color: var(--steel);
  font-size: 13px;
  letter-spacing: .04em;
}
