/* ==========================================================================
   6686 CN 官网 · 共享样式表  /assets/site.css
   深墨蓝底 / 电光青强调 / 暖橘行动点 / 奶油白阅读面板
   ========================================================================== */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}
body { margin: 0; }
img, svg, video { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote { margin: 0; }

/* ---------- 2. Tokens ---------- */
:root {
  --ink: #0E1A2B;
  --ink-2: #16243A;
  --ink-3: #1D2E48;
  --ink-deep: #0B1524;
  --cyan: #22D3EE;
  --cyan-deep: #0E8FA6;
  --orange: #F97316;
  --orange-soft: #FDBA74;
  --cream: #F7F1E6;
  --brown: #241C15;
  --gray: #8FA3B8;
  --green: #34D399;
  --amber: #FBBF24;

  --line: rgba(143, 163, 184, 0.22);
  --line-strong: rgba(34, 211, 238, 0.4);

  --sans: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", "Courier New", monospace;

  --rail-w: 268px;
  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1120px;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 26px;

  --shadow: 0 24px 60px -34px rgba(0, 0, 0, 0.8);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- 3. Base ---------- */
body {
  min-height: 100vh;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.85;
  font-weight: 400;
  color: #D6E3F0;
  background-color: var(--ink);
  background-image:
    radial-gradient(1100px 620px at 84% -10%, rgba(34, 211, 238, 0.14), transparent 62%),
    radial-gradient(760px 520px at 6% 106%, rgba(249, 115, 22, 0.10), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  color: #F2F7FB;
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.012em;
}
h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.25rem); }
h3 { font-size: clamp(1.18rem, 1.7vw, 1.42rem); }
h4 { font-size: 1.05rem; }

p { max-width: 68ch; }

a {
  color: var(--cyan);
  text-decoration: none;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.16s ease, text-decoration-color 0.16s ease;
}
a:hover { color: #8CEBF9; text-decoration: underline; }

strong { color: #F0F6FC; font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

::selection { background: rgba(34, 211, 238, 0.32); color: #FFFFFF; }

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

/* ---------- 4. Utilities ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(48px, 7vw, 96px); }
.section--tight { padding-block: clamp(32px, 4vw, 56px); }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 28px;
  padding-bottom: 18px;
  margin-bottom: clamp(24px, 3vw, 40px);
  border-bottom: 1px solid var(--line);
}
.section__head h2 { margin: 0; }
.section__head p { margin: 0; }

.display {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.028em;
  color: #F7FBFF;
  max-width: 18ch;
}
.lede {
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  line-height: 1.8;
  color: #BCCDDE;
  max-width: 62ch;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
}
.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--cyan);
  opacity: 0.85;
}
.mono { font-family: var(--mono); font-size: 0.86em; letter-spacing: 0.02em; }
.prose { max-width: 68ch; }
.prose h2, .prose h3 { margin-top: 1.8em; }
.prose p { margin-bottom: 1.1em; }
.text-muted { color: var(--gray); }
.text-cyan { color: var(--cyan); }
.text-orange { color: var(--orange-soft); }

.stack { display: flex; flex-direction: column; gap: 18px; }

.grid { display: grid; gap: clamp(18px, 2.4vw, 32px); grid-template-columns: 1fr; }
@media (min-width: 680px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- 5. Skip link ---------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -120px;
  z-index: 400;
  display: inline-block;
  padding: 10px 18px;
  border-radius: 0 0 12px 12px;
  background: var(--cyan);
  color: #06202A;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.18s ease;
}
.skip-link:focus { top: 0; color: #06202A; text-decoration: none; }

/* ---------- 6. Header / Rail ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(11, 21, 36, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px var(--gutter);
}

.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand:hover { color: inherit; text-decoration: none; }
.brand__mark { display: inline-grid; grid-template-columns: repeat(3, 5px); gap: 3px; align-items: end; height: 22px; }
.brand__mark span { display: block; background: var(--cyan); border-radius: 1px; }
.brand__mark span:nth-child(1) { height: 10px; background: var(--gray); }
.brand__mark span:nth-child(2) { height: 16px; }
.brand__mark span:nth-child(3) { height: 22px; background: var(--orange); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--mono); font-size: 15px; font-weight: 600; letter-spacing: 0.14em; color: #ECF4FB; }
.brand__tag { font-size: 11.5px; letter-spacing: 0.16em; color: var(--gray); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  appearance: none;
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.08);
  color: #BEEEF7;
  font-size: 13px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.nav-toggle:hover { background: rgba(34, 211, 238, 0.18); color: #FFFFFF; }
.nav-toggle__bars { display: inline-flex; flex-direction: column; gap: 4px; width: 16px; }
.nav-toggle__bars i {
  display: block;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.22s var(--ease), opacity 0.22s ease;
}
.site-header[data-open] .nav-toggle__bars i:first-child { transform: translateY(5.5px) rotate(45deg); }
.site-header[data-open] .nav-toggle__bars i:last-child { transform: translateY(-5.5px) rotate(-45deg); }
.nav-toggle__label { white-space: nowrap; }

.site-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 130;
  display: flex;
  flex-direction: column;
  width: min(86vw, 352px);
  padding: 76px 20px 30px;
  overflow-y: auto;
  background: linear-gradient(180deg, #0C1828, #0A1320 70%, #0B1524);
  border-left: 1px solid var(--line);
  transform: translateX(102%);
  transition: transform 0.3s var(--ease);
}
.site-header[data-open] .site-nav { transform: translateX(0); }

.site-nav__index {
  margin: 0 0 10px;
  padding-left: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gray);
  max-width: none;
}
.site-nav__list { list-style: none; display: flex; flex-direction: column; gap: 2px; margin: 0 0 auto; padding: 0; }

.site-nav__link {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 11px 12px;
  border-left: 2px solid transparent;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  color: #C6D6E6;
  font-size: 15.5px;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.site-nav__link:hover {
  background: rgba(34, 211, 238, 0.09);
  color: #FFFFFF;
  border-left-color: var(--cyan);
  transform: translateX(3px);
  text-decoration: none;
}
.site-nav__link[aria-current="page"] {
  background: rgba(34, 211, 238, 0.15);
  color: #EAF7FB;
  border-left-color: var(--cyan);
}
.site-nav__link[aria-current="page"] .site-nav__no { color: var(--cyan); }
.site-nav__no { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; color: var(--gray); flex: 0 0 auto; }
.site-nav__label { flex: 1 1 auto; }

.site-nav__foot { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.site-nav__cta { width: 100%; }
.site-nav__tail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-sm);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--cyan);
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.site-nav__tail:hover {
  background: rgba(34, 211, 238, 0.1);
  border-color: var(--cyan);
  color: #FFFFFF;
  text-decoration: none;
}

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 125;
  display: block;
  padding: 0;
  border: 0;
  background: rgba(6, 12, 22, 0.66);
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  transition: opacity 0.24s ease;
}
.site-header[data-open] .nav-scrim { opacity: 1; pointer-events: auto; }
.site-header[data-open] .site-header__inner { position: relative; z-index: 140; }

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

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--rail-w);
    background: linear-gradient(200deg, #101E32 0%, #0B1524 58%, #0E1A2B 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }
  .site-header__inner {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    height: 100%;
    padding: 28px 20px 24px;
    gap: 28px;
  }
  .brand { padding-inline: 6px; }
  .nav-toggle { display: none; }
  .nav-scrim { display: none; }

  .site-nav {
    position: static;
    flex: 1 1 auto;
    min-height: 0;
    width: auto;
    padding: 0;
    overflow-y: auto;
    background: none;
    border-left: 0;
    transform: none;
    transition: none;
  }
  .site-nav__index { padding-left: 14px; }
  .site-nav__link { font-size: 15px; }
}

/* ---------- 7. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { text-decoration: none; }
.btn--primary {
  background: var(--orange);
  color: #1B1206;
  box-shadow: 0 14px 32px -18px rgba(249, 115, 22, 0.85);
}
.btn--primary:hover {
  background: var(--orange-soft);
  color: #1B1206;
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--cyan);
}
.btn--ghost:hover {
  background: rgba(34, 211, 238, 0.12);
  border-color: var(--cyan);
  color: #FFFFFF;
}
.btn--sm { padding: 8px 16px; font-size: 13.5px; }

/* ---------- 8. Breadcrumb ---------- */
.breadcrumb { margin: 0 0 clamp(20px, 3vw, 34px); }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gray);
}
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "›"; color: var(--gray); opacity: 0.6; }
.breadcrumb a { color: var(--gray); text-decoration: none; }
.breadcrumb a:hover { color: var(--cyan); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: #CFE2EF; }

/* ---------- 9. Surfaces ---------- */
.panel {
  padding: clamp(20px, 2.6vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(22, 36, 58, 0.94), rgba(16, 28, 46, 0.94));
  box-shadow: var(--shadow);
}
.panel--cream {
  background: var(--cream);
  color: var(--brown);
  border-color: rgba(36, 28, 21, 0.14);
}
.panel--cream h1, .panel--cream h2, .panel--cream h3, .panel--cream h4 { color: var(--brown); }
.panel--cream p { color: #3A2E24; }
.panel--cream a { color: #0C6B7E; }
.panel--cream a:hover { color: #094F5D; }
.panel--cream .kicker { color: #8A7A68; }
.panel--cream .kicker::before { background: var(--orange); }
.panel--cream .text-muted { color: #7A6A58; }

.card {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(22, 36, 58, 0.78);
  transition: transform 0.22s var(--ease), border-color 0.22s ease, box-shadow 0.22s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 20px 44px -28px rgba(34, 211, 238, 0.7);
}

.window {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(11, 21, 36, 0.75);
  box-shadow: var(--shadow);
}
.window__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(34, 211, 238, 0.06);
}
.window__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gray); opacity: 0.55; flex: 0 0 auto; }
.window__dot--c { background: var(--cyan); opacity: 0.9; }
.window__dot--o { background: var(--orange); opacity: 0.9; }
.window__title {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
}
.window__body { padding: clamp(16px, 2.4vw, 30px); }

/* ---------- 10. Tags ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.08);
  color: #9FE7F2;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  white-space: nowrap;
}
.tag--orange { border-color: rgba(249, 115, 22, 0.45); background: rgba(249, 115, 22, 0.10); color: var(--orange-soft); }
.tag--ok { border-color: rgba(52, 211, 153, 0.45); background: rgba(52, 211, 153, 0.10); color: var(--green); }
.tag--warn { border-color: rgba(251, 191, 36, 0.45); background: rgba(251, 191, 36, 0.10); color: var(--amber); }

/* ---------- 11. Media placeholders ---------- */
.media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(150deg, #132038 0%, #0B1524 55%, #101F33 100%);
}
.media > img,
.media > picture > img,
.media > svg { width: 100%; height: 100%; object-fit: cover; }
.media--wide { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 4 / 5; }
.media--square { aspect-ratio: 1 / 1; }

.media--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.12) 1px, transparent 1px);
  background-size: 32px 32px;
}
.media--empty::after {
  content: attr(data-label);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 8px 15px;
  border: 1px dashed var(--line-strong);
  border-radius: 999px;
  background: rgba(11, 21, 36, 0.72);
  color: rgba(160, 195, 214, 0.9);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}
.media__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 12px 15px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #CFE6EE;
  background: linear-gradient(180deg, transparent, rgba(6, 12, 22, 0.88));
}

