{% extends "base.html" %}

{% block title %}Privacy Policy — CleanCopy{% endblock %}

{% block head %}
<style>
  .updated {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
  }
</style>
{% endblock %}

{% block content %}
<a class="back" href="/">← Home</a>
<h1>Privacy Policy</h1>
<p class="updated">Last updated: {{ date }}</p>

<h2>Overview</h2>
<p>
  CleanCopy is a clipboard cleaning tool that runs entirely on your
  Windows PC. We value your privacy and have designed both our website and
  software to collect only what is necessary.
</p>

<h2>Website Analytics</h2>
<p>
  This website uses
  <a href="https://simpleanalytics.com" target="_blank">Simple Analytics</a>, a
  privacy-friendly analytics service. Simple Analytics collects:
</p>
<ul>
  <li>Page views and referrer information</li>
  <li>Browser type and device type</li>
  <li>Country-level geographic location (not precise location)</li>
</ul>
<p>
  Simple Analytics does <strong>not</strong> use cookies, does not track
  individual users across sites, and does not collect personal
  information. No consent banner is required because no personal data is
  collected. See the
  <a href="https://simpleanalytics.com/privacy" target="_blank">Simple Analytics privacy
    policy</a>
  for details.
</p>

<h2>License Activation</h2>
<p>
  When you activate CleanCopy, the app sends the following to our
  activation server:
</p>
<ul>
  <li>
    <strong>Payment ID</strong> — the <code>pi_...</code> identifier from
    your Stripe receipt email
  </li>
  <li>
    <strong>Hardware ID (HWID)</strong> — a SHA-256 hash derived from your
    Windows machine identifiers
  </li>
</ul>
<p>
  This data is used solely to verify your purchase and issue a signed
  license token. The HWID is stored in the license token to prevent
  license sharing. We do not collect your name, email address, IP address,
  or any other personal information during activation.
</p>

<h2>License Storage</h2>
<p>
  Your signed license token is stored locally on your device at
  <code>&lt;app_config_dir&gt;/license.lic</code>. This file never leaves
  your device. It is a digitally signed JSON payload containing your
  payment ID, HWID, and license metadata.
</p>

<h2>Payments</h2>
<p>
  All payment processing is handled by
  <a href="https://stripe.com" target="_blank">Stripe</a>
  as the merchant of record. CleanCopy never sees, stores, or has access
  to your credit card number, bank details, or other payment credentials.
  Stripe's own
  <a href="https://stripe.com/privacy" target="_blank">privacy policy</a>
  governs how your payment information is handled.
</p>

<h2>Data Sharing</h2>
<p>
  We do not sell, trade, or share your data with third parties except as
  described in this policy (Simple Analytics for website analytics, Stripe
  for payment processing).
</p>

<h2>Cookies</h2>
<p>
  This website does not use cookies. Simple Analytics operates without
  cookies.
</p>

<h2>Changes to This Policy</h2>
<p>
  We may update this Privacy Policy from time to time. Changes will be
  reflected on this page with an updated date.
</p>

<h2>Contact</h2>
<p>
  Questions about this Privacy Policy?
  <a href="mailto:{{ email }}">Contact us</a>.
</p>
{% endblock %}
