/* ============================================================
   falv-gongtong.css — 法律页面共享样式
   隐私政策 / 服务条款（含动态与 3D 装饰）
   ============================================================ */

.legal-page {
  padding-top: 80px;
  overflow-x: clip;
  --legal-tilt-x: 0deg;
  --legal-tilt-y: 0deg;
}

/* —— Hero：渐变光晕 + 3D 装置 —— */
.legal-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 0 56px;
  margin-bottom: 8px;
}

.legal-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* 细网格呼吸 */
.legal-hero-bg::before {
  content: "";
  position: absolute;
  inset: -40%;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: legal-grid-pan 22s linear infinite;
  opacity: 0.7;
}

@keyframes legal-grid-pan {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-48px, -48px) rotate(0deg); }
}

/* 漂浮粒子层（节点由 JS 注入） */
.legal-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.legal-particle {
  position: absolute;
  left: var(--px, 50%);
  top: var(--py, 50%);
  width: var(--psz, 5px);
  height: var(--psz, 5px);
  margin-left: calc(var(--psz, 5px) / -2);
  margin-top: calc(var(--psz, 5px) / -2);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.9) 0%, rgba(99, 102, 241, 0.2) 60%, transparent 70%);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.35);
  animation: legal-particle-float var(--pdur, 20s) ease-in-out infinite;
  animation-delay: var(--pdelay, 0s);
  opacity: 0.55;
  will-change: transform, opacity;
}

@keyframes legal-particle-float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.35;
  }
  25% {
    transform: translate(8px, -24px) scale(1.1);
    opacity: 0.85;
  }
  50% {
    transform: translate(-12px, -40px) scale(0.95);
    opacity: 0.5;
  }
  75% {
    transform: translate(14px, -16px) scale(1.05);
    opacity: 0.75;
  }
}

.legal-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.45;
  animation: legal-orb-drift 18s ease-in-out infinite;
}

.legal-orb--a {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.7) 0%, transparent 70%);
  top: -120px;
  right: 10%;
  animation-delay: 0s;
}

.legal-orb--b {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.55) 0%, transparent 70%);
  bottom: -80px;
  left: 5%;
  animation-delay: -6s;
}

.legal-orb--c {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.4) 0%, transparent 70%);
  top: 40%;
  left: 40%;
  animation-delay: -12s;
}

@keyframes legal-orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.08); }
  66% { transform: translate(-24px, 16px) scale(0.95); }
}

.legal-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  animation: legal-hero-inner-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes legal-hero-inner-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.legal-hero-copy .legal-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  animation: legal-eyebrow-pulse 3.2s ease-in-out infinite;
}

@keyframes legal-eyebrow-pulse {
  0%, 100% { opacity: 1; filter: brightness(1); }
  50% { opacity: 0.82; filter: brightness(1.08); }
}

.legal-hero-copy h1 {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 12px;
  background: linear-gradient(
    110deg,
    #0f172a 0%,
    #334155 18%,
    #6366f1 38%,
    #0ea5e9 52%,
    #818cf8 68%,
    #0f172a 88%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: legal-title-shimmer 9s ease-in-out infinite;
}

@keyframes legal-title-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.legal-hero-copy .legal-hero-lead {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 520px;
  margin: 0;
}

/* 3D 场景：自转 + 鼠标视差（由父级 --legal-tilt 叠加） */
.legal-scene-3d {
  perspective: 900px;
  perspective-origin: 50% 40%;
  width: 200px;
  height: 200px;
  flex-shrink: 0;
  transform: rotateX(var(--legal-tilt-x, 0deg)) rotateY(var(--legal-tilt-y, 0deg));
  transition: transform 0.2s ease-out;
  will-change: transform;
}

.legal-device-3d {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: legal-device-spin 12s ease-in-out infinite;
}

.legal-device-3d::before,
.legal-device-3d::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* 正面 */
.legal-device-3d::before {
  z-index: 0;
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 50%, #312e81 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 24px 48px rgba(15, 23, 42, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateZ(24px);
}

/* 背面 */
.legal-device-3d::after {
  z-index: -1;
  background: linear-gradient(145deg, #334155 0%, #1e293b 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transform: rotateY(180deg) translateZ(24px);
}

.legal-device-3d .legal-device-glow {
  position: absolute;
  inset: 12px;
  z-index: 2;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, transparent 55%, rgba(14, 165, 233, 0.2) 100%);
  transform: translateZ(28px);
  animation: legal-glow-pulse 4s ease-in-out infinite;
  pointer-events: none;
}

.legal-device-3d .legal-device-label {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  transform: translate(-50%, -50%) translateZ(32px);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 2px 12px rgba(99, 102, 241, 0.5);
  pointer-events: none;
  white-space: nowrap;
}

@keyframes legal-device-spin {
  0%, 100% { transform: rotateX(12deg) rotateY(-18deg); }
  50% { transform: rotateX(-8deg) rotateY(18deg); }
}

@keyframes legal-glow-pulse {
  0%, 100% { opacity: 0.7; filter: brightness(1); }
  50% { opacity: 1; filter: brightness(1.15); }
}

/* —— 正文布局 —— */
.legal-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  padding: 24px 0 100px;
  align-items: flex-start;
}

