/* ==========================================================================
   乐道看台 · 共享样式 /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, ul, ol { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, picture, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }
table { border-collapse: collapse; }

/* ---------- 2. Tokens ---------- */
:root {
  --sand: #E7D9C3;
  --paper: #F6EFE3;
  --ink: #0E1620;
  --ink-2: #24313F;
  --lime: #B8F13C;
  --lime-hi: #C9F76A;
  --amber: #F2A33A;
  --cyan: #35D6D0;
  --cyan-hi: #7FF0EC;
  --clay: #C4562F;
  --gravel: #8C8578;
  --violet: #3A2E4A;

  --line-dark: rgba(14, 22, 32, .14);
  --line-dark-2: rgba(14, 22, 32, .3);
  --line-light: rgba(246, 239, 227, .14);
  --line-light-2: rgba(246, 239, 227, .3);
  --ink-soft: rgba(246, 239, 227, .66);

  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", ui-monospace, "Cascadia Mono", "Menlo", "Consolas", monospace;

  --shell: 1440px;
  --gutter: clamp(16px, 3vw, 40px);
  --header-h: 64px;
  --radius: 3px;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* ---------- 3. Base ---------- */
body {
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: .004em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4 { font-weight: 800; line-height: 1.16; letter-spacing: -.02em; }

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

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
  box-shadow: 0 0 0 1px rgba(14, 22, 32, .85);
  border-radius: 2px;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

#main-content { display: block; }
#main-content:focus-visible { outline: 2px solid var(--lime); outline-offset: -2px; }

/* ---------- 4. Utilities ---------- */
.ld-shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.ld-section { padding-block: clamp(40px, 6vw, 88px); }
.ld-section--tight { padding-block: clamp(28px, 4vw, 56px); }

.ld-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
}

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

.ld-rule { height: 1px; background: var(--line-dark); border: 0; margin: 0; }

.ld-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--clay);
  line-height: 1.4;
}
.ld-eyebrow::before {
  content: "";
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
}

.ld-display {
  font-size: clamp(48px, 8vw, 144px);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.045em;
}

.ld-h2 {
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.14;
}

.ld-lead {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.85;
  max-width: 62ch;
  color: rgba(14, 22, 32, .82);
}

.ld-prose {
  max-width: 68ch;
  font-size: 16px;
  line-height: 1.9;
}
.ld-prose > * + * { margin-top: 1em; }
.ld-prose h2 { margin-top: 2em; font-size: clamp(20px, 2.4vw, 28px); }
.ld-prose h3 { margin-top: 1.6em; font-size: 18px; }
.ld-prose ul, .ld-prose ol { padding-inline-start: 1.2em; list-style: disc; }
.ld-prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--lime); }

.ld-annot {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .24em;
  color: rgba(14, 22, 32, .45);
  line-height: 1;
}

/* ---------- 5. Buttons / chips / cards ---------- */
.ld-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease);
}
.ld-btn:hover { transform: translateY(-1px); }

.ld-btn--primary {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(14, 22, 32, .14);
}
.ld-btn--primary:hover { background: var(--lime-hi); border-color: var(--lime-hi); }

.ld-btn--ghost { border-color: rgba(246, 239, 227, .42); color: var(--paper); }
.ld-btn--ghost:hover { background: rgba(246, 239, 227, .1); border-color: var(--paper); }

.ld-btn--quiet {
  border-color: var(--line-dark-2);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
}
.ld-btn--quiet:hover { background: rgba(14, 22, 32, .06); }

