/* =========================================================
   迈博体育看台 — /assets/site.css
   共享外壳：reset / tokens / 中文排版 / 头部 / 页脚 / 通用组件
   ========================================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--pulse-h, 30px) + 16px);
}

body,
h1, h2, h3, h4, h5, p, figure, blockquote, dl, dd, address { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }

/* ---------- 2. tokens ---------- */
:root {
  --abyss-900: #04121F;
  --abyss-800: #082133;
  --glass-700: #0E2C45;
  --pulse: #1FE0D0;
  --cyan-300: #7CF3EA;
  --coral: #FF6B4A;
  --amber: #FFC53D;
  --mist-400: #9DB2C0;
  --mist-050: #EAF3F7;
  --paper: #F4F8FA;

  --ink: var(--mist-050);
  --ink-dim: var(--mist-400);
  --ink-soft: #C6D6E0;

  --line: rgba(31, 224, 208, .18);
  --line-soft: rgba(157, 178, 192, .16);
  --line-strong: rgba(31, 224, 208, .42);
  --glass-bg: rgba(14, 44, 69, .58);
  --glass-deep: rgba(8, 33, 51, .92);

  --pulse-h: 30px;
  --bar-h: 58px;
  --rail-w: 232px;
  --gutter: clamp(16px, 4vw, 48px);
  --shell-max: 1320px;

  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s6: 48px;
  --s8: 64px;
  --s12: 96px;
  --s16: 128px;

  --r1: 6px;
  --r2: 10px;
  --r3: 18px;

  --font-display: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", "SFMono-Regular", ui-monospace, "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  --font-label: Inter, "Helvetica Neue", Arial, var(--font-body);

  color-scheme: dark;
}

@media (max-width: 1279px) {
  :root { --rail-w: 208px; }
}

/* ---------- 3. base ---------- */
body {
  min-height: 100vh;
  padding-top: var(--pulse-h);
  background-color: var(--abyss-900);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: .006em;
  overflow-x: hidden;
}

@media (min-width: 1200px) {
  body { font-size: 17px; }
}

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

@media (max-width: 1023px) {
  body { padding-top: calc(var(--pulse-h) + var(--bar-h)); }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(31, 224, 208, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31, 224, 208, .055) 1px, transparent 1px);
  background-size: 96px 96px;
  -webkit-mask-image: radial-gradient(125% 85% at 78% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(125% 85% at 78% 0%, #000 0%, transparent 72%);
}

::selection { background: rgba(31, 224, 208, .3); color: #FFFFFF; }

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

h1, .h1 { font-size: clamp(34px, 5.4vw, 68px); font-weight: 900; line-height: 1.04; }
h2, .h2 { font-size: clamp(25px, 3.2vw, 42px); }
h3, .h3 { font-size: clamp(19px, 1.9vw, 25px); line-height: 1.25; }
h4, .h4 { font-size: 17px; line-height: 1.4; }

.lede {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.72;
  color: var(--ink-soft);
  max-width: 68ch;
}

.note {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--mist-400);
}

.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: -.012em;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-label);
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--pulse);
}

.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--pulse);
}

/* ---------- 4. layout ---------- */
.container {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 1;
}

.container--wide { max-width: 1560px; }
.container--narrow { max-width: 820px; }

.stack { display: grid; gap: var(--s2); }
.stack--loose { gap: var(--s3); }
.stack--tight { gap: var(--s1); }

.grid { display: grid; gap: var(--s3); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.grid-5-7 {
  display: grid;
  gap: var(--s4);
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
}

.section { padding-block: var(--s8); position: relative; }
.section--tight { padding-block: var(--s6); }
.section--deep { background: var(--abyss-900); }
.section--mid { background: var(--abyss-800); }

.section--edge { overflow: hidden; }

.section--edge::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 42%;
  max-width: 620px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(31, 224, 208, .1), transparent 68%);
  -webkit-clip-path: polygon(0 0, 100% 0, 66% 100%, 0 100%);
  clip-path: polygon(0 0, 100% 0, 66% 100%, 0 100%);
}

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s2);
  margin-bottom: var(--s4);
}

.section__no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: rgba(157, 178, 192, .55);
}

