/* ==========================================================================
   优游网 · 共享样式表  /assets/site.css
   夜间路线图：深海墨蓝底 + 信号橙行动色 + 荧光青路径色
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  background: #071726;
}

body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, li, figure, figcaption, blockquote, dl, dd, dt,
table, th, td, fieldset, legend {
  margin: 0;
  padding: 0;
}

ul, ol { list-style: none; }

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

a { color: inherit; text-decoration: none; }

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

button {
  background: none;
  border: 0;
  cursor: pointer;
}

table { border-collapse: collapse; width: 100%; }

/* ---------- 2. Design tokens ---------- */
:root {
  --ink-950: #071726;
  --ink-900: #0B2239;
  --ink-800: #10304C;
  --teal-band: #14384A;
  --signal-orange: #FF6A1A;
  --cyan-glow: #2EF2CE;
  --text-main: #EDF4FA;
  --text-dim: #9FB4C9;
  --line-blue: #1E4A6E;
  --status-green: #35D07F;
  --warn-yellow: #FFC24B;
  --privacy-blue: #0E2A44;

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

  --w-container: min(1280px, 100% - 48px);
  --shadow-hard: 8px 8px 0 rgba(46, 242, 206, 0.10);
  --shadow-orange: 8px 8px 0 rgba(255, 106, 26, 0.16);
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --header-h: 74px;
}

/* ---------- 3. Base typography ---------- */
body {
  position: relative;
  min-height: 100vh;
  background: transparent;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: 0.01em;
  overflow-x: clip;
}

/* 夜间航图底色：两点柔光 + 细网格，压在全部内容之下 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(900px 520px at 84% -12%, rgba(46, 242, 206, 0.09), transparent 68%),
    radial-gradient(760px 460px at 4% 6%, rgba(255, 106, 26, 0.075), transparent 70%),
    linear-gradient(rgba(30, 74, 110, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 74, 110, 0.16) 1px, transparent 1px);
  background-size: auto, auto, 72px 72px, 72px 72px;
}

h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-wrap: balance;
  font-stretch: 95%;
}

h1 { font-size: clamp(30px, 4.4vw, 52px); }
h2 { font-size: clamp(22px, 2.6vw, 34px); }
h3 { font-size: clamp(18px, 1.6vw, 20px); }
h4 { font-size: 16px; }

p { line-height: 1.75; }

strong, b { font-weight: 800; color: var(--text-main); }

::selection {
  background: var(--signal-orange);
  color: #071726;
}

:focus-visible {
  outline: 2px solid var(--cyan-glow);
  outline-offset: 2px;
}

/* ---------- 4. Utility ---------- */
.container {
  width: var(--w-container);
  margin-inline: auto;
}

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

.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  border-bottom: 2px solid var(--cyan-glow);
  padding-bottom: 1px;
}

.text-link {
  color: var(--cyan-glow);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color 0.12s var(--ease);
}
.text-link:hover { color: var(--signal-orange); }

.lead {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.8;
  color: var(--text-dim);
  max-width: 62ch;
}

.section {
  position: relative;
  padding: 72px 0;
}
.section--tight { padding: 40px 0; }
.section--band {
  background: var(--ink-900);
  border-top: 2px solid var(--line-blue);
  border-bottom: 2px solid var(--line-blue);
}
.section--teal {
  background: var(--teal-band);
  border-top: 2px solid var(--line-blue);
  border-bottom: 2px solid var(--line-blue);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cyan-glow);
  margin-bottom: 14px;
}
.section-label::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--signal-orange);
  flex: 0 0 auto;
}

.split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: start;
}
.split--wide { grid-template-columns: 4fr 8fr; }

.stack > * + * { margin-top: 16px; }

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

