/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, fieldset, legend { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; background: transparent; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; background: none; border: none; }

/* ===== CSS VARIABLES ===== */
:root {
  --bg-0: #0B0C10;
  --bg-1: #1F2833;
  --blue: #45A29E;
  --yellow: #FEE440;
  --purple: #B026FF;
  --gray: #C5C6C7;
  --white: #FFFFFF;
  --red: #FF3E41;
  --border: rgba(197, 198, 199, 0.22);
  --font-display: 'Arial Black', 'Staatliches', 'Impact', 'Helvetica Neue', sans-serif;
  --font-body: 'Noto Sans SC', 'Microsoft YaHei', 'PingFang SC', 'Segoe UI', sans-serif;
  --font-mono: 'Share Tech Mono', 'SFMono-Regular', 'Menlo', 'Consolas', monospace;
  --header-h: 72px;
  --max-w: 1440px;
  --content-w: 1240px;
  --grid-gap: 24px;
}

/* ===== GLOBAL ===== */
html { background: var(--bg-0); }
body {
  background-color: var(--bg-0);
  background-image:
    linear-gradient(rgba(69, 162, 158, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69, 162, 158, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 85% 8%, rgba(176, 38, 255, 0.12), transparent 42%),
    radial-gradient(circle at 8% 85%, rgba(69, 162, 158, 0.10), transparent 45%);
  background-size: 44px 44px, 44px 44px, 100% 100%, 100% 100%;
  background-attachment: fixed;
  color: var(--gray);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  min-height: 100vh;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
h1 { font-size: clamp(2.75rem, 7vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--yellow); }
::selection { background: rgba(254, 228, 64, 0.3); color: var(--white); }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 2px; }
#main-content { scroll-margin-top: 120px; }

/* ===== SKIP LINK ===== */
.skip-link {
  position: fixed;
  top: -60px;
  left: 12px;
  z-index: 20000;
  background: var(--yellow);
  color: var(--bg-0);
  font-weight: 800;
  padding: 10px 16px;
  text-decoration: none;
  transition: top 0.25s ease;
}
.skip-link:focus-visible { top: 12px; }

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 2000;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--purple), var(--yellow));
  box-shadow: 0 0 12px rgba(176, 38, 255, 0.7);
  transition: width 0.06s linear;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 12, 16, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header__bar {
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: rgba(197, 198, 199, 0.55);
  padding: 0 clamp(16px, 4vw, 48px);
  border-bottom: 1px solid rgba(197, 198, 199, 0.12);
  background: rgba(69, 162, 158, 0.05);
}
.site-header__coords { text-transform: uppercase; }
.site-header__status { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue);
  animation: status-pulse 2s ease-in-out infinite;
}
@keyframes status-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.site-header__grid {
  position: relative;
  max-width: var(--max-w);
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(16px, 4vw, 48px);
}

/* ===== BRAND ===== */
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0; }
.brand__mark {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--bg-0);
  background: var(--yellow);
  padding: 6px 10px;
  transform: skew(-14deg);
  box-shadow: 0 0 16px rgba(254, 228, 64, 0.35);
}
.brand__text { display: flex; flex-direction: column; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
  line-height: 1.2;
  text-transform: uppercase;
}
.brand__tagline {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  color: var(--gray);
  text-transform: uppercase;
  line-height: 1.2;
}

/* ===== NAVIGATION ===== */
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav__list { display: flex; align-items: center; gap: 2px; }
.site-nav__item { position: relative; }
.site-nav__link {
  display: block;
  padding: 10px 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: color 0.24s ease, background 0.24s ease;
}
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 100%;
  bottom: 5px;
  height: 2px;
  background: var(--yellow);
  transition: right 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.site-nav__link:hover { color: var(--white); }
.site-nav__link:hover::after { right: 12px; }
.site-nav__link[aria-current="page"] {
  color: var(--yellow);
  background: rgba(254, 228, 64, 0.07);
}
.site-nav__link[aria-current="page"]::after {
  right: 12px;
  background: var(--blue);
}
.site-nav__cta {
  display: inline-block;
  text-decoration: none;
  background: var(--yellow);
  color: var(--bg-0);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 10px 14px;
  transform: skew(-14deg);
  box-shadow: 0 0 22px rgba(254, 228, 64, 0.3);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}
.site-nav__cta span { display: inline-block; transform: skew(14deg); }
.site-nav__cta:hover {
  background: var(--white);
  color: var(--bg-0);
  box-shadow: 0 0 30px rgba(254, 228, 64, 0.5);
}

/* ===== NAV TOGGLE ===== */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(197, 198, 199, 0.3);
  cursor: pointer;
  background: transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.nav-toggle:hover { border-color: var(--blue); background: rgba(69, 162, 158, 0.08); }
