/* =========================================================
   欧亿赛场 · 全站共享样式 /assets/site.css
   暖纸底 + 深墨粗边框 + 双轨口径色系
   ========================================================= */

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

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

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

ul, ol { padding: 0; }

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

button, input, select, textarea { font: inherit; color: inherit; }

/* ---------- 2. 变量 ---------- */
:root {
  /* 品牌色板 */
  --paper: #F3EFE4;      /* 暖纸底 */
  --ink: #14181C;        /* 深墨 */
  --grass: #1F6B3B;      /* 草皮绿 */
  --night: #0C2233;      /* 夜赛深蓝 */
  --reg: #2E9E9E;        /* 报名青蓝 */
  --app: #C42B6E;        /* 登场品红 */
  --spot: #FF6A13;       /* 点球橙 */
  --ash: #D9D3C5;        /* 纸灰 */
  --noise: #6E7480;      /* 看台噪点灰 */
  --turf: #E4EFE4;       /* 浅草皮底 */

  /* 派生 */
  --reg-soft: rgba(46, 158, 158, .14);
  --app-soft: rgba(196, 43, 110, .14);
  --grass-soft: rgba(31, 107, 59, .12);
  --paper-on-night: #EFEADD;
  --muted-on-night: #C0B9AA;

  /* 字体 */
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans CJK SC", "Source Han Sans SC", system-ui, -apple-system,
    "Segoe UI", Roboto, sans-serif;
  --font-display: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC",
    system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "SFMono-Regular", Menlo, Consolas,
    "DejaVu Sans Mono", "Courier New", monospace;

  /* 尺寸 */
  --shadow-1: 3px 3px 0 var(--ink);
  --shadow-2: 6px 6px 0 var(--ink);
  --shadow-3: 9px 9px 0 var(--ink);
  --border-1: 2px solid var(--ink);
  --border-2: 3px solid var(--ink);
  --radius-pill: 999px;
  --shell-max: 1480px;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* ---------- 3. 基础中文排版 ---------- */
body {
  background-color: var(--paper);
  background-image:
    repeating-linear-gradient(0deg, rgba(20, 24, 28, .022) 0 1px, transparent 1px 4px),
    radial-gradient(circle at 12% 0%, var(--grass-soft), transparent 46%);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: .01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 88%;
  line-height: 1.14;
  letter-spacing: -.02em;
  text-wrap: balance;
}

h1 { font-size: clamp(38px, 6.4vw, 92px); }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
h3 { font-size: clamp(21px, 2.1vw, 26px); }
h4 { font-size: 18px; letter-spacing: -.01em; }

p {
  max-width: 60ch;
}

a { color: var(--grass); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--spot); }

strong, b { font-weight: 800; }

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

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

/* ---------- 4. 通用工具 ---------- */
.wrap {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}
.wrap--narrow { max-width: 820px; }

main { display: block; padding-top: clamp(98px, 11vw, 132px); }

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

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

.skip-link {
  position: absolute;
  top: 12px;
  left: clamp(12px, 3vw, 36px);
  z-index: 200;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--spot);
  transform: translateY(-220%);
  transition: transform .18s var(--ease);
}
.skip-link:focus {
  transform: translateY(0);
  color: var(--paper);
}

.num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.55em;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}

