// Privacy policy — Canadian-adapted from the Renewal Funds policy.
// Entity, jurisdiction (PIPEDA / BC PIPA / Quebec Law 25), data-subject rights,
// retention, and contact details updated for Renewal Climate Ventures.
//
// LEGAL NOTE: confirm the exact legal entity name, Privacy Officer, retention
// periods, and cross-border processors with counsel before publishing.
function PrivacyPolicy() {
  const EFFECTIVE = "June 24, 2026";

  const sections = [
    {
      heading: "1. Scope and consent",
      paras: [
        "This privacy policy explains how Renewal Climate Ventures (\u201cRCV\u201d, \u201cwe\u201d, \u201cus\u201d, or \u201cour\u201d) collects, uses, discloses, and safeguards personal information through our website at rcv.vc (the \u201cwebsite\u201d). It applies to information collected on the website and does not apply to our information practices offline or on third-party sites.",
        "We handle personal information in accordance with Canada\u2019s Personal Information Protection and Electronic Documents Act (PIPEDA) and applicable provincial privacy laws, including British Columbia\u2019s Personal Information Protection Act and Quebec\u2019s Law 25. By using the website, you consent to the collection, use, and disclosure of your information as described here. Where the law requires it, we will seek your express consent; in other cases your consent may be implied by your use of the website.",
      ],
    },
    {
      heading: "2. Information we collect",
      paras: [
        "Information you provide. We collect personal information you choose to give us \u2014 such as your name, email address, organization, and the contents of any message \u2014 when you contact us or otherwise interact with the website.",
        "Information collected automatically. When you visit the website, we and our service providers may collect usage information through cookies and similar technologies, including your IP address, device and browser type, referring URL, the pages you view, and the dates and times of your visits. Where we associate this information with information that identifies you, we treat it as personal information.",
      ],
    },
    {
      heading: "3. Cookies and similar technologies",
      paras: [
        "Cookies are small data files stored on your device. We use them in the following categories:",
      ],
      list: [
        "Strictly necessary \u2014 required to operate the website securely. These are always active and do not require consent.",
        "Performance and analytics \u2014 help us understand how the website is used so we can improve it. These run only with your consent.",
        "Functionality \u2014 remember choices such as your cookie preference.",
      ],
      after: [
        "When you first visit, we present a cookie notice that lets you accept or decline non-essential cookies. We do not set analytics or other non-essential cookies until you accept. You can change your choice at any time through the \u201cCookie settings\u201d link in the footer, or by clearing cookies in your browser. We do not currently respond to browser \u201cDo Not Track\u201d signals, as there is no common standard for them.",
      ],
    },
    {
      heading: "4. How we use information",
      paras: [
        "We use personal and usage information to respond to your inquiries, operate and improve the website, communicate with you about your request, maintain the security and integrity of the website, and meet our legal and regulatory obligations. We will not use information you submit through a contact form to send you unrelated marketing without your consent.",
      ],
    },
    {
      heading: "5. How and when we share information",
      paras: [
        "We do not sell your personal information. We may share it in the following limited circumstances:",
      ],
      list: [
        "Service providers \u2014 with vendors that host the website, provide analytics, or otherwise perform services on our behalf, under obligations to protect the information and use it only as instructed.",
        "Legal and protection \u2014 where we believe in good faith that disclosure is required to comply with law, respond to lawful requests, or protect the rights, safety, or property of RCV or others.",
        "Corporate transactions \u2014 in connection with a merger, financing, restructuring, or sale of assets, including related due diligence.",
      ],
    },
    {
      heading: "6. Links to third-party sites",
      paras: [
        "The website may link to sites and services operated by third parties. We are not responsible for the privacy practices or content of those sites. We encourage you to review the privacy policies of any third-party site you visit.",
      ],
    },
    {
      heading: "7. Storage and international transfer",
      paras: [
        "We are based in Canada. Some of our service providers may store or process information in other countries, including the United States. Where that occurs, your information may be subject to the laws of those jurisdictions, including lawful access requests by courts, governments, and law enforcement. We take reasonable steps to ensure your information receives a comparable level of protection wherever it is processed.",
      ],
    },
    {
      heading: "8. Your rights",
      paras: [
        "Subject to applicable law, you may request access to the personal information we hold about you, ask us to correct it, or withdraw your consent to our use of it (which may limit our ability to provide certain functionality). To make a request, contact our Privacy Officer using the details below. We will respond within the timeframes required by law.",
        "If you have a concern about how we handle your personal information, you may also contact the Office of the Privacy Commissioner of Canada or your applicable provincial privacy commissioner.",
      ],
    },
    {
      heading: "9. Children",
      paras: [
        "The website is intended for a general, adult audience and is not directed at children. We do not knowingly collect personal information from children. If you believe a child has provided us with personal information, please contact us and we will take appropriate steps to delete it.",
      ],
    },
    {
      heading: "10. Security and retention",
      paras: [
        "We use commercially reasonable administrative, technical, and physical safeguards to protect personal information. No method of transmission or storage is completely secure, however, and we cannot guarantee absolute security. We retain personal information only as long as necessary for the purposes described in this policy or as required by law, after which we securely delete or de-identify it.",
      ],
    },
    {
      heading: "11. Changes to this policy",
      paras: [
        "We may update this policy from time to time. Changes take effect when the revised policy is posted, and the effective date above will be updated. We will not use previously collected personal information in a materially different way without your consent.",
      ],
    },
    {
      heading: "12. Contact us",
      paras: [
        "For questions about this policy, or to exercise your privacy rights, contact our Privacy Officer:",
      ],
      contact: true,
    },
  ];

  const h2 = { margin: "0 0 16px", fontSize: 22, fontWeight: 700, letterSpacing: "-0.02em", lineHeight: 1.3, color: "#213A2C" };
  const p = { margin: "0 0 16px", fontSize: 16, lineHeight: 1.65, color: "#3A4A40", letterSpacing: "-0.005em", textWrap: "pretty" };
  const li = { margin: "0 0 10px", fontSize: 16, lineHeight: 1.6, color: "#3A4A40", letterSpacing: "-0.005em" };

  return (
    <section style={{ background: "#F1F5F5", color: "#213A2C", padding: "96px 48px 120px" }}>
      <div style={{ maxWidth: 820, margin: "0 auto" }}>
        <div style={{ fontSize: 12, fontWeight: 400, letterSpacing: "0.3em", textTransform: "lowercase", color: "#7B937D", marginBottom: 20 }}>
          legal
        </div>
        <h1 style={{ margin: "0 0 16px", fontWeight: 700, fontSize: 56, lineHeight: 1.05, letterSpacing: "-0.035em" }}>
          Privacy policy
        </h1>
        <p style={{ margin: "0 0 64px", fontSize: 14, color: "#858885", letterSpacing: "0.02em" }}>
          Effective {EFFECTIVE}
        </p>

        {sections.map((s, i) => (
          <div key={i} style={{ marginBottom: 48 }}>
            <h2 style={h2}>{s.heading}</h2>
            {(s.paras || []).map((para, j) => <p key={j} style={p}>{para}</p>)}
            {s.list && (
              <ul style={{ margin: "0 0 16px", paddingLeft: 22 }}>
                {s.list.map((item, j) => <li key={j} style={li}>{item}</li>)}
              </ul>
            )}
            {(s.after || []).map((para, j) => <p key={j} style={p}>{para}</p>)}
            {s.contact && (
              <div style={{ fontSize: 16, lineHeight: 1.7, color: "#3A4A40" }}>
                <div style={{ fontWeight: 600, color: "#213A2C" }}>Renewal Climate Ventures — Privacy Officer</div>
                <div><a href="mailto:hello@rcv.vc" style={{ color: "#213A2C", textDecoration: "underline", textUnderlineOffset: "0.25em", textDecorationThickness: 1 }}>hello@rcv.vc</a></div>
                <div>Suite 800 &ndash; 525 W. 8th Avenue, Vancouver, BC V5Z 1C6, Canada</div>
              </div>
            )}
          </div>
        ))}
      </div>
    </section>
  );
}
window.PrivacyPolicy = PrivacyPolicy;
