/* ==========================================================================
   乐盈中国官方主站 · 共享样式
   文件位置: /assets/site.css
   ========================================================================== */

/* 1. CSS 变量
   ========================================================================== */
:root {
  --ly-brand: #F25C05;
  --ly-brand-dark: #D94800;
  --ly-brand-light: #FFA563;
  --ly-teal: #00A89D;
  --ly-teal-light: #E0F5F4;
  --ly-ink: #2B2B2B;
  --ly-ink-muted: #5F5F5F;
  --ly-gray-light: #F5F5F5;
  --ly-gray-muted: #E4E4E4;
  --ly-white: #FFFFFF;
  --ly-bronze: #C9A063;

  --ly-font-heading: 'Noto Serif SC', 'Source Han Serif CN', 'SimSun', serif;
  --ly-font-body: 'Noto Sans SC', 'Source Han Sans CN', 'PingFang SC', 'Microsoft YaHei', sans-serif;

  --ly-line-height: 1.7;
  --ly-letter-spacing: 0.01em;

  --ly-content-width: 1200px;
  --ly-header-h: 76px;

  --ly-radius-lg: 24px;
  --ly-radius-md: 16px;
  --ly-radius-pill: 999px;

  --ly-shadow-sm: 0 2px 8px rgba(43, 43, 43, 0.06);
  --ly-shadow-md: 0 8px 24px rgba(43, 43, 43, 0.08);
  --ly-shadow-lg: 0 16px 40px rgba(43, 43, 43, 0.12);

  --ly-header-h-mobile: 64px;
}

/* 2. Reset 与基础
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--ly-font-body);
  font-size: 16px;
  line-height: var(--ly-line-height);
  letter-spacing: var(--ly-letter-spacing);
  color: var(--ly-ink);
  background: var(--ly-white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

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

img {
  height: auto;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

a {
  color: var(--ly-teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ly-brand);
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--ly-font-heading);
  color: var(--ly-ink);
  line-height: 1.3;
  margin: 0;
  font-weight: 900;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

h4 {
  font-size: 1.05rem;
  font-weight: 700;
}

p {
  margin: 0 0 1.2em;
}

::-moz-selection {
  background: var(--ly-brand-light);
  color: var(--ly-ink);
}

::selection {
  background: var(--ly-brand-light);
  color: var(--ly-ink);
}

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

#main-content {
  flex: 1 0 auto;
  width: 100%;
  scroll-margin-top: calc(var(--ly-header-h) + 8px);
}

/* 3. 跳过链接
   ========================================================================== */
.skip-link {
  position: fixed;
  top: -200px;
  left: 16px;
  z-index: 1000;
  display: inline-block;
  padding: 12px 24px;
  background: var(--ly-brand);
  color: var(--ly-white);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--ly-radius-md) var(--ly-radius-md);
  box-shadow: var(--ly-shadow-md);
  transition: top 0.3s ease;
}

.skip-link:hover {
  color: var(--ly-white);
  background: var(--ly-brand-dark);
}

.skip-link:focus {
  top: 0;
}

/* 4. 滚动进度轨道
   ========================================================================== */
.scroll-track {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 300;
  pointer-events: none;
}

.scroll-track__bar {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--ly-brand) 0%, var(--ly-brand-light) 45%, var(--ly-teal) 100%);
  border-radius: 0 2px 2px 0;
  transition: width 60ms linear;
}

/* 5. 头部
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ly-gray-muted);
  flex-shrink: 0;
}

.site-header__bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--ly-header-h-mobile);
  max-width: var(--ly-content-width);
  margin: 0 auto;
  padding: 8px 24px;
}

/* 6. 品牌标识
   ========================================================================== */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand:hover {
  color: inherit;
}

.brand__mark {
  position: relative;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--ly-brand) 0%, var(--ly-brand-dark) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ly-white);
  font-family: var(--ly-font-heading);
  font-weight: 900;
  font-size: 23px;
  line-height: 1;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(242, 92, 5, 0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand:hover .brand__mark {
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(242, 92, 5, 0.35);
}

.brand__glyph {
  position: relative;
  z-index: 2;
}

.brand__curve {
  position: absolute;
  bottom: -7px;
  left: -9px;
  width: 42px;
  height: 23px;
  background: var(--ly-teal);
  border-radius: 80% 0 0 0;
  opacity: 0.9;
  z-index: 1;
}

.brand__dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ly-bronze);
  border: 2px solid rgba(255, 255, 255, 0.65);
  z-index: 3;
}

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

