html,
.mpq-legal-body {
  background:
    radial-gradient(circle at top right, rgba(134, 197, 174, 0.18), transparent 28%),
    radial-gradient(circle at bottom left, rgba(134, 197, 174, 0.12), transparent 24%),
    #0f172a !important;
  color: #f8fafc;
}

body.mpq-legal-body,
body.mpq-legal-body.site-main {
  background:
    radial-gradient(circle at top right, rgba(134, 197, 174, 0.18), transparent 28%),
    radial-gradient(circle at bottom left, rgba(134, 197, 174, 0.12), transparent 24%),
    #0f172a !important;
}

.mpq-legal-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.mpq-legal-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(134, 197, 174, 0.08) 1px, transparent 0);
  background-size: 28px 28px;
  opacity: 0.5;
}

.mpq-legal-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(15, 23, 42, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mpq-legal-header-inner,
.mpq-legal-content,
.mpq-legal-footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.mpq-legal-header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.mpq-legal-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #ffffff;
}

.mpq-legal-logo img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.mpq-legal-logo-text {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mpq-legal-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mpq-legal-hero {
  position: relative;
  z-index: 1;
  padding: 76px 0 28px;
}

.mpq-legal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 10px 16px;
  border: 1px solid rgba(134, 197, 174, 0.22);
  border-radius: 999px;
  background: rgba(134, 197, 174, 0.08);
  color: #86c5ae;
  font-size: 14px;
  font-weight: 600;
}

.mpq-legal-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
}

.mpq-legal-title {
  margin: 0;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.04;
  color: #ffffff;
}

.mpq-legal-lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(248, 250, 252, 0.72);
  font-size: 17px;
  line-height: 1.7;
}

.mpq-legal-main {
  position: relative;
  z-index: 1;
  padding: 18px 0 92px;
}

.mpq-legal-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: rgba(17, 24, 39, 0.72);
  box-shadow: 0 28px 90px rgba(2, 6, 23, 0.34);
  backdrop-filter: blur(20px);
}

.mpq-legal-embed {
  min-height: 360px;
}

.mpq-legal-frame {
  display: block;
  width: 100%;
  min-height: 75vh;
  border: 0;
  border-radius: 18px;
  background: #ffffff;
}

.mpq-legal-embed a {
  color: #86c5ae;
}

.mpq-legal-footer {
  position: relative;
  z-index: 1;
  padding: 0 0 36px;
}

.mpq-legal-footer-panel {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: rgba(17, 24, 39, 0.74);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.mpq-legal-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mpq-legal-footer-brand a {
  width: fit-content;
}

.mpq-legal-footer-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.mpq-legal-footer-brand p,
.mpq-legal-footer-nav a,
.mpq-legal-footer-copy {
  color: rgba(248, 250, 252, 0.72);
}

.mpq-legal-footer-nav h4 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 18px;
}

.mpq-legal-footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mpq-legal-footer-nav a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.mpq-legal-footer-nav a:hover,
.mpq-legal-footer-brand a:hover,
.mpq-legal-embed a:hover {
  color: #ffffff;
}

.mpq-legal-footer-copy {
  margin-top: 20px;
  text-align: center;
  font-size: 13px;
}

@media (max-width: 900px) {
  .mpq-legal-footer-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .mpq-legal-header-inner {
    min-height: 76px;
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
  }

  .mpq-legal-header-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .mpq-legal-logo-text {
    font-size: 25px;
  }

  .mpq-legal-card,
  .mpq-legal-footer-panel {
    padding: 22px;
    border-radius: 22px;
  }
}
