// PRIVACY PAGE — using real copy from relayconsulting.nz
function PrivacyHero() {
  return (
    <section className="page-hero wrap max">
      <div className="page-hero-inner reveal">
        <span className="eyebrow">— Privacy</span>
        <h1>Privacy <em>policy.</em></h1>
        <p className="lede">
          Plain-English summary of what's collected, how it's used, and how to get in touch about your data.
        </p>
      </div>
    </section>
  );
}

function PrivacyBody() {
  return (
    <section className="section short wrap max">
      <div className="legal reveal">
        <p className="legal-meta">Last updated: 4 May 2026</p>

        <h2>The short version</h2>
        <p>
          Relay Consulting collects only the information you give directly through the contact form or by emailing me. That information is used to reply to your enquiry and provide the services you've asked about — nothing else. It's not sold, shared, or used for marketing.
        </p>

        <h2>Who this applies to</h2>
        <p>
          This policy covers anyone who visits relayconsulting.nz, fills out the contact form, or emails Relay Consulting directly. Relay Consulting is a sole-operator IT consulting practice based in Christchurch, New Zealand, operating in accordance with the New Zealand Privacy Act 2020.
        </p>

        <h2>What's collected</h2>
        <ul>
          <li><strong>Contact form submissions</strong> — your name, email, business name (optional), the type of help you're enquiring about, and the message you write.</li>
          <li><strong>Email correspondence</strong> — anything you send to <a href="mailto:support@relayconsulting.nz">support@relayconsulting.nz</a> stays in the inbox so I can reply and reference past conversations.</li>
          <li><strong>Anonymous site analytics</strong> — page views and unique visitor counts. No cookies, no IP addresses stored, no personal identifiers.</li>
        </ul>

        <h2>What's not collected</h2>
        <ul>
          <li>No tracking cookies</li>
          <li>No advertising or marketing tracking pixels</li>
          <li>No location data beyond country-level</li>
          <li>No third-party data sharing</li>
        </ul>

        <h2>How your information is used</h2>
        <p>Information you submit is used to:</p>
        <ul>
          <li>Respond to your enquiry</li>
          <li>Scope and deliver any technical work you've engaged Relay Consulting for</li>
          <li>Maintain accurate records of past client work for reference and continuity</li>
        </ul>
        <p>
          It's never used for marketing emails, newsletters, or promotional purposes — and never shared, rented, or sold to third parties.
        </p>

        <h2>Data retention</h2>
        <p>
          Contact form submissions and email correspondence are retained as long as needed to maintain a working relationship and meet New Zealand record-keeping obligations. You can request deletion of your information at any time by emailing <a href="mailto:support@relayconsulting.nz">support@relayconsulting.nz</a>. Where legally permitted, your information will be deleted within 30 days.
        </p>

        <h2>Your rights</h2>
        <p>Under the New Zealand Privacy Act 2020, you have the right to:</p>
        <ul>
          <li>Ask what personal information Relay Consulting holds about you</li>
          <li>Request correction of inaccurate information</li>
          <li>Request deletion of your information</li>
          <li>Make a complaint about how your information has been handled</li>
        </ul>
        <p>
          To exercise any of these rights, email <a href="mailto:support@relayconsulting.nz">support@relayconsulting.nz</a>. If you're not satisfied with the response, you can contact the New Zealand Office of the Privacy Commissioner at <a href="https://www.privacy.org.nz" target="_blank" rel="noopener">privacy.org.nz</a>.
        </p>

        <h2>Changes to this policy</h2>
        <p>
          This policy may be updated occasionally as the business evolves. The "last updated" date at the top will reflect any material changes.
        </p>

        <h2>Contact</h2>
        <p>
          Questions or concerns about privacy or your data: <a href="mailto:support@relayconsulting.nz">support@relayconsulting.nz</a>.
        </p>
      </div>
    </section>
  );
}

function PrivacyPage() {
  return (
    <Page active="privacy">
      <PrivacyHero />
      <PrivacyBody />
    </Page>
  );
}

ReactDOM.createRoot(document.getElementById('app')).render(<PrivacyPage />);
