/* ==========================================================================
   乐享中心 / 乐享CN  ·  全站共享样式  /assets/site.css
   结构：1 reset  2 变量  3 中文排版  4 通用容器  5 按钮  6 页头  7 页脚
        8 组件  9 响应式  10 无障碍与动效
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 124px;
}

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

ul, ol { padding: 0; list-style: none; }

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

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

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

a { color: inherit; }

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

[hidden] { display: none !important; }

/* ---------- 2. 变量 ---------- */
:root {
  /* 色彩 */
  --lx-green-900: #2F4A3F;
  --lx-green-600: #5A7A6A;
  --lx-green-300: #A8BFB2;
  --lx-yellow: #F2C14E;
  --lx-yellow-soft: #F7DA92;
  --lx-brick: #C4573F;
  --lx-cream: #F7F3E8;
  --lx-paper: #FFFDF7;
  --lx-ink: #1E211D;
  --lx-index: #8C8F86;

  /* 字体 */
  --lx-font-head: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --lx-font-body: "Noto Serif SC", "Songti SC", "Source Han Serif SC", Georgia, "Times New Roman", serif;
  --lx-font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, "Courier New", monospace;

  /* 尺度 */
  --lx-max: 1280px;
  --lx-gutter: clamp(18px, 4vw, 46px);
  --lx-r-lg: 28px;
  --lx-r-md: 16px;
  --lx-r-sm: 10px;
  --lx-ease: cubic-bezier(.2, .72, .3, 1);
  --lx-shadow-card: 0 16px 34px -26px rgba(30, 33, 29, .55);
}

/* ---------- 3. 中文排版 ---------- */
body {
  background: var(--lx-cream);
  color: var(--lx-ink);
  font-family: var(--lx-font-body);
  font-size: 17px;
  line-height: 1.78;
  letter-spacing: .012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--lx-font-head);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.022em;
  color: var(--lx-green-900);
}

p { max-width: 68ch; }

strong, b { font-weight: 800; color: var(--lx-green-900); }

code, kbd, samp, pre, .lx-mono {
  font-family: var(--lx-font-mono);
  font-size: .92em;
}

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

.lx-title-1 { font-size: clamp(32px, 4.4vw, 44px); }
.lx-title-2 { font-size: clamp(26px, 3.2vw, 36px); }
.lx-title-3 { font-size: clamp(21px, 2.3vw, 28px); }
.lx-title-4 { font-size: 22px; }

.lx-lede {
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.75;
  color: var(--lx-green-600);
  max-width: 56ch;
}

.lx-note {
  font-family: var(--lx-font-mono);
  font-size: 14px;
  line-height: 1.7;
  color: var(--lx-index);
}

.lx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--lx-font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--lx-green-600);
}

.lx-eyebrow::before {
  content: "";
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--lx-yellow);
  flex: none;
}

.lx-divider {
  height: 1px;
  border: 0;
  margin: 0;
  background: rgba(47, 74, 63, .14);
}

/* ---------- 4. 通用容器 ---------- */
.lx-wrap {
  width: 100%;
  max-width: var(--lx-max);
  margin-inline: auto;
  padding-inline: var(--lx-gutter);
}

.lx-wrap--narrow { max-width: 880px; }

.lx-section { padding-block: clamp(48px, 7vw, 96px); }

.lx-band { padding-block: clamp(40px, 6vw, 82px); }
.lx-band--green { background: var(--lx-green-900); color: var(--lx-cream); }
.lx-band--green h1,
.lx-band--green h2,
.lx-band--green h3 { color: var(--lx-cream); }
.lx-band--soft { background: rgba(168, 191, 178, .22); }
.lx-band--paper { background: var(--lx-paper); }
.lx-band--yellow { background: var(--lx-yellow-soft); }

.lx-split {
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  gap: clamp(20px, 3vw, 52px);
  align-items: start;
}
.lx-split--38-62 { grid-template-columns: minmax(0, 38fr) minmax(0, 62fr); }
.lx-split--30-70 { grid-template-columns: minmax(0, 30fr) minmax(0, 70fr); }

.lx-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 30px);
}

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

/* ---------- 5. 按钮 ---------- */
.lx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--lx-font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .2s var(--lx-ease), color .2s var(--lx-ease),
              border-color .2s var(--lx-ease), transform .2s var(--lx-ease);
}