.legal-toc {
  position: sticky;
  top: 100px;
  padding: 20px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.legal-toc:hover {
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: 0 16px 48px rgba(99, 102, 241, 0.08);
}

.legal-toc h4 {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 14px;
}

.legal-toc a {
  display: block;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 0 6px 12px;
  border-radius: 8px;
  margin: 0 -6px;
  position: relative;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.legal-toc a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 0;
  margin-top: 0;
  border-radius: 2px;
  background: linear-gradient(180deg, #6366f1, #0ea5e9);
  transform: translateY(-50%);
  transition: height 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
  opacity: 0;
}

.legal-toc a:hover {
  color: var(--accent);
  background: rgba(99, 102, 241, 0.06);
  transform: translateX(4px);
}

.legal-toc a:hover::before {
  height: 60%;
  opacity: 0.85;
}

.legal-toc a.is-active {
  color: var(--accent);
  font-weight: 700;
  background: rgba(99, 102, 241, 0.1);
  transform: translateX(2px);
}

.legal-toc a.is-active::before {
  height: 70%;
  opacity: 1;
}

.legal-body {
  position: relative;
}

.legal-body .legal-date {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 100px;
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.12);
  animation: legal-date-pop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both;
}

.legal-body .legal-date::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
  animation: legal-date-dot 2s ease-in-out infinite;
}

@keyframes legal-date-pop {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes legal-date-dot {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.35);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    transform: scale(1.05);
  }
}

.legal-body h2 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 14px;
  scroll-margin-top: 96px;
  position: relative;
  padding-bottom: 6px;
}

.legal-body h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, #6366f1, #38bdf8);
  transition: width 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.legal-block.is-visible h2::after {
  width: 48px;
}

.legal-body p {
  font-size: 15px;
  color: #334155;
  line-height: 1.75;
  margin-bottom: 14px;
}

.legal-body ul {
  padding-left: 22px;
  margin-bottom: 14px;
}

.legal-body ul li {
  font-size: 15px;
  color: #334155;
  line-height: 1.75;
  margin-bottom: 8px;
}

.legal-callout {
  position: relative;
  border-radius: 14px;
  padding: 16px 18px;
  margin: 20px 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(14, 165, 233, 0.06) 100%);
  border: 1px solid rgba(99, 102, 241, 0.18);
  font-size: 14px;
  line-height: 1.65;
  color: #475569;
  overflow: hidden;
  animation: legal-callout-breathe 4.5s ease-in-out infinite;
}

.legal-callout::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(99, 102, 241, 0.07) 25%,
    rgba(14, 165, 233, 0.1) 50%,
    rgba(168, 85, 247, 0.06) 75%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: legal-callout-sheen 6s ease-in-out infinite;
  pointer-events: none;
}

.legal-callout > * {
  position: relative;
  z-index: 1;
}

@keyframes legal-callout-breathe {
  0%, 100% {
    box-shadow: 0 4px 24px -8px rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.18);
  }
  50% {
    box-shadow: 0 12px 40px -10px rgba(99, 102, 241, 0.22), 0 0 0 1px rgba(14, 165, 233, 0.12);
    border-color: rgba(99, 102, 241, 0.28);
  }
}

@keyframes legal-callout-sheen {
  0%, 100% { background-position: 0% 50%; opacity: 0.65; }
  50% { background-position: 100% 50%; opacity: 1; }
}