/* ---------- 12. Data table ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(11, 21, 36, 0.58);
}
table.data { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
table.data th,
table.data td { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
table.data th {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
  background: rgba(34, 211, 238, 0.05);
  white-space: nowrap;
}
table.data td { color: #C4D4E4; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: rgba(34, 211, 238, 0.05); }

/* ---------- 13. Accordion ---------- */
.accordion {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: rgba(11, 21, 36, 0.55);
}
.accordion__item + .accordion__item { border-top: 1px solid var(--line); }
.accordion__trigger {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 20px;
  border: 0;
  background: none;
  color: #E4EEF8;
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.accordion__trigger:hover { background: rgba(34, 211, 238, 0.07); }
.accordion__trigger[aria-expanded="true"] { color: var(--cyan); }
.accordion__arrow { margin-left: auto; width: 18px; height: 18px; flex: 0 0 auto; transition: transform 0.24s var(--ease); }
.accordion__trigger[aria-expanded="true"] .accordion__arrow { transform: rotate(180deg); }
.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease);
}
.accordion__panel[data-open] { grid-template-rows: 1fr; }
.accordion__inner { overflow: hidden; min-height: 0; }
.accordion__body { padding: 0 20px 20px; color: #B8C8D8; font-size: 16px; }
.accordion__body p { max-width: 66ch; }

/* ---------- 14. Tabs ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(11, 21, 36, 0.62);
}
.tabs__btn {
  appearance: none;
  padding: 8px 18px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: #A2B7CB;
  font-size: 14px;
  line-height: 1.6;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.tabs__btn:hover { color: #EAF7FB; background: rgba(34, 211, 238, 0.08); }
.tabs__btn[aria-selected="true"] { background: var(--cyan); color: #06202A; font-weight: 600; }
.tabpanel[hidden] { display: none; }
.tabpanel:focus { outline: none; }

/* ---------- 15. Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 4px 0 0 28px; border-left: 1px solid var(--line); }
.timeline__item { position: relative; padding-bottom: 30px; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 0.5em;
  width: 9px;
  height: 9px;
  border: 2px solid var(--gray);
  border-radius: 50%;
  background: var(--ink);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.timeline__item.is-visible::before {
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.18);
}

/* ---------- 16. Reveal & progress ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 3px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  pointer-events: none;
}
@media (min-width: 1024px) { .scroll-progress { left: var(--rail-w); } }

/* ---------- 17. Footer ---------- */
.site-footer {
  margin-top: clamp(56px, 8vw, 110px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #0B1524, #08111C);
  color: #B9C9DA;
  font-size: 15px;
}
.site-footer__inner {
  max-width: 1180px;
  margin-inline: auto;
  padding: clamp(40px, 6vw, 72px) var(--gutter) clamp(30px, 4vw, 48px);
  display: grid;
  gap: clamp(26px, 3.4vw, 46px);
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .site-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
  .site-footer__inner { grid-template-columns: 1.3fr 1fr 1fr 1fr 1.4fr; }
}

.footer-brand__link {
  display: inline-block;
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #ECF4FB;
  text-decoration: none;
}
.footer-brand__link:hover { color: var(--cyan); text-decoration: none; }
.footer-brand__line {
  margin-top: 14px;
  max-width: 34ch;
  font-size: 14.5px;
  line-height: 1.8;
  color: #93A7BC;
}
.footer-brand__stamp {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--gray);
}

.footer-col__title {
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
}
.footer-col__list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col__list a {
  color: #B9C9DA;
  font-size: 14.5px;
  text-decoration: none;
}
.footer-col__list a:hover { color: var(--cyan); text-decoration: underline; }

.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact__label {
  margin-bottom: 4px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
}
.footer-contact__row {
  display: flex;
  gap: 12px;
  max-width: none;
  font-size: 14.5px;
  line-height: 1.7;
  color: #B9C9DA;
}
.footer-contact__key {
  flex: 0 0 40px;
  padding-top: 2px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--gray);
}
.footer-contact__val { flex: 1 1 auto; word-break: break-word; }
.footer-contact__note {
  margin-top: 8px;
  max-width: 42ch;
  font-size: 13.5px;
  line-height: 1.75;
  color: #8397AB;
}

.site-footer__base { border-top: 1px solid var(--line); background: rgba(0, 0, 0, 0.18); }
.site-footer__base-inner {
  max-width: 1180px;
  margin-inline: auto;
  padding: 18px var(--gutter) 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 22px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--gray);
}
.footer-legal { max-width: none; margin: 0; }

/* ---------- 18. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::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 !important; transform: none !important; }
  .accordion__panel { grid-template-rows: 1fr; }
  .site-nav { transition: none; }
}