.lx-btn--solid { background: var(--lx-green-900); color: var(--lx-cream); }
.lx-btn--solid:hover { background: var(--lx-green-600); transform: translateY(-2px); }

.lx-btn--yellow { background: var(--lx-yellow); color: var(--lx-green-900); }
.lx-btn--yellow:hover { background: var(--lx-yellow-soft); transform: translateY(-2px); }

.lx-btn--ghost {
  background: transparent;
  color: var(--lx-green-900);
  border-color: rgba(47, 74, 63, .34);
}
.lx-btn--ghost:hover {
  border-color: var(--lx-green-900);
  background: rgba(47, 74, 63, .07);
  transform: translateY(-2px);
}

/* ---------- 6. 页头 ---------- */
.lx-skip {
  position: absolute;
  left: 14px;
  top: -80px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: 0 0 var(--lx-r-sm) var(--lx-r-sm);
  background: var(--lx-yellow);
  color: var(--lx-green-900);
  font-family: var(--lx-font-head);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: top .24s var(--lx-ease);
}
.lx-skip:focus { top: 0; }

.lx-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--lx-cream);
}

.lx-header::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(44%, 600px);
  background: var(--lx-green-900);
  clip-path: polygon(78px 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
  z-index: 0;
}

.lx-header__inner {
  position: relative;
  z-index: 1;
  max-width: var(--lx-max);
  margin-inline: auto;
  padding-inline: var(--lx-gutter);
  min-height: 108px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(16px, 2.4vw, 40px);
}

.lx-header__brand { position: relative; z-index: 2; padding-block: 22px; }

.lx-brand { display: block; text-decoration: none; }

.lx-brand__mark {
  display: block;
  font-family: var(--lx-font-head);
  font-size: clamp(23px, 2.6vw, 31px);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.08;
  color: var(--lx-green-900);
}

.lx-brand__sub {
  display: block;
  margin-top: 7px;
  font-family: var(--lx-font-mono);
  font-size: 12.5px;
  letter-spacing: .04em;
  line-height: 1.5;
  color: var(--lx-green-600);
}

.lx-header__wedge {
  position: absolute;
  top: 0;
  bottom: 0;
  right: calc(min(44%, 600px) - 4px);
  width: clamp(12px, 1.6vw, 22px);
  background: var(--lx-yellow);
  transform: skewX(-8deg);
  pointer-events: none;
  z-index: 0;
}

.lx-nav {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 11px;
  padding-block: 20px;
}

.lx-nav__group {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.4vw, 22px);
}

.lx-nav__link {
  position: relative;
  display: inline-block;
  padding: 6px 2px;
  font-family: var(--lx-font-head);
  font-size: clamp(14.5px, 1.15vw, 16px);
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.3;
  white-space: nowrap;
  text-decoration: none;
  color: var(--lx-cream);
  transition: color .18s var(--lx-ease);
}

.lx-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--lx-yellow);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .24s var(--lx-ease);
}

.lx-nav__link:hover { color: var(--lx-yellow-soft); }
.lx-nav__link:hover::after { transform: scaleX(1); }

.lx-nav__link[aria-current="page"] { color: var(--lx-yellow); font-weight: 800; }
.lx-nav__link[aria-current="page"]::after { transform: scaleX(1); }

.lx-header__quick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.lx-quick {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  border: 1px solid rgba(247, 243, 232, .34);
  border-radius: 999px;
  font-family: var(--lx-font-mono);
  font-size: 12.5px;
  letter-spacing: .02em;
  line-height: 1.6;
  text-decoration: none;
  color: var(--lx-cream);
  transition: background-color .18s var(--lx-ease), border-color .18s var(--lx-ease),
              color .18s var(--lx-ease), transform .18s var(--lx-ease);
}
.lx-quick:hover {
  background: var(--lx-yellow);
  border-color: var(--lx-yellow);
  color: var(--lx-green-900);
  transform: translateY(-2px);
}

.lx-badge-version {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 6px;
  background: var(--lx-yellow);
  color: var(--lx-green-900);
  font-family: var(--lx-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}

.lx-nav__toggle { display: none; }

.lx-nav__label {
  font-family: var(--lx-font-head);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .1em;
}

.lx-nav__icon {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 18px;
  height: 12px;
}

.lx-nav__toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--lx-yellow);
  transition: transform .26s var(--lx-ease), opacity .2s var(--lx-ease);
}

