/* MUSICORO // LEGAL DOMAIN // V3.1 */
.legal-body {
  min-height: 100vh;
}

.legal-header .nav a[aria-current="page"] {
  color: #fff;
}

.legal-main {
  padding-bottom: 72px;
}

.legal-hero {
  width: var(--shell);
  margin: 0 auto;
  padding: 78px 0 52px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .46fr);
  gap: 56px;
  align-items: end;
}

.legal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #a99bac;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.legal-kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--crimson-hot), transparent);
  box-shadow: 0 0 18px rgba(216,46,73,.52);
}

.legal-hero h1 {
  margin: 20px 0 0;
  max-width: 860px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 8vw, 7.8rem);
  font-weight: 400;
  line-height: .88;
  letter-spacing: -.06em;
}

.legal-hero h1 span {
  color: #a89cae;
}

.legal-intro {
  max-width: 760px;
  margin: 28px 0 0;
  color: #b8acba;
  font-size: 16px;
  line-height: 1.85;
}

.legal-stamp {
  position: relative;
  min-height: 238px;
  padding: 30px;
  border: 1px solid rgba(216,46,73,.2);
  border-radius: 24px;
  background:
    linear-gradient(155deg, rgba(216,46,73,.075), transparent 52%),
    rgba(15,10,19,.7);
  box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.04);
  overflow: hidden;
}

.legal-stamp::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -45px;
  bottom: -52px;
  border: 1px solid rgba(127,60,255,.16);
  border-radius: 50%;
  box-shadow: 0 0 60px rgba(127,60,255,.1);
}

.legal-stamp img {
  width: 52px;
  height: 52px;
  display: block;
  border-radius: 50%;
  border: 1px solid rgba(216,46,73,.42);
}

.legal-stamp-label {
  margin-top: 20px;
  color: var(--crimson-hot);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.legal-stamp strong {
  display: block;
  margin-top: 7px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 400;
}

.legal-stamp p {
  margin: 10px 0 0;
  color: #918594;
  font-size: 11px;
  line-height: 1.7;
}

.legal-layout {
  width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 58px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(15,10,19,.68);
  backdrop-filter: blur(18px);
}

.legal-toc > span {
  display: block;
  margin-bottom: 14px;
  color: #7e7181;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.legal-toc a {
  display: block;
  padding: 8px 0;
  color: #aaa0ad;
  font-size: 11px;
  line-height: 1.4;
  transition: color .2s ease, transform .2s ease;
}

.legal-toc a:hover {
  color: #fff;
  transform: translateX(3px);
}

.legal-document {
  min-width: 0;
}

.legal-callout {
  margin-bottom: 32px;
  padding: 24px 26px;
  border: 1px solid rgba(127,60,255,.2);
  border-left: 2px solid var(--crimson);
  border-radius: 0 18px 18px 0;
  background: linear-gradient(90deg, rgba(216,46,73,.045), rgba(127,60,255,.035));
}

.legal-callout strong {
  display: block;
  color: #efe9f2;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.legal-callout p {
  margin: 8px 0 0;
  color: #a99dac;
  font-size: 13px;
  line-height: 1.75;
}

.legal-section {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 24px;
}

.legal-section:first-of-type {
  border-top: 0;
}

.legal-index {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--crimson-hot);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.legal-index::after {
  content: "";
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, rgba(216,46,73,.7), transparent);
}

.legal-section h2 {
  margin: 12px 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.3vw, 3.15rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.035em;
}

.legal-section h3 {
  margin: 28px 0 10px;
  color: #ede7ef;
  font-size: 13px;
  letter-spacing: .04em;
}

.legal-section p,
.legal-section li {
  color: #aaa0ad;
  font-size: 14px;
  line-height: 1.85;
}

.legal-section p {
  margin: 0 0 16px;
}

.legal-section ul,
.legal-section ol {
  margin: 14px 0 20px;
  padding-left: 22px;
}

.legal-section li + li {
  margin-top: 9px;
}

.legal-section strong {
  color: #e9e2ec;
}

.legal-section a,
.legal-contact a {
  color: #ff6078;
  text-decoration: underline;
  text-decoration-color: rgba(255,96,120,.28);
  text-underline-offset: 3px;
}

.legal-section a:hover,
.legal-contact a:hover {
  text-decoration-color: currentColor;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
  margin: 22px 0;
}

.legal-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.022);
}

.legal-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--crimson-hot);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.legal-card strong {
  display: block;
  font-size: 12px;
  line-height: 1.5;
}

.legal-card p {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.7;
}

.legal-contact {
  margin-top: 22px;
  padding: 24px;
  border: 1px solid rgba(216,46,73,.22);
  border-radius: 18px;
  background: rgba(216,46,73,.04);
}

.legal-contact strong {
  display: block;
  margin-bottom: 7px;
  color: #f0e9f1;
  font-size: 13px;
}

.legal-contact p {
  margin: 0;
}

.legal-footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  grid-column: 1 / -1;
  margin-top: -2px;
  color: #817485;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.legal-footer-links a:hover {
  color: #fff;
}

.legal-version {
  color: #6d626f;
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .legal-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 44px;
  }

  .legal-stamp {
    min-height: 0;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .legal-toc {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 0 18px;
  }

  .legal-toc > span {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .legal-hero {
    padding-top: 28px;
  }

  .legal-hero h1 {
    font-size: clamp(3.3rem, 17vw, 5rem);
  }

  .legal-grid,
  .legal-toc {
    grid-template-columns: 1fr;
  }

  .legal-section {
    padding: 34px 0;
  }

  .legal-section p,
  .legal-section li {
    font-size: 13px;
  }

  .legal-footer-links {
    flex-wrap: wrap;
    gap: 12px 16px;
  }
}