.ld-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border: 1px solid var(--line-dark-2);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  line-height: 1.6;
  color: rgba(14, 22, 32, .7);
  text-decoration: none;
  white-space: nowrap;
}
.ld-chip--amber { border-color: rgba(242, 163, 58, .62); color: #8A5410; }
.ld-chip--cyan { border-color: rgba(53, 214, 208, .58); color: #0C5B58; }
.ld-chip--lime { background: var(--lime); border-color: var(--lime); color: var(--ink); }

.ld-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(14, 22, 32, .06);
  padding: clamp(16px, 2.2vw, 28px);
}
.ld-card--ink {
  background: var(--ink);
  border-color: rgba(246, 239, 227, .16);
  color: var(--paper);
  box-shadow: 0 10px 30px rgba(6, 10, 14, .28);
}
.ld-card__tag {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  color: var(--gravel);
}
.ld-card--ink .ld-card__tag { color: rgba(246, 239, 227, .5); }

/* ---------- 6. Breadcrumb ---------- */
.ld-breadcrumb {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: rgba(14, 22, 32, .55);
}
.ld-breadcrumb__list { display: flex; flex-wrap: wrap; align-items: center; gap: 0; }
.ld-breadcrumb__list li + li::before {
  content: "/";
  display: inline-block;
  margin-inline: 8px;
  color: rgba(14, 22, 32, .3);
}
.ld-breadcrumb__link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.ld-breadcrumb__link:hover { color: var(--ink); border-bottom-color: var(--ink); }
.ld-breadcrumb__link[aria-current="page"] { color: var(--ink); border-bottom-color: var(--lime); }

/* ---------- 7. Media container ---------- */
.ld-media {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--ink-2);
}
.ld-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ld-media--wide { aspect-ratio: 16 / 9; }
.ld-media--tall { aspect-ratio: 4 / 5; }
.ld-media--square { aspect-ratio: 1 / 1; }
.ld-media--band { aspect-ratio: 21 / 9; }

.ld-media__tag {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  padding: 3px 7px;
  border-radius: 2px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  line-height: 1.6;
}
.ld-media__data {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 10px 12px;
  background: linear-gradient(0deg, rgba(14, 22, 32, .84), rgba(14, 22, 32, 0));
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: rgba(246, 239, 227, .9);
}
@media (max-width: 640px) {
  .ld-media--tall { aspect-ratio: 3 / 4; }
  .ld-media--band { aspect-ratio: 16 / 9; }
}

/* ---------- 8. Rail (阶梯索引轨道) ---------- */
.ld-rail { display: grid; gap: 2px; }
.ld-rail__list { display: grid; gap: 2px; }
.ld-rail__link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 8px;
  border-inline-start: 2px solid transparent;
  color: rgba(14, 22, 32, .6);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  line-height: 1.5;
  text-decoration: none;
  transition: color .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease);
}
.ld-rail__link:hover { color: var(--ink); background: rgba(14, 22, 32, .05); }
.ld-rail__link[aria-current="page"],
.ld-rail__link[aria-current="true"] {
  color: var(--ink);
  background: rgba(184, 241, 60, .2);
  border-inline-start-color: var(--lime);
}
.ld-rail__no { color: var(--clay); }

/* ---------- 9. Tabs ---------- */
.ld-tabs { display: grid; gap: 0; }
.ld-tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line-dark);
}
.ld-tabs__tab {
  appearance: none;
  background: transparent;
  border: 1px solid transparent;
  border-bottom: 0;
  border-radius: 2px 2px 0 0;
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  color: rgba(14, 22, 32, .6);
  cursor: pointer;
  transition: color .18s var(--ease), background .18s var(--ease);
}
.ld-tabs__tab:hover { color: var(--ink); background: rgba(14, 22, 32, .05); }
.ld-tabs__tab[aria-selected="true"] {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--line-dark);
  box-shadow: inset 0 2px 0 var(--lime);
}
.ld-tabs__panel[hidden] { display: none; }
.ld-tabs__panel:focus-visible { outline-offset: 6px; }
@media (max-width: 640px) {
  .ld-tabs__list { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
  .ld-tabs__tab { white-space: nowrap; }
}

/* ---------- 10. Header ---------- */
.ld-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid var(--line-light);
}

.ld-skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 120;
  padding: 10px 16px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-decoration: none;
  border-radius: 0 0 2px 2px;
  transition: top .18s var(--ease);
}
.ld-skip:focus { top: 0; }