.lx-header[data-open] .lx-nav__toggle-bar:first-child { transform: translateY(5px) rotate(45deg); }
.lx-header[data-open] .lx-nav__toggle-bar:last-child { transform: translateY(-5px) rotate(-45deg); }

/* ---------- 7. 页脚 ---------- */
.lx-footer {
  position: relative;
  margin-top: clamp(60px, 9vw, 128px);
  background: var(--lx-green-900);
  color: var(--lx-cream);
  overflow: hidden;
}

.lx-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(247, 243, 232, .07) 1px, transparent 1px);
  background-size: 5px 5px;
  pointer-events: none;
  z-index: 0;
}

.lx-footer__slant {
  position: relative;
  z-index: 1;
  display: block;
  height: 5px;
  background: repeating-linear-gradient(115deg,
      var(--lx-yellow) 0 18px,
      var(--lx-green-600) 18px 40px,
      rgba(247, 243, 232, .22) 40px 47px);
}

.lx-footer__inner {
  position: relative;
  z-index: 1;
  max-width: var(--lx-max);
  margin-inline: auto;
  padding: clamp(38px, 5.5vw, 68px) var(--lx-gutter) 0;
}

.lx-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-bottom: clamp(24px, 3.4vw, 38px);
  border-bottom: 1px solid rgba(247, 243, 232, .16);
}

.lx-footer__mark {
  font-family: var(--lx-font-head);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.1;
  color: var(--lx-cream);
}

.lx-footer__tagline {
  flex: 1 1 300px;
  max-width: 46ch;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(247, 243, 232, .74);
}

.lx-footer__version {
  padding: 6px 14px;
  border: 1px solid rgba(247, 243, 232, .3);
  border-radius: 999px;
  font-family: var(--lx-font-mono);
  font-size: 12.5px;
  letter-spacing: .04em;
  white-space: nowrap;
  color: var(--lx-yellow-soft);
}

.lx-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(28px, 4vw, 46px) 0 clamp(26px, 3.6vw, 44px);
}

.lx-footer__col--index {
  padding-left: clamp(0px, 2vw, 26px);
  border-left: 1px solid rgba(247, 243, 232, .16);
}

.lx-footer__heading {
  margin-bottom: 16px;
  font-family: var(--lx-font-head);
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--lx-yellow);
}

.lx-footer__list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.lx-footer__item {
  font-family: var(--lx-font-head);
  font-size: 15px;
  line-height: 1.55;
  color: rgba(247, 243, 232, .9);
}

.lx-footer__link {
  display: inline-block;
  text-decoration: none;
  color: rgba(247, 243, 232, .88);
  transition: color .18s var(--lx-ease), transform .18s var(--lx-ease);
}
.lx-footer__link:hover { color: var(--lx-yellow); transform: translateX(3px); }

.lx-footer__plain {
  font-size: 14.5px;
  color: rgba(247, 243, 232, .72);
}

.lx-footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 26px;
  padding: 18px 0 26px;
  border-top: 1px solid rgba(247, 243, 232, .16);
  font-family: var(--lx-font-mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(247, 243, 232, .55);
}

.lx-footer__icp { color: var(--lx-green-300); }
.lx-footer__note { max-width: 62ch; }
.lx-footer__copy { margin-left: auto; }

/* ---------- 8. 组件 ---------- */
.lx-copy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  border-radius: var(--lx-r-sm);
  text-align: left;
  color: rgba(247, 243, 232, .84);
  transition: color .18s var(--lx-ease);
}
.lx-copy:hover { color: var(--lx-yellow); }

.lx-copy__text {
  font-family: var(--lx-font-mono);
  font-size: 13.5px;
  letter-spacing: .01em;
  word-break: break-all;
}

.lx-copy__hint {
  flex: none;
  padding: 2px 9px;
  border: 1px solid rgba(247, 243, 232, .3);
  border-radius: 999px;
  font-family: var(--lx-font-head);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.6;
  white-space: nowrap;
  color: rgba(247, 243, 232, .72);
  transition: background-color .18s var(--lx-ease), color .18s var(--lx-ease),
              border-color .18s var(--lx-ease);
}
.lx-copy:hover .lx-copy__hint {
  border-color: var(--lx-yellow);
  color: var(--lx-yellow);
}
.lx-copy[data-copied] .lx-copy__hint {
  background: var(--lx-brick);
  border-color: var(--lx-brick);
  color: var(--lx-paper);
}