/* ---------- 5. Skip link ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 300;
  display: inline-block;
  padding: 12px 20px;
  background: var(--cyan-glow);
  color: var(--ink-950);
  font-size: 14px;
  font-weight: 800;
  border: 2px solid var(--ink-950);
  box-shadow: 4px 4px 0 var(--signal-orange);
  transition: top 0.18s var(--ease);
}
.skip-link:focus {
  top: 12px;
}

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(7, 23, 38, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.site-header::after {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--signal-orange) 0 118px,
    var(--cyan-glow) 118px 196px,
    var(--line-blue) 196px 100%
  );
}

.header-inner {
  width: var(--w-container);
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
}

.brand-mark {
  display: inline-block;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  position: relative;
  border: 2px solid var(--signal-orange);
  background: linear-gradient(135deg, var(--signal-orange) 0 48%, transparent 48% 100%);
  box-shadow: 4px 4px 0 rgba(46, 242, 206, 0.26);
}
.brand-mark::after {
  content: "";
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 10px;
  height: 10px;
  background: var(--cyan-glow);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-main);
}
.brand-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.header-route {
  flex: 1 1 auto;
  min-width: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
}
.route-line {
  flex: 1 1 auto;
  height: 2px;
  position: relative;
  background: var(--line-blue);
}
.route-line::before {
  content: "";
  position: absolute;
  left: 0;
  top: -3px;
  width: 34%;
  height: 8px;
  background: linear-gradient(90deg, var(--cyan-glow), rgba(46, 242, 206, 0));
}
.route-node {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border: 2px solid var(--cyan-glow);
  background: transparent;
}
.route-node--on {
  background: var(--signal-orange);
  border-color: var(--signal-orange);
}

.header-nav { flex: 0 1 auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  display: block;
  padding: 0 11px;
  min-height: 42px;
  line-height: 42px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-dim);
  border-bottom: 2px solid transparent;
  transition: color 0.12s var(--ease), border-color 0.12s var(--ease);
}
.nav-link:hover {
  color: var(--text-main);
  border-bottom-color: var(--cyan-glow);
}
.nav-link[aria-current="page"] {
  color: var(--signal-orange);
  border-bottom-color: var(--signal-orange);
}

.header-cta { flex: 0 0 auto; }

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--line-blue);
  background: var(--ink-800);
  color: var(--text-main);
  transition: border-color 0.12s var(--ease), color 0.12s var(--ease);
}
.nav-toggle:hover { border-color: var(--cyan-glow); }

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 0.15s var(--ease), opacity 0.15s var(--ease);
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] {
  border-color: var(--signal-orange);
  color: var(--signal-orange);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- 7. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  border: 2px solid transparent;
  transition: transform 0.12s var(--ease), background-color 0.12s var(--ease),
    color 0.12s var(--ease), border-color 0.12s var(--ease), box-shadow 0.12s var(--ease);
}

.btn-primary {
  background: var(--signal-orange);
  color: #071726;
  border-color: var(--signal-orange);
  box-shadow: 5px 5px 0 rgba(46, 242, 206, 0.22);
}
.btn-primary:hover {
  background: var(--cyan-glow);
  border-color: var(--cyan-glow);
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 rgba(255, 106, 26, 0.3);
}
.btn-primary:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(255, 106, 26, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--text-main);
  border-color: var(--line-blue);
}
.btn-ghost:hover {
  border-color: var(--cyan-glow);
  color: var(--cyan-glow);
}

.btn-small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 13px;
}

/* ---------- 8. Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0;
  color: var(--text-dim);
}
.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb li + li::before {
  content: "/";
  color: var(--line-blue);
}
.breadcrumb a {
  color: var(--text-dim);
  border-bottom: 1px solid transparent;
  transition: color 0.12s var(--ease), border-color 0.12s var(--ease);
}
.breadcrumb a:hover {
  color: var(--cyan-glow);
  border-bottom-color: var(--cyan-glow);
}
.breadcrumb [aria-current="page"] { color: var(--text-main); }

/* ---------- 9. Panels / tables / tags ---------- */
.panel {
  background: var(--ink-800);
  border: 2px solid var(--line-blue);
  padding: 24px;
  box-shadow: var(--shadow-hard);
}
.panel--flat { box-shadow: none; }
.panel--orange { box-shadow: var(--shadow-orange); }

.panel-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.data-table {
  width: 100%;
  font-size: 14px;
}
.data-table caption {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  padding-bottom: 12px;
}
.data-table th,
.data-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-blue);
  vertical-align: middle;
}
.data-table thead th {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  border-bottom: 2px solid var(--line-blue);
  white-space: nowrap;
}
.data-table tbody tr { transition: background-color 0.1s var(--ease); }
.data-table tbody tr:hover { background: var(--ink-800); }
.data-table td.num,
.data-table th.num { text-align: right; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.4;
  padding: 3px 9px;
  border: 1px solid var(--line-blue);
  background: rgba(16, 48, 76, 0.62);
  color: var(--text-dim);
  white-space: nowrap;
}
.tag--orange { border-color: var(--signal-orange); color: var(--signal-orange); }
.tag--cyan { border-color: var(--cyan-glow); color: var(--cyan-glow); }

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  vertical-align: middle;
  background: var(--status-green);
  box-shadow: 0 0 0 3px rgba(53, 208, 127, 0.16);
}
.status-dot--warn {
  background: var(--warn-yellow);
  box-shadow: 0 0 0 3px rgba(255, 194, 75, 0.16);
}
.status-dot--off {
  background: var(--text-dim);
  box-shadow: 0 0 0 3px rgba(159, 180, 201, 0.14);
}

/* ---------- 10. Media frame ---------- */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 2px solid var(--line-blue);
  background: linear-gradient(140deg, var(--ink-800), var(--ink-950) 72%);
  box-shadow: var(--shadow-hard);
}
.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(46, 242, 206, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 242, 206, 0.10) 1px, transparent 1px);
  background-size: 34px 34px;
}
.media-frame::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  width: 38%;
  height: 3px;
  background: linear-gradient(90deg, var(--signal-orange), var(--cyan-glow));
}
.media-frame > img,
.media-frame > svg,
.media-frame > video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--square { aspect-ratio: 1 / 1; }