.nav-toggle__icon { display: flex; flex-direction: column; }
.nav-toggle__line { display: block; width: 18px; height: 2px; background: var(--white); margin: 2px 0; transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-toggle__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gray);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ===== FOOTER ===== */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 96px);
  border-top: 1px solid rgba(197, 198, 199, 0.14);
  background: linear-gradient(160deg, var(--bg-1) 0%, #151A22 100%);
  color: var(--gray);
}
.site-footer::before {
  content: "NODE 06 / FOOTER // 安博竞界";
  position: absolute;
  top: -12px;
  left: clamp(16px, 4vw, 48px);
  z-index: 2;
  background: var(--bg-0);
  color: var(--purple);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  padding: 4px 12px;
  border: 1px solid rgba(176, 38, 255, 0.35);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.5fr;
  gap: 32px 48px;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 56px clamp(16px, 4vw, 48px) 40px;
}
.site-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.site-footer__logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(254, 228, 64, 0.3);
}
.site-footer__slogan {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--gray);
  text-transform: uppercase;
}
.site-footer__trust {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(197, 198, 199, 0.7);
  max-width: 42ch;
  border-left: 2px solid rgba(197, 198, 199, 0.25);
  padding-left: 12px;
}
.site-footer__col { display: flex; flex-direction: column; gap: 14px; }
.site-footer__heading {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  color: var(--blue);
  text-transform: uppercase;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(69, 162, 158, 0.3);
}
.site-footer__list { display: flex; flex-direction: column; gap: 10px; font-size: 0.92rem; }
.site-footer__list a {
  color: var(--gray);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.site-footer__list a:hover { color: var(--yellow); padding-left: 4px; }
.site-footer__list--contact { gap: 12px; }
.site-footer__list--contact li { display: flex; align-items: baseline; gap: 12px; }
.site-footer__label {
  flex: 0 0 44px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--blue);
}
.site-footer__bar {
  border-top: 1px solid rgba(197, 198, 199, 0.1);
  padding: 16px clamp(16px, 4vw, 48px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 20px;
  max-width: var(--max-w);
  margin-inline: auto;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(197, 198, 199, 0.55);
}

/* ===== PAGE CONTAINER / GRID ===== */
.page-container { width: min(calc(100% - 40px), var(--content-w)); margin-inline: auto; }
.page-section { padding-block: clamp(48px, 8vw, 88px); }
.page-heading {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.05;
  color: var(--white);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  transform: skew(-6deg);
  text-shadow: 0 0 24px rgba(69, 162, 158, 0.35);
  padding-bottom: 14px;
}
.page-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 96px;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--purple), var(--yellow));
}
.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--grid-gap); }
.section-index {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  color: var(--purple);
  text-transform: uppercase;
}
.section-index::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--purple);
}
.side-note {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--gray);
  border-left: 2px solid var(--purple);
  padding-left: 16px;
  margin-block: 16px;
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--gray);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.breadcrumbs a { color: var(--blue); text-decoration: none; transition: color 0.2s ease; }
.breadcrumbs a:hover { color: var(--yellow); }
.breadcrumbs__sep { color: rgba(197, 198, 199, 0.4); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid var(--blue);
  color: var(--blue);
  background: transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover {
  background: var(--blue);
  color: var(--bg-0);
  border-color: var(--blue);
  box-shadow: 0 0 22px rgba(69, 162, 158, 0.4);
}
.btn--primary {
  background: var(--blue);
  color: var(--bg-0);
  border-color: var(--blue);
}
.btn--primary:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--bg-0);
  box-shadow: 0 0 26px rgba(254, 228, 64, 0.4);
}
.btn--ghost {
  border-color: rgba(197, 198, 199, 0.4);
  color: var(--gray);
}
.btn--ghost:hover {
  border-color: var(--purple);
  color: var(--white);
  background: rgba(176, 38, 255, 0.12);
  box-shadow: 0 0 20px rgba(176, 38, 255, 0.2);
}

/* ===== CARDS ===== */
.card {
  position: relative;
  background: rgba(31, 40, 51, 0.85);
  border: 1px solid var(--border);
  padding: 28px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.card:hover {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), 0 0 28px rgba(69, 162, 158, 0.15);
  transform: translateY(-2px);
}
.card--accent {
  border-left: 3px solid var(--yellow);
  border-bottom-width: 1px;
}
.card__code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--purple);
  margin-bottom: 10px;
}

/* ===== LABELS ===== */
.label-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  line-height: 1;
  letter-spacing: 0.12em;
  background: rgba(176, 38, 255, 0.14);
  color: #D98CFF;
  border: 1px solid rgba(176, 38, 255, 0.45);
  padding: 6px 10px;
  text-transform: uppercase;
}
.label-tag--blue {
  background: rgba(69, 162, 158, 0.12);
  color: var(--blue);
  border-color: rgba(69, 162, 158, 0.45);
}
.label-tag--yellow {
  background: rgba(254, 228, 64, 0.12);
  color: var(--yellow);
  border-color: rgba(254, 228, 64, 0.5);
}