/* 滚动显现 + 交错延迟（--legal-stagger 由 JS 设置） */
.legal-block {
  margin-bottom: 8px;
  padding-bottom: 8px;
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  filter: blur(4px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.55s ease;
  transition-delay: var(--legal-stagger, 0ms);
}

.legal-block.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@media (max-width: 900px) {
  .legal-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .legal-hero-copy .legal-hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .legal-scene-3d {
    width: 160px;
    height: 160px;
  }
}

@media (max-width: 768px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    display: none;
  }

  .legal-hero {
    min-height: 220px;
    padding: 32px 0 40px;
  }
}

/* ---- 法律中心：Tab + 要点卡片 + 手风琴（无侧栏目录）---- */
.legal-page--hub .container.legal-hub-wrap {
  max-width: 800px;
}

.legal-hero--hub .legal-hero-inner {
  max-width: 900px;
}

.legal-hub-tabs {
  display: flex;
  gap: 10px;
  margin: 0 0 28px;
  flex-wrap: wrap;
}

.legal-hub-tab {
  flex: 1;
  min-width: 140px;
  padding: 14px 20px;
  border-radius: 14px;
  border: 1.5px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  font-weight: 800;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.legal-hub-tab:hover {
  color: var(--accent);
  border-color: rgba(99, 102, 241, 0.35);
  background: rgba(255, 255, 255, 0.95);
}

.legal-hub-tab[aria-selected="true"],
.legal-hub-tab.is-active {
  color: var(--accent);
  border-color: rgba(99, 102, 241, 0.45);
  background: rgba(99, 102, 241, 0.1);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.12);
}

.legal-hub-panel[hidden] {
  display: none !important;
}

.legal-hub-body .legal-date {
  margin-bottom: 22px;
}

.legal-hub-intro {
  margin-bottom: 22px;
}

.legal-hub-intro p {
  font-size: 15px;
  color: #334155;
  line-height: 1.75;
  margin-bottom: 14px;
}

.legal-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .legal-summary-grid {
    grid-template-columns: 1fr;
  }
}

.legal-summary-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(14, 165, 233, 0.05) 100%);
  border: 1px solid rgba(99, 102, 241, 0.14);
}

.legal-summary-ico {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}

.legal-summary-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.legal-summary-body strong {
  font-size: 14px;
  font-weight: 800;
  color: var(--dark);
}

.legal-summary-body span {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  font-weight: 600;
}

.legal-hub-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.legal-hub-toolbtn {
  border-radius: 12px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
}

.legal-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-acc-item {
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  scroll-margin-top: 96px;
}

.legal-acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  color: var(--dark);
  transition: background 0.2s ease;
}

.legal-acc-trigger:hover {
  background: rgba(99, 102, 241, 0.05);
}

.legal-acc-title {
  flex: 1;
  line-height: 1.35;
}

.legal-acc-icon {
  flex-shrink: 0;
  font-size: 10px;
  color: var(--accent);
  transition: transform 0.25s ease;
}

.legal-acc-item.is-open .legal-acc-icon {
  transform: rotate(-180deg);
}

.legal-acc-panel[hidden] {
  display: none !important;
}

.legal-acc-panel-inner {
  padding: 0 18px 18px;
  border-top: 1px solid rgba(241, 245, 249, 0.9);
}

