*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

    :root {
      --bg:        #0a0b11;
      --surface:   #141520;
      --surface2:  #1a1b26;
      --border:    #252636;
      --accent:    #8b5cf6;
      --text:      #e8e8ed;
      --muted:     #5a5a6e;
      --label:     #8a8a9e;
      --radius:    12px;
    }

    html { scroll-behavior: smooth; }

    body {
      background: var(--bg);
      color: var(--text);
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 16px;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    .container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

    /* ── NAV ── */
    nav {
      position: sticky;
      top: 0;
      z-index: 100;
      background: var(--bg);
      border-bottom: 1px solid rgba(37, 38, 54, 0.4);
    }
    .nav-inner {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      height: 56px;
      padding: 0 16px;
    }
    .nav-logo {
      display: flex;
      align-items: center;
      text-decoration: none;
    }
    .nav-logo img {
      height: 44px;
      width: auto;
      border-radius: 50%;
    }
    .nav-links {
      display: flex;
      align-items: center;
      justify-self: center;
      gap: 20px;
    }
    .nav-link {
      font-size: 14px;
      color: var(--label);
      text-decoration: none;
      font-weight: 500;
      padding: 6px 12px;
      border-radius: 6px;
      transition: color 0.15s;
    }
    .nav-link:hover { color: var(--text); }
    .nav-right {
      justify-self: end;
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 14px;
      font-weight: 600;
      padding: 8px 18px;
      border-radius: 7px;
      text-decoration: none;
      cursor: pointer;
      transition: opacity 0.15s, background 0.15s;
      border: none;
      font-family: inherit;
    }
    .btn-primary {
      background: var(--accent);
      color: #fff;
    }
    .btn-primary:hover { opacity: 0.9; }
    .btn-ghost {
      background: transparent;
      color: var(--label);
      border: 1px solid var(--border);
    }
    .btn-ghost:hover { color: var(--text); border-color: #4a4a5a; }

    /* ── CONTENT ── */
    .legal {
      padding: 80px 0 100px;
      max-width: 760px;
      margin: 0 auto;
    }
    .legal h1 {
      font-size: clamp(28px, 5vw, 40px);
      font-weight: 700;
      letter-spacing: -0.02em;
      margin-bottom: 8px;
    }
    .legal .last-updated {
      font-size: 14px;
      color: var(--muted);
      margin-bottom: 48px;
    }
    .legal h2 {
      font-size: 20px;
      font-weight: 600;
      margin-top: 40px;
      margin-bottom: 12px;
      color: var(--text);
    }
    .legal h3 {
      font-size: 17px;
      font-weight: 600;
      margin-top: 28px;
      margin-bottom: 10px;
      color: var(--text);
    }
    .legal h4 {
      font-size: 15px;
      font-weight: 600;
      margin-top: 20px;
      margin-bottom: 8px;
      color: var(--text);
    }
    .legal p, .legal li {
      font-size: 15px;
      color: var(--label);
      line-height: 1.75;
      margin-bottom: 16px;
    }
    .legal ul {
      padding-left: 24px;
      margin-bottom: 16px;
    }
    .legal li {
      margin-bottom: 8px;
    }
    .legal a {
      color: var(--accent);
      text-decoration: none;
    }
    .legal a:hover { text-decoration: underline; }
    .legal strong {
      color: var(--text);
      font-weight: 600;
    }

    /* ── FOOTER ── */
    footer {
      border-top: 1px solid var(--border);
      padding: 28px 0;
    }
    .footer-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px;
    }
    .footer-logo { font-size: 15px; font-weight: 700; color: var(--text); text-decoration: none; }
    .footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
    .footer-link { font-size: 13px; color: var(--muted); text-decoration: none; transition: color 0.15s; }
    .footer-link:hover { color: var(--label); }
    .footer-copy { font-size: 12px; color: var(--muted); }

    @media (max-width: 768px) {
      .legal { padding: 48px 0 72px; }
      .nav-inner { display: flex; justify-content: space-between; }
      .nav-links { display: none; }
      .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
    }
