/* Pakistan Premier League — Legal & Accessibility pages */
.legal-page {
  background: #090e20;
  color: var(--gb-white, #fff);
}

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(7rem, 13vw, 11rem) 0 5rem;
  border-bottom: 1px solid var(--gb-line, rgba(255,255,255,.08));
  background: linear-gradient(135deg, #090e20 0%, #0b1328 72%, #0d182b 100%);
}

.legal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .45;
  background-image: linear-gradient(rgba(183,255,60,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(183,255,60,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}

.legal-hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -220px;
  top: -260px;
  border: 1px solid rgba(183,255,60,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(183,255,60,.025), 0 0 0 110px rgba(183,255,60,.012);
}

.legal-hero .container { position: relative; z-index: 1; }

.legal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--gb-neon, #b7ff3c);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.legal-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.legal-hero h1 {
  margin: 0;
  max-width: 1200px;
  font-size: clamp(3.2rem, 8vw, 7.8rem);
  line-height: .82;
}

.legal-hero h1 span { color: var(--gb-neon, #b7ff3c); }

.legal-hero p {
  max-width: 760px;
  margin: 28px 0 0;
  color: #9ba7a2;
  font-size: 15px;
  line-height: 1.8;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 26px;
  color: #6f7c77;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.legal-content { padding: 70px 0 110px; }

.legal-layout {
  display: grid;
  grid-template-columns: minmax(190px, 260px) minmax(0, 1fr);
  gap: clamp(35px, 6vw, 90px);
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 110px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.018);
}

.legal-nav-label {
  margin-bottom: 12px;
  color: #6f7c77;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.legal-nav a {
  display: block;
  padding: 10px 0;
  color: #a8b3ae;
  border-bottom: 1px solid rgba(255,255,255,.055);
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s ease, padding-left .2s ease;
}

.legal-nav a:last-child { border-bottom: 0; }
.legal-nav a:hover,
.legal-nav a:focus-visible { color: var(--gb-neon, #b7ff3c); padding-left: 5px; }

.legal-article {
  min-width: 0;
  max-width: 900px;
}

.legal-section {
  scroll-margin-top: 100px;
  padding: 0 0 54px;
  margin: 0 0 54px;
  border-bottom: 1px solid rgba(255,255,255,.075);
}

.legal-section:last-child { margin-bottom: 0; border-bottom: 0; }

.legal-number {
  margin-bottom: 9px;
  color: var(--gb-neon, #b7ff3c);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.legal-section h2 {
  margin: 0 0 18px;
  font-size: clamp(1.8rem, 3.2vw, 3.1rem);
  line-height: .95;
}

.legal-section h3 {
  margin: 28px 0 10px;
  font-size: 1rem;
  letter-spacing: .02em;
}

.legal-section p,
.legal-section li {
  color: #9aa6a1;
  font-size: 15px;
  line-height: 1.85;
}

.legal-section ul,
.legal-section ol { padding-left: 1.2rem; margin-bottom: 0; }
.legal-section li + li { margin-top: 8px; }
.legal-section a { color: var(--gb-neon, #b7ff3c); }

.legal-callout {
  margin-top: 22px;
  padding: 20px 22px;
  border-left: 2px solid var(--gb-neon, #b7ff3c);
  background: rgba(183,255,60,.045);
}

.legal-callout p { margin: 0; }

.legal-table-wrap {
  overflow-x: auto;
  margin-top: 22px;
  border: 1px solid rgba(255,255,255,.08);
}

.legal-table {
  width: 100%;
  min-width: 650px;
  margin: 0;
  border-collapse: collapse;
}

.legal-table th,
.legal-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(255,255,255,.07);
  color: #9aa6a1;
  font-size: 14px;
  line-height: 1.65;
}

.legal-table th {
  color: #fff;
  background: rgba(255,255,255,.025);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.legal-table tr:last-child td { border-bottom: 0; }

.legal-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  margin: 4px 0 18px;
  border: 1px solid rgba(183,255,60,.2);
  background: rgba(183,255,60,.04);
  color: var(--gb-neon, #b7ff3c);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.legal-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

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

.legal-contact-card {
  padding: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.018);
}

.legal-contact-card strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.legal-contact-card span,
.legal-contact-card a {
  color: #8e9a95;
  font-size: 14px;
  line-height: 1.65;
}

.legal-footer-note {
  margin-top: 35px;
  color: #66736e;
  font-size: 12px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; }
  .legal-contact { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
  .legal-hero { padding-top: 6.5rem; }
  .legal-content { padding-top: 45px; }
  .legal-section p,
  .legal-section li { font-size: 14px; }
  .legal-nav { padding: 16px; }
}