/* ---------- 5. components ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--r2);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  text-align: center;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease,
              box-shadow .25s ease, transform .2s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--coral); color: #1A0703; }
.btn--primary:hover { background: #FF8B6E; box-shadow: 0 12px 28px rgba(255, 107, 74, .28); }

.btn--cyan { background: var(--pulse); color: #03211F; }
.btn--cyan:hover { background: var(--cyan-300); box-shadow: 0 12px 28px rgba(31, 224, 208, .24); }

.btn--ghost {
  background: rgba(31, 224, 208, .08);
  border-color: var(--line);
  color: var(--mist-050);
}
.btn--ghost:hover { background: rgba(31, 224, 208, .17); border-color: var(--line-strong); }

.btn--quiet { padding: 10px 14px; color: var(--cyan-300); background: transparent; }
.btn--quiet:hover { color: var(--mist-050); background: rgba(31, 224, 208, .08); }

.btn--block { width: 100%; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(157, 178, 192, .2);
  background: rgba(157, 178, 192, .12);
  color: var(--mist-400);
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tag--cyan { background: rgba(31, 224, 208, .12); border-color: rgba(31, 224, 208, .32); color: var(--cyan-300); }
.tag--coral { background: rgba(255, 107, 74, .14); border-color: rgba(255, 107, 74, .34); color: #FF9A80; }
.tag--amber { background: rgba(255, 197, 61, .14); border-color: rgba(255, 197, 61, .34); color: var(--amber); }

.tag--live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.panel {
  position: relative;
  padding: var(--s4);
  border: 1px solid var(--line);
  border-radius: var(--r3);
  background: linear-gradient(160deg, rgba(14, 44, 69, .72), rgba(8, 33, 51, .6));
}

.panel--solid { background: var(--abyss-800); }
.panel--paper {
  background: var(--paper);
  border-color: rgba(4, 18, 31, .1);
  color: var(--abyss-900);
}
.panel--paper h1, .panel--paper h2, .panel--paper h3 { color: var(--abyss-900); }
.panel--paper .note, .panel--paper .lede { color: #3A505E; }

.glass {
  background: var(--glass-bg);
  border: 1px solid var(--line);
  border-radius: var(--r3);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.meter {
  position: relative;
  height: 8px;
  border-radius: 4px;
  background: rgba(157, 178, 192, .14);
  overflow: hidden;
}

.meter__fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--pulse), var(--cyan-300));
  transition: width 1s cubic-bezier(.22, .7, .2, 1);
}

.meter__fill--coral { background: linear-gradient(90deg, var(--coral), var(--amber)); }

.breadcrumbs { padding-top: var(--s3); }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-label);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--mist-400);
}

.crumbs a { color: var(--mist-400); transition: color .18s ease; }
.crumbs a:hover { color: var(--pulse); }
.crumbs [aria-current="page"] { color: var(--mist-050); }
.crumb-sep { color: rgba(157, 178, 192, .4); }

.media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r3);
  border: 1px solid var(--line);
  background: linear-gradient(150deg, var(--abyss-800), var(--glass-700));
}

.media > img,
.media > svg,
.media > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 18, 31, 0) 42%, rgba(4, 18, 31, .8) 100%);
}

.media--bare::after { display: none; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--21x9 { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 3 / 4; }

@supports not (aspect-ratio: 1 / 1) {
  .media--16x9 { height: 0; padding-bottom: 56.25%; }
  .media--4x3 { height: 0; padding-bottom: 75%; }
  .media--21x9 { height: 0; padding-bottom: 42.85%; }
  .media--tall { height: 0; padding-bottom: 133.33%; }
}

.media__cap {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  font-size: 13px;
  line-height: 1.5;
  color: var(--mist-050);
}

/* ---------- 6. header ---------- */
.skip-link {
  position: fixed;
  top: -100px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--r2);
  background: var(--pulse);
  color: #03211F;
  font-weight: 700;
  transition: top .2s ease;
}

.skip-link:focus { top: 12px; }

.site-header {
  position: relative;
  z-index: 60;
}

.pulse-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--pulse-h);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(4, 18, 31, .97) 0%, rgba(8, 33, 51, .94) 55%, rgba(4, 18, 31, .97) 100%);
  border-bottom: 1px solid var(--line-soft);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  z-index: 60;
}

.pulse-bar__beats {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 14px;
  flex: 0 0 auto;
}

.beat {
  display: block;
  width: 3px;
  height: 6px;
  border-radius: 1px;
  background: rgba(157, 178, 192, .28);
}

.beat.is-on { height: 14px; background: var(--pulse); }
.beat.is-hot { height: 14px; background: var(--amber); }

.pulse-bar__meta {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mist-400);
  white-space: nowrap;
}