/* ===== DATA ROWS / TABLES ===== */
.data-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(197, 198, 199, 0.12);
  font-family: var(--font-mono);
  font-size: 0.88rem;
}
.data-row__label { color: var(--gray); }
.data-row__value {
  color: var(--white);
  font-weight: 700;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.count-value {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.table-scan {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.84rem;
}
.table-scan th {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--blue);
  color: var(--yellow);
  letter-spacing: 0.1em;
  font-weight: 700;
}
.table-scan td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(197, 198, 199, 0.12);
  color: var(--gray);
  vertical-align: top;
}
.table-scan tr:hover td { background: rgba(69, 162, 158, 0.07); }

/* ===== MEDIA FRAMES ===== */
.media-frame {
  position: relative;
  background:
    linear-gradient(135deg, rgba(69, 162, 158, 0.05) 25%, transparent 25%) 0 0 / 16px 16px,
    linear-gradient(315deg, rgba(176, 38, 255, 0.05) 25%, transparent 25%) 0 0 / 16px 16px,
    var(--bg-1);
  border: 1px solid var(--border);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.media-frame::before {
  content: "IMG DATA";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  color: rgba(197, 198, 199, 0.3);
  letter-spacing: 0.3em;
  font-size: 0.78rem;
  z-index: 1;
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(69, 162, 158, 0.25);
  pointer-events: none;
}
.media-frame--portrait { aspect-ratio: 3 / 4; }
.media-frame--hero { aspect-ratio: 21 / 9; }

/* ===== PROSE ===== */
.prose { max-width: 72ch; }
.prose p { margin-bottom: 1em; }
.prose a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(69, 162, 158, 0.5);
}
.prose a:hover { color: var(--yellow); }
.prose h2 {
  margin-top: 1.8em;
  margin-bottom: 0.6em;
  color: var(--white);
}
.prose h3 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  color: var(--blue);
}
.prose ul { list-style: none; padding: 0; margin: 0 0 1em; }
.prose ul li { position: relative; padding-left: 20px; margin-bottom: 8px; }
.prose ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--purple);
  font-family: var(--font-mono);
}

/* ===== MONO ===== */
.mono {
  font-family: var(--font-mono);
  font-size: 0.86em;
  color: var(--blue);
  background: rgba(69, 162, 158, 0.08);
  border: 1px solid rgba(69, 162, 158, 0.2);
  padding: 2px 6px;
}

/* ===== ACCORDION ===== */
.accordion {
  border: 1px solid var(--border);
  background: rgba(31, 40, 51, 0.6);
}
.accordion__item { border-bottom: 1px solid var(--border); }
.accordion__item:last-child { border-bottom: 0; }
.accordion__handle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 18px 20px;
  background: transparent;
  border: 0;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.accordion__handle:hover { background: rgba(69, 162, 158, 0.08); color: var(--yellow); }
.accordion__handle::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--blue);
  flex-shrink: 0;
  transition: color 0.2s ease, transform 0.2s ease;
}
.accordion__item[data-open] .accordion__handle::after { content: "−"; transform: rotate(180deg); color: var(--yellow); }
.accordion__panel { display: none; padding: 0 20px 20px; color: var(--gray); }
.accordion__item[data-open] .accordion__panel { display: block; animation: accordion-fade 0.3s ease; }
@keyframes accordion-fade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* ===== TABS ===== */
.tabs { border: 1px solid var(--border); background: rgba(31, 40, 51, 0.5); }
.tabs__nav {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  background: rgba(11, 12, 16, 0.4);
}
.tabs__btn {
  padding: 12px 20px;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--gray);
  font-family: var(--font-mono);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.tabs__btn:hover { color: var(--white); background: rgba(69, 162, 158, 0.08); }
.tabs__btn[data-active] {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
  background: rgba(254, 228, 64, 0.06);
}
.tabs__panel { display: none; padding: 22px; }
.tabs__panel[data-active] { display: block; animation: tab-fade 0.3s ease; }
@keyframes tab-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== TOOLTIP ===== */
[data-tooltip] { position: relative; cursor: help; }
[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-1);
  color: var(--white);
  border: 1px solid var(--blue);
  padding: 8px 12px;
  font-size: 0.76rem;
  line-height: 1.5;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 30;
  box-shadow: 0 0 16px rgba(69, 162, 158, 0.2);
}
[data-tooltip]:hover::after,
[data-tooltip]:focus-visible::after { opacity: 1; }

/* ===== REVEAL ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal][data-revealed] { opacity: 1; transform: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .site-header__bar { display: none; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(11, 12, 16, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 8px clamp(16px, 4vw, 48px) 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .site-nav[data-open] { display: flex; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav__link { font-size: 1.05rem; padding: 14px 8px; }
  .site-nav__cta { text-align: center; transform: none; box-shadow: none; }
  .site-nav__cta span { transform: none; }
  .nav-toggle { display: inline-flex; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { background-attachment: scroll; }
  .site-header__grid { padding: 0 16px; gap: 12px; }
  .brand__tagline { display: none; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer__bar { flex-direction: column; align-items: flex-start; }
  .grid-12 { grid-template-columns: 1fr; }
  .table-scan { font-size: 0.76rem; }
  .table-scan th, .table-scan td { padding: 10px 6px; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .scroll-progress span { transition: none; }
  .status-dot { animation: none; }
}
