/* FF Lover — Legal Pages Shared Styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0d1d31;
  --bg2: #132742;
  --accent: #2a99ff;
  --text: #f0f8ff;
  --muted: rgba(220,240,255,.55);
  --border: rgba(173,213,255,.14);
  --card: rgba(255,255,255,.04);
}

html, body {
  background: linear-gradient(160deg, #0d1d31 0%, #132742 55%, #0e1c30 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
  min-height: 100%;
}

body {
  min-height: 100vh;
  padding: 0 0 60px;
}

/* Fixed top bar */
.legal-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(11,28,50,.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.05);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all .15s;
  -webkit-tap-highlight-color: transparent;
}
.legal-back:hover { background: rgba(255,255,255,.1); color: var(--text); }
.legal-topbar-brand {
  font-size: 14px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: .04em;
  flex: 1;
}
.legal-last-updated {
  font-size: 11px;
  color: var(--muted);
}

/* Content wrapper */
.legal-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

/* Page title */
.legal-hero {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.legal-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(42,153,255,.1);
  border: 1px solid rgba(42,153,255,.25);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.legal-page-title {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -.04em;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 10px;
}
.legal-intro {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 600px;
}

/* Sections */
.legal-section {
  margin-bottom: 36px;
}
.legal-section-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.legal-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.legal-section h3 {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin: 20px 0 8px;
  letter-spacing: -.01em;
}
.legal-section p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.7;
}
.legal-section ul, .legal-section ol {
  margin: 8px 0 14px 20px;
}
.legal-section li {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 6px;
  line-height: 1.6;
}
.legal-section strong {
  color: rgba(220,240,255,.85);
  font-weight: 700;
}
.legal-section a {
  color: var(--accent);
  text-decoration: none;
}
.legal-section a:hover { text-decoration: underline; }

/* Info card (for imprint details) */
.legal-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
}
.legal-card-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.legal-card-value {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
}
.legal-card-value a {
  color: var(--accent);
  text-decoration: none;
}

/* Highlight box */
.legal-highlight {
  background: rgba(42,153,255,.07);
  border: 1px solid rgba(42,153,255,.2);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 14px 0;
  font-size: 13px;
  color: rgba(200,228,255,.8);
  line-height: 1.65;
}
.legal-highlight strong { color: #fff; }

/* Warning box */
.legal-warn {
  background: rgba(245,158,11,.07);
  border: 1px solid rgba(245,158,11,.22);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 14px 0;
  font-size: 13px;
  color: rgba(253,230,138,.82);
  line-height: 1.65;
}

/* Footer nav between legal pages */
.legal-footnav {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.legal-footnav a {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
  transition: color .15s;
}
.legal-footnav a:hover { color: var(--accent); }

/* Company badge */
.legal-company {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 24px;
}
.legal-company-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(42,153,255,.12);
  border: 1px solid rgba(42,153,255,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.legal-company-name {
  font-size: 15px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 3px;
}
.legal-company-detail {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .legal-wrap { padding: 28px 16px 48px; }
  .legal-page-title { font-size: 1.6rem; }
}