.legal-acc-panel-inner p {
  font-size: 15px;
  color: #334155;
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-acc-panel-inner ul {
  padding-left: 22px;
  margin-bottom: 12px;
}

.legal-acc-panel-inner li {
  font-size: 15px;
  color: #334155;
  line-height: 1.75;
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .legal-page--hub .legal-hub-tab {
    min-width: calc(50% - 5px);
    flex: 1 1 40%;
  }
}

/* ---- 法律中心：Tab / 面板切换 / 手风琴 动效 ---- */
@media (prefers-reduced-motion: no-preference) {
  .legal-page--hub:not(.legal-motion-on) .legal-hub-tab {
    opacity: 0;
    transform: translateY(12px);
  }

  .legal-page--hub.legal-motion-on .legal-hub-tab {
    animation: legal-hub-tab-in 0.58s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  .legal-page--hub.legal-motion-on .legal-hub-tab:nth-child(2) {
    animation-delay: 0.09s;
  }

  @keyframes legal-hub-tab-in {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes legal-hub-panel-in {
    from {
      opacity: 0;
      transform: translateY(20px);
      filter: blur(5px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
      filter: blur(0);
    }
  }

  .legal-hub-panel--in {
    animation: legal-hub-panel-in 0.56s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .legal-page--hub .legal-acc-item {
    opacity: 0;
    transform: translateY(18px);
    transition:
      opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.3s ease,
      border-color 0.3s ease;
  }

  .legal-page--hub .legal-acc-item.legal-acc-revealed {
    opacity: 1;
    transform: translateY(0);
  }

  .legal-accordion .legal-acc-item:nth-child(1) {
    transition-delay: 0ms;
  }
  .legal-accordion .legal-acc-item:nth-child(2) {
    transition-delay: 0.04s;
  }
  .legal-accordion .legal-acc-item:nth-child(3) {
    transition-delay: 0.08s;
  }
  .legal-accordion .legal-acc-item:nth-child(4) {
    transition-delay: 0.12s;
  }
  .legal-accordion .legal-acc-item:nth-child(5) {
    transition-delay: 0.16s;
  }
  .legal-accordion .legal-acc-item:nth-child(6) {
    transition-delay: 0.2s;
  }
  .legal-accordion .legal-acc-item:nth-child(7) {
    transition-delay: 0.24s;
  }
  .legal-accordion .legal-acc-item:nth-child(8) {
    transition-delay: 0.28s;
  }
  .legal-accordion .legal-acc-item:nth-child(9) {
    transition-delay: 0.32s;
  }
  .legal-accordion .legal-acc-item:nth-child(10) {
    transition-delay: 0.36s;
  }
  .legal-accordion .legal-acc-item:nth-child(11) {
    transition-delay: 0.4s;
  }
  .legal-accordion .legal-acc-item:nth-child(12) {
    transition-delay: 0.44s;
  }
  .legal-accordion .legal-acc-item:nth-child(13) {
    transition-delay: 0.48s;
  }
  .legal-accordion .legal-acc-item:nth-child(14) {
    transition-delay: 0.52s;
  }
  .legal-accordion .legal-acc-item:nth-child(15) {
    transition-delay: 0.56s;
  }

  .legal-acc-item.is-open .legal-acc-panel-inner {
    animation: legal-acc-body-in 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }

  @keyframes legal-acc-body-in {
    from {
      opacity: 0;
      transform: translateY(-6px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (hover: hover) and (pointer: fine) {
  .legal-summary-card {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
  }

  .legal-summary-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(99, 102, 241, 0.14);
  }

  .legal-acc-item:hover {
    border-color: rgba(99, 102, 241, 0.22);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
  }
}

@media (prefers-reduced-motion: reduce) {
  .legal-acc-icon {
    transition: none;
  }

  .legal-hero-bg::before,
  .legal-orb,
  .legal-particle,
  .legal-device-3d,
  .legal-device-3d .legal-device-glow,
  .legal-hero-copy .legal-hero-eyebrow,
  .legal-hero-copy h1,
  .legal-body .legal-date::before,
  .legal-callout,
  .legal-callout::before {
    animation: none !important;
  }

  .legal-hero-inner {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .legal-hero-copy h1 {
    background: linear-gradient(135deg, #0f172a 0%, #334155 45%, #6366f1 100%);
    background-size: 100% auto;
  }

  .legal-device-3d {
    transform: rotateX(8deg) rotateY(-12deg);
  }

  .legal-scene-3d {
    transform: none;
    transition: none;
  }

  .legal-body .legal-date {
    animation: none;
  }

  .legal-block {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .legal-block h2::after {
    width: 48px;
    transition: none;
  }

  .legal-toc a {
    transition: none;
  }

  .legal-toc a:hover,
  .legal-toc a.is-active {
    transform: none;
  }

  .legal-page--hub .legal-hub-tab {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .legal-hub-panel--in {
    animation: none !important;
  }

  .legal-page--hub .legal-acc-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .legal-acc-item.is-open .legal-acc-panel-inner {
    animation: none !important;
  }

  .legal-summary-card {
    transition: none !important;
  }

  .legal-acc-item:hover {
    transform: none !important;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04) !important;
  }
}
