/* Body */
body { padding-top: var(--nav-h); }

/* Legal Nav Bar */
.legal-bar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(12, 8, 5, 0.97);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  padding: 0 14px; gap: 10px;
  z-index: 900;
}
.legal-bar::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--pri-d), var(--acc), transparent);
  opacity: 0.55;
}
.legal-back {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--txt2); background: var(--surf2);
  border: 1px solid var(--border); flex-shrink: 0;
}
.legal-back:active { background: var(--surf3); color: var(--pri) }
.legal-bar-title {
  flex: 1; font-size: 15px; font-weight: 700; color: var(--txt);
  text-align: center; padding-right: 44px;
  font-family: 'Barlow', sans-serif;
}

/* Page Header */
.legal-page-hd {
  padding: 22px 16px 10px; text-align: center;
}
.legal-pg-icon { font-size: 36px; margin-bottom: 8px; }
.legal-pg-title {
  font-size: 22px; font-weight: 900; color: var(--txt);
  font-family: 'Barlow', sans-serif; margin-bottom: 4px;
}
.legal-pg-date { font-size: 11px; color: var(--txt3); }

/* Intro Card */
.legal-intro-sec {
  margin: 0 14px 6px;
  background: var(--surf3);
  border: 1px solid var(--border);
  border-left: 3px solid var(--pri);
  border-radius: var(--r);
  padding: 14px;
  font-size: 12px; color: var(--txt2); line-height: 1.82;
}

/* Content Sections */
.legal-sec {
  margin: 6px 14px 0;
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 14px;
  overflow: hidden;
}
.legal-sec-title {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 10px; padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.legal-sec-icon { font-size: 15px; }
.legal-sec-h2 {
  font-size: 13px; font-weight: 800; color: var(--txt);
  font-family: 'Barlow', sans-serif;
}
.legal-sec p {
  font-size: 12px; color: var(--txt2);
  line-height: 1.82; margin-bottom: 8px;
}
.legal-sec p:last-child { margin-bottom: 0 }
.legal-sec h3 {
  font-size: 11px; font-weight: 700;
  color: var(--pri); text-transform: uppercase; letter-spacing: .5px;
  margin: 10px 0 4px;
}
.legal-sec h3:first-child { margin-top: 0 }
.legal-list {
  list-style: none;
  font-size: 12px; color: var(--txt2); line-height: 1.72;
}
.legal-list li {
  padding: 5px 0 5px 16px;
  position: relative;
  border-bottom: 1px solid rgba(249,115,22,.07);
}
.legal-list li:last-child { border-bottom: none }
.legal-list li::before {
  content: '›';
  position: absolute; left: 0;
  color: var(--pri); font-size: 16px; line-height: 1.25;
}
.legal-list li strong { color: var(--txt); }
.legal-sec a {
  color: var(--acc); text-decoration: underline; text-underline-offset: 2px;
}