/* ---------- 5. 头部与浮岛 ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  padding: 16px clamp(12px, 3vw, 36px);
  pointer-events: none;
  transition: padding .2s var(--ease);
}

.header-shell {
  position: relative;
  pointer-events: auto;
  max-width: var(--shell-max);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pill {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 54px;
  padding: 7px 16px;
  background: var(--paper);
  border: var(--border-1);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-1);
  transition: min-height .2s var(--ease), box-shadow .2s var(--ease),
    padding .2s var(--ease);
}

.pill--brand { flex: 0 1 auto; min-width: 0; }

.pill--nav { position: relative; flex: 0 0 auto; padding-right: 8px; }

.site-header[data-scrolled] { padding-top: 9px; padding-bottom: 9px; }
.site-header[data-scrolled] .pill {
  min-height: 46px;
  padding-block: 4px;
  box-shadow: 2px 2px 0 var(--ink);
}
.site-header[data-scrolled] .brand__line { display: none; }

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink); }

.brand__mark {
  flex: none;
  width: 26px;
  height: 26px;
  border: 2px solid var(--ink);
  background: linear-gradient(90deg, var(--reg) 0 50%, var(--app) 50% 100%);
}

.brand__text { display: flex; flex-direction: column; line-height: 1.1; }

.brand__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  font-stretch: 88%;
  letter-spacing: .04em;
}

.brand__line {
  font-size: 12px;
  color: var(--noise);
  letter-spacing: .08em;
  white-space: nowrap;
}

/* 口径图例 */
.legend {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding-left: 14px;
  border-left: 2px solid var(--ash);
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink);
}

.legend__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.legend__swatch {
  width: 11px;
  height: 11px;
  flex: none;
  border: 2px solid var(--ink);
}
.legend__swatch--reg { background: var(--reg); }
.legend__swatch--app { background: var(--app); }

/* 导航 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--paper);
  border: var(--border-1);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  background: var(--ink);
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: var(--ink);
}
.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }

.site-nav { display: block; }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__list a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .16s var(--ease), color .16s var(--ease);
}
.site-nav__list a:hover { background: var(--turf); color: var(--ink); }
.site-nav__list a[aria-current="page"] {
  background: var(--ink);
  color: var(--paper);
}

.pill__cta {
  display: inline-block;
  padding: 9px 15px;
  background: var(--spot);
  border: var(--border-1);
  border-radius: var(--radius-pill);
  box-shadow: 2px 2px 0 var(--ink);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease);
}
.pill__cta:hover {
  color: var(--ink);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--ink);
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--paper);
  border: var(--border-1);
  border-radius: 0;
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease),
    background-color .16s var(--ease);
}
.btn:hover {
  color: var(--ink);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}
.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}
.btn--spot { background: var(--spot); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { color: var(--paper); }
.btn--wire { box-shadow: none; background: transparent; }
.btn--wire:hover { background: var(--turf); box-shadow: none; transform: none; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  background: var(--paper);
  border: var(--border-1);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
}
.chip:hover { background: var(--turf); color: var(--ink); }

/* ---------- 7. 面包屑 ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--noise);
}
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before {
  content: "/";
  color: var(--ash);
}
.crumbs a {
  color: var(--noise);
  text-decoration: none;
  border-bottom: 1px solid var(--ash);
}
.crumbs a:hover { color: var(--spot); border-bottom-color: var(--spot); }
.crumbs__current { color: var(--ink); font-weight: 700; }

/* ---------- 8. 分节头 ---------- */
.section-head { margin-bottom: clamp(24px, 3vw, 40px); }

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.section-head__title { margin: 0 0 10px; }

.section-head__note {
  max-width: 56ch;
  font-size: 15px;
  color: var(--noise);
  line-height: 1.7;
}

/* ---------- 9. 双轨卡片 / 口径标签 ---------- */
.track {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: var(--border-2);
  background: var(--paper);
  box-shadow: var(--shadow-2);
}

.track__side { padding: clamp(18px, 2.4vw, 28px); min-width: 0; }

.track__side--reg {
  border-right: var(--border-2);
  background: linear-gradient(180deg, var(--reg-soft), transparent 72%);
}
.track__side--app {
  background: linear-gradient(180deg, var(--app-soft), transparent 72%);
}

.track__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
}
.track__label::before {
  content: "";
  width: 13px;
  height: 13px;
  border: 2px solid var(--ink);
}
.track__side--reg .track__label::before { background: var(--reg); }
.track__side--app .track__label::before { background: var(--app); }