.ld-utility {
  background: #0A1119;
  border-bottom: 1px solid rgba(246, 239, 227, .1);
  font-size: 12px;
  color: var(--ink-soft);
}
.ld-utility__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  min-height: 34px;
  padding-block: 4px;
}
.ld-utility__place {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: rgba(246, 239, 227, .74);
  line-height: 1.6;
}
.ld-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(184, 241, 60, .18);
  animation: ld-pulse 2.4s var(--ease) infinite;
}
@keyframes ld-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.82); }
}
.ld-utility__meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.ld-utility__key {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: rgba(246, 239, 227, .42);
}
.ld-utility__tel { color: var(--paper); font-size: 12px; letter-spacing: .04em; }
.ld-utility__link {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 2px;
  background: rgba(246, 239, 227, .88);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-decoration: none;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.ld-utility__link:hover { background: var(--lime); color: var(--ink); }

.ld-header[data-compact] .ld-utility { display: none; }

.ld-bar {
  position: relative;
  background: var(--ink);
  background-image: repeating-linear-gradient(90deg, rgba(246, 239, 227, .045) 0 1px, transparent 1px 96px);
}
.ld-bar__inner {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 36px);
  min-height: var(--header-h);
}

.ld-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding-block: 8px;
  color: var(--paper);
  text-decoration: none;
}
.ld-brand__mark {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 3px;
  width: 28px;
  height: 28px;
  padding: 4px;
  border: 1px solid rgba(246, 239, 227, .28);
  border-radius: 2px;
  background: rgba(246, 239, 227, .04);
}
.ld-brand__mark i {
  display: block;
  height: 2px;
  border-radius: 1px;
  background: var(--lime);
  transition: width .2s var(--ease);
}
.ld-brand__mark i:nth-child(1) { width: 38%; }
.ld-brand__mark i:nth-child(2) { width: 60%; }
.ld-brand__mark i:nth-child(3) { width: 82%; }
.ld-brand__mark i:nth-child(4) { width: 100%; }
.ld-brand:hover .ld-brand__mark i { width: 100%; }
.ld-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.ld-brand__name { font-size: 20px; font-weight: 900; letter-spacing: -.03em; }
.ld-brand__sub {
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  color: rgba(246, 239, 227, .5);
}

.ld-navtoggle {
  display: none;
  align-items: center;
  gap: 8px;
  margin-inline-start: auto;
  padding: 8px 10px;
  border: 1px solid var(--line-light-2);
  border-radius: 2px;
  background: transparent;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  cursor: pointer;
  transition: background .18s var(--ease), border-color .18s var(--ease);
}
.ld-navtoggle:hover { background: rgba(246, 239, 227, .08); border-color: var(--paper); }
.ld-navtoggle__bars { display: inline-flex; flex-direction: column; gap: 3px; width: 16px; }
.ld-navtoggle__bars i {
  display: block;
  height: 2px;
  background: var(--lime);
  transition: transform .18s var(--ease), opacity .18s var(--ease), width .18s var(--ease);
}
.ld-navtoggle__bars i:nth-child(2) { width: 70%; }
.ld-navtoggle[aria-expanded="true"] .ld-navtoggle__bars i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.ld-navtoggle[aria-expanded="true"] .ld-navtoggle__bars i:nth-child(2) { opacity: 0; }
.ld-navtoggle[aria-expanded="true"] .ld-navtoggle__bars i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); width: 100%; }

.ld-nav { margin-inline-start: auto; }
.ld-nav__list { display: flex; align-items: stretch; gap: 2px; }
.ld-nav__item { display: flex; }
.ld-nav__link {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  padding: 9px 12px 10px;
  border-top: 2px solid transparent;
  color: rgba(246, 239, 227, .66);
  text-decoration: none;
  transition: color .18s var(--ease), background .18s var(--ease);
}
.ld-nav__link:hover { color: var(--paper); background: rgba(246, 239, 227, .06); }
.ld-nav__no {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  color: rgba(246, 239, 227, .34);
  transition: color .18s var(--ease);
}
.ld-nav__name { font-size: 14px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.ld-nav__link[aria-current="page"] { color: var(--paper); background: rgba(184, 241, 60, .08); }
.ld-nav__link[aria-current="page"] .ld-nav__no { color: var(--lime); }
.ld-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  background: var(--lime);
}

