﻿.legal-standalone {
  min-height: 100vh;
  background: #05021c;
  color: #fff;
  overflow-x: hidden;
}

.legal-standalone .bg-block {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.legal-standalone .bg-video,
.legal-standalone .bg-smoke {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.legal-standalone .bg-video {
  opacity: 0.52;
}

.legal-standalone .bg-smoke {
  opacity: 0.5;
  mix-blend-mode: screen;
  filter: contrast(1.5);
  z-index: 3;
}

.legal-standalone .bg-overlay,
.legal-standalone .bg-gradient {
  position: absolute;
  inset: 0;
}

.legal-standalone .bg-gradient {
  background: linear-gradient(
    180deg,
    rgba(5, 2, 28, 0.16) 0%,
    rgba(5, 2, 28, 0.62) 45%,
    #05021c 100%
  );
}

.legal-standalone::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, rgba(126, 89, 255, 0.12), transparent 38%);
  pointer-events: none;
  z-index: -1;
}

.legal-standalone .tiled-overlay {
  width: 100%;
  height: 100%;
  display: block;
}

.legal-standalone .legal-modal {
  display: none;
}

.legal-standalone .audio-control {
  display: flex;
}

.legal-page-frame {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-page-shell {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100vw - 48px));
  margin: 0 auto;
  padding: clamp(132px, 15vw, 176px) 0 88px;
  flex: 1 0 auto;
}

.legal-page-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.legal-page-home {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(0.8rem);
  backdrop-filter: blur(0.8rem);
  font-family: "Big Shoulders Display", sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.legal-page-home:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
}

.legal-page-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.76);
  font-family: "Open Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.legal-page-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(12, 8, 40, 0.84) 0%, rgba(7, 4, 28, 0.94) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  padding: clamp(24px, 4vw, 40px) clamp(20px, 5vw, 56px) clamp(32px, 5vw, 48px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  -webkit-backdrop-filter: blur(1rem);
  backdrop-filter: blur(1rem);
}

.legal-page-card .policy-text,
.legal-page-card .policy-section,
.legal-page-card .subsection,
.legal-page-card .letter-list {
  width: 100%;
  max-width: none;
}

.legal-page-card .policy-title {
  margin: 0 0 14px;
  text-align: left;
  font-family: "Big Shoulders Display", sans-serif;
  font-size: clamp(46px, 7vw, 72px);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.legal-page-card .policy-intro,
.legal-page-card p,
.legal-page-card li {
  color: rgba(255, 255, 255, 0.84);
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

.legal-page-card .policy-intro {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.92);
}

.legal-page-card .policy-section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-page-card .policy-section:first-of-type {
  margin-top: 18px;
}

.legal-page-card h2,
.legal-page-card h3 {
  color: #fff;
  font-family: "Big Shoulders Display", sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal-page-card h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.05;
}

.legal-page-card h3 {
  margin: 0 0 10px;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.1;
}

.legal-page-card .subsection {
  margin-top: 20px;
  padding-left: 0;
}

.legal-page-card .letter-list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.legal-page-card {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-underline-offset: 3px;
}

.legal-page-card {
  text-decoration-color: #fff;
}

.legal-page-card .details-intro {
  color: rgba(255, 255, 255, 0.72);
}

.legal-page-card .policy-section:last-child {
  padding-bottom: 0;
}

@media (max-width: 920px) {
  .legal-page-shell {
    width: calc(100vw - 20px);
    padding: 104px 0 40px;
  }

  .legal-page-top {
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
  }

  .legal-page-home {
    font-size: 18px;
    padding: 10px 14px;
  }

  .legal-page-card {
    border-radius: 24px;
    padding: 20px 16px 24px;
  }

  .legal-page-card .policy-title {
    font-size: 40px;
  }

  .legal-page-card .policy-intro,
  .legal-page-card p,
  .legal-page-card li {
    font-size: 15px;
    line-height: 1.7;
  }

  .legal-page-card .policy-section {
    margin-top: 22px;
    padding-top: 22px;
  }
}