.brand__name {
  font-family: var(--ly-font-heading);
  font-size: 22px;
  font-weight: 900;
  color: var(--ly-ink);
  letter-spacing: 0.05em;
  line-height: 1.1;
  transition: color 0.2s ease;
}

.brand__suffix {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ly-teal);
  margin-top: 3px;
  white-space: nowrap;
}

/* 7. 头部轨道装饰线
   ========================================================================== */
.site-header__track {
  display: none;
}

.site-header__track-dot {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ly-teal);
  box-shadow: 0 0 0 3px var(--ly-white);
}

/* 8. 导航
   ========================================================================== */
.site-nav {
  display: flex;
}

.site-nav__list {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2px;
}

.site-nav__item {
  margin: 0;
}

.site-nav__link {
  display: block;
  padding: 10px 18px;
  border-radius: var(--ly-radius-pill);
  color: var(--ly-ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.site-nav__link:hover {
  background-color: var(--ly-gray-light);
  color: var(--ly-brand);
}

.site-nav__link:active {
  background-color: var(--ly-brand-light);
}

.site-nav__link[aria-current="page"] {
  background-color: var(--ly-brand);
  color: var(--ly-white);
}

.site-nav__link[aria-current="page"]:hover {
  background-color: var(--ly-brand-dark);
  color: var(--ly-white);
}

.site-nav__cta {
  margin-top: 14px;
  width: 100%;
  justify-content: center;
  text-decoration: none;
}

/* 9. 移动端导航开关
   ========================================================================== */
.site-header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 2px solid var(--ly-gray-muted);
  border-radius: var(--ly-radius-md);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.site-header__toggle:hover {
  border-color: var(--ly-brand);
}

.site-header__toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ly-ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* 10. 按钮
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--ly-radius-pill);
  font-family: var(--ly-font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--ly-brand);
  color: var(--ly-white);
  box-shadow: 0 4px 16px rgba(242, 92, 5, 0.25);
}

.btn--primary:hover {
  background: var(--ly-brand-dark);
  color: var(--ly-white);
  box-shadow: 0 6px 22px rgba(242, 92, 5, 0.35);
}

.btn--accent {
  background: var(--ly-teal);
  color: var(--ly-white);
  box-shadow: 0 4px 16px rgba(0, 168, 157, 0.25);
}

.btn--accent:hover {
  background: #008C83;
  color: var(--ly-white);
  box-shadow: 0 6px 22px rgba(0, 168, 157, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--ly-brand);
  border-color: var(--ly-brand);
}

.btn--ghost:hover {
  background: var(--ly-brand);
  color: var(--ly-white);
}

.btn--sm {
  padding: 8px 18px;
  font-size: 13px;
}

/* 11. 面包屑
   ========================================================================== */
.breadcrumb {
  font-size: 14px;
  margin: 0;
  padding: 24px 0 8px;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ly-ink-muted);
}

.breadcrumb__item:not(:last-child)::after {
  content: '／';
  font-size: 12px;
  color: var(--ly-gray-muted);
}

.breadcrumb__link {
  color: var(--ly-ink-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb__link:hover {
  color: var(--ly-teal);
}

.breadcrumb__item[aria-current="page"] {
  color: var(--ly-ink);
  font-weight: 600;
}

/* 12. 容器与版面
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--ly-content-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container--wide {
  max-width: calc(var(--ly-content-width) + 160px);
}

.container--narrow {
  max-width: 800px;
}

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

/* 13. 分区
   ========================================================================== */
.section {
  padding: clamp(40px, 8vw, 88px) 0;
}

.section--tinted {
  background: var(--ly-gray-light);
}

.section__head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ly-brand);
  margin-bottom: 12px;
}