.pulse-bar__meta b { color: var(--amber); font-size: 12px; }

.pulse-bar__live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
  animation: pulseDot 2.6s ease-out infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(255, 107, 74, .55); }
  70% { box-shadow: 0 0 0 9px rgba(255, 107, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 107, 74, 0); }
}

.pulse-bar__pct {
  margin-left: auto;
  font-size: 11px;
  color: var(--cyan-300);
  letter-spacing: .04em;
}

.pulse-bar__track {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: rgba(157, 178, 192, .14);
  overflow: hidden;
}

.pulse-bar__fill {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--pulse), var(--cyan-300));
}

.stand-rail {
  position: fixed;
  left: 0;
  top: var(--pulse-h);
  bottom: 0;
  width: var(--rail-w);
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  padding: var(--s3) 16px max(16px, env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  background:
    linear-gradient(180deg, rgba(8, 33, 51, .94) 0%, rgba(4, 18, 31, .97) 100%);
  border-right: 1px solid var(--line-soft);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  z-index: 55;
}

.rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  position: relative;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(150deg, var(--pulse), #0B8F88 72%);
  box-shadow: 0 0 0 1px rgba(31, 224, 208, .35), 0 8px 20px rgba(31, 224, 208, .18);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background: var(--abyss-900);
  border-radius: 1px;
}

.brand-mark::before { left: 8px; top: 8px; width: 4px; height: 14px; }
.brand-mark::after { left: 16px; top: 12px; width: 4px; height: 10px; }

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

.brand-sign {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--mist-050);
  white-space: nowrap;
}

.brand-tag {
  font-family: var(--font-label);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pulse);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r2);
  background: rgba(14, 44, 69, .6);
  transition: border-color .2s ease, background-color .2s ease;
}

.nav-toggle:hover { border-color: var(--line-strong); background: rgba(31, 224, 208, .12); }

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--pulse);
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--pulse);
  transition: transform .25s ease, top .25s ease;
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

.rail-stand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px dashed rgba(31, 224, 208, .28);
  border-radius: var(--r1);
  background: rgba(31, 224, 208, .05);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan-300);
}

.rail-stand__k { color: rgba(157, 178, 192, .55); letter-spacing: .1em; }
.rail-stand__v { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.stand-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 0;
}

.stand-nav__cap {
  padding: 0 10px var(--s2);
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(157, 178, 192, .55);
}

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

.stand-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 10px 14px;
  border-radius: var(--r1);
  color: var(--mist-400);
  font-size: 15px;
  font-weight: 600;
  transition: color .18s ease, background-color .18s ease;
}

.stand-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 0;
  border-radius: 2px;
  background: var(--pulse);
  transform: translateY(-50%);
  transition: height .22s ease;
}

.stand-link__no {
  font-size: 10.5px;
  letter-spacing: .06em;
  color: rgba(157, 178, 192, .5);
  transition: color .18s ease;
}

.stand-link__txt { position: relative; }

.stand-link:hover { color: var(--mist-050); background: rgba(31, 224, 208, .07); }
.stand-link:hover::before { height: 58%; }

.stand-link[aria-current="page"] {
  color: var(--mist-050);
  background: linear-gradient(90deg, rgba(31, 224, 208, .18), rgba(31, 224, 208, .02));
}

.stand-link[aria-current="page"]::before {
  height: 74%;
  box-shadow: 0 0 12px rgba(31, 224, 208, .7);
}

.stand-link[aria-current="page"] .stand-link__no { color: var(--pulse); }

.rail-actions {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: var(--s3);
  border-top: 1px solid var(--line-soft);
}

.rail-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r2);
  background: rgba(31, 224, 208, .1);
  color: var(--mist-050);
  font-size: 14px;
  font-weight: 700;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.rail-btn:hover { background: rgba(31, 224, 208, .2); border-color: var(--line-strong); }

.rail-btn--coral {
  overflow: hidden;
  background: var(--coral);
  border-color: transparent;
  color: #1A0703;
}

.rail-btn--coral:hover { background: #FF8B6E; }

.rail-btn--coral::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
}

.rail-btn--coral:hover::after { animation: coralPulse .7s ease-out; }

@keyframes coralPulse {
  0% { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 107, 74, .55); }
  100% { opacity: 0; box-shadow: 0 0 0 16px rgba(255, 107, 74, 0); }
}

.rail-scrim { display: none; }

