<!DOCTYPE html>
<html lang="en">
<head>
  <%- include('partials/head') %>
  <title>Privacy Policy — LexaClip</title>
</head>
<body class="bg-slate-950 text-slate-100 antialiased">
  <header class="border-b border-slate-800/60">
    <nav class="mx-auto flex max-w-3xl items-center justify-between px-6 py-4">
      <a href="/" class="flex items-center gap-2 text-xl font-bold">
        <span class="flex h-8 w-8 items-center justify-center rounded-lg bg-indigo-500 text-white">T</span>
        LexaClip
      </a>
    </nav>
  </header>

  <main class="mx-auto max-w-3xl px-6 py-12 space-y-8">
    <div>
      <h1 class="text-3xl font-bold">Privacy Policy</h1>
      <p class="mt-2 text-sm text-slate-400">Last updated: July 18, 2026</p>
    </div>

    <section class="space-y-3">
      <h2 class="text-xl font-semibold">What LexaClip stores</h2>
      <p class="text-slate-300">
        Your clipboard history, favorites, prompts and settings are stored <strong>locally in your
        browser</strong>. They are not sent to our servers, with two exceptions listed below.
      </p>
      <ul class="list-disc space-y-2 pl-6 text-slate-300">
        <li><strong>Account:</strong> the email address (and optional name) you enter at registration, your plan and account status.</li>
        <li><strong>AI requests:</strong> when you press an AI button, the selected text is sent to our server, forwarded to the AI provider (OpenRouter) to generate the result, and returned to you. We do not store the content of AI requests.</li>
        <li><strong>Cloud Sync (Pro, optional):</strong> if you press "Sync now", your favorites and prompts are stored on our server so your browsers can stay in sync.</li>
      </ul>
    </section>

    <section class="space-y-3">
      <h2 class="text-xl font-semibold">What LexaClip never collects</h2>
      <ul class="list-disc space-y-2 pl-6 text-slate-300">
        <li>Copies made in password fields are never captured.</li>
        <li>Your browsing history is not tracked; page content is not read beyond the text you copy or select.</li>
        <li>No analytics or advertising trackers are embedded in the extension.</li>
      </ul>
    </section>

    <section class="space-y-3">
      <h2 class="text-xl font-semibold">Your controls</h2>
      <ul class="list-disc space-y-2 pl-6 text-slate-300">
        <li>Turn clipboard capture off entirely, or exclude specific sites, in the panel's Settings tab.</li>
        <li>Clear your history at any time — it lives only on your device.</li>
        <li>To delete your account data, contact us at the address below.</li>
      </ul>
    </section>

    <section class="space-y-3">
      <h2 class="text-xl font-semibold">Contact</h2>
      <p class="text-slate-300">Questions about this policy: <a href="mailto:alicevher.dev@gmail.com" class="text-indigo-400 hover:text-indigo-300">alicevher.dev@gmail.com</a></p>
    </section>
  </main>

  <footer class="border-t border-slate-800/60">
    <div class="mx-auto flex max-w-3xl items-center justify-between px-6 py-8 text-sm text-slate-500">
      <p>© <%= new Date().getFullYear() %> LexaClip.</p>
      <a href="/" class="hover:text-slate-300">Home</a>
    </div>
  </footer>
</body>
</html>