.ld-strip {
  background: var(--ink-2);
  border-top: 1px solid var(--line-light);
  color: var(--ink-soft);
}
.ld-strip__inner {
  display: flex;
  align-items: stretch;
  min-height: 44px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(246, 239, 227, .3) transparent;
}
.ld-strip__inner::-webkit-scrollbar { height: 3px; }
.ld-strip__inner::-webkit-scrollbar-thumb { background: rgba(246, 239, 227, .3); }
.ld-strip__cell {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border-inline-end: 1px solid rgba(246, 239, 227, .1);
  white-space: nowrap;
  text-decoration: none;
  transition: background .18s var(--ease);
}
.ld-strip__cell:first-child { padding-inline-start: 0; }
.ld-strip__cell:hover { background: rgba(246, 239, 227, .07); }
.ld-strip__key {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: rgba(246, 239, 227, .5);
}
.ld-strip__val {
  font-family: var(--font-mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--amber);
}
.ld-strip__chip {
  padding: 2px 6px;
  border: 1px solid rgba(242, 163, 58, .42);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--amber);
}
.ld-strip__fill {
  flex: 1 1 24px;
  min-width: 12px;
  border-inline-end: 1px solid rgba(246, 239, 227, .1);
}
.ld-strip__quick { display: flex; align-items: center; gap: 8px; padding-inline-start: 18px; }
.ld-strip__quicklink {
  padding: 5px 10px;
  border: 1px solid rgba(53, 214, 208, .4);
  border-radius: 2px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.ld-strip__quicklink:hover {
  background: rgba(53, 214, 208, .14);
  border-color: var(--cyan);
  color: var(--cyan-hi);
}

.ld-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(246, 239, 227, .1);
  pointer-events: none;
}
.ld-progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--lime), var(--cyan));
  transition: width .1s linear;
}

/* ---------- 11. Header responsive ---------- */
@media (max-width: 1024px) {
  .ld-navtoggle { display: inline-flex; }
  .ld-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 5;
    display: none;
    margin: 0;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    background: var(--ink);
    border-top: 1px solid var(--line-light);
    border-bottom: 1px solid var(--line-light);
    box-shadow: 0 18px 40px rgba(4, 8, 12, .5);
  }
  .ld-nav[data-open] { display: block; }
  .ld-nav__list { flex-direction: column; gap: 0; }
  .ld-nav__item { border-bottom: 1px solid rgba(246, 239, 227, .08); }
  .ld-nav__item:last-child { border-bottom: 0; }
  .ld-nav__link {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 14px var(--gutter);
    border-top: 0;
  }
  .ld-nav__link[aria-current="page"] { background: rgba(184, 241, 60, .1); }
  .ld-nav__link[aria-current="page"]::after {
    left: 0;
    right: auto;
    top: 0;
    bottom: 0;
    width: 3px;
    height: auto;
  }
  .ld-nav__name { font-size: 15px; }
}

@media (max-width: 640px) {
  :root { --header-h: 58px; }
  .ld-utility { font-size: 11px; }
  .ld-utility__key { display: none; }
  .ld-brand__name { font-size: 18px; }
  .ld-brand__sub { font-size: 9px; letter-spacing: .16em; }
  .ld-strip__cell { padding-inline: 12px; gap: 8px; }
  .ld-strip__val { font-size: 12px; }
  .ld-strip__quick { padding-inline-start: 12px; }
  .ld-strip__quicklink { font-size: 10.5px; letter-spacing: .12em; padding: 5px 8px; }
}