.section__eyebrow::before {
  content: '';
  width: 28px;
  height: 3px;
  background: var(--ly-brand);
  border-radius: 999px;
}

.section__eyebrow::after {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--ly-teal);
  border-radius: 50%;
}

.section__title {
  font-family: var(--ly-font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 900;
  line-height: 1.25;
  margin: 0 0 12px;
}

.section__desc {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ly-ink-muted);
  margin: 0;
}

/* 14. 网格
   ========================================================================== */
.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr);
}

/* 15. 卡片
   ========================================================================== */
.card {
  background: var(--ly-white);
  border: 1px solid var(--ly-gray-muted);
  border-radius: var(--ly-radius-lg);
  padding: 32px;
  box-shadow: var(--ly-shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--ly-brand-light);
  box-shadow: var(--ly-shadow-md);
}

.card__media {
  margin: -32px -32px 24px;
  border-radius: var(--ly-radius-lg) var(--ly-radius-lg) 0 0;
  overflow: hidden;
}

.card__body {
  display: grid;
  gap: 12px;
}

.card__title {
  font-family: var(--ly-font-heading);
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.4;
  margin: 0;
}

.card__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ly-ink-muted);
  margin: 0;
}

.card .btn {
  margin-top: 4px;
  justify-self: start;
}

/* 16. 正文容器
   ========================================================================== */
.entry {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 64px) 24px;
}

.entry__title {
  font-family: var(--ly-font-heading);
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 14px;
}

.entry__lead {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--ly-ink-muted);
  margin: 0 0 32px;
}

.entry-content p {
  margin: 0 0 1.5em;
}

.entry-content h2 {
  font-family: var(--ly-font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  margin: 2.2em 0 0.8em;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ly-gray-muted);
}

.entry-content h3 {
  font-family: var(--ly-font-heading);
  font-size: 1.2rem;
  font-weight: 900;
  margin: 1.8em 0 0.6em;
}

.entry-content ul,
.entry-content ol {
  margin: 0 0 1.5em;
  padding-left: 1.4em;
}

.entry-content li {
  margin-bottom: 0.5em;
  list-style: initial;
}

.entry-content a {
  color: var(--ly-teal);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.entry-content a:hover {
  color: var(--ly-brand);
}

.entry-content blockquote {
  margin: 1.8em 0;
  padding: 20px 24px;
  border-left: 4px solid var(--ly-brand);
  background: var(--ly-gray-light);
  border-radius: 0 var(--ly-radius-md) var(--ly-radius-md) 0;
  font-size: 1.05rem;
  color: var(--ly-ink-muted);
}

/* 17. 图片框架
   ========================================================================== */
.media-frame {
  position: relative;
  border-radius: var(--ly-radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--ly-teal-light), var(--ly-gray-light));
  aspect-ratio: 16 / 10;
}

.media-frame--tall {
  aspect-ratio: 3 / 4;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 18. 徽章
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: var(--ly-radius-pill);
  background: var(--ly-teal-light);
  color: var(--ly-teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.badge--warm {
  background: var(--ly-brand-light);
  color: var(--ly-brand-dark);
}

.badge--gold {
  background: rgba(201, 160, 99, 0.16);
  color: var(--ly-bronze);
}

/* 19. 时间轴
   ========================================================================== */
.timeline {
  position: relative;
  margin: 0;
  padding: 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 6px;
  bottom: 10px;
  left: 5px;
  width: 2px;
  background: var(--ly-gray-muted);
  border-radius: 2px;
}

.timeline__item {
  position: relative;
  padding: 0 0 36px 36px;
}

.timeline__item::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ly-brand);
  box-shadow: 0 0 0 4px var(--ly-brand-light);
}

.timeline__item:last-child {
  padding-bottom: 0;
}

/* 20. 页脚
   ========================================================================== */
.site-footer {
  background: var(--ly-ink);
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: var(--ly-line-height);
  flex-shrink: 0;
}

.site-footer__inner {
  max-width: var(--ly-content-width);
  margin: 0 auto;
  padding: 48px 24px 32px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
}

.site-footer__brandBox {
  max-width: 420px;
}

.site-footer__trust {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
}