@media (max-width: 1023px) {
  .stand-rail {
    top: var(--pulse-h);
    left: 0;
    right: 0;
    bottom: auto;
    width: auto;
    height: var(--bar-h);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--s2);
    padding: 0 var(--gutter);
    overflow: visible;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
    z-index: 55;
  }

  .nav-toggle { display: grid; }
  .rail-stand { display: none; }

  .stand-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 74vh;
    overflow-y: auto;
    margin: 0;
    padding: var(--s3) var(--gutter) calc(var(--s4) + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(8, 33, 51, .985), rgba(4, 18, 31, .995));
    border-top: 1px solid rgba(31, 224, 208, .35);
    border-radius: var(--r3) var(--r3) 0 0;
    box-shadow: 0 -18px 48px rgba(4, 18, 31, .6);
    transform: translateY(105%);
    transition: transform .32s cubic-bezier(.22, .7, .2, 1);
    z-index: 70;
  }

  .stand-nav[data-open] { transform: translateY(0); }

  .stand-link { padding: 14px 14px 14px 16px; font-size: 16px; }

  .rail-actions { margin-top: var(--s3); }

  .rail-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 65;
    background: rgba(4, 18, 31, .62);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
  }

  .rail-scrim[data-open] { opacity: 1; pointer-events: auto; }

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

/* ---------- 7. footer ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: var(--s12);
  padding: var(--s8) 0 var(--s4);
  color: var(--mist-400);
  background: linear-gradient(180deg, rgba(8, 33, 51, .55) 0%, var(--abyss-900) 62%);
  border-top: 1px solid var(--line-soft);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pulse) 0%, rgba(31, 224, 208, 0) 32%, rgba(255, 107, 74, 0) 68%, var(--coral) 100%);
  opacity: .55;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr));
  gap: var(--s6) var(--s4);
}

.foot-brand { min-width: 0; }

.foot-brand__logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--mist-050);
}

.foot-brand__tag {
  margin-top: 2px;
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber);
}

.foot-brand__desc {
  margin-top: var(--s2);
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist-400);
}

.foot-contact {
  display: grid;
  gap: 8px;
  margin-top: var(--s3);
  font-style: normal;
  font-size: 14px;
}

.foot-contact__row { display: flex; align-items: flex-start; gap: 10px; }

.foot-contact__k {
  flex: 0 0 auto;
  min-width: 36px;
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: rgba(157, 178, 192, .6);
}

.foot-contact__v { color: var(--mist-050); word-break: break-word; }

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

.foot-col__title {
  margin-bottom: var(--s2);
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pulse);
}

.foot-list { display: grid; gap: 10px; }

.foot-list a {
  display: inline-block;
  font-size: 14.5px;
  color: var(--mist-400);
  transition: color .18s ease, padding-left .18s ease;
}

.foot-list a:hover { color: var(--mist-050); padding-left: 6px; }

.foot-note {
  margin-top: var(--s6);
  padding: 14px 16px;
  border-left: 2px solid var(--amber);
  border-radius: 0 var(--r1) var(--r1) 0;
  background: rgba(255, 197, 61, .06);
  font-size: 13px;
  line-height: 1.8;
  color: var(--mist-400);
}

.foot-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2) var(--s4);
  margin-top: var(--s6);
  padding-top: var(--s3);
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
}

.foot-copy { color: var(--mist-400); }

.foot-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

.foot-legal a { color: var(--mist-400); transition: color .18s ease; }
.foot-legal a:hover { color: var(--pulse); }

.foot-icp {
  padding: 3px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font-size: 12px;
  color: var(--mist-400);
}

@media (max-width: 1023px) {
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-base { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .foot-grid { grid-template-columns: 1fr; }
}

/* ---------- 8. responsive utilities ---------- */
@media (max-width: 1023px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-5-7 { grid-template-columns: 1fr; }
  .section { padding-block: var(--s6); }
  .section--tight { padding-block: var(--s4); }
  .site-footer { margin-top: var(--s8); padding-top: var(--s6); }
}

@media (max-width: 720px) {
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }
  .panel { padding: var(--s3); }
  .section__head { align-items: flex-start; }
}

/* ---------- 9. a11y & motion ---------- */
:focus-visible {
  outline: 2px solid var(--pulse);
  outline-offset: 2px;
  border-radius: var(--r1);
}

a:focus-visible,
button:focus-visible { outline: 2px solid var(--pulse); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  .btn:hover { transform: none; }
  .meter__fill { transition: none; }
  .stand-nav { transition: none; }
}