.track__metric {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}
.track__metric span:last-child {
  font-size: 13px;
  color: var(--noise);
}

.track__list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 15px;
  line-height: 1.7;
}
.track__list li {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--ash);
}
.track__list li:last-child { border-bottom: 0; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 2px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}
.tag--reg { background: var(--reg-soft); box-shadow: inset 4px 0 0 var(--reg); }
.tag--app { background: var(--app-soft); box-shadow: inset 4px 0 0 var(--app); }
.tag--plain { background: var(--ash); }

/* ---------- 10. 编号条目 ---------- */
.ledger {
  list-style: none;
  counter-reset: ledger;
  margin: 0;
  padding: 0;
}
.ledger > li {
  counter-increment: ledger;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 2px dashed var(--ash);
}
.ledger > li:last-child { border-bottom: 0; }
.ledger > li::before {
  content: counter(ledger, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--grass);
  letter-spacing: -.02em;
  line-height: 1.5;
}
.ledger__body { min-width: 0; }
.ledger__body p { max-width: 58ch; }
.ledger__meta {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--noise);
}

/* ---------- 11. 深色面板 / 时间戳 ---------- */
.panel {
  position: relative;
  padding: clamp(20px, 3vw, 34px);
  background: var(--night);
  color: var(--paper-on-night);
  border: var(--border-2);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 6px);
}
.panel > * { position: relative; z-index: 1; }
.panel h2, .panel h3, .panel h4 { color: var(--paper); }
.panel a { color: var(--spot); }
.panel p { color: var(--muted-on-night); }

.stamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  background: rgba(217, 211, 197, .28);
  border: 2px solid var(--ash);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--noise);
  letter-spacing: .02em;
  white-space: nowrap;
}
.panel .stamp {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(243, 239, 228, .35);
  color: var(--muted-on-night);
}

/* ---------- 12. 16 队网格骨架 ---------- */
.grid-16 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  background: var(--ink);
  border: var(--border-1);
  list-style: none;
  margin: 0;
  padding: 0;
}
.grid-16 > li,
.grid-16 > div {
  background: var(--paper);
  padding: 14px 16px;
  min-width: 0;
}
.grid-16 > li:nth-child(8n + 1),
.grid-16 > li:nth-child(8n + 3),
.grid-16 > li:nth-child(8n + 6),
.grid-16 > li:nth-child(8n + 8) {
  background: var(--turf);
}
.grid-16 a { color: inherit; text-decoration: none; }
.grid-16 a:hover { color: var(--spot); }

/* ---------- 13. 图片容器 ---------- */
.media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ash);
  border: var(--border-2);
  box-shadow: var(--shadow-2);
}
.media--4x3 { aspect-ratio: 4 / 3; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--21x9 { aspect-ratio: 21 / 9; }
.media--dark {
  background: var(--night);
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 5px);
}
.media img,
.media picture,
.media svg { width: 100%; height: 100%; object-fit: cover; }
.media__caption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--noise);
}

