/* Shared legal-page overrides for OramaX365 policy pages. */
:root {
  --ox-accent:   #8B5CF6;
  --ox-accent-2: #6366F1;
  --ox-bg:       #0A0A14;
  --ox-surface:  rgba(17, 19, 42, 0.72);
  --ox-surface-strong: rgba(22, 28, 58, 0.86);
  --ox-border:   rgba(139, 92, 246, 0.3);
  --ox-text:     #FFFFFF;
  --ox-muted:    #C2C2D6;
}

body.site-refresh {
  background:
    radial-gradient(1000px 380px at 8% -5%, rgba(139, 92, 246, 0.14), transparent 62%),
    radial-gradient(900px 360px at 100% 0%,  rgba(99, 102, 241, 0.16), transparent 62%),
    linear-gradient(180deg, #0A0A14 0%, #07070f 100%) !important;
}

body.site-refresh .footer-legal-shell {
  background:
    radial-gradient(820px 260px at 15% 0%, rgba(139,92,246,0.12), transparent 58%),
    radial-gradient(760px 320px at 100% 8%, rgba(99,102,241,0.14), transparent 62%),
    linear-gradient(180deg, rgba(10,10,20,0.98), #04050f 100%) !important;
}

body.site-refresh .footer-legal-shell::before {
  background: linear-gradient(90deg, transparent, rgba(139,92,246,0.6), rgba(250,204,21,0.35), transparent) !important;
}

body.site-refresh .footer-legal-card {
  border: 1px solid rgba(139,92,246,0.15) !important;
  background: radial-gradient(circle at top left, rgba(139,92,246,0.07), transparent 34%),
              linear-gradient(170deg, rgba(17,19,42,0.9), rgba(10,10,20,0.92)) !important;
}

body.site-refresh .footer-legal-link {
  border: 1px solid rgba(139,92,246,0.22) !important;
  background: linear-gradient(135deg, rgba(139,92,246,0.1), rgba(99,102,241,0.08)), rgba(10,10,20,0.7) !important;
  color: rgba(255,255,255,0.9) !important;
}

body.site-refresh .footer-legal-link:hover {
  border-color: rgba(250,204,21,0.4) !important;
  color: #FACC15 !important;
}

body.site-refresh .footer-legal-copy a { color: #FACC15 !important; }
body.site-refresh .footer-legal-logo { mix-blend-mode: screen !important; filter: drop-shadow(0 10px 22px rgba(139,92,246,0.2)) !important; }
body.site-refresh .footer-legal-copy + .footer-legal-copy { border-top-color: rgba(139,92,246,0.12) !important; }
body.site-refresh .footer-legal-bottom { border-top-color: rgba(139,92,246,0.1) !important; }

/* Shared header for the concise legal pages. */
body.site-refresh .policy-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,20,0.94);
  border-bottom: 1px solid rgba(139,92,246,0.16);
  backdrop-filter: blur(14px);
}
body.site-refresh .policy-header-inner {
  max-width: 960px;
  min-height: 58px;
  margin: 0 auto;
  padding: 0 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
body.site-refresh .policy-header-logo img { display:block; width:auto; height:34px; mix-blend-mode:screen; }
body.site-refresh .policy-back-btn {
  color: rgba(255,255,255,0.86);
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  padding: 8px 14px;
  border: 1px solid rgba(139,92,246,0.28);
  border-radius: 10px;
  background: rgba(139,92,246,0.08);
}
body.site-refresh .policy-back-btn:hover { color:#fff; border-color:rgba(250,204,21,0.4); }

.sticky-back {
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 100px;
  border: 1px solid rgba(139, 92, 246, 0.35);
  background: rgba(10, 10, 20, 0.85);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4), 0 0 0 1px rgba(139,92,246,0.1) inset;
  transition: border-color .2s, color .2s, box-shadow .2s, transform .2s;
}

.sticky-back:hover {
  border-color: rgba(250, 204, 21, 0.5);
  color: #FACC15;
  box-shadow: 0 6px 24px rgba(0,0,0,0.5), 0 0 14px rgba(250,204,21,0.12);
  transform: translateX(-2px);
}

.sticky-back::before { content: "←"; font-size: 1rem; }

body.site-refresh .policy-back { display: none !important; }
body.site-refresh .policy-back:hover { border-color: rgba(250,204,21,0.4) !important; }