.site-footer__heading {
  margin: 0 0 16px;
  font-family: var(--ly-font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ly-brand-light);
}

.site-footer__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.site-footer__list a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer__list a:hover {
  color: var(--ly-brand-light);
  transform: translateX(3px);
}

.site-footer__contact {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.site-footer__contactItem {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 8px;
}

.site-footer__contactLabel {
  color: var(--ly-bronze);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.7;
}

.site-footer__contactValue {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer__track {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 20px;
  margin: 44px 0 24px;
  background-image: linear-gradient(90deg, var(--ly-brand) 0%, var(--ly-bronze) 50%, var(--ly-teal) 100%);
  background-size: 100% 2px;
  background-position: center;
  background-repeat: no-repeat;
}

.site-footer__trackNode {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 3px solid var(--ly-brand);
  background: var(--ly-ink);
  box-sizing: border-box;
  position: relative;
}

.site-footer__trackNode:nth-child(2) {
  border-color: var(--ly-bronze);
}

.site-footer__trackNode:nth-child(3) {
  border-color: var(--ly-teal);
}

.site-footer__trackNode:nth-child(4) {
  border-color: var(--ly-brand-light);
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.site-footer__copyright,
.site-footer__icp {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

/* 页脚品牌变体 */
.brand--footer .brand__mark {
  background: var(--ly-white);
  color: var(--ly-brand);
  box-shadow: none;
}

.brand--footer .brand__name {
  color: var(--ly-white);
}

.brand--footer .brand__suffix {
  color: var(--ly-brand-light);
}

/* 21. 工具类
   ========================================================================== */
.text-center {
  text-align: center;
}

.text-muted {
  color: var(--ly-ink-muted);
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

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

/* 22. 响应式
   ========================================================================== */
@media (min-width: 640px) {
  .grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .site-header__bar {
    min-height: var(--ly-header-h);
    padding: 8px 24px;
  }

  .site-header__track {
    display: block;
    position: relative;
    flex: 1 1 auto;
    height: 2px;
    margin: 0 18px;
    background: linear-gradient(90deg, var(--ly-brand-light) 0%, var(--ly-gray-muted) 40%, var(--ly-gray-muted) 60%, var(--ly-teal-light) 100%);
    border-radius: 2px;
  }

  .site-header__track-dot:first-child {
    left: 35%;
    background: var(--ly-brand);
  }

  .site-header__track-dot:last-child {
    left: 70%;
  }

  .site-nav {
    margin-left: auto;
  }

  .site-nav__list {
    flex-direction: row;
    gap: 2px;
  }

  .site-nav__cta {
    margin-top: 0;
    margin-left: 14px;
    width: auto;
  }

  .site-header__toggle {
    display: none;
  }

  .layout--sidebar {
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: start;
  }

  .layout--sidebar-right {
    grid-template-columns: minmax(0, 1fr) 260px;
    align-items: start;
  }

  .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .site-footer__grid {
    grid-template-columns: 2.2fr 1fr 1fr 1.4fr;
  }
}

@media (min-width: 640px) and (max-width: 959.98px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* 23. 移动端导航下拉状态
   ========================================================================== */
@media (max-width: 959.98px) {
  .site-header__bar {
    flex-wrap: wrap;
  }

  .site-header__toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-header__toggle[aria-expanded="true"] .site-header__toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header__toggle[aria-expanded="true"] .site-header__toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .site-header__toggle[aria-expanded="true"] .site-header__toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    background: var(--ly-white);
    border-top: 1px solid var(--ly-gray-light);
    box-shadow: var(--ly-shadow-lg);
    border-radius: 0 0 var(--ly-radius-lg) var(--ly-radius-lg);
  }

  .site-nav[data-open="true"] {
    display: flex;
    animation: mobileNavIn 0.3s ease;
  }

  .site-nav__link {
    padding: 12px 20px;
    font-size: 16px;
  }

  .site-nav__cta {
    margin-top: 16px;
  }
}

@keyframes mobileNavIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 24. 减少动态偏好
   ========================================================================== */
@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-track {
    display: none;
  }

  .card:hover {
    transform: none;
  }

  .btn:hover {
    transform: none;
  }
}