/* ---------- 12. Footer ---------- */
.ld-footer {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid rgba(246, 239, 227, .16);
}
.ld-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .6;
  background-image: repeating-linear-gradient(0deg, rgba(246, 239, 227, .035) 0 1px, transparent 1px 8px);
}
.ld-footer__inner { position: relative; z-index: 1; }

.ld-footer__top {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(0, 2.3fr);
  gap: 32px 56px;
  padding-block: 56px 40px;
  border-bottom: 1px solid rgba(246, 239, 227, .14);
}
.ld-footer__brandline {
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.3;
}
.ld-footer__tagline {
  margin-top: 10px;
  max-width: 26ch;
  font-size: 13px;
  line-height: 1.85;
  color: rgba(246, 239, 227, .6);
}
.ld-footer__steps {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 26px;
  margin-top: 20px;
}
.ld-footer__steps i {
  display: block;
  width: 14px;
  border-radius: 1px 1px 0 0;
  background: var(--lime);
}
.ld-footer__steps i:nth-child(1) { height: 6px; opacity: .32; }
.ld-footer__steps i:nth-child(2) { height: 11px; opacity: .5; }
.ld-footer__steps i:nth-child(3) { height: 16px; opacity: .7; }
.ld-footer__steps i:nth-child(4) { height: 21px; opacity: .85; }
.ld-footer__steps i:nth-child(5) { height: 26px; background: var(--cyan); opacity: 1; }

.ld-footer__nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 28px 32px;
}
.ld-footer__group { min-width: 0; }
.ld-footer__gtitle {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  line-height: 1.4;
  color: rgba(246, 239, 227, .44);
}
.ld-footer__list { display: grid; gap: 9px; }
.ld-footer__link {
  display: inline-block;
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
  color: rgba(246, 239, 227, .8);
  font-size: 14px;
  text-decoration: none;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.ld-footer__link:hover,
.ld-footer__link:focus-visible { color: var(--lime); border-bottom-color: var(--lime); }

.ld-footer__contact {
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
  gap: 16px 32px;
  padding-block: 32px;
  border-bottom: 1px solid rgba(246, 239, 227, .14);
}
.ld-contactlist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px 28px;
}
.ld-contactlist__row { min-width: 0; }
.ld-contactlist__row dt {
  margin-bottom: 5px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: rgba(246, 239, 227, .42);
}
.ld-contactlist__row dd {
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(246, 239, 227, .86);
  overflow-wrap: anywhere;
}

.ld-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 20px 28px;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(246, 239, 227, .46);
}
.ld-footer__legal-text { max-width: 78ch; }
.ld-footer__legal-text--year {
  font-family: var(--font-mono);
  letter-spacing: .06em;
  color: rgba(246, 239, 227, .6);
  white-space: nowrap;
}

.ld-totop {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border: 0;
  border-radius: 2px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(6, 10, 14, .4);
  transition: transform .18s var(--ease), background .18s var(--ease);
}
.ld-totop:hover { transform: translateY(-2px); background: var(--lime-hi); }
.ld-totop[hidden] { display: none; }

@media (max-width: 900px) {
  .ld-footer__top { grid-template-columns: 1fr; padding-block: 44px 32px; }
  .ld-footer__contact { grid-template-columns: 1fr; gap: 14px; }
  .ld-footer__nav { gap: 24px 20px; }
}

@media (max-width: 640px) {
  .ld-footer__nav { grid-template-columns: 1fr 1fr; }
  .ld-footer__legal { flex-direction: column; }
}

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

/* ---------- 13. Motion accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .ld-dot { animation: none; }
  .ld-progress__bar { transition: none; }
  .ld-btn:hover,
  .ld-totop:hover { transform: none; }
  .ld-brand:hover .ld-brand__mark i { width: auto; }
  .ld-brand__mark i:nth-child(1) { width: 38%; }
  .ld-brand__mark i:nth-child(2) { width: 60%; }
  .ld-brand__mark i:nth-child(3) { width: 82%; }
  .ld-brand__mark i:nth-child(4) { width: 100%; }
}