.lx-copy--on-cream { color: var(--lx-green-900); }
.lx-copy--on-cream .lx-copy__hint {
  border-color: rgba(47, 74, 63, .3);
  color: var(--lx-green-600);
}
.lx-copy--on-cream:hover { color: var(--lx-brick); }
.lx-copy--on-cream:hover .lx-copy__hint {
  border-color: var(--lx-brick);
  color: var(--lx-brick);
}

.lx-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 22px 0;
  font-family: var(--lx-font-mono);
  font-size: 13px;
  color: var(--lx-index);
}
.lx-breadcrumb a { text-decoration: none; color: var(--lx-green-600); }
.lx-breadcrumb a:hover { color: var(--lx-green-900); }
.lx-breadcrumb__sep { color: var(--lx-green-300); }
.lx-breadcrumb [aria-current="page"] { color: var(--lx-ink); }

.lx-card {
  padding: clamp(20px, 2.4vw, 32px);
  border-radius: var(--lx-r-lg);
  background: var(--lx-paper);
  box-shadow: var(--lx-shadow-card);
}

.lx-index-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 20px 22px 22px;
  border-radius: var(--lx-r-md);
  background: var(--lx-paper);
  text-decoration: none;
  color: inherit;
  transition: transform .2s var(--lx-ease), background-color .2s var(--lx-ease);
}
.lx-index-card:hover { transform: translateY(-2px); background: #FCF6E4; }

.lx-index-card__num {
  font-family: var(--lx-font-mono);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--lx-index);
}

.lx-index-card__title {
  font-family: var(--lx-font-head);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.015em;
  color: var(--lx-green-900);
}

.lx-index-card__meta {
  font-size: 14px;
  line-height: 1.65;
  color: var(--lx-green-600);
}

.lx-anchor-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--lx-font-head);
  font-size: 15px;
}

.lx-anchor-nav__link {
  display: block;
  padding: 9px 13px;
  border-radius: var(--lx-r-sm);
  text-decoration: none;
  color: var(--lx-green-600);
  transition: background-color .2s var(--lx-ease), color .2s var(--lx-ease);
}
.lx-anchor-nav__link:hover {
  background: rgba(242, 193, 78, .22);
  color: var(--lx-green-900);
}
.lx-anchor-nav__link[aria-current="true"] {
  background: var(--lx-yellow);
  color: var(--lx-green-900);
  font-weight: 800;
}

.lx-tabs { display: block; }

.lx-tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.lx-tab {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(168, 191, 178, .28);
  font-family: var(--lx-font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--lx-green-600);
  transition: background-color .18s var(--lx-ease), color .18s var(--lx-ease);
}
.lx-tab:hover { background: rgba(168, 191, 178, .52); color: var(--lx-green-900); }
.lx-tab[aria-selected="true"] { background: var(--lx-yellow); color: var(--lx-green-900); }

.lx-tabpanel { animation: lx-fade .3s var(--lx-ease) both; }

@keyframes lx-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.lx-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lx-filter__btn {
  padding: 8px 16px;
  border: 1px solid rgba(47, 74, 63, .22);
  border-radius: 999px;
  font-family: var(--lx-font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--lx-green-600);
  transition: background-color .18s var(--lx-ease), color .18s var(--lx-ease),
              border-color .18s var(--lx-ease);
}
.lx-filter__btn:hover { border-color: var(--lx-green-900); color: var(--lx-green-900); }
.lx-filter__btn[aria-pressed="true"] {
  background: var(--lx-green-900);
  border-color: var(--lx-green-900);
  color: var(--lx-cream);
}

.lx-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px;
  border-radius: 999px;
  background: rgba(168, 191, 178, .3);
  font-family: var(--lx-font-mono);
  font-size: 12.5px;
  letter-spacing: .04em;
  line-height: 1.7;
  color: var(--lx-green-900);
}

.lx-tag--update {
  background: rgba(196, 87, 63, .14);
  color: var(--lx-brick);
}

.lx-media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--lx-r-md);
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, rgba(168, 191, 178, .38), rgba(247, 243, 232, .95));
}

.lx-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(30, 33, 29, .07) 1px, transparent 1px);
  background-size: 4px 4px;
  pointer-events: none;
}