/* ---------- 11. Tabs ---------- */
.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 2px solid var(--line-blue);
}
.tab {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  margin-bottom: -2px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-dim);
  background: transparent;
  border-bottom: 3px solid transparent;
  transition: color 0.12s var(--ease), border-color 0.12s var(--ease),
    background-color 0.12s var(--ease);
}
.tab:hover { color: var(--text-main); }
.tab[aria-selected="true"] {
  color: var(--signal-orange);
  border-bottom-color: var(--signal-orange);
  background: rgba(255, 106, 26, 0.08);
}
.tab-panel { padding-top: 28px; }
.tab-panel[hidden] { display: none; }

/* ---------- 12. Motion / progress / to-top ---------- */
.progress-bar {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 260;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--signal-orange), var(--cyan-glow));
  pointer-events: none;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--ink-800);
  border: 2px solid var(--line-blue);
  color: var(--cyan-glow);
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease),
    visibility 0.18s var(--ease), border-color 0.18s var(--ease),
    background-color 0.18s var(--ease);
}
.to-top.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.to-top:hover {
  border-color: var(--cyan-glow);
  background: var(--teal-band);
}

/* ---------- 13. Footer ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 110px;
  background: linear-gradient(180deg, var(--ink-900) 0%, var(--ink-950) 100%);
}
.site-footer::before {
  content: "";
  display: block;
  height: 12px;
  border-bottom: 2px solid var(--line-blue);
  background-image: repeating-linear-gradient(
    90deg,
    var(--line-blue) 0 3px,
    transparent 3px 28px
  );
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 5fr) 7fr;
  gap: 56px;
  padding: 60px 0 48px;
}

.footer-brand { display: block; }

.footer-name {
  margin-top: 16px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.footer-note {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-dim);
  max-width: 36ch;
}

.footer-stat {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--text-dim);
}

.footer-btn { margin-top: 22px; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--cyan-glow);
  padding-left: 10px;
  border-left: 3px solid var(--signal-orange);
  line-height: 1.4;
  margin-bottom: 12px;
}

.footer-list li { margin-bottom: 0; }

.footer-link {
  display: block;
  padding: 10px 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-dim);
  border-bottom: 1px solid transparent;
  transition: color 0.12s var(--ease), border-color 0.12s var(--ease);
}
.footer-link:hover {
  color: var(--text-main);
  border-bottom-color: var(--cyan-glow);
}

.footer-base {
  border-top: 1px solid var(--line-blue);
  background: var(--ink-950);
}
.footer-base-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 32px;
  padding: 22px 0 30px;
}
.footer-contact {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 70ch;
}
.footer-legal {
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-dim);
}

/* ---------- 14. Responsive ---------- */
@media (max-width: 1180px) {
  .header-route { display: none; }
}

@media (max-width: 1080px) {
  .nav-link { padding: 0 8px; font-size: 13px; }
  .footer-main { gap: 40px; }
}

@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 0 40px;
  }
  .footer-cols { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .split,
  .split--wide { grid-template-columns: 1fr; gap: 32px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  :root { --w-container: min(1280px, 100% - 32px); }

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

  .header-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    z-index: 130;
    background: var(--ink-950);
    border-bottom: 2px solid var(--line-blue);
    box-shadow: 0 20px 0 rgba(7, 23, 38, 0.55);
    padding: 10px 0 18px;
    max-height: calc(100vh - var(--header-h) - 3px);
    overflow-y: auto;
  }
  .header-nav[data-open] {
    display: block;
    animation: nav-in 0.18s var(--ease);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: var(--w-container);
    margin-inline: auto;
  }
  .nav-link {
    display: flex;
    align-items: center;
    min-height: 48px;
    line-height: 1.4;
    padding: 0 14px;
    font-size: 16px;
    border-bottom: 1px solid rgba(30, 74, 110, 0.75);
    border-left: 3px solid transparent;
  }
  .nav-link:hover { border-bottom-color: rgba(30, 74, 110, 0.75); }
  .nav-link[aria-current="page"] {
    color: var(--signal-orange);
    border-bottom-color: rgba(30, 74, 110, 0.75);
    border-left-color: var(--signal-orange);
    background: rgba(255, 106, 26, 0.10);
  }

  .section { padding: 56px 0; }
}

@keyframes nav-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 720px) {
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .footer-base-inner { align-items: flex-start; }
  .data-table,
  .data-table thead,
  .data-table tbody,
  .data-table tr,
  .data-table th,
  .data-table td { display: block; width: 100%; }
  .data-table thead { display: none; }
  .data-table tr {
    border: 2px solid var(--line-blue);
    margin-bottom: 12px;
    padding: 6px 0;
  }
  .data-table td { border-bottom: 1px solid rgba(30, 74, 110, 0.6); }
  .data-table td:last-child { border-bottom: 0; }
  .media-frame--tall { aspect-ratio: 1 / 1; }
}

@media (max-width: 640px) {
  .brand-tag { display: none; }
  .brand-name { font-size: 16px; }
  .header-inner { gap: 10px; }
  .header-cta { padding: 0 12px; min-height: 40px; font-size: 13px; }
  .nav-toggle { width: 44px; height: 44px; }
  .to-top { right: 14px; bottom: 14px; }
}

/* ---------- 15. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .header-nav[data-open] { animation: none; }
}
