.legal-page {
      background: #ffffff;
      color: #0f172a;
    }

    .legal-hero {
      position: relative;
      padding: 150px 0 90px;
      overflow: hidden;
      background:
        radial-gradient(circle at top right, rgba(204, 85, 0, 0.15), transparent 35%),
        linear-gradient(135deg, #020617 0%, #0f172a 50%, #122033 100%);
      color: #ffffff;
    }

    .legal-hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
      background-size: 40px 40px;
    }

    .legal-header {
      position: relative;
      z-index: 2;
      max-width: 850px;
    }

    .legal-page-meta {
      display: inline-flex;
      gap: 8px;
      margin-bottom: 20px;
      color: rgba(255,255,255,0.75);
      font-family: var(--font-body);
      font-size: 0.9rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .legal-header h1 {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: clamp(3rem, 6vw, 5rem);
      line-height: 1.05;
      letter-spacing: -0.05em;
      color: #ffffff;
      margin-bottom: 24px;
    }

    .legal-header p {
      font-family: var(--font-body);
      font-size: 1.125rem;
      line-height: 1.7;
      color: rgba(255,255,255,0.85);
      margin-bottom: 0;
      max-width: 760px;
    }

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

    .legal-stats {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      margin: 0 0 60px;
    }

    .stat-card {
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: 16px;
      padding: 20px;
    }

    .stat-card strong {
      display: block;
      font-size: 1.6rem;
      color: #020617;
      margin-bottom: 6px;
    }

    .stat-card span {
      color: #64748b;
      font-size: 0.9rem;
    }

    .legal-accordion {
      border-top: 1px solid #e2e8f0;
    }

    .legal-item {
      border-bottom: 1px solid #e2e8f0;
      scroll-margin-top: 120px;
    }

    .legal-toggle {
      width: 100%;
      padding: 24px 0;
      background: none;
      border: none;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      text-align: left;
      color: #0f172a;
      font-size: 1rem;
      font-weight: 700;
    }

    .legal-toggle span {
      font-size: 1.5rem;
      color: #64748b;
      transition: transform 0.25s ease;
    }

    .legal-item.active .legal-toggle span {
      transform: rotate(45deg);
    }

    .legal-content {
      display: none;
      padding: 0 0 34px;
      max-width: 980px;
      color: #1e293b;
      font-size: 0.95rem;
      line-height: 1.8;
    }

    .legal-item.active .legal-content {
      display: block;
    }

    .legal-content h3 {
      margin: 28px 0 12px;
      font-size: 1rem;
      color: #020617;
    }

    .legal-content p {
      margin-bottom: 14px;
    }

    .legal-content ul {
      margin: 12px 0 20px 22px;
      padding: 0;
    }

    .legal-content li {
      margin-bottom: 8px;
    }

    .legal-downloads {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin: 18px 0 28px;
    }

    .legal-downloads a {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 16px;
      border-radius: 999px;
      background: #0f172a;
      color: #ffffff;
      font-size: 0.85rem;
      font-weight: 700;
      text-decoration: none;
      transition: 0.25s ease;
    }

    .legal-downloads a:hover {
      transform: translateY(-1px);
      opacity: 0.9;
    }

    .legal-meta {
      font-size: 0.85rem;
      color: #64748b;
      margin-bottom: 20px;
    }

    @media (max-width: 768px) {
      .legal-hero {
        padding: 120px 0 75px;
      }

      .legal-content-wrap {
        padding: 50px 0 60px;
      }

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

      .legal-toggle {
        padding: 20px 0;
      }
    }

    @media (max-width: 520px) {
      .legal-stats {
        grid-template-columns: 1fr;
      }
    }