.lx-media img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lx-media--wide { aspect-ratio: 16 / 9; }
.lx-media--tall { aspect-ratio: 3 / 4; }
.lx-media--square { aspect-ratio: 1 / 1; }
.lx-media--slant {
  border-radius: var(--lx-r-lg) 40% var(--lx-r-lg) var(--lx-r-lg);
}

.lx-media__caption {
  margin-top: 10px;
  font-family: var(--lx-font-mono);
  font-size: 13px;
  line-height: 1.65;
  color: var(--lx-index);
}

.lx-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.6vw, 34px);
  padding-left: 30px;
}

.lx-timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--lx-green-300), rgba(168, 191, 178, .12));
}

.lx-timeline__item { position: relative; }

.lx-timeline__marker {
  position: absolute;
  left: -30px;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 6px;
  background: var(--lx-yellow);
  box-shadow: 0 0 0 3px var(--lx-cream);
}

/* ---------- 9. 响应式 ---------- */
@media (max-width: 1120px) {
  .lx-header__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
  .lx-header::before { width: min(46%, 560px); }
  .lx-header__wedge { right: calc(min(46%, 560px) - 4px); }
}

@media (max-width: 980px) {
  .lx-split,
  .lx-split--38-62,
  .lx-split--30-70 { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 96px; }

  .lx-header::before,
  .lx-header__wedge { display: none; }

  .lx-header__inner {
    display: block;
    min-height: 76px;
    padding-block: 14px;
  }

  .lx-header__brand { padding: 0; padding-right: 128px; }

  .lx-brand__mark { font-size: 22px; }
  .lx-brand__sub { font-size: 11.5px; margin-top: 4px; }

  .lx-nav__toggle {
    position: absolute;
    top: 50%;
    right: var(--lx-gutter);
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 15px;
    border-radius: 999px;
    background: var(--lx-green-900);
    color: var(--lx-cream);
    transition: background-color .18s var(--lx-ease);
  }
  .lx-nav__toggle:hover { background: var(--lx-green-600); }

  .lx-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 4;
    display: block;
    align-items: stretch;
    gap: 0;
    padding: 0 var(--lx-gutter);
    background: var(--lx-paper);
    border-top: 1px solid rgba(47, 74, 63, .12);
    box-shadow: 0 26px 42px -32px rgba(30, 33, 29, .68);
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: max-height .42s var(--lx-ease), opacity .26s var(--lx-ease),
                padding .3s var(--lx-ease), visibility .42s linear;
  }

  .lx-header[data-open] .lx-nav {
    max-height: 80vh;
    opacity: 1;
    visibility: visible;
    padding: 18px var(--lx-gutter) 26px;
    overflow-y: auto;
  }

  .lx-nav__group {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .lx-nav__link {
    display: block;
    padding: 14px 2px;
    font-size: 17px;
    color: var(--lx-green-900);
    border-bottom: 1px solid rgba(47, 74, 63, .1);
  }
  .lx-nav__link::after { display: none; }
  .lx-nav__link:hover { color: var(--lx-green-900); }

  .lx-nav__link[aria-current="page"] {
    padding-left: 13px;
    background: rgba(242, 193, 78, .18);
    box-shadow: inset 3px 0 0 var(--lx-yellow);
    font-weight: 800;
  }

  .lx-header__quick {
    justify-content: flex-start;
    gap: 8px;
    margin-top: 18px;
  }

  .lx-quick {
    border-color: rgba(47, 74, 63, .24);
    font-size: 13px;
    color: var(--lx-green-900);
  }
  .lx-quick:hover { color: var(--lx-green-900); }

  .lx-footer__cols { grid-template-columns: 1fr 1fr; gap: 32px 28px; }
  .lx-footer__col--index { padding-left: 0; border-left: 0; }
  .lx-footer__copy { margin-left: 0; }
}

@media (max-width: 860px) {
  body { font-size: 16px; line-height: 1.75; }
}

@media (max-width: 560px) {
  .lx-footer__top { flex-direction: column; align-items: flex-start; }
  .lx-footer__cols { grid-template-columns: 1fr; }
  .lx-footer__bar { gap: 6px 16px; }
  .lx-tabs__list { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .lx-tab { white-space: nowrap; }
}

/* ---------- 10. 无障碍与动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  .lx-reveal { opacity: 1; transform: none; }
  .lx-index-card:hover,
  .lx-btn:hover,
  .lx-quick:hover,
  .lx-footer__link:hover { transform: none; }
}
