.legal-page-shell {
  position: relative;
  overflow: hidden;
}

.legal-hero-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(191, 219, 254, .82);
  border-radius: 2.5rem;
  background:
    radial-gradient(circle at 12% 12%, rgba(96,165,250,.24), transparent 28%),
    radial-gradient(circle at 88% 78%, rgba(99,102,241,.16), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,.88), rgba(239,246,255,.64));
  box-shadow: 0 28px 80px rgba(44, 129, 248, 0.11);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.legal-content {
  display: grid;
  gap: 1rem;
}

.legal-section {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(191,219,254,.82);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 12% 0%, rgba(96,165,250,.12), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,.88), rgba(239,246,255,.58));
  padding: 1.5rem;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.legal-section h2 {
  font-family: Sora, Inter, system-ui, sans-serif;
  color: #0F172A;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0;
}

.legal-section h3 {
  margin-top: 1.25rem;
  color: #0F172A;
  font-size: 1rem;
  font-weight: 900;
}

.legal-section p,
.legal-section li {
  color: #475569;
  font-size: 1rem;
  line-height: 1.75;
}

.legal-section p {
  margin-top: .85rem;
}

.legal-section ul {
  display: grid;
  gap: .55rem;
  margin-top: .9rem;
  padding-left: 1.25rem;
  list-style: disc;
}

.legal-section strong {
  color: #0F172A;
  font-weight: 800;
}

.legal-section a {
  color: #2c81f8;
  font-weight: 800;
  text-decoration: none;
}

.legal-section a:hover {
  color: #1D4ED8;
}

.legal-table-wrap {
  margin-top: 1rem;
  overflow-x: auto;
  border: 1px solid rgba(191,219,254,.82);
  border-radius: 1rem;
  background: rgba(255,255,255,.64);
}

.legal-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.legal-table th,
.legal-table td {
  padding: .9rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(191,219,254,.58);
  color: #475569;
  font-size: .95rem;
  line-height: 1.55;
}

.legal-table th {
  color: #0F172A;
  font-weight: 900;
  background: rgba(224,236,255,.58);
}

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

@media (max-width: 640px) {
  .legal-hero-card {
    border-radius: 2rem;
  }

  .legal-section {
    border-radius: 1.25rem;
    padding: 1.25rem;
  }
}