/* ---------- 14. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(60px, 9vw, 120px);
  background: var(--night);
  color: var(--paper-on-night);
  border-top: var(--border-2);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 4px),
    radial-gradient(circle at 18% 0%, rgba(31, 107, 59, .5), transparent 58%);
}
.site-footer::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 7px;
  background: linear-gradient(90deg,
    var(--grass) 0 38%,
    var(--reg) 38% 69%,
    var(--app) 69% 100%);
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding: clamp(38px, 5vw, 72px) clamp(16px, 4vw, 40px) clamp(24px, 3vw, 40px);
}

.footer-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 32px;
  padding-bottom: 26px;
  border-bottom: 2px solid rgba(243, 239, 228, .26);
  margin-bottom: clamp(26px, 3vw, 40px);
}

.footer-brand__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  text-decoration: none;
}
.footer-brand__link:hover { color: var(--spot); }

.footer-brand__mark {
  width: 26px;
  height: 26px;
  flex: none;
  border: 2px solid var(--paper);
  background: linear-gradient(90deg, var(--reg) 0 50%, var(--app) 50% 100%);
}

.footer-brand__name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  font-stretch: 88%;
  letter-spacing: .04em;
}

.footer-brand__line {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--muted-on-night);
}

.footer-stamp {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 16px;
  border: 2px dashed rgba(243, 239, 228, .35);
  max-width: 380px;
}
.footer-stamp__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--spot);
}
.footer-stamp__value {
  font-size: 14px;
  line-height: 1.6;
  color: var(--paper-on-night);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: clamp(22px, 3vw, 44px);
}

.footer-col__title {
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(243, 239, 228, .26);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--paper);
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted-on-night);
}
.footer-list li { padding: 5px 0; }

.footer-list--links li { padding: 4px 0; }
.footer-list--links a {
  color: var(--paper-on-night);
  text-decoration: none;
  border-bottom: 1px solid rgba(243, 239, 228, .3);
  padding-bottom: 2px;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}
.footer-list--links a:hover {
  color: var(--spot);
  border-bottom-color: var(--spot);
}

.footer-contact {
  display: block;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 2px dashed rgba(243, 239, 228, .26);
  font-style: normal;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted-on-night);
  word-break: break-word;
}
.footer-contact span { display: block; }

.footer-note {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted-on-night);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: clamp(28px, 3vw, 44px);
  padding-top: 20px;
  border-top: 2px solid rgba(243, 239, 228, .26);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted-on-night);
}
.footer-legal a {
  color: var(--paper-on-night);
  text-decoration: none;
  border-bottom: 1px solid rgba(243, 239, 228, .3);
}
.footer-legal a:hover { color: var(--spot); border-bottom-color: var(--spot); }
.footer-copy { margin: 0; }

/* ---------- 15. 显现动效 ---------- */
[data-reveal="pending"] {
  opacity: 0;
  transform: translateY(14px);
}
[data-reveal="in"] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .42s var(--ease) .04s, transform .42s var(--ease) .04s;
}

/* ---------- 16. 响应式 ---------- */
@media (max-width: 1400px) {
  .legend { display: none; }
}

@media (max-width: 1160px) {
  .pill__cta { display: none; }
  .pill--nav { padding-right: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  body { font-size: 16px; }
  .grid-16 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand__name { font-size: 21px; }
}

@media (max-width: 900px) {
  .site-header { padding: 10px 12px; }
  .header-shell { gap: 8px; }
  .pill { min-height: 50px; padding: 6px 12px; }
  .pill--nav { padding: 5px 6px; gap: 8px; }

  .brand__mark { width: 22px; height: 22px; }
  .brand__name { font-size: 16px; }
  .brand__line { font-size: 11px; }

  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(320px, calc(100vw - 24px));
    display: none;
    padding: 10px;
    background: var(--paper);
    border: var(--border-1);
    border-radius: 16px;
    box-shadow: var(--shadow-2);
    z-index: 95;
  }
  .site-nav[data-open] { display: block; }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .site-nav__list a {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 16px;
  }

  main { padding-top: 92px; }

  .track { grid-template-columns: 1fr; }
  .track__side--reg {
    border-right: 0;
    border-bottom: var(--border-2);
  }

  .grid-16 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-head { flex-direction: column; align-items: flex-start; }
  .footer-stamp { max-width: 100%; }
}

@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .brand__line { display: none; }
  .pill--brand { padding: 6px 10px; }
  .nav-toggle__label { display: none; }
  .nav-toggle { padding: 9px 11px; }

  .ledger > li {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
  }
  .ledger > li::before { font-size: 17px; }

  .grid-16 { grid-template-columns: 1fr; }

  .footer-base { flex-direction: column; align-items: flex-start; }
}

/* ---------- 17. reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal="pending"] {
    opacity: 1;
    transform: none;
  }
  .btn:hover,
  .pill__cta:hover {
    transform: none;
  }
}
