  body { background: #f2f2f2; font-family: 'Poppins', system-ui, sans-serif; }

  /* ---- hero band (dark so the site navbar stays readable, like the other pages) ---- */
  .legal-hero { background: radial-gradient(1200px 400px at 20% -10%, rgba(159,72,213,.35), transparent 60%), #0b0b0f;
    color: #fff; padding: 140px 0 64px; }
  .legal-hero .breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 28px; padding: 0;
    width: auto; border: 0; font-size: 14px; background: transparent; }
  .legal-hero .breadcrumb-item, .legal-hero .breadcrumb-item a { color: #b9b9c6; text-decoration: none; }
  .legal-hero .breadcrumb-item a:hover { color: #fff; }
  .legal-hero .breadcrumb-item.active { color: #fff; font-weight: 500; }
  .legal-hero .breadcrumb-item + .breadcrumb-item::before { content: "/"; margin: 0 8px 0 2px; color: #6d6d7c; }
  .legal-label { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; letter-spacing: 2px;
    text-transform: uppercase; color: #d4a2ff; margin-bottom: 14px; }
  .legal-label .dot { width: 8px; height: 8px; border-radius: 50%; background: #d418f1; }
  .legal-hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 400; line-height: 1.1; margin: 0 0 18px; }
  .legal-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; color: #b9b9c6; font-size: 14px; }
  .legal-meta .chip { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 6px 14px; }
  .legal-meta button { background: transparent; border: 1px solid rgba(212,162,255,.6); color: #e8d3ff; border-radius: 999px;
    padding: 6px 16px; font: inherit; font-size: 14px; cursor: pointer; transition: background .2s, color .2s; }
  .legal-meta button:hover { background: #fff; color: #111; border-color: #fff; }

  /* ---- content ---- */
  .legal-wrap { padding: 56px 0 80px; }
  .legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; align-items: start; }
  .legal-toc { position: sticky; top: 110px; background: #fff; border-radius: 18px; padding: 22px 20px; border: 1px solid #e6e6ea; }
  .legal-toc h2 { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: #6b6b78; margin: 0 0 12px; font-weight: 600; }
  .legal-toc ol { list-style: none; margin: 0; padding: 0; }
  .legal-toc a { display: block; padding: 7px 10px; margin: 2px 0; border-radius: 10px; font-size: 14px; line-height: 1.4;
    color: #3a3a46; text-decoration: none; border-left: 3px solid transparent; transition: background .2s, color .2s; }
  .legal-toc a:hover { background: #f4ecfb; color: #111; }
  .legal-toc a.active { background: #f4ecfb; color: #111; font-weight: 600; border-left-color: #9f48d5; }

  .legal-card { background: #fff; border-radius: 22px; padding: 48px 52px; border: 1px solid #e6e6ea;
    box-shadow: 0 10px 40px rgba(20,10,40,.06); color: #2d2d38; font-size: 16px; line-height: 1.85; }
  .legal-card:not(.is-plain) > h2:first-child, .legal-card:not(.is-plain) > h2:first-child + p { display: none; }   /* title + "last updated" are shown in the hero */
  .legal-card h2 { font-size: 26px; font-weight: 500; color: #0f0f14; line-height: 1.3; margin: 48px 0 16px;
    padding-top: 34px; border-top: 1px solid #ececf1; scroll-margin-top: 110px; }
  .legal-card:not(.is-plain) h2:nth-of-type(2), .legal-card.is-plain h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
  .legal-card p { margin: 0 0 16px; }
  .legal-card strong { color: #0f0f14; font-weight: 600; }
  .legal-card ul { padding-left: 0; list-style: none; margin: 0 0 18px; }
  .legal-card li { position: relative; padding-left: 26px; margin-bottom: 8px; }
  .legal-card li::before { content: ""; position: absolute; left: 4px; top: .8em; width: 8px; height: 8px; border-radius: 50%; background: #9f48d5; }
  .legal-card a { color: #7a2fb8; text-decoration: underline; text-underline-offset: 3px; }
  .legal-card a:hover { color: #111; }

  @media (max-width: 991px) {
    .legal-layout { grid-template-columns: 1fr; }
    .legal-toc { display: none; }
  }
  @media (max-width: 575px) {
    .legal-hero { padding: 110px 0 44px; }
    .legal-wrap { padding: 28px 0 56px; }
    .legal-card { padding: 28px 20px; border-radius: 18px; font-size: 15px; }
    .legal-card h2 { font-size: 21px; margin-top: 36px; padding-top: 26px; }
  }
